Class: AILabTools::Generated::Params::ImageQueryingAsyncTaskResultsParams
- Inherits:
-
Params
- Object
- Params
- AILabTools::Generated::Params::ImageQueryingAsyncTaskResultsParams
- Defined in:
- lib/ailabtools/generated/params/image_querying_async_task_results_params.rb
Instance Attribute Summary collapse
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #body_fields ⇒ Object
-
#initialize(job_id:, type:) ⇒ ImageQueryingAsyncTaskResultsParams
constructor
A new instance of ImageQueryingAsyncTaskResultsParams.
- #query_fields ⇒ Object
Constructor Details
#initialize(job_id:, type:) ⇒ ImageQueryingAsyncTaskResultsParams
Returns a new instance of ImageQueryingAsyncTaskResultsParams.
8 9 10 11 |
# File 'lib/ailabtools/generated/params/image_querying_async_task_results_params.rb', line 8 def initialize(job_id:, type:) @job_id = job_id @type = type end |
Instance Attribute Details
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_querying_async_task_results_params.rb', line 7 def job_id @job_id end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_querying_async_task_results_params.rb', line 7 def type @type end |
Instance Method Details
#body_fields ⇒ Object
20 21 22 |
# File 'lib/ailabtools/generated/params/image_querying_async_task_results_params.rb', line 20 def body_fields {} end |
#query_fields ⇒ Object
13 14 15 16 17 18 |
# File 'lib/ailabtools/generated/params/image_querying_async_task_results_params.rb', line 13 def query_fields compact_hash({ "job_id" => @job_id, "type" => @type, }) end |