Class CreateUserOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.CreateUserOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserOperationSpec
extends Object
CreateUserSpec
Specification for the CreateUser operation.
Create user
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CreateUserOperationSpec
(NewUserDetails newUserDetails) Constructs a validated instance ofCreateUserOperationSpec
.Constructs a validated instance ofCreateUserOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull NewUserDetails
Details about the user to be created.newUserDetails
(@NotNull NewUserDetails newUserDetails) Details about the user to be created.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
CreateUserOperationSpec
Constructs a validated instance ofCreateUserOperationSpec
.- Parameters:
spec
- the specification to process
-
CreateUserOperationSpec
Constructs a validated instance ofCreateUserOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
newUserDetails
- Details about the user to be created.
-
CreateUserOperationSpec
protected CreateUserOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
newUserDetails
Details about the user to be created. -
newUserDetails
Details about the user to be created.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-