metric_ruleset

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedDestinationEnumValues = []Destination{
	"Unknown",
	"Realtime_13MO",
	"Realtime_3MO",
	"HCM",
	"FullFidelity",
	"Drop",
}

All allowed values of Destination enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	// contains filtered or unexported fields
}

APIClient manages communication with the Metric Ruleset API API v3.0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type AggregationRule

type AggregationRule struct {
	// Name of the aggregation rule
	Name    *string       `json:"name,omitempty"`
	Matcher MetricMatcher `json:"matcher"`
	// Status of this aggregation rule
	Enabled    bool             `json:"enabled"`
	Aggregator MetricAggregator `json:"aggregator"`
}

AggregationRule A single aggregation rule in a metric ruleset

func NewAggregationRule

func NewAggregationRule(matcher MetricMatcher, enabled bool, aggregator MetricAggregator) *AggregationRule

NewAggregationRule instantiates a new AggregationRule 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 NewAggregationRuleWithDefaults

func NewAggregationRuleWithDefaults() *AggregationRule

NewAggregationRuleWithDefaults instantiates a new AggregationRule 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 (*AggregationRule) GetAggregator

func (o *AggregationRule) GetAggregator() MetricAggregator

GetAggregator returns the Aggregator field value

func (*AggregationRule) GetAggregatorOk

func (o *AggregationRule) GetAggregatorOk() (*MetricAggregator, bool)

GetAggregatorOk returns a tuple with the Aggregator field value and a boolean to check if the value has been set.

func (*AggregationRule) GetEnabled

func (o *AggregationRule) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*AggregationRule) GetEnabledOk

func (o *AggregationRule) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*AggregationRule) GetMatcher

func (o *AggregationRule) GetMatcher() MetricMatcher

GetMatcher returns the Matcher field value

func (*AggregationRule) GetMatcherOk

func (o *AggregationRule) GetMatcherOk() (*MetricMatcher, bool)

GetMatcherOk returns a tuple with the Matcher field value and a boolean to check if the value has been set.

func (*AggregationRule) GetName added in v1.28.0

func (o *AggregationRule) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AggregationRule) GetNameOk added in v1.28.0

func (o *AggregationRule) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AggregationRule) HasName added in v1.28.0

func (o *AggregationRule) HasName() bool

HasName returns a boolean if a field has been set.

func (AggregationRule) MarshalJSON

func (o AggregationRule) MarshalJSON() ([]byte, error)

func (*AggregationRule) SetAggregator

func (o *AggregationRule) SetAggregator(v MetricAggregator)

SetAggregator sets field value

func (*AggregationRule) SetEnabled

func (o *AggregationRule) SetEnabled(v bool)

SetEnabled sets field value

func (*AggregationRule) SetMatcher

func (o *AggregationRule) SetMatcher(v MetricMatcher)

SetMatcher sets field value

func (*AggregationRule) SetName added in v1.28.0

func (o *AggregationRule) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateMetricRulesetRequest

type CreateMetricRulesetRequest struct {
	// Aggregation rules in the ruleset
	AggregationRules []AggregationRule `json:"aggregationRules,omitempty"`
	// Name of the metric
	MetricName  string      `json:"metricName"`
	RoutingRule RoutingRule `json:"routingRule"`
	// Version of the ruleset
	Version int64 `json:"version"`
}

CreateMetricRulesetRequest Create metric ruleset request body

func NewCreateMetricRulesetRequest

func NewCreateMetricRulesetRequest(metricName string, routingRule RoutingRule, version int64) *CreateMetricRulesetRequest

NewCreateMetricRulesetRequest instantiates a new CreateMetricRulesetRequest 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 NewCreateMetricRulesetRequestWithDefaults

func NewCreateMetricRulesetRequestWithDefaults() *CreateMetricRulesetRequest

NewCreateMetricRulesetRequestWithDefaults instantiates a new CreateMetricRulesetRequest 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 (*CreateMetricRulesetRequest) GetAggregationRules

func (o *CreateMetricRulesetRequest) GetAggregationRules() []AggregationRule

GetAggregationRules returns the AggregationRules field value if set, zero value otherwise.

func (*CreateMetricRulesetRequest) GetAggregationRulesOk

func (o *CreateMetricRulesetRequest) GetAggregationRulesOk() ([]AggregationRule, bool)

GetAggregationRulesOk returns a tuple with the AggregationRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetRequest) GetMetricName

func (o *CreateMetricRulesetRequest) GetMetricName() string

GetMetricName returns the MetricName field value

func (*CreateMetricRulesetRequest) GetMetricNameOk

func (o *CreateMetricRulesetRequest) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field value and a boolean to check if the value has been set.

func (*CreateMetricRulesetRequest) GetRoutingRule

func (o *CreateMetricRulesetRequest) GetRoutingRule() RoutingRule

GetRoutingRule returns the RoutingRule field value

func (*CreateMetricRulesetRequest) GetRoutingRuleOk

func (o *CreateMetricRulesetRequest) GetRoutingRuleOk() (*RoutingRule, bool)

GetRoutingRuleOk returns a tuple with the RoutingRule field value and a boolean to check if the value has been set.

func (*CreateMetricRulesetRequest) GetVersion

func (o *CreateMetricRulesetRequest) GetVersion() int64

GetVersion returns the Version field value

func (*CreateMetricRulesetRequest) GetVersionOk

func (o *CreateMetricRulesetRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*CreateMetricRulesetRequest) HasAggregationRules

func (o *CreateMetricRulesetRequest) HasAggregationRules() bool

HasAggregationRules returns a boolean if a field has been set.

func (CreateMetricRulesetRequest) MarshalJSON

func (o CreateMetricRulesetRequest) MarshalJSON() ([]byte, error)

func (*CreateMetricRulesetRequest) SetAggregationRules

func (o *CreateMetricRulesetRequest) SetAggregationRules(v []AggregationRule)

SetAggregationRules gets a reference to the given []AggregationRule and assigns it to the AggregationRules field.

func (*CreateMetricRulesetRequest) SetMetricName

func (o *CreateMetricRulesetRequest) SetMetricName(v string)

SetMetricName sets field value

func (*CreateMetricRulesetRequest) SetRoutingRule

func (o *CreateMetricRulesetRequest) SetRoutingRule(v RoutingRule)

SetRoutingRule sets field value

func (*CreateMetricRulesetRequest) SetVersion

func (o *CreateMetricRulesetRequest) SetVersion(v int64)

SetVersion sets field value

type CreateMetricRulesetResponse

type CreateMetricRulesetResponse struct {
	// Aggregation rules in the ruleset
	AggregationRules []AggregationRule `json:"aggregationRules,omitempty"`
	// User ID of the user who created this metric ruleset
	Creator *string `json:"creator,omitempty"`
	// Name of the user who created this metric ruleset
	CreatorName *string `json:"creatorName,omitempty"`
	// Date and time when this ruleset was created
	Created *int64 `json:"created,omitempty"`
	// Ruleset ID
	Id *string `json:"id,omitempty"`
	// ID of the user who last updated the ruleset
	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
	// Name of the user who last updated the ruleset
	LastUpdatedByName *string `json:"lastUpdatedByName,omitempty"`
	// Time at which this ruleset was last updated
	LastUpdated *int64 `json:"lastUpdated,omitempty"`
	// Name of the metric
	MetricName  *string      `json:"metricName,omitempty"`
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
	// Version of the ruleset
	Version *int64 `json:"version,omitempty"`
}

CreateMetricRulesetResponse Create metric ruleset response body

func NewCreateMetricRulesetResponse

func NewCreateMetricRulesetResponse() *CreateMetricRulesetResponse

NewCreateMetricRulesetResponse instantiates a new CreateMetricRulesetResponse 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 NewCreateMetricRulesetResponseWithDefaults

func NewCreateMetricRulesetResponseWithDefaults() *CreateMetricRulesetResponse

NewCreateMetricRulesetResponseWithDefaults instantiates a new CreateMetricRulesetResponse 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 (*CreateMetricRulesetResponse) GetAggregationRules

func (o *CreateMetricRulesetResponse) GetAggregationRules() []AggregationRule

GetAggregationRules returns the AggregationRules field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetAggregationRulesOk

func (o *CreateMetricRulesetResponse) GetAggregationRulesOk() ([]AggregationRule, bool)

GetAggregationRulesOk returns a tuple with the AggregationRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetCreated

