Klasse CreateUserNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserNotificationRuleOperationSpec
extends Object
CreateUserNotificationRuleSpec
Specification for the CreateUserNotificationRule operation.
Create a user notification rule
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructs a validated implementation ofCreateUserNotificationRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean@Nullable CreateUserNotificationRuleRequestThe notification rule to be created.createUserNotificationRuleRequest(@Nullable CreateUserNotificationRuleRequest createUserNotificationRuleRequest) The 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
-
CreateUserNotificationRuleOperationSpec
@Internal public CreateUserNotificationRuleOperationSpec(Consumer<CreateUserNotificationRuleOperationSpec> spec) Constructs a validated implementation ofCreateUserNotificationRuleOperationSpec.- 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. -
createUserNotificationRuleRequest
The notification rule to be created. -
id
The ID of the resource.- Gibt zurück:
this.
-
createUserNotificationRuleRequest
public CreateUserNotificationRuleOperationSpec createUserNotificationRuleRequest(@Nullable @Nullable CreateUserNotificationRuleRequest createUserNotificationRuleRequest) The notification rule to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-