Sha256: fc619dd4416f52616bc7ab18bac6050a9182ae9f0197635f16f9ef02c8c30782

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 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::ARM::Graph
  module Models
    #
    # Active Directory Password Credential 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] Key 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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_graph-0.14.0 lib/generated/azure_mgmt_graph/models/password_credential.rb