Share via


BotInner Class

public final class BotInner
extends Resource

Bot resource definition.

Constructor Summary

Constructor Description
BotInner()

Creates an instance of BotInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: Entity Tag.

static BotInner fromJson(JsonReader jsonReader)

Reads an instance of BotInner 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.

BotProperties properties()

Get the properties property: The set of properties specific to bot 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.

BotInner withEtag(String etag)

Set the etag property: Entity Tag.

BotInner withKind(Kind kind)

Set the kind property: Required.

BotInner withLocation(String location)
BotInner withProperties(BotProperties properties)

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

BotInner withSku(Sku sku)

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

BotInner 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

BotInner

public BotInner()

Creates an instance of BotInner class.

Method Details

etag

public String etag()

Get the etag property: Entity Tag.

Returns:

the etag value.

fromJson

public static BotInner fromJson(JsonReader jsonReader)

Reads an instance of BotInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BotInner 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:

BotInner.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:

BotInner.name()

Returns:

the name value.

properties

public BotProperties properties()

Get the properties property: The set of properties specific to bot 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:

BotInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BotInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEtag

public BotInner withEtag(String etag)

Set the etag property: Entity Tag.

Parameters:

etag - the etag value to set.

Returns:

the BotInner object itself.

withKind

public BotInner 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 BotInner object itself.

withLocation

public BotInner withLocation(String location)

Overrides:

BotInner.withLocation(String location)

Parameters:

location

withProperties

public BotInner withProperties(BotProperties properties)

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

Parameters:

properties - the properties value to set.

Returns:

the BotInner object itself.

withSku

public BotInner withSku(Sku sku)

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

Parameters:

sku - the sku value to set.

Returns:

the BotInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

zones

public List<String> zones()

Get the zones property: Entity zones.

Returns:

the zones value.

Applies to