FMLiveSwitchCandidatePairInfo Class Reference

Candidate pair information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchCandidatePairInfo class. More...
 
(NSString *) - localCandidateId
 Gets the candidate pair's local candidate identifier. More...
 
(FMLiveSwitchNullableBool *) - nominated
 Gets whether the candidate pair is nominated. More...
 
(FMLiveSwitchNullableLong *) - priority
 Gets the candidate pair priority. More...
 
(NSString *) - remoteCandidateId
 Gets the candidate pair's remote candidate identifier. More...
 
(FMLiveSwitchCandidatePairReport *) - report
 Gets whether the candidate pair report. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setLocalCandidateId:
 Sets the candidate pair's local candidate identifier. More...
 
(void) - setNominated:
 Sets whether the candidate pair is nominated. More...
 
(void) - setPriority:
 Sets the candidate pair priority. More...
 
(void) - setRemoteCandidateId:
 Sets the candidate pair's remote candidate identifier. More...
 
(void) - setReport:
 Sets whether the candidate pair report. More...
 
(void) - setState:
 Sets the candidate pair state. More...
 
(NSString *) - state
 Gets the candidate pair state. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(FMLiveSwitchCandidatePairInfo *) + candidatePairInfo
 Initializes a new instance of the FMLiveSwitchCandidatePairInfo class. More...
 
(NSMutableArray *) + fromJsonArrayWithArrayJson:
 Derializes an array from JSON. More...
 
(FMLiveSwitchCandidatePairInfo *) + fromJsonWithInstanceJson:
 Deserializes an instance from JSON. More...
 
(NSString *) + toJsonArray:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithInstance:
 Serializes an instance to JSON. More...
 
- Class Methods inherited from FMLiveSwitchInfo
(FMLiveSwitchInfo *) + info
 
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for an info. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for an info. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for an info. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for an info. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for an info. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for an info. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for an info. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for an info. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for an info. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for an info. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an object for an info. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for an info. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for an info. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for an info. More...
 

Detailed Description

Candidate pair information.

Method Documentation

◆ candidatePairInfo

+ (FMLiveSwitchCandidatePairInfo*) candidatePairInfo

Initializes a new instance of the FMLiveSwitchCandidatePairInfo class.

◆ deserializePropertiesWithKey:valueJson:

- (void) deserializePropertiesWithKey: (NSString *)  key
valueJson: (NSString *)  valueJson 

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

◆ fromJsonArrayWithArrayJson:

+ (NSMutableArray*) fromJsonArrayWithArrayJson: (NSString *)  arrayJson

Derializes an array from JSON.

Parameters
arrayJsonThe array JSON.
Returns
The deserialized array.

◆ fromJsonWithInstanceJson:

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

Deserializes an instance from JSON.

Parameters
instanceJsonThe instance JSON.
Returns
The deserialized instance.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchCandidatePairInfo class.

Implements FMLiveSwitchInfo.

◆ localCandidateId

- (NSString*) localCandidateId

Gets the candidate pair's local candidate identifier.

◆ nominated

- (FMLiveSwitchNullableBool*) nominated

Gets whether the candidate pair is nominated.

◆ priority

- (FMLiveSwitchNullableLong*) priority

Gets the candidate pair priority.

◆ remoteCandidateId

- (NSString*) remoteCandidateId

Gets the candidate pair's remote candidate identifier.

◆ report

Gets whether the candidate pair report.

◆ serializePropertiesWithJsonObject:

- (void) serializePropertiesWithJsonObject: (NSMutableDictionary< NSString *, NSString * > *)  jsonObject

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setLocalCandidateId:

- (void) setLocalCandidateId: (NSString *)  value

Sets the candidate pair's local candidate identifier.

◆ setNominated:

- (void) setNominated: (FMLiveSwitchNullableBool *)  value

Sets whether the candidate pair is nominated.

◆ setPriority:

- (void) setPriority: (FMLiveSwitchNullableLong *)  value

Sets the candidate pair priority.

◆ setRemoteCandidateId:

- (void) setRemoteCandidateId: (NSString *)  value

Sets the candidate pair's remote candidate identifier.

◆ setReport:

- (void) setReport: (FMLiveSwitchCandidatePairReport *)  value

Sets whether the candidate pair report.

◆ setState:

- (void) setState: (NSString *)  value

Sets the candidate pair state.

◆ state

- (NSString*) state

Gets the candidate pair state.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArray:

+ (NSString*) toJsonArray: (NSMutableArray *)  array

Serializes an array to JSON.

Parameters
arrayThe array.
Returns
The serialized array JSON.

◆ toJsonWithInstance:

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

Serializes an instance to JSON.

Parameters
instanceThe instance.
Returns
The serialized instance JSON.