Sha256: 1541620df754dcea71d93c1bcf9ce47b2d301ea5537af694cd36fa219c4431ea

Contents?: true

Size: 1.46 KB

Versions: 12

Compression:

Stored size: 1.46 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::V2017_04_18
  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

12 entries across 12 versions & 1 rubygems

Version Path
azure_mgmt_cognitive_services-0.19.4 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.3 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.2 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.1 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.19.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.3 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.2 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.1 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.18.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.17.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.16.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.15.2 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb