@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class JobPlannerSubscription extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JobPlannerSubscription.SubscriptionTypeEnum
Gets or Sets subscriptionType
|
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_ACTIVE |
static String |
JSON_PROPERTY_CLEAN_PERIOD |
static String |
JSON_PROPERTY_FOLLOWED_EVENTS |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_NOTIFICATION_METHODS |
static String |
JSON_PROPERTY_SUBSCRIPTION_TYPE |
Constructor and Description |
---|
JobPlannerSubscription() |
JobPlannerSubscription(List<EventTypeSeverityPair> followedEvents) |
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_SUBSCRIPTION_TYPE
public static final String JSON_PROPERTY_CLEAN_PERIOD
public static final String JSON_PROPERTY_NOTIFICATION_METHODS
public static final String JSON_PROPERTY_ACTIVE
public static final String JSON_PROPERTY_FOLLOWED_EVENTS
public JobPlannerSubscription()
public JobPlannerSubscription(List<EventTypeSeverityPair> followedEvents)
public JobPlannerSubscription id(Long id)
public void setId(Long id)
public JobPlannerSubscription subscriptionType(JobPlannerSubscription.SubscriptionTypeEnum subscriptionType)
@Nullable public JobPlannerSubscription.SubscriptionTypeEnum getSubscriptionType()
public void setSubscriptionType(JobPlannerSubscription.SubscriptionTypeEnum subscriptionType)
public JobPlannerSubscription cleanPeriod(Long cleanPeriod)
public void setCleanPeriod(Long cleanPeriod)
public JobPlannerSubscription notificationMethods(List<ChannelSubscriptionNotificationMethodsInner> notificationMethods)
public JobPlannerSubscription addNotificationMethodsItem(ChannelSubscriptionNotificationMethodsInner notificationMethodsItem)
@Nonnull public List<ChannelSubscriptionNotificationMethodsInner> getNotificationMethods()
public void setNotificationMethods(List<ChannelSubscriptionNotificationMethodsInner> notificationMethods)
public JobPlannerSubscription active(Boolean active)
public void setActive(Boolean active)
@Nullable public List<EventTypeSeverityPair> getFollowedEvents()
public boolean equals(Object o)