diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 9f45b786..e100c410 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
management:
- docChecksum: 34cd4112e4c32279bed69c71c169040f
+ docChecksum: 11b995ea9de2e5d0d16022982d8132bd
docVersion: 0.9.0
- speakeasyVersion: 1.757.1
- generationVersion: 2.866.2
- releaseVersion: 0.12.29
- configChecksum: fbb4d73f586b3d6808ec47242ac52796
+ speakeasyVersion: 1.759.0
+ generationVersion: 2.869.3
+ releaseVersion: 0.12.30
+ configChecksum: 51d786475d7b56500da1f96c624ef0b7
repoURL: https://github.com/gleanwork/api-client-java.git
installationURL: https://github.com/gleanwork/api-client-java
published: true
persistentEdits:
- generation_id: 1376f32d-3677-46cc-b1fb-f6868f7f29ac
- pristine_commit_hash: 59897d7b2dc6b2271d1a6586df0f2c61fea56acb
- pristine_tree_hash: 0554641fc376f6851344552750852e12841f8287
+ generation_id: ced7ce36-7a13-4773-be8c-e5d39a541e64
+ pristine_commit_hash: 36d3f4207b17b5c2219d4dd63ff405dcbff7cf0f
+ pristine_tree_hash: ff301928426c7bfb29106cba5093917e7f2ac5b8
features:
java:
additionalDependencies: 0.1.0
@@ -355,8 +355,8 @@ trackedFiles:
pristine_git_object: 44a0e8f5a48bd0202cf999977cf54b02440ad48f
docs/models/components/ChatMessageCitation.md:
id: 4c679e41e387
- last_write_checksum: sha1:91b411ee25667a37455da12c93070f85c261355f
- pristine_git_object: 1063b42f7c3315a7434443ce4639d62a8e56e09e
+ last_write_checksum: sha1:4b253ab9a194ec567b1d001db42d5de15f158982
+ pristine_git_object: d87bcee5df0550dbcac033293ba4f1662723997c
docs/models/components/ChatMessageFragment.md:
id: 998e5c5b431f
last_write_checksum: sha1:9b4d789359e4ef9b2cb4aae25bbc6f1ffe1f3fa6
@@ -1403,8 +1403,8 @@ trackedFiles:
pristine_git_object: 58b92865edd1fade5a400b24eecb30d6e2192526
docs/models/components/InsightsOverviewResponse.md:
id: eb8d62a9cad4
- last_write_checksum: sha1:9c2aedb331bcde5d65e4f6dd2b862fb8920382e6
- pristine_git_object: 6724bad81901ac0eaec3efad35d784cd1adc0aff
+ last_write_checksum: sha1:a8f64b428a2bba8d0b4c4ebe2628cffca126b07d
+ pristine_git_object: 6e556f24f2a9b724a9e11f2d5b7151cb6f7aa1cb
docs/models/components/InsightsRequest.md:
id: bca39583d1ca
last_write_checksum: sha1:5bf841888c51c1ac5666f3a0ce26fe728ba5439d
@@ -3211,8 +3211,8 @@ trackedFiles:
pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a
gradle.properties:
id: 2afbb999f001
- last_write_checksum: sha1:baa1cdb96fb4ede979270e5b8ccb7e0b837f1402
- pristine_git_object: d7ca93adb15c04fa1ac89cc293b3260b58942f71
+ last_write_checksum: sha1:c21653a07bf918d0e1be1a826469f6895d01a258
+ pristine_git_object: 99e2ec040a6d88f460a7c47b98d040cceeff695b
gradle/wrapper/gradle-wrapper.jar:
id: ec27dae6e852
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
@@ -3531,8 +3531,8 @@ trackedFiles:
pristine_git_object: ffae914775eb41ff311371f62504344a59d090fd
src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java:
id: d5fcc61f5992
- last_write_checksum: sha1:ae20c8a861d3c6693af212c1a8ee33add7f51f28
- pristine_git_object: 5d7abec3a18af82eed9c37746438ba13f9b29e6f
+ last_write_checksum: sha1:f79d627b25b58874cd3da07916942dd68d119d5f
+ pristine_git_object: 3eacd385bb5cf4a9ad08cea0903f19bba8961a9b
src/main/java/com/glean/api_client/glean_api_client/Search.java:
id: f22d94b920b5
last_write_checksum: sha1:ac38d1ed47be207940dd6fb7e4c688dddccc6a8b
@@ -3863,8 +3863,8 @@ trackedFiles:
pristine_git_object: 650b5da3a0948e4264ae19a722d7b87f62e199ef
src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageCitation.java:
id: c239b058e1e3
- last_write_checksum: sha1:b527db5653c32759daf24b364447b2590e4ec065
- pristine_git_object: bb5333a258b7afb3a8ded5009559cec5afca6b99
+ last_write_checksum: sha1:6e25ac0ef6ff150ba4a76906d3908ef142f0fa96
+ pristine_git_object: d074d871e31881d51b24374d6c45bdb8046d0e1d
src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageFragment.java:
id: c22528520aec
last_write_checksum: sha1:b129bfbd798039c162a300a0df7d40e619f61110
@@ -4911,8 +4911,8 @@ trackedFiles:
pristine_git_object: b8ec936bceaff6ca8ffc907fc064779808bd328b
src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsOverviewResponse.java:
id: 2df162b5c362
- last_write_checksum: sha1:1067b7e06f0d23757486125a3dfe1453ae0c03e1
- pristine_git_object: fc9c067f885a44840db361fb266357aab60be910
+ last_write_checksum: sha1:7cef5e4dd70eb3fa7f03ec3d716fefe645c99990
+ pristine_git_object: ba67584f56d747b6d1eb01ca06cba9e37eb1f8fe
src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsRequest.java:
id: d18f487ace2b
last_write_checksum: sha1:9f4f66fe84e8930d611b20bf21d4a9a044f7c9cd
@@ -9656,6 +9656,7 @@ generatedTests:
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
listpolicies: "2025-06-09T18:03:44Z"
+releaseNotes: "## Java SDK Changes:\n* `glean.client.chat.create()`: \n * `request.chatRequest.messages[].citations[].sourceCustomEntity` **Added**\n * `response.messages[].citations[].sourceCustomEntity` **Added**\n* `glean.client.chat.retrieve()`: `response.chatResult.chat.messages[].citations[].sourceCustomEntity` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatRequest.messages[].citations[].sourceCustomEntity` **Added**\n* `glean.client.insights.retrieve()`: `response.overviewResponse` **Changed**\n"
generatedFiles:
- .gitattributes
- USAGE.md
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index c7c35a12..3074bb30 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -30,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
- version: 0.12.29
+ version: 0.12.30
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml
index 41e4d268..ffa3d1d6 100644
--- a/.speakeasy/glean-merged-spec.yaml
+++ b/.speakeasy/glean-merged-spec.yaml
@@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
- x-source-commit-sha: b82cd7608fd801b317cf9df15ebfb73f83d9febc
+ x-source-commit-sha: 797f674a2b57a6822c26cc194a8d32f63ca07772
description: |
# Introduction
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
- x-open-api-commit-sha: 0b2689b6010d15de5b45dc85490080ea14936ea6
+ x-open-api-commit-sha: fb1ea6d15543bc76391e2796dc62435dcddc598d
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
@@ -7881,6 +7881,8 @@ components:
$ref: "#/components/schemas/ChatFile"
sourcePerson:
$ref: "#/components/schemas/Person"
+ sourceCustomEntity:
+ $ref: "#/components/schemas/CustomEntity"
referenceRanges:
description: Each reference range and its corresponding snippets
type: array
@@ -9071,6 +9073,15 @@ components:
$ref: "#/components/schemas/InsightsSearchSummary"
chatSummary:
$ref: "#/components/schemas/InsightsChatSummary"
+ searchActiveUsers:
+ $ref: "#/components/schemas/CurrentActiveUsers"
+ description: Search-specific active user counts for the specified departments.
+ assistantActiveUsers:
+ $ref: "#/components/schemas/CurrentActiveUsers"
+ description: Assistant-specific active user counts for the specified departments.
+ agentsActiveUsers:
+ $ref: "#/components/schemas/CurrentActiveUsers"
+ description: Agents-specific active user counts for the specified departments.
extensionSummary:
$ref: "#/components/schemas/CurrentActiveUsers"
ugcSummary:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index c4fcfb48..14f45468 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,9 +1,9 @@
-speakeasyVersion: 1.757.1
+speakeasyVersion: 1.759.0
sources:
Glean API:
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
- sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
+ sourceRevisionDigest: sha256:53b31eac2ec62f25dbbd07a30158207961b8f5a44db5f8b0275bbe650786d620
+ sourceBlobDigest: sha256:f67efda4716029385175a7df3e13322f9e46c7972af157231bd89964798c1a3b
tags:
- latest
Glean-OAS:
@@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
- sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
+ sourceRevisionDigest: sha256:53b31eac2ec62f25dbbd07a30158207961b8f5a44db5f8b0275bbe650786d620
+ sourceBlobDigest: sha256:f67efda4716029385175a7df3e13322f9e46c7972af157231bd89964798c1a3b
codeSamplesNamespace: glean-api-specs-java-code-samples
- codeSamplesRevisionDigest: sha256:5c1e0de0a4bb5a5a6cc0554db079c05a21c45781c14ae4b66661cf07e51a4671
+ codeSamplesRevisionDigest: sha256:3967d1d626c1defd024afc59469b9ed8395c8d1e99cc507e8ac589e2dcadac10
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
diff --git a/README.md b/README.md
index 076a2271..607865b1 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,7 @@ The samples below show how a published SDK artifact is used:
Gradle:
```groovy
-implementation 'com.glean.api-client:glean-api-client:0.12.29'
+implementation 'com.glean.api-client:glean-api-client:0.12.30'
```
Maven:
@@ -75,7 +75,7 @@ Maven:
com.glean.api-client
glean-api-client
- 0.12.29
+ 0.12.30
```
diff --git a/RELEASES.md b/RELEASES.md
index 9930be09..32bb78b9 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -638,4 +638,14 @@ Based on:
### Generated
- [java v0.12.29] .
### Releases
-- [Maven Central v0.12.29] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.29 - .
\ No newline at end of file
+- [Maven Central v0.12.29] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.29 - .
+
+## 2026-03-22 02:52:11
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.759.0 (2.869.3) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [java v0.12.30] .
+### Releases
+- [Maven Central v0.12.30] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.30 - .
\ No newline at end of file
diff --git a/docs/models/components/ChatMessageCitation.md b/docs/models/components/ChatMessageCitation.md
index 1063b42f..d87bcee5 100644
--- a/docs/models/components/ChatMessageCitation.md
+++ b/docs/models/components/ChatMessageCitation.md
@@ -11,4 +11,5 @@ Information about the source for a ChatMessage.
| `sourceDocument` | [Optional\](../../models/components/Document.md) | :heavy_minus_sign: | N/A | |
| `sourceFile` | [Optional\](../../models/components/ChatFile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | |
| `sourcePerson` | [Optional\](../../models/components/Person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} |
+| `sourceCustomEntity` | [Optional\](../../models/components/CustomEntity.md) | :heavy_minus_sign: | N/A | |
| `referenceRanges` | List\<[ReferenceRange](../../models/components/ReferenceRange.md)> | :heavy_minus_sign: | Each reference range and its corresponding snippets | |
\ No newline at end of file
diff --git a/docs/models/components/InsightsOverviewResponse.md b/docs/models/components/InsightsOverviewResponse.md
index 6724bad8..6e556f24 100644
--- a/docs/models/components/InsightsOverviewResponse.md
+++ b/docs/models/components/InsightsOverviewResponse.md
@@ -12,6 +12,9 @@
| `totalSignups` | *Optional\* | :heavy_minus_sign: | Number of current signed up employees in the specified departments, according to the Org Chart. |
| `searchSummary` | [Optional\](../../models/components/InsightsSearchSummary.md) | :heavy_minus_sign: | N/A |
| `chatSummary` | [Optional\](../../models/components/InsightsChatSummary.md) | :heavy_minus_sign: | N/A |
+| `searchActiveUsers` | [Optional\](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
+| `assistantActiveUsers` | [Optional\](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
+| `agentsActiveUsers` | [Optional\](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `extensionSummary` | [Optional\](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `ugcSummary` | [Optional\](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `lastUpdatedTs` | *Optional\* | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. |
diff --git a/gradle.properties b/gradle.properties
index d7ca93ad..99e2ec04 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
groupId=com.glean.api-client
artifactId=glean-api-client
-version=0.12.29
+version=0.12.30
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
diff --git a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java
index 5d7abec3..3eacd385 100644
--- a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java
+++ b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java
@@ -25,8 +25,8 @@ public class SDKConfiguration {
private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "0.9.0";
- public static final String SDK_VERSION = "0.12.29";
- public static final String GEN_VERSION = "2.866.2";
+ public static final String SDK_VERSION = "0.12.30";
+ public static final String GEN_VERSION = "2.869.3";
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageCitation.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageCitation.java
index bb5333a2..d074d871 100644
--- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageCitation.java
+++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageCitation.java
@@ -47,6 +47,11 @@ public class ChatMessageCitation {
@JsonProperty("sourcePerson")
private Optional extends Person> sourcePerson;
+
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("sourceCustomEntity")
+ private Optional extends CustomEntity> sourceCustomEntity;
+
/**
* Each reference range and its corresponding snippets
*/
@@ -60,22 +65,25 @@ public ChatMessageCitation(
@JsonProperty("sourceDocument") Optional extends Document> sourceDocument,
@JsonProperty("sourceFile") Optional extends ChatFile> sourceFile,
@JsonProperty("sourcePerson") Optional extends Person> sourcePerson,
+ @JsonProperty("sourceCustomEntity") Optional extends CustomEntity> sourceCustomEntity,
@JsonProperty("referenceRanges") Optional extends List> referenceRanges) {
Utils.checkNotNull(trackingToken, "trackingToken");
Utils.checkNotNull(sourceDocument, "sourceDocument");
Utils.checkNotNull(sourceFile, "sourceFile");
Utils.checkNotNull(sourcePerson, "sourcePerson");
+ Utils.checkNotNull(sourceCustomEntity, "sourceCustomEntity");
Utils.checkNotNull(referenceRanges, "referenceRanges");
this.trackingToken = trackingToken;
this.sourceDocument = sourceDocument;
this.sourceFile = sourceFile;
this.sourcePerson = sourcePerson;
+ this.sourceCustomEntity = sourceCustomEntity;
this.referenceRanges = referenceRanges;
}
public ChatMessageCitation() {
this(Optional.empty(), Optional.empty(), Optional.empty(),
- Optional.empty(), Optional.empty());
+ Optional.empty(), Optional.empty(), Optional.empty());
}
/**
@@ -108,6 +116,12 @@ public Optional sourcePerson() {
return (Optional) sourcePerson;
}
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional sourceCustomEntity() {
+ return (Optional) sourceCustomEntity;
+ }
+
/**
* Each reference range and its corresponding snippets
*/
@@ -188,6 +202,19 @@ public ChatMessageCitation withSourcePerson(Optional extends Person> sourcePer
return this;
}
+ public ChatMessageCitation withSourceCustomEntity(CustomEntity sourceCustomEntity) {
+ Utils.checkNotNull(sourceCustomEntity, "sourceCustomEntity");
+ this.sourceCustomEntity = Optional.ofNullable(sourceCustomEntity);
+ return this;
+ }
+
+
+ public ChatMessageCitation withSourceCustomEntity(Optional extends CustomEntity> sourceCustomEntity) {
+ Utils.checkNotNull(sourceCustomEntity, "sourceCustomEntity");
+ this.sourceCustomEntity = sourceCustomEntity;
+ return this;
+ }
+
/**
* Each reference range and its corresponding snippets
*/
@@ -221,6 +248,7 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.sourceDocument, other.sourceDocument) &&
Utils.enhancedDeepEquals(this.sourceFile, other.sourceFile) &&
Utils.enhancedDeepEquals(this.sourcePerson, other.sourcePerson) &&
+ Utils.enhancedDeepEquals(this.sourceCustomEntity, other.sourceCustomEntity) &&
Utils.enhancedDeepEquals(this.referenceRanges, other.referenceRanges);
}
@@ -228,7 +256,7 @@ public boolean equals(java.lang.Object o) {
public int hashCode() {
return Utils.enhancedHash(
trackingToken, sourceDocument, sourceFile,
- sourcePerson, referenceRanges);
+ sourcePerson, sourceCustomEntity, referenceRanges);
}
@Override
@@ -238,6 +266,7 @@ public String toString() {
"sourceDocument", sourceDocument,
"sourceFile", sourceFile,
"sourcePerson", sourcePerson,
+ "sourceCustomEntity", sourceCustomEntity,
"referenceRanges", referenceRanges);
}
@@ -252,6 +281,8 @@ public final static class Builder {
private Optional extends Person> sourcePerson = Optional.empty();
+ private Optional extends CustomEntity> sourceCustomEntity = Optional.empty();
+
private Optional extends List> referenceRanges = Optional.empty();
private Builder() {
@@ -325,6 +356,19 @@ public Builder sourcePerson(Optional extends Person> sourcePerson) {
}
+ public Builder sourceCustomEntity(CustomEntity sourceCustomEntity) {
+ Utils.checkNotNull(sourceCustomEntity, "sourceCustomEntity");
+ this.sourceCustomEntity = Optional.ofNullable(sourceCustomEntity);
+ return this;
+ }
+
+ public Builder sourceCustomEntity(Optional extends CustomEntity> sourceCustomEntity) {
+ Utils.checkNotNull(sourceCustomEntity, "sourceCustomEntity");
+ this.sourceCustomEntity = sourceCustomEntity;
+ return this;
+ }
+
+
/**
* Each reference range and its corresponding snippets
*/
@@ -347,7 +391,7 @@ public ChatMessageCitation build() {
return new ChatMessageCitation(
trackingToken, sourceDocument, sourceFile,
- sourcePerson, referenceRanges);
+ sourcePerson, sourceCustomEntity, referenceRanges);
}
}
diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsOverviewResponse.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsOverviewResponse.java
index fc9c067f..ba67584f 100644
--- a/src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsOverviewResponse.java
+++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsOverviewResponse.java
@@ -67,6 +67,21 @@ public class InsightsOverviewResponse {
private Optional extends InsightsChatSummary> chatSummary;
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("searchActiveUsers")
+ private Optional extends CurrentActiveUsers> searchActiveUsers;
+
+
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("assistantActiveUsers")
+ private Optional extends CurrentActiveUsers> assistantActiveUsers;
+
+
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("agentsActiveUsers")
+ private Optional extends CurrentActiveUsers> agentsActiveUsers;
+
+
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("extensionSummary")
private Optional extends CurrentActiveUsers> extensionSummary;
@@ -198,6 +213,9 @@ public InsightsOverviewResponse(
@JsonProperty("totalSignups") Optional totalSignups,
@JsonProperty("searchSummary") Optional extends InsightsSearchSummary> searchSummary,
@JsonProperty("chatSummary") Optional extends InsightsChatSummary> chatSummary,
+ @JsonProperty("searchActiveUsers") Optional extends CurrentActiveUsers> searchActiveUsers,
+ @JsonProperty("assistantActiveUsers") Optional extends CurrentActiveUsers> assistantActiveUsers,
+ @JsonProperty("agentsActiveUsers") Optional extends CurrentActiveUsers> agentsActiveUsers,
@JsonProperty("extensionSummary") Optional extends CurrentActiveUsers> extensionSummary,
@JsonProperty("ugcSummary") Optional extends CurrentActiveUsers> ugcSummary,
@JsonProperty("lastUpdatedTs") Optional lastUpdatedTs,
@@ -227,6 +245,9 @@ public InsightsOverviewResponse(
Utils.checkNotNull(totalSignups, "totalSignups");
Utils.checkNotNull(searchSummary, "searchSummary");
Utils.checkNotNull(chatSummary, "chatSummary");
+ Utils.checkNotNull(searchActiveUsers, "searchActiveUsers");
+ Utils.checkNotNull(assistantActiveUsers, "assistantActiveUsers");
+ Utils.checkNotNull(agentsActiveUsers, "agentsActiveUsers");
Utils.checkNotNull(extensionSummary, "extensionSummary");
Utils.checkNotNull(ugcSummary, "ugcSummary");
Utils.checkNotNull(lastUpdatedTs, "lastUpdatedTs");
@@ -256,6 +277,9 @@ public InsightsOverviewResponse(
this.totalSignups = totalSignups;
this.searchSummary = searchSummary;
this.chatSummary = chatSummary;
+ this.searchActiveUsers = searchActiveUsers;
+ this.assistantActiveUsers = assistantActiveUsers;
+ this.agentsActiveUsers = agentsActiveUsers;
this.extensionSummary = extensionSummary;
this.ugcSummary = ugcSummary;
this.lastUpdatedTs = lastUpdatedTs;
@@ -290,6 +314,7 @@ public InsightsOverviewResponse() {
Optional.empty(), Optional.empty(), Optional.empty(),
Optional.empty(), Optional.empty(), Optional.empty(),
Optional.empty(), Optional.empty(), Optional.empty(),
+ Optional.empty(), Optional.empty(), Optional.empty(),
Optional.empty(), Optional.empty());
}
@@ -346,6 +371,24 @@ public Optional chatSummary() {
return (Optional) chatSummary;
}
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional searchActiveUsers() {
+ return (Optional) searchActiveUsers;
+ }
+
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional assistantActiveUsers() {
+ return (Optional) assistantActiveUsers;
+ }
+
+ @SuppressWarnings("unchecked")
+ @JsonIgnore
+ public Optional agentsActiveUsers() {
+ return (Optional) agentsActiveUsers;
+ }
+
@SuppressWarnings("unchecked")
@JsonIgnore
public Optional extensionSummary() {
@@ -620,6 +663,45 @@ public InsightsOverviewResponse withChatSummary(Optional extends InsightsChatS
return this;
}
+ public InsightsOverviewResponse withSearchActiveUsers(CurrentActiveUsers searchActiveUsers) {
+ Utils.checkNotNull(searchActiveUsers, "searchActiveUsers");
+ this.searchActiveUsers = Optional.ofNullable(searchActiveUsers);
+ return this;
+ }
+
+
+ public InsightsOverviewResponse withSearchActiveUsers(Optional extends CurrentActiveUsers> searchActiveUsers) {
+ Utils.checkNotNull(searchActiveUsers, "searchActiveUsers");
+ this.searchActiveUsers = searchActiveUsers;
+ return this;
+ }
+
+ public InsightsOverviewResponse withAssistantActiveUsers(CurrentActiveUsers assistantActiveUsers) {
+ Utils.checkNotNull(assistantActiveUsers, "assistantActiveUsers");
+ this.assistantActiveUsers = Optional.ofNullable(assistantActiveUsers);
+ return this;
+ }
+
+
+ public InsightsOverviewResponse withAssistantActiveUsers(Optional extends CurrentActiveUsers> assistantActiveUsers) {
+ Utils.checkNotNull(assistantActiveUsers, "assistantActiveUsers");
+ this.assistantActiveUsers = assistantActiveUsers;
+ return this;
+ }
+
+ public InsightsOverviewResponse withAgentsActiveUsers(CurrentActiveUsers agentsActiveUsers) {
+ Utils.checkNotNull(agentsActiveUsers, "agentsActiveUsers");
+ this.agentsActiveUsers = Optional.ofNullable(agentsActiveUsers);
+ return this;
+ }
+
+
+ public InsightsOverviewResponse withAgentsActiveUsers(Optional extends CurrentActiveUsers> agentsActiveUsers) {
+ Utils.checkNotNull(agentsActiveUsers, "agentsActiveUsers");
+ this.agentsActiveUsers = agentsActiveUsers;
+ return this;
+ }
+
public InsightsOverviewResponse withExtensionSummary(CurrentActiveUsers extensionSummary) {
Utils.checkNotNull(extensionSummary, "extensionSummary");
this.extensionSummary = Optional.ofNullable(extensionSummary);
@@ -959,6 +1041,9 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.totalSignups, other.totalSignups) &&
Utils.enhancedDeepEquals(this.searchSummary, other.searchSummary) &&
Utils.enhancedDeepEquals(this.chatSummary, other.chatSummary) &&
+ Utils.enhancedDeepEquals(this.searchActiveUsers, other.searchActiveUsers) &&
+ Utils.enhancedDeepEquals(this.assistantActiveUsers, other.assistantActiveUsers) &&
+ Utils.enhancedDeepEquals(this.agentsActiveUsers, other.agentsActiveUsers) &&
Utils.enhancedDeepEquals(this.extensionSummary, other.extensionSummary) &&
Utils.enhancedDeepEquals(this.ugcSummary, other.ugcSummary) &&
Utils.enhancedDeepEquals(this.lastUpdatedTs, other.lastUpdatedTs) &&
@@ -988,7 +1073,8 @@ public int hashCode() {
return Utils.enhancedHash(
monthlyActiveUsers, weeklyActiveUsers, departments,
employeeCount, totalSignups, searchSummary,
- chatSummary, extensionSummary, ugcSummary,
+ chatSummary, searchActiveUsers, assistantActiveUsers,
+ agentsActiveUsers, extensionSummary, ugcSummary,
lastUpdatedTs, searchSessionSatisfaction, monthlyActiveUserTimeseries,
weeklyActiveUserTimeseries, dailyActiveUserTimeseries, searchMonthlyActiveUserTimeseries,
searchWeeklyActiveUserTimeseries, searchDailyActiveUserTimeseries, assistantMonthlyActiveUserTimeseries,
@@ -1008,6 +1094,9 @@ public String toString() {
"totalSignups", totalSignups,
"searchSummary", searchSummary,
"chatSummary", chatSummary,
+ "searchActiveUsers", searchActiveUsers,
+ "assistantActiveUsers", assistantActiveUsers,
+ "agentsActiveUsers", agentsActiveUsers,
"extensionSummary", extensionSummary,
"ugcSummary", ugcSummary,
"lastUpdatedTs", lastUpdatedTs,
@@ -1049,6 +1138,12 @@ public final static class Builder {
private Optional extends InsightsChatSummary> chatSummary = Optional.empty();
+ private Optional extends CurrentActiveUsers> searchActiveUsers = Optional.empty();
+
+ private Optional extends CurrentActiveUsers> assistantActiveUsers = Optional.empty();
+
+ private Optional extends CurrentActiveUsers> agentsActiveUsers = Optional.empty();
+
private Optional extends CurrentActiveUsers> extensionSummary = Optional.empty();
private Optional extends CurrentActiveUsers> ugcSummary = Optional.empty();
@@ -1219,6 +1314,45 @@ public Builder chatSummary(Optional extends InsightsChatSummary> chatSummary)
}
+ public Builder searchActiveUsers(CurrentActiveUsers searchActiveUsers) {
+ Utils.checkNotNull(searchActiveUsers, "searchActiveUsers");
+ this.searchActiveUsers = Optional.ofNullable(searchActiveUsers);
+ return this;
+ }
+
+ public Builder searchActiveUsers(Optional extends CurrentActiveUsers> searchActiveUsers) {
+ Utils.checkNotNull(searchActiveUsers, "searchActiveUsers");
+ this.searchActiveUsers = searchActiveUsers;
+ return this;
+ }
+
+
+ public Builder assistantActiveUsers(CurrentActiveUsers assistantActiveUsers) {
+ Utils.checkNotNull(assistantActiveUsers, "assistantActiveUsers");
+ this.assistantActiveUsers = Optional.ofNullable(assistantActiveUsers);
+ return this;
+ }
+
+ public Builder assistantActiveUsers(Optional extends CurrentActiveUsers> assistantActiveUsers) {
+ Utils.checkNotNull(assistantActiveUsers, "assistantActiveUsers");
+ this.assistantActiveUsers = assistantActiveUsers;
+ return this;
+ }
+
+
+ public Builder agentsActiveUsers(CurrentActiveUsers agentsActiveUsers) {
+ Utils.checkNotNull(agentsActiveUsers, "agentsActiveUsers");
+ this.agentsActiveUsers = Optional.ofNullable(agentsActiveUsers);
+ return this;
+ }
+
+ public Builder agentsActiveUsers(Optional extends CurrentActiveUsers> agentsActiveUsers) {
+ Utils.checkNotNull(agentsActiveUsers, "agentsActiveUsers");
+ this.agentsActiveUsers = agentsActiveUsers;
+ return this;
+ }
+
+
public Builder extensionSummary(CurrentActiveUsers extensionSummary) {
Utils.checkNotNull(extensionSummary, "extensionSummary");
this.extensionSummary = Optional.ofNullable(extensionSummary);
@@ -1545,7 +1679,8 @@ public InsightsOverviewResponse build() {
return new InsightsOverviewResponse(
monthlyActiveUsers, weeklyActiveUsers, departments,
employeeCount, totalSignups, searchSummary,
- chatSummary, extensionSummary, ugcSummary,
+ chatSummary, searchActiveUsers, assistantActiveUsers,
+ agentsActiveUsers, extensionSummary, ugcSummary,
lastUpdatedTs, searchSessionSatisfaction, monthlyActiveUserTimeseries,
weeklyActiveUserTimeseries, dailyActiveUserTimeseries, searchMonthlyActiveUserTimeseries,
searchWeeklyActiveUserTimeseries, searchDailyActiveUserTimeseries, assistantMonthlyActiveUserTimeseries,