com.softlayer.api.service.marketplace.EmailDistribution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
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;
}
}
}