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="2026-01-09T14:14:52.146496965Z[Etc/UTC]")
public class PrimaryIpDetail
extends IdentifiableResource
PrimaryIpDetail
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class cloud.dnation.hetznerclient.IdentifiableResource
SERIALIZED_NAME_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDnsPtrItem(Ipv4Detail dnsPtrItem) assigneeId(Long assigneeId) assigneeType(String assigneeType) datacenter(DatacenterDetail datacenter) dnsPtr(List<Ipv4Detail> dnsPtr) booleanObject identifier/unique keyResource type the Primary IP can be assigned toWhether the IP is blockedGet datacenterArray of reverse DNS entriesgetIp()IP addressUser-defined labels (key-value pairs)getName()Name of the Resource.getType()Type of the Primary IPinthashCode()putLabelsItem(String key, String labelsItem) voidsetAssigneeId(Long assigneeId) voidsetAssigneeType(String assigneeType) voidsetBlocked(Boolean blocked) voidsetDatacenter(DatacenterDetail datacenter) voidsetDnsPtr(List<Ipv4Detail> dnsPtr) voidvoidvoidvoidtoString()Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
Field Details
-
SERIALIZED_NAME_ASSIGNEE_ID
- See Also:
-
SERIALIZED_NAME_ASSIGNEE_TYPE
- See Also:
-
SERIALIZED_NAME_BLOCKED
- See Also:
-
SERIALIZED_NAME_DATACENTER
- See Also:
-
SERIALIZED_NAME_DNS_PTR
- See Also:
-
SERIALIZED_NAME_IP
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
-
Constructor Details
-
PrimaryIpDetail
public PrimaryIpDetail()
-
-
Method Details
-
assigneeId
-
getAssigneeId
Object identifier/unique key- Returns:
- assigneeId
-
setAssigneeId
-
assigneeType
-
getAssigneeType
Resource type the Primary IP can be assigned to- Returns:
- assigneeType
-
setAssigneeType
-
blocked
-
getBlocked
Whether the IP is blocked- Returns:
- blocked
-
setBlocked
-
datacenter
-
getDatacenter
Get datacenter- Returns:
- datacenter
-
setDatacenter
-
dnsPtr
-
addDnsPtrItem
-
getDnsPtr
Array of reverse DNS entries- Returns:
- dnsPtr
-
setDnsPtr
-
ip
-
getIp
IP address- Returns:
- ip
-
setIp
-
labels
-
putLabelsItem
-
getLabels
User-defined labels (key-value pairs)- Returns:
- labels
-
setLabels
-
name
-
getName
Name of the Resource. Must be unique per Project.- Returns:
- name
-
setName
-
type
-
getType
Type of the Primary IP- Returns:
- type
-
setType
-
equals
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableResource
-
toString
- Overrides:
toStringin classIdentifiableResource
-