Sha256: 38240fe136179ff530aba955e067c734a4b8314e710fa33bc5f45e78832fe9fc

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

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

module Azure::ARM::MachineLearning
  module Models
    #
    # Access keys for the web service calls.
    #
    class WebServiceKeys

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] The primary access key.
      attr_accessor :primary

      # @return [String] The secondary access key.
      attr_accessor :secondary


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_machine_learning-0.12.0 lib/generated/azure_mgmt_machine_learning/models/web_service_keys.rb
azure_mgmt_machine_learning-0.11.0 lib/generated/azure_mgmt_machine_learning/models/web_service_keys.rb