Class Attachment
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.notification.occurrence.event.Attachment
@ApiType("SoftLayer_Notification_Occurrence_Event_Attachment") public class Attachment extends Entity
SoftLayer events can have have files attached to them by a SoftLayer employee. Attaching a file to a event is a way to provide supplementary information such as a RFO (reason for outage) document or root cause analysis. The SoftLayer_Notification_Occurrence_Event_Attachment data type models a single file attached to a event.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attachment.Mask
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendar
createDate
The date the file was attached to the event.protected boolean
createDateSpecified
protected String
fileName
The name of the file attached to the event.protected boolean
fileNameSpecified
protected String
fileSize
The size of the file, measured in bytes.protected boolean
fileSizeSpecified
protected Long
id
A event attachments' unique identifier.protected boolean
idSpecified
protected Event
notificationOccurrenceEvent
protected Long
notificationOccurrenceEventId
The unique event identifier that the file is attached to.protected boolean
notificationOccurrenceEventIdSpecified
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
Modifier and Type Method Description GregorianCalendar
getCreateDate()
String
getFileName()
String
getFileSize()
Long
getId()
Event
getNotificationOccurrenceEvent()
Long
getNotificationOccurrenceEventId()
boolean
isCreateDateSpecified()
boolean
isFileNameSpecified()
boolean
isFileSizeSpecified()
boolean
isIdSpecified()
boolean
isNotificationOccurrenceEventIdSpecified()
void
setCreateDate(GregorianCalendar createDate)
void
setFileName(String fileName)
void
setFileSize(String fileSize)
void
setId(Long id)
void
setNotificationOccurrenceEvent(Event notificationOccurrenceEvent)
void
setNotificationOccurrenceEventId(Long notificationOccurrenceEventId)
void
unsetCreateDate()
void
unsetFileName()
void
unsetFileSize()
void
unsetId()
void
unsetNotificationOccurrenceEventId()
-
Field Details
-
notificationOccurrenceEvent
-
createDate
The date the file was attached to the event. -
createDateSpecified
protected boolean createDateSpecified -
fileName
The name of the file attached to the event. -
fileNameSpecified
protected boolean fileNameSpecified -
fileSize
The size of the file, measured in bytes. -
fileSizeSpecified
protected boolean fileSizeSpecified -
id
A event attachments' unique identifier. -
idSpecified
protected boolean idSpecified -
notificationOccurrenceEventId
The unique event identifier that the file is attached to. -
notificationOccurrenceEventIdSpecified
protected boolean notificationOccurrenceEventIdSpecified
-
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
getNotificationOccurrenceEvent
-
setNotificationOccurrenceEvent
-
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getFileName
-
setFileName
-
isFileNameSpecified
public boolean isFileNameSpecified() -
unsetFileName
public void unsetFileName() -
getFileSize
-
setFileSize
-
isFileSizeSpecified
public boolean isFileSizeSpecified() -
unsetFileSize
public void unsetFileSize() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getNotificationOccurrenceEventId
-
setNotificationOccurrenceEventId
-
isNotificationOccurrenceEventIdSpecified
public boolean isNotificationOccurrenceEventIdSpecified() -
unsetNotificationOccurrenceEventId
public void unsetNotificationOccurrenceEventId()
-