Team Membership Client
Client wrapper for TeamMembership of a Team membership related APIs
Since
0.1
Functions
Link copied to clipboard
abstract fun create( teamId: String, personId: String?, personEmail: String?, isModerator: Boolean, handler: CompletionHandler<TeamMembership>)
Content copied to clipboard
Adds a person to a team by person id; optionally making the person a moderator of the team.
Link copied to clipboard
abstract fun delete(teamMembershipId: String, handler: CompletionHandler<Void>)
Content copied to clipboard
Deletes a membership by id.
Link copied to clipboard
abstract fun get(teamMembershipId: String, handler: CompletionHandler<TeamMembership>)
Content copied to clipboard
Fetches the team membership details based on the team membership id
Link copied to clipboard
abstract fun list( teamId: String, max: Int, handler: CompletionHandler<List<TeamMembership>>)
Content copied to clipboard
Lists all team memberships where the authenticated user belongs.
Link copied to clipboard
abstract fun update( teamMembershipId: String, isModerator: Boolean, handler: CompletionHandler<TeamMembership>)
Content copied to clipboard
Updates the details for a team membership by id.