Class: Azure::GraphRbac::V1_6::Models::PasswordProfile

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

Overview

The password profile associated with a user.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_propertiesObject

collection

Returns:

  • Unmatched properties from the message are deserialized this



17
18
19
# File 'lib/1.6/generated/azure_graph_rbac/models/password_profile.rb', line 17

def additional_properties
  @additional_properties
end

#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.



23
24
25
# File 'lib/1.6/generated/azure_graph_rbac/models/password_profile.rb', line 23

def 
  
end

#passwordString

Returns Password.

Returns:

  • (String)

    Password



20
21
22
# File 'lib/1.6/generated/azure_graph_rbac/models/password_profile.rb', line 20

def password
  @password
end

Class Method Details

.mapperObject

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



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/1.6/generated/azure_graph_rbac/models/password_profile.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PasswordProfile',
    type: {
      name: 'Composite',
      class_name: 'PasswordProfile',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        },
        force_change_password_next_login: {
          client_side_validation: true,
          required: false,
          serialized_name: 'forceChangePasswordNextLogin',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end