Package com.exoscale.sdk.model
Class AttachInstanceToPrivateNetworkRequest
- java.lang.Object
-
- com.exoscale.sdk.model.AttachInstanceToPrivateNetworkRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class AttachInstanceToPrivateNetworkRequest extends Object
AttachInstanceToPrivateNetworkRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_INSTANCE
static String
JSON_PROPERTY_IP
-
Constructor Summary
Constructors Constructor Description AttachInstanceToPrivateNetworkRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this attach_instance_to_private_network_request object is equal to o.AttachInstanceToPrivateNetworkRequestInstance
getInstance()
Get instanceString
getIp()
Static IP address lease for the corresponding network interfaceint
hashCode()
AttachInstanceToPrivateNetworkRequest
instance(AttachInstanceToPrivateNetworkRequestInstance instance)
AttachInstanceToPrivateNetworkRequest
ip(String ip)
void
setInstance(AttachInstanceToPrivateNetworkRequestInstance instance)
void
setIp(String ip)
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
public static final String JSON_PROPERTY_INSTANCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
ip
public AttachInstanceToPrivateNetworkRequest ip(String ip)
-
getIp
@Nullable public String getIp()
Static IP address lease for the corresponding network interface- Returns:
- ip
-
setIp
public void setIp(String ip)
-
instance
public AttachInstanceToPrivateNetworkRequest instance(AttachInstanceToPrivateNetworkRequestInstance instance)
-
getInstance
@Nonnull public AttachInstanceToPrivateNetworkRequestInstance getInstance()
Get instance- Returns:
- instance
-
setInstance
public void setInstance(AttachInstanceToPrivateNetworkRequestInstance instance)
-
equals
public boolean equals(Object o)
Return true if this attach_instance_to_private_network_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-