Package org.openapitools.client.model
Class DeleteDatasetRequest
- java.lang.Object
-
- org.openapitools.client.model.DeleteDatasetRequest
-
@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 DeleteDatasetRequest extends Object
DeleteDatasetRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteDatasetRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATASET_ID
-
Constructor Summary
Constructors Constructor Description DeleteDatasetRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteDatasetRequestdatasetId(UUID datasetId)booleanequals(Object o)static DeleteDatasetRequestfromJson(String jsonString)Create an instance of DeleteDatasetRequest given an JSON string@NotNull @Valid UUIDgetDatasetId()The id of the dataset you want to delete.inthashCode()voidsetDatasetId(UUID datasetId)StringtoJson()Convert an instance of DeleteDatasetRequest to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
datasetId
public DeleteDatasetRequest datasetId(UUID datasetId)
-
getDatasetId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getDatasetId()
The id of the dataset you want to delete.- Returns:
- datasetId
-
setDatasetId
public void setDatasetId(UUID datasetId)
-
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 DeleteDatasetRequest
-
fromJson
public static DeleteDatasetRequest fromJson(String jsonString) throws IOException
Create an instance of DeleteDatasetRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeleteDatasetRequest
- Throws:
IOException- if the JSON string is invalid with respect to DeleteDatasetRequest
-
toJson
public String toJson()
Convert an instance of DeleteDatasetRequest to an JSON string- Returns:
- JSON string
-
-