Klasse GetUserNotificationRulesOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.GetUserNotificationRulesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetUserNotificationRulesOperationSpec
extends Object
GetUserNotificationRulesSpec
Specification for the GetUserNotificationRules operation.
List a user's notification rules
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetUserNotificationRulesOperationSpec(String id, String include, String urgency) Constructs a validated instance ofGetUserNotificationRulesOperationSpec.Constructs a validated instance ofGetUserNotificationRulesOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.@Nullable Stringinclude()Array of additional details to include.Array of additional details to include.toString()@Nullable Stringurgency()The incident urgency for which the notification rules are applied.The incident urgency for which the notification rules are applied.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
-
GetUserNotificationRulesOperationSpec
@Internal public GetUserNotificationRulesOperationSpec(Consumer<GetUserNotificationRulesOperationSpec> spec) Constructs a validated instance ofGetUserNotificationRulesOperationSpec.- Parameter:
spec- the specification to process
-
GetUserNotificationRulesOperationSpec
Constructs a validated instance ofGetUserNotificationRulesOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.include- Array of additional details to include.urgency- The incident urgency for which the notification rules are applied. If not specified, defaults tohigh.
-
GetUserNotificationRulesOperationSpec
protected GetUserNotificationRulesOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static GetUserNotificationRulesOperationSpec.GetUserNotificationRulesOperationSpecBuilder builder() -
id
The ID of the resource. -
include
Array of additional details to include. -
urgency
The incident urgency for which the notification rules are applied. If not specified, defaults tohigh. -
id
The ID of the resource.- Gibt zurück:
this.
-
include
Array of additional details to include.- Gibt zurück:
this.
-
urgency
The incident urgency for which the notification rules are applied. If not specified, defaults tohigh.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-