Class EventNotificationProjectRole.EventNotificationProjectRoleBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.EventNotificationProjectRole.EventNotificationProjectRoleBuilder
- Enclosing class:
- EventNotificationProjectRole
-
Method Summary
Modifier and TypeMethodDescriptionWhether 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.
-
Method Details
-
actors
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder actors(List<RoleActor> actors) The list of users who act in this role.- Returns:
this
.
-
admin
Whether this role is the admin role for the project.- Returns:
this
.
-
currentUserRole
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder currentUserRole(Boolean currentUserRole) Whether the calling user is part of this role.- Returns:
this
.
-
_default
Whether this role is the default role for the project- Returns:
this
.
-
description
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder description(String description) The description of the project role.- Returns:
this
.
-
id
The ID of the project role.- Returns:
this
.
-
name
The name of the project role.- Returns:
this
.
-
roleConfigurable
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder roleConfigurable(Boolean roleConfigurable) Whether the roles are configurable for this project.- Returns:
this
.
-
scope
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder scope(ProjectRoleScope scope) - Returns:
this
.
-
self
The URL the project role details.- Returns:
this
.
-
translatedName
public EventNotificationProjectRole.EventNotificationProjectRoleBuilder translatedName(String translatedName) The translated name of the project role.- Returns:
this
.
-
build
-
toString
-