Package model
Class ListLinks
java.lang.Object
model.ListLinks
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfirst(ListLinksFirst first) static ListLinksCreate an instance of ListLinks given an JSON stringgetFirst()Get firstgetLast()Get lastgetSelf()Get selfinthashCode()last(ListLinksLast last) self(ApplicationLinksSelf self) voidsetFirst(ListLinksFirst first) voidsetLast(ListLinksLast last) voidsetSelf(ApplicationLinksSelf self) toJson()Convert an instance of ListLinks to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FIRST
- See Also:
-
SERIALIZED_NAME_LAST
- See Also:
-
SERIALIZED_NAME_SELF
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListLinks
public ListLinks()
-
-
Method Details
-
first
-
getFirst
Get first- Returns:
- first
-
setFirst
-
last
-
getLast
Get last- Returns:
- last
-
setLast
-
self
-
getSelf
Get self- Returns:
- self
-
setSelf
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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
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
Convert an instance of ListLinks to an JSON string- Returns:
- JSON string
-