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 LLMObsAnnotationQueueInteractionResponseItem .JSON_PROPERTY_ALREADY_EXISTED ,
2324 LLMObsAnnotationQueueInteractionResponseItem .JSON_PROPERTY_CONTENT_ID ,
25+ LLMObsAnnotationQueueInteractionResponseItem .JSON_PROPERTY_CREATED_AT ,
2426 LLMObsAnnotationQueueInteractionResponseItem .JSON_PROPERTY_ID ,
27+ LLMObsAnnotationQueueInteractionResponseItem .JSON_PROPERTY_MODIFIED_AT ,
2528 LLMObsAnnotationQueueInteractionResponseItem .JSON_PROPERTY_TYPE
2629})
2730@ jakarta .annotation .Generated (
@@ -34,9 +37,15 @@ public class LLMObsAnnotationQueueInteractionResponseItem {
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 LLMObsInteractionType type ;
4251
@@ -46,11 +55,15 @@ public LLMObsAnnotationQueueInteractionResponseItem() {}
4655 public LLMObsAnnotationQueueInteractionResponseItem (
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 ) LLMObsInteractionType 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 LLMObsAnnotationQueueInteractionResponseItem 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 LLMObsAnnotationQueueInteractionResponseItem 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 LLMObsAnnotationQueueInteractionResponseItem 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 LLMObsAnnotationQueueInteractionResponseItem type (LLMObsInteractionType type ) {
119172 this .type = type ;
120173 this .unparsed |= !type .isValid ();
@@ -200,7 +253,9 @@ public boolean equals(Object o) {
200253 return Objects .equals (
201254 this .alreadyExisted , llmObsAnnotationQueueInteractionResponseItem .alreadyExisted )
202255 && Objects .equals (this .contentId , llmObsAnnotationQueueInteractionResponseItem .contentId )
256+ && Objects .equals (this .createdAt , llmObsAnnotationQueueInteractionResponseItem .createdAt )
203257 && Objects .equals (this .id , llmObsAnnotationQueueInteractionResponseItem .id )
258+ && Objects .equals (this .modifiedAt , llmObsAnnotationQueueInteractionResponseItem .modifiedAt )
204259 && Objects .equals (this .type , llmObsAnnotationQueueInteractionResponseItem .type )
205260 && Objects .equals (
206261 this .additionalProperties ,
@@ -209,7 +264,8 @@ public boolean equals(Object o) {
209264
210265 @ Override
211266 public int hashCode () {
212- return Objects .hash (alreadyExisted , contentId , id , type , additionalProperties );
267+ return Objects .hash (
268+ alreadyExisted , contentId , createdAt , id , modifiedAt , type , additionalProperties );
213269 }
214270
215271 @ Override
@@ -218,7 +274,9 @@ public String toString() {
218274 sb .append ("class LLMObsAnnotationQueueInteractionResponseItem {\n " );
219275 sb .append (" alreadyExisted: " ).append (toIndentedString (alreadyExisted )).append ("\n " );
220276 sb .append (" contentId: " ).append (toIndentedString (contentId )).append ("\n " );
277+ sb .append (" createdAt: " ).append (toIndentedString (createdAt )).append ("\n " );
221278 sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
279+ sb .append (" modifiedAt: " ).append (toIndentedString (modifiedAt )).append ("\n " );
222280 sb .append (" type: " ).append (toIndentedString (type )).append ("\n " );
223281 sb .append (" additionalProperties: " )
224282 .append (toIndentedString (additionalProperties ))
0 commit comments