Class: Knockapi::Models::Providers::MsTeamListChannelsResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/knockapi/models/providers/ms_team_list_channels_response.rb,
sig/knockapi/models/providers/ms_team_list_channels_response.rbs

Overview

See Also:

  • Knockapi::Resources::Providers::MsTeams#list_channels

Defined Under Namespace

Classes: MsTeamsChannel

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

#initializeObject



12
# File 'sig/knockapi/models/providers/ms_team_list_channels_response.rbs', line 12

def initialize: (

Instance Attribute Details

#ms_teams_channelsArray<Knockapi::Models::Providers::MsTeamListChannelsResponse::MsTeamsChannel>

List of Microsoft Teams channels.



12
13
# File 'lib/knockapi/models/providers/ms_team_list_channels_response.rb', line 12

required :ms_teams_channels,
-> { Knockapi::Internal::Type::ArrayOf[Knockapi::Models::Providers::MsTeamListChannelsResponse::MsTeamsChannel] }

Instance Method Details

#to_hash{

Returns:

  • ({)


16
# File 'sig/knockapi/models/providers/ms_team_list_channels_response.rbs', line 16

def to_hash: -> {