Class: Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails
- Defined in:
- lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rb,
sig/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rbs
Instance Attribute Summary collapse
- #error_code ⇒ Symbol, :slack_channel_set_up_environment_not_found
-
#slack_channel_id ⇒ String
The identifier of the channel the request set up, starting with
slch_.
Instance Method Summary collapse
-
#initialize(slack_channel_id:, error_code: :slack_channel_set_up_environment_not_found) ⇒ BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails
constructor
settings.environment_idnames no Environment within the organization's reach, and the request had set the channel up by then. - #to_hash ⇒ { error_code: :slack_channel_set_up_environment_not_found, slack_channel_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(slack_channel_id:, error_code: :slack_channel_set_up_environment_not_found) ⇒ BetaSlackChannelSetUpEnvironmentNotFoundErrorDetails
settings.environment_id names no Environment within the organization's reach,
and the request had set the channel up by then. The channel stays set up with
every setting unset.
|
|
# File 'lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rb', line 19
|
Instance Attribute Details
#error_code ⇒ Symbol, :slack_channel_set_up_environment_not_found
11 |
# File 'lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rb', line 11 required :error_code, const: :slack_channel_set_up_environment_not_found |
#slack_channel_id ⇒ String
The identifier of the channel the request set up, starting with slch_.
17 |
# File 'lib/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rb', line 17 required :slack_channel_id, String |
Instance Method Details
#to_hash ⇒ { error_code: :slack_channel_set_up_environment_not_found, slack_channel_id: String }
21 22 23 24 |
# File 'sig/anthropic/models/beta/organization/beta_slack_channel_set_up_environment_not_found_error_details.rbs', line 21
def to_hash: -> {
error_code: :slack_channel_set_up_environment_not_found,
slack_channel_id: String
}
|