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
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateUserNotificationRuleOperationSpec(String id, String notificationRuleId, CreateUserNotificationRuleRequest createUserNotificationRuleRequest) Constructs a validated instance ofUpdateUserNotificationRuleOperationSpec.Constructs a validated instance ofUpdateUserNotificationRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected 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 instance ofUpdateUserNotificationRuleOperationSpec.- Parameter:
spec- the specification to process
-
UpdateUserNotificationRuleOperationSpec
@Internal public UpdateUserNotificationRuleOperationSpec(String id, String notificationRuleId, CreateUserNotificationRuleRequest createUserNotificationRuleRequest) Constructs a validated instance ofUpdateUserNotificationRuleOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.notificationRuleId- The notification rule ID on the user.createUserNotificationRuleRequest- The user's notification rule to be updated.
-
UpdateUserNotificationRuleOperationSpec
protected UpdateUserNotificationRuleOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static UpdateUserNotificationRuleOperationSpec.UpdateUserNotificationRuleOperationSpecBuilder builder() -
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
-