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
32 changes: 22 additions & 10 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13283,6 +13283,7 @@ components:
type:
$ref: '#/components/schemas/StatusPagesComponentGroupType'
required:
- attributes
- type
type: object
CreateComponentRequestDataAttributes:
Expand Down Expand Up @@ -13367,7 +13368,7 @@ components:
properties:
id:
description: The ID of the group.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
Expand Down Expand Up @@ -13569,6 +13570,7 @@ components:
type:
$ref: '#/components/schemas/PatchDegradationRequestDataType'
required:
- attributes
- type
type: object
CreateDegradationRequestDataAttributes:
Expand Down Expand Up @@ -13604,7 +13606,7 @@ components:
properties:
id:
description: The ID of the component. Must be a component of type `component`.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
name:
Expand Down Expand Up @@ -14327,6 +14329,7 @@ components:
type:
$ref: '#/components/schemas/StatusPageDataType'
required:
- attributes
- type
type: object
CreateStatusPageRequestDataAttributes:
Expand Down Expand Up @@ -18391,7 +18394,7 @@ components:
properties:
id:
description: The ID of the component.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
name:
Expand Down Expand Up @@ -18436,7 +18439,7 @@ components:
properties:
id:
description: Identifier of the component affected at the time of the update.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
name:
Expand Down Expand Up @@ -18512,7 +18515,7 @@ components:
properties:
id:
description: The ID of the status page.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
Expand Down Expand Up @@ -43661,11 +43664,14 @@ components:
$ref: '#/components/schemas/PatchComponentRequestDataAttributes'
id:
description: The ID of the component.
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
$ref: '#/components/schemas/StatusPagesComponentGroupType'
required:
- attributes
- id
- type
type: object
PatchComponentRequestDataAttributes:
Expand Down Expand Up @@ -43704,11 +43710,14 @@ components:
$ref: '#/components/schemas/PatchDegradationRequestDataAttributes'
id:
description: The ID of the degradation.
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
$ref: '#/components/schemas/PatchDegradationRequestDataType'
required:
- attributes
- id
- type
type: object
PatchDegradationRequestDataAttributes:
Expand Down Expand Up @@ -43739,7 +43748,7 @@ components:
properties:
id:
description: The ID of the component. Must be a component of type `component`.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
name:
Expand Down Expand Up @@ -43844,11 +43853,14 @@ components:
$ref: '#/components/schemas/PatchStatusPageRequestDataAttributes'
id:
description: The ID of the status page.
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
$ref: '#/components/schemas/StatusPageDataType'
required:
- attributes
- id
- type
type: object
PatchStatusPageRequestDataAttributes:
Expand Down Expand Up @@ -58776,7 +58788,7 @@ components:
properties:
id:
description: The ID of the group the component belongs to.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
Expand Down Expand Up @@ -58815,7 +58827,7 @@ components:
properties:
id:
description: The ID of the status page the component belongs to.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
Expand Down Expand Up @@ -58957,7 +58969,7 @@ components:
nullable: true
properties:
id:
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
Expand Down Expand Up @@ -58999,7 +59011,7 @@ components:
properties:
id:
description: The ID of the status page.
example: ''
example: 1234abcd-12ab-34cd-56ef-123456abcdef
format: uuid
type: string
type:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ public CreateComponentRequestData() {}

@JsonCreator
public CreateComponentRequestData(
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
CreateComponentRequestDataAttributes attributes,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
StatusPagesComponentGroupType type) {
this.attributes = attributes;
this.unparsed |= attributes.unparsed;
this.type = type;
this.unparsed |= !type.isValid();
}
Expand All @@ -57,9 +61,8 @@ public CreateComponentRequestData attributes(CreateComponentRequestDataAttribute
*
* @return attributes
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public CreateComponentRequestDataAttributes getAttributes() {
return attributes;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ public CreateDegradationRequestData() {}

@JsonCreator
public CreateDegradationRequestData(
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
CreateDegradationRequestDataAttributes attributes,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
PatchDegradationRequestDataType type) {
this.attributes = attributes;
this.unparsed |= attributes.unparsed;
this.type = type;
this.unparsed |= !type.isValid();
}
Expand All @@ -54,9 +58,8 @@ public CreateDegradationRequestData attributes(
*
* @return attributes
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public CreateDegradationRequestDataAttributes getAttributes() {
return attributes;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ public CreateStatusPageRequestData() {}

@JsonCreator
public CreateStatusPageRequestData(
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
CreateStatusPageRequestDataAttributes attributes,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE) StatusPageDataType type) {
this.attributes = attributes;
this.unparsed |= attributes.unparsed;
this.type = type;
this.unparsed |= !type.isValid();
}
Expand All @@ -52,9 +56,8 @@ public CreateStatusPageRequestData attributes(CreateStatusPageRequestDataAttribu
*
* @return attributes
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public CreateStatusPageRequestDataAttributes getAttributes() {
return attributes;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,14 @@ public PatchComponentRequestData() {}

@JsonCreator
public PatchComponentRequestData(
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
PatchComponentRequestDataAttributes attributes,
@JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
StatusPagesComponentGroupType type) {
this.attributes = attributes;
this.unparsed |= attributes.unparsed;
this.id = id;
this.type = type;
this.unparsed |= !type.isValid();
}
Expand All @@ -58,9 +64,8 @@ public PatchComponentRequestData attributes(PatchComponentRequestDataAttributes
*
* @return attributes
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public PatchComponentRequestDataAttributes getAttributes() {
return attributes;
}
Expand All @@ -79,9 +84,8 @@ public PatchComponentRequestData id(UUID id) {
*
* @return id
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UUID getId() {
return id;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,14 @@ public PatchDegradationRequestData() {}

@JsonCreator
public PatchDegradationRequestData(
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
PatchDegradationRequestDataAttributes attributes,
@JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
PatchDegradationRequestDataType type) {
this.attributes = attributes;
this.unparsed |= attributes.unparsed;
this.id = id;
this.type = type;
this.unparsed |= !type.isValid();
}
Expand All @@ -58,9 +64,8 @@ public PatchDegradationRequestData attributes(PatchDegradationRequestDataAttribu
*
* @return attributes
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public PatchDegradationRequestDataAttributes getAttributes() {
return attributes;
}
Expand All @@ -79,9 +84,8 @@ public PatchDegradationRequestData id(UUID id) {
*
* @return id
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UUID getId() {
return id;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ public PatchStatusPageRequestData() {}

@JsonCreator
public PatchStatusPageRequestData(
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
PatchStatusPageRequestDataAttributes attributes,
@JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id,
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE) StatusPageDataType type) {
this.attributes = attributes;
this.unparsed |= attributes.unparsed;
this.id = id;
this.type = type;
this.unparsed |= !type.isValid();
}
Expand All @@ -57,9 +63,8 @@ public PatchStatusPageRequestData attributes(PatchStatusPageRequestDataAttribute
*
* @return attributes
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public PatchStatusPageRequestDataAttributes getAttributes() {
return attributes;
}
Expand All @@ -78,9 +83,8 @@ public PatchStatusPageRequestData id(UUID id) {
*
* @return id
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UUID getId() {
return id;
}
Expand Down
Loading