# 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::V2017_12_01_preview
  module Models
    #
    # The Object used to describe a Service Provider supported by Bot Service
    #
    class ServiceProviderProperties

      include MsRestAzure

      # @return [String] Id for Service Provider
      attr_accessor :id

      # @return [String] Display Name of the Service Provider
      attr_accessor :display_name

      # @return [String] Display Name of the Service Provider
      attr_accessor :service_provider_name

      # @return [String] Display Name of the Service Provider
      attr_accessor :dev_portal_url

      # @return [String] Display Name of the Service Provider
      attr_accessor :icon_url

      # @return [Array<ServiceProviderParameter>] The list of parameters for
      # the Service Provider
      attr_accessor :parameters


      #
      # Mapper for ServiceProviderProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceProviderProperties',
          type: {
            name: 'Composite',
            class_name: 'ServiceProviderProperties',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              display_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              },
              service_provider_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'serviceProviderName',
                type: {
                  name: 'String'
                }
              },
              dev_portal_url: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'devPortalUrl',
                type: {
                  name: 'String'
                }
              },
              icon_url: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'iconUrl',
                type: {
                  name: 'String'
                }
              },
              parameters: {
                client_side_validation: true,
                required: false,
                serialized_name: 'parameters',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ServiceProviderParameterElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ServiceProviderParameter'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
