com.softlayer.api.service.container.billing.currency.Country 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 com.softlayer.api.service.billing.Currency;
import java.util.ArrayList;
import java.util.List;
/**
* @see SoftLayer_Container_Billing_Currency_Country
*/
@ApiType("SoftLayer_Container_Billing_Currency_Country")
public class Country extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected List availableCurrencies;
public List getAvailableCurrencies() {
if (availableCurrencies == null) {
availableCurrencies = new ArrayList();
}
return availableCurrencies;
}
protected boolean availableCurrenciesSpecified;
public boolean isAvailableCurrenciesSpecified() {
return availableCurrenciesSpecified;
}
public void unsetAvailableCurrencies() {
availableCurrencies = null;
availableCurrenciesSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected com.softlayer.api.service.locale.Country country;
public com.softlayer.api.service.locale.Country getCountry() {
return country;
}
public void setCountry(com.softlayer.api.service.locale.Country country) {
countrySpecified = true;
this.country = country;
}
protected boolean countrySpecified;
public boolean isCountrySpecified() {
return countrySpecified;
}
public void unsetCountry() {
country = null;
countrySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected List currencyCountryLocales;
public List getCurrencyCountryLocales() {
if (currencyCountryLocales == null) {
currencyCountryLocales = new ArrayList();
}
return currencyCountryLocales;
}
protected boolean currencyCountryLocalesSpecified;
public boolean isCurrencyCountryLocalesSpecified() {
return currencyCountryLocalesSpecified;
}
public void unsetCurrencyCountryLocales() {
currencyCountryLocales = null;
currencyCountryLocalesSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.billing.Currency.Mask availableCurrencies() {
return withSubMask("availableCurrencies", com.softlayer.api.service.billing.Currency.Mask.class);
}
public com.softlayer.api.service.locale.Country.Mask country() {
return withSubMask("country", com.softlayer.api.service.locale.Country.Mask.class);
}
public com.softlayer.api.service.billing.currency.Country.Mask currencyCountryLocales() {
return withSubMask("currencyCountryLocales", com.softlayer.api.service.billing.currency.Country.Mask.class);
}
}
}