Sha256: 7edc9c3af278b7a1f88a7fe84a8f1f0f21d4e0e74d4d3276f007bceb245350d0

Contents?: true

Size: 1.47 KB

Versions: 11

Compression:

Stored size: 1.47 KB

Contents

# 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::CognitiveServices::Mgmt::V2016_02_01_preview
  module Models
    #
    # The access keys for the cognitive services account.
    #
    class CognitiveServicesAccountKeys

      include MsRestAzure

      # @return [String] Gets the value of key 1.
      attr_accessor :key1

      # @return [String] Gets the value of key 2.
      attr_accessor :key2


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cognitive_services-0.19.4 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.3 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.2 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.1 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.0 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.3 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.2 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.1 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.0 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.17.0 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.16.0 lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb