FMLiveSwitchProxyCredentials Class Reference

Proxy credentials. More...

Instance Methods

(instancetype) - initWithUsername:password:
 Initializes a new instance of the FMLiveSwitchProxyCredentials class. More...
 
(NSString *) - password
 Gets the password. More...
 
(void) - setPassword:
 Sets the password. More...
 
(void) - setUsername:
 Sets the username. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 
(NSString *) - username
 Gets the username. More...
 

Class Methods

(FMLiveSwitchProxyCredentials *) + fromJsonWithInstanceJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchProxyCredentials *) + proxyCredentialsWithUsername:password:
 Initializes a new instance of the FMLiveSwitchProxyCredentials class. More...
 
(NSString *) + toJsonWithInstance:
 Serializes an instance to JSON. More...
 

Detailed Description

Proxy credentials.

Method Documentation

◆ fromJsonWithInstanceJson:

+ (FMLiveSwitchProxyCredentials*) fromJsonWithInstanceJson: (NSString *)  instanceJson

Deserializes an instance from JSON.

Parameters
instanceJsonThe serialized JSON.
Returns
The instance.

◆ initWithUsername:password:

- (instancetype) initWithUsername: (NSString *)  username
password: (NSString *)  password 

Initializes a new instance of the FMLiveSwitchProxyCredentials class.

Parameters
usernameThe username.
passwordThe password.

◆ password

- (NSString*) password

Gets the password.

◆ proxyCredentialsWithUsername:password:

+ (FMLiveSwitchProxyCredentials*) proxyCredentialsWithUsername: (NSString *)  username
password: (NSString *)  password 

Initializes a new instance of the FMLiveSwitchProxyCredentials class.

Parameters
usernameThe username.
passwordThe password.

◆ setPassword:

- (void) setPassword: (NSString *)  value

Sets the password.

◆ setUsername:

- (void) setUsername: (NSString *)  value

Sets the username.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

Returns
The serialized JSON.

◆ toJsonWithInstance:

+ (NSString*) toJsonWithInstance: (FMLiveSwitchProxyCredentials *)  instance

Serializes an instance to JSON.

Parameters
instanceThe instance.
Returns
The serialized JSON.

◆ username

- (NSString*) username

Gets the username.