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

com.softlayer.api.service.integratedofferingteam.container.region.Lead Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.integratedofferingteam.container.region;

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

/**
 * @see IntegratedOfferingTeam_Container_Region_Lead
 */
@ApiType("IntegratedOfferingTeam_Container_Region_Lead")
public class Lead extends Entity {

    /**
     * Regional lead's email address
     */
    @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;
    }

    /**
     * Regional lead'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;
    }

    /**
     * Regional lead'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;
    }

    /**
     * Key name of the region this lead is in charge of
     */
    @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;
    }

    /**
     * Full name of the region this lead is in charge of
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String regionName;

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        regionNameSpecified = true;
        this.regionName = regionName;
    }

    protected boolean regionNameSpecified;

    public boolean isRegionNameSpecified() {
        return regionNameSpecified;
    }

    public void unsetRegionName() {
        regionName = null;
        regionNameSpecified = false;
    }

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy