Skip to content

Commit 22e7e7e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1dfb39b of spec repo
1 parent 4a66de4 commit 22e7e7e

3 files changed

Lines changed: 142 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37856,16 +37856,28 @@ components:
3785637856
description: Identifier of the content for this interaction.
3785737857
example: "trace-abc-123"
3785837858
type: string
37859+
created_at:
37860+
description: Timestamp when the interaction was added to the queue.
37861+
example: "2024-01-15T10:30:00Z"
37862+
format: date-time
37863+
type: string
3785937864
id:
3786037865
description: Unique identifier of the interaction.
3786137866
example: "interaction-456"
3786237867
type: string
37868+
modified_at:
37869+
description: Timestamp when the interaction was last updated.
37870+
example: "2024-01-15T10:30:00Z"
37871+
format: date-time
37872+
type: string
3786337873
type:
3786437874
$ref: "#/components/schemas/LLMObsInteractionType"
3786537875
required:
3786637876
- id
3786737877
- type
3786837878
- content_id
37879+
- created_at
37880+
- modified_at
3786937881
- annotations
3787037882
type: object
3787137883
LLMObsAnnotatedInteractionsDataAttributesResponse:
@@ -38072,17 +38084,29 @@ components:
3807238084
description: Identifier of the content for this interaction.
3807338085
example: "trace-abc-123"
3807438086
type: string
38087+
created_at:
38088+
description: Timestamp when the interaction was added to the queue.
38089+
example: "2024-01-15T10:30:00Z"
38090+
format: date-time
38091+
type: string
3807538092
id:
3807638093
description: Unique identifier of the interaction.
3807738094
example: "00000000-0000-0000-0000-000000000000"
3807838095
type: string
38096+
modified_at:
38097+
description: Timestamp when the interaction was last updated.
38098+
example: "2024-01-15T10:30:00Z"
38099+
format: date-time
38100+
type: string
3807938101
type:
3808038102
$ref: "#/components/schemas/LLMObsInteractionType"
3808138103
required:
3808238104
- id
3808338105
- type
3808438106
- content_id
3808538107
- already_existed
38108+
- created_at
38109+
- modified_at
3808638110
type: object
3808738111
LLMObsAnnotationQueueInteractionsDataAttributesRequest:
3808838112
description: Attributes for adding interactions to an annotation queue.

