Class ModelDeletionResult

java.lang.Object
io.fluxzero.common.api.AbstractRequestResult
io.fluxzero.common.api.modeling.ModelDeletionResult
All Implemented Interfaces:
JsonType, RequestResult

public class ModelDeletionResult extends AbstractRequestResult
Completed result of an idempotent independent-model hard deletion.
  • Constructor Details

    • ModelDeletionResult

      public ModelDeletionResult()
  • Method Details

    • forRequest

      public ModelDeletionResult forRequest(long requestId, boolean duplicate)
      Returns this durable result correlated to a retrying request.
    • toMetric

      public ModelDeletionResult.Metric toMetric()
      Description copied from interface: JsonType
      Converts this object into a compact metric representation for logging or monitoring.

      Used by the Fluxzero Java SDK to avoid logging large payloads directly while still tracking platform usage.

      Returns:
      a safe and compact object suitable for serialization to the metrics log