fm.liveswitch.ClientConfig Class Reference

Client configuration. More...

Public Member Functions

String getDeviceAlias ()
 Gets the Device Alias. More...
String[] getRoles ()
 Gets the Roles. More...
String getTag ()
 Gets the Tag. More...
String getUserAlias ()
 Gets the User Alias. More...
void setDeviceAlias (String value)
 Sets the Device Alias. More...
void setRoles (String[] value)
 Sets the Roles. More...
void setTag (String value)
 Sets the Tag. More...
void setUserAlias (String value)
 Sets the User Alias. More...
String toJson ()
 Serializes this instance to JSON. More...

Static Public Member Functions

static fm.liveswitch.ClientConfig fromJson (String clientConfigJson)
 Deserializes an instance from JSON. More...
static String toJson (fm.liveswitch.ClientConfig clientConfig)
 Serializes an instance to JSON. More...

Detailed Description

Client configuration.

Member Function Documentation

◆ fromJson()

static fm.liveswitch.ClientConfig fm.liveswitch.ClientConfig.fromJson ( String  clientConfigJson)

Deserializes an instance from JSON.

clientConfigJsonThe JSON to deserialize.
The deserialized client config.

◆ getDeviceAlias()

String fm.liveswitch.ClientConfig.getDeviceAlias ( )

Gets the Device Alias.

◆ getRoles()

String [] fm.liveswitch.ClientConfig.getRoles ( )

Gets the Roles.

◆ getTag()

String fm.liveswitch.ClientConfig.getTag ( )

Gets the Tag.

◆ getUserAlias()

String fm.liveswitch.ClientConfig.getUserAlias ( )

Gets the User Alias.

◆ setDeviceAlias()

void fm.liveswitch.ClientConfig.setDeviceAlias ( String  value)

Sets the Device Alias.

◆ setRoles()

void fm.liveswitch.ClientConfig.setRoles ( String[]  value)

Sets the Roles.

◆ setTag()

void fm.liveswitch.ClientConfig.setTag ( String  value)

Sets the Tag.

◆ setUserAlias()

void fm.liveswitch.ClientConfig.setUserAlias ( String  value)

Sets the User Alias.

◆ toJson() [1/2]

String fm.liveswitch.ClientConfig.toJson ( )

Serializes this instance to JSON.

◆ toJson() [2/2]

static String fm.liveswitch.ClientConfig.toJson ( fm.liveswitch.ClientConfig  clientConfig)

Serializes an instance to JSON.

clientConfigThe client config to serialize.
The serialized JSON.