com.softlayer.api.service.container.dns.domain.registration.Nameserver 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
The 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);
}
}
}