Class: Anthropic::Models::Beta::BetaWebhookDeploymentUnpausedEventData

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rb,
sig/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rbs

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 ⇒ BetaWebhookDeploymentUnpausedEventData

Returns a new instance of BetaWebhookDeploymentUnpausedEventData.

Parameters:



23
24
25
26
27
28
# File 'sig/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rbs', line 23

def initialize: (
  id: String,
  organization_id: String,
  workspace_id: String,
  ?type: :"deployment.unpaused"
) -> void

Instance Attribute Details

#id ⇒ String

ID of the deployment that triggered the event.

Parameters:

Returns:



11
# File 'lib/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rb', line 11

required :id, String

#organization_id ⇒ String

Parameters:

Returns:



16
# File 'lib/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rb', line 16

required :organization_id, String

#type ⇒ Symbol, :"deployment.unpaused"

Parameters:

Returns:



21
# File 'lib/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rb', line 21

required :type, const: :"deployment.unpaused"

#workspace_id ⇒ String

Parameters:

Returns:



26
# File 'lib/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rb', line 26

required :workspace_id, String

Instance Method Details

#to_hash ⇒ { id: String, organization_id: String, type: :"deployment.unpaused", workspace_id: String }

Returns:



30
31
32
33
34
35
# File 'sig/anthropic/models/beta/beta_webhook_deployment_unpaused_event_data.rbs', line 30

def to_hash: -> {
  id: String,
  organization_id: String,
  type: :"deployment.unpaused",
  workspace_id: String
}