Class TagUpdatesRequest

java.lang.Object
org.apache.gravitino.dto.requests.TagUpdatesRequest
All Implemented Interfaces:
RESTMessage, RESTRequest

public class TagUpdatesRequest extends Object implements RESTRequest
Represents a request to update a tag.
  • Constructor Details

    • TagUpdatesRequest

      public TagUpdatesRequest(List<TagUpdateRequest> updates)
      Creates a new TagUpdatesRequest.
      Parameters:
      updates - The updates to apply to the tag.
    • TagUpdatesRequest

      public TagUpdatesRequest()
      This is the constructor that is used by Jackson deserializer
  • Method Details

    • validate

      public void validate() throws IllegalArgumentException
      Description copied from interface: RESTMessage
      Ensures that a constructed instance of a REST message is valid according to the REST spec.

      This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.

      Specified by:
      validate in interface RESTMessage
      Throws:
      IllegalArgumentException