Class: Anthropic::Models::Beta::Organization::TelemetryDestinations::BetaTelemetryDestinationWorkspace
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::TelemetryDestinations::BetaTelemetryDestinationWorkspace
- Defined in:
- lib/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rb,
sig/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rbs
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Time
Time the workspace was added to the list.
-
#telemetry_destination_id ⇒ String
ID of the telemetry destination (
tdst_...). -
#type ⇒ Symbol, :telemetry_destination_workspace
-
#workspace_id ⇒ String
ID of the workspace (
wrkspc_...).
Instance Method Summary collapse
-
#initialize(created_at:, telemetry_destination_id:, workspace_id:, type: :telemetry_destination_workspace) ⇒ BetaTelemetryDestinationWorkspace
constructor
A workspace on a telemetry destination’s workspace list.
-
#to_hash ⇒ { created_at: Time, telemetry_destination_id: String, type: :telemetry_destination_workspace, workspace_id: String }
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(created_at:, telemetry_destination_id:, workspace_id:, type: :telemetry_destination_workspace) ⇒ BetaTelemetryDestinationWorkspace
A workspace on a telemetry destination’s workspace list.
Under include, the destination covers the workspace. Under exclude, the
destination covers every workspace except this one. The entry doesn’t have an
id. Its telemetry_destination_id and workspace_id together identify it.
|
|
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rb', line 33
|
Instance Attribute Details
#created_at ⇒ Time
Time the workspace was added to the list.
14 |
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rb', line 14 required :created_at, Time |
#telemetry_destination_id ⇒ String
ID of the telemetry destination (tdst_...).
20 |
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rb', line 20 required :telemetry_destination_id, String |
#type ⇒ Symbol, :telemetry_destination_workspace
25 |
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rb', line 25 required :type, const: :telemetry_destination_workspace |
#workspace_id ⇒ String
ID of the workspace (wrkspc_...).
31 |
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rb', line 31 required :workspace_id, String |
Instance Method Details
#to_hash ⇒ { created_at: Time, telemetry_destination_id: String, type: :telemetry_destination_workspace, workspace_id: String }
30 31 32 33 34 35 |
# File 'sig/anthropic/models/beta/organization/telemetry_destinations/beta_telemetry_destination_workspace.rbs', line 30 def to_hash: -> { created_at: Time, telemetry_destination_id: String, type: :telemetry_destination_workspace, workspace_id: String } |