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