FMLiveSwitchDataStreamInfo Class Reference

Data stream information. More...

Instance Methods

(NSMutableArray *) - channels
 Gets the data stream channels. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 
(FMLiveSwitchDataStreamReport *) - report
 Gets the data stream report. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setChannels:
 Sets the data stream channels. More...
 
(void) - setReport:
 Sets the data stream report. More...
 
(NSString *) - toJson
 Serializes this instance to Json. More...
 
- Instance Methods inherited from FMLiveSwitchStreamInfo
(void) - setTag:
 Sets the tag. More...
 
(void) - setTransportId:
 Sets the transport id. More...
 
(NSString *) - tag
 Gets the tag. More...
 
(NSString *) - transportId
 Gets the transport id. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(FMLiveSwitchDataStreamInfo *) + dataStreamInfo
 
(NSMutableArray *) + fromJsonArrayWithDataStreamInfosJson:
 Deserializes JSON to a DataStreamInfo array. More...
 
(FMLiveSwitchDataStreamInfo *) + fromJsonWithDataStreamInfoJson:
 Deserializes Json to a DataStreamInfo. More...
 
(NSString *) + toJsonArrayWithDataStreamInfos:
 Serializes an instance array to JSON. More...
 
(NSString *) + toJsonWithDataStreamInfo:
 Serializes an instance to Json. More...
 
- Class Methods inherited from FMLiveSwitchStreamInfo
(FMLiveSwitchStreamInfo *) + streamInfo
 
- 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

Data stream information.

Method Documentation

◆ channels

- (NSMutableArray*) channels

Gets the data stream channels.

◆ dataStreamInfo

+ (FMLiveSwitchDataStreamInfo*) dataStreamInfo

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchStreamInfo.

◆ fromJsonArrayWithDataStreamInfosJson:

+ (NSMutableArray*) fromJsonArrayWithDataStreamInfosJson: (NSString *)  dataStreamInfosJson

Deserializes JSON to a DataStreamInfo array.

Parameters
dataStreamInfosJsonThe serialized JSON.
Returns
The deserialized DataStreamInfo array.

◆ fromJsonWithDataStreamInfoJson:

+ (FMLiveSwitchDataStreamInfo*) fromJsonWithDataStreamInfoJson: (NSString *)  dataStreamInfoJson

Deserializes Json to a DataStreamInfo.

Parameters
dataStreamInfoJsonThe serialized Json.
Returns
The deserialized DataStreamInfo.

◆ init

- (instancetype) init

◆ report

Gets the data stream report.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchStreamInfo.

◆ setChannels:

- (void) setChannels: (NSMutableArray *)  value

Sets the data stream channels.

◆ setReport:

- (void) setReport: (FMLiveSwitchDataStreamReport *)  value

Sets the data stream report.

◆ toJson

- (NSString*) toJson

Serializes this instance to Json.

◆ toJsonArrayWithDataStreamInfos:

+ (NSString*) toJsonArrayWithDataStreamInfos: (NSMutableArray *)  dataStreamInfos

Serializes an instance array to JSON.

Parameters
dataStreamInfosThe instance array to serialize.
Returns
Serialized Json.

◆ toJsonWithDataStreamInfo:

+ (NSString*) toJsonWithDataStreamInfo: (FMLiveSwitchDataStreamInfo *)  dataStreamInfo

Serializes an instance to Json.

Parameters
dataStreamInfoThe instance to serialize.
Returns
Serialized Json.