Class Accounts
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.virtual.guest.block.device.template.group.Accounts
-
@ApiType("SoftLayer_Virtual_Guest_Block_Device_Template_Group_Accounts") public class Accounts extends Entity
The SoftLayer_Virtual_Guest_Block_Device_Template_Group_Accounts data type represents the SoftLayer customer accounts which have access to provision CloudLayer Computing Instances from an image template group.
All accounts other than the image template group owner have read-only access to that image template group.
It is important to note that this data type should only exist to give accounts access to the parent template group object, not the child. All image template sharing between accounts should occur on the parent object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Accounts.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The [[SoftLayer_Account|account]] that an image template group is shared with.protected Long
accountId
The [[SoftLayer_Account|account]] ID which will have access to an image.protected boolean
accountIdSpecified
protected GregorianCalendar
createDate
The date access was granted to an account.protected boolean
createDateSpecified
protected Group
group
The [[SoftLayer_Virtual_Guest_Block_Device_Template_Group|image template group]] that is shared with an account.protected Long
groupId
The [[SoftLayer_Virtual_Guest_Block_Device_Template_Group|group]] ID which access will be granted to.protected boolean
groupIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Accounts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
Long
getAccountId()
GregorianCalendar
getCreateDate()
Group
getGroup()
Long
getGroupId()
boolean
isAccountIdSpecified()
boolean
isCreateDateSpecified()
boolean
isGroupIdSpecified()
void
setAccount(Account account)
void
setAccountId(Long accountId)
void
setCreateDate(GregorianCalendar createDate)
void
setGroup(Group group)
void
setGroupId(Long groupId)
void
unsetAccountId()
void
unsetCreateDate()
void
unsetGroupId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The [[SoftLayer_Account|account]] that an image template group is shared with.
-
group
@ApiProperty protected Group group
The [[SoftLayer_Virtual_Guest_Block_Device_Template_Group|image template group]] that is shared with an account.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The [[SoftLayer_Account|account]] ID which will have access to an image.
-
accountIdSpecified
protected boolean accountIdSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date access was granted to an account.
-
createDateSpecified
protected boolean createDateSpecified
-
groupId
@ApiProperty(canBeNullOrNotSet=true) protected Long groupId
The [[SoftLayer_Virtual_Guest_Block_Device_Template_Group|group]] ID which access will be granted to.
-
groupIdSpecified
protected boolean groupIdSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getGroup
public Group getGroup()
-
setGroup
public void setGroup(Group group)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getGroupId
public Long getGroupId()
-
setGroupId
public void setGroupId(Long groupId)
-
isGroupIdSpecified
public boolean isGroupIdSpecified()
-
unsetGroupId
public void unsetGroupId()
-
-