Package org.openapitools.client.model
Class GroupScoreChunkDTO
- java.lang.Object
-
- org.openapitools.client.model.GroupScoreChunkDTO
-
@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 GroupScoreChunkDTO extends Object
GroupScoreChunkDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupScoreChunkDTO.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_GROUP_IDstatic StringSERIALIZED_NAME_METADATA
-
Constructor Summary
Constructors Constructor Description GroupScoreChunkDTO()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupScoreChunkDTOaddMetadataItem(ScoreChunkDTO metadataItem)booleanequals(Object o)static GroupScoreChunkDTOfromJson(String jsonString)Create an instance of GroupScoreChunkDTO given an JSON string@NotNull @Valid UUIDgetGroupId()Get groupId@NotNull @Valid List<@Valid ScoreChunkDTO>getMetadata()Get metadataGroupScoreChunkDTOgroupId(UUID groupId)inthashCode()GroupScoreChunkDTOmetadata(List<@Valid ScoreChunkDTO> metadata)voidsetGroupId(UUID groupId)voidsetMetadata(List<@Valid ScoreChunkDTO> metadata)StringtoJson()Convert an instance of GroupScoreChunkDTO to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_GROUP_ID
public static final String SERIALIZED_NAME_GROUP_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_METADATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
groupId
public GroupScoreChunkDTO groupId(UUID groupId)
-
getGroupId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getGroupId()
Get groupId- Returns:
- groupId
-
setGroupId
public void setGroupId(UUID groupId)
-
metadata
public GroupScoreChunkDTO metadata(List<@Valid ScoreChunkDTO> metadata)
-
addMetadataItem
public GroupScoreChunkDTO addMetadataItem(ScoreChunkDTO metadataItem)
-
getMetadata
@Nonnull @NotNull @Valid public @NotNull @Valid List<@Valid ScoreChunkDTO> getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(List<@Valid ScoreChunkDTO> metadata)
-
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 GroupScoreChunkDTO
-
fromJson
public static GroupScoreChunkDTO fromJson(String jsonString) throws IOException
Create an instance of GroupScoreChunkDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GroupScoreChunkDTO
- Throws:
IOException- if the JSON string is invalid with respect to GroupScoreChunkDTO
-
toJson
public String toJson()
Convert an instance of GroupScoreChunkDTO to an JSON string- Returns:
- JSON string
-
-