class Azure::ServiceFabric::V6_5_0_36::Models::ContainerApiRequestBody

parameters for making container API call.

Attributes

body[RW]

@return [String] HTTP request body of container REST API

content_type[RW]

@return [String] Content type of container REST API request, defaults to “application/json”

http_verb[RW]

@return [String] HTTP verb of container REST API, defaults to “GET”

uri_path[RW]

@return [String] URI path of container REST API

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/container_api_request_body.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerApiRequestBody',
    type: {
      name: 'Composite',
      class_name: 'ContainerApiRequestBody',
      model_properties: {
        http_verb: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HttpVerb',
          type: {
            name: 'String'
          }
        },
        uri_path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'UriPath',
          type: {
            name: 'String'
          }
        },
        content_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Content-Type',
          type: {
            name: 'String'
          }
        },
        body: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Body',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end