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

com.softlayer.api.service.container.dns.domain.registration.Nameserver Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.dns.domain.registration;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.container.dns.domain.registration.nameserver.List;
import java.util.ArrayList;

/**
 * Nameserver container for domain registration 
 *
 * @see SoftLayer_Container_Dns_Domain_Registration_Nameserver
 */
@ApiType("SoftLayer_Container_Dns_Domain_Registration_Nameserver")
public class Nameserver extends Entity {

    /**
     * The list of fully qualified names of the nameserver.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected java.util.List nameservers;

    public java.util.List getNameservers() {
        if (nameservers == null) {
            nameservers = new ArrayList();
        }
        return nameservers;
    }

    protected boolean nameserversSpecified;

    public boolean isNameserversSpecified() {
        return nameserversSpecified;
    }

    public void unsetNameservers() {
        nameservers = null;
        nameserversSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public com.softlayer.api.service.container.dns.domain.registration.nameserver.List.Mask nameservers() {
            return withSubMask("nameservers", com.softlayer.api.service.container.dns.domain.registration.nameserver.List.Mask.class);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy