Klasse EventNotificationProjectRole.EventNotificationProjectRoleBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.EventNotificationProjectRole.EventNotificationProjectRoleBuilder
- Umschließende Klasse:
EventNotificationProjectRole
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungWhether this role is the default role for the projectThe list of users who act in this role.Whether this role is the admin role for the project.build()
currentUserRole
(Boolean currentUserRole) Whether the calling user is part of this role.description
(String description) The description of the project role.The ID of the project role.The name of the project role.roleConfigurable
(Boolean roleConfigurable) Whether the roles are configurable for this project.scope
(ProjectRoleScope scope) The URL the project role details.toString()
translatedName
(String translatedName) The translated name of the project role.
-
Methodendetails
-
actors
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder actors(List<RoleActor> actors) The list of users who act in this role.- Gibt zurück:
this
.
-
admin
Whether this role is the admin role for the project.- Gibt zurück:
this
.
-
currentUserRole
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder currentUserRole(Boolean currentUserRole) Whether the calling user is part of this role.- Gibt zurück:
this
.
-
_default
Whether this role is the default role for the project- Gibt zurück:
this
.
-
description
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder description(String description) The description of the project role.- Gibt zurück:
this
.
-
id
The ID of the project role.- Gibt zurück:
this
.
-
name
The name of the project role.- Gibt zurück:
this
.
-
roleConfigurable
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder roleConfigurable(Boolean roleConfigurable) Whether the roles are configurable for this project.- Gibt zurück:
this
.
-
scope
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder scope(ProjectRoleScope scope) - Gibt zurück:
this
.
-
self
The URL the project role details.- Gibt zurück:
this
.
-
translatedName
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder translatedName(String translatedName) The translated name of the project role.- Gibt zurück:
this
.
-
build
-
toString
-