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
35 changes: 33 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32507,6 +32507,7 @@ components:
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
name: Status Page US1
slack_app_icon: data:image/png;base64,mXRTqw0KGgoAAAANSUhEUgAAAEAAAABACA
subscriptions_enabled: true
type: public
visualization_type: bars_and_uptime_percentage
Expand Down Expand Up @@ -32563,10 +32564,16 @@ components:
description: Base64-encoded image data included in email notifications sent to status page subscribers.
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
type: string
email_notifications_enabled:
description: Whether email notifications are enabled for the status page. Must be enabled when `subscriptions_enabled` is `true`.
type: boolean
favicon:
description: Base64-encoded image data displayed in the browser tab.
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
type: string
ms_teams_subscriptions_enabled:
description: Whether Microsoft Teams subscriptions are enabled for the status page.
type: boolean
name:
description: The name of the status page.
example: Status Page US1
Expand All @@ -32575,7 +32582,8 @@ components:
description: Whether the RSS feed is enabled for the status page.
type: boolean
slack_app_icon:
description: The Slack app icon URL for the status page.
description: The base64-encoded image data used as the Slack app icon.
example: data:image/png;base64,mXRTqw0KGgoAAAANSUhEUgAAAEAAAABACA
type: string
slack_subscriptions_enabled:
description: Whether Slack subscriptions are enabled for the status page.
Expand Down Expand Up @@ -103152,6 +103160,7 @@ components:
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
name: Status Page US1 East
slack_app_icon: data:image/png;base64,mXRTqw0KGgoAAAANSUhEUgAAAEAAAABACA
subscriptions_enabled: false
type: internal
visualization_type: bars_only
Expand Down Expand Up @@ -103193,10 +103202,16 @@ components:
description: The base64-encoded image data displayed in email notifications sent to status page subscribers.
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
type: string
email_notifications_enabled:
description: Whether email notifications are enabled for the status page. Must be enabled when `subscriptions_enabled` is `true`.
type: boolean
favicon:
description: The base64-encoded image data displayed in the browser tab.
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
type: string
ms_teams_subscriptions_enabled:
description: Whether Microsoft Teams subscriptions are enabled for the status page.
type: boolean
name:
description: The name of the status page.
example: Status Page US1
Expand All @@ -103205,7 +103220,8 @@ components:
description: Whether the RSS feed is enabled for the status page.
type: boolean
slack_app_icon:
description: The Slack app icon URL for the status page.
description: The base64-encoded image data used as the Slack app icon.
example: data:image/png;base64,mXRTqw0KGgoAAAANSUhEUgAAAEAAAABACA
type: string
slack_subscriptions_enabled:
description: Whether Slack subscriptions are enabled for the status page.
Expand Down Expand Up @@ -133516,6 +133532,9 @@ components:
email_header_image:
description: Base64-encoded image data included in email notifications sent to status page subscribers.
type: string
email_notifications_enabled:
description: Whether email notifications are enabled for the status page. Must be enabled when `subscriptions_enabled` is `true`.
type: boolean
enabled:
description: Whether the status page is enabled.
type: boolean
Expand All @@ -133526,6 +133545,9 @@ components:
description: Timestamp of when the status page was last modified.
format: date-time
type: string
ms_teams_subscriptions_enabled:
description: Whether Microsoft Teams subscriptions are enabled for the status page.
type: boolean
name:
description: The name of the status page.
type: string
Expand Down Expand Up @@ -133694,6 +133716,9 @@ components:
description: Base64-encoded image data included in email notifications sent to status page subscribers.
nullable: true
type: string
email_notifications_enabled:
description: Whether email notifications are enabled for the status page. Must be enabled when `subscriptions_enabled` is `true`.
type: boolean
enabled:
description: Whether the status page is enabled.
type: boolean
Expand All @@ -133705,6 +133730,9 @@ components:
description: Timestamp of when the status page was last modified.
format: date-time
type: string
ms_teams_subscriptions_enabled:
description: Whether Microsoft Teams subscriptions are enabled for the status page.
type: boolean
name:
description: The name of the status page.
type: string
Expand All @@ -133716,6 +133744,7 @@ components:
type: boolean
slack_app_icon:
description: The Slack app icon URL for the status page.
nullable: true
type: string
slack_subscriptions_enabled:
description: Whether Slack subscriptions are enabled for the status page.
Expand Down Expand Up @@ -254544,6 +254573,7 @@ paths:
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
name: Status Page US1
slack_app_icon: data:image/png;base64,mXRTqw0KGgoAAAANSUhEUgAAAEAAAABACA
subscriptions_enabled: true
type: public
visualization_type: bars_and_uptime_percentage
Expand Down Expand Up @@ -254858,6 +254888,7 @@ paths:
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
name: Status Page US1 East
slack_app_icon: data:image/png;base64,mXRTqw0KGgoAAAANSUhEUgAAAEAAAABACA
subscriptions_enabled: false
type: internal
visualization_type: bars_only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_COMPONENTS,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_DOMAIN_PREFIX,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_EMAIL_HEADER_IMAGE,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_EMAIL_NOTIFICATIONS_ENABLED,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_FAVICON,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_MS_TEAMS_SUBSCRIPTIONS_ENABLED,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_NAME,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_RSS_FEED_ENABLED,
CreateStatusPageRequestDataAttributes.JSON_PROPERTY_SLACK_APP_ICON,
Expand All @@ -51,9 +53,17 @@ public class CreateStatusPageRequestDataAttributes {
public static final String JSON_PROPERTY_EMAIL_HEADER_IMAGE = "email_header_image";
private String emailHeaderImage;

public static final String JSON_PROPERTY_EMAIL_NOTIFICATIONS_ENABLED =
"email_notifications_enabled";
private Boolean emailNotificationsEnabled;

public static final String JSON_PROPERTY_FAVICON = "favicon";
private String favicon;

public static final String JSON_PROPERTY_MS_TEAMS_SUBSCRIPTIONS_ENABLED =
"ms_teams_subscriptions_enabled";
private Boolean msTeamsSubscriptionsEnabled;

public static final String JSON_PROPERTY_NAME = "name";
private String name;

Expand Down Expand Up @@ -203,6 +213,29 @@ public void setEmailHeaderImage(String emailHeaderImage) {
this.emailHeaderImage = emailHeaderImage;
}

public CreateStatusPageRequestDataAttributes emailNotificationsEnabled(
Boolean emailNotificationsEnabled) {
this.emailNotificationsEnabled = emailNotificationsEnabled;
return this;
}

/**
* Whether email notifications are enabled for the status page. Must be enabled when <code>
* subscriptions_enabled</code> is <code>true</code>.
*
* @return emailNotificationsEnabled
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EMAIL_NOTIFICATIONS_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getEmailNotificationsEnabled() {
return emailNotificationsEnabled;
}

public void setEmailNotificationsEnabled(Boolean emailNotificationsEnabled) {
this.emailNotificationsEnabled = emailNotificationsEnabled;
}

public CreateStatusPageRequestDataAttributes favicon(String favicon) {
this.favicon = favicon;
return this;
Expand All @@ -224,6 +257,28 @@ public void setFavicon(String favicon) {
this.favicon = favicon;
}

public CreateStatusPageRequestDataAttributes msTeamsSubscriptionsEnabled(
Boolean msTeamsSubscriptionsEnabled) {
this.msTeamsSubscriptionsEnabled = msTeamsSubscriptionsEnabled;
return this;
}

/**
* Whether Microsoft Teams subscriptions are enabled for the status page.
*
* @return msTeamsSubscriptionsEnabled
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MS_TEAMS_SUBSCRIPTIONS_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getMsTeamsSubscriptionsEnabled() {
return msTeamsSubscriptionsEnabled;
}

public void setMsTeamsSubscriptionsEnabled(Boolean msTeamsSubscriptionsEnabled) {
this.msTeamsSubscriptionsEnabled = msTeamsSubscriptionsEnabled;
}

public CreateStatusPageRequestDataAttributes name(String name) {
this.name = name;
return this;
Expand Down Expand Up @@ -271,7 +326,7 @@ public CreateStatusPageRequestDataAttributes slackAppIcon(String slackAppIcon) {
}

/**
* The Slack app icon URL for the status page.
* The base64-encoded image data used as the Slack app icon.
*
* @return slackAppIcon
*/
Expand Down Expand Up @@ -471,7 +526,13 @@ public boolean equals(Object o) {
&& Objects.equals(this.domainPrefix, createStatusPageRequestDataAttributes.domainPrefix)
&& Objects.equals(
this.emailHeaderImage, createStatusPageRequestDataAttributes.emailHeaderImage)
&& Objects.equals(
this.emailNotificationsEnabled,
createStatusPageRequestDataAttributes.emailNotificationsEnabled)
&& Objects.equals(this.favicon, createStatusPageRequestDataAttributes.favicon)
&& Objects.equals(
this.msTeamsSubscriptionsEnabled,
createStatusPageRequestDataAttributes.msTeamsSubscriptionsEnabled)
&& Objects.equals(this.name, createStatusPageRequestDataAttributes.name)
&& Objects.equals(this.rssFeedEnabled, createStatusPageRequestDataAttributes.rssFeedEnabled)
&& Objects.equals(this.slackAppIcon, createStatusPageRequestDataAttributes.slackAppIcon)
Expand All @@ -496,7 +557,9 @@ public int hashCode() {
components,
domainPrefix,
emailHeaderImage,
emailNotificationsEnabled,
favicon,
msTeamsSubscriptionsEnabled,
name,
rssFeedEnabled,
slackAppIcon,
Expand All @@ -516,7 +579,13 @@ public String toString() {
sb.append(" components: ").append(toIndentedString(components)).append("\n");
sb.append(" domainPrefix: ").append(toIndentedString(domainPrefix)).append("\n");
sb.append(" emailHeaderImage: ").append(toIndentedString(emailHeaderImage)).append("\n");
sb.append(" emailNotificationsEnabled: ")
.append(toIndentedString(emailNotificationsEnabled))
.append("\n");
sb.append(" favicon: ").append(toIndentedString(favicon)).append("\n");
sb.append(" msTeamsSubscriptionsEnabled: ")
.append(toIndentedString(msTeamsSubscriptionsEnabled))
.append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" rssFeedEnabled: ").append(toIndentedString(rssFeedEnabled)).append("\n");
sb.append(" slackAppIcon: ").append(toIndentedString(slackAppIcon)).append("\n");
Expand Down
Loading
Loading