Class File
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.ticket.attachment.File
- Direct Known Subclasses:
ServiceNow
@ApiType("SoftLayer_Ticket_Attachment_File") public class File extends Entity
SoftLayer tickets can have have files attached to them. Attaching a file to a ticket is a good way to report issues, provide documentation, and give examples of an issue. Both SoftLayer customers and employees have the ability to attach files to a ticket. The SoftLayer_Ticket_Attachment_File data type models a single file attached to a ticket.
- See Also:
- SoftLayer_Ticket_Attachment_File
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
File.Mask
static interface
File.Service
static interface
File.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendar
createDate
The date a file was originally attached to a ticket.protected boolean
createDateSpecified
protected String
fileName
The name of a file attached to a ticket.protected boolean
fileNameSpecified
protected String
fileSize
The size of a file attached to a ticket, measured in bytes.protected boolean
fileSizeSpecified
protected Long
id
A ticket file attachment's internal identifier.protected boolean
idSpecified
protected GregorianCalendar
modifyDate
The date that a file attachment record was last modified.protected boolean
modifyDateSpecified
protected Ticket
ticket
protected Long
ticketId
The internal identifier of the ticket that a file is attached to.protected boolean
ticketIdSpecified
protected Update
update
The ticket that a file is attached to.protected Long
updateId
The internal identifier of the ticket update the attached file is associated with.protected boolean
updateIdSpecified
protected String
uploaderId
The internal identifier of the user that uploaded a ticket file attachment.protected boolean
uploaderIdSpecified
protected String
uploaderType
The type of user that attached a file to a ticket.protected boolean
uploaderTypeSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description File()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
ticket
-
update
The ticket that a file is attached to. -
createDate
The date a file was originally attached to a ticket. -
createDateSpecified
protected boolean createDateSpecified -
fileName
The name of a file attached to a ticket. -
fileNameSpecified
protected boolean fileNameSpecified -
fileSize
The size of a file attached to a ticket, measured in bytes. -
fileSizeSpecified
protected boolean fileSizeSpecified -
id
A ticket file attachment's internal identifier. -
idSpecified
protected boolean idSpecified -
modifyDate
The date that a file attachment record was last modified. -
modifyDateSpecified
protected boolean modifyDateSpecified -
ticketId
The internal identifier of the ticket that a file is attached to. -
ticketIdSpecified
protected boolean ticketIdSpecified -
updateId
The internal identifier of the ticket update the attached file is associated with. -
updateIdSpecified
protected boolean updateIdSpecified -
uploaderId
The internal identifier of the user that uploaded a ticket file attachment. This is only used when A file attachment's ''uploaderType'' is set to "USER". -
uploaderIdSpecified
protected boolean uploaderIdSpecified -
uploaderType
The type of user that attached a file to a ticket. This is either "USER" if the file was uploaded by a portal or API user or "EMPLOYEE" if the file was uploaded by a SoftLayer employee. -
uploaderTypeSpecified
protected boolean uploaderTypeSpecified
-
-
Constructor Details
-
File
public File()
-
-
Method Details
-
getTicket
-
setTicket
-
getUpdate
-
setUpdate
-
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() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getTicketId
-
setTicketId
-
isTicketIdSpecified
public boolean isTicketIdSpecified() -
unsetTicketId
public void unsetTicketId() -
getUpdateId
-
setUpdateId
-
isUpdateIdSpecified
public boolean isUpdateIdSpecified() -
unsetUpdateId
public void unsetUpdateId() -
getUploaderId
-
setUploaderId
-
isUploaderIdSpecified
public boolean isUploaderIdSpecified() -
unsetUploaderId
public void unsetUploaderId() -
getUploaderType
-
setUploaderType
-
isUploaderTypeSpecified
public boolean isUploaderTypeSpecified() -
unsetUploaderType
public void unsetUploaderType() -
asService
-
service
-
service
-