src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotatedInteractionItem.java

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import com.fasterxml.jackson.annotation.JsonInclude;
1414
import com.fasterxml.jackson.annotation.JsonProperty;
1515
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
16+
import java.time.OffsetDateTime;
1617
import java.util.ArrayList;
1718
import java.util.HashMap;
1819
import java.util.List;
@@ -23,7 +24,9 @@
2324
@JsonPropertyOrder({
2425
LLMObsAnnotatedInteractionItem.JSON_PROPERTY_ANNOTATIONS,
2526
LLMObsAnnotatedInteractionItem.JSON_PROPERTY_CONTENT_ID,
27+
LLMObsAnnotatedInteractionItem.JSON_PROPERTY_CREATED_AT,
2628
LLMObsAnnotatedInteractionItem.JSON_PROPERTY_ID,
29+
LLMObsAnnotatedInteractionItem.JSON_PROPERTY_MODIFIED_AT,
2730
LLMObsAnnotatedInteractionItem.JSON_PROPERTY_TYPE
2831
})
2932
@jakarta.annotation.Generated(
@@ -36,9 +39,15 @@ public class LLMObsAnnotatedInteractionItem {
3639
public static final String JSON_PROPERTY_CONTENT_ID = "content_id";
3740
private String contentId;
3841

42+
public static final String JSON_PROPERTY_CREATED_AT = "created_at";
43+
private OffsetDateTime createdAt;
44+
3945
public static final String JSON_PROPERTY_ID = "id";
4046
private String id;
4147

48+
public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at";
49+
private OffsetDateTime modifiedAt;
50+
4251
public static final String JSON_PROPERTY_TYPE = "type";
4352
private LLMObsInteractionType type;
4453

@@ -49,11 +58,15 @@ public LLMObsAnnotatedInteractionItem(
4958
@JsonProperty(required = true, value = JSON_PROPERTY_ANNOTATIONS)
5059
List<LLMObsAnnotationItem> annotations,
5160
@JsonProperty(required = true, value = JSON_PROPERTY_CONTENT_ID) String contentId,
61+
@JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt,
5262
@JsonProperty(required = true, value = JSON_PROPERTY_ID) String id,
63+
@JsonProperty(required = true, value = JSON_PROPERTY_MODIFIED_AT) OffsetDateTime modifiedAt,
5364
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE) LLMObsInteractionType type) {
5465
this.annotations = annotations;
5566
this.contentId = contentId;
67+
this.createdAt = createdAt;
5668
this.id = id;
69+
this.modifiedAt = modifiedAt;
5770
this.type = type;
5871
this.unparsed |= !type.isValid();
5972
}
@@ -107,6 +120,26 @@ public void setContentId(String contentId) {
107120
this.contentId = contentId;
108121
}
109122

123+
public LLMObsAnnotatedInteractionItem createdAt(OffsetDateTime createdAt) {
124+
this.createdAt = createdAt;
125+
return this;
126+
}
127+
128+
/**
129+
* Timestamp when the interaction was added to the queue.
130+
*
131+
* @return createdAt
132+
*/
133+
@JsonProperty(JSON_PROPERTY_CREATED_AT)
134+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
135+
public OffsetDateTime getCreatedAt() {
136+
return createdAt;
137+
}
138+
139+
public void setCreatedAt(OffsetDateTime createdAt) {
140+
this.createdAt = createdAt;
141+
}
142+
110143
public LLMObsAnnotatedInteractionItem id(String id) {
111144
this.id = id;
112145
return this;
@@ -127,6 +160,26 @@ public void setId(String id) {
127160
this.id = id;
128161
}
129162

163+
public LLMObsAnnotatedInteractionItem modifiedAt(OffsetDateTime modifiedAt) {
164+
this.modifiedAt = modifiedAt;
165+
return this;
166+
}
167+
168+
/**
169+
* Timestamp when the interaction was last updated.
170+
*
171+
* @return modifiedAt
172+
*/
173+
@JsonProperty(JSON_PROPERTY_MODIFIED_AT)
174+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
175+
public OffsetDateTime getModifiedAt() {
176+
return modifiedAt;
177+
}
178+
179+
public void setModifiedAt(OffsetDateTime modifiedAt) {
180+
this.modifiedAt = modifiedAt;
181+
}
182+
130183
public LLMObsAnnotatedInteractionItem type(LLMObsInteractionType type) {
131184
this.type = type;
132185
this.unparsed |= !type.isValid();
@@ -210,15 +263,18 @@ public boolean equals(Object o) {
210263
(LLMObsAnnotatedInteractionItem) o;
211264
return Objects.equals(this.annotations, llmObsAnnotatedInteractionItem.annotations)
212265
&& Objects.equals(this.contentId, llmObsAnnotatedInteractionItem.contentId)
266+
&& Objects.equals(this.createdAt, llmObsAnnotatedInteractionItem.createdAt)
213267
&& Objects.equals(this.id, llmObsAnnotatedInteractionItem.id)
268+
&& Objects.equals(this.modifiedAt, llmObsAnnotatedInteractionItem.modifiedAt)
214269
&& Objects.equals(this.type, llmObsAnnotatedInteractionItem.type)
215270
&& Objects.equals(
216271
this.additionalProperties, llmObsAnnotatedInteractionItem.additionalProperties);
217272
}
218273

219274
@Override
220275
public int hashCode() {
221-
return Objects.hash(annotations, contentId, id, type, additionalProperties);
276+
return Objects.hash(
277+
annotations, contentId, createdAt, id, modifiedAt, type, additionalProperties);
222278
}
223279

224280
@Override
@@ -227,7 +283,9 @@ public String toString() {
227283
sb.append("class LLMObsAnnotatedInteractionItem {\n");
228284
sb.append(" annotations: ").append(toIndentedString(annotations)).append("\n");
229285
sb.append(" contentId: ").append(toIndentedString(contentId)).append("\n");
286+
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
230287
sb.append(" id: ").append(toIndentedString(id)).append("\n");
288+
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
231289
sb.append(" type: ").append(toIndentedString(type)).append("\n");
232290
sb.append(" additionalProperties: ")
233291
.append(toIndentedString(additionalProperties))

src/main/java/com/datadog/api/client/v2/model/LLMObsAnnotationQueueInteractionResponseItem.java

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import com.fasterxml.jackson.annotation.JsonInclude;
1414
import com.fasterxml.jackson.annotation.JsonProperty;
1515
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
16+
import java.time.OffsetDateTime;
1617
import java.util.HashMap;
1718
import java.util.Map;
1819
import java.util.Objects;
@@ -21,7 +22,9 @@
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

Comments
 (0)