Class ModelDataVersionResponse

java.lang.Object
ai.vectros.types.ModelDataVersionResponse

public final class ModelDataVersionResponse extends Object
  • Method Details

    • getId

      public Optional<String> getId()
      Returns:
      Unique identifier for this version-history entry.
    • getChangeType

      Returns:
      The kind of change this entry records: CREATE for the initial creation, UPDATE for a mutation, DELETE for a deletion.
    • getPreviousContent

      public Optional<String> getPreviousContent()
      Returns:
      A JSON-encoded snapshot of the record's full state immediately before this change. Deserialize it to inspect the previous payload, ownership, and other fields. Present on UPDATE and DELETE entries; null on CREATE.
    • getPreviousVersion

      public Optional<Long> getPreviousVersion()
      Returns:
      The record's version number immediately before this change. Null on CREATE.
    • getChangeReason

      public Optional<String> getChangeReason()
      Returns:
      A short, system-generated description of what changed.
    • getChangedBy

      public Optional<String> getChangedBy()
      Returns:
      Identifier of the user or API key that made the change.
    • getCreatedAt

      public Optional<String> getCreatedAt()
      Returns:
      Time this version-history entry was recorded, as an ISO-8601 UTC timestamp.
    • getChangedFields

      public Optional<ModelChanges> getChangedFields()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static ModelDataVersionResponse.Builder builder()