Package com.exoscale.sdk.model
Class OperationReference
- java.lang.Object
-
- com.exoscale.sdk.model.OperationReference
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class OperationReference extends Object
Related resource reference
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_COMMAND
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_LINK
-
Constructor Summary
Constructors Constructor Description OperationReference()
OperationReference(String link)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationReference
command(String command)
boolean
equals(Object o)
Return true if this operation_reference object is equal to o.String
getCommand()
Command nameUUID
getId()
Reference IDString
getLink()
Link to the referenced resourceint
hashCode()
OperationReference
id(UUID id)
void
setCommand(String command)
void
setId(UUID id)
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_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LINK
public static final String JSON_PROPERTY_LINK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMMAND
public static final String JSON_PROPERTY_COMMAND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OperationReference
public OperationReference()
-
OperationReference
public OperationReference(String link)
-
-
Method Detail
-
id
public OperationReference id(UUID id)
-
getId
@Nullable public UUID getId()
Reference ID- Returns:
- id
-
setId
public void setId(UUID id)
-
getLink
@Nullable public String getLink()
Link to the referenced resource- Returns:
- link
-
command
public OperationReference command(String command)
-
getCommand
@Nullable public String getCommand()
Command name- Returns:
- command
-
setCommand
public void setCommand(String command)
-
equals
public boolean equals(Object o)
Return true if this operation_reference object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-