FMLiveSwitchSourceInput Class Reference

A source input (e.g. More...

Instance Methods

(NSString *) - description
 Returns a string that represents this instance. More...
 
(NSString *) - id
 Gets the identifier. More...
 
(instancetype) - initWithId:name:
 Initializes a new instance of the FMLiveSwitchSourceInput class. More...
 
(NSString *) - name
 Gets the name. More...
 
(void) - setId:
 Sets the identifier. More...
 
(void) - setName:
 Sets the name. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 

Class Methods

(NSMutableArray *) + fromJsonArrayWithSourceInputsJson:
 Deserializes an instance array from JSON. More...
 
(FMLiveSwitchSourceInput *) + fromJsonWithSourceInputJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchSourceInput *) + sourceInputWithId:name:
 Initializes a new instance of the FMLiveSwitchSourceInput class. More...
 
(NSString *) + toJsonArrayWithSourceInputs:
 Serializes an instance array to JSON. More...
 
(NSString *) + toJsonWithSourceInput:
 Serializes an instance to JSON. More...
 

Detailed Description

A source input (e.g.

device, track, screen).

Method Documentation

◆ description

- (NSString*) description

Returns a string that represents this instance.

Returns
A string that represents this instance.

◆ fromJsonArrayWithSourceInputsJson:

+ (NSMutableArray*) fromJsonArrayWithSourceInputsJson: (NSString *)  sourceInputsJson

Deserializes an instance array from JSON.

Parameters
sourceInputsJsonThe source inputs JSON.

◆ fromJsonWithSourceInputJson:

+ (FMLiveSwitchSourceInput*) fromJsonWithSourceInputJson: (NSString *)  sourceInputJson

Deserializes an instance from JSON.

Parameters
sourceInputJsonThe source input JSON.

◆ id

- (NSString*) id

Gets the identifier.

◆ initWithId:name:

- (instancetype) initWithId: (NSString *)  idValue
name: (NSString *)  name 

Initializes a new instance of the FMLiveSwitchSourceInput class.

Parameters
idValueThe identifier.
nameThe name.

◆ name

- (NSString*) name

Gets the name.

◆ setId:

- (void) setId: (NSString *)  value

Sets the identifier.

◆ setName:

- (void) setName: (NSString *)  value

Sets the name.

◆ sourceInputWithId:name:

+ (FMLiveSwitchSourceInput*) sourceInputWithId: (NSString *)  idValue
name: (NSString *)  name 

Initializes a new instance of the FMLiveSwitchSourceInput class.

Parameters
idValueThe identifier.
nameThe name.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArrayWithSourceInputs:

+ (NSString*) toJsonArrayWithSourceInputs: (NSMutableArray *)  sourceInputs

Serializes an instance array to JSON.

Parameters
sourceInputsThe source inputs.

◆ toJsonWithSourceInput:

+ (NSString*) toJsonWithSourceInput: (FMLiveSwitchSourceInput *)  sourceInput

Serializes an instance to JSON.

Parameters
sourceInputThe source input.