fm.liveswitch.ProxyCredentials Class Reference

Proxy credentials. More...

Public Member Functions

String getPassword ()
 Gets the password. More...
String getUsername ()
 Gets the username. More...
 ProxyCredentials (String username, String password)
 Initializes a new instance of the fm.liveswitch.ProxyCredentials class. More...
void setPassword (String value)
 Sets the password. More...
void setUsername (String value)
 Sets the username. More...
String toJson ()
 Serializes this instance to JSON. More...

Static Public Member Functions

static fm.liveswitch.ProxyCredentials fromJson (String instanceJson)
 Deserializes an instance from JSON. More...
static String toJson (fm.liveswitch.ProxyCredentials instance)
 Serializes an instance to JSON. More...

Detailed Description

Proxy credentials.

Constructor & Destructor Documentation

◆ ProxyCredentials()

fm.liveswitch.ProxyCredentials.ProxyCredentials ( String  username,
String  password 

Initializes a new instance of the fm.liveswitch.ProxyCredentials class.

usernameThe username.
passwordThe password.

Member Function Documentation

◆ fromJson()

static fm.liveswitch.ProxyCredentials fm.liveswitch.ProxyCredentials.fromJson ( String  instanceJson)

Deserializes an instance from JSON.

instanceJsonThe serialized JSON.
The instance.

◆ getPassword()

String fm.liveswitch.ProxyCredentials.getPassword ( )

Gets the password.

◆ getUsername()

String fm.liveswitch.ProxyCredentials.getUsername ( )

Gets the username.

◆ setPassword()

void fm.liveswitch.ProxyCredentials.setPassword ( String  value)

Sets the password.

◆ setUsername()

void fm.liveswitch.ProxyCredentials.setUsername ( String  value)

Sets the username.

◆ toJson() [1/2]

String fm.liveswitch.ProxyCredentials.toJson ( )

Serializes this instance to JSON.

The serialized JSON.

◆ toJson() [2/2]

static String fm.liveswitch.ProxyCredentials.toJson ( fm.liveswitch.ProxyCredentials  instance)

Serializes an instance to JSON.

instanceThe instance.
The serialized JSON.