# 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
    #
    # General information about the API
    #
    class ApiResourceGeneralInformation

      include MsRestAzure

      # @return [String] The icon URL
      attr_accessor :icon_url

      # @return [String] Display name
      attr_accessor :display_name

      # @return [String] The API description
      attr_accessor :description

      # @return [String] URL to the Terms of Use
      attr_accessor :terms_of_use_url

      # @return [String] Release tag
      attr_accessor :release_tag


      #
      # Mapper for ApiResourceGeneralInformation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApiResourceGeneralInformation',
          type: {
            name: 'Composite',
            class_name: 'ApiResourceGeneralInformation',
            model_properties: {
              icon_url: {
                client_side_validation: true,
                required: false,
                serialized_name: 'iconUrl',
                type: {
                  name: 'String'
                }
              },
              display_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              },
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              },
              terms_of_use_url: {
                client_side_validation: true,
                required: false,
                serialized_name: 'termsOfUseUrl',
                type: {
                  name: 'String'
                }
              },
              release_tag: {
                client_side_validation: true,
                required: false,
                serialized_name: 'releaseTag',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
