Class: Teams::Api::TeamDetails

Inherits:
Model
  • Object
show all
Defined in:
lib/teams/api/team_details.rb

Instance Attribute Summary

Attributes inherited from Model

#raw

Instance Method Summary collapse

Methods inherited from Model

#initialize, #to_h

Constructor Details

This class inherits a constructor from Teams::Api::Model

Instance Method Details

#aad_group_idObject



19
20
21
# File 'lib/teams/api/team_details.rb', line 19

def aad_group_id
  read("aadGroupId", "aad_group_id")
end

#channel_countObject



23
24
25
# File 'lib/teams/api/team_details.rb', line 23

def channel_count
  read("channelCount", "channel_count")
end

#idObject



6
7
8
# File 'lib/teams/api/team_details.rb', line 6

def id
  read("id")
end

#member_countObject



27
28
29
# File 'lib/teams/api/team_details.rb', line 27

def member_count
  read("memberCount", "member_count")
end

#nameObject



10
11
12
# File 'lib/teams/api/team_details.rb', line 10

def name
  read("name")
end

#tenant_idObject



31
32
33
# File 'lib/teams/api/team_details.rb', line 31

def tenant_id
  read("tenantId", "tenant_id")
end

#typeObject

"standard", "sharedChannel", or "privateChannel".



15
16
17
# File 'lib/teams/api/team_details.rb', line 15

def type
  read("type")
end