Class 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
    • Field Detail

      • activeFlag

        @ApiProperty
        protected Boolean 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

        @ApiProperty
        protected Boolean 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

        @ApiProperty
        protected Item item
        The [[SoftLayer_Product_Item]] associated with the presale event.
      • location

        @ApiProperty
        protected Location location
        The [[SoftLayer_Location]] associated with the presale event.
      • orders

        @ApiProperty
        protected List<Order> orders
        The orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account.
      • descriptionSpecified

        protected boolean descriptionSpecified
      • endDateSpecified

        protected boolean endDateSpecified
      • idSpecified

        protected boolean idSpecified
      • itemIdSpecified

        protected boolean itemIdSpecified
      • locationIdSpecified

        protected boolean locationIdSpecified
      • startDateSpecified

        protected boolean startDateSpecified
      • orderCount

        @ApiProperty
        protected Long orderCount
        A count of the orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account.
    • Constructor Detail

      • Event

        public Event()
    • Method Detail

      • getActiveFlag

        public Boolean getActiveFlag()
      • setActiveFlag

        public void setActiveFlag​(Boolean activeFlag)
      • getExpiredFlag

        public Boolean getExpiredFlag()
      • setExpiredFlag

        public void setExpiredFlag​(Boolean expiredFlag)
      • getItem

        public Item getItem()
      • setItem

        public void setItem​(Item item)
      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • isDescriptionSpecified

        public boolean isDescriptionSpecified()
      • unsetDescription

        public void unsetDescription()
      • isEndDateSpecified

        public boolean isEndDateSpecified()
      • unsetEndDate

        public void unsetEndDate()
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getItemId

        public Long getItemId()
      • setItemId

        public void setItemId​(Long itemId)
      • isItemIdSpecified

        public boolean isItemIdSpecified()
      • unsetItemId

        public void unsetItemId()
      • getLocationId

        public Long getLocationId()
      • setLocationId

        public void setLocationId​(Long locationId)
      • isLocationIdSpecified

        public boolean isLocationIdSpecified()
      • unsetLocationId

        public void unsetLocationId()
      • isStartDateSpecified

        public boolean isStartDateSpecified()
      • unsetStartDate

        public void unsetStartDate()
      • getOrderCount

        public Long getOrderCount()
      • setOrderCount

        public void setOrderCount​(Long orderCount)