Class Preference


  • @ApiType("SoftLayer_Notification_User_Subscriber_Preference")
    public class Preference
    extends Entity
    Preferences are settings that can be modified to change the behavior of the subscription. For example, modify the limit preference to only receive notifications 10 times instead of 1 during a billing cycle.

    NOTE: Some preferences have certain restrictions on values that can be set.
    See Also:
    SoftLayer_Notification_User_Subscriber_Preference
    • Field Detail

      • defaultPreference

        @ApiProperty
        protected Preference defaultPreference
        Details such name, keyname, minimum and maximum values for the preference.
      • notificationUserSubscriber

        @ApiProperty
        protected Subscriber notificationUserSubscriber
        Details of the subscriber tied to the preference.
      • idSpecified

        protected boolean idSpecified
      • notificationPreferenceId

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long notificationPreferenceId
        Unique identifier of the default preference for which the subscriber preference is based on. For example, if no preferences are supplied during the creation of a subscriber. The default values are pulled using this property.
      • notificationPreferenceIdSpecified

        protected boolean notificationPreferenceIdSpecified
      • notificationUserSubscriberId

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long notificationUserSubscriberId
        Unique identifier of the subscriber tied to the subscriber preference.
      • notificationUserSubscriberIdSpecified

        protected boolean notificationUserSubscriberIdSpecified
      • valueSpecified

        protected boolean valueSpecified
    • Constructor Detail

      • Preference

        public Preference()
    • Method Detail

      • getDefaultPreference

        public Preference getDefaultPreference()
      • setDefaultPreference

        public void setDefaultPreference​(Preference defaultPreference)
      • getNotificationUserSubscriber

        public Subscriber getNotificationUserSubscriber()
      • setNotificationUserSubscriber

        public void setNotificationUserSubscriber​(Subscriber notificationUserSubscriber)
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getNotificationPreferenceId

        public Long getNotificationPreferenceId()
      • setNotificationPreferenceId

        public void setNotificationPreferenceId​(Long notificationPreferenceId)
      • isNotificationPreferenceIdSpecified

        public boolean isNotificationPreferenceIdSpecified()
      • unsetNotificationPreferenceId

        public void unsetNotificationPreferenceId()
      • getNotificationUserSubscriberId

        public Long getNotificationUserSubscriberId()
      • setNotificationUserSubscriberId

        public void setNotificationUserSubscriberId​(Long notificationUserSubscriberId)
      • isNotificationUserSubscriberIdSpecified

        public boolean isNotificationUserSubscriberIdSpecified()
      • unsetNotificationUserSubscriberId

        public void unsetNotificationUserSubscriberId()
      • getValue

        public String getValue()
      • setValue

        public void setValue​(String value)
      • isValueSpecified

        public boolean isValueSpecified()
      • unsetValue

        public void unsetValue()