# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::BotService::Mgmt::V2018_07_12_preview
  module Models
    #
    # The properties specific to an Enterprise Channel Node.
    #
    class EnterpriseChannelNode

      include MsRestAzure

      # @return [String] Id of Enterprise Channel Node. This is generated by
      # the Bot Framework.
      attr_accessor :id

      # @return [EnterpriseChannelNodeState] The current state of the
      # Enterprise Channel Node. Possible values include: 'Creating',
      # 'CreateFailed', 'Started', 'Starting', 'StartFailed', 'Stopped',
      # 'Stopping', 'StopFailed', 'Deleting', 'DeleteFailed'
      attr_accessor :state

      # @return [String] The name of the Enterprise Channel Node.
      attr_accessor :name

      # @return [String] The sku of the Enterprise Channel Node.
      attr_accessor :azure_sku

      # @return [String] The location of the Enterprise Channel Node.
      attr_accessor :azure_location


      #
      # Mapper for EnterpriseChannelNode class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EnterpriseChannelNode',
          type: {
            name: 'Composite',
            class_name: 'EnterpriseChannelNode',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'state',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              azure_sku: {
                client_side_validation: true,
                required: true,
                serialized_name: 'azureSku',
                type: {
                  name: 'String'
                }
              },
              azure_location: {
                client_side_validation: true,
                required: true,
                serialized_name: 'azureLocation',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
