Class: Gitabu::Api::V3::Teams
- Inherits:
-
Object
- Object
- Gitabu::Api::V3::Teams
- Defined in:
- lib/gitabu/api/v3/teams.rb
Overview
Teams endpoints.
Class Method Summary collapse
- .add_or_update_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, role: nil, options: nil) ⇒ Object
- .add_or_update_team_membership_for_a_user_legacy(team_id: nil, username: nil, role: nil, options: nil) ⇒ Object
- .add_or_update_team_project_permissions(org: nil, team_slug: nil, project_id: nil, permission: nil, options: nil) ⇒ Object
- .add_or_update_team_project_permissions_legacy(team_id: nil, project_id: nil, permission: nil, options: nil) ⇒ Object
- .add_or_update_team_repository_permissions(org: nil, team_slug: nil, owner: nil, repo: nil, permission: nil, options: nil) ⇒ Object
- .add_or_update_team_repository_permissions_legacy(team_id: nil, owner: nil, repo: nil, permission: nil, options: nil) ⇒ Object
- .add_team_member_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
- .check_team_permissions_for_a_project(org: nil, team_slug: nil, project_id: nil, options: nil) ⇒ Object
- .check_team_permissions_for_a_project_legacy(team_id: nil, project_id: nil, options: nil) ⇒ Object
- .check_team_permissions_for_a_repository(org: nil, team_slug: nil, owner: nil, repo: nil, options: nil) ⇒ Object
- .check_team_permissions_for_a_repository_legacy(team_id: nil, owner: nil, repo: nil, options: nil) ⇒ Object
- .create_a_discussion(org: nil, team_slug: nil, title: nil, body: nil, private: nil, options: nil) ⇒ Object
- .create_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, body: nil, options: nil) ⇒ Object
- .create_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, body: nil, options: nil) ⇒ Object
- .create_a_discussion_legacy(team_id: nil, title: nil, body: nil, private: nil, options: nil) ⇒ Object
- .create_a_team(org: nil, name: nil, description: nil, maintainers: nil, repo_names: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) ⇒ Object
- .create_or_update_idp_group_connections(org: nil, team_slug: nil, groups: nil, options: nil) ⇒ Object
- .create_or_update_idp_group_connections_legacy(team_id: nil, groups: nil, synced_at: nil, options: nil) ⇒ Object
- .delete_a_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
- .delete_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
- .delete_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
- .delete_a_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
- .delete_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
- .delete_a_team_legacy(team_id: nil, options: nil) ⇒ Object
- .get_a_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
- .get_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
- .get_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
- .get_a_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
- .get_a_team_by_name(org: nil, team_slug: nil, options: nil) ⇒ Object
- .get_a_team_legacy(team_id: nil, options: nil) ⇒ Object
- .get_an_external_group(org: nil, group_id: nil, options: nil) ⇒ Object
- .get_team_member_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
- .get_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, options: nil) ⇒ Object
- .get_team_membership_for_a_user_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
- .list_a_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_child_teams(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_child_teams_legacy(team_id: nil, options: nil) ⇒ Object
- .list_discussion_comments(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
- .list_discussion_comments_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
- .list_discussions(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_discussions_legacy(team_id: nil, options: nil) ⇒ Object
- .list_external_groups_in_an_organization(org: nil, options: nil) ⇒ Object
- .list_idp_groups_for_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_idp_groups_for_a_team_legacy(team_id: nil, options: nil) ⇒ Object
- .list_idp_groups_for_an_organization(org: nil, options: nil) ⇒ Object
- .list_pending_team_invitations(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_pending_team_invitations_legacy(team_id: nil, options: nil) ⇒ Object
- .list_team_members(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_team_members_legacy(team_id: nil, options: nil) ⇒ Object
- .list_team_projects(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_team_projects_legacy(team_id: nil, options: nil) ⇒ Object
- .list_team_repositories(org: nil, team_slug: nil, options: nil) ⇒ Object
- .list_team_repositories_legacy(team_id: nil, options: nil) ⇒ Object
- .list_teams(org: nil, options: nil) ⇒ Object
- .list_teams_for_the_authenticated_user(options: nil) ⇒ Object
- .remove_a_project_from_a_team(org: nil, team_slug: nil, project_id: nil, options: nil) ⇒ Object
- .remove_a_project_from_a_team_legacy(team_id: nil, project_id: nil, options: nil) ⇒ Object
- .remove_a_repository_from_a_team(org: nil, team_slug: nil, owner: nil, repo: nil, options: nil) ⇒ Object
- .remove_a_repository_from_a_team_legacy(team_id: nil, owner: nil, repo: nil, options: nil) ⇒ Object
- .remove_team_member_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
- .remove_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, options: nil) ⇒ Object
- .remove_team_membership_for_a_user_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
- .remove_the_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
- .update_a_discussion(org: nil, team_slug: nil, discussion_number: nil, title: nil, body: nil, options: nil) ⇒ Object
- .update_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, body: nil, options: nil) ⇒ Object
- .update_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, body: nil, options: nil) ⇒ Object
- .update_a_discussion_legacy(team_id: nil, discussion_number: nil, title: nil, body: nil, options: nil) ⇒ Object
- .update_a_team(org: nil, team_slug: nil, name: nil, description: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) ⇒ Object
- .update_a_team_legacy(team_id: nil, name: nil, description: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) ⇒ Object
- .update_the_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, group_id: nil, options: nil) ⇒ Object
Class Method Details
.add_or_update_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, role: nil, options: nil) ⇒ Object
258 259 260 |
# File 'lib/gitabu/api/v3/teams.rb', line 258 def self.add_or_update_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, role: nil, options: nil) new.add_or_update_team_membership_for_a_user(org, team_slug, username, role, ) end |
.add_or_update_team_membership_for_a_user_legacy(team_id: nil, username: nil, role: nil, options: nil) ⇒ Object
290 291 292 |
# File 'lib/gitabu/api/v3/teams.rb', line 290 def self.add_or_update_team_membership_for_a_user_legacy(team_id: nil, username: nil, role: nil, options: nil) new.add_or_update_team_membership_for_a_user_legacy(team_id, username, role, ) end |
.add_or_update_team_project_permissions(org: nil, team_slug: nil, project_id: nil, permission: nil, options: nil) ⇒ Object
66 67 68 |
# File 'lib/gitabu/api/v3/teams.rb', line 66 def self.(org: nil, team_slug: nil, project_id: nil, permission: nil, options: nil) new.(org, team_slug, project_id, , ) end |
.add_or_update_team_project_permissions_legacy(team_id: nil, project_id: nil, permission: nil, options: nil) ⇒ Object
114 115 116 |
# File 'lib/gitabu/api/v3/teams.rb', line 114 def self.(team_id: nil, project_id: nil, permission: nil, options: nil) new.(team_id, project_id, , ) end |
.add_or_update_team_repository_permissions(org: nil, team_slug: nil, owner: nil, repo: nil, permission: nil, options: nil) ⇒ Object
82 83 84 |
# File 'lib/gitabu/api/v3/teams.rb', line 82 def self.(org: nil, team_slug: nil, owner: nil, repo: nil, permission: nil, options: nil) new.(org, team_slug, owner, repo, , ) end |
.add_or_update_team_repository_permissions_legacy(team_id: nil, owner: nil, repo: nil, permission: nil, options: nil) ⇒ Object
130 131 132 |
# File 'lib/gitabu/api/v3/teams.rb', line 130 def self.(team_id: nil, owner: nil, repo: nil, permission: nil, options: nil) new.(team_id, owner, repo, , ) end |
.add_team_member_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
278 279 280 |
# File 'lib/gitabu/api/v3/teams.rb', line 278 def self.add_team_member_legacy(team_id: nil, username: nil, options: nil) new.add_team_member_legacy(team_id, username, ) end |
.check_team_permissions_for_a_project(org: nil, team_slug: nil, project_id: nil, options: nil) ⇒ Object
62 63 64 |
# File 'lib/gitabu/api/v3/teams.rb', line 62 def self.(org: nil, team_slug: nil, project_id: nil, options: nil) new.(org, team_slug, project_id, ) end |
.check_team_permissions_for_a_project_legacy(team_id: nil, project_id: nil, options: nil) ⇒ Object
110 111 112 |
# File 'lib/gitabu/api/v3/teams.rb', line 110 def self.(team_id: nil, project_id: nil, options: nil) new.(team_id, project_id, ) end |
.check_team_permissions_for_a_repository(org: nil, team_slug: nil, owner: nil, repo: nil, options: nil) ⇒ Object
78 79 80 |
# File 'lib/gitabu/api/v3/teams.rb', line 78 def self.(org: nil, team_slug: nil, owner: nil, repo: nil, options: nil) new.(org, team_slug, owner, repo, ) end |
.check_team_permissions_for_a_repository_legacy(team_id: nil, owner: nil, repo: nil, options: nil) ⇒ Object
126 127 128 |
# File 'lib/gitabu/api/v3/teams.rb', line 126 def self.(team_id: nil, owner: nil, repo: nil, options: nil) new.(team_id, owner, repo, ) end |
.create_a_discussion(org: nil, team_slug: nil, title: nil, body: nil, private: nil, options: nil) ⇒ Object
190 191 192 |
# File 'lib/gitabu/api/v3/teams.rb', line 190 def self.create_a_discussion(org: nil, team_slug: nil, title: nil, body: nil, private: nil, options: nil) new.create_a_discussion(org, team_slug, title, body, private, ) end |
.create_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, body: nil, options: nil) ⇒ Object
150 151 152 |
# File 'lib/gitabu/api/v3/teams.rb', line 150 def self.create_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, body: nil, options: nil) new.create_a_discussion_comment(org, team_slug, discussion_number, body, ) end |
.create_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, body: nil, options: nil) ⇒ Object
170 171 172 |
# File 'lib/gitabu/api/v3/teams.rb', line 170 def self.create_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, body: nil, options: nil) new.create_a_discussion_comment_legacy(team_id, discussion_number, body, ) end |
.create_a_discussion_legacy(team_id: nil, title: nil, body: nil, private: nil, options: nil) ⇒ Object
210 211 212 |
# File 'lib/gitabu/api/v3/teams.rb', line 210 def self.create_a_discussion_legacy(team_id: nil, title: nil, body: nil, private: nil, options: nil) new.create_a_discussion_legacy(team_id, title, body, private, ) end |
.create_a_team(org: nil, name: nil, description: nil, maintainers: nil, repo_names: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) ⇒ Object
42 43 44 |
# File 'lib/gitabu/api/v3/teams.rb', line 42 def self.create_a_team(org: nil, name: nil, description: nil, maintainers: nil, repo_names: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) new.create_a_team(org, name, description, maintainers, repo_names, privacy, , parent_team_id, ) end |
.create_or_update_idp_group_connections(org: nil, team_slug: nil, groups: nil, options: nil) ⇒ Object
306 307 308 |
# File 'lib/gitabu/api/v3/teams.rb', line 306 def self.create_or_update_idp_group_connections(org: nil, team_slug: nil, groups: nil, options: nil) new.create_or_update_idp_group_connections(org, team_slug, groups, ) end |
.create_or_update_idp_group_connections_legacy(team_id: nil, groups: nil, synced_at: nil, options: nil) ⇒ Object
314 315 316 |
# File 'lib/gitabu/api/v3/teams.rb', line 314 def self.create_or_update_idp_group_connections_legacy(team_id: nil, groups: nil, synced_at: nil, options: nil) new.create_or_update_idp_group_connections_legacy(team_id, groups, synced_at, ) end |
.delete_a_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
202 203 204 |
# File 'lib/gitabu/api/v3/teams.rb', line 202 def self.delete_a_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) new.delete_a_discussion(org, team_slug, discussion_number, ) end |
.delete_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
162 163 164 |
# File 'lib/gitabu/api/v3/teams.rb', line 162 def self.delete_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) new.delete_a_discussion_comment(org, team_slug, discussion_number, comment_number, ) end |
.delete_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
182 183 184 |
# File 'lib/gitabu/api/v3/teams.rb', line 182 def self.delete_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) new.delete_a_discussion_comment_legacy(team_id, discussion_number, comment_number, ) end |
.delete_a_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
222 223 224 |
# File 'lib/gitabu/api/v3/teams.rb', line 222 def self.delete_a_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) new.delete_a_discussion_legacy(team_id, discussion_number, ) end |
.delete_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
54 55 56 |
# File 'lib/gitabu/api/v3/teams.rb', line 54 def self.delete_a_team(org: nil, team_slug: nil, options: nil) new.delete_a_team(org, team_slug, ) end |
.delete_a_team_legacy(team_id: nil, options: nil) ⇒ Object
102 103 104 |
# File 'lib/gitabu/api/v3/teams.rb', line 102 def self.delete_a_team_legacy(team_id: nil, options: nil) new.delete_a_team_legacy(team_id, ) end |
.get_a_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
194 195 196 |
# File 'lib/gitabu/api/v3/teams.rb', line 194 def self.get_a_discussion(org: nil, team_slug: nil, discussion_number: nil, options: nil) new.get_a_discussion(org, team_slug, discussion_number, ) end |
.get_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
154 155 156 |
# File 'lib/gitabu/api/v3/teams.rb', line 154 def self.get_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, options: nil) new.get_a_discussion_comment(org, team_slug, discussion_number, comment_number, ) end |
.get_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) ⇒ Object
174 175 176 |
# File 'lib/gitabu/api/v3/teams.rb', line 174 def self.get_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, options: nil) new.get_a_discussion_comment_legacy(team_id, discussion_number, comment_number, ) end |
.get_a_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
214 215 216 |
# File 'lib/gitabu/api/v3/teams.rb', line 214 def self.get_a_discussion_legacy(team_id: nil, discussion_number: nil, options: nil) new.get_a_discussion_legacy(team_id, discussion_number, ) end |
.get_a_team_by_name(org: nil, team_slug: nil, options: nil) ⇒ Object
46 47 48 |
# File 'lib/gitabu/api/v3/teams.rb', line 46 def self.get_a_team_by_name(org: nil, team_slug: nil, options: nil) new.get_a_team_by_name(org, team_slug, ) end |
.get_a_team_legacy(team_id: nil, options: nil) ⇒ Object
94 95 96 |
# File 'lib/gitabu/api/v3/teams.rb', line 94 def self.get_a_team_legacy(team_id: nil, options: nil) new.get_a_team_legacy(team_id, ) end |
.get_an_external_group(org: nil, group_id: nil, options: nil) ⇒ Object
226 227 228 |
# File 'lib/gitabu/api/v3/teams.rb', line 226 def self.get_an_external_group(org: nil, group_id: nil, options: nil) new.get_an_external_group(org, group_id, ) end |
.get_team_member_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
274 275 276 |
# File 'lib/gitabu/api/v3/teams.rb', line 274 def self.get_team_member_legacy(team_id: nil, username: nil, options: nil) new.get_team_member_legacy(team_id, username, ) end |
.get_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, options: nil) ⇒ Object
254 255 256 |
# File 'lib/gitabu/api/v3/teams.rb', line 254 def self.get_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, options: nil) new.get_team_membership_for_a_user(org, team_slug, username, ) end |
.get_team_membership_for_a_user_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
286 287 288 |
# File 'lib/gitabu/api/v3/teams.rb', line 286 def self.get_team_membership_for_a_user_legacy(team_id: nil, username: nil, options: nil) new.get_team_membership_for_a_user_legacy(team_id, username, ) end |
.list_a_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
234 235 236 |
# File 'lib/gitabu/api/v3/teams.rb', line 234 def self.list_a_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, options: nil) new.list_a_connection_between_an_external_group_and_a_team(org, team_slug, ) end |
.list_child_teams(org: nil, team_slug: nil, options: nil) ⇒ Object
90 91 92 |
# File 'lib/gitabu/api/v3/teams.rb', line 90 def self.list_child_teams(org: nil, team_slug: nil, options: nil) new.list_child_teams(org, team_slug, ) end |
.list_child_teams_legacy(team_id: nil, options: nil) ⇒ Object
138 139 140 |
# File 'lib/gitabu/api/v3/teams.rb', line 138 def self.list_child_teams_legacy(team_id: nil, options: nil) new.list_child_teams_legacy(team_id, ) end |
.list_discussion_comments(org: nil, team_slug: nil, discussion_number: nil, options: nil) ⇒ Object
146 147 148 |
# File 'lib/gitabu/api/v3/teams.rb', line 146 def self.list_discussion_comments(org: nil, team_slug: nil, discussion_number: nil, options: nil) new.list_discussion_comments(org, team_slug, discussion_number, ) end |
.list_discussion_comments_legacy(team_id: nil, discussion_number: nil, options: nil) ⇒ Object
166 167 168 |
# File 'lib/gitabu/api/v3/teams.rb', line 166 def self.list_discussion_comments_legacy(team_id: nil, discussion_number: nil, options: nil) new.list_discussion_comments_legacy(team_id, discussion_number, ) end |
.list_discussions(org: nil, team_slug: nil, options: nil) ⇒ Object
186 187 188 |
# File 'lib/gitabu/api/v3/teams.rb', line 186 def self.list_discussions(org: nil, team_slug: nil, options: nil) new.list_discussions(org, team_slug, ) end |
.list_discussions_legacy(team_id: nil, options: nil) ⇒ Object
206 207 208 |
# File 'lib/gitabu/api/v3/teams.rb', line 206 def self.list_discussions_legacy(team_id: nil, options: nil) new.list_discussions_legacy(team_id, ) end |
.list_external_groups_in_an_organization(org: nil, options: nil) ⇒ Object
230 231 232 |
# File 'lib/gitabu/api/v3/teams.rb', line 230 def self.list_external_groups_in_an_organization(org: nil, options: nil) new.list_external_groups_in_an_organization(org, ) end |
.list_idp_groups_for_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
302 303 304 |
# File 'lib/gitabu/api/v3/teams.rb', line 302 def self.list_idp_groups_for_a_team(org: nil, team_slug: nil, options: nil) new.list_idp_groups_for_a_team(org, team_slug, ) end |
.list_idp_groups_for_a_team_legacy(team_id: nil, options: nil) ⇒ Object
310 311 312 |
# File 'lib/gitabu/api/v3/teams.rb', line 310 def self.list_idp_groups_for_a_team_legacy(team_id: nil, options: nil) new.list_idp_groups_for_a_team_legacy(team_id, ) end |
.list_idp_groups_for_an_organization(org: nil, options: nil) ⇒ Object
298 299 300 |
# File 'lib/gitabu/api/v3/teams.rb', line 298 def self.list_idp_groups_for_an_organization(org: nil, options: nil) new.list_idp_groups_for_an_organization(org, ) end |
.list_pending_team_invitations(org: nil, team_slug: nil, options: nil) ⇒ Object
246 247 248 |
# File 'lib/gitabu/api/v3/teams.rb', line 246 def self.list_pending_team_invitations(org: nil, team_slug: nil, options: nil) new.list_pending_team_invitations(org, team_slug, ) end |
.list_pending_team_invitations_legacy(team_id: nil, options: nil) ⇒ Object
266 267 268 |
# File 'lib/gitabu/api/v3/teams.rb', line 266 def self.list_pending_team_invitations_legacy(team_id: nil, options: nil) new.list_pending_team_invitations_legacy(team_id, ) end |
.list_team_members(org: nil, team_slug: nil, options: nil) ⇒ Object
250 251 252 |
# File 'lib/gitabu/api/v3/teams.rb', line 250 def self.list_team_members(org: nil, team_slug: nil, options: nil) new.list_team_members(org, team_slug, ) end |
.list_team_members_legacy(team_id: nil, options: nil) ⇒ Object
270 271 272 |
# File 'lib/gitabu/api/v3/teams.rb', line 270 def self.list_team_members_legacy(team_id: nil, options: nil) new.list_team_members_legacy(team_id, ) end |
.list_team_projects(org: nil, team_slug: nil, options: nil) ⇒ Object
58 59 60 |
# File 'lib/gitabu/api/v3/teams.rb', line 58 def self.list_team_projects(org: nil, team_slug: nil, options: nil) new.list_team_projects(org, team_slug, ) end |
.list_team_projects_legacy(team_id: nil, options: nil) ⇒ Object
106 107 108 |
# File 'lib/gitabu/api/v3/teams.rb', line 106 def self.list_team_projects_legacy(team_id: nil, options: nil) new.list_team_projects_legacy(team_id, ) end |
.list_team_repositories(org: nil, team_slug: nil, options: nil) ⇒ Object
74 75 76 |
# File 'lib/gitabu/api/v3/teams.rb', line 74 def self.list_team_repositories(org: nil, team_slug: nil, options: nil) new.list_team_repositories(org, team_slug, ) end |
.list_team_repositories_legacy(team_id: nil, options: nil) ⇒ Object
122 123 124 |
# File 'lib/gitabu/api/v3/teams.rb', line 122 def self.list_team_repositories_legacy(team_id: nil, options: nil) new.list_team_repositories_legacy(team_id, ) end |
.list_teams(org: nil, options: nil) ⇒ Object
38 39 40 |
# File 'lib/gitabu/api/v3/teams.rb', line 38 def self.list_teams(org: nil, options: nil) new.list_teams(org, ) end |
.list_teams_for_the_authenticated_user(options: nil) ⇒ Object
142 143 144 |
# File 'lib/gitabu/api/v3/teams.rb', line 142 def self.list_teams_for_the_authenticated_user(options: nil) new.list_teams_for_the_authenticated_user() end |
.remove_a_project_from_a_team(org: nil, team_slug: nil, project_id: nil, options: nil) ⇒ Object
70 71 72 |
# File 'lib/gitabu/api/v3/teams.rb', line 70 def self.remove_a_project_from_a_team(org: nil, team_slug: nil, project_id: nil, options: nil) new.remove_a_project_from_a_team(org, team_slug, project_id, ) end |
.remove_a_project_from_a_team_legacy(team_id: nil, project_id: nil, options: nil) ⇒ Object
118 119 120 |
# File 'lib/gitabu/api/v3/teams.rb', line 118 def self.remove_a_project_from_a_team_legacy(team_id: nil, project_id: nil, options: nil) new.remove_a_project_from_a_team_legacy(team_id, project_id, ) end |
.remove_a_repository_from_a_team(org: nil, team_slug: nil, owner: nil, repo: nil, options: nil) ⇒ Object
86 87 88 |
# File 'lib/gitabu/api/v3/teams.rb', line 86 def self.remove_a_repository_from_a_team(org: nil, team_slug: nil, owner: nil, repo: nil, options: nil) new.remove_a_repository_from_a_team(org, team_slug, owner, repo, ) end |
.remove_a_repository_from_a_team_legacy(team_id: nil, owner: nil, repo: nil, options: nil) ⇒ Object
134 135 136 |
# File 'lib/gitabu/api/v3/teams.rb', line 134 def self.remove_a_repository_from_a_team_legacy(team_id: nil, owner: nil, repo: nil, options: nil) new.remove_a_repository_from_a_team_legacy(team_id, owner, repo, ) end |
.remove_team_member_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
282 283 284 |
# File 'lib/gitabu/api/v3/teams.rb', line 282 def self.remove_team_member_legacy(team_id: nil, username: nil, options: nil) new.remove_team_member_legacy(team_id, username, ) end |
.remove_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, options: nil) ⇒ Object
262 263 264 |
# File 'lib/gitabu/api/v3/teams.rb', line 262 def self.remove_team_membership_for_a_user(org: nil, team_slug: nil, username: nil, options: nil) new.remove_team_membership_for_a_user(org, team_slug, username, ) end |
.remove_team_membership_for_a_user_legacy(team_id: nil, username: nil, options: nil) ⇒ Object
294 295 296 |
# File 'lib/gitabu/api/v3/teams.rb', line 294 def self.remove_team_membership_for_a_user_legacy(team_id: nil, username: nil, options: nil) new.remove_team_membership_for_a_user_legacy(team_id, username, ) end |
.remove_the_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, options: nil) ⇒ Object
242 243 244 |
# File 'lib/gitabu/api/v3/teams.rb', line 242 def self.remove_the_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, options: nil) new.remove_the_connection_between_an_external_group_and_a_team(org, team_slug, ) end |
.update_a_discussion(org: nil, team_slug: nil, discussion_number: nil, title: nil, body: nil, options: nil) ⇒ Object
198 199 200 |
# File 'lib/gitabu/api/v3/teams.rb', line 198 def self.update_a_discussion(org: nil, team_slug: nil, discussion_number: nil, title: nil, body: nil, options: nil) new.update_a_discussion(org, team_slug, discussion_number, title, body, ) end |
.update_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, body: nil, options: nil) ⇒ Object
158 159 160 |
# File 'lib/gitabu/api/v3/teams.rb', line 158 def self.update_a_discussion_comment(org: nil, team_slug: nil, discussion_number: nil, comment_number: nil, body: nil, options: nil) new.update_a_discussion_comment(org, team_slug, discussion_number, comment_number, body, ) end |
.update_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, body: nil, options: nil) ⇒ Object
178 179 180 |
# File 'lib/gitabu/api/v3/teams.rb', line 178 def self.update_a_discussion_comment_legacy(team_id: nil, discussion_number: nil, comment_number: nil, body: nil, options: nil) new.update_a_discussion_comment_legacy(team_id, discussion_number, comment_number, body, ) end |
.update_a_discussion_legacy(team_id: nil, discussion_number: nil, title: nil, body: nil, options: nil) ⇒ Object
218 219 220 |
# File 'lib/gitabu/api/v3/teams.rb', line 218 def self.update_a_discussion_legacy(team_id: nil, discussion_number: nil, title: nil, body: nil, options: nil) new.update_a_discussion_legacy(team_id, discussion_number, title, body, ) end |
.update_a_team(org: nil, team_slug: nil, name: nil, description: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) ⇒ Object
50 51 52 |
# File 'lib/gitabu/api/v3/teams.rb', line 50 def self.update_a_team(org: nil, team_slug: nil, name: nil, description: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) new.update_a_team(org, team_slug, name, description, privacy, , parent_team_id, ) end |
.update_a_team_legacy(team_id: nil, name: nil, description: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) ⇒ Object
98 99 100 |
# File 'lib/gitabu/api/v3/teams.rb', line 98 def self.update_a_team_legacy(team_id: nil, name: nil, description: nil, privacy: nil, permission: nil, parent_team_id: nil, options: nil) new.update_a_team_legacy(team_id, name, description, privacy, , parent_team_id, ) end |
.update_the_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, group_id: nil, options: nil) ⇒ Object
238 239 240 |
# File 'lib/gitabu/api/v3/teams.rb', line 238 def self.update_the_connection_between_an_external_group_and_a_team(org: nil, team_slug: nil, group_id: nil, options: nil) new.update_the_connection_between_an_external_group_and_a_team(org, team_slug, group_id, ) end |