Package org.openapitools.client.model
Class GroupData
- java.lang.Object
-
- org.openapitools.client.model.GroupData
-
@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 GroupData extends Object
GroupData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_GROUPSstatic StringSERIALIZED_NAME_TOTAL_PAGES
-
Constructor Summary
Constructors Constructor Description GroupData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupDataaddGroupsItem(ChunkGroupAndFile groupsItem)booleanequals(Object o)static GroupDatafromJson(String jsonString)Create an instance of GroupData given an JSON string@NotNull @Valid List<@Valid ChunkGroupAndFile>getGroups()Get groups@NotNull LonggetTotalPages()Get totalPagesGroupDatagroups(List<@Valid ChunkGroupAndFile> groups)inthashCode()voidsetGroups(List<@Valid ChunkGroupAndFile> groups)voidsetTotalPages(Long totalPages)StringtoJson()Convert an instance of GroupData to an JSON stringStringtoString()GroupDatatotalPages(Long totalPages)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_GROUPS
public static final String SERIALIZED_NAME_GROUPS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_PAGES
public static final String SERIALIZED_NAME_TOTAL_PAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
groups
public GroupData groups(List<@Valid ChunkGroupAndFile> groups)
-
addGroupsItem
public GroupData addGroupsItem(ChunkGroupAndFile groupsItem)
-
getGroups
@Nonnull @NotNull @Valid public @NotNull @Valid List<@Valid ChunkGroupAndFile> getGroups()
Get groups- Returns:
- groups
-
setGroups
public void setGroups(List<@Valid ChunkGroupAndFile> groups)
-
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 GroupData
-
fromJson
public static GroupData fromJson(String jsonString) throws IOException
Create an instance of GroupData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GroupData
- Throws:
IOException- if the JSON string is invalid with respect to GroupData
-
toJson
public String toJson()
Convert an instance of GroupData to an JSON string- Returns:
- JSON string
-
-