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

com.softlayer.api.service.container.billing.currency.Country Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
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;
    }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy