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