Class 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
    • Constructor Detail

      • CreateChunkGroupData

        public CreateChunkGroupData()
    • Method Detail

      • 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)
      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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