Class: Azure::Graph::Mgmt::V1_6::Models::PasswordProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.6/generated/azure_mgmt_graph/models/password_profile.rb

Overview

The password profile associated with a user.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#force_change_password_next_loginBoolean

Returns Whether to force a password change on next login.

Returns:

  • (Boolean)

    Whether to force a password change on next login.



19
20
21
# File 'lib/1.6/generated/azure_mgmt_graph/models/password_profile.rb', line 19

def 
  @force_change_password_next_login
end

#passwordString

Returns Password.

Returns:

  • (String)

    Password



16
17
18
# File 'lib/1.6/generated/azure_mgmt_graph/models/password_profile.rb', line 16

def password
  @password
end

Class Method Details

.mapperObject

Mapper for PasswordProfile class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/1.6/generated/azure_mgmt_graph/models/password_profile.rb', line 26

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