Package com.exoscale.sdk.model
Class Resource
- java.lang.Object
-
- com.exoscale.sdk.model.Resource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Resource extends Object
Resource
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this resource object is equal to o.UUID
getId()
Resource IDString
getName()
Resource nameint
hashCode()
Resource
id(UUID id)
Resource
name(String name)
void
setId(UUID id)
void
setName(String name)
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_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
@Nullable public UUID getId()
Resource ID- Returns:
- id
-
setId
public void setId(UUID id)
-
getName
@Nullable public String getName()
Resource name- Returns:
- name
-
setName
public void setName(String name)
-
equals
public boolean equals(Object o)
Return true if this resource object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-