/ fm / liveswitch / SourceInput
Class: SourceInput
fm.liveswitch.SourceInput
A source input (e.g. device, track, screen).
Table of contents
Constructors
Methods
Constructors
constructor
+ new SourceInput(): SourceInput
Returns: SourceInput
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:15
+ new SourceInput(idValue
: string, name
: string): SourceInput
Initializes a new instance of the [[fm.liveswitch.sourceInput]] class.
Parameters:
Name | Type | Description |
---|---|---|
idValue |
string | The identifier. |
name |
string | The name. |
Returns: SourceInput
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:17
Methods
getId
▸ getId(): string
Gets the identifier.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:124
getName
▸ getName(): string
Gets the name.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:136
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:9
setId
▸ setId(value
: string): void
Sets the identifier.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:148
setName
▸ setName(value
: string): void
Sets the name.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:160
toJson
▸ toJson(): string
Serializes this instance to JSON.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:172
toString
▸ toString(): string
Returns a string that represents this instance.
Returns: string
A string that represents this instance.
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:187
fromJson
▸ Static
fromJson(sourceInputJson
: string): SourceInput
Deserializes an instance from JSON.
Parameters:
Name | Type | Description |
---|---|---|
sourceInputJson |
string | The source input JSON. |
Returns: SourceInput
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:49
fromJsonArray
▸ Static
fromJsonArray(sourceInputsJson
: string): SourceInput[]
Deserializes an instance array from JSON.
Parameters:
Name | Type | Description |
---|---|---|
sourceInputsJson |
string | The source inputs JSON. |
Returns: SourceInput[]
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:75
toJson
▸ Static
toJson(sourceInput
: SourceInput): string
Serializes an instance to JSON.
Parameters:
Name | Type | Description |
---|---|---|
sourceInput |
SourceInput | The source input. |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:92
toJsonArray
▸ Static
toJsonArray(sourceInputs
: SourceInput[]): string
Serializes an instance array to JSON.
Parameters:
Name | Type | Description |
---|---|---|
sourceInputs |
SourceInput[] | The source inputs. |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:112