@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WidgetRequestStyle extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_LINE_TYPE |
static String |
JSON_PROPERTY_LINE_WIDTH |
static String |
JSON_PROPERTY_PALETTE |
boolean |
unparsed |
| Constructor and Description |
|---|
WidgetRequestStyle() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this WidgetRequestStyle object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
WidgetLineType |
getLineType()
Type of lines displayed.
|
WidgetLineWidth |
getLineWidth()
Width of line displayed.
|
String |
getPalette()
Color palette to apply to the widget.
|
int |
hashCode() |
WidgetRequestStyle |
lineType(WidgetLineType lineType) |
WidgetRequestStyle |
lineWidth(WidgetLineWidth lineWidth) |
WidgetRequestStyle |
palette(String palette) |
WidgetRequestStyle |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLineType(WidgetLineType lineType) |
void |
setLineWidth(WidgetLineWidth lineWidth) |
void |
setPalette(String palette) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_LINE_TYPE
public static final String JSON_PROPERTY_LINE_WIDTH
public static final String JSON_PROPERTY_PALETTE
public WidgetRequestStyle lineType(WidgetLineType lineType)
@Nullable public WidgetLineType getLineType()
public void setLineType(WidgetLineType lineType)
public WidgetRequestStyle lineWidth(WidgetLineWidth lineWidth)
@Nullable public WidgetLineWidth getLineWidth()
public void setLineWidth(WidgetLineWidth lineWidth)
public WidgetRequestStyle palette(String palette)
@Nullable public String getPalette()
public void setPalette(String palette)
public WidgetRequestStyle putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.