Klasse UpdateUserHandoffNotificationOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.UpdateUserHandoffNotificationOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateUserHandoffNotificationOperationSpec
extends Object
UpdateUserHandoffNotificationSpec
Specification for the UpdateUserHandoffNotification operation.
Update a User's Handoff 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateUserHandoffNotificationOperationSpec(String id, String oncallHandoffNotificationRuleId, CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) Constructs a validated instance ofUpdateUserHandoffNotificationOperationSpec.UpdateUserHandoffNotificationOperationSpec(Consumer<UpdateUserHandoffNotificationOperationSpec> spec) Constructs a validated instance ofUpdateUserHandoffNotificationOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable CreateUserHandoffNotificationRuleRequestThe User's Handoff Notification Rule to be updated.createUserHandoffNotificationRuleRequest(@Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) The User's Handoff Notification Rule to be updated.booleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.@NotNull StringThe oncall handoff notification rule ID on the user.oncallHandoffNotificationRuleId(@NotNull String oncallHandoffNotificationRuleId) The oncall handoff 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
-
UpdateUserHandoffNotificationOperationSpec
@Internal public UpdateUserHandoffNotificationOperationSpec(Consumer<UpdateUserHandoffNotificationOperationSpec> spec) Constructs a validated instance ofUpdateUserHandoffNotificationOperationSpec.- Parameter:
spec- the specification to process
-
UpdateUserHandoffNotificationOperationSpec
@Internal public UpdateUserHandoffNotificationOperationSpec(String id, String oncallHandoffNotificationRuleId, CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) Constructs a validated instance ofUpdateUserHandoffNotificationOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.oncallHandoffNotificationRuleId- The oncall handoff notification rule ID on the user.createUserHandoffNotificationRuleRequest- The User's Handoff Notification Rule to be updated.
-
UpdateUserHandoffNotificationOperationSpec
protected UpdateUserHandoffNotificationOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static UpdateUserHandoffNotificationOperationSpec.UpdateUserHandoffNotificationOperationSpecBuilder builder() -
id
The ID of the resource. -
oncallHandoffNotificationRuleId
The oncall handoff notification rule ID on the user. -
createUserHandoffNotificationRuleRequest
@Nullable public @Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest()The User's Handoff Notification Rule to be updated. -
id
The ID of the resource.- Gibt zurück:
this.
-
oncallHandoffNotificationRuleId
public UpdateUserHandoffNotificationOperationSpec oncallHandoffNotificationRuleId(@NotNull @NotNull String oncallHandoffNotificationRuleId) The oncall handoff notification rule ID on the user.- Gibt zurück:
this.
-
createUserHandoffNotificationRuleRequest
public UpdateUserHandoffNotificationOperationSpec createUserHandoffNotificationRuleRequest(@Nullable @Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) The User's Handoff Notification Rule to be updated.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-