fm.liveswitch.SinkOutput Class Reference

A sink output (e.g. More...

Public Member Functions

String getId ()
 Gets the identifier. More...
 
String getName ()
 Gets the name. More...
 
 SinkOutput (String idValue, String name)
 Initializes a new instance of the fm.liveswitch.SinkOutput class. More...
 
String toJson ()
 Serializes this instance to JSON. More...
 
String toString ()
 Returns a string that represents this instance. More...
 

Static Public Member Functions

static fm.liveswitch.SinkOutput fromJson (String sinkOutputJson)
 Deserializes an instance from JSON. More...
 
static fm.liveswitch.SinkOutput[] fromJsonArray (String sinkOutputsJson)
 Deserializes an instance array from JSON. More...
 
static String toJson (fm.liveswitch.SinkOutput sinkOutput)
 Serializes an instance to JSON. More...
 
static String toJsonArray (fm.liveswitch.SinkOutput[] sinkOutputs)
 Serializes an instance array to JSON. More...
 

Detailed Description

A sink output (e.g.

device, track, screen).

Constructor & Destructor Documentation

◆ SinkOutput()

fm.liveswitch.SinkOutput.SinkOutput ( String  idValue,
String  name 
)

Initializes a new instance of the fm.liveswitch.SinkOutput class.

Parameters
idValueThe identifier.
nameThe name.

Member Function Documentation

◆ fromJson()

static fm.liveswitch.SinkOutput fm.liveswitch.SinkOutput.fromJson ( String  sinkOutputJson)
static

Deserializes an instance from JSON.

Parameters
sinkOutputJsonThe sink output JSON.

◆ fromJsonArray()

static fm.liveswitch.SinkOutput [] fm.liveswitch.SinkOutput.fromJsonArray ( String  sinkOutputsJson)
static

Deserializes an instance array from JSON.

Parameters
sinkOutputsJsonThe sink outputs JSON.

◆ getId()

String fm.liveswitch.SinkOutput.getId ( )

Gets the identifier.

◆ getName()

String fm.liveswitch.SinkOutput.getName ( )

Gets the name.

◆ toJson() [1/2]

String fm.liveswitch.SinkOutput.toJson ( )

Serializes this instance to JSON.

◆ toJson() [2/2]

static String fm.liveswitch.SinkOutput.toJson ( fm.liveswitch.SinkOutput  sinkOutput)
static

Serializes an instance to JSON.

Parameters
sinkOutputThe sink output.

◆ toJsonArray()

static String fm.liveswitch.SinkOutput.toJsonArray ( fm.liveswitch.SinkOutput[]  sinkOutputs)
static

Serializes an instance array to JSON.

Parameters
sinkOutputsThe sink outputs.

◆ toString()

String fm.liveswitch.SinkOutput.toString ( )

Returns a string that represents this instance.

Returns
A string that represents this instance.