Interface Type.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Type
@ApiService("SoftLayer_Product_Package_Type") public static interface Type.Service extends Service
The [[SoftLayer_Product_Package_Type]] object indicates the type for a service offering (package). The type can be used to filter packages. To find all the available types, call `getAllObjects` on this class.- See Also:
- SoftLayer_Product_Package_Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type.ServiceAsync
asAsync()
Get an async version of this serviceList<Type>
getAllObjects()
This method will return all of the available package types.Type
getObject()
List<Package>
getPackages()
All the packages associated with the given package type.void
setMask(Type.Mask mask)
Type.Mask
withMask()
Use the existing mask on this service or create it if not presentType.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Type.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Type.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Type.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Type.Mask mask)
-
getAllObjects
@ApiMethod List<Type> getAllObjects()
This method will return all of the available package types.
-
getObject
@ApiMethod(instanceRequired=true) Type getObject()
-
getPackages
@ApiMethod(instanceRequired=true) List<Package> getPackages()
All the packages associated with the given package type.
-
-