Klasse GetUserNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.GetUserNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetUserNotificationRuleOperationSpec
extends Object
GetUserNotificationRuleSpec
Specification for the GetUserNotificationRule operation.
Get a user's notification rule
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructs a validated implementation ofGetUserNotificationRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.@Nullable Stringinclude()Array of additional details to include.Array of additional details to include.@NotNull StringThe notification rule ID on the user.notificationRuleId(@NotNull String notificationRuleId) The notification rule ID on the user.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
-
GetUserNotificationRuleOperationSpec
@Internal public GetUserNotificationRuleOperationSpec(Consumer<GetUserNotificationRuleOperationSpec> spec) Constructs a validated implementation ofGetUserNotificationRuleOperationSpec.- 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
-
id
The ID of the resource. -
notificationRuleId
The notification rule ID on the user. -
include
Array of additional details to include. -
id
The ID of the resource.- Gibt zurück:
this.
-
notificationRuleId
public GetUserNotificationRuleOperationSpec notificationRuleId(@NotNull @NotNull String notificationRuleId) The notification rule ID on the user.- Gibt zurück:
this.
-
include
Array of additional details to include.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-