@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class JobSubscription extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JobSubscription.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_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_WORKFLOW_NAME |
Constructor and Description |
---|
JobSubscription() |
JobSubscription(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_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 static final String JSON_PROPERTY_FOLLOWED_EVENTS
public JobSubscription()
public JobSubscription(List<EventTypeSeverityPair> followedEvents)
public JobSubscription id(Long id)
public void setId(Long id)
public JobSubscription subscriptionType(JobSubscription.SubscriptionTypeEnum subscriptionType)
@Nullable public JobSubscription.SubscriptionTypeEnum getSubscriptionType()
public void setSubscriptionType(JobSubscription.SubscriptionTypeEnum subscriptionType)
public JobSubscription cleanPeriod(Long cleanPeriod)
public void setCleanPeriod(Long cleanPeriod)
public JobSubscription notificationMethods(List<ChannelSubscriptionNotificationMethodsInner> notificationMethods)
public JobSubscription addNotificationMethodsItem(ChannelSubscriptionNotificationMethodsInner notificationMethodsItem)
@Nonnull public List<ChannelSubscriptionNotificationMethodsInner> getNotificationMethods()
public void setNotificationMethods(List<ChannelSubscriptionNotificationMethodsInner> notificationMethods)
public JobSubscription active(Boolean active)
public void setActive(Boolean active)
public JobSubscription bucketName(String bucketName)
public void setBucketName(String bucketName)
public JobSubscription projectName(String projectName)
public void setProjectName(String projectName)
public JobSubscription workflowName(String workflowName)
public void setWorkflowName(String workflowName)
public JobSubscription myJobsOnly(Boolean myJobsOnly)
public void setMyJobsOnly(Boolean myJobsOnly)
@Nullable public List<EventTypeSeverityPair> getFollowedEvents()
public boolean equals(Object o)