Package com.datadog.api.client.v1.model
Class SLOListWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.SLOListWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOListWidgetDefinition
extends Object
Use the SLO List widget to track your SLOs (Service Level Objectives) on dashboards.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSLOListWidgetDefinition(List<SLOListWidgetRequest> requests, SLOListWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddRequestsItem(SLOListWidgetRequest requestsItem) description(String description) booleanReturn true if this SLOListWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The description of the widget.Array of one request object to display in the widget.getTitle()Title of the widget.How to align the text on the widget.Size of the title.getType()Type of the SLO List widget.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<SLOListWidgetRequest> requests) voidsetDescription(String description) voidsetRequests(List<SLOListWidgetRequest> requests) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidtitleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TITLE_ALIGN
- See Also:
-
JSON_PROPERTY_TITLE_SIZE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SLOListWidgetDefinition
public SLOListWidgetDefinition() -
SLOListWidgetDefinition
public SLOListWidgetDefinition(List<SLOListWidgetRequest> requests, SLOListWidgetDefinitionType type)
-
-
Method Details
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
requests
-
addRequestsItem
-
getRequests
Array of one request object to display in the widget.- Returns:
- requests
-
setRequests
-
title
-
getTitle
Title of the widget.- Returns:
- title
-
setTitle
-
titleAlign
-
getTitleAlign
How to align the text on the widget.- Returns:
- titleAlign
-
setTitleAlign
-
titleSize
-
getTitleSize
Size of the title.- Returns:
- titleSize
-
setTitleSize
-
type
-
getType
Type of the SLO List widget.- Returns:
- type
-
setType
-
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:
- SLOListWidgetDefinition
-
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 SLOListWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-