# 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::Web::Mgmt::V2016_06_01
  module Models
    #
    # Model object.
    #
    #
    class ApiResourceMetadata

      include MsRestAzure

      # @return [String] The source
      attr_accessor :source

      # @return [String] Brand color
      attr_accessor :brand_color

      # @return [String] Hide key
      attr_accessor :hide_key

      # @return [Hash{String => String}]
      attr_accessor :tags

      # @return [ApiType] Possible values include: 'NotSpecified', 'Rest',
      # 'Soap'
      attr_accessor :api_type

      # @return [WsdlService]
      attr_accessor :wsdl_service

      # @return [WsdlImportMethod] Possible values include: 'NotSpecified',
      # 'SoapToRest', 'SoapPassThrough'
      attr_accessor :wsdl_import_method

      # @return [String] The connection type
      attr_accessor :connection_type


      #
      # Mapper for ApiResourceMetadata class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApiResourceMetadata',
          type: {
            name: 'Composite',
            class_name: 'ApiResourceMetadata',
            model_properties: {
              source: {
                client_side_validation: true,
                required: false,
                serialized_name: 'source',
                type: {
                  name: 'String'
                }
              },
              brand_color: {
                client_side_validation: true,
                required: false,
                serialized_name: 'brandColor',
                type: {
                  name: 'String'
                }
              },
              hide_key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hideKey',
                type: {
                  name: 'String'
                }
              },
              tags: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tags',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              api_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'apiType',
                type: {
                  name: 'String'
                }
              },
              wsdl_service: {
                client_side_validation: true,
                required: false,
                serialized_name: 'wsdlService',
                type: {
                  name: 'Composite',
                  class_name: 'WsdlService'
                }
              },
              wsdl_import_method: {
                client_side_validation: true,
                required: false,
                serialized_name: 'wsdlImportMethod',
                type: {
                  name: 'String'
                }
              },
              connection_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'connectionType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
