Class Option
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.product.pkg.server.Option
-
@ApiType("SoftLayer_Product_Package_Server_Option") public class Option extends Entity
The [[SoftLayer_Product_Package_Server_Option]] data type contains various data points associated with package servers that can be used in selection criteria.- See Also:
- SoftLayer_Product_Package_Server_Option
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Option.Mask
static interface
Option.Service
static interface
Option.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
catalogId
The unique identifier of a Catalog.protected boolean
catalogIdSpecified
protected String
description
A description of the option.protected boolean
descriptionSpecified
protected Long
id
The unique identifier of a Package Server Option.protected boolean
idSpecified
protected String
type
The type of option.protected boolean
typeSpecified
protected String
value
The value of the the option.protected boolean
valueSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Option.Service
asService(ApiClient client)
Long
getCatalogId()
String
getDescription()
Long
getId()
String
getType()
String
getValue()
boolean
isCatalogIdSpecified()
boolean
isDescriptionSpecified()
boolean
isIdSpecified()
boolean
isTypeSpecified()
boolean
isValueSpecified()
static Option.Service
service(ApiClient client)
static Option.Service
service(ApiClient client, Long id)
void
setCatalogId(Long catalogId)
void
setDescription(String description)
void
setId(Long id)
void
setType(String type)
void
setValue(String value)
void
unsetCatalogId()
void
unsetDescription()
void
unsetId()
void
unsetType()
void
unsetValue()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
catalogId
@ApiProperty(canBeNullOrNotSet=true) protected Long catalogId
The unique identifier of a Catalog.
-
catalogIdSpecified
protected boolean catalogIdSpecified
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
A description of the option.
-
descriptionSpecified
protected boolean descriptionSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique identifier of a Package Server Option.
-
idSpecified
protected boolean idSpecified
-
type
@ApiProperty(canBeNullOrNotSet=true) protected String type
The type of option.
-
typeSpecified
protected boolean typeSpecified
-
value
@ApiProperty(canBeNullOrNotSet=true) protected String value
The value of the the option.
-
valueSpecified
protected boolean valueSpecified
-
-
Method Detail
-
getCatalogId
public Long getCatalogId()
-
setCatalogId
public void setCatalogId(Long catalogId)
-
isCatalogIdSpecified
public boolean isCatalogIdSpecified()
-
unsetCatalogId
public void unsetCatalogId()
-
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()
-
getType
public String getType()
-
setType
public void setType(String type)
-
isTypeSpecified
public boolean isTypeSpecified()
-
unsetType
public void unsetType()
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isValueSpecified
public boolean isValueSpecified()
-
unsetValue
public void unsetValue()
-
asService
public Option.Service asService(ApiClient client)
-
service
public static Option.Service service(ApiClient client)
-
service
public static Option.Service service(ApiClient client, Long id)
-
-