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>

public final class ListChannelWithKeysResponseInner extends BotChannelInner
The ARM channel of list channel with keys operation response.
  • Constructor Details

    • ListChannelWithKeysResponseInner

      public ListChannelWithKeysResponseInner()
      Creates an instance of ListChannelWithKeysResponseInner class.
  • Method Details

    • resource

      public Channel resource()
      Get the resource property: The set of properties specific to bot channel resource.
      Returns:
      the resource value.
    • withResource

      public ListChannelWithKeysResponseInner withResource(Channel resource)
      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

      public ChannelSettings setting()
      Get the setting property: Channel settings.
      Returns:
      the setting value.
    • withSetting

      public ListChannelWithKeysResponseInner withSetting(ChannelSettings setting)
      Set the setting property: Channel settings.
      Parameters:
      setting - the setting value to set.
      Returns:
      the ListChannelWithKeysResponseInner object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public ListChannelWithKeysResponseInner withProvisioningState(String provisioningState)
      Set the provisioningState property: Provisioning state of the resource.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the ListChannelWithKeysResponseInner object itself.
    • entityTag

      public String entityTag()
      Get the entityTag property: Entity tag of the resource.
      Returns:
      the entityTag value.
    • withEntityTag

      public ListChannelWithKeysResponseInner withEntityTag(String entityTag)
      Set the entityTag property: Entity tag of the resource.
      Parameters:
      entityTag - the entityTag value to set.
      Returns:
      the ListChannelWithKeysResponseInner object itself.
    • changedTime

      public String changedTime()
      Get the changedTime property: Changed time of the resource.
      Returns:
      the changedTime value.
    • withChangedTime

      public ListChannelWithKeysResponseInner withChangedTime(String changedTime)
      Set the changedTime property: Changed time of the resource.
      Parameters:
      changedTime - the changedTime value to set.
      Returns:
      the ListChannelWithKeysResponseInner object itself.
    • zones

      public List<String> zones()
      Get the zones property: Entity zones.
      Overrides:
      zones in class BotChannelInner
      Returns:
      the zones value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class BotChannelInner
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class BotChannelInner
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class BotChannelInner
      Returns:
      the id value.
    • withProperties

      public ListChannelWithKeysResponseInner withProperties(Channel properties)
      Set the properties property: The set of properties specific to bot channel resource.
      Overrides:
      withProperties in class BotChannelInner
      Parameters:
      properties - the properties value to set.
      Returns:
      the BotChannelInner object itself.
    • withSku

      public ListChannelWithKeysResponseInner withSku(Sku sku)
      Set the sku property: Gets or sets the SKU of the resource.
      Overrides:
      withSku in class BotChannelInner
      Parameters:
      sku - the sku value to set.
      Returns:
      the BotChannelInner object itself.
    • withKind

      public ListChannelWithKeysResponseInner withKind(Kind kind)
      Set the kind property: Required. Gets or sets the Kind of the resource.
      Overrides:
      withKind in class BotChannelInner
      Parameters:
      kind - the kind value to set.
      Returns:
      the BotChannelInner object itself.
    • withEtag

      public ListChannelWithKeysResponseInner withEtag(String etag)
      Set the etag property: Entity Tag.
      Overrides:
      withEtag in class BotChannelInner
      Parameters:
      etag - the etag value to set.
      Returns:
      the BotChannelInner object itself.
    • withLocation

      public ListChannelWithKeysResponseInner withLocation(String location)
      Overrides:
      withLocation in class BotChannelInner
    • withTags

      Overrides:
      withTags in class BotChannelInner
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class BotChannelInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class BotChannelInner
      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.