Class Reservation
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.location.Reservation
-
@ApiType("SoftLayer_Location_Reservation") public class Reservation extends Entity
- See Also:
- SoftLayer_Location_Reservation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Reservation.Mask
static interface
Reservation.Service
static interface
Reservation.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account that a billing item belongs to.protected Allotment
allotment
The bandwidth allotment that the reservation belongs to.protected Long
allotmentId
protected boolean
allotmentIdSpecified
protected Item
billingItem
The bandwidth allotment that the reservation belongs to.protected Long
id
protected boolean
idSpecified
protected Location
location
The datacenter location that the reservation belongs to.protected Long
locationId
protected boolean
locationIdSpecified
protected Rack
locationReservationRack
Rack information for the reservationprotected String
name
protected boolean
nameSpecified
protected String
notes
protected boolean
notesSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Reservation()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account that a billing item belongs to.
-
allotment
@ApiProperty protected Allotment allotment
The bandwidth allotment that the reservation belongs to.
-
billingItem
@ApiProperty protected Item billingItem
The bandwidth allotment that the reservation belongs to.
-
location
@ApiProperty protected Location location
The datacenter location that the reservation belongs to.
-
locationReservationRack
@ApiProperty protected Rack locationReservationRack
Rack information for the reservation
-
allotmentId
@ApiProperty(canBeNullOrNotSet=true) protected Long allotmentId
-
allotmentIdSpecified
protected boolean allotmentIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
-
idSpecified
protected boolean idSpecified
-
locationId
@ApiProperty(canBeNullOrNotSet=true) protected Long locationId
-
locationIdSpecified
protected boolean locationIdSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
-
nameSpecified
protected boolean nameSpecified
-
notes
@ApiProperty(canBeNullOrNotSet=true) protected String notes
-
notesSpecified
protected boolean notesSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getAllotment
public Allotment getAllotment()
-
setAllotment
public void setAllotment(Allotment allotment)
-
getBillingItem
public Item getBillingItem()
-
setBillingItem
public void setBillingItem(Item billingItem)
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getLocationReservationRack
public Rack getLocationReservationRack()
-
setLocationReservationRack
public void setLocationReservationRack(Rack locationReservationRack)
-
getAllotmentId
public Long getAllotmentId()
-
setAllotmentId
public void setAllotmentId(Long allotmentId)
-
isAllotmentIdSpecified
public boolean isAllotmentIdSpecified()
-
unsetAllotmentId
public void unsetAllotmentId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getLocationId
public Long getLocationId()
-
setLocationId
public void setLocationId(Long locationId)
-
isLocationIdSpecified
public boolean isLocationIdSpecified()
-
unsetLocationId
public void unsetLocationId()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getNotes
public String getNotes()
-
setNotes
public void setNotes(String notes)
-
isNotesSpecified
public boolean isNotesSpecified()
-
unsetNotes
public void unsetNotes()
-
asService
public Reservation.Service asService(ApiClient client)
-
service
public static Reservation.Service service(ApiClient client)
-
service
public static Reservation.Service service(ApiClient client, Long id)
-
-