1313import com .fasterxml .jackson .annotation .JsonInclude ;
1414import com .fasterxml .jackson .annotation .JsonProperty ;
1515import com .fasterxml .jackson .annotation .JsonPropertyOrder ;
16+ import java .time .OffsetDateTime ;
1617import java .util .HashMap ;
1718import java .util .Map ;
1819import java .util .Objects ;
2122@ JsonPropertyOrder ({
2223 LLMObsTraceInteractionResponseItem .JSON_PROPERTY_ALREADY_EXISTED ,
2324 LLMObsTraceInteractionResponseItem .JSON_PROPERTY_CONTENT_ID ,
25+ LLMObsTraceInteractionResponseItem .JSON_PROPERTY_CREATED_AT ,
2426 LLMObsTraceInteractionResponseItem .JSON_PROPERTY_ID ,
27+ LLMObsTraceInteractionResponseItem .JSON_PROPERTY_MODIFIED_AT ,
2528 LLMObsTraceInteractionResponseItem .JSON_PROPERTY_TYPE
2629})
2730@ jakarta .annotation .Generated (
@@ -34,9 +37,15 @@ public class LLMObsTraceInteractionResponseItem {
3437 public static final String JSON_PROPERTY_CONTENT_ID = "content_id" ;
3538 private String contentId ;
3639
40+ public static final String JSON_PROPERTY_CREATED_AT = "created_at" ;
41+ private OffsetDateTime createdAt ;
42+
3743 public static final String JSON_PROPERTY_ID = "id" ;
3844 private String id ;
3945
46+ public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at" ;
47+ private OffsetDateTime modifiedAt ;
48+
4049 public static final String JSON_PROPERTY_TYPE = "type" ;
4150 private LLMObsTraceInteractionType type ;
4251
@@ -46,11 +55,15 @@ public LLMObsTraceInteractionResponseItem() {}
4655 public LLMObsTraceInteractionResponseItem (
4756 @ JsonProperty (required = true , value = JSON_PROPERTY_ALREADY_EXISTED ) Boolean alreadyExisted ,
4857 @ JsonProperty (required = true , value = JSON_PROPERTY_CONTENT_ID ) String contentId ,
58+ @ JsonProperty (required = true , value = JSON_PROPERTY_CREATED_AT ) OffsetDateTime createdAt ,
4959 @ JsonProperty (required = true , value = JSON_PROPERTY_ID ) String id ,
60+ @ JsonProperty (required = true , value = JSON_PROPERTY_MODIFIED_AT ) OffsetDateTime modifiedAt ,
5061 @ JsonProperty (required = true , value = JSON_PROPERTY_TYPE ) LLMObsTraceInteractionType type ) {
5162 this .alreadyExisted = alreadyExisted ;
5263 this .contentId = contentId ;
64+ this .createdAt = createdAt ;
5365 this .id = id ;
66+ this .modifiedAt = modifiedAt ;
5467 this .type = type ;
5568 this .unparsed |= !type .isValid ();
5669 }
@@ -95,6 +108,26 @@ public void setContentId(String contentId) {
95108 this .contentId = contentId ;
96109 }
97110
111+ public LLMObsTraceInteractionResponseItem createdAt (OffsetDateTime createdAt ) {
112+ this .createdAt = createdAt ;
113+ return this ;
114+ }
115+
116+ /**
117+ * Timestamp when the interaction was added to the queue.
118+ *
119+ * @return createdAt
120+ */
121+ @ JsonProperty (JSON_PROPERTY_CREATED_AT )
122+ @ JsonInclude (value = JsonInclude .Include .ALWAYS )
123+ public OffsetDateTime getCreatedAt () {
124+ return createdAt ;
125+ }
126+
127+ public void setCreatedAt (OffsetDateTime createdAt ) {
128+ this .createdAt = createdAt ;
129+ }
130+
98131 public LLMObsTraceInteractionResponseItem id (String id ) {
99132 this .id = id ;
100133 return this ;
@@ -115,6 +148,26 @@ public void setId(String id) {
115148 this .id = id ;
116149 }
117150
151+ public LLMObsTraceInteractionResponseItem modifiedAt (OffsetDateTime modifiedAt ) {
152+ this .modifiedAt = modifiedAt ;
153+ return this ;
154+ }
155+
156+ /**
157+ * Timestamp when the interaction was last updated.
158+ *
159+ * @return modifiedAt
160+ */
161+ @ JsonProperty (JSON_PROPERTY_MODIFIED_AT )
162+ @ JsonInclude (value = JsonInclude .Include .ALWAYS )
163+ public OffsetDateTime getModifiedAt () {
164+ return modifiedAt ;
165+ }
166+
167+ public void setModifiedAt (OffsetDateTime modifiedAt ) {
168+ this .modifiedAt = modifiedAt ;
169+ }
170+
118171 public LLMObsTraceInteractionResponseItem type (LLMObsTraceInteractionType type ) {
119172 this .type = type ;
120173 this .unparsed |= !type .isValid ();
@@ -198,15 +251,18 @@ public boolean equals(Object o) {
198251 (LLMObsTraceInteractionResponseItem ) o ;
199252 return Objects .equals (this .alreadyExisted , llmObsTraceInteractionResponseItem .alreadyExisted )
200253 && Objects .equals (this .contentId , llmObsTraceInteractionResponseItem .contentId )
254+ && Objects .equals (this .createdAt , llmObsTraceInteractionResponseItem .createdAt )
201255 && Objects .equals (this .id , llmObsTraceInteractionResponseItem .id )
256+ && Objects .equals (this .modifiedAt , llmObsTraceInteractionResponseItem .modifiedAt )
202257 && Objects .equals (this .type , llmObsTraceInteractionResponseItem .type )
203258 && Objects .equals (
204259 this .additionalProperties , llmObsTraceInteractionResponseItem .additionalProperties );
205260 }
206261
207262 @ Override
208263 public int hashCode () {
209- return Objects .hash (alreadyExisted , contentId , id , type , additionalProperties );
264+ return Objects .hash (
265+ alreadyExisted , contentId , createdAt , id , modifiedAt , type , additionalProperties );
210266 }
211267
212268 @ Override
@@ -215,7 +271,9 @@ public String toString() {
215271 sb .append ("class LLMObsTraceInteractionResponseItem {\n " );
216272 sb .append (" alreadyExisted: " ).append (toIndentedString (alreadyExisted )).append ("\n " );
217273 sb .append (" contentId: " ).append (toIndentedString (contentId )).append ("\n " );
274+ sb .append (" createdAt: " ).append (toIndentedString (createdAt )).append ("\n " );
218275 sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
276+ sb .append (" modifiedAt: " ).append (toIndentedString (modifiedAt )).append ("\n " );
219277 sb .append (" type: " ).append (toIndentedString (type )).append ("\n " );
220278 sb .append (" additionalProperties: " )
221279 .append (toIndentedString (additionalProperties ))
0 commit comments