func (o *CreateMetricRulesetResponse) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetCreatedOk

func (o *CreateMetricRulesetResponse) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetCreator

func (o *CreateMetricRulesetResponse) GetCreator() string

GetCreator returns the Creator field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetCreatorName

func (o *CreateMetricRulesetResponse) GetCreatorName() string

GetCreatorName returns the CreatorName field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetCreatorNameOk

func (o *CreateMetricRulesetResponse) GetCreatorNameOk() (*string, bool)

GetCreatorNameOk returns a tuple with the CreatorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetCreatorOk

func (o *CreateMetricRulesetResponse) GetCreatorOk() (*string, bool)

GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetIdOk

func (o *CreateMetricRulesetResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetLastUpdated

func (o *CreateMetricRulesetResponse) GetLastUpdated() int64

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetLastUpdatedBy

func (o *CreateMetricRulesetResponse) GetLastUpdatedBy() string

GetLastUpdatedBy returns the LastUpdatedBy field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetLastUpdatedByName

func (o *CreateMetricRulesetResponse) GetLastUpdatedByName() string

GetLastUpdatedByName returns the LastUpdatedByName field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetLastUpdatedByNameOk

func (o *CreateMetricRulesetResponse) GetLastUpdatedByNameOk() (*string, bool)

GetLastUpdatedByNameOk returns a tuple with the LastUpdatedByName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetLastUpdatedByOk

func (o *CreateMetricRulesetResponse) GetLastUpdatedByOk() (*string, bool)

GetLastUpdatedByOk returns a tuple with the LastUpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetLastUpdatedOk

func (o *CreateMetricRulesetResponse) GetLastUpdatedOk() (*int64, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetMetricName

func (o *CreateMetricRulesetResponse) GetMetricName() string

GetMetricName returns the MetricName field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetMetricNameOk

func (o *CreateMetricRulesetResponse) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetRoutingRule

func (o *CreateMetricRulesetResponse) GetRoutingRule() RoutingRule

GetRoutingRule returns the RoutingRule field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetRoutingRuleOk

func (o *CreateMetricRulesetResponse) GetRoutingRuleOk() (*RoutingRule, bool)

GetRoutingRuleOk returns a tuple with the RoutingRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) GetVersion

func (o *CreateMetricRulesetResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*CreateMetricRulesetResponse) GetVersionOk

func (o *CreateMetricRulesetResponse) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateMetricRulesetResponse) HasAggregationRules

func (o *CreateMetricRulesetResponse) HasAggregationRules() bool

HasAggregationRules returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasCreated

func (o *CreateMetricRulesetResponse) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasCreator

func (o *CreateMetricRulesetResponse) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasCreatorName

func (o *CreateMetricRulesetResponse) HasCreatorName() bool

HasCreatorName returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasId

func (o *CreateMetricRulesetResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasLastUpdated

func (o *CreateMetricRulesetResponse) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasLastUpdatedBy

func (o *CreateMetricRulesetResponse) HasLastUpdatedBy() bool

HasLastUpdatedBy returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasLastUpdatedByName

func (o *CreateMetricRulesetResponse) HasLastUpdatedByName() bool

HasLastUpdatedByName returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasMetricName

func (o *CreateMetricRulesetResponse) HasMetricName() bool

HasMetricName returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasRoutingRule

func (o *CreateMetricRulesetResponse) HasRoutingRule() bool

HasRoutingRule returns a boolean if a field has been set.

func (*CreateMetricRulesetResponse) HasVersion

func (o *CreateMetricRulesetResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CreateMetricRulesetResponse) MarshalJSON

func (o CreateMetricRulesetResponse) MarshalJSON() ([]byte, error)

func (*CreateMetricRulesetResponse) SetAggregationRules

func (o *CreateMetricRulesetResponse) SetAggregationRules(v []AggregationRule)

SetAggregationRules gets a reference to the given []AggregationRule and assigns it to the AggregationRules field.

func (*CreateMetricRulesetResponse) SetCreated

func (o *CreateMetricRulesetResponse) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*CreateMetricRulesetResponse) SetCreator

func (o *CreateMetricRulesetResponse) SetCreator(v string)

SetCreator gets a reference to the given string and assigns it to the Creator field.

func (*CreateMetricRulesetResponse) SetCreatorName

func (o *CreateMetricRulesetResponse) SetCreatorName(v string)

SetCreatorName gets a reference to the given string and assigns it to the CreatorName field.

func (*CreateMetricRulesetResponse) SetId

func (o *CreateMetricRulesetResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateMetricRulesetResponse) SetLastUpdated

func (o *CreateMetricRulesetResponse) SetLastUpdated(v int64)

SetLastUpdated gets a reference to the given int64 and assigns it to the LastUpdated field.

func (*CreateMetricRulesetResponse) SetLastUpdatedBy

func (o *CreateMetricRulesetResponse) SetLastUpdatedBy(v string)

SetLastUpdatedBy gets a reference to the given string and assigns it to the LastUpdatedBy field.

func (*CreateMetricRulesetResponse) SetLastUpdatedByName

func (o *CreateMetricRulesetResponse) SetLastUpdatedByName(v string)

SetLastUpdatedByName gets a reference to the given string and assigns it to the LastUpdatedByName field.

func (*CreateMetricRulesetResponse) SetMetricName

func (o *CreateMetricRulesetResponse) SetMetricName(v string)

SetMetricName gets a reference to the given string and assigns it to the MetricName field.

func (*CreateMetricRulesetResponse) SetRoutingRule

func (o *CreateMetricRulesetResponse) SetRoutingRule(v RoutingRule)

SetRoutingRule gets a reference to the given RoutingRule and assigns it to the RoutingRule field.

func (*CreateMetricRulesetResponse) SetVersion

func (o *CreateMetricRulesetResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type Destination

type Destination string

Destination The routing destination for your data points

const (
	UNKNOWN        Destination = "Unknown"
	REALTIME_13_MO Destination = "Realtime_13MO"
	REALTIME_3_MO  Destination = "Realtime_3MO"
	HCM            Destination = "HCM"
	FULL_FIDELITY  Destination = "FullFidelity"
	DROP           Destination = "Drop"
)

List of Destination

func (*Destination) UnmarshalJSON

func (v *Destination) UnmarshalJSON(src []byte) error

type DimensionMatcher

type DimensionMatcher struct {
	// Matcher rule type
	Type string `json:"type"`
	// List of filters you want to apply to your metric
	Filters []PropertyFilter `json:"filters,omitempty"`
}

DimensionMatcher Dimension metric matcher

func NewDimensionMatcher

func NewDimensionMatcher(type_ string) *DimensionMatcher

NewDimensionMatcher instantiates a new DimensionMatcher 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 NewDimensionMatcherWithDefaults

func NewDimensionMatcherWithDefaults() *DimensionMatcher

NewDimensionMatcherWithDefaults instantiates a new DimensionMatcher 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 (*DimensionMatcher) GetFilters

func (o *DimensionMatcher) GetFilters() []PropertyFilter

GetFilters returns the Filters field value if set, zero value otherwise.

func (*DimensionMatcher) GetFiltersOk

func (o *DimensionMatcher) GetFiltersOk() ([]PropertyFilter, bool)

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DimensionMatcher) GetType

func (o *DimensionMatcher) GetType() string

GetType returns the Type field value

func (*DimensionMatcher) GetTypeOk

func (o *DimensionMatcher) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*DimensionMatcher) HasFilters

func (o *DimensionMatcher) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (DimensionMatcher) MarshalJSON

func (o DimensionMatcher) MarshalJSON() ([]byte, error)

func (*DimensionMatcher) SetFilters

func (o *DimensionMatcher) SetFilters(v []PropertyFilter)

SetFilters gets a reference to the given []PropertyFilter and assigns it to the Filters field.

func (*DimensionMatcher) SetType

func (o *DimensionMatcher) SetType(v string)

SetType sets field value

type GenerateAggregationNameRequest

type GenerateAggregationNameRequest struct {
	// Name of the metric
	MetricName string `json:"metricName"`
	// Dimensions you want to keep in the aggregation rule
	Dimensions []string `json:"dimensions"`
	// Flag toggling if the dimensions are being dropped
	DropDimensions *bool `json:"dropDimensions,omitempty"`
}

GenerateAggregationNameRequest Request body for Generate Aggregated Metric Name

func NewGenerateAggregationNameRequest

