Sha256: 8076b28b7be85bf40a3980d5cf2912a3e7ad96833493d103164343da557454fe

Contents?: true

Size: 2 KB

Versions: 2

Compression:

Stored size: 2 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::Automation::Mgmt::V2015_10_31
  module Models
    #
    # The parameters supplied to the Update credential operation.
    #
    class CredentialUpdateParameters

      include MsRestAzure

      # @return [String] Gets or sets the name of the credential.
      attr_accessor :name

      # @return [String] Gets or sets the user name of the credential.
      attr_accessor :user_name

      # @return [String] Gets or sets the password of the credential.
      attr_accessor :password

      # @return [String] Gets or sets the description of the credential.
      attr_accessor :description


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_automation-0.15.1 lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb