Package org.openapitools.client.model
Class SearchGroupsResult
- java.lang.Object
-
- org.openapitools.client.model.SearchGroupsResult
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class SearchGroupsResult extends Object
SearchGroupsResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchGroupsResult.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BOOKMARKSstatic StringSERIALIZED_NAME_GROUPstatic StringSERIALIZED_NAME_TOTAL_PAGES
-
Constructor Summary
Constructors Constructor Description SearchGroupsResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchGroupsResultaddBookmarksItem(ScoreChunkDTO bookmarksItem)SearchGroupsResultbookmarks(List<@Valid ScoreChunkDTO> bookmarks)booleanequals(Object o)static SearchGroupsResultfromJson(String jsonString)Create an instance of SearchGroupsResult given an JSON string@NotNull @Valid List<@Valid ScoreChunkDTO>getBookmarks()Get bookmarks@NotNull @Valid ChunkGroupgetGroup()Get group@NotNull LonggetTotalPages()Get totalPagesSearchGroupsResultgroup(ChunkGroup group)inthashCode()voidsetBookmarks(List<@Valid ScoreChunkDTO> bookmarks)voidsetGroup(ChunkGroup group)voidsetTotalPages(Long totalPages)StringtoJson()Convert an instance of SearchGroupsResult to an JSON stringStringtoString()SearchGroupsResulttotalPages(Long totalPages)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_BOOKMARKS
public static final String SERIALIZED_NAME_BOOKMARKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROUP
public static final String SERIALIZED_NAME_GROUP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_PAGES
public static final String SERIALIZED_NAME_TOTAL_PAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
bookmarks
public SearchGroupsResult bookmarks(List<@Valid ScoreChunkDTO> bookmarks)
-
addBookmarksItem
public SearchGroupsResult addBookmarksItem(ScoreChunkDTO bookmarksItem)
-
getBookmarks
@Nonnull @NotNull @Valid public @NotNull @Valid List<@Valid ScoreChunkDTO> getBookmarks()
Get bookmarks- Returns:
- bookmarks
-
setBookmarks
public void setBookmarks(List<@Valid ScoreChunkDTO> bookmarks)
-
group
public SearchGroupsResult group(ChunkGroup group)
-
getGroup
@Nonnull @NotNull @Valid public @NotNull @Valid ChunkGroup getGroup()
Get group- Returns:
- group
-
setGroup
public void setGroup(ChunkGroup group)
-
totalPages
public SearchGroupsResult totalPages(Long totalPages)
-
getTotalPages
@Nonnull @NotNull public @NotNull Long getTotalPages()
Get totalPages- Returns:
- totalPages
-
setTotalPages
public void setTotalPages(Long totalPages)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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 SearchGroupsResult
-
fromJson
public static SearchGroupsResult fromJson(String jsonString) throws IOException
Create an instance of SearchGroupsResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SearchGroupsResult
- Throws:
IOException- if the JSON string is invalid with respect to SearchGroupsResult
-
toJson
public String toJson()
Convert an instance of SearchGroupsResult to an JSON string- Returns:
- JSON string
-
-