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

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

Overview

Represents 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



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

def publishing_password
  @publishing_password
end

#publishing_user_nameString

Returns Username used for publishing.

Returns:

  • (String)

    Username used for publishing



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

def publishing_user_name
  @publishing_user_name
end

#scm_uriString

password

Returns:

  • (String)

    Service Control Manager URI, including username and



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

def scm_uri
  @scm_uri
end

#user_nameString

Returns Username (internal).

Returns:

  • (String)

    Username (internal)



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

def user_name
  @user_name
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/generated/azure_mgmt_web/models/user.rb', line 33

def self.mapper()
  {
    required: false,
    serialized_name: 'User',
    type: {
      name: 'Composite',
      class_name: 'User',
      model_properties: {
        id: {
          required: false,
          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'
          }
        },
        scm_uri: {
          required: false,
          serialized_name: 'properties.scmUri',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end