BotChannelInner Class

public class BotChannelInner
extends Resource

Bot channel resource definition.

Constructor Summary

Constructor Description
BotChannelInner()

Creates an instance of BotChannelInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: Entity Tag.

static BotChannelInner fromJson(JsonReader jsonReader)

Reads an instance of BotChannelInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Kind kind()

Get the kind property: Required.

String name()

Get the name property: The name of the resource.

Channel properties()

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

Sku sku()

Get the sku property: Gets or sets the SKU of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

BotChannelInner withEtag(String etag)

Set the etag property: Entity Tag.

BotChannelInner withKind(Kind kind)

Set the kind property: Required.

BotChannelInner withLocation(String location)
BotChannelInner withProperties(Channel properties)

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

BotChannelInner withSku(Sku sku)

Set the sku property: Gets or sets the SKU of the resource.

BotChannelInner withTags(Map<String,String> tags)
List<String> zones()

Get the zones property: Entity zones.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

BotChannelInner

public BotChannelInner()

Creates an instance of BotChannelInner class.

Method Details

etag

public String etag()

Get the etag property: Entity Tag.

Returns:

the etag value.

fromJson

public static BotChannelInner fromJson(JsonReader jsonReader)

Reads an instance of BotChannelInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

BotChannelInner.id()

Returns:

the id value.

kind

public Kind kind()

Get the kind property: Required. Gets or sets the Kind of the resource.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BotChannelInner.name()

Returns:

the name value.

properties

public Channel properties()

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

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: Gets or sets the SKU of the resource.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BotChannelInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BotChannelInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEtag

public BotChannelInner withEtag(String etag)

Set the etag property: Entity Tag.

Parameters:

etag - the etag value to set.

Returns:

the BotChannelInner object itself.

withKind

public BotChannelInner withKind(Kind kind)

Set the kind property: Required. Gets or sets the Kind of the resource.

Parameters:

kind - the kind value to set.

Returns:

the BotChannelInner object itself.

withLocation

public BotChannelInner withLocation(String location)

Overrides:

BotChannelInner.withLocation(String location)

Parameters:

location

withProperties

public BotChannelInner withProperties(Channel properties)

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

Parameters:

properties - the properties value to set.

Returns:

the BotChannelInner object itself.

withSku

public BotChannelInner withSku(Sku sku)

Set the sku property: Gets or sets the SKU of the resource.

Parameters:

sku - the sku value to set.

Returns:

the BotChannelInner object itself.

withTags

public BotChannelInner withTags(Map<String,String> tags)

Overrides:

BotChannelInner.withTags(Map<String,String> tags)

Parameters:

tags

zones

public List<String> zones()

Get the zones property: Entity zones.

Returns:

the zones value.

Applies to