Klasse CreateUserOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserOperationSpec
extends Object
CreateUserSpec
Specification for the CreateUser operation.
Create a user
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreateUserOperationSpec(String from, CreateUserRequest createUserRequest) Constructs a validated instance ofCreateUserOperationSpec.Constructs a validated instance ofCreateUserOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable CreateUserRequestThe user to be created.createUserRequest(@Nullable CreateUserRequest createUserRequest) The user to be created.boolean@NotNull Stringfrom()The email address of a valid user associated with the account making the request.The email address of a valid user associated with the account making the request.inthashCode()toString()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
-
CreateUserOperationSpec
Constructs a validated instance ofCreateUserOperationSpec.- Parameter:
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.
- Parameter:
from- The email address of a valid user associated with the account making the request.createUserRequest- The user to be created.
-
CreateUserOperationSpec
protected CreateUserOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
from
The email address of a valid user associated with the account making the request. -
createUserRequest
The user to be created. -
from
The email address of a valid user associated with the account making the request.- Gibt zurück:
this.
-
createUserRequest
public CreateUserOperationSpec createUserRequest(@Nullable @Nullable CreateUserRequest createUserRequest) The user to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-