Package org.openapitools.client.model
Class UpdateChunkGroupData
- java.lang.Object
-
- org.openapitools.client.model.UpdateChunkGroupData
-
@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 UpdateChunkGroupData extends Object
UpdateChunkGroupData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateChunkGroupData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_GROUP_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_TRACKING_ID
-
Constructor Summary
Constructors Constructor Description UpdateChunkGroupData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateChunkGroupDatadescription(String description)booleanequals(Object o)static UpdateChunkGroupDatafromJson(String jsonString)Create an instance of UpdateChunkGroupData given an JSON stringStringgetDescription()Description to assign to the chunk_group.@Valid UUIDgetGroupId()Id of the chunk_group to update.StringgetName()Name to assign to the chunk_group.StringgetTrackingId()Tracking Id of the chunk_group to update.UpdateChunkGroupDatagroupId(UUID groupId)inthashCode()UpdateChunkGroupDataname(String name)voidsetDescription(String description)voidsetGroupId(UUID groupId)voidsetName(String name)voidsetTrackingId(String trackingId)StringtoJson()Convert an instance of UpdateChunkGroupData to an JSON stringStringtoString()UpdateChunkGroupDatatrackingId(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_GROUP_ID
public static final String SERIALIZED_NAME_GROUP_ID
- 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 UpdateChunkGroupData description(String description)
-
getDescription
@Nullable public String getDescription()
Description to assign to the chunk_group. Convenience field for you to avoid having to remember what the group is for. If not provided, the description will not be updated.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
groupId
public UpdateChunkGroupData groupId(UUID groupId)
-
getGroupId
@Nullable @Valid public @Valid UUID getGroupId()
Id of the chunk_group to update.- Returns:
- groupId
-
setGroupId
public void setGroupId(UUID groupId)
-
name
public UpdateChunkGroupData name(String name)
-
getName
@Nullable public String getName()
Name to assign to the chunk_group. Does not need to be unique. If not provided, the name will not be updated.- Returns:
- name
-
setName
public void setName(String name)
-
trackingId
public UpdateChunkGroupData trackingId(String trackingId)
-
getTrackingId
@Nullable public String getTrackingId()
Tracking Id of the chunk_group to update.- 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 UpdateChunkGroupData
-
fromJson
public static UpdateChunkGroupData fromJson(String jsonString) throws IOException
Create an instance of UpdateChunkGroupData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateChunkGroupData
- Throws:
IOException- if the JSON string is invalid with respect to UpdateChunkGroupData
-
toJson
public String toJson()
Convert an instance of UpdateChunkGroupData to an JSON string- Returns:
- JSON string
-
-