Sha256: e06c9bdfc38e6cd51e058dfda97e581caeb5d661d2315dd8115b6bb0c77c5b25

Contents?: true

Size: 1.69 KB

Versions: 5

Compression:

Stored size: 1.69 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 request.
    #
    class Request

      include MsRestAzure

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

      # @return [String] The destination for the request.
      attr_accessor :uri

      # @return [String] The HTTP method used for the request.
      attr_accessor :method


      #
      # Mapper for Request class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Request',
          type: {
            name: 'Composite',
            class_name: 'Request',
            model_properties: {
              headers: {
                client_side_validation: true,
                required: false,
                serialized_name: 'headers',
                type: {
                  name: 'Object'
                }
              },
              uri: {
                client_side_validation: true,
                required: false,
                serialized_name: 'uri',
                type: {
                  name: 'String'
                }
              },
              method: {
                client_side_validation: true,
                required: false,
                serialized_name: 'method',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      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/request.rb
azure_mgmt_logic-0.18.2 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request.rb
azure_mgmt_logic-0.18.1 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request.rb
azure_mgmt_logic-0.18.0 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request.rb
azure_mgmt_logic-0.17.2 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/request.rb