Class: AsposeEmailCloud::HttpRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose-email-cloud/models/requests/http_request.rb

Overview

Http request data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_path, header_params, query_params, form_params, body, auth_names) ⇒ HttpRequest

Initializes a new instance.



40
41
42
43
44
45
46
47
# File 'lib/aspose-email-cloud/models/requests/http_request.rb', line 40

def initialize(resource_path, header_params, query_params, form_params, body, auth_names)
  @resource_path = resource_path
  @query_params = query_params
  @header_params = header_params
  @form_params = form_params
  @body = body
  @auth_names = auth_names
end

Instance Attribute Details

#auth_namesObject (readonly)

Returns the value of attribute auth_names.



49
50
51
# File 'lib/aspose-email-cloud/models/requests/http_request.rb', line 49

def auth_names
  @auth_names
end

#bodyObject (readonly)

Returns the value of attribute body.



49
50
51
# File 'lib/aspose-email-cloud/models/requests/http_request.rb', line 49

def body
  @body
end

#form_paramsObject (readonly)

Returns the value of attribute form_params.



49
50
51
# File 'lib/aspose-email-cloud/models/requests/http_request.rb', line 49

def form_params
  @form_params
end

#header_paramsObject (readonly)

Returns the value of attribute header_params.



49
50
51
# File 'lib/aspose-email-cloud/models/requests/http_request.rb', line 49

def header_params
  @header_params
end

#query_paramsObject (readonly)

Returns the value of attribute query_params.



49
50
51
# File 'lib/aspose-email-cloud/models/requests/http_request.rb', line 49

def query_params
  @query_params
end

#resource_pathObject (readonly)

Returns the value of attribute resource_path.



49
50
51
# File 'lib/aspose-email-cloud/models/requests/http_request.rb', line 49

def resource_path
  @resource_path
end