Record Class MetricsDashboardResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final ResourceTypeMeta<MetricsDashboardResource>
static final String
static final ResourceType
static 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 aMetricsDashboardResource
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.static MetricsDashboardResource
fromJsonString
(String jsonString) com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Grid
grid()
Returns the value of thegrid
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.List<com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Widget>
widgets()
Returns the value of thewidgets
record 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 aMetricsDashboardResource
record class.- Parameters:
grid
- the value for thegrid
record componentwidgets
- the value for thewidgets
record component
-
-
Method Details
-
toJsonString
-
fromJsonString
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 thegrid
record component.- Returns:
- the value of the
grid
record component
-
widgets
public List<com.inductiveautomation.ignition.gateway.metrics.MetricsDashboardResource.Widget> widgets()Returns the value of thewidgets
record component.- Returns:
- the value of the
widgets
record component
-