Class: Knockapi::Models::Providers::SlackListChannelsResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Providers::SlackListChannelsResponse
- Defined in:
- lib/knockapi/models/providers/slack_list_channels_response.rb
Overview
Instance Attribute Summary collapse
-
#context_team_id ⇒ String
The team ID that the Slack channel belongs to.
-
#id ⇒ String
A Slack channel ID from the Slack provider.
-
#is_im ⇒ Boolean
Whether the Slack channel is an IM channel.
-
#is_private ⇒ Boolean
Whether the Slack channel is private.
-
#name ⇒ String
Slack channel name.
Instance Method Summary collapse
-
#initialize(id:, context_team_id:, is_im:, is_private:, name:) ⇒ Object
constructor
A Slack channel.
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(id:, context_team_id:, is_im:, is_private:, name:) ⇒ Object
A Slack channel.
|
|
# File 'lib/knockapi/models/providers/slack_list_channels_response.rb', line 38
|
Instance Attribute Details
#context_team_id ⇒ String
The team ID that the Slack channel belongs to.
18 |
# File 'lib/knockapi/models/providers/slack_list_channels_response.rb', line 18 required :context_team_id, String |
#id ⇒ String
A Slack channel ID from the Slack provider.
12 |
# File 'lib/knockapi/models/providers/slack_list_channels_response.rb', line 12 required :id, String |
#is_im ⇒ Boolean
Whether the Slack channel is an IM channel.
24 |
# File 'lib/knockapi/models/providers/slack_list_channels_response.rb', line 24 required :is_im, Knockapi::Internal::Type::Boolean |
#is_private ⇒ Boolean
Whether the Slack channel is private.
30 |
# File 'lib/knockapi/models/providers/slack_list_channels_response.rb', line 30 required :is_private, Knockapi::Internal::Type::Boolean |
#name ⇒ String
Slack channel name.
36 |
# File 'lib/knockapi/models/providers/slack_list_channels_response.rb', line 36 required :name, String |