com.softlayer.api.service.container.collection.locale.VatCountryCodeAndFormat 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.collection.locale;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* This container is used to hold VAT information.
*
* @see SoftLayer_Container_Collection_Locale_VatCountryCodeAndFormat
*/
@ApiType("SoftLayer_Container_Collection_Locale_VatCountryCodeAndFormat")
public class VatCountryCodeAndFormat extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected String countryCode;
public String getCountryCode() {
return countryCode;
}
public void setCountryCode(String countryCode) {
countryCodeSpecified = true;
this.countryCode = countryCode;
}
protected boolean countryCodeSpecified;
public boolean isCountryCodeSpecified() {
return countryCodeSpecified;
}
public void unsetCountryCode() {
countryCode = null;
countryCodeSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String regex;
public String getRegex() {
return regex;
}
public void setRegex(String regex) {
regexSpecified = true;
this.regex = regex;
}
protected boolean regexSpecified;
public boolean isRegexSpecified() {
return regexSpecified;
}
public void unsetRegex() {
regex = null;
regexSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask countryCode() {
withLocalProperty("countryCode");
return this;
}
public Mask regex() {
withLocalProperty("regex");
return this;
}
}
}