Package ai.vectros.types
Class ModelDataVersionResponse.Builder
java.lang.Object
ai.vectros.types.ModelDataVersionResponse.Builder
- Enclosing class:
ModelDataVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Identifier of the user or API key that made the change.changedFields(ModelChanges changedFields) changedFields(Optional<ModelChanges> changedFields) changeReason(String changeReason) changeReason(Optional<String> changeReason) A short, system-generated description of what changed.changeType(ModelDataVersionResponseChangeType changeType) changeType(Optional<ModelDataVersionResponseChangeType> changeType) The kind of change this entry records: CREATE for the initial creation, UPDATE for a mutation, DELETE for a deletion.Time this version-history entry was recorded, as an ISO-8601 UTC timestamp.from(ModelDataVersionResponse other) Unique identifier for this version-history entry.previousContent(String previousContent) previousContent(Optional<String> previousContent) A JSON-encoded snapshot of the record's full state immediately before this change.previousVersion(Long previousVersion) previousVersion(Optional<Long> previousVersion) The record's version number immediately before this change.
-
Method Details
-
from
-
id
Unique identifier for this version-history entry.
-
id
-
changeType
public ModelDataVersionResponse.Builder changeType(Optional<ModelDataVersionResponseChangeType> changeType) The kind of change this entry records: CREATE for the initial creation, UPDATE for a mutation, DELETE for a deletion.
-
changeType
-
previousContent
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.
-
previousContent
-
previousVersion
The record's version number immediately before this change. Null on CREATE.
-
previousVersion
-
changeReason
A short, system-generated description of what changed.
-
changeReason
-
changedBy
Identifier of the user or API key that made the change.
-
changedBy
-
createdAt
Time this version-history entry was recorded, as an ISO-8601 UTC timestamp.
-
createdAt
-
changedFields
-
changedFields
-
build
-
additionalProperty
-
additionalProperties
public ModelDataVersionResponse.Builder additionalProperties(Map<String, Object> additionalProperties)
-