Class: OpenApiSDK::Operations::PostGpuEventRequestBody

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

Instance Method Summary collapse

Methods included from MetadataFields

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

Constructor Details

#initialize(event_type: nil, gpu_provider: nil, machine_id: nil, timestamp: nil, event_id: nil, gpu_type: nil, is_workspace: nil, user_or_org_id: nil, ws_gpu_type: nil) ⇒ PostGpuEventRequestBody

Returns a new instance of PostGpuEventRequestBody.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/open_api_sdk/models/operations/post_gpu_event_requestbody.rb', line 35

def initialize(event_type: nil, gpu_provider: nil, machine_id: nil, timestamp: nil, event_id: nil, gpu_type: nil, is_workspace: nil, user_or_org_id: nil, ws_gpu_type: nil)
  @event_type = event_type
  @gpu_provider = gpu_provider
  @machine_id = machine_id
  @timestamp = timestamp
  @event_id = event_id
  @gpu_type = gpu_type
  @is_workspace = is_workspace
  @user_or_org_id = user_or_org_id
  @ws_gpu_type = ws_gpu_type
end