Class Locations
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.product.pkg.Locations
-
@ApiType("SoftLayer_Product_Package_Locations") public class Locations extends Entity
Most packages are available in many locations. This object describes that availability for each package.- See Also:
- SoftLayer_Product_Package_Locations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Locations.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
deliveryTimeInformation
This describes the availability of the package tied to this location.protected boolean
deliveryTimeInformationSpecified
protected Long
isAvailable
A simple flag which describes whether or not this location is available for this package.protected boolean
isAvailableSpecified
protected Location
location
The location to which this object belongs.protected Long
locationId
The location id tied to this object.protected boolean
locationIdSpecified
protected Package
locationsPackage
The package to which this object belongs.protected Long
packageId
The SoftLayer_Product_Package ID tied to this object.protected boolean
packageIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Locations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDeliveryTimeInformation()
Long
getIsAvailable()
Location
getLocation()
Long
getLocationId()
Package
getLocationsPackage()
Long
getPackageId()
boolean
isDeliveryTimeInformationSpecified()
boolean
isIsAvailableSpecified()
boolean
isLocationIdSpecified()
boolean
isPackageIdSpecified()
void
setDeliveryTimeInformation(String deliveryTimeInformation)
void
setIsAvailable(Long isAvailable)
void
setLocation(Location location)
void
setLocationId(Long locationId)
void
setLocationsPackage(Package locationsPackage)
void
setPackageId(Long packageId)
void
unsetDeliveryTimeInformation()
void
unsetIsAvailable()
void
unsetLocationId()
void
unsetPackageId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
location
@ApiProperty protected Location location
The location to which this object belongs.
-
locationsPackage
@ApiProperty("package") protected Package locationsPackage
The package to which this object belongs.
-
deliveryTimeInformation
@ApiProperty(canBeNullOrNotSet=true) protected String deliveryTimeInformation
This describes the availability of the package tied to this location.
-
deliveryTimeInformationSpecified
protected boolean deliveryTimeInformationSpecified
-
isAvailable
@ApiProperty(canBeNullOrNotSet=true) protected Long isAvailable
A simple flag which describes whether or not this location is available for this package.
-
isAvailableSpecified
protected boolean isAvailableSpecified
-
locationId
@ApiProperty(canBeNullOrNotSet=true) protected Long locationId
The location id tied to this object.
-
locationIdSpecified
protected boolean locationIdSpecified
-
packageId
@ApiProperty(canBeNullOrNotSet=true) protected Long packageId
The SoftLayer_Product_Package ID tied to this object.
-
packageIdSpecified
protected boolean packageIdSpecified
-
-
Method Detail
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getLocationsPackage
public Package getLocationsPackage()
-
setLocationsPackage
public void setLocationsPackage(Package locationsPackage)
-
getDeliveryTimeInformation
public String getDeliveryTimeInformation()
-
setDeliveryTimeInformation
public void setDeliveryTimeInformation(String deliveryTimeInformation)
-
isDeliveryTimeInformationSpecified
public boolean isDeliveryTimeInformationSpecified()
-
unsetDeliveryTimeInformation
public void unsetDeliveryTimeInformation()
-
getIsAvailable
public Long getIsAvailable()
-
setIsAvailable
public void setIsAvailable(Long isAvailable)
-
isIsAvailableSpecified
public boolean isIsAvailableSpecified()
-
unsetIsAvailable
public void unsetIsAvailable()
-
getLocationId
public Long getLocationId()
-
setLocationId
public void setLocationId(Long locationId)
-
isLocationIdSpecified
public boolean isLocationIdSpecified()
-
unsetLocationId
public void unsetLocationId()
-
getPackageId
public Long getPackageId()
-
setPackageId
public void setPackageId(Long packageId)
-
isPackageIdSpecified
public boolean isPackageIdSpecified()
-
unsetPackageId
public void unsetPackageId()
-
-