@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class Subscription extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Subscription.SubscriptionTypeEnum
Gets or Sets subscriptionType
|
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_ACTIVE |
static String |
JSON_PROPERTY_BUCKET_NAME |
static String |
JSON_PROPERTY_CHANNELS |
static String |
JSON_PROPERTY_CLEAN_PERIOD |
static String |
JSON_PROPERTY_FOLLOWED_EVENTS |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_MY_JOBS_ONLY |
static String |
JSON_PROPERTY_NOTIFICATION_METHODS |
static String |
JSON_PROPERTY_PROJECT_NAME |
static String |
JSON_PROPERTY_SUBSCRIPTION_TYPE |
static String |
JSON_PROPERTY_USER_SUBSCRIPTION |
static String |
JSON_PROPERTY_WORKFLOW_NAME |
Constructor and Description |
---|
Subscription() |
Subscription(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 static final String JSON_PROPERTY_USER_SUBSCRIPTION
public static final String JSON_PROPERTY_CHANNELS
public static final String JSON_PROPERTY_BUCKET_NAME
public static final String JSON_PROPERTY_PROJECT_NAME
public static final String JSON_PROPERTY_WORKFLOW_NAME
public static final String JSON_PROPERTY_MY_JOBS_ONLY
public Subscription()
public Subscription(List<EventTypeSeverityPair> followedEvents)
public Subscription id(Long id)
public void setId(Long id)
public Subscription subscriptionType(Subscription.SubscriptionTypeEnum subscriptionType)
@Nullable public Subscription.SubscriptionTypeEnum getSubscriptionType()
public void setSubscriptionType(Subscription.SubscriptionTypeEnum subscriptionType)
public Subscription cleanPeriod(Long cleanPeriod)
public void setCleanPeriod(Long cleanPeriod)
public Subscription notificationMethods(List<ChannelSubscriptionNotificationMethodsInner> notificationMethods)
public Subscription addNotificationMethodsItem(ChannelSubscriptionNotificationMethodsInner notificationMethodsItem)
@Nonnull public List<ChannelSubscriptionNotificationMethodsInner> getNotificationMethods()
public void setNotificationMethods(List<ChannelSubscriptionNotificationMethodsInner> notificationMethods)
public Subscription active(Boolean active)
public Subscription channels(List<Channel> channels)
public Subscription addChannelsItem(Channel channelsItem)
public void setBucketName(String bucketName)
public void setProjectName(String projectName)
public void setWorkflowName(String workflowName)
public void setActive(Boolean active)
@Nullable public List<EventTypeSeverityPair> getFollowedEvents()
public Subscription userSubscription(UserSubscriptions userSubscription)
@Nullable public UserSubscriptions getUserSubscription()
public void setUserSubscription(UserSubscriptions userSubscription)
public boolean equals(Object o)