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