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