Class Event
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.sales.presale.Event
@ApiType("SoftLayer_Sales_Presale_Event") public class Event extends Entity
The presale event data types indicate the information regarding an individual presale event. The '''locationId''' will indicate the datacenter associated with the presale event. The '''itemId''' will indicate the product item associated with a particular presale event - however these are more rare. The '''startDate''' and '''endDate''' will provide information regarding when the presale event is available for use. At the end of the presale event, the server or services purchased will be available once approved and provisioned.
- See Also:
- SoftLayer_Sales_Presale_Event
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Event.Mask
static interface
Event.Service
Presale events are related to datacenters or products that are not yet currently available, but will be in the near future.static interface
Event.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
activeFlag
A flag to indicate that the presale event is currently active.protected String
description
Description of the presale event.protected boolean
descriptionSpecified
protected GregorianCalendar
endDate
End date of the presale event.protected boolean
endDateSpecified
protected Boolean
expiredFlag
A flag to indicate that the presale event is expired.protected Long
id
Presale event unique identifier.protected boolean
idSpecified
protected Item
item
The [[SoftLayer_Product_Item]] associated with the presale event.protected Long
itemId
[[SoftLayer_Product_Item]] id associated with the presale event.protected boolean
itemIdSpecified
protected Location
location
The [[SoftLayer_Location]] associated with the presale event.protected Long
locationId
[[SoftLayer_Location]] id for the presale event.protected boolean
locationIdSpecified
protected Long
orderCount
A count of the orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account.protected List<Order>
orders
The orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account.protected GregorianCalendar
startDate
Start date of the presale event.protected boolean
startDateSpecified
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
-
Field Details
-
activeFlag
A flag to indicate that the presale event is currently active. A presale event is active if the current time is between the start and end dates. -
expiredFlag
A flag to indicate that the presale event is expired. A presale event is expired if the current time is after the end date. -
item
The [[SoftLayer_Product_Item]] associated with the presale event. -
location
The [[SoftLayer_Location]] associated with the presale event. -
orders
The orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account. -
description
Description of the presale event. -
descriptionSpecified
protected boolean descriptionSpecified -
endDate
End date of the presale event. Orders can be approved and provisioned after this date. -
endDateSpecified
protected boolean endDateSpecified -
id
Presale event unique identifier. -
idSpecified
protected boolean idSpecified -
itemId
[[SoftLayer_Product_Item]] id associated with the presale event. -
itemIdSpecified
protected boolean itemIdSpecified -
locationId
[[SoftLayer_Location]] id for the presale event. -
locationIdSpecified
protected boolean locationIdSpecified -
startDate
Start date of the presale event. Orders cannot be approved before this date. -
startDateSpecified
protected boolean startDateSpecified -
orderCount
A count of the orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account.
-
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
getActiveFlag
-
setActiveFlag
-
getExpiredFlag
-
setExpiredFlag
-
getItem
-
setItem
-
getLocation
-
setLocation
-
getOrders
-
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getEndDate
-
setEndDate
-
isEndDateSpecified
public boolean isEndDateSpecified() -
unsetEndDate
public void unsetEndDate() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getItemId
-
setItemId
-
isItemIdSpecified
public boolean isItemIdSpecified() -
unsetItemId
public void unsetItemId() -
getLocationId
-
setLocationId
-
isLocationIdSpecified
public boolean isLocationIdSpecified() -
unsetLocationId
public void unsetLocationId() -
getStartDate
-
setStartDate
-
isStartDateSpecified
public boolean isStartDateSpecified() -
unsetStartDate
public void unsetStartDate() -
getOrderCount
-
setOrderCount
-
asService
-
service
-
service
-