Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::BackendProxyContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::BackendProxyContract
- 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
-
#password ⇒ String
Password to connect to the WebProxy Server.
-
#url ⇒ String
the entire URI stored in the Uri instance, including all fragments and query strings.
-
#username ⇒ String
Username to connect to the WebProxy server.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackendProxyContract class as Ruby Hash.
Instance Attribute Details
#password ⇒ String
Returns 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 |
#url ⇒ String
the entire URI stored in the Uri instance, including all fragments and query strings.
18 19 20 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb', line 18 def url @url end |
#username ⇒ String
Returns 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
.mapper ⇒ Object
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 |