Package org.openapitools.client.model
Class AddChunkToGroupData
- java.lang.Object
-
- org.openapitools.client.model.AddChunkToGroupData
-
@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 AddChunkToGroupData extends Object
AddChunkToGroupData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddChunkToGroupData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHUNK_ID
-
Constructor Summary
Constructors Constructor Description AddChunkToGroupData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AddChunkToGroupDatachunkId(UUID chunkId)booleanequals(Object o)static AddChunkToGroupDatafromJson(String jsonString)Create an instance of AddChunkToGroupData given an JSON string@NotNull @Valid UUIDgetChunkId()Id of the chunk to make a member of the group.inthashCode()voidsetChunkId(UUID chunkId)StringtoJson()Convert an instance of AddChunkToGroupData to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
chunkId
public AddChunkToGroupData chunkId(UUID chunkId)
-
getChunkId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getChunkId()
Id of the chunk to make a member of the group.- Returns:
- chunkId
-
setChunkId
public void setChunkId(UUID chunkId)
-
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 AddChunkToGroupData
-
fromJson
public static AddChunkToGroupData fromJson(String jsonString) throws IOException
Create an instance of AddChunkToGroupData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AddChunkToGroupData
- Throws:
IOException- if the JSON string is invalid with respect to AddChunkToGroupData
-
toJson
public String toJson()
Convert an instance of AddChunkToGroupData to an JSON string- Returns:
- JSON string
-
-