Class: Azure::ARM::Scheduler::Models::HttpRequest

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_scheduler/models/http_request.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#authenticationHttpAuthentication

the request.

Returns:



18
19
20
# File 'lib/generated/azure_mgmt_scheduler/models/http_request.rb', line 18

def authentication
  @authentication
end

#bodyString

Returns Gets or sets the request body.

Returns:

  • (String)

    Gets or sets the request body.



27
28
29
# File 'lib/generated/azure_mgmt_scheduler/models/http_request.rb', line 27

def body
  @body
end

#headersHash{String => String}

Returns Gets or sets the headers.

Returns:

  • (Hash{String => String})

    Gets or sets the headers.



30
31
32
# File 'lib/generated/azure_mgmt_scheduler/models/http_request.rb', line 30

def headers
  @headers
end

#methodString

Returns Gets or sets the method of the request.

Returns:

  • (String)

    Gets or sets the method of the request.



24
25
26
# File 'lib/generated/azure_mgmt_scheduler/models/http_request.rb', line 24

def method
  @method
end

#uriString

Returns Gets or sets the URI of the request.

Returns:

  • (String)

    Gets or sets the URI of the request.



21
22
23
# File 'lib/generated/azure_mgmt_scheduler/models/http_request.rb', line 21

def uri
  @uri
end

Class Method Details

.mapperObject

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



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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'lib/generated/azure_mgmt_scheduler/models/http_request.rb', line 37

def self.mapper()
  {
    required: false,
    serialized_name: 'HttpRequest',
    type: {
      name: 'Composite',
      class_name: 'HttpRequest',
      model_properties: {
        authentication: {
          required: false,
          serialized_name: 'authentication',
          type: {
            name: 'Composite',
            class_name: 'HttpAuthentication'
          }
        },
        uri: {
          required: false,
          serialized_name: 'uri',
          type: {
            name: 'String'
          }
        },
        method: {
          required: false,
          serialized_name: 'method',
          type: {
            name: 'String'
          }
        },
        body: {
          required: false,
          serialized_name: 'body',
          type: {
            name: 'String'
          }
        },
        headers: {
          required: false,
          serialized_name: 'headers',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end