Sha256: 7aa7692cd5c1103a8ee9189449bd3871e0f32adf4046a69e82dac3056ea2f8e7

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

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

module Azure::ARM::Search
  module Models
    #
    # Describes an API key for a given Azure Search service that has
    # permissions for query operations only.
    #
    class QueryKey

      include MsRestAzure

      # @return [String] The name of the query API key; may be empty.
      attr_accessor :name

      # @return [String] The value of the query API key.
      attr_accessor :key


      #
      # Mapper for QueryKey class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'QueryKey',
          type: {
            name: 'Composite',
            class_name: 'QueryKey',
            model_properties: {
              name: {
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              key: {
                required: false,
                read_only: true,
                serialized_name: 'key',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_search-0.7.0 lib/generated/azure_mgmt_search/models/query_key.rb
azure_mgmt_search-0.6.0 lib/generated/azure_mgmt_search/models/query_key.rb
azure_mgmt_search-0.5.0 lib/generated/azure_mgmt_search/models/query_key.rb
azure_mgmt_search-0.4.0 lib/generated/azure_mgmt_search/models/query_key.rb