Class: Anthropic::Models::Beta::Organization::TelemetryDestinations::BetaDeletedTelemetryDestinationWorkspace

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rb,
sig/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::TelemetryDestinations::Workspaces#remove

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(telemetry_destination_id:, workspace_id:, type: :telemetry_destination_workspace_deleted) ⇒ BetaDeletedTelemetryDestinationWorkspace

Confirmation that a workspace was removed from a destination's list.

Parameters:

  • telemetry_destination_id (String) —

    ID of the telemetry destination (tdst_...).

  • workspace_id (String) —

    ID of the workspace that was removed (wrkspc_...).

  • type (Symbol, :telemetry_destination_workspace_deleted) (defaults to: :telemetry_destination_workspace_deleted)
  • telemetry_destination_id: (String)
  • workspace_id: (String)
  • type: (:telemetry_destination_workspace_deleted) (defaults to: :telemetry_destination_workspace_deleted)


# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rb', line 27

Instance Attribute Details

#telemetry_destination_id ⇒ String

ID of the telemetry destination (tdst_...).

Parameters:

  • value (String)

Returns:

  • (String)


14
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rb', line 14

required :telemetry_destination_id, String

#type ⇒ Symbol, :telemetry_destination_workspace_deleted

Parameters:

  • value (:telemetry_destination_workspace_deleted)

Returns:

  • (Symbol, :telemetry_destination_workspace_deleted)


19
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rb', line 19

required :type, const: :telemetry_destination_workspace_deleted

#workspace_id ⇒ String

ID of the workspace that was removed (wrkspc_...).

Parameters:

  • value (String)

Returns:

  • (String)


25
# File 'lib/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rb', line 25

required :workspace_id, String

Instance Method Details

#to_hash ⇒ { telemetry_destination_id: String, type: :telemetry_destination_workspace_deleted, workspace_id: String }

Returns:

  • ({ telemetry_destination_id: String, type: :telemetry_destination_workspace_deleted, workspace_id: String })


26
27
28
29
30
# File 'sig/anthropic/models/beta/organization/telemetry_destinations/beta_deleted_telemetry_destination_workspace.rbs', line 26

def to_hash: -> {
  telemetry_destination_id: String,
  type: :telemetry_destination_workspace_deleted,
  workspace_id: String
}