Share via


AcsChatChannel Class

public final class AcsChatChannel
extends Channel

AcsChat channel definition.

Constructor Summary

Constructor Description
AcsChatChannel()

Creates an instance of AcsChatChannel class.

Method Summary

Modifier and Type Method and Description
String channelName()

Get the channelName property: The channel name.

static AcsChatChannel fromJson(JsonReader jsonReader)

Reads an instance of AcsChatChannel from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AcsChatChannel withEtag(String etag)

Set the etag property: Entity Tag of the resource.

AcsChatChannel withLocation(String location)

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

Methods inherited from Channel

Methods inherited from java.lang.Object

Constructor Details

AcsChatChannel

public AcsChatChannel()

Creates an instance of AcsChatChannel class.

Method Details

channelName

public String channelName()

Get the channelName property: The channel name.

Overrides:

AcsChatChannel.channelName()

Returns:

the channelName value.

fromJson

public static AcsChatChannel fromJson(JsonReader jsonReader)

Reads an instance of AcsChatChannel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AcsChatChannel 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 AcsChatChannel.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AcsChatChannel.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AcsChatChannel.validate()

withEtag

public AcsChatChannel withEtag(String etag)

Set the etag property: Entity Tag of the resource.

Overrides:

AcsChatChannel.withEtag(String etag)

Parameters:

etag

withLocation

public AcsChatChannel withLocation(String location)

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

Overrides:

AcsChatChannel.withLocation(String location)

Parameters:

location

Applies to