Class: Azure::ARM::Web::Models::User

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/user.rb

Overview

User crendentials used for publishing activity.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#publishing_passwordString

Returns Password used for publishing.

Returns:

  • (String)

    Password used for publishing.



23
24
25
# File 'lib/generated/azure_mgmt_web/models/user.rb', line 23

def publishing_password
  @publishing_password
end

#publishing_password_hashString

Returns Password hash used for publishing.

Returns:

  • (String)

    Password hash used for publishing.



26
27
28
# File 'lib/generated/azure_mgmt_web/models/user.rb', line 26

def publishing_password_hash
  @publishing_password_hash
end

#publishing_password_hash_saltString

Returns Password hash salt used for publishing.

Returns:

  • (String)

    Password hash salt used for publishing.



29
30
31
# File 'lib/generated/azure_mgmt_web/models/user.rb', line 29

def publishing_password_hash_salt
  @publishing_password_hash_salt
end

#publishing_user_nameString

Returns Username used for publishing.

Returns:

  • (String)

    Username used for publishing.



20
21
22
# File 'lib/generated/azure_mgmt_web/models/user.rb', line 20

def publishing_user_name
  @publishing_user_name
end

#user_nameString

Returns Username.

Returns:

  • (String)

    Username



17
18
19
# File 'lib/generated/azure_mgmt_web/models/user.rb', line 17

def user_name
  @user_name
end

Class Method Details

.mapperObject

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



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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# File 'lib/generated/azure_mgmt_web/models/user.rb', line 36

def self.mapper()
  {
    required: false,
    serialized_name: 'User',
    type: {
      name: 'Composite',
      class_name: 'User',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        location: {
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        user_name: {
          required: false,
          serialized_name: 'properties.name',
          type: {
            name: 'String'
          }
        },
        publishing_user_name: {
          required: false,
          serialized_name: 'properties.publishingUserName',
          type: {
            name: 'String'
          }
        },
        publishing_password: {
          required: false,
          serialized_name: 'properties.publishingPassword',
          type: {
            name: 'String'
          }
        },
        publishing_password_hash: {
          required: false,
          serialized_name: 'properties.publishingPasswordHash',
          type: {
            name: 'String'
          }
        },
        publishing_password_hash_salt: {
          required: false,
          serialized_name: 'properties.publishingPasswordHashSalt',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end