All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.container.account.proofofconcept.request.GlobalFunded Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.container.account.proofofconcept.request;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.container.account.proofofconcept.contact.Customer;
import com.softlayer.api.service.container.account.proofofconcept.contact.ibmer.Requester;
import com.softlayer.api.service.container.account.proofofconcept.contact.ibmer.Technical;
import com.softlayer.api.service.container.account.proofofconcept.request.Opportunity;
import java.math.BigDecimal;
import java.util.GregorianCalendar;

/**
 * Proof of concept request using the global funding model. Note that proof of concept account request are available only to internal IBM employees. 
 *
 * @see SoftLayer_Container_Account_ProofOfConcept_Request_GlobalFunded
 */
@ApiType("SoftLayer_Container_Account_ProofOfConcept_Request_GlobalFunded")
public class GlobalFunded extends Entity {

    /**
     * Dollar amount of funding requested for the proof of concept period
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected BigDecimal amount;

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        amountSpecified = true;
        this.amount = amount;
    }

    protected boolean amountSpecified;

    public boolean isAmountSpecified() {
        return amountSpecified;
    }

    public void unsetAmount() {
        amount = null;
        amountSpecified = false;
    }

    /**
     * Customer intended to take over ownership and and billing of the account
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Customer customer;

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        customerSpecified = true;
        this.customer = customer;
    }

    protected boolean customerSpecified;

    public boolean isCustomerSpecified() {
        return customerSpecified;
    }

    public void unsetCustomer() {
        customer = null;
        customerSpecified = false;
    }

    /**
     * Explanation of the purpose of the proof of concept request
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        descriptionSpecified = true;
        this.description = description;
    }

    protected boolean descriptionSpecified;

    public boolean isDescriptionSpecified() {
        return descriptionSpecified;
    }

    public void unsetDescription() {
        description = null;
        descriptionSpecified = false;
    }

    /**
     * End date for the proof of concept period
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar endDate;

    public GregorianCalendar getEndDate() {
        return endDate;
    }

    public void setEndDate(GregorianCalendar endDate) {
        endDateSpecified = true;
        this.endDate = endDate;
    }

    protected boolean endDateSpecified;

    public boolean isEndDateSpecified() {
        return endDateSpecified;
    }

    public void unsetEndDate() {
        endDate = null;
        endDateSpecified = false;
    }

    /**
     * Internal opportunity system details
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Opportunity opportunity;

    public Opportunity getOpportunity() {
        return opportunity;
    }

    public void setOpportunity(Opportunity opportunity) {
        opportunitySpecified = true;
        this.opportunity = opportunity;
    }

    protected boolean opportunitySpecified;

    public boolean isOpportunitySpecified() {
        return opportunitySpecified;
    }

    public void unsetOpportunity() {
        opportunity = null;
        opportunitySpecified = false;
    }

    /**
     * Name of the project or company and will become the account companyName
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String projectName;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        projectNameSpecified = true;
        this.projectName = projectName;
    }

    protected boolean projectNameSpecified;

    public boolean isProjectNameSpecified() {
        return projectNameSpecified;
    }

    public void unsetProjectName() {
        projectName = null;
        projectNameSpecified = false;
    }

    /**
     * IBM region responsible for overseeing the proof of concept account
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String regionKeyName;

    public String getRegionKeyName() {
        return regionKeyName;
    }

    public void setRegionKeyName(String regionKeyName) {
        regionKeyNameSpecified = true;
        this.regionKeyName = regionKeyName;
    }

    protected boolean regionKeyNameSpecified;

    public boolean isRegionKeyNameSpecified() {
        return regionKeyNameSpecified;
    }

    public void unsetRegionKeyName() {
        regionKeyName = null;
        regionKeyNameSpecified = false;
    }

    /**
     * IBMer requesting the proof of concept account
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Requester requester;

    public Requester getRequester() {
        return requester;
    }

    public void setRequester(Requester requester) {
        requesterSpecified = true;
        this.requester = requester;
    }

    protected boolean requesterSpecified;

    public boolean isRequesterSpecified() {
        return requesterSpecified;
    }

    public void unsetRequester() {
        requester = null;
        requesterSpecified = false;
    }

    /**
     * Start date for the proof of concept period
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar startDate;

    public GregorianCalendar getStartDate() {
        return startDate;
    }

    public void setStartDate(GregorianCalendar startDate) {
        startDateSpecified = true;
        this.startDate = startDate;
    }

    protected boolean startDateSpecified;

    public boolean isStartDateSpecified() {
        return startDateSpecified;
    }

    public void unsetStartDate() {
        startDate = null;
        startDateSpecified = false;
    }

    /**
     * IBMer assisting with technical aspects of account configuration
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Technical technicalContact;

    public Technical getTechnicalContact() {
        return technicalContact;
    }

    public void setTechnicalContact(Technical technicalContact) {
        technicalContactSpecified = true;
        this.technicalContact = technicalContact;
    }

    protected boolean technicalContactSpecified;

    public boolean isTechnicalContactSpecified() {
        return technicalContactSpecified;
    }

    public void unsetTechnicalContact() {
        technicalContact = null;
        technicalContactSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask amount() {
            withLocalProperty("amount");
            return this;
        }

        public com.softlayer.api.service.container.account.proofofconcept.contact.Customer.Mask customer() {
            return withSubMask("customer", com.softlayer.api.service.container.account.proofofconcept.contact.Customer.Mask.class);
        }

        public Mask description() {
            withLocalProperty("description");
            return this;
        }

        public Mask endDate() {
            withLocalProperty("endDate");
            return this;
        }

        public Opportunity.Mask opportunity() {
            return withSubMask("opportunity", Opportunity.Mask.class);
        }

        public Mask projectName() {
            withLocalProperty("projectName");
            return this;
        }

        public Mask regionKeyName() {
            withLocalProperty("regionKeyName");
            return this;
        }

        public com.softlayer.api.service.container.account.proofofconcept.contact.ibmer.Requester.Mask requester() {
            return withSubMask("requester", com.softlayer.api.service.container.account.proofofconcept.contact.ibmer.Requester.Mask.class);
        }

        public Mask startDate() {
            withLocalProperty("startDate");
            return this;
        }

        public com.softlayer.api.service.container.account.proofofconcept.contact.ibmer.Technical.Mask technicalContact() {
            return withSubMask("technicalContact", com.softlayer.api.service.container.account.proofofconcept.contact.ibmer.Technical.Mask.class);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy