We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6126937 commit 9eafb93Copy full SHA for 9eafb93
articles/communication-services/how-tos/router-sdk/estimated-wait-time.md
@@ -57,8 +57,8 @@ print("Queue statistics: " + queue_statistics)
57
::: zone pivot="programming-language-java"
58
59
```java
60
-var queueStatistics = client.getQueueStatistics("queue1");
61
-System.out.println("Queue statistics: " + new GsonBuilder().toJson(queueStatistics));
+BinaryData queueStatistics = client.getQueueStatisticsWithResponse("queue1").getValue();
+System.out.println("Queue statistics: " + queueStatistics.toString());
62
```
63
64
::: zone-end
0 commit comments