Class: Cerca::Models::RuntimeWebhookEvent::AgentCreatedWebhookEvent::Data::Agent

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

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Cerca::Internal::Type::BaseModel

Instance Attribute Details

#configurationCerca::Models::Configuration



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

required :configuration, -> { Cerca::Configuration }

#created_atString

Returns:

  • (String)


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

required :created_at, String, api_name: :createdAt

#effectiveCerca::Models::EffectiveConfiguration?



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

optional :effective, -> { Cerca::EffectiveConfiguration }

#fleet_idString

Returns:

  • (String)


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

required :fleet_id, String, api_name: :fleetId

#idString

Returns:

  • (String)


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

required :id, String

#metadataHash{Symbol=>String}

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

Returns:

  • (Hash{Symbol=>String})


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

required :metadata, Cerca::Internal::Type::HashOf[String]

#org_idString

Returns:

  • (String)


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

required :org_id, String, api_name: :orgId

#updated_atString

Returns:

  • (String)


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

required :updated_at, String, api_name: :updatedAt

#user_idString

Returns:

  • (String)


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

required :user_id, String, api_name: :userId