Class: AsposeEmailCloud::HttpRequest
- Inherits:
-
Object
- Object
- AsposeEmailCloud::HttpRequest
- Defined in:
- lib/aspose-email-cloud/models/http_request.rb
Overview
Http request data.
Instance Attribute Summary collapse
-
#auth_names ⇒ Object
readonly
Returns the value of attribute auth_names.
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#form_params ⇒ Object
readonly
Returns the value of attribute form_params.
-
#header_params ⇒ Object
readonly
Returns the value of attribute header_params.
-
#query_params ⇒ Object
readonly
Returns the value of attribute query_params.
-
#resource_path ⇒ Object
readonly
Returns the value of attribute resource_path.
Instance Method Summary collapse
-
#initialize(resource_path:, header_params: nil, query_params: nil, form_params: nil, body: nil, auth_names:) ⇒ HttpRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(resource_path:, header_params: nil, query_params: nil, form_params: nil, body: nil, auth_names:) ⇒ HttpRequest
Initializes a new instance.
36 37 38 39 40 41 42 43 |
# File 'lib/aspose-email-cloud/models/http_request.rb', line 36 def initialize(resource_path:, header_params: nil, query_params: nil, form_params: nil, body: nil, 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_names ⇒ Object (readonly)
Returns the value of attribute auth_names.
45 46 47 |
# File 'lib/aspose-email-cloud/models/http_request.rb', line 45 def auth_names @auth_names end |
#body ⇒ Object (readonly)
Returns the value of attribute body.
45 46 47 |
# File 'lib/aspose-email-cloud/models/http_request.rb', line 45 def body @body end |
#form_params ⇒ Object (readonly)
Returns the value of attribute form_params.
45 46 47 |
# File 'lib/aspose-email-cloud/models/http_request.rb', line 45 def form_params @form_params end |
#header_params ⇒ Object (readonly)
Returns the value of attribute header_params.
45 46 47 |
# File 'lib/aspose-email-cloud/models/http_request.rb', line 45 def header_params @header_params end |
#query_params ⇒ Object (readonly)
Returns the value of attribute query_params.
45 46 47 |
# File 'lib/aspose-email-cloud/models/http_request.rb', line 45 def query_params @query_params end |
#resource_path ⇒ Object (readonly)
Returns the value of attribute resource_path.
45 46 47 |
# File 'lib/aspose-email-cloud/models/http_request.rb', line 45 def resource_path @resource_path end |