Team class

Model class for a GitHub team.

Different end-points populate different sets of properties.

Groups of organization members that gives permissions on specified repositories.

Annotations
  • @JsonSerializable()

Constructors

Team({String? description, String? htmlUrl, int? id, String? ldapDn, int? membersCount, String? membersUrl, String? name, String? nodeId, Organization? organization, Team? parent, String? permission, Permissions? permissions, String? privacy, int? reposCount, String? repositoriesUrl, String? slug, String? url})
Team.fromJson(Map<String, dynamic> input)
factory

Properties

description String?
Description of the team
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
htmlUrl String?
Format: uri
getter/setter pair
id int?
Unique identifier of the team
getter/setter pair
ldapDn String?
Distinguished Name (DN) that team maps to within LDAP environment
getter/setter pair
membersCount int?
Number of Members
getter/setter pair
membersUrl String?
Example: https://api.github.com/organizations/1/team/1/members{/member}
getter/setter pair
name String?
Name of the team
getter/setter pair
nodeId String?
Example: MDQ6VGVhbTE=
getter/setter pair
organization Organization?
Organization
getter/setter pair
parent Team?
Team Simple
getter/setter pair
permission String?
Permission that the team will have for its repositories
getter/setter pair
permissions Permissions?
getter/setter pair
privacy String?
The level of privacy this team should have
getter/setter pair
reposCount int?
Number of Repositories
getter/setter pair
repositoriesUrl String?
Format: uri
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String?
Example: justice-league
getter/setter pair
url String?
URL for the team
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited