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

com.softlayer.api.service.marketplace.EmailDistribution Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.marketplace;

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

/**
 * @see SoftLayer_Marketplace_EmailDistribution
 */
@ApiType("SoftLayer_Marketplace_EmailDistribution")
public class EmailDistribution extends Entity {

    @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;
    }

    @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;
    }

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy