Class Notification

Direct Known Subclasses:
Mobile

@ApiType("SoftLayer_Notification")
public class Notification
extends Entity
Details provided for the notification are basic. Details such as the related preferences, name and keyname for the notification can be retrieved. The keyname property for the notification can be used to refer to a notification when integrating into the SoftLayer Notification system. The name property can used more for display purposes.
See Also:
SoftLayer_Notification
  • Field Details

    • preferences

      @ApiProperty protected List<Preference> preferences
      The preferences related to the notification. These are preferences are configurable and optional for subscribers to use.
    • requiredPreferences

      @ApiProperty protected List<Preference> requiredPreferences
      The required preferences related to the notification. While configurable, the subscriber does not have the option whether to use the preference.
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      Unique identifier for the notification.
    • idSpecified

      protected boolean idSpecified
    • keyName

      @ApiProperty(canBeNullOrNotSet=true) protected String keyName
      Name that can be used by external systems to refer to a notification.
    • keyNameSpecified

      protected boolean keyNameSpecified
    • name

      @ApiProperty(canBeNullOrNotSet=true) protected String name
      Friendly name for the notification.
    • nameSpecified

      protected boolean nameSpecified
    • preferenceCount

      @ApiProperty protected Long preferenceCount
      A count of the preferences related to the notification. These are preferences are configurable and optional for subscribers to use.
    • requiredPreferenceCount

      @ApiProperty protected Long requiredPreferenceCount
      A count of the required preferences related to the notification. While configurable, the subscriber does not have the option whether to use the preference.
  • Constructor Details

    • Notification

      public Notification()
  • Method Details

    • getPreferences

      public List<Preference> getPreferences()
    • getRequiredPreferences

      public List<Preference> getRequiredPreferences()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getKeyName

      public String getKeyName()
    • setKeyName

      public void setKeyName​(String keyName)
    • isKeyNameSpecified

      public boolean isKeyNameSpecified()
    • unsetKeyName

      public void unsetKeyName()
    • getName

      public String getName()
    • setName

      public void setName​(String name)
    • isNameSpecified

      public boolean isNameSpecified()
    • unsetName

      public void unsetName()
    • getPreferenceCount

      public Long getPreferenceCount()
    • setPreferenceCount

      public void setPreferenceCount​(Long preferenceCount)
    • getRequiredPreferenceCount

      public Long getRequiredPreferenceCount()
    • setRequiredPreferenceCount

      public void setRequiredPreferenceCount​(Long requiredPreferenceCount)
    • asService

      public Notification.Service asService​(ApiClient client)
    • service

      public static Notification.Service service​(ApiClient client)
    • service

      public static Notification.Service service​(ApiClient client, Long id)