Class: MicrosoftKiotaAbstractions::RequestConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/microsoft_kiota_abstractions/request_configuration.rb

Overview

Configuration for the request such as headers, query parameters, and middleware options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRequestConfiguration

Returns a new instance of RequestConfiguration.



17
18
19
20
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 17

def initialize
   @headers = RequestHeaders.new
   @options = Array.new
end

Instance Attribute Details

#headersObject

Request headers



9
10
11
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 9

def headers
  @headers
end

#optionsObject

Request options



12
13
14
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 12

def options
  @options
end

#query_parametersObject

Request query parameters



15
16
17
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 15

def query_parameters
  @query_parameters
end