Class BatchEntry

java.lang.Object
codes.thischwa.cf.model.AbstractEntity
codes.thischwa.cf.model.BatchEntry
All Implemented Interfaces:
ResponseEntity

public class BatchEntry extends AbstractEntity
Represents a batch entry containing different types of operations on record entities.

A BatchEntry groups together collections of operations (patches, posts, puts, and deletes) intended to be performed as part of a single batch process. Each operation corresponds to a specific type of action on DNS record entities.

  • patches: A list of RecordEntity objects representing partial updates to existing records.
  • posts: A list of RecordEntity objects to be created as new DNS records.
  • puts: A list of RecordEntity objects representing updates or replacements for existing records.
  • deletes: A list of RecordEntity objects with name, type, and content to be removed.

This class is used as both a request body for batch operations and to represent the batch response.

  • Constructor Details

    • BatchEntry

      public BatchEntry()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: ResponseEntity
      Retrieves the unique identifier of the entity.
      Returns:
      the unique identifier as a String