Class: OpenApiSDK::Operations::PostRunRequestBody

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/open_api_sdk/models/operations/post_run_requestbody.rb

Overview

Run options

Instance Method Summary collapse

Methods included from MetadataFields

#field, #fields, included, #marshal_json, #marshal_single

Constructor Details

#initialize(concurrency_limit: nil, deployment_id: nil, gpu: nil, inputs: nil, inputs_json: nil, machine_id: nil, private_volume_name: nil, run_origin: nil, stream: nil, timeout: nil, webhook: nil, workflow_api: nil, workflow_api_json: nil, workflow_id: nil) ⇒ PostRunRequestBody

Returns a new instance of PostRunRequestBody.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/open_api_sdk/models/operations/post_run_requestbody.rb', line 45

def initialize(concurrency_limit: nil, deployment_id: nil, gpu: nil, inputs: nil, inputs_json: nil, machine_id: nil, private_volume_name: nil, run_origin: nil, stream: nil, timeout: nil, webhook: nil, workflow_api: nil, workflow_api_json: nil, workflow_id: nil)
  @concurrency_limit = concurrency_limit
  @deployment_id = deployment_id
  @gpu = gpu
  @inputs = inputs
  @inputs_json = inputs_json
  @machine_id = machine_id
  @private_volume_name = private_volume_name
  @run_origin = run_origin
  @stream = stream
  @timeout = timeout
  @webhook = webhook
  @workflow_api = workflow_api
  @workflow_api_json = workflow_api_json
  @workflow_id = workflow_id
end