Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-24 17:29:12.880004",
"spec_repo_commit": "e6622470"
"regenerated": "2023-07-25 19:30:02.011313",
"spec_repo_commit": "40749a6c"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-24 17:29:12.894141",
"spec_repo_commit": "e6622470"
"regenerated": "2023-07-25 19:30:02.023841",
"spec_repo_commit": "40749a6c"
}
}
}
2 changes: 2 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4116,6 +4116,8 @@ components:
example: 2020-01-02 03:04:00+00:00
format: date-time
type: string
required:
- start
type: object
DowntimeScheduleRecurrenceCreateUpdateRequest:
additionalProperties: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand All @@ -33,6 +34,14 @@ public class DowntimeScheduleOneTimeResponse {
public static final String JSON_PROPERTY_START = "start";
private OffsetDateTime start;

public DowntimeScheduleOneTimeResponse() {}

@JsonCreator
public DowntimeScheduleOneTimeResponse(
@JsonProperty(required = true, value = JSON_PROPERTY_START) OffsetDateTime start) {
this.start = start;
}

public DowntimeScheduleOneTimeResponse end(OffsetDateTime end) {
this.end = JsonNullable.<OffsetDateTime>of(end);
return this;
Expand Down Expand Up @@ -74,9 +83,8 @@ public DowntimeScheduleOneTimeResponse start(OffsetDateTime start) {
*
* @return start
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_START)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public OffsetDateTime getStart() {
return start;
}
Expand Down