Klasse CreateUserContactMethodOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserContactMethodOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserContactMethodOperationSpec
extends Object
CreateUserContactMethodSpec
Specification for the CreateUserContactMethod operation.
Create a user contact method
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreateUserContactMethodOperationSpec(String id, CreateUserContactMethodRequest createUserContactMethodRequest) Constructs a validated instance ofCreateUserContactMethodOperationSpec.Constructs a validated instance ofCreateUserContactMethodOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable CreateUserContactMethodRequestThe contact method to be created.createUserContactMethodRequest(@Nullable CreateUserContactMethodRequest createUserContactMethodRequest) The contact method to be created.booleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.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
-
CreateUserContactMethodOperationSpec
@Internal public CreateUserContactMethodOperationSpec(Consumer<CreateUserContactMethodOperationSpec> spec) Constructs a validated instance ofCreateUserContactMethodOperationSpec.- Parameter:
spec- the specification to process
-
CreateUserContactMethodOperationSpec
@Internal public CreateUserContactMethodOperationSpec(String id, CreateUserContactMethodRequest createUserContactMethodRequest) Constructs a validated instance ofCreateUserContactMethodOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.createUserContactMethodRequest- The contact method to be created.
-
CreateUserContactMethodOperationSpec
protected CreateUserContactMethodOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static CreateUserContactMethodOperationSpec.CreateUserContactMethodOperationSpecBuilder builder() -
id
The ID of the resource. -
createUserContactMethodRequest
The contact method to be created. -
id
The ID of the resource.- Gibt zurück:
this.
-
createUserContactMethodRequest
public CreateUserContactMethodOperationSpec createUserContactMethodRequest(@Nullable @Nullable CreateUserContactMethodRequest createUserContactMethodRequest) The contact method to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-