Package com.exoscale.sdk.model
Class ModelRef
java.lang.Object
com.exoscale.sdk.model.ModelRef
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ModelRef
extends Object
ModelRef
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this model-ref object is equal to o.getId()Associated model IDgetName()Associated model nameinthashCode()voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
ModelRef
public ModelRef()
-
-
Method Details
-
id
-
getId
Associated model ID- Returns:
- id
-
setId
-
name
-
getName
Associated model name- Returns:
- name
-
setName
-
equals
Return true if this model-ref object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-