Class: Azure::ServiceFabric::V6_4_0_36::Models::ContainerApiResult
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::ContainerApiResult
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/container_api_result.rb
Overview
Container API result.
Instance Attribute Summary collapse
-
#body ⇒ String
Container API result body.
-
#content_encoding ⇒ String
HTTP content encoding.
-
#content_type ⇒ String
HTTP content type.
-
#status ⇒ Integer
HTTP status code returned by the target container API.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerApiResult class as Ruby Hash.
Instance Attribute Details
#body ⇒ String
Returns container API result body.
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/container_api_result.rb', line 25 def body @body end |
#content_encoding ⇒ String
Returns HTTP content encoding.
22 23 24 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/container_api_result.rb', line 22 def content_encoding @content_encoding end |
#content_type ⇒ String
Returns HTTP content type.
19 20 21 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/container_api_result.rb', line 19 def content_type @content_type end |
#status ⇒ Integer
Returns HTTP status code returned by the target container API.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/container_api_result.rb', line 16 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerApiResult class as Ruby Hash. This will be used for serialization/deserialization.
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 72 73 74 75 76 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/container_api_result.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerApiResult', type: { name: 'Composite', class_name: 'ContainerApiResult', model_properties: { status: { client_side_validation: true, required: true, serialized_name: 'Status', type: { name: 'Number' } }, content_type: { client_side_validation: true, required: false, serialized_name: 'Content-Type', type: { name: 'String' } }, content_encoding: { client_side_validation: true, required: false, serialized_name: 'Content-Encoding', type: { name: 'String' } }, body: { client_side_validation: true, required: false, serialized_name: 'Body', type: { name: 'String' } } } } } end |