@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class Sort extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Sort.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EMPTY |
static String |
SERIALIZED_NAME_SORTED |
static String |
SERIALIZED_NAME_UNSORTED |
Constructor and Description |
---|
Sort() |
Modifier and Type | Method and Description |
---|---|
Sort |
empty(Boolean empty) |
boolean |
equals(Object o) |
static Sort |
fromJson(String jsonString)
Create an instance of Sort given an JSON string
|
Boolean |
getEmpty()
Get empty
|
Boolean |
getSorted()
Get sorted
|
Boolean |
getUnsorted()
Get unsorted
|
int |
hashCode() |
void |
setEmpty(Boolean empty) |
void |
setSorted(Boolean sorted) |
void |
setUnsorted(Boolean unsorted) |
Sort |
sorted(Boolean sorted) |
String |
toJson()
Convert an instance of Sort to an JSON string
|
String |
toString() |
Sort |
unsorted(Boolean unsorted) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_EMPTY
public static final String SERIALIZED_NAME_SORTED
public static final String SERIALIZED_NAME_UNSORTED
public void setEmpty(Boolean empty)
public void setSorted(Boolean sorted)
public void setUnsorted(Boolean unsorted)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to Sortpublic static Sort fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to Sortpublic String toJson()
Copyright © 2023. All rights reserved.