Package org.openapitools.client.model
Class BookmarkData
- java.lang.Object
-
- org.openapitools.client.model.BookmarkData
-
@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 BookmarkData extends Object
BookmarkData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBookmarkData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHUNKSstatic StringSERIALIZED_NAME_GROUPstatic StringSERIALIZED_NAME_TOTAL_PAGES
-
Constructor Summary
Constructors Constructor Description BookmarkData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BookmarkDataaddChunksItem(ChunkMetadataWithFileData chunksItem)BookmarkDatachunks(List<@Valid ChunkMetadataWithFileData> chunks)booleanequals(Object o)static BookmarkDatafromJson(String jsonString)Create an instance of BookmarkData given an JSON string@NotNull @Valid List<@Valid ChunkMetadataWithFileData>getChunks()Get chunks@NotNull @Valid ChunkGroupgetGroup()Get group@NotNull LonggetTotalPages()Get totalPagesBookmarkDatagroup(ChunkGroup group)inthashCode()voidsetChunks(List<@Valid ChunkMetadataWithFileData> chunks)voidsetGroup(ChunkGroup group)voidsetTotalPages(Long totalPages)StringtoJson()Convert an instance of BookmarkData to an JSON stringStringtoString()BookmarkDatatotalPages(Long totalPages)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CHUNKS
public static final String SERIALIZED_NAME_CHUNKS
- 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
-
chunks
public BookmarkData chunks(List<@Valid ChunkMetadataWithFileData> chunks)
-
addChunksItem
public BookmarkData addChunksItem(ChunkMetadataWithFileData chunksItem)
-
getChunks
@Nonnull @NotNull @Valid public @NotNull @Valid List<@Valid ChunkMetadataWithFileData> getChunks()
Get chunks- Returns:
- chunks
-
setChunks
public void setChunks(List<@Valid ChunkMetadataWithFileData> chunks)
-
group
public BookmarkData group(ChunkGroup group)
-
getGroup
@Nonnull @NotNull @Valid public @NotNull @Valid ChunkGroup getGroup()
Get group- Returns:
- group
-
setGroup
public void setGroup(ChunkGroup group)
-
totalPages
public BookmarkData 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 BookmarkData
-
fromJson
public static BookmarkData fromJson(String jsonString) throws IOException
Create an instance of BookmarkData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BookmarkData
- Throws:
IOException- if the JSON string is invalid with respect to BookmarkData
-
toJson
public String toJson()
Convert an instance of BookmarkData to an JSON string- Returns:
- JSON string
-
-