Class: Cerca::Models::RuntimeWebhookEvent::AgentUpdatedWebhookEvent::Data

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

Overview

See Also:

Defined Under Namespace

Modules: Trigger Classes: Agent

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:, configuration:, created_at:, fleet_id:, metadata:, org_id:, updated_at:, user_id:, effective: nil) ⇒ Object

Some parameter documentations has been truncated, see Agent for more details.

Parameters:

  • id (String)
  • configuration (Cerca::Models::Configuration)
  • created_at (String)
  • fleet_id (String)
  • metadata (Hash{Symbol=>String})

    Arbitrary string metadata stored on an agent. Runtime enforces maximum key and v

  • org_id (String)
  • updated_at (String)
  • user_id (String)
  • effective (Cerca::Models::EffectiveConfiguration) (defaults to: nil)


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

Instance Attribute Details

#agentCerca::Models::RuntimeWebhookEvent::AgentUpdatedWebhookEvent::Data::Agent



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

required :agent, -> { Cerca::RuntimeWebhookEvent::AgentUpdatedWebhookEvent::Data::Agent }

#triggerSymbol, Cerca::Models::RuntimeWebhookEvent::AgentUpdatedWebhookEvent::Data::Trigger



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

required :trigger, enum: -> { Cerca::RuntimeWebhookEvent::AgentUpdatedWebhookEvent::Data::Trigger }