Skip to content

[GitHub Bot] Generated java SDK - #178

Closed
mpragosa-te wants to merge 1 commit into
mainfrom
20260728-154338
Closed

[GitHub Bot] Generated java SDK#178
mpragosa-te wants to merge 1 commit into
mainfrom
20260728-154338

Conversation

@mpragosa-te

Copy link
Copy Markdown
Contributor

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 54f99d83e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

*/
public Events getEvents(String aid, String window, OffsetDateTime startDate, OffsetDateTime endDate, Integer max, String cursor) throws ApiException {
ApiResponse<Events> response = getEventsWithHttpInfo(aid, window, startDate, endDate, max, cursor);
public Events getEvents(String aid, String window, OffsetDateTime startDate, OffsetDateTime endDate, Integer max, String cursor, Boolean ongoing) throws ApiException {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the existing event-list overloads

Adding the optional ongoing argument by replacing the existing methods removes the previously published JVM method descriptors for getEvents, getEventsWithHttpInfo, and getEventsPaginated. If a precompiled library or application built against 4.2.0 resolves this updated SDK transitively, calls to those methods fail at runtime with NoSuchMethodError; retain the old overloads and delegate them with ongoing == null while exposing the new overloads.

Useful? React with 👍 / 👎.

@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public CloudEnterpriseAgentType getType() {
public EventAffectedAgentType getType() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Retain the affected-agent enum in the public ABI

Changing getType() and setType() from CloudEnterpriseAgentType to EventAffectedAgentType while deleting the former class breaks the published binary API. A precompiled consumer that invokes the old getter or setter against this SDK receives NoSuchMethodError because the enum type is part of the JVM method descriptor; keep the existing enum type (expanding it with the new values if needed) or otherwise provide a binary-compatible migration path.

Useful? React with 👍 / 👎.

@rodrirod-te rodrirod-te closed this Aug 7, 2026
@rodrirod-te
rodrirod-te deleted the 20260728-154338 branch August 7, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants