Skip to content

Commit 0965bed

Browse files
Merge pull request #40 from gleanwork/speakeasy-sdk-regen-1759915422
chore: 🐝 Update SDK - Generate 0.10.5
2 parents a99d9cd + af117bf commit 0965bed

File tree

120 files changed

+508
-409
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+508
-409
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ generation:
2222
generateNewTests: false
2323
skipResponseBodyAssertions: false
2424
java:
25-
version: 0.10.4
25+
version: 0.10.5
2626
additionalDependencies: []
2727
additionalPlugins: []
2828
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8639,6 +8639,9 @@ components:
86398639
agentName:
86408640
type: string
86418641
description: Agent name
8642+
icon:
8643+
$ref: "#/components/schemas/IconConfig"
8644+
description: Agent icon configuration
86428645
userCount:
86438646
type: integer
86448647
description: Total number of users for this agent over the specified time period.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.635.3
1+
speakeasyVersion: 1.636.2
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:9c88586528e71ab61d6ab430aae0133ce42899151af73f3917d776b7d45785a5
6-
sourceBlobDigest: sha256:ce64a4e209ccf3f1af32689bd1d7c3aea9bf764b2b047ccb8decbc87dbdd3c1e
5+
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
6+
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1759451490
9+
- speakeasy-sdk-regen-1759915422
1010
Glean-OAS:
1111
sourceNamespace: glean-oas
1212
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:9c88586528e71ab61d6ab430aae0133ce42899151af73f3917d776b7d45785a5
22-
sourceBlobDigest: sha256:ce64a4e209ccf3f1af32689bd1d7c3aea9bf764b2b047ccb8decbc87dbdd3c1e
21+
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
22+
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:4255aa39310ef8cc96770aa67302bef439f3dd7cf1d0e167569d9b5802a821e2
24+
codeSamplesRevisionDigest: sha256:177eedda1fa9fb4929746471d22145778a18c64a9969ba9ba4bc869a9ae2b524
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ The samples below show how a published SDK artifact is used:
6464

6565
Gradle:
6666
```groovy
67-
implementation 'com.glean.api-client:glean-api-client:0.10.4'
67+
implementation 'com.glean.api-client:glean-api-client:0.10.5'
6868
```
6969

7070
Maven:
7171
```xml
7272
<dependency>
7373
<groupId>com.glean.api-client</groupId>
7474
<artifactId>glean-api-client</artifactId>
75-
<version>0.10.4</version>
75+
<version>0.10.5</version>
7676
</dependency>
7777
```
7878

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,14 @@ Based on:
258258
### Generated
259259
- [java v0.10.4] .
260260
### Releases
261-
- [Maven Central v0.10.4] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.4 - .
261+
- [Maven Central v0.10.4] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.4 - .
262+
263+
## 2025-10-09 01:51:20
264+
### Changes
265+
Based on:
266+
- OpenAPI Doc
267+
- Speakeasy CLI 1.636.2 (2.723.8) https://github.com/speakeasy-api/speakeasy
268+
### Generated
269+
- [java v0.10.5] .
270+
### Releases
271+
- [Maven Central v0.10.5] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.5 - .

