Class Media
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.account.Media
-
@ApiType("SoftLayer_Account_Media") public class Media extends Entity
The SoftLayer_Account_Media data type contains information on a single piece of media associated with a Data Transfer Service request.- See Also:
- SoftLayer_Account_Media
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Media.Mask
static interface
Media.Service
SoftLayer's data transfer request media service allows users to access and manage their media devices that they have submitted through SoftLayer's Data Transfer Service.static interface
Media.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account to which the media belongs.protected Customer
createUser
The customer user who created the media object.protected Location
datacenter
The datacenter where the media resides.protected String
description
The description of the media.protected boolean
descriptionSpecified
protected Long
id
The unique id of the media.protected boolean
idSpecified
protected Employee
modifyEmployee
The employee who last modified the media.protected Customer
modifyUser
The customer user who last modified the media.protected Request
request
The request to which the media belongs.protected Long
requestId
The request id of the media.protected boolean
requestIdSpecified
protected String
serialNumber
The manufacturer's serial number of the media.protected boolean
serialNumberSpecified
protected Type
type
The media's type.protected Long
typeId
The type id of the media.protected boolean
typeIdSpecified
protected Storage
volume
A guest's associated EVault network storage service account.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Media()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account to which the media belongs.
-
createUser
@ApiProperty protected Customer createUser
The customer user who created the media object.
-
datacenter
@ApiProperty protected Location datacenter
The datacenter where the media resides.
-
modifyEmployee
@ApiProperty protected Employee modifyEmployee
The employee who last modified the media.
-
modifyUser
@ApiProperty protected Customer modifyUser
The customer user who last modified the media.
-
request
@ApiProperty protected Request request
The request to which the media belongs.
-
type
@ApiProperty protected Type type
The media's type.
-
volume
@ApiProperty protected Storage volume
A guest's associated EVault network storage service account.
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
The description of the media.
-
descriptionSpecified
protected boolean descriptionSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique id of the media.
-
idSpecified
protected boolean idSpecified
-
requestId
@ApiProperty(canBeNullOrNotSet=true) protected Long requestId
The request id of the media.
-
requestIdSpecified
protected boolean requestIdSpecified
-
serialNumber
@ApiProperty(canBeNullOrNotSet=true) protected String serialNumber
The manufacturer's serial number of the media.
-
serialNumberSpecified
protected boolean serialNumberSpecified
-
typeId
@ApiProperty(canBeNullOrNotSet=true) protected Long typeId
The type id of the media.
-
typeIdSpecified
protected boolean typeIdSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCreateUser
public Customer getCreateUser()
-
setCreateUser
public void setCreateUser(Customer createUser)
-
getDatacenter
public Location getDatacenter()
-
setDatacenter
public void setDatacenter(Location datacenter)
-
getModifyEmployee
public Employee getModifyEmployee()
-
setModifyEmployee
public void setModifyEmployee(Employee modifyEmployee)
-
getModifyUser
public Customer getModifyUser()
-
setModifyUser
public void setModifyUser(Customer modifyUser)
-
getRequest
public Request getRequest()
-
setRequest
public void setRequest(Request request)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getVolume
public Storage getVolume()
-
setVolume
public void setVolume(Storage volume)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getRequestId
public Long getRequestId()
-
setRequestId
public void setRequestId(Long requestId)
-
isRequestIdSpecified
public boolean isRequestIdSpecified()
-
unsetRequestId
public void unsetRequestId()
-
getSerialNumber
public String getSerialNumber()
-
setSerialNumber
public void setSerialNumber(String serialNumber)
-
isSerialNumberSpecified
public boolean isSerialNumberSpecified()
-
unsetSerialNumber
public void unsetSerialNumber()
-
getTypeId
public Long getTypeId()
-
setTypeId
public void setTypeId(Long typeId)
-
isTypeIdSpecified
public boolean isTypeIdSpecified()
-
unsetTypeId
public void unsetTypeId()
-
asService
public Media.Service asService(ApiClient client)
-
service
public static Media.Service service(ApiClient client)
-
service
public static Media.Service service(ApiClient client, Long id)
-
-