@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class PageTemplateProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PageTemplateProjection.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONTENT |
static String |
SERIALIZED_NAME_EMPTY |
static String |
SERIALIZED_NAME_FIRST |
static String |
SERIALIZED_NAME_LAST |
static String |
SERIALIZED_NAME_NUMBER |
static String |
SERIALIZED_NAME_NUMBER_OF_ELEMENTS |
static String |
SERIALIZED_NAME_PAGEABLE |
static String |
SERIALIZED_NAME_SIZE |
static String |
SERIALIZED_NAME_SORT |
static String |
SERIALIZED_NAME_TOTAL |
static String |
SERIALIZED_NAME_TOTAL_ELEMENTS |
static String |
SERIALIZED_NAME_TOTAL_PAGES |
Constructor and Description |
---|
PageTemplateProjection() |
public static final String SERIALIZED_NAME_CONTENT
public static final String SERIALIZED_NAME_PAGEABLE
public static final String SERIALIZED_NAME_TOTAL
public static final String SERIALIZED_NAME_TOTAL_ELEMENTS
public static final String SERIALIZED_NAME_TOTAL_PAGES
public static final String SERIALIZED_NAME_LAST
public static final String SERIALIZED_NAME_SIZE
public static final String SERIALIZED_NAME_NUMBER
public static final String SERIALIZED_NAME_SORT
public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS
public static final String SERIALIZED_NAME_FIRST
public static final String SERIALIZED_NAME_EMPTY
public PageTemplateProjection content(List<TemplateProjection> content)
public PageTemplateProjection addContentItem(TemplateProjection contentItem)
@Nullable public List<TemplateProjection> getContent()
public void setContent(List<TemplateProjection> content)
public PageTemplateProjection pageable(PageableObject pageable)
@Nullable public PageableObject getPageable()
public void setPageable(PageableObject pageable)
public PageTemplateProjection total(Long total)
public void setTotal(Long total)
public PageTemplateProjection totalElements(Long totalElements)
public void setTotalElements(Long totalElements)
public PageTemplateProjection totalPages(Integer totalPages)
public void setTotalPages(Integer totalPages)
public PageTemplateProjection last(Boolean last)
public void setLast(Boolean last)
public PageTemplateProjection size(Integer size)
public void setSize(Integer size)
public PageTemplateProjection number(Integer number)
public void setNumber(Integer number)
public PageTemplateProjection sort(Sort sort)
public void setSort(Sort sort)
public PageTemplateProjection numberOfElements(Integer numberOfElements)
@Nullable public Integer getNumberOfElements()
public void setNumberOfElements(Integer numberOfElements)
public PageTemplateProjection first(Boolean first)
public void setFirst(Boolean first)
public PageTemplateProjection empty(Boolean empty)
public void setEmpty(Boolean empty)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to PageTemplateProjectionpublic static PageTemplateProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to PageTemplateProjectionpublic String toJson()
Copyright © 2023. All rights reserved.