Klasse AddUserToGroupOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.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 Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedAddUserToGroupOperationSpec(UpdateUserToGroupBean updateUserToGroupBean, String groupname, String groupId) Constructs a validated instance ofAddUserToGroupOperationSpec.Constructs a validated instance ofAddUserToGroupOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanboolean@Nullable StringgroupId()The ID of the group.The ID of the group.@Nullable StringAs a group's name can change, use ofgroupIdis recommended to identify a group.As a group's name can change, use ofgroupIdis recommended to identify a group.inthashCode()toString()@NotNull UpdateUserToGroupBeanThe user to add to the group.updateUserToGroupBean(@NotNull UpdateUserToGroupBean updateUserToGroupBean) The user to add to the group.voidvalidate()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 ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter.groupId- The ID of the group. This parameter cannot be used with thegroupNameparameter.
-
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 ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter. -
groupId
The ID of the group. This parameter cannot be used with thegroupNameparameter. -
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 ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter.- Gibt zurück:
this.
-
groupId
The ID of the group. This parameter cannot be used with thegroupNameparameter.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-