func NewGenerateAggregationNameRequest(metricName string, dimensions []string) *GenerateAggregationNameRequest

NewGenerateAggregationNameRequest instantiates a new GenerateAggregationNameRequest 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 NewGenerateAggregationNameRequestWithDefaults

func NewGenerateAggregationNameRequestWithDefaults() *GenerateAggregationNameRequest

NewGenerateAggregationNameRequestWithDefaults instantiates a new GenerateAggregationNameRequest 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 (*GenerateAggregationNameRequest) GetDimensions

func (o *GenerateAggregationNameRequest) GetDimensions() []string

GetDimensions returns the Dimensions field value

func (*GenerateAggregationNameRequest) GetDimensionsOk

func (o *GenerateAggregationNameRequest) GetDimensionsOk() ([]string, bool)

GetDimensionsOk returns a tuple with the Dimensions field value and a boolean to check if the value has been set.

func (*GenerateAggregationNameRequest) GetDropDimensions

func (o *GenerateAggregationNameRequest) GetDropDimensions() bool

GetDropDimensions returns the DropDimensions field value if set, zero value otherwise.

func (*GenerateAggregationNameRequest) GetDropDimensionsOk

func (o *GenerateAggregationNameRequest) GetDropDimensionsOk() (*bool, bool)

GetDropDimensionsOk returns a tuple with the DropDimensions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GenerateAggregationNameRequest) GetMetricName

func (o *GenerateAggregationNameRequest) GetMetricName() string

GetMetricName returns the MetricName field value

func (*GenerateAggregationNameRequest) GetMetricNameOk

func (o *GenerateAggregationNameRequest) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field value and a boolean to check if the value has been set.

func (*GenerateAggregationNameRequest) HasDropDimensions

func (o *GenerateAggregationNameRequest) HasDropDimensions() bool

HasDropDimensions returns a boolean if a field has been set.

func (GenerateAggregationNameRequest) MarshalJSON

func (o GenerateAggregationNameRequest) MarshalJSON() ([]byte, error)

func (*GenerateAggregationNameRequest) SetDimensions

func (o *GenerateAggregationNameRequest) SetDimensions(v []string)

SetDimensions sets field value

func (*GenerateAggregationNameRequest) SetDropDimensions

func (o *GenerateAggregationNameRequest) SetDropDimensions(v bool)

SetDropDimensions gets a reference to the given bool and assigns it to the DropDimensions field.

func (*GenerateAggregationNameRequest) SetMetricName

func (o *GenerateAggregationNameRequest) SetMetricName(v string)

SetMetricName sets field value

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetMetricRulesetResponse

type GetMetricRulesetResponse struct {
	// Aggregation rules in the ruleset
	AggregationRules []AggregationRule `json:"aggregationRules,omitempty"`
	// User ID of the user who created this metric ruleset
	Creator *string `json:"creator,omitempty"`
	// Name of the user who created this metric ruleset
	CreatorName *string `json:"creatorName,omitempty"`
	// Date and time when this ruleset was created
	Created *int64 `json:"created,omitempty"`
	// Ruleset ID
	Id *string `json:"id,omitempty"`
	// ID of the user who last updated the ruleset
	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
	// Name of the user who last updated the ruleset
	LastUpdatedByName *string `json:"lastUpdatedByName,omitempty"`
	// Time at which this ruleset was last updated
	LastUpdated *int64 `json:"lastUpdated,omitempty"`
	// Name of the metric
	MetricName  *string      `json:"metricName,omitempty"`
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
	// Version of the ruleset
	Version *int64 `json:"version,omitempty"`
}

GetMetricRulesetResponse Properties of the retrieved metric ruleset

func NewGetMetricRulesetResponse

func NewGetMetricRulesetResponse() *GetMetricRulesetResponse

NewGetMetricRulesetResponse instantiates a new GetMetricRulesetResponse 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 NewGetMetricRulesetResponseWithDefaults

func NewGetMetricRulesetResponseWithDefaults() *GetMetricRulesetResponse

NewGetMetricRulesetResponseWithDefaults instantiates a new GetMetricRulesetResponse 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 (*GetMetricRulesetResponse) GetAggregationRules

func (o *GetMetricRulesetResponse) GetAggregationRules() []AggregationRule

GetAggregationRules returns the AggregationRules field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetAggregationRulesOk

func (o *GetMetricRulesetResponse) GetAggregationRulesOk() ([]AggregationRule, bool)

GetAggregationRulesOk returns a tuple with the AggregationRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetCreated

func (o *GetMetricRulesetResponse) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetCreatedOk

func (o *GetMetricRulesetResponse) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetCreator

func (o *GetMetricRulesetResponse) GetCreator() string

GetCreator returns the Creator field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetCreatorName

func (o *GetMetricRulesetResponse) GetCreatorName() string

GetCreatorName returns the CreatorName field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetCreatorNameOk

func (o *GetMetricRulesetResponse) GetCreatorNameOk() (*string, bool)

GetCreatorNameOk returns a tuple with the CreatorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetCreatorOk

func (o *GetMetricRulesetResponse) GetCreatorOk() (*string, bool)

GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetId

