Sha256: 1fbf4361af6821fff9b36f3a0d93504e6aaa9635bf6a27a46b5ff46309cbe9c1

Contents?: true

Size: 1.78 KB

Versions: 5

Compression:

Stored size: 1.78 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Logic::Mgmt::V2018_07_01_preview
  module Models
    #
    # A response.
    #
    class Response

      include MsRestAzure

      # @return A list of all the headers attached to the response.
      attr_accessor :headers

      # @return [Integer] The status code of the response.
      attr_accessor :status_code

      # @return [ContentLink] Details on the location of the body content.
      attr_accessor :body_link


      #
      # Mapper for Response class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_logic-0.18.3 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/response.rb
azure_mgmt_logic-0.18.2 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/response.rb
azure_mgmt_logic-0.18.1 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/response.rb
azure_mgmt_logic-0.18.0 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/response.rb
azure_mgmt_logic-0.17.2 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/response.rb