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
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected 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 implementation ofCreateUserOperationSpec.- Parameter:
spec- the specification to process
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
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
-