Class: Azure::Logic::Mgmt::V2016_06_01::Models::Response
- Inherits:
-
Object
- Object
- Azure::Logic::Mgmt::V2016_06_01::Models::Response
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_logic/models/response.rb
Overview
A response.
Instance Attribute Summary collapse
-
#body_link ⇒ ContentLink
Details on the location of the body content.
-
#headers ⇒ Object
A list of all the headers attached to the response.
-
#status_code ⇒ Integer
The status code of the response.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Response class as Ruby Hash.
Instance Attribute Details
#body_link ⇒ ContentLink
Returns Details on the location of the body content.
22 23 24 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/response.rb', line 22 def body_link @body_link end |
#headers ⇒ Object
Returns A list of all the headers attached to the response.
16 17 18 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/response.rb', line 16 def headers @headers end |
#status_code ⇒ Integer
Returns The status code of the response.
19 20 21 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/response.rb', line 19 def status_code @status_code end |
Class Method Details
.mapper ⇒ Object
Mapper for Response class as Ruby Hash. This will be used for serialization/deserialization.
29 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 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/response.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Response', type: { name: 'Composite', class_name: 'Response', model_properties: { headers: { client_side_validation: true, required: false, serialized_name: 'headers', type: { name: 'Object' } }, status_code: { client_side_validation: true, required: false, serialized_name: 'statusCode', type: { name: 'Number' } }, body_link: { client_side_validation: true, required: false, serialized_name: 'bodyLink', type: { name: 'Composite', class_name: 'ContentLink' } } } } } end |