com.softlayer.api.service.container.billing.currency.Format 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.container.billing.currency;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.math.BigDecimal;
/**
* @see SoftLayer_Container_Billing_Currency_Format
*/
@ApiType("SoftLayer_Container_Billing_Currency_Format")
public class Format extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected String currency;
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
currencySpecified = true;
this.currency = currency;
}
protected boolean currencySpecified;
public boolean isCurrencySpecified() {
return currencySpecified;
}
public void unsetCurrency() {
currency = null;
currencySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long display;
public Long getDisplay() {
return display;
}
public void setDisplay(Long display) {
displaySpecified = true;
this.display = display;
}
protected boolean displaySpecified;
public boolean isDisplaySpecified() {
return displaySpecified;
}
public void unsetDisplay() {
display = null;
displaySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String format;
public String getFormat() {
return format;
}
public void setFormat(String format) {
formatSpecified = true;
this.format = format;
}
protected boolean formatSpecified;
public boolean isFormatSpecified() {
return formatSpecified;
}
public void unsetFormat() {
format = null;
formatSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String locale;
public String getLocale() {
return locale;
}
public void setLocale(String locale) {
localeSpecified = true;
this.locale = locale;
}
protected boolean localeSpecified;
public boolean isLocaleSpecified() {
return localeSpecified;
}
public void unsetLocale() {
locale = null;
localeSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String name;
public String getName() {
return name;
}
public void setName(String name) {
nameSpecified = true;
this.name = name;
}
protected boolean nameSpecified;
public boolean isNameSpecified() {
return nameSpecified;
}
public void unsetName() {
name = null;
nameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long position;
public Long getPosition() {
return position;
}
public void setPosition(Long position) {
positionSpecified = true;
this.position = position;
}
protected boolean positionSpecified;
public boolean isPositionSpecified() {
return positionSpecified;
}
public void unsetPosition() {
position = null;
positionSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long precision;
public Long getPrecision() {
return precision;
}
public void setPrecision(Long precision) {
precisionSpecified = true;
this.precision = precision;
}
protected boolean precisionSpecified;
public boolean isPrecisionSpecified() {
return precisionSpecified;
}
public void unsetPrecision() {
precision = null;
precisionSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String script;
public String getScript() {
return script;
}
public void setScript(String script) {
scriptSpecified = true;
this.script = script;
}
protected boolean scriptSpecified;
public boolean isScriptSpecified() {
return scriptSpecified;
}
public void unsetScript() {
script = null;
scriptSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String service;
public String getService() {
return service;
}
public void setService(String service) {
serviceSpecified = true;
this.service = service;
}
protected boolean serviceSpecified;
public boolean isServiceSpecified() {
return serviceSpecified;
}
public void unsetService() {
service = null;
serviceSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String symbol;
public String getSymbol() {
return symbol;
}
public void setSymbol(String symbol) {
symbolSpecified = true;
this.symbol = symbol;
}
protected boolean symbolSpecified;
public boolean isSymbolSpecified() {
return symbolSpecified;
}
public void unsetSymbol() {
symbol = null;
symbolSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String tag;
public String getTag() {
return tag;
}
public void setTag(String tag) {
tagSpecified = true;
this.tag = tag;
}
protected boolean tagSpecified;
public boolean isTagSpecified() {
return tagSpecified;
}
public void unsetTag() {
tag = null;
tagSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal value;
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
valueSpecified = true;
this.value = value;
}
protected boolean valueSpecified;
public boolean isValueSpecified() {
return valueSpecified;
}
public void unsetValue() {
value = null;
valueSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask currency() {
withLocalProperty("currency");
return this;
}
public Mask display() {
withLocalProperty("display");
return this;
}
public Mask format() {
withLocalProperty("format");
return this;
}
public Mask locale() {
withLocalProperty("locale");
return this;
}
public Mask name() {
withLocalProperty("name");
return this;
}
public Mask position() {
withLocalProperty("position");
return this;
}
public Mask precision() {
withLocalProperty("precision");
return this;
}
public Mask script() {
withLocalProperty("script");
return this;
}
public Mask service() {
withLocalProperty("service");
return this;
}
public Mask symbol() {
withLocalProperty("symbol");
return this;
}
public Mask tag() {
withLocalProperty("tag");
return this;
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}