Klasse CreateUserHandoffNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserHandoffNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserHandoffNotificationRuleOperationSpec
extends Object
CreateUserHandoffNotificationRuleSpec
Specification for the CreateUserHandoffNotificationRule operation.
Create a User Handoff Notification Rule
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreateUserHandoffNotificationRuleOperationSpec(Consumer<CreateUserHandoffNotificationRuleOperationSpec> spec) Constructs a validated implementation ofCreateUserHandoffNotificationRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean@Nullable CreateUserHandoffNotificationRuleRequestThe Handoff Notification Rule to be created.createUserHandoffNotificationRuleRequest(@Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) The Handoff Notification Rule to be created.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
-
CreateUserHandoffNotificationRuleOperationSpec
@Internal public CreateUserHandoffNotificationRuleOperationSpec(Consumer<CreateUserHandoffNotificationRuleOperationSpec> spec) Constructs a validated implementation ofCreateUserHandoffNotificationRuleOperationSpec.- 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. -
createUserHandoffNotificationRuleRequest
@Nullable public @Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest()The Handoff Notification Rule to be created. -
id
The ID of the resource.- Gibt zurück:
this.
-
createUserHandoffNotificationRuleRequest
public CreateUserHandoffNotificationRuleOperationSpec createUserHandoffNotificationRuleRequest(@Nullable @Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) The Handoff Notification Rule to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-