Package ai.shipeasy.admin.model
Class ListKeysResponse
java.lang.Object
ai.shipeasy.admin.model.ListKeysResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListKeysResponse
extends Object
One page of API keys plus a keyset `next_cursor` (ordered `created_at desc, id desc`).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(KeyRecord dataItem) booleanstatic ListKeysResponseCreate an instance of ListKeysResponse given an JSON stringgetData()Get dataOpaque cursor for the next page, or `null` on the last page.inthashCode()nextCursor(String nextCursor) voidvoidsetNextCursor(String nextCursor) toJson()Convert an instance of ListKeysResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_NEXT_CURSOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListKeysResponse
public ListKeysResponse()
-
-
Method Details
-
data
-
addDataItem
-
getData
Get data- Returns:
- data
-
setData
-
nextCursor
-
getNextCursor
Opaque cursor for the next page, or `null` on the last page. Pass it back as the `cursor` query parameter.- Returns:
- nextCursor
-
setNextCursor
-
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 ListKeysResponse
-
fromJson
Create an instance of ListKeysResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListKeysResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListKeysResponse
-
toJson
Convert an instance of ListKeysResponse to an JSON string- Returns:
- JSON string
-