Record Class MetricsDashboardResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ResourceTypeMeta<MetricsDashboardResource> static final Stringstatic final ResourceTypestatic final String -
Constructor Summary
ConstructorsConstructorDescriptionMetricsDashboardResource(com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Grid grid, List<com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Widget> widgets) Creates an instance of aMetricsDashboardResourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static MetricsDashboardResourcefromJsonString(String jsonString) com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Gridgrid()Returns the value of thegridrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.List<com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Widget> widgets()Returns the value of thewidgetsrecord component.
-
Field Details
-
GRID_FIELD
- See Also:
-
WIDGETS_FIELD
- See Also:
-
METRICS_DASHBOARD
- See Also:
-
RESOURCE_TYPE
-
META
-
-
Constructor Details
-
MetricsDashboardResource
public MetricsDashboardResource(com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Grid grid, List<com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Widget> widgets) Creates an instance of aMetricsDashboardResourcerecord class.- Parameters:
grid- the value for thegridrecord componentwidgets- the value for thewidgetsrecord component
-
-
Method Details
-
toJsonString
-
fromJsonString
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
grid
public com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Grid grid()Returns the value of thegridrecord component.- Returns:
- the value of the
gridrecord component
-
widgets
public List<com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Widget> widgets()Returns the value of thewidgetsrecord component.- Returns:
- the value of the
widgetsrecord component
-