Class: Cerca::Models::RuntimeWebhookEvent::ApprovalRequestedWebhookEvent::Data::Approval
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, created_at:, input:, resolved_at:, runtime_tool_name:, status:, thread_id:, timeout_at:, timeout_ms:, tool_index:, tool_name:, tool_use_id:, turn_id:, tool_source_id: nil, tool_source_version: nil) ⇒ Object
constructor
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, created_at:, input:, resolved_at:, runtime_tool_name:, status:, thread_id:, timeout_at:, timeout_ms:, tool_index:, tool_name:, tool_use_id:, turn_id:, tool_source_id: nil, tool_source_version: nil) ⇒ Object
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1250
|
Instance Attribute Details
#created_at ⇒ String
1181
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1181
required :created_at, String, api_name: :createdAt
|
#id ⇒ String
1176
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1176
required :id, String
|
JSON value payload. Generated SDKs may expose this as unknown or Any.
#resolved_at ⇒ String?
1192
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1192
required :resolved_at, String, api_name: :resolvedAt, nil?: true
|
1197
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1197
required :runtime_tool_name, enum: -> { Cerca::ToolName }, api_name: :runtimeToolName
|
1202
1203
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1202
required :status,
enum: -> { Cerca::RuntimeWebhookEvent::ApprovalRequestedWebhookEvent::Data::Approval::Status }
|
#thread_id ⇒ String?
1208
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1208
required :thread_id, String, api_name: :threadId, nil?: true
|
#timeout_at ⇒ String?
1213
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1213
required :timeout_at, String, api_name: :timeoutAt, nil?: true
|
#timeout_ms ⇒ Float?
1218
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1218
required :timeout_ms, Float, api_name: :timeoutMs, nil?: true
|
1223
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1223
required :tool_index, Float, api_name: :toolIndex
|
1228
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1228
required :tool_name, String, api_name: :toolName
|
1243
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1243
optional :tool_source_id, String, api_name: :toolSourceId
|
1248
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1248
optional :tool_source_version, Float, api_name: :toolSourceVersion
|
1233
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1233
required :tool_use_id, String, api_name: :toolUseId
|
#turn_id ⇒ String
1238
|
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1238
required :turn_id, String, api_name: :turnId
|