Package org.openapitools.client.model
Class DatasetUsageCount
- java.lang.Object
-
- org.openapitools.client.model.DatasetUsageCount
-
@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 DatasetUsageCount extends Object
DatasetUsageCount
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatasetUsageCount.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHUNK_COUNTstatic StringSERIALIZED_NAME_DATASET_IDstatic StringSERIALIZED_NAME_ID
-
Constructor Summary
Constructors Constructor Description DatasetUsageCount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetUsageCountchunkCount(Integer chunkCount)DatasetUsageCountdatasetId(UUID datasetId)booleanequals(Object o)static DatasetUsageCountfromJson(String jsonString)Create an instance of DatasetUsageCount given an JSON string@NotNull IntegergetChunkCount()Get chunkCount@NotNull @Valid UUIDgetDatasetId()Get datasetId@NotNull @Valid UUIDgetId()Get idinthashCode()DatasetUsageCountid(UUID id)voidsetChunkCount(Integer chunkCount)voidsetDatasetId(UUID datasetId)voidsetId(UUID id)StringtoJson()Convert an instance of DatasetUsageCount 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_CHUNK_COUNT
public static final String SERIALIZED_NAME_CHUNK_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATASET_ID
public static final String SERIALIZED_NAME_DATASET_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
chunkCount
public DatasetUsageCount chunkCount(Integer chunkCount)
-
getChunkCount
@Nonnull @NotNull public @NotNull Integer getChunkCount()
Get chunkCount- Returns:
- chunkCount
-
setChunkCount
public void setChunkCount(Integer chunkCount)
-
datasetId
public DatasetUsageCount datasetId(UUID datasetId)
-
getDatasetId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getDatasetId()
Get datasetId- Returns:
- datasetId
-
setDatasetId
public void setDatasetId(UUID datasetId)
-
id
public DatasetUsageCount id(UUID id)
-
setId
public void setId(UUID id)
-
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 DatasetUsageCount
-
fromJson
public static DatasetUsageCount fromJson(String jsonString) throws IOException
Create an instance of DatasetUsageCount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DatasetUsageCount
- Throws:
IOException- if the JSON string is invalid with respect to DatasetUsageCount
-
toJson
public String toJson()
Convert an instance of DatasetUsageCount to an JSON string- Returns:
- JSON string
-
-