Class License
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.software.License
-
@ApiType("SoftLayer_Software_License") public class License extends Entity
This class describes a specific type of license, like a Microsoft Windows Site License, a GPL license, or a license of another type.- See Also:
- SoftLayer_Software_License
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
License.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account that owns this specific License instance.protected Long
id
An ID number for this specific License type.protected boolean
idSpecified
protected Account
owner
The account that owns this specific License instance.protected Description
softwareDescription
A Description of the software that this license instance is valid for.protected Long
softwareDescriptionId
The ID number of a Software Description that this specific license is valid for.protected boolean
softwareDescriptionIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description License()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
Long
getId()
Account
getOwner()
Description
getSoftwareDescription()
Long
getSoftwareDescriptionId()
boolean
isIdSpecified()
boolean
isSoftwareDescriptionIdSpecified()
void
setAccount(Account account)
void
setId(Long id)
void
setOwner(Account owner)
void
setSoftwareDescription(Description softwareDescription)
void
setSoftwareDescriptionId(Long softwareDescriptionId)
void
unsetId()
void
unsetSoftwareDescriptionId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account that owns this specific License instance.
-
owner
@ApiProperty protected Account owner
The account that owns this specific License instance.
-
softwareDescription
@ApiProperty protected Description softwareDescription
A Description of the software that this license instance is valid for.
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
An ID number for this specific License type.
-
idSpecified
protected boolean idSpecified
-
softwareDescriptionId
@ApiProperty(canBeNullOrNotSet=true) protected Long softwareDescriptionId
The ID number of a Software Description that this specific license is valid for.
-
softwareDescriptionIdSpecified
protected boolean softwareDescriptionIdSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getOwner
public Account getOwner()
-
setOwner
public void setOwner(Account owner)
-
getSoftwareDescription
public Description getSoftwareDescription()
-
setSoftwareDescription
public void setSoftwareDescription(Description softwareDescription)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getSoftwareDescriptionId
public Long getSoftwareDescriptionId()
-
setSoftwareDescriptionId
public void setSoftwareDescriptionId(Long softwareDescriptionId)
-
isSoftwareDescriptionIdSpecified
public boolean isSoftwareDescriptionIdSpecified()
-
unsetSoftwareDescriptionId
public void unsetSoftwareDescriptionId()
-
-