Package org.openapitools.client.model
Class CreateChunkGroupData
- java.lang.Object
-
- org.openapitools.client.model.CreateChunkGroupData
-
@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 CreateChunkGroupData extends Object
CreateChunkGroupData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateChunkGroupData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_TRACKING_ID
-
Constructor Summary
Constructors Constructor Description CreateChunkGroupData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateChunkGroupDatadescription(String description)booleanequals(Object o)static CreateChunkGroupDatafromJson(String jsonString)Create an instance of CreateChunkGroupData given an JSON string@NotNull StringgetDescription()Description to assign to the chunk_group.@NotNull StringgetName()Name to assign to the chunk_group.StringgetTrackingId()Optional tracking id to assign to the chunk_group.inthashCode()CreateChunkGroupDataname(String name)voidsetDescription(String description)voidsetName(String name)voidsetTrackingId(String trackingId)StringtoJson()Convert an instance of CreateChunkGroupData to an JSON stringStringtoString()CreateChunkGroupDatatrackingId(String trackingId)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRACKING_ID
public static final String SERIALIZED_NAME_TRACKING_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public CreateChunkGroupData description(String description)
-
getDescription
@Nonnull @NotNull public @NotNull String getDescription()
Description to assign to the chunk_group. Convenience field for you to avoid having to remember what the group is for.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
name
public CreateChunkGroupData name(String name)
-
getName
@Nonnull @NotNull public @NotNull String getName()
Name to assign to the chunk_group. Does not need to be unique.- Returns:
- name
-
setName
public void setName(String name)
-
trackingId
public CreateChunkGroupData trackingId(String trackingId)
-
getTrackingId
@Nullable public String getTrackingId()
Optional tracking id to assign to the chunk_group. This is a unique identifier for the chunk_group.- Returns:
- trackingId
-
setTrackingId
public void setTrackingId(String trackingId)
-
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 CreateChunkGroupData
-
fromJson
public static CreateChunkGroupData fromJson(String jsonString) throws IOException
Create an instance of CreateChunkGroupData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateChunkGroupData
- Throws:
IOException- if the JSON string is invalid with respect to CreateChunkGroupData
-
toJson
public String toJson()
Convert an instance of CreateChunkGroupData to an JSON string- Returns:
- JSON string
-
-