Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7949,6 +7949,10 @@ components:
This parameter is used for the pagination feature.
nullable: true
type: string
requestId:
description: Unique identifier of the request.
example: example-request-id
type: string
status:
description: Status of the response.
type: string
Expand Down Expand Up @@ -35227,6 +35231,7 @@ paths:
- team:A
timestamp: "2020-05-26T13:36:14Z"
id: AAAAAWgN8Xwgr1vKDQAAAABBV2dOOFh3ZzZobm1mWXJFYTR0OA
requestId: example-request-id
status: done
schema:
$ref: "#/components/schemas/LogsListResponse"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
@JsonPropertyOrder({
LogsListResponse.JSON_PROPERTY_LOGS,
LogsListResponse.JSON_PROPERTY_NEXT_LOG_ID,
LogsListResponse.JSON_PROPERTY_REQUEST_ID,
LogsListResponse.JSON_PROPERTY_STATUS
})
@jakarta.annotation.Generated(
Expand All @@ -35,6 +36,9 @@ public class LogsListResponse {
public static final String JSON_PROPERTY_NEXT_LOG_ID = "nextLogId";
private JsonNullable<String> nextLogId = JsonNullable.<String>undefined();

public static final String JSON_PROPERTY_REQUEST_ID = "requestId";
private String requestId;

public static final String JSON_PROPERTY_STATUS = "status";
private String status;

Expand Down Expand Up @@ -110,6 +114,27 @@ public void setNextLogId(String nextLogId) {
this.nextLogId = JsonNullable.<String>of(nextLogId);
}

public LogsListResponse requestId(String requestId) {
this.requestId = requestId;
return this;
}

/**
* Unique identifier of the request.
*
* @return requestId
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_REQUEST_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRequestId() {
return requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public LogsListResponse status(String status) {
this.status = status;
return this;
Expand Down Expand Up @@ -189,13 +214,14 @@ public boolean equals(Object o) {
LogsListResponse logsListResponse = (LogsListResponse) o;
return Objects.equals(this.logs, logsListResponse.logs)
&& Objects.equals(this.nextLogId, logsListResponse.nextLogId)
&& Objects.equals(this.requestId, logsListResponse.requestId)
&& Objects.equals(this.status, logsListResponse.status)
&& Objects.equals(this.additionalProperties, logsListResponse.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(logs, nextLogId, status, additionalProperties);
return Objects.hash(logs, nextLogId, requestId, status, additionalProperties);
}

@Override
Expand All @@ -204,6 +230,7 @@ public String toString() {
sb.append("class LogsListResponse {\n");
sb.append(" logs: ").append(toIndentedString(logs)).append("\n");
sb.append(" nextLogId: ").append(toIndentedString(nextLogId)).append("\n");
sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
Expand Down
Loading