Package cloud.dnation.hetznerclient
Class PrimaryIpDetail
- java.lang.Object
-
- cloud.dnation.hetznerclient.IdentifiableResource
-
- cloud.dnation.hetznerclient.PrimaryIpDetail
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-29T09:46:38.528060Z[Etc/UTC]") public class PrimaryIpDetail extends IdentifiableResourcePrimaryIpDetail
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ASSIGNEE_IDstatic StringSERIALIZED_NAME_ASSIGNEE_TYPEstatic StringSERIALIZED_NAME_BLOCKEDstatic StringSERIALIZED_NAME_DATACENTERstatic StringSERIALIZED_NAME_DNS_PTRstatic StringSERIALIZED_NAME_IPstatic StringSERIALIZED_NAME_LABELSstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_TYPE-
Fields inherited from class cloud.dnation.hetznerclient.IdentifiableResource
SERIALIZED_NAME_ID
-
-
Constructor Summary
Constructors Constructor Description PrimaryIpDetail()
-
Method Summary
-
Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
-
-
-
Field Detail
-
SERIALIZED_NAME_ASSIGNEE_ID
public static final String SERIALIZED_NAME_ASSIGNEE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSIGNEE_TYPE
public static final String SERIALIZED_NAME_ASSIGNEE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOCKED
public static final String SERIALIZED_NAME_BLOCKED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATACENTER
public static final String SERIALIZED_NAME_DATACENTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DNS_PTR
public static final String SERIALIZED_NAME_DNS_PTR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IP
public static final String SERIALIZED_NAME_IP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LABELS
public static final String SERIALIZED_NAME_LABELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
assigneeId
public PrimaryIpDetail assigneeId(Long assigneeId)
-
getAssigneeId
@Nullable public Long getAssigneeId()
Object identifier/unique key- Returns:
- assigneeId
-
setAssigneeId
public void setAssigneeId(Long assigneeId)
-
assigneeType
public PrimaryIpDetail assigneeType(String assigneeType)
-
getAssigneeType
@Nullable public String getAssigneeType()
Resource type the Primary IP can be assigned to- Returns:
- assigneeType
-
setAssigneeType
public void setAssigneeType(String assigneeType)
-
blocked
public PrimaryIpDetail blocked(Boolean blocked)
-
getBlocked
@Nullable public Boolean getBlocked()
Whether the IP is blocked- Returns:
- blocked
-
setBlocked
public void setBlocked(Boolean blocked)
-
datacenter
public PrimaryIpDetail datacenter(DatacenterDetail datacenter)
-
getDatacenter
@Nullable public DatacenterDetail getDatacenter()
Get datacenter- Returns:
- datacenter
-
setDatacenter
public void setDatacenter(DatacenterDetail datacenter)
-
dnsPtr
public PrimaryIpDetail dnsPtr(List<Ipv4Detail> dnsPtr)
-
addDnsPtrItem
public PrimaryIpDetail addDnsPtrItem(Ipv4Detail dnsPtrItem)
-
getDnsPtr
@Nullable public List<Ipv4Detail> getDnsPtr()
Array of reverse DNS entries- Returns:
- dnsPtr
-
setDnsPtr
public void setDnsPtr(List<Ipv4Detail> dnsPtr)
-
ip
public PrimaryIpDetail ip(String ip)
-
getIp
@Nullable public String getIp()
IP address- Returns:
- ip
-
setIp
public void setIp(String ip)
-
labels
public PrimaryIpDetail labels(Map<String,String> labels)
-
putLabelsItem
public PrimaryIpDetail putLabelsItem(String key, String labelsItem)
-
getLabels
@Nullable public Map<String,String> getLabels()
User-defined labels (key-value pairs)- Returns:
- labels
-
name
public PrimaryIpDetail name(String name)
-
getName
@Nullable public String getName()
Name of the Resource. Must be unique per Project.- Returns:
- name
-
setName
public void setName(String name)
-
type
public PrimaryIpDetail type(String type)
-
getType
@Nullable public String getType()
Type of the Primary IP- Returns:
- type
-
setType
public void setType(String type)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIdentifiableResource
-
toString
public String toString()
- Overrides:
toStringin classIdentifiableResource
-
-