Klasse CreateUserNotificationSubscriptionsOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserNotificationSubscriptionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserNotificationSubscriptionsOperationSpec
extends Object
CreateUserNotificationSubscriptionsSpec
Specification for the CreateUserNotificationSubscriptions operation.
Create Notification Subcriptions
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
CreateUserNotificationSubscriptionsOperationSpec
(String id, CreateTeamNotificationSubscriptionsRequest createTeamNotificationSubscriptionsRequest) Constructs a validated instance ofCreateUserNotificationSubscriptionsOperationSpec
.CreateUserNotificationSubscriptionsOperationSpec
(Consumer<CreateUserNotificationSubscriptionsOperationSpec> spec) Constructs a validated instance ofCreateUserNotificationSubscriptionsOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
The entities to subscribe to.createTeamNotificationSubscriptionsRequest
(@Nullable CreateTeamNotificationSubscriptionsRequest createTeamNotificationSubscriptionsRequest) The entities to subscribe to.boolean
int
hashCode()
@NotNull String
id()
The ID of the resource.The ID of the resource.toString()
void
validate()
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
-
CreateUserNotificationSubscriptionsOperationSpec
@Internal public CreateUserNotificationSubscriptionsOperationSpec(Consumer<CreateUserNotificationSubscriptionsOperationSpec> spec) Constructs a validated instance ofCreateUserNotificationSubscriptionsOperationSpec
.- Parameter:
spec
- the specification to process
-
CreateUserNotificationSubscriptionsOperationSpec
@Internal public CreateUserNotificationSubscriptionsOperationSpec(String id, CreateTeamNotificationSubscriptionsRequest createTeamNotificationSubscriptionsRequest) Constructs a validated instance ofCreateUserNotificationSubscriptionsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id
- The ID of the resource.createTeamNotificationSubscriptionsRequest
- The entities to subscribe to.
-
CreateUserNotificationSubscriptionsOperationSpec
protected CreateUserNotificationSubscriptionsOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the resource. -
createTeamNotificationSubscriptionsRequest
@Nullable public @Nullable CreateTeamNotificationSubscriptionsRequest createTeamNotificationSubscriptionsRequest()The entities to subscribe to. -
id
The ID of the resource.- Gibt zurück:
this
.
-
createTeamNotificationSubscriptionsRequest
public CreateUserNotificationSubscriptionsOperationSpec createTeamNotificationSubscriptionsRequest(@Nullable @Nullable CreateTeamNotificationSubscriptionsRequest createTeamNotificationSubscriptionsRequest) The entities to subscribe to.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-