func (o *GetMetricRulesetResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetIdOk

func (o *GetMetricRulesetResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetLastUpdated

func (o *GetMetricRulesetResponse) GetLastUpdated() int64

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetLastUpdatedBy

func (o *GetMetricRulesetResponse) GetLastUpdatedBy() string

GetLastUpdatedBy returns the LastUpdatedBy field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetLastUpdatedByName

func (o *GetMetricRulesetResponse) GetLastUpdatedByName() string

GetLastUpdatedByName returns the LastUpdatedByName field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetLastUpdatedByNameOk

func (o *GetMetricRulesetResponse) GetLastUpdatedByNameOk() (*string, bool)

GetLastUpdatedByNameOk returns a tuple with the LastUpdatedByName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetLastUpdatedByOk

func (o *GetMetricRulesetResponse) GetLastUpdatedByOk() (*string, bool)

GetLastUpdatedByOk returns a tuple with the LastUpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetLastUpdatedOk

func (o *GetMetricRulesetResponse) GetLastUpdatedOk() (*int64, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetMetricName

func (o *GetMetricRulesetResponse) GetMetricName() string

GetMetricName returns the MetricName field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetMetricNameOk

func (o *GetMetricRulesetResponse) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetRoutingRule

func (o *GetMetricRulesetResponse) GetRoutingRule() RoutingRule

GetRoutingRule returns the RoutingRule field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetRoutingRuleOk

func (o *GetMetricRulesetResponse) GetRoutingRuleOk() (*RoutingRule, bool)

GetRoutingRuleOk returns a tuple with the RoutingRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) GetVersion

func (o *GetMetricRulesetResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*GetMetricRulesetResponse) GetVersionOk

func (o *GetMetricRulesetResponse) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetResponse) HasAggregationRules

func (o *GetMetricRulesetResponse) HasAggregationRules() bool

HasAggregationRules returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasCreated

func (o *GetMetricRulesetResponse) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasCreator

func (o *GetMetricRulesetResponse) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasCreatorName

func (o *GetMetricRulesetResponse) HasCreatorName() bool

HasCreatorName returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasId

func (o *GetMetricRulesetResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasLastUpdated

func (o *GetMetricRulesetResponse) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasLastUpdatedBy

func (o *GetMetricRulesetResponse) HasLastUpdatedBy() bool

HasLastUpdatedBy returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasLastUpdatedByName

func (o *GetMetricRulesetResponse) HasLastUpdatedByName() bool

HasLastUpdatedByName returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasMetricName

func (o *GetMetricRulesetResponse) HasMetricName() bool

HasMetricName returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasRoutingRule

func (o *GetMetricRulesetResponse) HasRoutingRule() bool

HasRoutingRule returns a boolean if a field has been set.

func (*GetMetricRulesetResponse) HasVersion

func (o *GetMetricRulesetResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (GetMetricRulesetResponse) MarshalJSON

func (o GetMetricRulesetResponse) MarshalJSON() ([]byte, error)

func (*GetMetricRulesetResponse) SetAggregationRules

func (o *GetMetricRulesetResponse) SetAggregationRules(v []AggregationRule)

SetAggregationRules gets a reference to the given []AggregationRule and assigns it to the AggregationRules field.

func (*GetMetricRulesetResponse) SetCreated

func (o *GetMetricRulesetResponse) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*GetMetricRulesetResponse) SetCreator

func (o *GetMetricRulesetResponse) SetCreator(v string)

SetCreator gets a reference to the given string and assigns it to the Creator field.

func (*GetMetricRulesetResponse) SetCreatorName

func (o *GetMetricRulesetResponse) SetCreatorName(v string)

SetCreatorName gets a reference to the given string and assigns it to the CreatorName field.

func (*GetMetricRulesetResponse) SetId

func (o *GetMetricRulesetResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetMetricRulesetResponse) SetLastUpdated

func (o *GetMetricRulesetResponse) SetLastUpdated(v int64)

SetLastUpdated gets a reference to the given int64 and assigns it to the LastUpdated field.

func (*GetMetricRulesetResponse) SetLastUpdatedBy

func (o *GetMetricRulesetResponse) SetLastUpdatedBy(v string)

SetLastUpdatedBy gets a reference to the given string and assigns it to the LastUpdatedBy field.

func (*GetMetricRulesetResponse) SetLastUpdatedByName

func (o *GetMetricRulesetResponse) SetLastUpdatedByName(v string)

SetLastUpdatedByName gets a reference to the given string and assigns it to the LastUpdatedByName field.

func (*GetMetricRulesetResponse) SetMetricName

func (o *GetMetricRulesetResponse) SetMetricName(v string)

SetMetricName gets a reference to the given string and assigns it to the MetricName field.

func (*GetMetricRulesetResponse) SetRoutingRule

func (o *GetMetricRulesetResponse) SetRoutingRule(v RoutingRule)

SetRoutingRule gets a reference to the given RoutingRule and assigns it to the RoutingRule field.

func (*GetMetricRulesetResponse) SetVersion

func (o *GetMetricRulesetResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type GetMetricRulesetsResponse

type GetMetricRulesetsResponse struct {
	// Number of matched metric rulesets
	Count *int32 `json:"count,omitempty"`
	// List of metric rulesets
	Results []MetricRuleset `json:"results,omitempty"`
}

GetMetricRulesetsResponse Retrieving metric rulesets by query endpoint response body

func NewGetMetricRulesetsResponse

func NewGetMetricRulesetsResponse() *GetMetricRulesetsResponse

NewGetMetricRulesetsResponse instantiates a new GetMetricRulesetsResponse 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 NewGetMetricRulesetsResponseWithDefaults

func NewGetMetricRulesetsResponseWithDefaults() *GetMetricRulesetsResponse

NewGetMetricRulesetsResponseWithDefaults instantiates a new GetMetricRulesetsResponse 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 (*GetMetricRulesetsResponse) GetCount

func (o *GetMetricRulesetsResponse) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*GetMetricRulesetsResponse) GetCountOk

func (o *GetMetricRulesetsResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetsResponse) GetResults

func (o *GetMetricRulesetsResponse) GetResults() []MetricRuleset

GetResults returns the Results field value if set, zero value otherwise.

func (*GetMetricRulesetsResponse) GetResultsOk

func (o *GetMetricRulesetsResponse) GetResultsOk() ([]MetricRuleset, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetMetricRulesetsResponse) HasCount

func (o *GetMetricRulesetsResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*GetMetricRulesetsResponse) HasResults

func (o *GetMetricRulesetsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (GetMetricRulesetsResponse) MarshalJSON

func (o GetMetricRulesetsResponse) MarshalJSON() ([]byte, error)

func (*GetMetricRulesetsResponse) SetCount

func (o *GetMetricRulesetsResponse) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*GetMetricRulesetsResponse) SetResults

func (o *GetMetricRulesetsResponse) SetResults(v []MetricRuleset)

SetResults gets a reference to the given []MetricRuleset and assigns it to the Results field.

type MetricAggregator

type MetricAggregator struct {
	RollupAggregator *RollupAggregator
}

MetricAggregator - Metric aggregator

func RollupAggregatorAsMetricAggregator

func RollupAggregatorAsMetricAggregator(v *RollupAggregator) MetricAggregator

RollupAggregatorAsMetricAggregator is a convenience function that returns RollupAggregator wrapped in MetricAggregator

func (*MetricAggregator) GetActualInstance

func (obj *MetricAggregator) GetActualInstance() interface{}

Get the actual instance

func (MetricAggregator) MarshalJSON

func (src MetricAggregator) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*MetricAggregator) UnmarshalJSON

func (dst *MetricAggregator) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type MetricMatcher

type MetricMatcher struct {
	DimensionMatcher *DimensionMatcher
}

MetricMatcher - Metric matcher

func DimensionMatcherAsMetricMatcher

func DimensionMatcherAsMetricMatcher(v *DimensionMatcher) MetricMatcher

DimensionMatcherAsMetricMatcher is a convenience function that returns DimensionMatcher wrapped in MetricMatcher

func (*MetricMatcher) GetActualInstance

func (obj *MetricMatcher) GetActualInstance() interface{}

Get the actual instance

func (MetricMatcher) MarshalJSON

func (src MetricMatcher) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*MetricMatcher) UnmarshalJSON

func (dst *MetricMatcher) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type MetricRuleset

type MetricRuleset struct {
	// Aggregation rules in the ruleset
	AggregationRules []AggregationRule `json:"aggregationRules,omitempty"`
	// User ID of the user who created this metric ruleset
	Creator *string `json:"creator,omitempty"`
	// Name of the user who created this metric ruleset
	CreatorName *string `json:"creatorName,omitempty"`
	// Date and time when this ruleset was created
	Created *int64 `json:"created,omitempty"`
	// Ruleset ID
	Id *string `json:"id,omitempty"`
	// ID of the user who last updated the ruleset
	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
	// Name of the user who last updated the ruleset
	LastUpdatedByName *string `json:"lastUpdatedByName,omitempty"`
	// Time at which this ruleset was last updated
	LastUpdated *int64 `json:"lastUpdated,omitempty"`
	// Name of the metric
	MetricName  *string      `json:"metricName,omitempty"`
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
	// Version of the ruleset
	Version *int64 `json:"version,omitempty"`
}

MetricRuleset Metric ruleset properties

func NewMetricRuleset

func NewMetricRuleset() *MetricRuleset

NewMetricRuleset instantiates a new MetricRuleset 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 NewMetricRulesetWithDefaults

func NewMetricRulesetWithDefaults() *MetricRuleset

NewMetricRulesetWithDefaults instantiates a new MetricRuleset 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 (*MetricRuleset) GetAggregationRules

func (o *MetricRuleset) GetAggregationRules() []AggregationRule

GetAggregationRules returns the AggregationRules field value if set, zero value otherwise.

func (*MetricRuleset) GetAggregationRulesOk

func (o *MetricRuleset) GetAggregationRulesOk() ([]AggregationRule, bool)

GetAggregationRulesOk returns a tuple with the AggregationRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetCreated

func (o *MetricRuleset) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*MetricRuleset) GetCreatedOk

func (o *MetricRuleset) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetCreator

func (o *MetricRuleset) GetCreator() string

GetCreator returns the Creator field value if set, zero value otherwise.

func (*MetricRuleset) GetCreatorName

func (o *MetricRuleset) GetCreatorName() string

GetCreatorName returns the CreatorName field value if set, zero value otherwise.

func (*MetricRuleset) GetCreatorNameOk

func (o *MetricRuleset) GetCreatorNameOk() (*string, bool)

GetCreatorNameOk returns a tuple with the CreatorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetCreatorOk

func (o *MetricRuleset) GetCreatorOk() (*string, bool)

GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetId

func (o *MetricRuleset) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetricRuleset) GetIdOk

func (o *MetricRuleset) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetLastUpdated

func (o *MetricRuleset) GetLastUpdated() int64

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*MetricRuleset) GetLastUpdatedBy

func (o *MetricRuleset) GetLastUpdatedBy() string

GetLastUpdatedBy returns the LastUpdatedBy field value if set, zero value otherwise.

func (*MetricRuleset) GetLastUpdatedByName

func (o *MetricRuleset) GetLastUpdatedByName() string

GetLastUpdatedByName returns the LastUpdatedByName field value if set, zero value otherwise.

func (*MetricRuleset) GetLastUpdatedByNameOk

func (o *MetricRuleset) GetLastUpdatedByNameOk() (*string, bool)

GetLastUpdatedByNameOk returns a tuple with the LastUpdatedByName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetLastUpdatedByOk

func (o *MetricRuleset) GetLastUpdatedByOk() (*string, bool)

GetLastUpdatedByOk returns a tuple with the LastUpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetLastUpdatedOk

func (o *MetricRuleset) GetLastUpdatedOk() (*int64, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetMetricName

func (o *MetricRuleset) GetMetricName() string

GetMetricName returns the MetricName field value if set, zero value otherwise.

func (*MetricRuleset) GetMetricNameOk

func (o *MetricRuleset) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetRoutingRule

func (o *MetricRuleset) GetRoutingRule() RoutingRule

GetRoutingRule returns the RoutingRule field value if set, zero value otherwise.

func (*MetricRuleset) GetRoutingRuleOk

func (o *MetricRuleset) GetRoutingRuleOk() (*RoutingRule, bool)

GetRoutingRuleOk returns a tuple with the RoutingRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) GetVersion

func (o *MetricRuleset) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*MetricRuleset) GetVersionOk

func (o *MetricRuleset) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricRuleset) HasAggregationRules

func (o *MetricRuleset) HasAggregationRules() bool

HasAggregationRules returns a boolean if a field has been set.

func (*MetricRuleset) HasCreated

func (o *MetricRuleset) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*MetricRuleset) HasCreator

func (o *MetricRuleset) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*MetricRuleset) HasCreatorName

func (o *MetricRuleset) HasCreatorName() bool

HasCreatorName returns a boolean if a field has been set.

func (*MetricRuleset) HasId

func (o *MetricRuleset) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetricRuleset) HasLastUpdated

func (o *MetricRuleset) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*MetricRuleset) HasLastUpdatedBy

func (o *MetricRuleset) HasLastUpdatedBy() bool

HasLastUpdatedBy returns a boolean if a field has been set.

func (*MetricRuleset) HasLastUpdatedByName

func (o *MetricRuleset) HasLastUpdatedByName() bool

HasLastUpdatedByName returns a boolean if a field has been set.

func (*MetricRuleset) HasMetricName

func (o *MetricRuleset) HasMetricName() bool

HasMetricName returns a boolean if a field has been set.

func (*MetricRuleset) HasRoutingRule

func (o *MetricRuleset) HasRoutingRule() bool

HasRoutingRule returns a boolean if a field has been set.

func (*MetricRuleset) HasVersion

func (o *MetricRuleset) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (MetricRuleset) MarshalJSON

func (o MetricRuleset) MarshalJSON() ([]byte, error)

func (*MetricRuleset) SetAggregationRules

func (o *MetricRuleset) SetAggregationRules(v []AggregationRule)

SetAggregationRules gets a reference to the given []AggregationRule and assigns it to the AggregationRules field.

func (*MetricRuleset) SetCreated

func (o *MetricRuleset) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*MetricRuleset) SetCreator

func (o *MetricRuleset) SetCreator(v string)

SetCreator gets a reference to the given string and assigns it to the Creator field.

func (*MetricRuleset) SetCreatorName

func (o *MetricRuleset) SetCreatorName(v string)

SetCreatorName gets a reference to the given string and assigns it to the CreatorName field.

func (*MetricRuleset) SetId

func (o *MetricRuleset) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricRuleset) SetLastUpdated

func (o *MetricRuleset) SetLastUpdated(v int64)

SetLastUpdated gets a reference to the given int64 and assigns it to the LastUpdated field.

func (*MetricRuleset) SetLastUpdatedBy

func (o *MetricRuleset) SetLastUpdatedBy(v string)

SetLastUpdatedBy gets a reference to the given string and assigns it to the LastUpdatedBy field.

func (*MetricRuleset) SetLastUpdatedByName

func (o *MetricRuleset) SetLastUpdatedByName(v string)

SetLastUpdatedByName gets a reference to the given string and assigns it to the LastUpdatedByName field.

func (*MetricRuleset) SetMetricName

func (o *MetricRuleset) SetMetricName(v string)

SetMetricName gets a reference to the given string and assigns it to the MetricName field.

func (*MetricRuleset) SetRoutingRule

func (o *MetricRuleset) SetRoutingRule(v RoutingRule)

SetRoutingRule gets a reference to the given RoutingRule and assigns it to the RoutingRule field.

func (*MetricRuleset) SetVersion

func (o *MetricRuleset) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type NullableAggregationRule

type NullableAggregationRule struct {
	// contains filtered or unexported fields
}

func NewNullableAggregationRule

func NewNullableAggregationRule(val *AggregationRule) *NullableAggregationRule

func (NullableAggregationRule) Get

func (NullableAggregationRule) IsSet

func (v NullableAggregationRule) IsSet() bool

func (NullableAggregationRule) MarshalJSON

func (v NullableAggregationRule) MarshalJSON() ([]byte, error)

func (*NullableAggregationRule) Set

func (*NullableAggregationRule) UnmarshalJSON

func (v *NullableAggregationRule) UnmarshalJSON(src []byte) error

func (*NullableAggregationRule) Unset

func (v *NullableAggregationRule) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateMetricRulesetRequest

type NullableCreateMetricRulesetRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateMetricRulesetRequest) Get

func (NullableCreateMetricRulesetRequest) IsSet

func (NullableCreateMetricRulesetRequest) MarshalJSON

func (v NullableCreateMetricRulesetRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateMetricRulesetRequest) Set

func (*NullableCreateMetricRulesetRequest) UnmarshalJSON

func (v *NullableCreateMetricRulesetRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateMetricRulesetRequest) Unset

type NullableCreateMetricRulesetResponse

type NullableCreateMetricRulesetResponse struct {
	// contains filtered or unexported fields
}

func (NullableCreateMetricRulesetResponse) Get

func (NullableCreateMetricRulesetResponse) IsSet

func (NullableCreateMetricRulesetResponse) MarshalJSON

func (v NullableCreateMetricRulesetResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateMetricRulesetResponse) Set

func (*NullableCreateMetricRulesetResponse) UnmarshalJSON

func (v *NullableCreateMetricRulesetResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateMetricRulesetResponse) Unset

type NullableDimensionMatcher

type NullableDimensionMatcher struct {
	// contains filtered or unexported fields
}

func NewNullableDimensionMatcher

func NewNullableDimensionMatcher(val *DimensionMatcher) *NullableDimensionMatcher

func (NullableDimensionMatcher) Get

func (NullableDimensionMatcher) IsSet

func (v NullableDimensionMatcher) IsSet() bool

func (NullableDimensionMatcher) MarshalJSON

func (v NullableDimensionMatcher) MarshalJSON() ([]byte, error)

func (*NullableDimensionMatcher) Set

func (*NullableDimensionMatcher) UnmarshalJSON

func (v *NullableDimensionMatcher) UnmarshalJSON(src []byte) error

func (*NullableDimensionMatcher) Unset

func (v *NullableDimensionMatcher) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGenerateAggregationNameRequest

type NullableGenerateAggregationNameRequest struct {
	// contains filtered or unexported fields
}

func (NullableGenerateAggregationNameRequest) Get

func (NullableGenerateAggregationNameRequest) IsSet

func (NullableGenerateAggregationNameRequest) MarshalJSON

func (v NullableGenerateAggregationNameRequest) MarshalJSON() ([]byte, error)

func (*NullableGenerateAggregationNameRequest) Set

func (*NullableGenerateAggregationNameRequest) UnmarshalJSON

func (v *NullableGenerateAggregationNameRequest) UnmarshalJSON(src []byte) error

func (*NullableGenerateAggregationNameRequest) Unset

type NullableGetMetricRulesetResponse

type NullableGetMetricRulesetResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetMetricRulesetResponse) Get

func (NullableGetMetricRulesetResponse) IsSet

func (NullableGetMetricRulesetResponse) MarshalJSON

func (v NullableGetMetricRulesetResponse) MarshalJSON() ([]byte, error)

func (*NullableGetMetricRulesetResponse) Set

func (*NullableGetMetricRulesetResponse) UnmarshalJSON

func (v *NullableGetMetricRulesetResponse) UnmarshalJSON(src []byte) error

func (*NullableGetMetricRulesetResponse) Unset

type NullableGetMetricRulesetsResponse

type NullableGetMetricRulesetsResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetMetricRulesetsResponse) Get

func (NullableGetMetricRulesetsResponse) IsSet

func (NullableGetMetricRulesetsResponse) MarshalJSON

func (v NullableGetMetricRulesetsResponse) MarshalJSON() ([]byte, error)

func (*NullableGetMetricRulesetsResponse) Set

func (*NullableGetMetricRulesetsResponse) UnmarshalJSON

func (v *NullableGetMetricRulesetsResponse) UnmarshalJSON(src []byte) error

func (*NullableGetMetricRulesetsResponse) Unset

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableMetricAggregator

type NullableMetricAggregator struct {
	// contains filtered or unexported fields
}

func NewNullableMetricAggregator

func NewNullableMetricAggregator(val *MetricAggregator) *NullableMetricAggregator

func (NullableMetricAggregator) Get

func (NullableMetricAggregator) IsSet

func (v NullableMetricAggregator) IsSet() bool

func (NullableMetricAggregator) MarshalJSON

func (v NullableMetricAggregator) MarshalJSON() ([]byte, error)

func (*NullableMetricAggregator) Set

func (*NullableMetricAggregator) UnmarshalJSON

func (v *NullableMetricAggregator) UnmarshalJSON(src []byte) error

func (*NullableMetricAggregator) Unset

func (v *NullableMetricAggregator) Unset()

type NullableMetricMatcher

type NullableMetricMatcher struct {
	// contains filtered or unexported fields
}

func NewNullableMetricMatcher

func NewNullableMetricMatcher(val *MetricMatcher) *NullableMetricMatcher

func (NullableMetricMatcher) Get

func (NullableMetricMatcher) IsSet

func (v NullableMetricMatcher) IsSet() bool

func (NullableMetricMatcher) MarshalJSON

func (v NullableMetricMatcher) MarshalJSON() ([]byte, error)

func (*NullableMetricMatcher) Set

func (v *NullableMetricMatcher) Set(val *MetricMatcher)

func (*NullableMetricMatcher) UnmarshalJSON

func (v *NullableMetricMatcher) UnmarshalJSON(src []byte) error

func (*NullableMetricMatcher) Unset

func (v *NullableMetricMatcher) Unset()

type NullableMetricRuleset

type NullableMetricRuleset struct {
	// contains filtered or unexported fields
}

func NewNullableMetricRuleset

func NewNullableMetricRuleset(val *MetricRuleset) *NullableMetricRuleset

func (NullableMetricRuleset) Get

func (NullableMetricRuleset) IsSet

func (v NullableMetricRuleset) IsSet() bool

func (NullableMetricRuleset) MarshalJSON

func (v NullableMetricRuleset) MarshalJSON() ([]byte, error)

func (*NullableMetricRuleset) Set

func (v *NullableMetricRuleset) Set(val *MetricRuleset)

func (*NullableMetricRuleset) UnmarshalJSON

func (v *NullableMetricRuleset) UnmarshalJSON(src []byte) error

func (*NullableMetricRuleset) Unset

func (v *NullableMetricRuleset) Unset()

type NullablePropertyFilter

type NullablePropertyFilter struct {
	// contains filtered or unexported fields
}

func NewNullablePropertyFilter

func NewNullablePropertyFilter(val *PropertyFilter) *NullablePropertyFilter

func (NullablePropertyFilter) Get

func (NullablePropertyFilter) IsSet

func (v NullablePropertyFilter) IsSet() bool

func (NullablePropertyFilter) MarshalJSON

func (v NullablePropertyFilter) MarshalJSON() ([]byte, error)

func (*NullablePropertyFilter) Set

func (*NullablePropertyFilter) UnmarshalJSON

func (v *NullablePropertyFilter) UnmarshalJSON(src []byte) error

func (*NullablePropertyFilter) Unset

func (v *NullablePropertyFilter) Unset()

type NullableRollupAggregator

type NullableRollupAggregator struct {
	// contains filtered or unexported fields
}

func NewNullableRollupAggregator

func NewNullableRollupAggregator(val *RollupAggregator) *NullableRollupAggregator

func (NullableRollupAggregator) Get

func (NullableRollupAggregator) IsSet

func (v NullableRollupAggregator) IsSet() bool

func (NullableRollupAggregator) MarshalJSON

func (v NullableRollupAggregator) MarshalJSON() ([]byte, error)

func (*NullableRollupAggregator) Set

func (*NullableRollupAggregator) UnmarshalJSON

func (v *NullableRollupAggregator) UnmarshalJSON(src []byte) error

func (*NullableRollupAggregator) Unset

func (v *NullableRollupAggregator) Unset()

type NullableRoutingRule

type NullableRoutingRule struct {
	// contains filtered or unexported fields
}

func NewNullableRoutingRule

func NewNullableRoutingRule(val *RoutingRule) *NullableRoutingRule

func (NullableRoutingRule) Get

func (NullableRoutingRule) IsSet

func (v NullableRoutingRule) IsSet() bool

func (NullableRoutingRule) MarshalJSON

func (v NullableRoutingRule) MarshalJSON() ([]byte, error)

func (*NullableRoutingRule) Set

func (v *NullableRoutingRule) Set(val *RoutingRule)

func (*NullableRoutingRule) UnmarshalJSON

func (v *NullableRoutingRule) UnmarshalJSON(src []byte) error

func (*NullableRoutingRule) Unset

func (v *NullableRoutingRule) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateMetricRulesetRequest

type NullableUpdateMetricRulesetRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateMetricRulesetRequest) Get

func (NullableUpdateMetricRulesetRequest) IsSet

func (NullableUpdateMetricRulesetRequest) MarshalJSON

func (v NullableUpdateMetricRulesetRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateMetricRulesetRequest) Set

func (*NullableUpdateMetricRulesetRequest) UnmarshalJSON

func (v *NullableUpdateMetricRulesetRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateMetricRulesetRequest) Unset

type NullableUpdateMetricRulesetResponse

type NullableUpdateMetricRulesetResponse struct {
	// contains filtered or unexported fields
}

func (NullableUpdateMetricRulesetResponse) Get

func (NullableUpdateMetricRulesetResponse) IsSet

func (NullableUpdateMetricRulesetResponse) MarshalJSON

func (v NullableUpdateMetricRulesetResponse) MarshalJSON() ([]byte, error)

func (*NullableUpdateMetricRulesetResponse) Set

func (*NullableUpdateMetricRulesetResponse) UnmarshalJSON

func (v *NullableUpdateMetricRulesetResponse) UnmarshalJSON(src []byte) error

func (*NullableUpdateMetricRulesetResponse) Unset

type PropertyFilter

type PropertyFilter struct {
	// Custom property or dimension for which you want to filter
	Property *string `json:"property,omitempty"`
	// Custom property or dimension values to filter
	PropertyValue []string `json:"propertyValue,omitempty"`
	// Indicates whether you want the property to be included or excluded from the filter
	NOT *bool `json:"NOT,omitempty"`
}

PropertyFilter Single filter to include or exclude metric specified in the matcher

func NewPropertyFilter

func NewPropertyFilter() *PropertyFilter

NewPropertyFilter instantiates a new PropertyFilter 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 NewPropertyFilterWithDefaults

func NewPropertyFilterWithDefaults() *PropertyFilter

NewPropertyFilterWithDefaults instantiates a new PropertyFilter 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 (*PropertyFilter) GetNOT

func (o *PropertyFilter) GetNOT() bool

GetNOT returns the NOT field value if set, zero value otherwise.

func (*PropertyFilter) GetNOTOk

func (o *PropertyFilter) GetNOTOk() (*bool, bool)

GetNOTOk returns a tuple with the NOT field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyFilter) GetProperty

func (o *PropertyFilter) GetProperty() string

GetProperty returns the Property field value if set, zero value otherwise.

func (*PropertyFilter) GetPropertyOk

func (o *PropertyFilter) GetPropertyOk() (*string, bool)

GetPropertyOk returns a tuple with the Property field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyFilter) GetPropertyValue

func (o *PropertyFilter) GetPropertyValue() []string

GetPropertyValue returns the PropertyValue field value if set, zero value otherwise.

func (*PropertyFilter) GetPropertyValueOk

func (o *PropertyFilter) GetPropertyValueOk() ([]string, bool)

GetPropertyValueOk returns a tuple with the PropertyValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PropertyFilter) HasNOT

func (o *PropertyFilter) HasNOT() bool

HasNOT returns a boolean if a field has been set.

func (*PropertyFilter) HasProperty

func (o *PropertyFilter) HasProperty() bool

HasProperty returns a boolean if a field has been set.

func (*PropertyFilter) HasPropertyValue

func (o *PropertyFilter) HasPropertyValue() bool

HasPropertyValue returns a boolean if a field has been set.

func (PropertyFilter) MarshalJSON

func (o PropertyFilter) MarshalJSON() ([]byte, error)

func (*PropertyFilter) SetNOT

func (o *PropertyFilter) SetNOT(v bool)

SetNOT gets a reference to the given bool and assigns it to the NOT field.

func (*PropertyFilter) SetProperty

func (o *PropertyFilter) SetProperty(v string)

SetProperty gets a reference to the given string and assigns it to the Property field.

func (*PropertyFilter) SetPropertyValue

func (o *PropertyFilter) SetPropertyValue(v []string)

SetPropertyValue gets a reference to the given []string and assigns it to the PropertyValue field.

type RollupAggregator

type RollupAggregator struct {
	// Dimensions you want to keep or drop in the aggregation rule
	Dimensions []string `json:"dimensions,omitempty"`
	// Flag toggling if the dimensions are being dropped
	DropDimensions *bool `json:"dropDimensions,omitempty"`
	// New aggregated metric name
	OutputName string `json:"outputName"`
	// Aggregation rule type
	Type string `json:"type"`
}

RollupAggregator A rollup aggregator for your aggregation rule

func NewRollupAggregator

func NewRollupAggregator(outputName string, type_ string) *RollupAggregator

NewRollupAggregator instantiates a new RollupAggregator 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 NewRollupAggregatorWithDefaults

func NewRollupAggregatorWithDefaults() *RollupAggregator

NewRollupAggregatorWithDefaults instantiates a new RollupAggregator 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 (*RollupAggregator) GetDimensions

func (o *RollupAggregator) GetDimensions() []string

GetDimensions returns the Dimensions field value if set, zero value otherwise.

func (*RollupAggregator) GetDimensionsOk

func (o *RollupAggregator) GetDimensionsOk() ([]string, bool)

GetDimensionsOk returns a tuple with the Dimensions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RollupAggregator) GetDropDimensions

func (o *RollupAggregator) GetDropDimensions() bool

GetDropDimensions returns the DropDimensions field value if set, zero value otherwise.

func (*RollupAggregator) GetDropDimensionsOk

func (o *RollupAggregator) GetDropDimensionsOk() (*bool, bool)

GetDropDimensionsOk returns a tuple with the DropDimensions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RollupAggregator) GetOutputName

func (o *RollupAggregator) GetOutputName() string

GetOutputName returns the OutputName field value

func (*RollupAggregator) GetOutputNameOk

func (o *RollupAggregator) GetOutputNameOk() (*string, bool)

GetOutputNameOk returns a tuple with the OutputName field value and a boolean to check if the value has been set.

func (*RollupAggregator) GetType

func (o *RollupAggregator) GetType() string

GetType returns the Type field value

func (*RollupAggregator) GetTypeOk

func (o *RollupAggregator) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RollupAggregator) HasDimensions

func (o *RollupAggregator) HasDimensions() bool

HasDimensions returns a boolean if a field has been set.

func (*RollupAggregator) HasDropDimensions

func (o *RollupAggregator) HasDropDimensions() bool

HasDropDimensions returns a boolean if a field has been set.

func (RollupAggregator) MarshalJSON

func (o RollupAggregator) MarshalJSON() ([]byte, error)

func (*RollupAggregator) SetDimensions

func (o *RollupAggregator) SetDimensions(v []string)

SetDimensions gets a reference to the given []string and assigns it to the Dimensions field.

func (*RollupAggregator) SetDropDimensions

func (o *RollupAggregator) SetDropDimensions(v bool)

SetDropDimensions gets a reference to the given bool and assigns it to the DropDimensions field.

func (*RollupAggregator) SetOutputName

func (o *RollupAggregator) SetOutputName(v string)

SetOutputName sets field value

func (*RollupAggregator) SetType

func (o *RollupAggregator) SetType(v string)

SetType sets field value

type RoutingRule

type RoutingRule struct {
	// Routing destination
	Destination *string `json:"destination,omitempty"`
}

RoutingRule Routing rule for your data

func NewRoutingRule

func NewRoutingRule() *RoutingRule

NewRoutingRule instantiates a new RoutingRule 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 NewRoutingRuleWithDefaults

func NewRoutingRuleWithDefaults() *RoutingRule

NewRoutingRuleWithDefaults instantiates a new RoutingRule 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 (*RoutingRule) GetDestination

func (o *RoutingRule) GetDestination() string

GetDestination returns the Destination field value if set, zero value otherwise.

func (*RoutingRule) GetDestinationOk

func (o *RoutingRule) GetDestinationOk() (*string, bool)

GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RoutingRule) HasDestination

func (o *RoutingRule) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (RoutingRule) MarshalJSON

func (o RoutingRule) MarshalJSON() ([]byte, error)

func (*RoutingRule) SetDestination

func (o *RoutingRule) SetDestination(v string)

SetDestination gets a reference to the given string and assigns it to the Destination field.

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type UpdateMetricRulesetRequest

type UpdateMetricRulesetRequest struct {
	// Aggregation rules in the ruleset
	AggregationRules []AggregationRule `json:"aggregationRules,omitempty"`
	// Name of the metric
	MetricName  *string      `json:"metricName,omitempty"`
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
	// Version of the ruleset
	Version *int64 `json:"version,omitempty"`
}

UpdateMetricRulesetRequest Update metric ruleset request body

func NewUpdateMetricRulesetRequest

func NewUpdateMetricRulesetRequest() *UpdateMetricRulesetRequest

NewUpdateMetricRulesetRequest instantiates a new UpdateMetricRulesetRequest 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 NewUpdateMetricRulesetRequestWithDefaults

func NewUpdateMetricRulesetRequestWithDefaults() *UpdateMetricRulesetRequest

NewUpdateMetricRulesetRequestWithDefaults instantiates a new UpdateMetricRulesetRequest 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 (*UpdateMetricRulesetRequest) GetAggregationRules

func (o *UpdateMetricRulesetRequest) GetAggregationRules() []AggregationRule

GetAggregationRules returns the AggregationRules field value if set, zero value otherwise.

func (*UpdateMetricRulesetRequest) GetAggregationRulesOk

func (o *UpdateMetricRulesetRequest) GetAggregationRulesOk() ([]AggregationRule, bool)

GetAggregationRulesOk returns a tuple with the AggregationRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetRequest) GetMetricName

func (o *UpdateMetricRulesetRequest) GetMetricName() string

GetMetricName returns the MetricName field value if set, zero value otherwise.

func (*UpdateMetricRulesetRequest) GetMetricNameOk

func (o *UpdateMetricRulesetRequest) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetRequest) GetRoutingRule

func (o *UpdateMetricRulesetRequest) GetRoutingRule() RoutingRule

GetRoutingRule returns the RoutingRule field value if set, zero value otherwise.

func (*UpdateMetricRulesetRequest) GetRoutingRuleOk

func (o *UpdateMetricRulesetRequest) GetRoutingRuleOk() (*RoutingRule, bool)

GetRoutingRuleOk returns a tuple with the RoutingRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetRequest) GetVersion

func (o *UpdateMetricRulesetRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*UpdateMetricRulesetRequest) GetVersionOk

func (o *UpdateMetricRulesetRequest) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetRequest) HasAggregationRules

func (o *UpdateMetricRulesetRequest) HasAggregationRules() bool

HasAggregationRules returns a boolean if a field has been set.

func (*UpdateMetricRulesetRequest) HasMetricName

func (o *UpdateMetricRulesetRequest) HasMetricName() bool

HasMetricName returns a boolean if a field has been set.

func (*UpdateMetricRulesetRequest) HasRoutingRule

func (o *UpdateMetricRulesetRequest) HasRoutingRule() bool

HasRoutingRule returns a boolean if a field has been set.

func (*UpdateMetricRulesetRequest) HasVersion

