# 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
    #
    # OAuth settings for the API
    #
    class ApiOAuthSettingsParameter

      include MsRestAzure

      # @return [String] Value of the setting
      attr_accessor :value

      # @return Options available to this parameter
      attr_accessor :options

      # @return UI definitions per culture as caller can specify the culture
      attr_accessor :ui_definition


      #
      # Mapper for ApiOAuthSettingsParameter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApiOAuthSettingsParameter',
          type: {
            name: 'Composite',
            class_name: 'ApiOAuthSettingsParameter',
            model_properties: {
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              },
              options: {
                client_side_validation: true,
                required: false,
                serialized_name: 'options',
                type: {
                  name: 'Object'
                }
              },
              ui_definition: {
                client_side_validation: true,
                required: false,
                serialized_name: 'uiDefinition',
                type: {
                  name: 'Object'
                }
              }
            }
          }
        }
      end
    end
  end
end
