Klasse GetUserContactMethodOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.GetUserContactMethodOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetUserContactMethodOperationSpec
extends Object
GetUserContactMethodSpec
Specification for the GetUserContactMethod operation.
Get 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetUserContactMethodOperationSpec(String id, String contactMethodId) Constructs a validated instance ofGetUserContactMethodOperationSpec.Constructs a validated instance ofGetUserContactMethodOperationSpec. -
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.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
-
GetUserContactMethodOperationSpec
@Internal public GetUserContactMethodOperationSpec(Consumer<GetUserContactMethodOperationSpec> spec) Constructs a validated instance ofGetUserContactMethodOperationSpec.- Parameter:
spec- the specification to process
-
GetUserContactMethodOperationSpec
Constructs a validated instance ofGetUserContactMethodOperationSpec.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.
-
GetUserContactMethodOperationSpec
protected GetUserContactMethodOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
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
The contact method ID on the user.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-