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-09-04 09:06:23.298237",
"spec_repo_commit": "a5115137"
"regenerated": "2023-09-05 15:12:57.606752",
"spec_repo_commit": "eb534d74"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-04 09:06:23.315039",
"spec_repo_commit": "a5115137"
"regenerated": "2023-09-05 15:12:57.623557",
"spec_repo_commit": "eb534d74"
}
}
}
5 changes: 2 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4017,9 +4017,8 @@ components:
properties:
id:
description: Monitor ID of the downtime.
example: 12345
format: int64
type: integer
example: '12345'
type: string
type:
$ref: '#/components/schemas/DowntimeIncludedMonitorType'
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
public class DowntimeRelationshipsMonitorData {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_ID = "id";
private Long id;
private String id;

public static final String JSON_PROPERTY_TYPE = "type";
private DowntimeIncludedMonitorType type = DowntimeIncludedMonitorType.MONITORS;

public DowntimeRelationshipsMonitorData id(Long id) {
public DowntimeRelationshipsMonitorData id(String id) {
this.id = id;
return this;
}
Expand All @@ -44,11 +44,11 @@ public DowntimeRelationshipsMonitorData id(Long id) {
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public String getId() {
return id;
}

public void setId(Long id) {
public void setId(String id) {
this.id = id;
}

Expand Down