Sha256: 966418b98be026689adb78d0f25ff185e2969e82819a09c6d71b4e5b4e093941

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 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()
        {
          required: false,
          serialized_name: 'CognitiveServicesAccountKeys',
          type: {
            name: 'Composite',
            class_name: 'CognitiveServicesAccountKeys',
            model_properties: {
              key1: {
                required: false,
                serialized_name: 'key1',
                type: {
                  name: 'String'
                }
              },
              key2: {
                required: false,
                serialized_name: 'key2',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cognitive_services-0.15.1 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb
azure_mgmt_cognitive_services-0.15.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb