Files
sdk/docs/AgentMetricsView.md

3.2 KiB

AgentMetricsView

Properties

Name Type Description Notes
Range Pointer to string echoes the requested window (24H 7D
Resource Pointer to AgentResourceUsage Resource is the Resource Usage panel's rollup, and every field of it is currently null — see resourceUsage. It is present rather than omitted so a panel renders "—" instead of guessing. [optional]
Series Pointer to []AgentSeriesLine per-agent invocation histogram (real) [optional]

Methods

NewAgentMetricsView

func NewAgentMetricsView() *AgentMetricsView

NewAgentMetricsView instantiates a new AgentMetricsView object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewAgentMetricsViewWithDefaults

func NewAgentMetricsViewWithDefaults() *AgentMetricsView

NewAgentMetricsViewWithDefaults instantiates a new AgentMetricsView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetRange

func (o *AgentMetricsView) GetRange() string

GetRange returns the Range field if non-nil, zero value otherwise.

GetRangeOk

func (o *AgentMetricsView) GetRangeOk() (*string, bool)

GetRangeOk returns a tuple with the Range field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRange

func (o *AgentMetricsView) SetRange(v string)

SetRange sets Range field to given value.

HasRange

func (o *AgentMetricsView) HasRange() bool

HasRange returns a boolean if a field has been set.

GetResource

func (o *AgentMetricsView) GetResource() AgentResourceUsage

GetResource returns the Resource field if non-nil, zero value otherwise.

GetResourceOk

func (o *AgentMetricsView) GetResourceOk() (*AgentResourceUsage, bool)

GetResourceOk returns a tuple with the Resource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetResource

func (o *AgentMetricsView) SetResource(v AgentResourceUsage)

SetResource sets Resource field to given value.

HasResource

func (o *AgentMetricsView) HasResource() bool

HasResource returns a boolean if a field has been set.

GetSeries

func (o *AgentMetricsView) GetSeries() []AgentSeriesLine

GetSeries returns the Series field if non-nil, zero value otherwise.

GetSeriesOk

func (o *AgentMetricsView) GetSeriesOk() (*[]AgentSeriesLine, bool)

GetSeriesOk returns a tuple with the Series field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSeries

func (o *AgentMetricsView) SetSeries(v []AgentSeriesLine)

SetSeries sets Series field to given value.

HasSeries

func (o *AgentMetricsView) HasSeries() bool

HasSeries returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]