Class Function
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.hardware.Function
@ApiType("SoftLayer_Hardware_Function") public class Function extends Entity
The SoftLayer_Hardware_Function data type contains a generic object type for a piece of hardware, like switch, firewall, server, etc..
- See Also:
- SoftLayer_Hardware_Function
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Function.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
code
The code associated with this hardware function.protected boolean
codeSpecified
protected String
description
The description for a hardware function.protected boolean
descriptionSpecified
protected Long
id
The id associated with a hardware function.protected boolean
idSpecified
-
Constructor Summary
Constructors Constructor Description Function()
-
Method Summary
Modifier and Type Method Description String
getCode()
String
getDescription()
Long
getId()
boolean
isCodeSpecified()
boolean
isDescriptionSpecified()
boolean
isIdSpecified()
void
setCode(String code)
void
setDescription(String description)
void
setId(Long id)
void
unsetCode()
void
unsetDescription()
void
unsetId()
-
Field Details
-
code
The code associated with this hardware function. -
codeSpecified
protected boolean codeSpecified -
description
The description for a hardware function. -
descriptionSpecified
protected boolean descriptionSpecified -
id
The id associated with a hardware function. -
idSpecified
protected boolean idSpecified
-
-
Constructor Details
-
Function
public Function()
-
-
Method Details
-
getCode
-
setCode
-
isCodeSpecified
public boolean isCodeSpecified() -
unsetCode
public void unsetCode() -
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId()
-