docs/models/components/PerAgentInsight.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8-
| `agentId` | *Optional\<String>* | :heavy_minus_sign: | Agent ID |
9-
| `agentName` | *Optional\<String>* | :heavy_minus_sign: | Agent name |
10-
| `userCount` | *Optional\<Long>* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. |
11-
| `runCount` | *Optional\<Long>* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. |
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
8+
| `agentId` | *Optional\<String>* | :heavy_minus_sign: | Agent ID | |
9+
| `agentName` | *Optional\<String>* | :heavy_minus_sign: | Agent name | |
10+
| `icon` | [Optional\<IconConfig>](../../models/components/IconConfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
11+
| `userCount` | *Optional\<Long>* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. | |
12+
| `runCount` | *Optional\<Long>* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. | |

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
groupId=com.glean.api-client
22
artifactId=glean-api-client
3-
version=0.10.4
3+
version=0.10.5
44
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g

src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public class SDKConfiguration {
2424

2525
private static final String LANGUAGE = "java";
2626
public static final String OPENAPI_DOC_VERSION = "0.9.0";
27-
public static final String SDK_VERSION = "0.10.4";
28-
public static final String GEN_VERSION = "2.722.5";
27+
public static final String SDK_VERSION = "0.10.5";
28+
public static final String GEN_VERSION = "2.723.8";
2929
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
3030
public static final String USER_AGENT =
3131
String.format("speakeasy-sdk/%s %s %s %s %s",

src/main/java/com/glean/api_client/glean_api_client/models/components/PerAgentInsight.java

Lines changed: 67 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import java.lang.Long;
1313
import java.lang.Override;
1414
import java.lang.String;
15+
import java.lang.SuppressWarnings;
1516
import java.util.Optional;
1617

1718

@@ -30,6 +31,13 @@ public class PerAgentInsight {
3031
@JsonProperty("agentName")
3132
private Optional<String> agentName;
3233

34+
/**
35+
* Defines how to render an icon
36+
*/
37+
@JsonInclude(Include.NON_ABSENT)
38+
@JsonProperty("icon")
39+
private Optional<? extends IconConfig> icon;
40+
3341
/**
3442
* Total number of users for this agent over the specified time period.
3543
*/
@@ -48,21 +56,24 @@ public class PerAgentInsight {
4856
public PerAgentInsight(
4957
@JsonProperty("agentId") Optional<String> agentId,
5058
@JsonProperty("agentName") Optional<String> agentName,
59+
@JsonProperty("icon") Optional<? extends IconConfig> icon,
5160
@JsonProperty("userCount") Optional<Long> userCount,
5261
@JsonProperty("runCount") Optional<Long> runCount) {
5362
Utils.checkNotNull(agentId, "agentId");
5463
Utils.checkNotNull(agentName, "agentName");
64+
Utils.checkNotNull(icon, "icon");
5565
Utils.checkNotNull(userCount, "userCount");
5666
Utils.checkNotNull(runCount, "runCount");
5767
this.agentId = agentId;
5868
this.agentName = agentName;
69+
this.icon = icon;
5970
this.userCount = userCount;
6071
this.runCount = runCount;
6172
}
6273

6374
public PerAgentInsight() {
6475
this(Optional.empty(), Optional.empty(), Optional.empty(),
65-
Optional.empty());
76+
Optional.empty(), Optional.empty());
6677
}
6778

6879
/**
@@ -81,6 +92,15 @@ public Optional<String> agentName() {
8192
return agentName;
8293
}
8394

95+
/**
96+
* Defines how to render an icon
97+
*/
98+
@SuppressWarnings("unchecked")
99+
@JsonIgnore
100+
public Optional<IconConfig> icon() {
101+
return (Optional<IconConfig>) icon;
102+
}
103+
84104
/**
85105
* Total number of users for this agent over the specified time period.
86106
*/
@@ -140,6 +160,25 @@ public PerAgentInsight withAgentName(Optional<String> agentName) {
140160
return this;
141161
}
142162

163+
/**
164+
* Defines how to render an icon
165+
*/
166+
public PerAgentInsight withIcon(IconConfig icon) {
167+
Utils.checkNotNull(icon, "icon");
168+
this.icon = Optional.ofNullable(icon);
169+
return this;
170+
}
171+
172+
173+
/**
174+
* Defines how to render an icon
175+
*/
176+
public PerAgentInsight withIcon(Optional<? extends IconConfig> icon) {
177+
Utils.checkNotNull(icon, "icon");
178+
this.icon = icon;
179+
return this;
180+
}
181+
143182
/**
144183
* Total number of users for this agent over the specified time period.
145184
*/
@@ -190,22 +229,24 @@ public boolean equals(java.lang.Object o) {
190229
return
191230
Utils.enhancedDeepEquals(this.agentId, other.agentId) &&
192231
Utils.enhancedDeepEquals(this.agentName, other.agentName) &&
232+
Utils.enhancedDeepEquals(this.icon, other.icon) &&
193233
Utils.enhancedDeepEquals(this.userCount, other.userCount) &&
194234
Utils.enhancedDeepEquals(this.runCount, other.runCount);
195235
}
196236

197237
@Override
198238
public int hashCode() {
199239
return Utils.enhancedHash(
200-
agentId, agentName, userCount,
201-
runCount);
240+
agentId, agentName, icon,
241+
userCount, runCount);
202242
}
203243

204244
@Override
205245
public String toString() {
206246
return Utils.toString(PerAgentInsight.class,
207247
"agentId", agentId,
208248
"agentName", agentName,
249+
"icon", icon,
209250
"userCount", userCount,
210251
"runCount", runCount);
211252
}
@@ -217,6 +258,8 @@ public final static class Builder {
217258

218259
private Optional<String> agentName = Optional.empty();
219260

261+
private Optional<? extends IconConfig> icon = Optional.empty();
262+
220263
private Optional<Long> userCount = Optional.empty();
221264

222265
private Optional<Long> runCount = Optional.empty();
@@ -264,6 +307,25 @@ public Builder agentName(Optional<String> agentName) {
264307
}
265308

266309

310+
/**
311+
* Defines how to render an icon
312+
*/
313+
public Builder icon(IconConfig icon) {
314+
Utils.checkNotNull(icon, "icon");
315+
this.icon = Optional.ofNullable(icon);
316+
return this;
317+
}
318+
319+
/**
320+
* Defines how to render an icon
321+
*/
322+
public Builder icon(Optional<? extends IconConfig> icon) {
323+
Utils.checkNotNull(icon, "icon");
324+
this.icon = icon;
325+
return this;
326+
}
327+
328+
267329
/**
268330
* Total number of users for this agent over the specified time period.
269331
*/
@@ -304,8 +366,8 @@ public Builder runCount(Optional<Long> runCount) {
304366
public PerAgentInsight build() {
305367

306368
return new PerAgentInsight(
307-
agentId, agentName, userCount,
308-
runCount);
369+
agentId, agentName, icon,
370+
userCount, runCount);
309371
}
310372

311373
}

0 commit comments

Comments
 (0)