Package com.exoscale.sdk.model
Class PrivateNetworkLease
- java.lang.Object
-
- com.exoscale.sdk.model.PrivateNetworkLease
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class PrivateNetworkLease extends Object
Private Network leased IP address
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_INSTANCE_ID
static String
JSON_PROPERTY_IP
-
Constructor Summary
Constructors Constructor Description PrivateNetworkLease()
PrivateNetworkLease(String ip, UUID instanceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this private-network-lease object is equal to o.UUID
getInstanceId()
Attached instance IDString
getIp()
Private Network IP addressint
hashCode()
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_IP
public static final String JSON_PROPERTY_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTANCE_ID
public static final String JSON_PROPERTY_INSTANCE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIp
@Nullable public String getIp()
Private Network IP address- Returns:
- ip
-
getInstanceId
@Nullable public UUID getInstanceId()
Attached instance ID- Returns:
- instanceId
-
equals
public boolean equals(Object o)
Return true if this private-network-lease object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-