Klasse DeleteUserContactMethodOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.DeleteUserContactMethodOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteUserContactMethodOperationSpec
extends Object
DeleteUserContactMethodSpec
Specification for the DeleteUserContactMethod operation.
Delete a user's contact method
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
DeleteUserContactMethodOperationSpec
(String id, String contactMethodId) Constructs a validated instance ofDeleteUserContactMethodOperationSpec
.Constructs a validated instance ofDeleteUserContactMethodOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
@NotNull String
The contact method ID on the user.contactMethodId
(@NotNull String contactMethodId) The contact method ID on the user.boolean
int
hashCode()
@NotNull String
id()
The ID of the resource.The ID of the resource.toString()
void
validate()
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
-
DeleteUserContactMethodOperationSpec
@Internal public DeleteUserContactMethodOperationSpec(Consumer<DeleteUserContactMethodOperationSpec> spec) Constructs a validated instance ofDeleteUserContactMethodOperationSpec
.- Parameter:
spec
- the specification to process
-
DeleteUserContactMethodOperationSpec
Constructs a validated instance ofDeleteUserContactMethodOperationSpec
.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.
-
DeleteUserContactMethodOperationSpec
protected DeleteUserContactMethodOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static DeleteUserContactMethodOperationSpec.DeleteUserContactMethodOperationSpecBuilder builder() -
id
The ID of the resource. -
contactMethodId
The contact method ID on the user. -
id
The ID of the resource.- Gibt zurück:
this
.
-
contactMethodId
public DeleteUserContactMethodOperationSpec contactMethodId(@NotNull @NotNull String contactMethodId) The contact method ID on the user.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-