Package com.datadog.api.client.v2.model
Class CreateStatusPageRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateStatusPageRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateStatusPageRequestDataAttributes
extends Object
The supported attributes for creating a status page.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateStatusPageRequestDataAttributes(String domainPrefix, String name, CreateStatusPageRequestDataAttributesType type, CreateStatusPageRequestDataAttributesVisualizationType visualizationType) -
Method Summary
Modifier and TypeMethodDescriptioncompanyLogo(String companyLogo) domainPrefix(String domainPrefix) emailHeaderImage(String emailHeaderImage) booleanReturn true if this CreateStatusPageRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The base64-encoded image data displayed on the status page.The components displayed on the status page.The subdomain of the status page's url taking the formhttps://{domain_prefix}.statuspage.datadoghq.com.Base64-encoded image data included in email notifications sent to status page subscribers.Base64-encoded image data displayed in the browser tab.getName()The name of the status page.The Slack app icon URL for the status page.Whether Slack subscriptions are enabled for the status page.Whether users can subscribe to the status page.getType()The type of the status page controlling how the status page is accessed.The visualization type of the status page.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCompanyLogo(String companyLogo) voidvoidsetDomainPrefix(String domainPrefix) voidsetEmailHeaderImage(String emailHeaderImage) voidsetFavicon(String favicon) voidvoidsetSlackAppIcon(String slackAppIcon) voidsetSlackSubscriptionsEnabled(Boolean slackSubscriptionsEnabled) voidsetSubscriptionsEnabled(Boolean subscriptionsEnabled) voidvoidsetVisualizationType(CreateStatusPageRequestDataAttributesVisualizationType visualizationType) slackAppIcon(String slackAppIcon) slackSubscriptionsEnabled(Boolean slackSubscriptionsEnabled) subscriptionsEnabled(Boolean subscriptionsEnabled) toString()visualizationType(CreateStatusPageRequestDataAttributesVisualizationType visualizationType)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPANY_LOGO
- See Also:
-
JSON_PROPERTY_COMPONENTS
- See Also:
-
JSON_PROPERTY_DOMAIN_PREFIX
- See Also:
-
JSON_PROPERTY_EMAIL_HEADER_IMAGE
- See Also:
-
JSON_PROPERTY_FAVICON
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SLACK_APP_ICON
- See Also:
-
JSON_PROPERTY_SLACK_SUBSCRIPTIONS_ENABLED
- See Also:
-
JSON_PROPERTY_SUBSCRIPTIONS_ENABLED
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VISUALIZATION_TYPE
- See Also:
-
-
Constructor Details
-
CreateStatusPageRequestDataAttributes
public CreateStatusPageRequestDataAttributes() -
CreateStatusPageRequestDataAttributes
public CreateStatusPageRequestDataAttributes(String domainPrefix, String name, CreateStatusPageRequestDataAttributesType type, CreateStatusPageRequestDataAttributesVisualizationType visualizationType)
-
-
Method Details
-
companyLogo
-
getCompanyLogo
The base64-encoded image data displayed on the status page.- Returns:
- companyLogo
-
setCompanyLogo
-
components
public CreateStatusPageRequestDataAttributes components(List<CreateStatusPageRequestDataAttributesComponentsItems> components) -
addComponentsItem
public CreateStatusPageRequestDataAttributes addComponentsItem(CreateStatusPageRequestDataAttributesComponentsItems componentsItem) -
getComponents
The components displayed on the status page.- Returns:
- components
-
setComponents
-
domainPrefix
-
getDomainPrefix
The subdomain of the status page's url taking the formhttps://{domain_prefix}.statuspage.datadoghq.com. Globally unique across Datadog Status Pages.- Returns:
- domainPrefix
-
setDomainPrefix
-
emailHeaderImage
-
getEmailHeaderImage
Base64-encoded image data included in email notifications sent to status page subscribers.- Returns:
- emailHeaderImage
-
setEmailHeaderImage
-
favicon
-
getFavicon
Base64-encoded image data displayed in the browser tab.- Returns:
- favicon
-
setFavicon
-
name
-
getName
The name of the status page.- Returns:
- name
-
setName
-
slackAppIcon
-
getSlackAppIcon
The Slack app icon URL for the status page.- Returns:
- slackAppIcon
-
setSlackAppIcon
-
slackSubscriptionsEnabled
public CreateStatusPageRequestDataAttributes slackSubscriptionsEnabled(Boolean slackSubscriptionsEnabled) -
getSlackSubscriptionsEnabled
Whether Slack subscriptions are enabled for the status page.- Returns:
- slackSubscriptionsEnabled
-
setSlackSubscriptionsEnabled
-
subscriptionsEnabled
-
getSubscriptionsEnabled
Whether users can subscribe to the status page.- Returns:
- subscriptionsEnabled
-
setSubscriptionsEnabled
-
type
-
getType
The type of the status page controlling how the status page is accessed.- Returns:
- type
-
setType
-
visualizationType
public CreateStatusPageRequestDataAttributes visualizationType(CreateStatusPageRequestDataAttributesVisualizationType visualizationType) -
getVisualizationType
The visualization type of the status page.- Returns:
- visualizationType
-
setVisualizationType
public void setVisualizationType(CreateStatusPageRequestDataAttributesVisualizationType visualizationType) -
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- CreateStatusPageRequestDataAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this CreateStatusPageRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-