Sha256: e0d2409e3aa422c3e50ba9fe8bdc6752028de5b5abfad6cecb4de7faa37c12d9

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 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::Graph
  module Models
    #
    # The password profile associated with a user.
    #
    class PasswordProfile

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] Password
      attr_accessor :password

      # @return [Boolean] Whether to force a password change on next login.
      attr_accessor :force_change_password_next_login


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_graph-0.12.0 lib/generated/azure_mgmt_graph/models/password_profile.rb
azure_mgmt_graph-0.11.0 lib/generated/azure_mgmt_graph/models/password_profile.rb