Klasse GetUserNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.GetUserNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetUserNotificationRuleOperationSpec
extends Object
GetUserNotificationRuleSpec
Specification for the GetUserNotificationRule operation.
Get 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetUserNotificationRuleOperationSpec(String id, String notificationRuleId, String include) Constructs a validated instance ofGetUserNotificationRuleOperationSpec.Constructs a validated instance ofGetUserNotificationRuleOperationSpec. -
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.@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
-
GetUserNotificationRuleOperationSpec
@Internal public GetUserNotificationRuleOperationSpec(Consumer<GetUserNotificationRuleOperationSpec> spec) Constructs a validated instance ofGetUserNotificationRuleOperationSpec.- Parameter:
spec- the specification to process
-
GetUserNotificationRuleOperationSpec
@Internal public GetUserNotificationRuleOperationSpec(String id, String notificationRuleId, String include) Constructs a validated instance ofGetUserNotificationRuleOperationSpec.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.include- Array of additional details to include.
-
GetUserNotificationRuleOperationSpec
protected GetUserNotificationRuleOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static GetUserNotificationRuleOperationSpec.GetUserNotificationRuleOperationSpecBuilder builder() -
id
The ID of the resource. -
notificationRuleId
The notification rule ID on the user. -
include
Array of additional details to include. -
id
The ID of the resource.- Gibt zurück:
this.
-
notificationRuleId
public GetUserNotificationRuleOperationSpec notificationRuleId(@NotNull @NotNull String notificationRuleId) The notification rule ID on the user.- Gibt zurück:
this.
-
include
Array of additional details to include.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-