func (o *UpdateMetricRulesetRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (UpdateMetricRulesetRequest) MarshalJSON

func (o UpdateMetricRulesetRequest) MarshalJSON() ([]byte, error)

func (*UpdateMetricRulesetRequest) SetAggregationRules

func (o *UpdateMetricRulesetRequest) SetAggregationRules(v []AggregationRule)

SetAggregationRules gets a reference to the given []AggregationRule and assigns it to the AggregationRules field.

func (*UpdateMetricRulesetRequest) SetMetricName

func (o *UpdateMetricRulesetRequest) SetMetricName(v string)

SetMetricName gets a reference to the given string and assigns it to the MetricName field.

func (*UpdateMetricRulesetRequest) SetRoutingRule

func (o *UpdateMetricRulesetRequest) SetRoutingRule(v RoutingRule)

SetRoutingRule gets a reference to the given RoutingRule and assigns it to the RoutingRule field.

func (*UpdateMetricRulesetRequest) SetVersion

func (o *UpdateMetricRulesetRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type UpdateMetricRulesetResponse

type UpdateMetricRulesetResponse struct {
	// Aggregation rules in the ruleset
	AggregationRules []AggregationRule `json:"aggregationRules,omitempty"`
	// User ID of the user who created this metric ruleset
	Creator *string `json:"creator,omitempty"`
	// Name of the user who created this metric ruleset
	CreatorName *string `json:"creatorName,omitempty"`
	// Date and time when this ruleset was created
	Created *int64 `json:"created,omitempty"`
	// Ruleset ID
	Id *string `json:"id,omitempty"`
	// ID of the user who last updated the ruleset
	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
	// Name of the user who last updated the ruleset
	LastUpdatedByName *string `json:"lastUpdatedByName,omitempty"`
	// Time at which this ruleset was last updated
	LastUpdated *int64 `json:"lastUpdated,omitempty"`
	// Name of the metric
	MetricName  *string      `json:"metricName,omitempty"`
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
	// Version of the ruleset
	Version *int64 `json:"version,omitempty"`
}

UpdateMetricRulesetResponse Response body returned by Update Metric Ruleset

func NewUpdateMetricRulesetResponse

func NewUpdateMetricRulesetResponse() *UpdateMetricRulesetResponse

NewUpdateMetricRulesetResponse instantiates a new UpdateMetricRulesetResponse 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 NewUpdateMetricRulesetResponseWithDefaults

func NewUpdateMetricRulesetResponseWithDefaults() *UpdateMetricRulesetResponse

NewUpdateMetricRulesetResponseWithDefaults instantiates a new UpdateMetricRulesetResponse 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 (*UpdateMetricRulesetResponse) GetAggregationRules

func (o *UpdateMetricRulesetResponse) GetAggregationRules() []AggregationRule

GetAggregationRules returns the AggregationRules field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetAggregationRulesOk

func (o *UpdateMetricRulesetResponse) GetAggregationRulesOk() ([]AggregationRule, bool)

GetAggregationRulesOk returns a tuple with the AggregationRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetCreated

func (o *UpdateMetricRulesetResponse) GetCreated() int64

GetCreated returns the Created field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetCreatedOk

func (o *UpdateMetricRulesetResponse) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetCreator

func (o *UpdateMetricRulesetResponse) GetCreator() string

GetCreator returns the Creator field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetCreatorName

func (o *UpdateMetricRulesetResponse) GetCreatorName() string

GetCreatorName returns the CreatorName field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetCreatorNameOk

func (o *UpdateMetricRulesetResponse) GetCreatorNameOk() (*string, bool)

GetCreatorNameOk returns a tuple with the CreatorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetCreatorOk

func (o *UpdateMetricRulesetResponse) GetCreatorOk() (*string, bool)

GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetIdOk

func (o *UpdateMetricRulesetResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetLastUpdated

func (o *UpdateMetricRulesetResponse) GetLastUpdated() int64

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetLastUpdatedBy

func (o *UpdateMetricRulesetResponse) GetLastUpdatedBy() string

GetLastUpdatedBy returns the LastUpdatedBy field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetLastUpdatedByName

func (o *UpdateMetricRulesetResponse) GetLastUpdatedByName() string

GetLastUpdatedByName returns the LastUpdatedByName field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetLastUpdatedByNameOk

func (o *UpdateMetricRulesetResponse) GetLastUpdatedByNameOk() (*string, bool)

GetLastUpdatedByNameOk returns a tuple with the LastUpdatedByName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetLastUpdatedByOk

func (o *UpdateMetricRulesetResponse) GetLastUpdatedByOk() (*string, bool)

GetLastUpdatedByOk returns a tuple with the LastUpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetLastUpdatedOk

func (o *UpdateMetricRulesetResponse) GetLastUpdatedOk() (*int64, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetMetricName

func (o *UpdateMetricRulesetResponse) GetMetricName() string

GetMetricName returns the MetricName field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetMetricNameOk

func (o *UpdateMetricRulesetResponse) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetRoutingRule

func (o *UpdateMetricRulesetResponse) GetRoutingRule() RoutingRule

GetRoutingRule returns the RoutingRule field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetRoutingRuleOk

func (o *UpdateMetricRulesetResponse) GetRoutingRuleOk() (*RoutingRule, bool)

GetRoutingRuleOk returns a tuple with the RoutingRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) GetVersion

func (o *UpdateMetricRulesetResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*UpdateMetricRulesetResponse) GetVersionOk

func (o *UpdateMetricRulesetResponse) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMetricRulesetResponse) HasAggregationRules

func (o *UpdateMetricRulesetResponse) HasAggregationRules() bool

HasAggregationRules returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasCreated

func (o *UpdateMetricRulesetResponse) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasCreator

func (o *UpdateMetricRulesetResponse) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasCreatorName

func (o *UpdateMetricRulesetResponse) HasCreatorName() bool

HasCreatorName returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasId

func (o *UpdateMetricRulesetResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasLastUpdated

func (o *UpdateMetricRulesetResponse) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasLastUpdatedBy

func (o *UpdateMetricRulesetResponse) HasLastUpdatedBy() bool

HasLastUpdatedBy returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasLastUpdatedByName

func (o *UpdateMetricRulesetResponse) HasLastUpdatedByName() bool

HasLastUpdatedByName returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasMetricName

func (o *UpdateMetricRulesetResponse) HasMetricName() bool

HasMetricName returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasRoutingRule

func (o *UpdateMetricRulesetResponse) HasRoutingRule() bool

HasRoutingRule returns a boolean if a field has been set.

func (*UpdateMetricRulesetResponse) HasVersion

func (o *UpdateMetricRulesetResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (UpdateMetricRulesetResponse) MarshalJSON

func (o UpdateMetricRulesetResponse) MarshalJSON() ([]byte, error)

func (*UpdateMetricRulesetResponse) SetAggregationRules

func (o *UpdateMetricRulesetResponse) SetAggregationRules(v []AggregationRule)

SetAggregationRules gets a reference to the given []AggregationRule and assigns it to the AggregationRules field.

func (*UpdateMetricRulesetResponse) SetCreated

func (o *UpdateMetricRulesetResponse) SetCreated(v int64)

SetCreated gets a reference to the given int64 and assigns it to the Created field.

func (*UpdateMetricRulesetResponse) SetCreator

func (o *UpdateMetricRulesetResponse) SetCreator(v string)

SetCreator gets a reference to the given string and assigns it to the Creator field.

func (*UpdateMetricRulesetResponse) SetCreatorName

func (o *UpdateMetricRulesetResponse) SetCreatorName(v string)

SetCreatorName gets a reference to the given string and assigns it to the CreatorName field.

func (*UpdateMetricRulesetResponse) SetId

func (o *UpdateMetricRulesetResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateMetricRulesetResponse) SetLastUpdated

func (o *UpdateMetricRulesetResponse) SetLastUpdated(v int64)

SetLastUpdated gets a reference to the given int64 and assigns it to the LastUpdated field.

func (*UpdateMetricRulesetResponse) SetLastUpdatedBy

func (o *UpdateMetricRulesetResponse) SetLastUpdatedBy(v string)

SetLastUpdatedBy gets a reference to the given string and assigns it to the LastUpdatedBy field.

func (*UpdateMetricRulesetResponse) SetLastUpdatedByName

func (o *UpdateMetricRulesetResponse) SetLastUpdatedByName(v string)

SetLastUpdatedByName gets a reference to the given string and assigns it to the LastUpdatedByName field.

func (*UpdateMetricRulesetResponse) SetMetricName

func (o *UpdateMetricRulesetResponse) SetMetricName(v string)

SetMetricName gets a reference to the given string and assigns it to the MetricName field.

func (*UpdateMetricRulesetResponse) SetRoutingRule

func (o *UpdateMetricRulesetResponse) SetRoutingRule(v RoutingRule)

SetRoutingRule gets a reference to the given RoutingRule and assigns it to the RoutingRule field.

func (*UpdateMetricRulesetResponse) SetVersion

func (o *UpdateMetricRulesetResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL