Class: Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsRefusedErrorDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaSlackChannelSetUpSettingsRefusedErrorDetails
- Defined in:
- lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rb,
sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rbs
Instance Attribute Summary collapse
-
#error_code ⇒ Symbol, :slack_channel_set_up_settings_refused
A stable code that names the cause.
-
#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_settings_refused) ⇒ BetaSlackChannelSetUpSettingsRefusedErrorDetails
constructor
The request set the channel up, and
settingswas then refused. - #to_hash ⇒ { error_code: :slack_channel_set_up_settings_refused, 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_settings_refused) ⇒ BetaSlackChannelSetUpSettingsRefusedErrorDetails
The request set the channel up, and settings was then refused. The channel
stays set up with every setting unset.
|
|
# File 'lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rb', line 20
|
Instance Attribute Details
#error_code ⇒ Symbol, :slack_channel_set_up_settings_refused
A stable code that names the cause.
12 |
# File 'lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rb', line 12 required :error_code, const: :slack_channel_set_up_settings_refused |
#slack_channel_id ⇒ String
The identifier of the channel the request set up, starting with slch_.
18 |
# File 'lib/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rb', line 18 required :slack_channel_id, String |
Instance Method Details
#to_hash ⇒ { error_code: :slack_channel_set_up_settings_refused, slack_channel_id: String }
21 22 23 24 |
# File 'sig/anthropic/models/beta/organization/beta_slack_channel_set_up_settings_refused_error_details.rbs', line 21
def to_hash: -> {
error_code: :slack_channel_set_up_settings_refused,
slack_channel_id: String
}
|