Share via


SkypeChannel Class

public final class SkypeChannel
extends Channel

Skype channel definition.

Constructor Summary

Constructor Description
SkypeChannel()

Creates an instance of SkypeChannel class.

Method Summary

Modifier and Type Method and Description
String channelName()

Get the channelName property: The channel name.

static SkypeChannel fromJson(JsonReader jsonReader)

Reads an instance of SkypeChannel from the JsonReader.

SkypeChannelProperties properties()

Get the properties property: The set of properties specific to Skype channel resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SkypeChannel withEtag(String etag)

Set the etag property: Entity Tag of the resource.

SkypeChannel withLocation(String location)

Set the location property: Specifies the location of the resource.

SkypeChannel withProperties(SkypeChannelProperties properties)

Set the properties property: The set of properties specific to Skype channel resource.

Methods inherited from Channel

Methods inherited from java.lang.Object

Constructor Details

SkypeChannel

public SkypeChannel()

Creates an instance of SkypeChannel class.

Method Details

channelName

public String channelName()

Get the channelName property: The channel name.

Overrides:

SkypeChannel.channelName()

Returns:

the channelName value.

fromJson

public static SkypeChannel fromJson(JsonReader jsonReader)

Reads an instance of SkypeChannel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SkypeChannel if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SkypeChannel.

properties

public SkypeChannelProperties properties()

Get the properties property: The set of properties specific to Skype channel resource.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SkypeChannel.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

SkypeChannel.validate()

withEtag

public SkypeChannel withEtag(String etag)

Set the etag property: Entity Tag of the resource.

Overrides:

SkypeChannel.withEtag(String etag)

Parameters:

etag

withLocation

public SkypeChannel withLocation(String location)

Set the location property: Specifies the location of the resource.

Overrides:

SkypeChannel.withLocation(String location)

Parameters:

location

withProperties

public SkypeChannel withProperties(SkypeChannelProperties properties)

Set the properties property: The set of properties specific to Skype channel resource.

Parameters:

properties - the properties value to set.

Returns:

the SkypeChannel object itself.

Applies to