Package com.bandwidth.sdk.model
Class LinksObject
java.lang.Object
com.bandwidth.sdk.model.LinksObject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.10.0")
public class LinksObject
extends Object
LinksObject
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static LinksObject
Create an instance of LinksObject given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFirst()
The first (or only) page of results matching the query.getLast()
If more results exist than specified by 'size', this link return the last page of result.getNext()
If more results exist than specified by 'size', this link returns the next page of 'size' results.If the results are more than one page, this link returns the previous page of 'size' results.int
hashCode()
putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.void
void
void
void
setPrevious
(String previous) toJson()
Convert an instance of LinksObject to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FIRST
- See Also:
-
SERIALIZED_NAME_NEXT
- See Also:
-
SERIALIZED_NAME_PREVIOUS
- See Also:
-
SERIALIZED_NAME_LAST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinksObject
public LinksObject()
-
-
Method Details
-
first
-
getFirst
The first (or only) page of results matching the query.- Returns:
- first
-
setFirst
-
next
-
getNext
If more results exist than specified by 'size', this link returns the next page of 'size' results.- Returns:
- next
-
setNext
-
previous
-
getPrevious
If the results are more than one page, this link returns the previous page of 'size' results.- Returns:
- previous
-
setPrevious
-
last
-
getLast
If more results exist than specified by 'size', this link return the last page of result.- Returns:
- last
-
setLast
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key
- name of the propertyvalue
- value of the property- Returns:
- the LinksObject instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key
- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to LinksObject
-
fromJson
Create an instance of LinksObject given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of LinksObject
- Throws:
IOException
- if the JSON string is invalid with respect to LinksObject
-
toJson
Convert an instance of LinksObject to an JSON string- Returns:
- JSON string
-