Class User
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.notification.occurrence.User
-
@ApiType("SoftLayer_Notification_Occurrence_User") public class User extends Entity
This type contains general information relating to a user that may be impacted by a [[SoftLayer_Notification_Occurrence_Event]].- See Also:
- SoftLayer_Notification_Occurrence_User
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
User.Mask
static interface
User.Service
static interface
User.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
acknowledgedFlag
protected boolean
acknowledgedFlagSpecified
protected Long
active
protected boolean
activeSpecified
protected Long
id
protected boolean
idSpecified
protected Long
impactedResourceCount
A count of a collection of resources impacted by the associated event.protected List<Resource>
impactedResources
A collection of resources impacted by the associated event.protected Event
notificationOccurrenceEvent
The associated event.protected Customer
user
The impacted user.protected Long
usrRecordId
protected boolean
usrRecordIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description User()
-
Method Summary
Modifier and Type Method Description User.Service
asService(ApiClient client)
Long
getAcknowledgedFlag()
Long
getActive()
Long
getId()
Long
getImpactedResourceCount()
List<Resource>
getImpactedResources()
Event
getNotificationOccurrenceEvent()
Customer
getUser()
Long
getUsrRecordId()
boolean
isAcknowledgedFlagSpecified()
boolean
isActiveSpecified()
boolean
isIdSpecified()
boolean
isUsrRecordIdSpecified()
static User.Service
service(ApiClient client)
static User.Service
service(ApiClient client, Long id)
void
setAcknowledgedFlag(Long acknowledgedFlag)
void
setActive(Long active)
void
setId(Long id)
void
setImpactedResourceCount(Long impactedResourceCount)
void
setNotificationOccurrenceEvent(Event notificationOccurrenceEvent)
void
setUser(Customer user)
void
setUsrRecordId(Long usrRecordId)
void
unsetAcknowledgedFlag()
void
unsetActive()
void
unsetId()
void
unsetUsrRecordId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
impactedResources
@ApiProperty protected List<Resource> impactedResources
A collection of resources impacted by the associated event.
-
notificationOccurrenceEvent
@ApiProperty protected Event notificationOccurrenceEvent
The associated event.
-
user
@ApiProperty protected Customer user
The impacted user.
-
acknowledgedFlag
@ApiProperty(canBeNullOrNotSet=true) protected Long acknowledgedFlag
-
acknowledgedFlagSpecified
protected boolean acknowledgedFlagSpecified
-
active
@ApiProperty(canBeNullOrNotSet=true) protected Long active
-
activeSpecified
protected boolean activeSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
-
idSpecified
protected boolean idSpecified
-
usrRecordId
@ApiProperty(canBeNullOrNotSet=true) protected Long usrRecordId
-
usrRecordIdSpecified
protected boolean usrRecordIdSpecified
-
impactedResourceCount
@ApiProperty protected Long impactedResourceCount
A count of a collection of resources impacted by the associated event.
-
-
Method Detail
-
getNotificationOccurrenceEvent
public Event getNotificationOccurrenceEvent()
-
setNotificationOccurrenceEvent
public void setNotificationOccurrenceEvent(Event notificationOccurrenceEvent)
-
getUser
public Customer getUser()
-
setUser
public void setUser(Customer user)
-
getAcknowledgedFlag
public Long getAcknowledgedFlag()
-
setAcknowledgedFlag
public void setAcknowledgedFlag(Long acknowledgedFlag)
-
isAcknowledgedFlagSpecified
public boolean isAcknowledgedFlagSpecified()
-
unsetAcknowledgedFlag
public void unsetAcknowledgedFlag()
-
getActive
public Long getActive()
-
setActive
public void setActive(Long active)
-
isActiveSpecified
public boolean isActiveSpecified()
-
unsetActive
public void unsetActive()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getUsrRecordId
public Long getUsrRecordId()
-
setUsrRecordId
public void setUsrRecordId(Long usrRecordId)
-
isUsrRecordIdSpecified
public boolean isUsrRecordIdSpecified()
-
unsetUsrRecordId
public void unsetUsrRecordId()
-
getImpactedResourceCount
public Long getImpactedResourceCount()
-
setImpactedResourceCount
public void setImpactedResourceCount(Long impactedResourceCount)
-
asService
public User.Service asService(ApiClient client)
-
service
public static User.Service service(ApiClient client)
-
service
public static User.Service service(ApiClient client, Long id)
-
-