Class: Azure::ServiceFabric::V6_4_0_36::Models::ContainerApiResult

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#bodyString

Returns container API result body.

Returns:

  • (String)

    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_encodingString

Returns HTTP content encoding.

Returns:

  • (String)

    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_typeString

Returns HTTP content type.

Returns:

  • (String)

    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

#statusInteger

Returns HTTP status code returned by the target container API.

Returns:

  • (Integer)

    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

.mapperObject

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