Class ListChannelWithKeysResponseInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.botservice.fluent.models.BotChannelInner
com.azure.resourcemanager.botservice.fluent.models.ListChannelWithKeysResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
The ARM channel of list channel with keys operation response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ListChannelWithKeysResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the changedTime property: Changed time of the resource.Get the entityTag property: Entity tag of the resource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ListChannelWithKeysResponseInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.Get the provisioningState property: Provisioning state of the resource.resource()Get the resource property: The set of properties specific to bot channel resource.setting()Get the setting property: Channel settings.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withChangedTime(String changedTime) Set the changedTime property: Changed time of the resource.withEntityTag(String entityTag) Set the entityTag property: Entity tag of the resource.Set the etag property: Entity Tag.Set the kind property: Required.withLocation(String location) withProperties(Channel properties) Set the properties property: The set of properties specific to bot channel resource.withProvisioningState(String provisioningState) Set the provisioningState property: Provisioning state of the resource.withResource(Channel resource) Set the resource property: The set of properties specific to bot channel resource.withSetting(ChannelSettings setting) Set the setting property: Channel settings.Set the sku property: Gets or sets the SKU of the resource.zones()Get the zones property: Entity zones.Methods inherited from class com.azure.resourcemanager.botservice.fluent.models.BotChannelInner
etag, kind, properties, skuMethods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ListChannelWithKeysResponseInner
public ListChannelWithKeysResponseInner()Creates an instance of ListChannelWithKeysResponseInner class.
-
-
Method Details
-
resource
Get the resource property: The set of properties specific to bot channel resource.- Returns:
- the resource value.
-
withResource
Set the resource property: The set of properties specific to bot channel resource.- Parameters:
resource- the resource value to set.- Returns:
- the ListChannelWithKeysResponseInner object itself.
-
setting
Get the setting property: Channel settings.- Returns:
- the setting value.
-
withSetting
Set the setting property: Channel settings.- Parameters:
setting- the setting value to set.- Returns:
- the ListChannelWithKeysResponseInner object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Provisioning state of the resource.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the ListChannelWithKeysResponseInner object itself.
-
entityTag
Get the entityTag property: Entity tag of the resource.- Returns:
- the entityTag value.
-
withEntityTag
Set the entityTag property: Entity tag of the resource.- Parameters:
entityTag- the entityTag value to set.- Returns:
- the ListChannelWithKeysResponseInner object itself.
-
changedTime
Get the changedTime property: Changed time of the resource.- Returns:
- the changedTime value.
-
withChangedTime
Set the changedTime property: Changed time of the resource.- Parameters:
changedTime- the changedTime value to set.- Returns:
- the ListChannelWithKeysResponseInner object itself.
-
zones
Get the zones property: Entity zones.- Overrides:
zonesin classBotChannelInner- Returns:
- the zones value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classBotChannelInner- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classBotChannelInner- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classBotChannelInner- Returns:
- the id value.
-
withProperties
Set the properties property: The set of properties specific to bot channel resource.- Overrides:
withPropertiesin classBotChannelInner- Parameters:
properties- the properties value to set.- Returns:
- the BotChannelInner object itself.
-
withSku
Set the sku property: Gets or sets the SKU of the resource.- Overrides:
withSkuin classBotChannelInner- Parameters:
sku- the sku value to set.- Returns:
- the BotChannelInner object itself.
-
withKind
Set the kind property: Required. Gets or sets the Kind of the resource.- Overrides:
withKindin classBotChannelInner- Parameters:
kind- the kind value to set.- Returns:
- the BotChannelInner object itself.
-
withEtag
Set the etag property: Entity Tag.- Overrides:
withEtagin classBotChannelInner- Parameters:
etag- the etag value to set.- Returns:
- the BotChannelInner object itself.
-
withLocation
- Overrides:
withLocationin classBotChannelInner
-
withTags
- Overrides:
withTagsin classBotChannelInner
-
validate
public void validate()Validates the instance.- Overrides:
validatein classBotChannelInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classBotChannelInner- Throws:
IOException
-
fromJson
public static ListChannelWithKeysResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ListChannelWithKeysResponseInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ListChannelWithKeysResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ListChannelWithKeysResponseInner.
-