Package com.datadog.api.client.v1.model
Class ViewingPreferences
java.lang.Object
com.datadog.api.client.v1.model.ViewingPreferences
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ViewingPreferences
extends Object
The viewing preferences for a shared dashboard.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ViewingPreferences object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the widgets on the shared dashboard should be displayed with high density.getTheme()The theme of the shared dashboard view.inthashCode()highDensity(Boolean highDensity) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetHighDensity(Boolean highDensity) voidsetTheme(ViewingPreferencesTheme theme) theme(ViewingPreferencesTheme theme) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HIGH_DENSITY
- See Also:
-
JSON_PROPERTY_THEME
- See Also:
-
-
Constructor Details
-
ViewingPreferences
public ViewingPreferences()
-
-
Method Details
-
highDensity
-
getHighDensity
Whether the widgets on the shared dashboard should be displayed with high density.- Returns:
- highDensity
-
setHighDensity
-
theme
-
getTheme
The theme of the shared dashboard view. "system" follows your system's default viewing theme.- Returns:
- theme
-
setTheme
-
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:
- ViewingPreferences
-
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 ViewingPreferences object is equal to o. -
hashCode
public int hashCode() -
toString
-