Package model
Class ListLinks
- java.lang.Object
-
- model.ListLinks
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ListLinks extends Object
For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these `_links` to make your follow-up requests and quickly access relevant IDs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NEXTstatic StringSERIALIZED_NAME_SELF
-
Constructor Summary
Constructors Constructor Description ListLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ListLinksfromJson(String jsonString)Create an instance of ListLinks given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.ListLinksNextgetNext()Get nextApplicationLinksSelfgetSelf()Get selfinthashCode()ListLinksnext(ListLinksNext next)ListLinksputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.ListLinksself(ApplicationLinksSelf self)voidsetNext(ListLinksNext next)voidsetSelf(ApplicationLinksSelf self)StringtoJson()Convert an instance of ListLinks to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_NEXT
public static final String SERIALIZED_NAME_NEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
-
Method Detail
-
next
public ListLinks next(ListLinksNext next)
-
getNext
@Nullable public ListLinksNext getNext()
Get next- Returns:
- next
-
setNext
public void setNext(ListLinksNext next)
-
self
public ListLinks self(ApplicationLinksSelf self)
-
getSelf
@Nullable public ApplicationLinksSelf getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(ApplicationLinksSelf self)
-
putAdditionalProperty
public ListLinks putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ListLinks
-
fromJson
public static ListLinks fromJson(String jsonString) throws IOException
Create an instance of ListLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListLinks
- Throws:
IOException- if the JSON string is invalid with respect to ListLinks
-
toJson
public String toJson()
Convert an instance of ListLinks to an JSON string- Returns:
- JSON string
-
-