Klasse AddUserToGroupOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.AddUserToGroupOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddUserToGroupOperationSpec
extends Object
AddUserToGroupSpec
Specification for the AddUserToGroup operation.
Add user to group
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
AddUserToGroupOperationSpec
(UpdateUserToGroupBean updateUserToGroupBean, String groupname, String groupId) Constructs a validated instance ofAddUserToGroupOperationSpec
.Constructs a validated instance ofAddUserToGroupOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
boolean
@Nullable String
groupId()
The ID of the group.The ID of the group.@Nullable String
As a group's name can change, use ofgroupId
is recommended to identify a group.As a group's name can change, use ofgroupId
is recommended to identify a group.int
hashCode()
toString()
@NotNull UpdateUserToGroupBean
The user to add to the group.updateUserToGroupBean
(@NotNull UpdateUserToGroupBean updateUserToGroupBean) The user to add to the group.void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
AddUserToGroupOperationSpec
Constructs a validated instance ofAddUserToGroupOperationSpec
.- Parameter:
spec
- the specification to process
-
AddUserToGroupOperationSpec
@Internal public AddUserToGroupOperationSpec(UpdateUserToGroupBean updateUserToGroupBean, String groupname, String groupId) Constructs a validated instance ofAddUserToGroupOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
updateUserToGroupBean
- The user to add to the group.groupname
- As a group's name can change, use ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter.groupId
- The ID of the group. This parameter cannot be used with thegroupName
parameter.
-
AddUserToGroupOperationSpec
protected AddUserToGroupOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
updateUserToGroupBean
The user to add to the group. -
groupname
As a group's name can change, use ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter. -
groupId
The ID of the group. This parameter cannot be used with thegroupName
parameter. -
updateUserToGroupBean
public AddUserToGroupOperationSpec updateUserToGroupBean(@NotNull @NotNull UpdateUserToGroupBean updateUserToGroupBean) The user to add to the group.- Gibt zurück:
this
.
-
groupname
As a group's name can change, use ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter.- Gibt zurück:
this
.
-
groupId
The ID of the group. This parameter cannot be used with thegroupName
parameter.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-