Package com.vmware.nsx_policy.model
Class GraphConfiguration
- java.lang.Object
-
- com.vmware.nsx_policy.model.GraphConfiguration
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class GraphConfiguration extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Represents configuration of a graph widget- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphConfiguration.Builder
Builder class forGraphConfiguration
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
static java.lang.String
_TYPE_IDENTIFIER
Identifier denoting this class, when it is used in polymorphic context.static java.lang.String
SUB_TYPE_BAR_GRAPH
static java.lang.String
SUB_TYPE_LINE_GRAPH
static java.lang.String
SUB_TYPE_STACKED_BAR_GRAPH
static java.lang.String
X_VALUE_TYPE_DATE
static java.lang.String
X_VALUE_TYPE_MILLISECOND
static java.lang.String
X_VALUE_TYPE_NUMBER
static java.lang.String
X_VALUE_TYPE_SECOND
static java.lang.String
X_VALUE_TYPE_STRING
static java.lang.String
Y_VALUE_TYPE_DOUBLE
static java.lang.String
Y_VALUE_TYPE_INTEGER
-
Constructor Summary
Constructors Modifier Constructor Description GraphConfiguration()
Default constructor.protected
GraphConfiguration(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_convertTo(java.lang.Class<T> clazz)
java.lang.String
_getCanonicalName()
static java.lang.String
_getCanonicalTypeName()
Returns the canonical type name.static com.vmware.vapi.bindings.type.StructType
_getClassType()
WARNING: Internal method, subject to change in future versions.com.vmware.vapi.data.StructValue
_getDataValue()
com.vmware.vapi.data.DataValue
_getDynamicField(java.lang.String fieldName)
java.util.Set<java.lang.String>
_getDynamicFieldNames()
com.vmware.vapi.bindings.type.StructType
_getType()
boolean
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
static GraphConfiguration
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.static GraphConfiguration
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.void
_setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
protected void
_updateDataValue(com.vmware.vapi.data.StructValue structValue)
void
_validate()
boolean
equals(java.lang.Object obj)
Axes
getAxes()
java.lang.String
getCondition()
If the condition is met then the widget will be displayed to UI.java.lang.Long
getCreateTime()
Timestamp of resource creation format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getCreateUser()
ID of the user who created this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.util.List<Datasource>
getDatasources()
The 'datasources' represent the sources from which data will be fetched.java.util.List<DefaultFilterValue>
getDefaultFilterValue()
Default filter values to be passed to datasources.java.lang.String
getDescription()
Description of this resourcejava.lang.String
getDisplayName()
Title of the widget.java.lang.Boolean
getDisplayxValue()
If true, value of a point is shown as label on X axis.java.lang.String
getDrilldownId()
Id of drilldown widget, if any.FeatureSet
getFeatureSet()
java.lang.String
getFilter()
Deprecated.java.util.List<java.lang.String>
getFilters()
A List of filter applied to this widget configuration.java.lang.Boolean
getFilterValueRequired()
Flag to indicate that widget will continue to work without filter value.Footer
getFooter()
java.util.List<GraphDefinition>
getGraphs()
Graphsjava.util.List<java.lang.String>
getGraphsColors()
An array of graphs colors which will be applied to each graph seperately.java.util.List<Icon>
getIcons()
Icons to be applied at dashboard for widgets and UI elements.java.lang.String
getId()
Unique identifier of this resourcejava.lang.Boolean
getIsDrilldown()
Set to true if this widget should be used as a drilldown.java.lang.Long
getLastModifiedTime()
Timestamp of last modification format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getLastModifiedUser()
ID of the user who last modified this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.Legend
getLegend()
java.util.List<LineChartPlotConfiguration>
getLineChartPlotConfigs()
List of line chart plotting configuration.java.util.List<ResourceLink>
getLinks()
The server will populate this field when returing the resource.java.lang.String
getNavigation()
Hyperlink of the specified UI page that provides details.java.util.List<WidgetPlotConfiguration>
getPlotConfigs()
List of plotting configuration for a given widget.java.lang.String
getProtection()
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it.java.lang.String
getResourceType()
Possible values are:WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_CUSTOMFILTERWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_TIMERANGEDROPDOWNFILTERWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_SPACERWIDGETCONFIGURATION
WidgetConfiguration.RESOURCE_TYPE_LEGENDWIDGETCONFIGURATION
Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration, ContainerConfiguration, CustomWidgetConfiguration, CustomFilterWidgetConfiguration, TimeRangeDropdownFilterWidgetConfiguration, SpacerWidgetConfiguration, LegendWidgetConfiguration and DropdownFilterWidgetConfiguration.java.lang.Long
getRevision()
The _revision property describes the current revision of the resource.java.lang.Long
getRowspan()
Represents the vertical span of the widget / container.java.lang.String
getSchema()
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.SelfResourceLink
getSelf()
java.lang.Boolean
getShared()
Deprecated.java.lang.Boolean
getShowHeader()
If the value of this field is set to true then card header will be displayed otherwise only card will be displayed without header.java.lang.Long
getSpan()
Represents the horizontal span of the widget / container.java.lang.String
getSubType()
Possible values are:SUB_TYPE_LINE_GRAPH
SUB_TYPE_BAR_GRAPH
SUB_TYPE_STACKED_BAR_GRAPH
Describes the the type of graph.java.lang.Boolean
getSystemOwned()
Indicates system owned resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.util.List<Tag>
getTags()
Opaque identifiers meaningful to the API userjava.lang.Long
getWeight()
Deprecated.java.lang.String
getxValueType()
Possible values are:X_VALUE_TYPE_STRING
X_VALUE_TYPE_NUMBER
X_VALUE_TYPE_DATE
X_VALUE_TYPE_MILLISECOND
X_VALUE_TYPE_SECOND
x value type.java.lang.String
getyValueType()
Possible values are:Y_VALUE_TYPE_INTEGER
Y_VALUE_TYPE_DOUBLE
y value type.int
hashCode()
void
setAxes(Axes axes)
void
setCondition(java.lang.String condition)
If the condition is met then the widget will be displayed to UI.void
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setCreateUser(java.lang.String createUser)
ID of the user who created this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setDatasources(java.util.List<Datasource> datasources)
The 'datasources' represent the sources from which data will be fetched.void
setDefaultFilterValue(java.util.List<DefaultFilterValue> defaultFilterValue)
Default filter values to be passed to datasources.void
setDescription(java.lang.String description)
Description of this resourcevoid
setDisplayName(java.lang.String displayName)
Title of the widget.void
setDisplayxValue(java.lang.Boolean displayxValue)
If true, value of a point is shown as label on X axis.void
setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any.void
setFeatureSet(FeatureSet featureSet)
void
setFilter(java.lang.String filter)
Deprecated.void
setFilters(java.util.List<java.lang.String> filters)
A List of filter applied to this widget configuration.void
setFilterValueRequired(java.lang.Boolean filterValueRequired)
Flag to indicate that widget will continue to work without filter value.void
setFooter(Footer footer)
void
setGraphs(java.util.List<GraphDefinition> graphs)
Graphsvoid
setGraphsColors(java.util.List<java.lang.String> graphsColors)
An array of graphs colors which will be applied to each graph seperately.void
setIcons(java.util.List<Icon> icons)
Icons to be applied at dashboard for widgets and UI elements.void
setId(java.lang.String id)
Unique identifier of this resourcevoid
setIsDrilldown(java.lang.Boolean isDrilldown)
Set to true if this widget should be used as a drilldown.void
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setLegend(Legend legend)
void
setLineChartPlotConfigs(java.util.List<LineChartPlotConfiguration> lineChartPlotConfigs)
List of line chart plotting configuration.void
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.void
setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.void
setPlotConfigs(java.util.List<WidgetPlotConfiguration> plotConfigs)
List of plotting configuration for a given widget.void
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it.void
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.void
setRowspan(java.lang.Long rowspan)
Represents the vertical span of the widget / container.void
setSchema(java.lang.String schema)
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setSelf(SelfResourceLink self)
void
setShared(java.lang.Boolean shared)
Deprecated.void
setShowHeader(java.lang.Boolean showHeader)
If the value of this field is set to true then card header will be displayed otherwise only card will be displayed without header.void
setSpan(java.lang.Long span)
Represents the horizontal span of the widget / container.void
setSubType(java.lang.String subType)
Possible values are:SUB_TYPE_LINE_GRAPH
SUB_TYPE_BAR_GRAPH
SUB_TYPE_STACKED_BAR_GRAPH
Describes the the type of graph.void
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API uservoid
setWeight(java.lang.Long weight)
Deprecated.void
setxValueType(java.lang.String xValueType)
Possible values are:X_VALUE_TYPE_STRING
X_VALUE_TYPE_NUMBER
X_VALUE_TYPE_DATE
X_VALUE_TYPE_MILLISECOND
X_VALUE_TYPE_SECOND
x value type.void
setyValueType(java.lang.String yValueType)
Possible values are:Y_VALUE_TYPE_INTEGER
Y_VALUE_TYPE_DOUBLE
y value type.java.lang.String
toString()
-
-
-
Field Detail
-
_TYPE_IDENTIFIER
public static final java.lang.String _TYPE_IDENTIFIER
Identifier denoting this class, when it is used in polymorphic context.This value should be assigned to the property which is used to discriminate the actual type used in the polymorphic context.
- See Also:
- Constant Field Values
-
SUB_TYPE_LINE_GRAPH
public static final java.lang.String SUB_TYPE_LINE_GRAPH
- See Also:
- Constant Field Values
-
SUB_TYPE_BAR_GRAPH
public static final java.lang.String SUB_TYPE_BAR_GRAPH
- See Also:
- Constant Field Values
-
SUB_TYPE_STACKED_BAR_GRAPH
public static final java.lang.String SUB_TYPE_STACKED_BAR_GRAPH
- See Also:
- Constant Field Values
-
X_VALUE_TYPE_STRING
public static final java.lang.String X_VALUE_TYPE_STRING
- See Also:
- Constant Field Values
-
X_VALUE_TYPE_NUMBER
public static final java.lang.String X_VALUE_TYPE_NUMBER
- See Also:
- Constant Field Values
-
X_VALUE_TYPE_DATE
public static final java.lang.String X_VALUE_TYPE_DATE
- See Also:
- Constant Field Values
-
X_VALUE_TYPE_MILLISECOND
public static final java.lang.String X_VALUE_TYPE_MILLISECOND
- See Also:
- Constant Field Values
-
X_VALUE_TYPE_SECOND
public static final java.lang.String X_VALUE_TYPE_SECOND
- See Also:
- Constant Field Values
-
Y_VALUE_TYPE_INTEGER
public static final java.lang.String Y_VALUE_TYPE_INTEGER
- See Also:
- Constant Field Values
-
Y_VALUE_TYPE_DOUBLE
public static final java.lang.String Y_VALUE_TYPE_DOUBLE
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getAxes
public Axes getAxes()
- Returns:
- The current value of the property.
-
setAxes
public void setAxes(Axes axes)
- Parameters:
axes
- New value for the property.
-
getDisplayxValue
public java.lang.Boolean getDisplayxValue()
If true, value of a point is shown as label on X axis. If false, value of point is not shown as label on X axis. false can be useful in situations where there are too many points and showing the X value as label can clutter the X axis.- Returns:
- The current value of the property.
-
setDisplayxValue
public void setDisplayxValue(java.lang.Boolean displayxValue)
If true, value of a point is shown as label on X axis. If false, value of point is not shown as label on X axis. false can be useful in situations where there are too many points and showing the X value as label can clutter the X axis.- Parameters:
displayxValue
- New value for the property.
-
getGraphs
public java.util.List<GraphDefinition> getGraphs()
Graphs- Returns:
- The current value of the property.
-
setGraphs
public void setGraphs(java.util.List<GraphDefinition> graphs)
Graphs- Parameters:
graphs
- New value for the property.
-
getGraphsColors
public java.util.List<java.lang.String> getGraphsColors()
An array of graphs colors which will be applied to each graph seperately. if number of provided colors are smaller than number of graph in the widget then colors are applied in circular manner.- Returns:
- The current value of the property.
-
setGraphsColors
public void setGraphsColors(java.util.List<java.lang.String> graphsColors)
An array of graphs colors which will be applied to each graph seperately. if number of provided colors are smaller than number of graph in the widget then colors are applied in circular manner.- Parameters:
graphsColors
- New value for the property.
-
getLineChartPlotConfigs
public java.util.List<LineChartPlotConfiguration> getLineChartPlotConfigs()
List of line chart plotting configuration. This plotting configuration will be applicable for the LINE_GRAPH only.- Returns:
- The current value of the property.
-
setLineChartPlotConfigs
public void setLineChartPlotConfigs(java.util.List<LineChartPlotConfiguration> lineChartPlotConfigs)
List of line chart plotting configuration. This plotting configuration will be applicable for the LINE_GRAPH only.- Parameters:
lineChartPlotConfigs
- New value for the property.
-
getNavigation
public java.lang.String getNavigation()
Hyperlink of the specified UI page that provides details.- Returns:
- The current value of the property.
-
setNavigation
public void setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.- Parameters:
navigation
- New value for the property.
-
getSubType
public java.lang.String getSubType()
Possible values are: Describes the the type of graph. LINE_GRAPH shows a line graph chart BAR_GRAPH shows a simple bar graph chart STACKED_BAR_GRAPH shows a stacked bar graph chart- Returns:
- The current value of the property.
-
setSubType
public void setSubType(java.lang.String subType)
Possible values are: Describes the the type of graph. LINE_GRAPH shows a line graph chart BAR_GRAPH shows a simple bar graph chart STACKED_BAR_GRAPH shows a stacked bar graph chart- Parameters:
subType
- New value for the property.
-
getxValueType
public java.lang.String getxValueType()
Possible values are: x value type.- Returns:
- The current value of the property.
-
setxValueType
public void setxValueType(java.lang.String xValueType)
Possible values are: x value type.- Parameters:
xValueType
- New value for the property.
-
getyValueType
public java.lang.String getyValueType()
Possible values are: y value type.- Returns:
- The current value of the property.
-
setyValueType
public void setyValueType(java.lang.String yValueType)
Possible values are: y value type.- Parameters:
yValueType
- New value for the property.
-
getLinks
public java.util.List<ResourceLink> getLinks()
The server will populate this field when returing the resource. Ignored on PUT and POST. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setLinks
public void setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
links
- New value for the property.
-
getSchema
public java.lang.String getSchema()
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSchema
public void setSchema(java.lang.String schema)
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
schema
- New value for the property.
-
getSelf
public SelfResourceLink getSelf()
- Returns:
- The current value of the property.
-
setSelf
public void setSelf(SelfResourceLink self)
- Parameters:
self
- New value for the property.
-
getRevision
public java.lang.Long getRevision()
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. format: int32- Returns:
- The current value of the property.
-
setRevision
public void setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. format: int32- Parameters:
revision
- New value for the property.
-
getCreateTime
public java.lang.Long getCreateTime()
Timestamp of resource creation format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setCreateTime
public void setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
createTime
- New value for the property.
-
getCreateUser
public java.lang.String getCreateUser()
ID of the user who created this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setCreateUser
public void setCreateUser(java.lang.String createUser)
ID of the user who created this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
createUser
- New value for the property.
-
getLastModifiedTime
public java.lang.Long getLastModifiedTime()
Timestamp of last modification format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setLastModifiedTime
public void setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
lastModifiedTime
- New value for the property.
-
getLastModifiedUser
public java.lang.String getLastModifiedUser()
ID of the user who last modified this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setLastModifiedUser
public void setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
lastModifiedUser
- New value for the property.
-
getProtection
public java.lang.String getProtection()
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setProtection
public void setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
protection
- New value for the property.
-
getSystemOwned
public java.lang.Boolean getSystemOwned()
Indicates system owned resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSystemOwned
public void setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
systemOwned
- New value for the property.
-
getDescription
public java.lang.String getDescription()
Description of this resource- Returns:
- The current value of the property.
-
setDescription
public void setDescription(java.lang.String description)
Description of this resource- Parameters:
description
- New value for the property.
-
getDisplayName
public java.lang.String getDisplayName()
Title of the widget. If display_name is omitted, the widget will be shown without a title.- Returns:
- The current value of the property.
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Title of the widget. If display_name is omitted, the widget will be shown without a title.- Parameters:
displayName
- New value for the property.
-
getId
public java.lang.String getId()
Unique identifier of this resource- Returns:
- The current value of the property.
-
setId
public void setId(java.lang.String id)
Unique identifier of this resource- Parameters:
id
- New value for the property.
-
getResourceType
public java.lang.String getResourceType()
Possible values are:-
WidgetConfiguration.RESOURCE_TYPE_LABELVALUECONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_DONUTCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_MULTIWIDGETCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_CONTAINERCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_STATSCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_GRIDCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_GRAPHCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_CUSTOMWIDGETCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_CUSTOMFILTERWIDGETCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_TIMERANGEDROPDOWNFILTERWIDGETCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_DROPDOWNFILTERWIDGETCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_SPACERWIDGETCONFIGURATION
-
WidgetConfiguration.RESOURCE_TYPE_LEGENDWIDGETCONFIGURATION
"GraphConfiguration"
. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
-
getTags
public java.util.List<Tag> getTags()
Opaque identifiers meaningful to the API user- Returns:
- The current value of the property.
-
setTags
public void setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user- Parameters:
tags
- New value for the property.
-
getCondition
public java.lang.String getCondition()
If the condition is met then the widget will be displayed to UI. If no condition is provided, then the widget will be displayed unconditionally.- Returns:
- The current value of the property.
-
setCondition
public void setCondition(java.lang.String condition)
If the condition is met then the widget will be displayed to UI. If no condition is provided, then the widget will be displayed unconditionally.- Parameters:
condition
- New value for the property.
-
getDatasources
public java.util.List<Datasource> getDatasources()
The 'datasources' represent the sources from which data will be fetched. Currently, only NSX-API is supported as a 'default' datasource. An example of specifying 'default' datasource along with the urls to fetch data from is given at 'example_request' section of 'CreateWidgetConfiguration' API.- Returns:
- The current value of the property.
-
setDatasources
public void setDatasources(java.util.List<Datasource> datasources)
The 'datasources' represent the sources from which data will be fetched. Currently, only NSX-API is supported as a 'default' datasource. An example of specifying 'default' datasource along with the urls to fetch data from is given at 'example_request' section of 'CreateWidgetConfiguration' API.- Parameters:
datasources
- New value for the property.
-
getDefaultFilterValue
public java.util.List<DefaultFilterValue> getDefaultFilterValue()
Default filter values to be passed to datasources. This will be used when the report is requested without filter values.- Returns:
- The current value of the property.
-
setDefaultFilterValue
public void setDefaultFilterValue(java.util.List<DefaultFilterValue> defaultFilterValue)
Default filter values to be passed to datasources. This will be used when the report is requested without filter values.- Parameters:
defaultFilterValue
- New value for the property.
-
getDrilldownId
public java.lang.String getDrilldownId()
Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget.- Returns:
- The current value of the property.
-
setDrilldownId
public void setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget.- Parameters:
drilldownId
- New value for the property.
-
getFeatureSet
public FeatureSet getFeatureSet()
- Returns:
- The current value of the property.
-
setFeatureSet
public void setFeatureSet(FeatureSet featureSet)
- Parameters:
featureSet
- New value for the property.
-
getFilter
@Deprecated public java.lang.String getFilter()
Deprecated.Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. This field is deprecated instead use 'filters' property.- Returns:
- The current value of the property.
-
setFilter
@Deprecated public void setFilter(java.lang.String filter)
Deprecated.Id of filter widget for subscription, if any. Id should be a valid id of an existing filter widget. Filter widget should be from the same view. Datasource URLs should have placeholder values equal to filter alias to accept the filter value on filter change. This field is deprecated instead use 'filters' property.- Parameters:
filter
- New value for the property.
-
getFilterValueRequired
public java.lang.Boolean getFilterValueRequired()
Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory.- Returns:
- The current value of the property.
-
setFilterValueRequired
public void setFilterValueRequired(java.lang.Boolean filterValueRequired)
Flag to indicate that widget will continue to work without filter value. If this flag is set to false then default_filter_value is manadatory.- Parameters:
filterValueRequired
- New value for the property.
-
getFilters
public java.util.List<java.lang.String> getFilters()
A List of filter applied to this widget configuration. This will be used to identify the filters applied to this widget.- Returns:
- The current value of the property.
-
setFilters
public void setFilters(java.util.List<java.lang.String> filters)
A List of filter applied to this widget configuration. This will be used to identify the filters applied to this widget.- Parameters:
filters
- New value for the property.
-
getFooter
public Footer getFooter()
- Returns:
- The current value of the property.
-
setFooter
public void setFooter(Footer footer)
- Parameters:
footer
- New value for the property.
-
getIcons
public java.util.List<Icon> getIcons()
Icons to be applied at dashboard for widgets and UI elements.- Returns:
- The current value of the property.
-
setIcons
public void setIcons(java.util.List<Icon> icons)
Icons to be applied at dashboard for widgets and UI elements.- Parameters:
icons
- New value for the property.
-
getIsDrilldown
public java.lang.Boolean getIsDrilldown()
Set to true if this widget should be used as a drilldown.- Returns:
- The current value of the property.
-
setIsDrilldown
public void setIsDrilldown(java.lang.Boolean isDrilldown)
Set to true if this widget should be used as a drilldown.- Parameters:
isDrilldown
- New value for the property.
-
getLegend
public Legend getLegend()
- Returns:
- The current value of the property.
-
setLegend
public void setLegend(Legend legend)
- Parameters:
legend
- New value for the property.
-
getPlotConfigs
public java.util.List<WidgetPlotConfiguration> getPlotConfigs()
List of plotting configuration for a given widget. Widget plotting configurations which are common across all the widgets types should be define here.- Returns:
- The current value of the property.
-
setPlotConfigs
public void setPlotConfigs(java.util.List<WidgetPlotConfiguration> plotConfigs)
List of plotting configuration for a given widget. Widget plotting configurations which are common across all the widgets types should be define here.- Parameters:
plotConfigs
- New value for the property.
-
getRowspan
public java.lang.Long getRowspan()
Represents the vertical span of the widget / container. 1 Row span is equal to 20px. format: int32- Returns:
- The current value of the property.
-
setRowspan
public void setRowspan(java.lang.Long rowspan)
Represents the vertical span of the widget / container. 1 Row span is equal to 20px. format: int32- Parameters:
rowspan
- New value for the property.
-
getShared
@Deprecated public java.lang.Boolean getShared()
Deprecated.Please use the property 'shared' of View instead of this. The widgets of a shared view are visible to other users.- Returns:
- The current value of the property.
-
setShared
@Deprecated public void setShared(java.lang.Boolean shared)
Deprecated.Please use the property 'shared' of View instead of this. The widgets of a shared view are visible to other users.- Parameters:
shared
- New value for the property.
-
getShowHeader
public java.lang.Boolean getShowHeader()
If the value of this field is set to true then card header will be displayed otherwise only card will be displayed without header.- Returns:
- The current value of the property.
-
setShowHeader
public void setShowHeader(java.lang.Boolean showHeader)
If the value of this field is set to true then card header will be displayed otherwise only card will be displayed without header.- Parameters:
showHeader
- New value for the property.
-
getSpan
public java.lang.Long getSpan()
Represents the horizontal span of the widget / container. format: int32- Returns:
- The current value of the property.
-
setSpan
public void setSpan(java.lang.Long span)
Represents the horizontal span of the widget / container. format: int32- Parameters:
span
- New value for the property.
-
getWeight
@Deprecated public java.lang.Long getWeight()
Deprecated.Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32- Returns:
- The current value of the property.
-
setWeight
@Deprecated public void setWeight(java.lang.Long weight)
Deprecated.Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. format: int32- Parameters:
weight
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static GraphConfiguration _newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.- Parameters:
structValue
- the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.- Returns:
- the static bindings
StructType
-
_newInstance2
public static GraphConfiguration _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-