Sha256: 5b404ce8537211f5e954a5070f6602fd9b12ff77a79df9619af8a397dd3124b0

Contents?: true

Size: 1.77 KB

Versions: 3

Compression:

Stored size: 1.77 KB

Contents

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

module Azure::ARM::Graph
  module Models
    #
    # Active Directory PasswordCredential information
    #
    class PasswordCredential

      include MsRestAzure

      # @return [DateTime] start date
      attr_accessor :start_date

      # @return [DateTime] end date
      attr_accessor :end_date

      # @return [String] key Id
      attr_accessor :key_id

      # @return [String] value
      attr_accessor :value


      #
      # Mapper for PasswordCredential class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'PasswordCredential',
          type: {
            name: 'Composite',
            class_name: 'PasswordCredential',
            model_properties: {
              start_date: {
                required: false,
                serialized_name: 'startDate',
                type: {
                  name: 'DateTime'
                }
              },
              end_date: {
                required: false,
                serialized_name: 'endDate',
                type: {
                  name: 'DateTime'
                }
              },
              key_id: {
                required: false,
                serialized_name: 'keyId',
                type: {
                  name: 'String'
                }
              },
              value: {
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_graph-0.7.0 lib/generated/azure_mgmt_graph/models/password_credential.rb
azure_mgmt_graph-0.6.0 lib/generated/azure_mgmt_graph/models/password_credential.rb
azure_mgmt_graph-0.5.0 lib/generated/azure_mgmt_graph/models/password_credential.rb