models.dashboard_response module

class models.dashboard_response.DashboardResponse(dashboard=None, dashboards=None)[source]

Bases: object

Implementation of the ‘DashboardResponse’ model.

TODO: Type model description here

Attributes:
dashboard (Dashboard): Specifies the dashboard of the local cluster or

a remote cluster whose id is set in clusterId query parameter when the query parameter allClusters is not given or set to false. Otherwise this field is populated with aggregated dashboard values for all the dashboards in the dashboards field.

dashboards (list of Dashboard): Specifies a list of dashboards of all

the clusters in the SPOG setup if the query parameter allClusters is set to true. Otherwise this field is not populated. When populated the dashboard field is also populated with aggregated dashboard values.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.