Skip to content

Commit f4ceb44

Browse files
Merge pull request #41 from gleanwork/speakeasy-sdk-regen-1760121029
chore: 🐝 Update SDK - Generate 0.10.6
2 parents 0965bed + f091beb commit f4ceb44

File tree

10 files changed

+110
-32
lines changed

10 files changed

+110
-32
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
33
management:
4-
docChecksum: f83688cf1540bc7d583e1661684632b8
4+
docChecksum: ef00a2f5125097d9f584f0bbb5436f00
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.636.2
7-
generationVersion: 2.723.8
8-
releaseVersion: 0.10.5
9-
configChecksum: 9736136d989532650d8337310e8f8bab
6+
speakeasyVersion: 1.636.3
7+
generationVersion: 2.723.11
8+
releaseVersion: 0.10.6
9+
configChecksum: f8f30b23cd06d0c4f3fa8d2faa9636cb
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
features:
@@ -2900,4 +2900,4 @@ generatedTests:
29002900
listpolicies: "2025-06-09T18:03:44Z"
29012901
releaseNotes: |
29022902
## Java SDK Changes Detected:
2903-
* `glean.client.insights.retrieve()`: `response.agentsresponse.topAgentsInsights.[].icon` **Added**
2903+
* `glean.client.search.retrieveFeed()`: `response.results.[].primaryEntry.digest.sections.[].updates.[].urls` **Added**

.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.5
25+
version: 0.10.6
2626
additionalDependencies: []
2727
additionalPlugins: []
2828
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9723,6 +9723,11 @@ components:
97239723
DigestUpdate:
97249724
type: object
97259725
properties:
9726+
urls:
9727+
type: array
9728+
description: List of URLs for similar updates that are grouped together and rendered as a single update.
9729+
items:
9730+
type: string
97269731
url:
97279732
type: string
97289733
description: URL link to the content or document.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.636.2
1+
speakeasyVersion: 1.636.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
6-
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
5+
sourceRevisionDigest: sha256:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
6+
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1759915422
9+
- speakeasy-sdk-regen-1760121029
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:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
22-
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
21+
sourceRevisionDigest: sha256:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
22+
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:177eedda1fa9fb4929746471d22145778a18c64a9969ba9ba4bc869a9ae2b524
24+
codeSamplesRevisionDigest: sha256:a6b9eb3154d5c2ed370ca7daa9a68a4a969856de4d05aef8986de88177fa5fce
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.5'
67+
implementation 'com.glean.api-client:glean-api-client:0.10.6'
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.5</version>
75+
<version>0.10.6</version>
7676
</dependency>
7777
```
7878

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,14 @@ Based on:
268268
### Generated
269269
- [java v0.10.5] .
270270
### Releases
271-
- [Maven Central v0.10.5] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.5 - .
271+
- [Maven Central v0.10.5] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.5 - .
272+
273+
## 2025-10-10 18:30:05
274+
### Changes
275+
Based on:
276+
- OpenAPI Doc
277+
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
278+
### Generated
279+
- [java v0.10.6] .
280+
### Releases
281+
- [Maven Central v0.10.6] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.6 - .

docs/models/components/DigestUpdate.md

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

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
8-
| `url` | *Optional\<String>* | :heavy_minus_sign: | URL link to the content or document. |
9-
| `title` | *Optional\<String>* | :heavy_minus_sign: | Title or headline of the update. |
10-
| `datasource` | *Optional\<String>* | :heavy_minus_sign: | Name or identifier of the data source (e.g., slack, confluence, etc.). |
11-
| `summary` | *Optional\<String>* | :heavy_minus_sign: | Brief summary or description of the update content. |
12-
| `type` | [Optional\<UpdateType>](../../models/components/UpdateType.md) | :heavy_minus_sign: | Optional type classification for the update. |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
8+
| `urls` | List\<*String*> | :heavy_minus_sign: | List of URLs for similar updates that are grouped together and rendered as a single update. |
9+
| `url` | *Optional\<String>* | :heavy_minus_sign: | URL link to the content or document. |
10+
| `title` | *Optional\<String>* | :heavy_minus_sign: | Title or headline of the update. |
11+
| `datasource` | *Optional\<String>* | :heavy_minus_sign: | Name or identifier of the data source (e.g., slack, confluence, etc.). |
12+
| `summary` | *Optional\<String>* | :heavy_minus_sign: | Brief summary or description of the update content. |
13+
| `type` | [Optional\<UpdateType>](../../models/components/UpdateType.md) | :heavy_minus_sign: | Optional type classification for the update. |

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.5
3+
version=0.10.6
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.5";
28-
public static final String GEN_VERSION = "2.723.8";
27+
public static final String SDK_VERSION = "0.10.6";
28+
public static final String GEN_VERSION = "2.723.11";
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/DigestUpdate.java

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

1718

1819
public class DigestUpdate {
20+
/**
21+
* List of URLs for similar updates that are grouped together and rendered as a single update.
22+
*/
23+
@JsonInclude(Include.NON_ABSENT)
24+
@JsonProperty("urls")
25+
private Optional<? extends List<String>> urls;
26+
1927
/**
2028
* URL link to the content or document.
2129
*/
@@ -53,16 +61,19 @@ public class DigestUpdate {
5361

5462
@JsonCreator
5563
public DigestUpdate(
64+
@JsonProperty("urls") Optional<? extends List<String>> urls,
5665
@JsonProperty("url") Optional<String> url,
5766
@JsonProperty("title") Optional<String> title,
5867
@JsonProperty("datasource") Optional<String> datasource,
5968
@JsonProperty("summary") Optional<String> summary,
6069
@JsonProperty("type") Optional<? extends UpdateType> type) {
70+
Utils.checkNotNull(urls, "urls");
6171
Utils.checkNotNull(url, "url");
6272
Utils.checkNotNull(title, "title");
6373
Utils.checkNotNull(datasource, "datasource");
6474
Utils.checkNotNull(summary, "summary");
6575
Utils.checkNotNull(type, "type");
76+
this.urls = urls;
6677
this.url = url;
6778
this.title = title;
6879
this.datasource = datasource;
@@ -72,7 +83,16 @@ public DigestUpdate(
7283

7384
public DigestUpdate() {
7485
this(Optional.empty(), Optional.empty(), Optional.empty(),
75-
Optional.empty(), Optional.empty());
86+
Optional.empty(), Optional.empty(), Optional.empty());
87+
}
88+
89+
/**
90+
* List of URLs for similar updates that are grouped together and rendered as a single update.
91+
*/
92+
@SuppressWarnings("unchecked")
93+
@JsonIgnore
94+
public Optional<List<String>> urls() {
95+
return (Optional<List<String>>) urls;
7696
}
7797

7898
/**
@@ -121,6 +141,25 @@ public static Builder builder() {
121141
}
122142

123143

144+
/**
145+
* List of URLs for similar updates that are grouped together and rendered as a single update.
146+
*/
147+
public DigestUpdate withUrls(List<String> urls) {
148+
Utils.checkNotNull(urls, "urls");
149+
this.urls = Optional.ofNullable(urls);
150+
return this;
151+
}
152+
153+
154+
/**
155+
* List of URLs for similar updates that are grouped together and rendered as a single update.
156+
*/
157+
public DigestUpdate withUrls(Optional<? extends List<String>> urls) {
158+
Utils.checkNotNull(urls, "urls");
159+
this.urls = urls;
160+
return this;
161+
}
162+
124163
/**
125164
* URL link to the content or document.
126165
*/
@@ -226,6 +265,7 @@ public boolean equals(java.lang.Object o) {
226265
}
227266
DigestUpdate other = (DigestUpdate) o;
228267
return
268+
Utils.enhancedDeepEquals(this.urls, other.urls) &&
229269
Utils.enhancedDeepEquals(this.url, other.url) &&
230270
Utils.enhancedDeepEquals(this.title, other.title) &&
231271
Utils.enhancedDeepEquals(this.datasource, other.datasource) &&
@@ -236,13 +276,14 @@ public boolean equals(java.lang.Object o) {
236276
@Override
237277
public int hashCode() {
238278
return Utils.enhancedHash(
239-
url, title, datasource,
240-
summary, type);
279+
urls, url, title,
280+
datasource, summary, type);
241281
}
242282

243283
@Override
244284
public String toString() {
245285
return Utils.toString(DigestUpdate.class,
286+
"urls", urls,
246287
"url", url,
247288
"title", title,
248289
"datasource", datasource,
@@ -253,6 +294,8 @@ public String toString() {
253294
@SuppressWarnings("UnusedReturnValue")
254295
public final static class Builder {
255296

297+
private Optional<? extends List<String>> urls = Optional.empty();
298+
256299
private Optional<String> url = Optional.empty();
257300

258301
private Optional<String> title = Optional.empty();
@@ -268,6 +311,25 @@ private Builder() {
268311
}
269312

270313

314+
/**
315+
* List of URLs for similar updates that are grouped together and rendered as a single update.
316+
*/
317+
public Builder urls(List<String> urls) {
318+
Utils.checkNotNull(urls, "urls");
319+
this.urls = Optional.ofNullable(urls);
320+
return this;
321+
}
322+
323+
/**
324+
* List of URLs for similar updates that are grouped together and rendered as a single update.
325+
*/
326+
public Builder urls(Optional<? extends List<String>> urls) {
327+
Utils.checkNotNull(urls, "urls");
328+
this.urls = urls;
329+
return this;
330+
}
331+
332+
271333
/**
272334
* URL link to the content or document.
273335
*/
@@ -365,8 +427,8 @@ public Builder type(Optional<? extends UpdateType> type) {
365427
public DigestUpdate build() {
366428

367429
return new DigestUpdate(
368-
url, title, datasource,
369-
summary, type);
430+
urls, url, title,
431+
datasource, summary, type);
370432
}
371433

372434
}

0 commit comments

Comments
 (0)