@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CountDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CountDto.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_TOTAL_ELEMENTS |
Constructor and Description |
---|
CountDto() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static CountDto |
fromJson(String jsonString)
Create an instance of CountDto given an JSON string
|
Long |
getTotalElements()
Get totalElements
|
int |
hashCode() |
void |
setTotalElements(Long totalElements) |
String |
toJson()
Convert an instance of CountDto to an JSON string
|
String |
toString() |
CountDto |
totalElements(Long totalElements) |
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_TOTAL_ELEMENTS
public void setTotalElements(Long totalElements)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CountDtopublic static CountDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CountDtopublic String toJson()
Copyright © 2023. All rights reserved.