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