Klasse UpdateUserNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.UpdateUserNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateUserNotificationRuleOperationSpec
extends Object
UpdateUserNotificationRuleSpec
Specification for the UpdateUserNotificationRule operation.
Update 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 ofUpdateUserNotificationRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean@Nullable CreateUserNotificationRuleRequestThe user's notification rule to be updated.createUserNotificationRuleRequest(@Nullable CreateUserNotificationRuleRequest createUserNotificationRuleRequest) The user's notification rule to be updated.booleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.@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
-
UpdateUserNotificationRuleOperationSpec
@Internal public UpdateUserNotificationRuleOperationSpec(Consumer<UpdateUserNotificationRuleOperationSpec> spec) Constructs a validated implementation ofUpdateUserNotificationRuleOperationSpec.- 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. -
createUserNotificationRuleRequest
The user's notification rule to be updated. -
id
The ID of the resource.- Gibt zurück:
this.
-
notificationRuleId
public UpdateUserNotificationRuleOperationSpec notificationRuleId(@NotNull @NotNull String notificationRuleId) The notification rule ID on the user.- Gibt zurück:
this.
-
createUserNotificationRuleRequest
public UpdateUserNotificationRuleOperationSpec createUserNotificationRuleRequest(@Nullable @Nullable CreateUserNotificationRuleRequest createUserNotificationRuleRequest) The user's notification rule to be updated.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-