Package com.okta.sdk.resource.model
Class Subscription
java.lang.Object
com.okta.sdk.resource.model.Subscription
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class Subscription
extends Object
implements Serializable
Subscription
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddchannelsItem
(String channelsItem) boolean
An array of sources send notifications to users.getLinks()
Get linksGet notificationTypeGet statusint
hashCode()
links
(SubscriptionLinks links) notificationType
(NotificationType notificationType) void
setChannels
(List<String> channels) void
setLinks
(SubscriptionLinks links) void
setNotificationType
(NotificationType notificationType) void
setStatus
(SubscriptionStatus status) status
(SubscriptionStatus status) toString()
-
Field Details
-
JSON_PROPERTY_CHANNELS
- See Also:
-
JSON_PROPERTY_NOTIFICATION_TYPE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
Subscription
public Subscription()
-
-
Method Details
-
channels
-
addchannelsItem
-
getChannels
An array of sources send notifications to users. > **Note**: Currently, Okta only allows `email` channels.- Returns:
- channels
-
setChannels
-
notificationType
-
getNotificationType
Get notificationType- Returns:
- notificationType
-
setNotificationType
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-