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

com.softlayer.api.service.container.account.proofofconcept.review.Summary Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.account.proofofconcept.review;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.math.BigDecimal;
import java.util.GregorianCalendar;

/**
 * Summary presented to reviewers when determining whether or not to accept a proof of concept request. Note that reviewers are internal IBM employees and reviews are not exposed to external users. 
 *
 * @see SoftLayer_Container_Account_ProofOfConcept_Review_Summary
 */
@ApiType("SoftLayer_Container_Account_ProofOfConcept_Review_Summary")
public class Summary extends Entity {

    /**
     * Account's companyName
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String accountName;

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        accountNameSpecified = true;
        this.accountName = accountName;
    }

    protected boolean accountNameSpecified;

    public boolean isAccountNameSpecified() {
        return accountNameSpecified;
    }

    public void unsetAccountName() {
        accountName = null;
        accountNameSpecified = false;
    }

    /**
     * Current account owner
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String accountOwnerName;

    public String getAccountOwnerName() {
        return accountOwnerName;
    }

    public void setAccountOwnerName(String accountOwnerName) {
        accountOwnerNameSpecified = true;
        this.accountOwnerName = accountOwnerName;
    }

    protected boolean accountOwnerNameSpecified;

    public boolean isAccountOwnerNameSpecified() {
        return accountOwnerNameSpecified;
    }

    public void unsetAccountOwnerName() {
        accountOwnerName = null;
        accountOwnerNameSpecified = false;
    }

    /**
     * Dollar amount requested
     */
    @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;
    }

    /**
     * Date the request was submitted
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar createDate;

    public GregorianCalendar getCreateDate() {
        return createDate;
    }

    public void setCreateDate(GregorianCalendar createDate) {
        createDateSpecified = true;
        this.createDate = createDate;
    }

    protected boolean createDateSpecified;

    public boolean isCreateDateSpecified() {
        return createDateSpecified;
    }

    public void unsetCreateDate() {
        createDate = null;
        createDateSpecified = false;
    }

    /**
     * Email of the customer receiving the proof of concept account
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String customerEmail;

    public String getCustomerEmail() {
        return customerEmail;
    }

    public void setCustomerEmail(String customerEmail) {
        customerEmailSpecified = true;
        this.customerEmail = customerEmail;
    }

    protected boolean customerEmailSpecified;

    public boolean isCustomerEmailSpecified() {
        return customerEmailSpecified;
    }

    public void unsetCustomerEmail() {
        customerEmail = null;
        customerEmailSpecified = false;
    }

    /**
     * Name of the customer receiving the proof of concept account
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String customerName;

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        customerNameSpecified = true;
        this.customerName = customerName;
    }

    protected boolean customerNameSpecified;

    public boolean isCustomerNameSpecified() {
        return customerNameSpecified;
    }

    public void unsetCustomerName() {
        customerName = null;
        customerNameSpecified = false;
    }

    /**
     * Request record's id
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        idSpecified = true;
        this.id = id;
    }

    protected boolean idSpecified;

    public boolean isIdSpecified() {
        return idSpecified;
    }

    public void unsetId() {
        id = null;
        idSpecified = false;
    }

    /**
     * Date of the last state change on the request
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar lastUpdate;

    public GregorianCalendar getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(GregorianCalendar lastUpdate) {
        lastUpdateSpecified = true;
        this.lastUpdate = lastUpdate;
    }

    protected boolean lastUpdateSpecified;

    public boolean isLastUpdateSpecified() {
        return lastUpdateSpecified;
    }

    public void unsetLastUpdate() {
        lastUpdate = null;
        lastUpdateSpecified = false;
    }

    /**
     * Email address of the reviewer, if any, currently reviewing the request
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String nextApproverEmail;

    public String getNextApproverEmail() {
        return nextApproverEmail;
    }

    public void setNextApproverEmail(String nextApproverEmail) {
        nextApproverEmailSpecified = true;
        this.nextApproverEmail = nextApproverEmail;
    }

    protected boolean nextApproverEmailSpecified;

    public boolean isNextApproverEmailSpecified() {
        return nextApproverEmailSpecified;
    }

    public void unsetNextApproverEmail() {
        nextApproverEmail = null;
        nextApproverEmailSpecified = false;
    }

    /**
     * Email address of the requester
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String requesterEmail;

    public String getRequesterEmail() {
        return requesterEmail;
    }

    public void setRequesterEmail(String requesterEmail) {
        requesterEmailSpecified = true;
        this.requesterEmail = requesterEmail;
    }

    protected boolean requesterEmailSpecified;

    public boolean isRequesterEmailSpecified() {
        return requesterEmailSpecified;
    }

    public void unsetRequesterEmail() {
        requesterEmail = null;
        requesterEmailSpecified = false;
    }

    /**
     * Requesting IBMer's full name
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String requesterName;

    public String getRequesterName() {
        return requesterName;
    }

    public void setRequesterName(String requesterName) {
        requesterNameSpecified = true;
        this.requesterName = requesterName;
    }

    protected boolean requesterNameSpecified;

    public boolean isRequesterNameSpecified() {
        return requesterNameSpecified;
    }

    public void unsetRequesterName() {
        requesterName = null;
        requesterNameSpecified = false;
    }

    /**
     * Request's current status (Pending, Denied, or Approved)
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        statusSpecified = true;
        this.status = status;
    }

    protected boolean statusSpecified;

    public boolean isStatusSpecified() {
        return statusSpecified;
    }

    public void unsetStatus() {
        status = null;
        statusSpecified = false;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy