Name | Type | Description | Notes |
---|---|---|---|
Title | string | Item title in the content library. | |
Description | string | Item description in the content library. | |
TimeRange | ResolvableTimeRange | ||
LogQuery | Pointer to string | Log query used to add an overlay to the chart. | [optional] |
MetricsQueries | []MetricsSearchQuery | Metrics queries, up to the maximum of six. | |
DesiredQuantizationInSecs | Pointer to int32 | Desired quantization in seconds. | [optional] [default to 0] |
Properties | Pointer to string | Chart properties, like line width, color palette, and the fill missing data method. Leave this field empty to use the defaults. This property contains JSON object encoded as a string. | [optional] |
CreatedAt | time.Time | Creation timestamp in UTC in RFC3339 format. | |
CreatedBy | string | Identifier of the user who created the resource. | |
ModifiedAt | time.Time | Last modification timestamp in UTC. | |
ModifiedBy | string | Identifier of the user who last modified the resource. | |
Id | string | Identifier of the metrics search. | |
ParentId | Pointer to string | Identifier of the parent element in the content library, such as folder. | [optional] |
func NewMetricsSearchInstance(title string, description string, timeRange ResolvableTimeRange, metricsQueries []MetricsSearchQuery, createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, id string, ) *MetricsSearchInstance
NewMetricsSearchInstance instantiates a new MetricsSearchInstance 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
func NewMetricsSearchInstanceWithDefaults() *MetricsSearchInstance
NewMetricsSearchInstanceWithDefaults instantiates a new MetricsSearchInstance 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
func (o *MetricsSearchInstance) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *MetricsSearchInstance) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *MetricsSearchInstance) GetTimeRange() ResolvableTimeRange
GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetTimeRangeOk() (*ResolvableTimeRange, bool)
GetTimeRangeOk returns a tuple with the TimeRange field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetTimeRange(v ResolvableTimeRange)
SetTimeRange sets TimeRange field to given value.
func (o *MetricsSearchInstance) GetLogQuery() string
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetLogQueryOk() (*string, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetLogQuery(v string)
SetLogQuery sets LogQuery field to given value.
func (o *MetricsSearchInstance) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (o *MetricsSearchInstance) GetMetricsQueries() []MetricsSearchQuery
GetMetricsQueries returns the MetricsQueries field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetMetricsQueriesOk() (*[]MetricsSearchQuery, bool)
GetMetricsQueriesOk returns a tuple with the MetricsQueries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetMetricsQueries(v []MetricsSearchQuery)
SetMetricsQueries sets MetricsQueries field to given value.
func (o *MetricsSearchInstance) GetDesiredQuantizationInSecs() int32
GetDesiredQuantizationInSecs returns the DesiredQuantizationInSecs field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetDesiredQuantizationInSecsOk() (*int32, bool)
GetDesiredQuantizationInSecsOk returns a tuple with the DesiredQuantizationInSecs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetDesiredQuantizationInSecs(v int32)
SetDesiredQuantizationInSecs sets DesiredQuantizationInSecs field to given value.
func (o *MetricsSearchInstance) HasDesiredQuantizationInSecs() bool
HasDesiredQuantizationInSecs returns a boolean if a field has been set.
func (o *MetricsSearchInstance) GetProperties() string
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetPropertiesOk() (*string, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetProperties(v string)
SetProperties sets Properties field to given value.
func (o *MetricsSearchInstance) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (o *MetricsSearchInstance) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *MetricsSearchInstance) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *MetricsSearchInstance) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.
func (o *MetricsSearchInstance) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.
func (o *MetricsSearchInstance) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetId(v string)
SetId sets Id field to given value.
func (o *MetricsSearchInstance) GetParentId() string
GetParentId returns the ParentId field if non-nil, zero value otherwise.
func (o *MetricsSearchInstance) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricsSearchInstance) SetParentId(v string)
SetParentId sets ParentId field to given value.
func (o *MetricsSearchInstance) HasParentId() bool
HasParentId returns a boolean if a field has been set.