Class: Cerca::Models::RuntimeWebhookEvent::ConnectionDetachedWebhookEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cerca/models/runtime_webhook_event.rb

Defined Under Namespace

Classes: Data

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id:, agent_id:, data:, fleet_id:, org_id:, thread_id:, timestamp:, event: :"connection.detached") ⇒ Object

Parameters:



# File 'lib/cerca/models/runtime_webhook_event.rb', line 1795

Instance Attribute Details

#agent_idString

Returns:

  • (String)


1763
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1763

required :agent_id, String, api_name: :agentId

#dataCerca::Models::RuntimeWebhookEvent::ConnectionDetachedWebhookEvent::Data



1768
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1768

required :data, -> { Cerca::RuntimeWebhookEvent::ConnectionDetachedWebhookEvent::Data }

#eventSymbol, :"connection.detached"

Returns:

  • (Symbol, :"connection.detached")


1773
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1773

required :event, const: :"connection.detached"

#fleet_idString

Returns:

  • (String)


1778
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1778

required :fleet_id, String, api_name: :fleetId

#idString

Returns:

  • (String)


1758
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1758

required :id, String

#org_idString

Returns:

  • (String)


1783
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1783

required :org_id, String, api_name: :orgId

#thread_idString?

Returns:

  • (String, nil)


1788
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1788

required :thread_id, String, api_name: :threadId, nil?: true

#timestampString

Returns:

  • (String)


1793
# File 'lib/cerca/models/runtime_webhook_event.rb', line 1793

required :timestamp, String