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

com.softlayer.api.service.container.account.internal.ibm.Request Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * Contains data required to both request a new IaaS account for active IBM employees and review pending requests. Fields used exclusively in the review process are scrubbed of user input. 
 *
 * @see SoftLayer_Container_Account_Internal_Ibm_Request
 */
@ApiType("SoftLayer_Container_Account_Internal_Ibm_Request")
public class Request extends Entity {

    /**
     * Purpose of the internal IBM account chosen from the list of available
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String accountType;

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        accountTypeSpecified = true;
        this.accountType = accountType;
    }

    protected boolean accountTypeSpecified;

    public boolean isAccountTypeSpecified() {
        return accountTypeSpecified;
    }

    public void unsetAccountType() {
        accountType = null;
        accountTypeSpecified = false;
    }

    /**
     * If no address information is available in BluePages, will use this
     */
    @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;
    }

    /**
     * If no address information is available in BluePages, will use this
     */
    @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;
    }

    /**
     * If no address information is available in BluePages, will use this
     */
    @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;
    }

    /**
     * Name of the company displayed on the IaaS account
     */
    @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;
    }

    /**
     * If no address information is available in BluePages, will use this
     */
    @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;
    }

    /**
     * True if the request has been denied by either the IaaS team or the
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean deniedFlag;

    public Boolean getDeniedFlag() {
        return deniedFlag;
    }

    public void setDeniedFlag(Boolean deniedFlag) {
        deniedFlagSpecified = true;
        this.deniedFlag = deniedFlag;
    }

    protected boolean deniedFlagSpecified;

    public boolean isDeniedFlagSpecified() {
        return deniedFlagSpecified;
    }

    public void unsetDeniedFlag() {
        deniedFlag = null;
        deniedFlagSpecified = false;
    }

    /**
     * Department within the division which will be changed during cost recovery.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String departmentCode;

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        departmentCodeSpecified = true;
        this.departmentCode = departmentCode;
    }

    protected boolean departmentCodeSpecified;

    public boolean isDepartmentCodeSpecified() {
        return departmentCodeSpecified;
    }

    public void unsetDepartmentCode() {
        departmentCode = null;
        departmentCodeSpecified = false;
    }

    /**
     * Country assigned to the department for cost recovery. This field is
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String departmentCountry;

    public String getDepartmentCountry() {
        return departmentCountry;
    }

    public void setDepartmentCountry(String departmentCountry) {
        departmentCountrySpecified = true;
        this.departmentCountry = departmentCountry;
    }

    protected boolean departmentCountrySpecified;

    public boolean isDepartmentCountrySpecified() {
        return departmentCountrySpecified;
    }

    public void unsetDepartmentCountry() {
        departmentCountry = null;
        departmentCountrySpecified = false;
    }

    /**
     * Division code used for cost recovery. This field is populated
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String divisionCode;

    public String getDivisionCode() {
        return divisionCode;
    }

    public void setDivisionCode(String divisionCode) {
        divisionCodeSpecified = true;
        this.divisionCode = divisionCode;
    }

    protected boolean divisionCodeSpecified;

    public boolean isDivisionCodeSpecified() {
        return divisionCodeSpecified;
    }

    public void unsetDivisionCode() {
        divisionCode = null;
        divisionCodeSpecified = false;
    }

    /**
     * Account owner's IBM email address. Must be a discoverable email
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String emailAddress;

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        emailAddressSpecified = true;
        this.emailAddress = emailAddress;
    }

    protected boolean emailAddressSpecified;

    public boolean isEmailAddressSpecified() {
        return emailAddressSpecified;
    }

    public void unsetEmailAddress() {
        emailAddress = null;
        emailAddressSpecified = false;
    }

    /**
     * Applicant's first name, as provided by IBM BluePages API.
     */
    @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;
    }

    /**
     * Applicant's last name, as provided by IBM BluePages API.
     */
    @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;
    }

    /**
     * APPROVED if the request has been approved by the first-line manager,
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String managerApprovalStatus;

    public String getManagerApprovalStatus() {
        return managerApprovalStatus;
    }

    public void setManagerApprovalStatus(String managerApprovalStatus) {
        managerApprovalStatusSpecified = true;
        this.managerApprovalStatus = managerApprovalStatus;
    }

    protected boolean managerApprovalStatusSpecified;

    public boolean isManagerApprovalStatusSpecified() {
        return managerApprovalStatusSpecified;
    }

    public void unsetManagerApprovalStatus() {
        managerApprovalStatus = null;
        managerApprovalStatusSpecified = false;
    }

    /**
     * True for accounts intended to be multi-tenant and false otherwise
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Boolean multiTenantFlag;

    public Boolean getMultiTenantFlag() {
        return multiTenantFlag;
    }

    public void setMultiTenantFlag(Boolean multiTenantFlag) {
        multiTenantFlagSpecified = true;
        this.multiTenantFlag = multiTenantFlag;
    }

    protected boolean multiTenantFlagSpecified;

    public boolean isMultiTenantFlagSpecified() {
        return multiTenantFlagSpecified;
    }

    public void unsetMultiTenantFlag() {
        multiTenantFlag = null;
        multiTenantFlagSpecified = false;
    }

    /**
     * Account owner's primary phone number. If no phone number is available
     */
    @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;
    }

    /**
     * Bluemix PaaS 32 digit hexadecimal account id being automatically linked
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String paasAccountId;

    public String getPaasAccountId() {
        return paasAccountId;
    }

    public void setPaasAccountId(String paasAccountId) {
        paasAccountIdSpecified = true;
        this.paasAccountId = paasAccountId;
    }

    protected boolean paasAccountIdSpecified;

    public boolean isPaasAccountIdSpecified() {
        return paasAccountIdSpecified;
    }

    public void unsetPaasAccountId() {
        paasAccountId = null;
        paasAccountIdSpecified = false;
    }

    /**
     * If no address information is available in BluePages, will use this
     */
    @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;
    }

    /**
     * Stated purpose of the new account this request would create
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String purpose;

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        purposeSpecified = true;
        this.purpose = purpose;
    }

    protected boolean purposeSpecified;

    public boolean isPurposeSpecified() {
        return purposeSpecified;
    }

    public void unsetPurpose() {
        purpose = null;
        purposeSpecified = false;
    }

    /**
     * Division's security SME's email address, if available
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String securitySubjectMatterExpertEmail;

    public String getSecuritySubjectMatterExpertEmail() {
        return securitySubjectMatterExpertEmail;
    }

    public void setSecuritySubjectMatterExpertEmail(String securitySubjectMatterExpertEmail) {
        securitySubjectMatterExpertEmailSpecified = true;
        this.securitySubjectMatterExpertEmail = securitySubjectMatterExpertEmail;
    }

    protected boolean securitySubjectMatterExpertEmailSpecified;

    public boolean isSecuritySubjectMatterExpertEmailSpecified() {
        return securitySubjectMatterExpertEmailSpecified;
    }

    public void unsetSecuritySubjectMatterExpertEmail() {
        securitySubjectMatterExpertEmail = null;
        securitySubjectMatterExpertEmailSpecified = false;
    }

    /**
     * Division's security SME's name, if available
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String securitySubjectMatterExpertName;

    public String getSecuritySubjectMatterExpertName() {
        return securitySubjectMatterExpertName;
    }

    public void setSecuritySubjectMatterExpertName(String securitySubjectMatterExpertName) {
        securitySubjectMatterExpertNameSpecified = true;
        this.securitySubjectMatterExpertName = securitySubjectMatterExpertName;
    }

    protected boolean securitySubjectMatterExpertNameSpecified;

    public boolean isSecuritySubjectMatterExpertNameSpecified() {
        return securitySubjectMatterExpertNameSpecified;
    }

    public void unsetSecuritySubjectMatterExpertName() {
        securitySubjectMatterExpertName = null;
        securitySubjectMatterExpertNameSpecified = false;
    }

    /**
     * Division's security SME's phone, if available
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String securitySubjectMatterExpertPhone;

    public String getSecuritySubjectMatterExpertPhone() {
        return securitySubjectMatterExpertPhone;
    }

    public void setSecuritySubjectMatterExpertPhone(String securitySubjectMatterExpertPhone) {
        securitySubjectMatterExpertPhoneSpecified = true;
        this.securitySubjectMatterExpertPhone = securitySubjectMatterExpertPhone;
    }

    protected boolean securitySubjectMatterExpertPhoneSpecified;

    public boolean isSecuritySubjectMatterExpertPhoneSpecified() {
        return securitySubjectMatterExpertPhoneSpecified;
    }

    public void unsetSecuritySubjectMatterExpertPhone() {
        securitySubjectMatterExpertPhone = null;
        securitySubjectMatterExpertPhoneSpecified = false;
    }

    /**
     * If no address information is available in BluePages, will use this
     */
    @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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy