Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::BackendProxyContract

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb

Overview

Details of the Backend WebProxy Server to use in the Request to Backend.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#passwordString

Returns Password to connect to the WebProxy Server.

Returns:

  • (String)

    Password to connect to the WebProxy Server



24
25
26
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb', line 24

def password
  @password
end

#urlString

the entire URI stored in the Uri instance, including all fragments and query strings.

Returns:

  • (String)

    WebProxy Server AbsoluteUri property which includes



18
19
20
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb', line 18

def url
  @url
end

#usernameString

Returns Username to connect to the WebProxy server.

Returns:

  • (String)

    Username to connect to the WebProxy server



21
22
23
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb', line 21

def username
  @username
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackendProxyContract',
    type: {
      name: 'Composite',
      class_name: 'BackendProxyContract',
      model_properties: {
        url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'url',
          constraints: {
            MaxLength: 2000,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        username: {
          client_side_validation: true,
          required: false,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end