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

com.softlayer.api.service.catalyst.enrollment.Request Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.catalyst.enrollment;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.catalyst.Affiliate;
import com.softlayer.api.service.catalyst.company.Type;
import com.softlayer.api.service.catalyst.enrollment.request.MarketingConsent;

/**
 * Contains user information for Catalyst self-enrollment. 
 *
 * @see SoftLayer_Catalyst_Enrollment_Request
 */
@ApiType("SoftLayer_Catalyst_Enrollment_Request")
public class Request extends Entity {

    @ApiProperty
    protected Affiliate affiliate;

    public Affiliate getAffiliate() {
        return affiliate;
    }

    public void setAffiliate(Affiliate affiliate) {
        this.affiliate = affiliate;
    }

    @ApiProperty
    protected Type companyType;

    public Type getCompanyType() {
        return companyType;
    }

    public void setCompanyType(Type companyType) {
        this.companyType = companyType;
    }

    @ApiProperty
    protected MarketingConsent marketingConsent;

    public MarketingConsent getMarketingConsent() {
        return marketingConsent;
    }

    public void setMarketingConsent(MarketingConsent marketingConsent) {
        this.marketingConsent = marketingConsent;
    }

    /**
     * Applicant's address
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String address1;

    public String getAddress1() {
        return address1;
    }

    public void setAddress1(String address1) {
        address1Specified = true;
        this.address1 = address1;
    }

    protected boolean address1Specified;

    public boolean isAddress1Specified() {
        return address1Specified;
    }

    public void unsetAddress1() {
        address1 = null;
        address1Specified = false;
    }

    /**
     * Additional field for extended address
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String address2;

    public String getAddress2() {
        return address2;
    }

    public void setAddress2(String address2) {
        address2Specified = true;
        this.address2 = address2;
    }

    protected boolean address2Specified;

    public boolean isAddress2Specified() {
        return address2Specified;
    }

    public void unsetAddress2() {
        address2 = null;
        address2Specified = false;
    }

    /**
     * Id of the affiliate who referred applicant's
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long affiliateId;

    public Long getAffiliateId() {
        return affiliateId;
    }

    public void setAffiliateId(Long affiliateId) {
        affiliateIdSpecified = true;
        this.affiliateId = affiliateId;
    }

    protected boolean affiliateIdSpecified;

    public boolean isAffiliateIdSpecified() {
        return affiliateIdSpecified;
    }

    public void unsetAffiliateId() {
        affiliateId = null;
        affiliateIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean agreementCompleteFlag;

    public Boolean getAgreementCompleteFlag() {
        return agreementCompleteFlag;
    }

    public void setAgreementCompleteFlag(Boolean agreementCompleteFlag) {
        agreementCompleteFlagSpecified = true;
        this.agreementCompleteFlag = agreementCompleteFlag;
    }

    protected boolean agreementCompleteFlagSpecified;

    public boolean isAgreementCompleteFlagSpecified() {
        return agreementCompleteFlagSpecified;
    }

    public void unsetAgreementCompleteFlag() {
        agreementCompleteFlag = null;
        agreementCompleteFlagSpecified = false;
    }

    /**
     * Determines whether or not to also apply to the GEP program
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean applyToGepFlag;

    public Boolean getApplyToGepFlag() {
        return applyToGepFlag;
    }

    public void setApplyToGepFlag(Boolean applyToGepFlag) {
        applyToGepFlagSpecified = true;
        this.applyToGepFlag = applyToGepFlag;
    }

    protected boolean applyToGepFlagSpecified;

    public boolean isApplyToGepFlagSpecified() {
        return applyToGepFlagSpecified;
    }

    public void unsetApplyToGepFlag() {
        applyToGepFlag = null;
        applyToGepFlagSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String cardAccountNumber;

    public String getCardAccountNumber() {
        return cardAccountNumber;
    }

    public void setCardAccountNumber(String cardAccountNumber) {
        cardAccountNumberSpecified = true;
        this.cardAccountNumber = cardAccountNumber;
    }

    protected boolean cardAccountNumberSpecified;

    public boolean isCardAccountNumberSpecified() {
        return cardAccountNumberSpecified;
    }

    public void unsetCardAccountNumber() {
        cardAccountNumber = null;
        cardAccountNumberSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String cardExpirationMonth;

    public String getCardExpirationMonth() {
        return cardExpirationMonth;
    }

    public void setCardExpirationMonth(String cardExpirationMonth) {
        cardExpirationMonthSpecified = true;
        this.cardExpirationMonth = cardExpirationMonth;
    }

    protected boolean cardExpirationMonthSpecified;

    public boolean isCardExpirationMonthSpecified() {
        return cardExpirationMonthSpecified;
    }

    public void unsetCardExpirationMonth() {
        cardExpirationMonth = null;
        cardExpirationMonthSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String cardExpirationYear;

    public String getCardExpirationYear() {
        return cardExpirationYear;
    }

    public void setCardExpirationYear(String cardExpirationYear) {
        cardExpirationYearSpecified = true;
        this.cardExpirationYear = cardExpirationYear;
    }

    protected boolean cardExpirationYearSpecified;

    public boolean isCardExpirationYearSpecified() {
        return cardExpirationYearSpecified;
    }

    public void unsetCardExpirationYear() {
        cardExpirationYear = null;
        cardExpirationYearSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String cardType;

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        cardTypeSpecified = true;
        this.cardType = cardType;
    }

    protected boolean cardTypeSpecified;

    public boolean isCardTypeSpecified() {
        return cardTypeSpecified;
    }

    public void unsetCardType() {
        cardType = null;
        cardTypeSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String cardVerificationNumber;

    public String getCardVerificationNumber() {
        return cardVerificationNumber;
    }

    public void setCardVerificationNumber(String cardVerificationNumber) {
        cardVerificationNumberSpecified = true;
        this.cardVerificationNumber = cardVerificationNumber;
    }

    protected boolean cardVerificationNumberSpecified;

    public boolean isCardVerificationNumberSpecified() {
        return cardVerificationNumberSpecified;
    }

    public void unsetCardVerificationNumber() {
        cardVerificationNumber = null;
        cardVerificationNumberSpecified = false;
    }

    /**
     * Applicant's city
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String city;

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        citySpecified = true;
        this.city = city;
    }

    protected boolean citySpecified;

    public boolean isCitySpecified() {
        return citySpecified;
    }

    public void unsetCity() {
        city = null;
        citySpecified = false;
    }

    /**
     * Brief description of Startup's product and key differentiators
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String companyDescription;

    public String getCompanyDescription() {
        return companyDescription;
    }

    public void setCompanyDescription(String companyDescription) {
        companyDescriptionSpecified = true;
        this.companyDescription = companyDescription;
    }

    protected boolean companyDescriptionSpecified;

    public boolean isCompanyDescriptionSpecified() {
        return companyDescriptionSpecified;
    }

    public void unsetCompanyDescription() {
        companyDescription = null;
        companyDescriptionSpecified = false;
    }

    /**
     * Name of the applicant's company
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String companyName;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        companyNameSpecified = true;
        this.companyName = companyName;
    }

    protected boolean companyNameSpecified;

    public boolean isCompanyNameSpecified() {
        return companyNameSpecified;
    }

    public void unsetCompanyName() {
        companyName = null;
        companyNameSpecified = false;
    }

    /**
     * Id of the company type which best describes applicant's company
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long companyTypeId;

    public Long getCompanyTypeId() {
        return companyTypeId;
    }

    public void setCompanyTypeId(Long companyTypeId) {
        companyTypeIdSpecified = true;
        this.companyTypeId = companyTypeId;
    }

    protected boolean companyTypeIdSpecified;

    public boolean isCompanyTypeIdSpecified() {
        return companyTypeIdSpecified;
    }

    public void unsetCompanyTypeId() {
        companyTypeId = null;
        companyTypeIdSpecified = false;
    }

    /**
     * URL to the Startup's site
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String companyUrl;

    public String getCompanyUrl() {
        return companyUrl;
    }

    public void setCompanyUrl(String companyUrl) {
        companyUrlSpecified = true;
        this.companyUrl = companyUrl;
    }

    protected boolean companyUrlSpecified;

    public boolean isCompanyUrlSpecified() {
        return companyUrlSpecified;
    }

    public void unsetCompanyUrl() {
        companyUrl = null;
        companyUrlSpecified = false;
    }

    /**
     * Applicant's country code
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String country;

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        countrySpecified = true;
        this.country = country;
    }

    protected boolean countrySpecified;

    public boolean isCountrySpecified() {
        return countrySpecified;
    }

    public void unsetCountry() {
        country = null;
        countrySpecified = false;
    }

    /**
     * Index of answer chosen for how many current users question
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long currentUserChoice;

    public Long getCurrentUserChoice() {
        return currentUserChoice;
    }

    public void setCurrentUserChoice(Long currentUserChoice) {
        currentUserChoiceSpecified = true;
        this.currentUserChoice = currentUserChoice;
    }

    protected boolean currentUserChoiceSpecified;

    public boolean isCurrentUserChoiceSpecified() {
        return currentUserChoiceSpecified;
    }

    public void unsetCurrentUserChoice() {
        currentUserChoice = null;
        currentUserChoiceSpecified = false;
    }

    /**
     * Id of the fingerprint
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String deviceFingerprintId;

    public String getDeviceFingerprintId() {
        return deviceFingerprintId;
    }

    public void setDeviceFingerprintId(String deviceFingerprintId) {
        deviceFingerprintIdSpecified = true;
        this.deviceFingerprintId = deviceFingerprintId;
    }

    protected boolean deviceFingerprintIdSpecified;

    public boolean isDeviceFingerprintIdSpecified() {
        return deviceFingerprintIdSpecified;
    }

    public void unsetDeviceFingerprintId() {
        deviceFingerprintId = null;
        deviceFingerprintIdSpecified = false;
    }

    /**
     * Applicant's email address
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        emailSpecified = true;
        this.email = email;
    }

    protected boolean emailSpecified;

    public boolean isEmailSpecified() {
        return emailSpecified;
    }

    public void unsetEmail() {
        email = null;
        emailSpecified = false;
    }

    /**
     * Applicant's first name
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String firstName;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        firstNameSpecified = true;
        this.firstName = firstName;
    }

    protected boolean firstNameSpecified;

    public boolean isFirstNameSpecified() {
        return firstNameSpecified;
    }

    public void unsetFirstName() {
        firstName = null;
        firstNameSpecified = false;
    }

    /**
     * Index of answer chosen for how many future users question
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long futureUserChoice;

    public Long getFutureUserChoice() {
        return futureUserChoice;
    }

    public void setFutureUserChoice(Long futureUserChoice) {
        futureUserChoiceSpecified = true;
        this.futureUserChoice = futureUserChoice;
    }

    protected boolean futureUserChoiceSpecified;

    public boolean isFutureUserChoiceSpecified() {
        return futureUserChoiceSpecified;
    }

    public void unsetFutureUserChoice() {
        futureUserChoice = null;
        futureUserChoiceSpecified = false;
    }

    /**
     * Master user's IBMId username
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String ibmIdUsername;

    public String getIbmIdUsername() {
        return ibmIdUsername;
    }

    public void setIbmIdUsername(String ibmIdUsername) {
        ibmIdUsernameSpecified = true;
        this.ibmIdUsername = ibmIdUsername;
    }

    protected boolean ibmIdUsernameSpecified;

    public boolean isIbmIdUsernameSpecified() {
        return ibmIdUsernameSpecified;
    }

    public void unsetIbmIdUsername() {
        ibmIdUsername = null;
        ibmIdUsernameSpecified = false;
    }

    /**
     * Name of accelerator or incubator startup belongs to, if any
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String incubatorName;

    public String getIncubatorName() {
        return incubatorName;
    }

    public void setIncubatorName(String incubatorName) {
        incubatorNameSpecified = true;
        this.incubatorName = incubatorName;
    }

    protected boolean incubatorNameSpecified;

    public boolean isIncubatorNameSpecified() {
        return incubatorNameSpecified;
    }

    public void unsetIncubatorName() {
        incubatorName = null;
        incubatorNameSpecified = false;
    }

    /**
     * Name of the investor, if any
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String investorName;

    public String getInvestorName() {
        return investorName;
    }

    public void setInvestorName(String investorName) {
        investorNameSpecified = true;
        this.investorName = investorName;
    }

    protected boolean investorNameSpecified;

    public boolean isInvestorNameSpecified() {
        return investorNameSpecified;
    }

    public void unsetInvestorName() {
        investorName = null;
        investorNameSpecified = false;
    }

    /**
     * Applicant's last name
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String lastName;

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        lastNameSpecified = true;
        this.lastName = lastName;
    }

    protected boolean lastNameSpecified;

    public boolean isLastNameSpecified() {
        return lastNameSpecified;
    }

    public void unsetLastName() {
        lastName = null;
        lastNameSpecified = false;
    }

    /**
     * Applicant's primary phone number
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String officePhone;

    public String getOfficePhone() {
        return officePhone;
    }

    public void setOfficePhone(String officePhone) {
        officePhoneSpecified = true;
        this.officePhone = officePhone;
    }

    protected boolean officePhoneSpecified;

    public boolean isOfficePhoneSpecified() {
        return officePhoneSpecified;
    }

    public void unsetOfficePhone() {
        officePhone = null;
        officePhoneSpecified = false;
    }

    /**
     * Whether or not the startup has been operating for more than five years
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean overFiveYearsOldFlag;

    public Boolean getOverFiveYearsOldFlag() {
        return overFiveYearsOldFlag;
    }

    public void setOverFiveYearsOldFlag(Boolean overFiveYearsOldFlag) {
        overFiveYearsOldFlagSpecified = true;
        this.overFiveYearsOldFlag = overFiveYearsOldFlag;
    }

    protected boolean overFiveYearsOldFlagSpecified;

    public boolean isOverFiveYearsOldFlagSpecified() {
        return overFiveYearsOldFlagSpecified;
    }

    public void unsetOverFiveYearsOldFlag() {
        overFiveYearsOldFlag = null;
        overFiveYearsOldFlagSpecified = false;
    }

    /**
     * Applicant's postal code
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String postalCode;

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        postalCodeSpecified = true;
        this.postalCode = postalCode;
    }

    protected boolean postalCodeSpecified;

    public boolean isPostalCodeSpecified() {
        return postalCodeSpecified;
    }

    public void unsetPostalCode() {
        postalCode = null;
        postalCodeSpecified = false;
    }

    /**
     * IBM referral code, if any
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String referralCode;

    public String getReferralCode() {
        return referralCode;
    }

    public void setReferralCode(String referralCode) {
        referralCodeSpecified = true;
        this.referralCode = referralCode;
    }

    protected boolean referralCodeSpecified;

    public boolean isReferralCodeSpecified() {
        return referralCodeSpecified;
    }

    public void unsetReferralCode() {
        referralCode = null;
        referralCodeSpecified = false;
    }

    /**
     * Whether or not the startup has over one million in annual revenue
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean revenueOverOneMillionFlag;

    public Boolean getRevenueOverOneMillionFlag() {
        return revenueOverOneMillionFlag;
    }

    public void setRevenueOverOneMillionFlag(Boolean revenueOverOneMillionFlag) {
        revenueOverOneMillionFlagSpecified = true;
        this.revenueOverOneMillionFlag = revenueOverOneMillionFlag;
    }

    protected boolean revenueOverOneMillionFlagSpecified;

    public boolean isRevenueOverOneMillionFlagSpecified() {
        return revenueOverOneMillionFlagSpecified;
    }

    public void unsetRevenueOverOneMillionFlag() {
        revenueOverOneMillionFlag = null;
        revenueOverOneMillionFlagSpecified = false;
    }

    /**
     * Determines whether or not to apply to the Catalyst program
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean skipCatalystApplicationFlag;

    public Boolean getSkipCatalystApplicationFlag() {
        return skipCatalystApplicationFlag;
    }

    public void setSkipCatalystApplicationFlag(Boolean skipCatalystApplicationFlag) {
        skipCatalystApplicationFlagSpecified = true;
        this.skipCatalystApplicationFlag = skipCatalystApplicationFlag;
    }

    protected boolean skipCatalystApplicationFlagSpecified;

    public boolean isSkipCatalystApplicationFlagSpecified() {
        return skipCatalystApplicationFlagSpecified;
    }

    public void unsetSkipCatalystApplicationFlag() {
        skipCatalystApplicationFlag = null;
        skipCatalystApplicationFlagSpecified = false;
    }

    /**
     * Applicant's state/region code
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        stateSpecified = true;
        this.state = state;
    }

    protected boolean stateSpecified;

    public boolean isStateSpecified() {
        return stateSpecified;
    }

    public void unsetState() {
        state = null;
        stateSpecified = false;
    }

    /**
     * Applicant's vatId, if one exists
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String vatId;

    public String getVatId() {
        return vatId;
    }

    public void setVatId(String vatId) {
        vatIdSpecified = true;
        this.vatId = vatId;
    }

    protected boolean vatIdSpecified;

    public boolean isVatIdSpecified() {
        return vatIdSpecified;
    }

    public void unsetVatId() {
        vatId = null;
        vatIdSpecified = false;
    }

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

        public com.softlayer.api.service.catalyst.Affiliate.Mask affiliate() {
            return withSubMask("affiliate", com.softlayer.api.service.catalyst.Affiliate.Mask.class);
        }

        public com.softlayer.api.service.catalyst.company.Type.Mask companyType() {
            return withSubMask("companyType", com.softlayer.api.service.catalyst.company.Type.Mask.class);
        }

        public com.softlayer.api.service.catalyst.enrollment.request.MarketingConsent.Mask marketingConsent() {
            return withSubMask("marketingConsent", com.softlayer.api.service.catalyst.enrollment.request.MarketingConsent.Mask.class);
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy