Klasse NotificationSubscriptionWithContext
java.lang.Object
io.github.primelib.pagerduty4j.rest.model.NotificationSubscriptionWithContext
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class NotificationSubscriptionWithContext
extends Object
NotificationSubscriptionWithContext
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
static enum
The resulting status of the subscriptionstatic enum
The type of the entity being subscribed tostatic enum
The type of the entity being subscribed -
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected String
The type of the entity being subscribed toThe resulting status of the subscriptionprotected String
The ID of the entity being subscribed toThe type of the entity being subscribed toprotected String
The ID of the entity being subscribedThe type of the entity being subscribed -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
NotificationSubscriptionWithContext
(String subscriberId, NotificationSubscriptionWithContext.SubscriberTypeEnum subscriberType, String subscribableId, NotificationSubscriptionWithContext.SubscribableTypeEnum subscribableType, String accountId, NotificationSubscriptionWithContext.ResultEnum result) Constructs a validated instance ofNotificationSubscriptionWithContext
.Constructs a validated instance ofNotificationSubscriptionWithContext
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe type of the entity being subscribed toThe type of the entity being subscribed tobuilder()
protected boolean
boolean
int
hashCode()
result()
The resulting status of the subscriptionThe resulting status of the subscriptionThe ID of the entity being subscribed tosubscribableId
(String subscribableId) The ID of the entity being subscribed toThe type of the entity being subscribed tosubscribableType
(NotificationSubscriptionWithContext.SubscribableTypeEnum subscribableType) The type of the entity being subscribed toThe ID of the entity being subscribedsubscriberId
(String subscriberId) The ID of the entity being subscribedThe type of the entity being subscribedsubscriberType
(NotificationSubscriptionWithContext.SubscriberTypeEnum subscriberType) The type of the entity being subscribedtoString()
-
Felddetails
-
subscriberId
The ID of the entity being subscribed -
subscriberType
The type of the entity being subscribed -
subscribableId
The ID of the entity being subscribed to -
subscribableType
The type of the entity being subscribed to -
accountId
The type of the entity being subscribed to -
result
The resulting status of the subscription
-
-
Konstruktordetails
-
NotificationSubscriptionWithContext
Constructs a validated instance ofNotificationSubscriptionWithContext
.- Parameter:
spec
- the specification to process
-
NotificationSubscriptionWithContext
@Internal public NotificationSubscriptionWithContext(String subscriberId, NotificationSubscriptionWithContext.SubscriberTypeEnum subscriberType, String subscribableId, NotificationSubscriptionWithContext.SubscribableTypeEnum subscribableType, String accountId, NotificationSubscriptionWithContext.ResultEnum result) Constructs a validated instance ofNotificationSubscriptionWithContext
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
NotificationSubscriptionWithContext(Consumer)
instead.- Parameter:
subscriberId
- The ID of the entity being subscribedsubscriberType
- The type of the entity being subscribedsubscribableId
- The ID of the entity being subscribed tosubscribableType
- The type of the entity being subscribed toaccountId
- The type of the entity being subscribed toresult
- The resulting status of the subscription
-
NotificationSubscriptionWithContext
protected NotificationSubscriptionWithContext()
-
-
Methodendetails
-
builder
public static NotificationSubscriptionWithContext.NotificationSubscriptionWithContextBuilder builder() -
subscriberId
The ID of the entity being subscribed -
subscriberType
The type of the entity being subscribed -
subscribableId
The ID of the entity being subscribed to -
subscribableType
The type of the entity being subscribed to -
accountId
The type of the entity being subscribed to -
result
The resulting status of the subscription -
subscriberId
The ID of the entity being subscribed- Gibt zurück:
this
.
-
subscriberType
public NotificationSubscriptionWithContext subscriberType(NotificationSubscriptionWithContext.SubscriberTypeEnum subscriberType) The type of the entity being subscribed- Gibt zurück:
this
.
-
subscribableId
The ID of the entity being subscribed to- Gibt zurück:
this
.
-
subscribableType
public NotificationSubscriptionWithContext subscribableType(NotificationSubscriptionWithContext.SubscribableTypeEnum subscribableType) The type of the entity being subscribed to- Gibt zurück:
this
.
-
accountId
The type of the entity being subscribed to- Gibt zurück:
this
.
-
result
public NotificationSubscriptionWithContext result(NotificationSubscriptionWithContext.ResultEnum result) The resulting status of the subscription- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-