datadog

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 26 Imported by: 37

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")
)

Functions ¶

func ContainsUnparsedObject ¶ added in v1.3.0

func ContainsUnparsedObject(i interface{}) (bool, interface{})

ContainsUnparsedObject returns true if the given data contains an unparsed object from the API.

func NewDefaultContext ¶

func NewDefaultContext(ctx context.Context) context.Context

NewDefaultContext returns a new context setup with environment variables.

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 {
	AuthenticationApi *AuthenticationApiService

	AWSIntegrationApi *AWSIntegrationApiService

	AWSLogsIntegrationApi *AWSLogsIntegrationApiService

	AzureIntegrationApi *AzureIntegrationApiService

	DashboardListsApi *DashboardListsApiService

	DashboardsApi *DashboardsApiService

	DowntimesApi *DowntimesApiService

	EventsApi *EventsApiService

	GCPIntegrationApi *GCPIntegrationApiService

	HostsApi *HostsApiService

	IPRangesApi *IPRangesApiService

	KeyManagementApi *KeyManagementApiService

	LogsApi *LogsApiService

	LogsIndexesApi *LogsIndexesApiService

	LogsPipelinesApi *LogsPipelinesApiService

	MetricsApi *MetricsApiService

	MonitorsApi *MonitorsApiService

	NotebooksApi *NotebooksApiService

	OrganizationsApi *OrganizationsApiService

	PagerDutyIntegrationApi *PagerDutyIntegrationApiService

	SecurityMonitoringApi *SecurityMonitoringApiService

	ServiceChecksApi *ServiceChecksApiService

	ServiceLevelObjectiveCorrectionsApi *ServiceLevelObjectiveCorrectionsApiService

	ServiceLevelObjectivesApi *ServiceLevelObjectivesApiService

	SlackIntegrationApi *SlackIntegrationApiService

	SnapshotsApi *SnapshotsApiService

	SyntheticsApi *SyntheticsApiService

	TagsApi *TagsApiService

	UsageMeteringApi *UsageMeteringApiService

	UsersApi *UsersApiService

	WebhooksIntegrationApi *WebhooksIntegrationApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Datadog API V1 Collection API v1.0. 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) CallAPI ¶

func (c *APIClient) CallAPI(request *http.Request) (*http.Response, error)

CallAPI do the request.

func (*APIClient) GetConfig ¶

func (c *APIClient) GetConfig() *Configuration

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

func (*APIClient) PrepareRequest ¶

func (c *APIClient) PrepareRequest(
	ctx context.Context,
	path string, method string,
	postBody interface{},
	headerParams map[string]string,
	queryParams url.Values,
	formParams url.Values,
	formFile *FormFile) (localVarRequest *http.Request, err error)

PrepareRequest build the request.

type APIErrorResponse ¶

type APIErrorResponse struct {
	// Array of errors returned by the API.
	Errors []string `json:"errors"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

APIErrorResponse Error response object.

func NewAPIErrorResponse ¶

func NewAPIErrorResponse(errors []string) *APIErrorResponse

NewAPIErrorResponse instantiates a new APIErrorResponse 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 NewAPIErrorResponseWithDefaults ¶

func NewAPIErrorResponseWithDefaults() *APIErrorResponse

NewAPIErrorResponseWithDefaults instantiates a new APIErrorResponse 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 (*APIErrorResponse) GetErrors ¶

func (o *APIErrorResponse) GetErrors() []string

GetErrors returns the Errors field value.

func (*APIErrorResponse) GetErrorsOk ¶

func (o *APIErrorResponse) GetErrorsOk() (*[]string, bool)

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

func (APIErrorResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*APIErrorResponse) SetErrors ¶

func (o *APIErrorResponse) SetErrors(v []string)

SetErrors sets field value.

func (*APIErrorResponse) UnmarshalJSON ¶

func (o *APIErrorResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

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

type AWSAccount ¶

type AWSAccount struct {
	// Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
	AccessKeyId *string `json:"access_key_id,omitempty"`
	// Your AWS Account ID without dashes.
	AccountId *string `json:"account_id,omitempty"`
	// An object, (in the form `{"namespace1":true/false, "namespace2":true/false}`),
	// that enables or disables metric collection for specific AWS namespaces for this
	// AWS account only.
	AccountSpecificNamespaceRules map[string]bool `json:"account_specific_namespace_rules,omitempty"`
	// Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`.
	CspmResourceCollectionEnabled *bool `json:"cspm_resource_collection_enabled,omitempty"`
	// An array of AWS regions to exclude from metrics collection.
	ExcludedRegions []string `json:"excluded_regions,omitempty"`
	// The array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2.
	// Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used.
	// Only hosts that match one of the defined tags
	// will be imported into Datadog. The rest will be ignored.
	// Host matching a given tag can also be excluded by adding `!` before the tag.
	// For example, `env:production,instance-type:c1.*,!region:us-east-1`
	FilterTags []string `json:"filter_tags,omitempty"`
	// Array of tags (in the form `key:value`) to add to all hosts
	// and metrics reporting through this integration.
	HostTags []string `json:"host_tags,omitempty"`
	// Whether Datadog collects metrics for this AWS account.
	MetricsCollectionEnabled *bool `json:"metrics_collection_enabled,omitempty"`
	// Whether Datadog collects a standard set of resources from your AWS account.
	ResourceCollectionEnabled *bool `json:"resource_collection_enabled,omitempty"`
	// Your Datadog role delegation name.
	RoleName *string `json:"role_name,omitempty"`
	// Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
	SecretAccessKey *string `json:"secret_access_key,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSAccount Returns the AWS account associated with this integration.

func NewAWSAccount ¶

func NewAWSAccount() *AWSAccount

NewAWSAccount instantiates a new AWSAccount 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 NewAWSAccountWithDefaults ¶

func NewAWSAccountWithDefaults() *AWSAccount

NewAWSAccountWithDefaults instantiates a new AWSAccount 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 (*AWSAccount) GetAccessKeyId ¶

func (o *AWSAccount) GetAccessKeyId() string

GetAccessKeyId returns the AccessKeyId field value if set, zero value otherwise.

func (*AWSAccount) GetAccessKeyIdOk ¶

func (o *AWSAccount) GetAccessKeyIdOk() (*string, bool)

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

func (*AWSAccount) GetAccountId ¶

func (o *AWSAccount) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*AWSAccount) GetAccountIdOk ¶

func (o *AWSAccount) GetAccountIdOk() (*string, bool)

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

func (*AWSAccount) GetAccountSpecificNamespaceRules ¶

func (o *AWSAccount) GetAccountSpecificNamespaceRules() map[string]bool

GetAccountSpecificNamespaceRules returns the AccountSpecificNamespaceRules field value if set, zero value otherwise.

func (*AWSAccount) GetAccountSpecificNamespaceRulesOk ¶

func (o *AWSAccount) GetAccountSpecificNamespaceRulesOk() (*map[string]bool, bool)

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

func (*AWSAccount) GetCspmResourceCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) GetCspmResourceCollectionEnabled() bool

GetCspmResourceCollectionEnabled returns the CspmResourceCollectionEnabled field value if set, zero value otherwise.

func (*AWSAccount) GetCspmResourceCollectionEnabledOk ¶ added in v1.5.0

func (o *AWSAccount) GetCspmResourceCollectionEnabledOk() (*bool, bool)

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

func (*AWSAccount) GetExcludedRegions ¶

func (o *AWSAccount) GetExcludedRegions() []string

GetExcludedRegions returns the ExcludedRegions field value if set, zero value otherwise.

func (*AWSAccount) GetExcludedRegionsOk ¶

func (o *AWSAccount) GetExcludedRegionsOk() (*[]string, bool)

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

func (*AWSAccount) GetFilterTags ¶

func (o *AWSAccount) GetFilterTags() []string

GetFilterTags returns the FilterTags field value if set, zero value otherwise.

func (*AWSAccount) GetFilterTagsOk ¶

func (o *AWSAccount) GetFilterTagsOk() (*[]string, bool)

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

func (*AWSAccount) GetHostTags ¶

func (o *AWSAccount) GetHostTags() []string

GetHostTags returns the HostTags field value if set, zero value otherwise.

func (*AWSAccount) GetHostTagsOk ¶

func (o *AWSAccount) GetHostTagsOk() (*[]string, bool)

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

func (*AWSAccount) GetMetricsCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) GetMetricsCollectionEnabled() bool

GetMetricsCollectionEnabled returns the MetricsCollectionEnabled field value if set, zero value otherwise.

func (*AWSAccount) GetMetricsCollectionEnabledOk ¶ added in v1.5.0

func (o *AWSAccount) GetMetricsCollectionEnabledOk() (*bool, bool)

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

func (*AWSAccount) GetResourceCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) GetResourceCollectionEnabled() bool

GetResourceCollectionEnabled returns the ResourceCollectionEnabled field value if set, zero value otherwise.

func (*AWSAccount) GetResourceCollectionEnabledOk ¶ added in v1.5.0

func (o *AWSAccount) GetResourceCollectionEnabledOk() (*bool, bool)

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

func (*AWSAccount) GetRoleName ¶

func (o *AWSAccount) GetRoleName() string

GetRoleName returns the RoleName field value if set, zero value otherwise.

func (*AWSAccount) GetRoleNameOk ¶

func (o *AWSAccount) GetRoleNameOk() (*string, bool)

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

func (*AWSAccount) GetSecretAccessKey ¶

func (o *AWSAccount) GetSecretAccessKey() string

GetSecretAccessKey returns the SecretAccessKey field value if set, zero value otherwise.

func (*AWSAccount) GetSecretAccessKeyOk ¶

func (o *AWSAccount) GetSecretAccessKeyOk() (*string, bool)

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

func (*AWSAccount) HasAccessKeyId ¶

func (o *AWSAccount) HasAccessKeyId() bool

HasAccessKeyId returns a boolean if a field has been set.

func (*AWSAccount) HasAccountId ¶

func (o *AWSAccount) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*AWSAccount) HasAccountSpecificNamespaceRules ¶

func (o *AWSAccount) HasAccountSpecificNamespaceRules() bool

HasAccountSpecificNamespaceRules returns a boolean if a field has been set.

func (*AWSAccount) HasCspmResourceCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) HasCspmResourceCollectionEnabled() bool

HasCspmResourceCollectionEnabled returns a boolean if a field has been set.

func (*AWSAccount) HasExcludedRegions ¶

func (o *AWSAccount) HasExcludedRegions() bool

HasExcludedRegions returns a boolean if a field has been set.

func (*AWSAccount) HasFilterTags ¶

func (o *AWSAccount) HasFilterTags() bool

HasFilterTags returns a boolean if a field has been set.

func (*AWSAccount) HasHostTags ¶

func (o *AWSAccount) HasHostTags() bool

HasHostTags returns a boolean if a field has been set.

func (*AWSAccount) HasMetricsCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) HasMetricsCollectionEnabled() bool

HasMetricsCollectionEnabled returns a boolean if a field has been set.

func (*AWSAccount) HasResourceCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) HasResourceCollectionEnabled() bool

HasResourceCollectionEnabled returns a boolean if a field has been set.

func (*AWSAccount) HasRoleName ¶

func (o *AWSAccount) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (*AWSAccount) HasSecretAccessKey ¶

func (o *AWSAccount) HasSecretAccessKey() bool

HasSecretAccessKey returns a boolean if a field has been set.

func (AWSAccount) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSAccount) SetAccessKeyId ¶

func (o *AWSAccount) SetAccessKeyId(v string)

SetAccessKeyId gets a reference to the given string and assigns it to the AccessKeyId field.

func (*AWSAccount) SetAccountId ¶

func (o *AWSAccount) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*AWSAccount) SetAccountSpecificNamespaceRules ¶

func (o *AWSAccount) SetAccountSpecificNamespaceRules(v map[string]bool)

SetAccountSpecificNamespaceRules gets a reference to the given map[string]bool and assigns it to the AccountSpecificNamespaceRules field.

func (*AWSAccount) SetCspmResourceCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) SetCspmResourceCollectionEnabled(v bool)

SetCspmResourceCollectionEnabled gets a reference to the given bool and assigns it to the CspmResourceCollectionEnabled field.

func (*AWSAccount) SetExcludedRegions ¶

func (o *AWSAccount) SetExcludedRegions(v []string)

SetExcludedRegions gets a reference to the given []string and assigns it to the ExcludedRegions field.

func (*AWSAccount) SetFilterTags ¶

func (o *AWSAccount) SetFilterTags(v []string)

SetFilterTags gets a reference to the given []string and assigns it to the FilterTags field.

func (*AWSAccount) SetHostTags ¶

func (o *AWSAccount) SetHostTags(v []string)

SetHostTags gets a reference to the given []string and assigns it to the HostTags field.

func (*AWSAccount) SetMetricsCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) SetMetricsCollectionEnabled(v bool)

SetMetricsCollectionEnabled gets a reference to the given bool and assigns it to the MetricsCollectionEnabled field.

func (*AWSAccount) SetResourceCollectionEnabled ¶ added in v1.5.0

func (o *AWSAccount) SetResourceCollectionEnabled(v bool)

SetResourceCollectionEnabled gets a reference to the given bool and assigns it to the ResourceCollectionEnabled field.

func (*AWSAccount) SetRoleName ¶

func (o *AWSAccount) SetRoleName(v string)

SetRoleName gets a reference to the given string and assigns it to the RoleName field.

func (*AWSAccount) SetSecretAccessKey ¶

func (o *AWSAccount) SetSecretAccessKey(v string)

SetSecretAccessKey gets a reference to the given string and assigns it to the SecretAccessKey field.

func (*AWSAccount) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSAccount) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSAccountAndLambdaRequest ¶

type AWSAccountAndLambdaRequest struct {
	// Your AWS Account ID without dashes.
	AccountId string `json:"account_id"`
	// ARN of the Datadog Lambda created during the Datadog-Amazon Web services Log collection setup.
	LambdaArn string `json:"lambda_arn"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSAccountAndLambdaRequest AWS account ID and Lambda ARN.

func NewAWSAccountAndLambdaRequest ¶

func NewAWSAccountAndLambdaRequest(accountId string, lambdaArn string) *AWSAccountAndLambdaRequest

NewAWSAccountAndLambdaRequest instantiates a new AWSAccountAndLambdaRequest 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 NewAWSAccountAndLambdaRequestWithDefaults ¶

func NewAWSAccountAndLambdaRequestWithDefaults() *AWSAccountAndLambdaRequest

NewAWSAccountAndLambdaRequestWithDefaults instantiates a new AWSAccountAndLambdaRequest 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 (*AWSAccountAndLambdaRequest) GetAccountId ¶

func (o *AWSAccountAndLambdaRequest) GetAccountId() string

GetAccountId returns the AccountId field value.

func (*AWSAccountAndLambdaRequest) GetAccountIdOk ¶

func (o *AWSAccountAndLambdaRequest) GetAccountIdOk() (*string, bool)

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

func (*AWSAccountAndLambdaRequest) GetLambdaArn ¶

func (o *AWSAccountAndLambdaRequest) GetLambdaArn() string

GetLambdaArn returns the LambdaArn field value.

func (*AWSAccountAndLambdaRequest) GetLambdaArnOk ¶

func (o *AWSAccountAndLambdaRequest) GetLambdaArnOk() (*string, bool)

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

func (AWSAccountAndLambdaRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSAccountAndLambdaRequest) SetAccountId ¶

func (o *AWSAccountAndLambdaRequest) SetAccountId(v string)

SetAccountId sets field value.

func (*AWSAccountAndLambdaRequest) SetLambdaArn ¶

func (o *AWSAccountAndLambdaRequest) SetLambdaArn(v string)

SetLambdaArn sets field value.

func (*AWSAccountAndLambdaRequest) UnmarshalJSON ¶

func (o *AWSAccountAndLambdaRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSAccountCreateResponse ¶

type AWSAccountCreateResponse struct {
	// AWS external_id.
	ExternalId *string `json:"external_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSAccountCreateResponse The Response returned by the AWS Create Account call.

func NewAWSAccountCreateResponse ¶

func NewAWSAccountCreateResponse() *AWSAccountCreateResponse

NewAWSAccountCreateResponse instantiates a new AWSAccountCreateResponse 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 NewAWSAccountCreateResponseWithDefaults ¶

func NewAWSAccountCreateResponseWithDefaults() *AWSAccountCreateResponse

NewAWSAccountCreateResponseWithDefaults instantiates a new AWSAccountCreateResponse 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 (*AWSAccountCreateResponse) GetExternalId ¶

func (o *AWSAccountCreateResponse) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*AWSAccountCreateResponse) GetExternalIdOk ¶

func (o *AWSAccountCreateResponse) GetExternalIdOk() (*string, bool)

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

func (*AWSAccountCreateResponse) HasExternalId ¶

func (o *AWSAccountCreateResponse) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (AWSAccountCreateResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSAccountCreateResponse) SetExternalId ¶

func (o *AWSAccountCreateResponse) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*AWSAccountCreateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSAccountCreateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSAccountDeleteRequest ¶ added in v1.3.0

type AWSAccountDeleteRequest struct {
	// Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
	AccessKeyId *string `json:"access_key_id,omitempty"`
	// Your AWS Account ID without dashes.
	AccountId *string `json:"account_id,omitempty"`
	// Your Datadog role delegation name.
	RoleName *string `json:"role_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSAccountDeleteRequest List of AWS accounts to delete.

func NewAWSAccountDeleteRequest ¶ added in v1.3.0

func NewAWSAccountDeleteRequest() *AWSAccountDeleteRequest

NewAWSAccountDeleteRequest instantiates a new AWSAccountDeleteRequest 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 NewAWSAccountDeleteRequestWithDefaults ¶ added in v1.3.0

func NewAWSAccountDeleteRequestWithDefaults() *AWSAccountDeleteRequest

NewAWSAccountDeleteRequestWithDefaults instantiates a new AWSAccountDeleteRequest 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 (*AWSAccountDeleteRequest) GetAccessKeyId ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) GetAccessKeyId() string

GetAccessKeyId returns the AccessKeyId field value if set, zero value otherwise.

func (*AWSAccountDeleteRequest) GetAccessKeyIdOk ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) GetAccessKeyIdOk() (*string, bool)

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

func (*AWSAccountDeleteRequest) GetAccountId ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*AWSAccountDeleteRequest) GetAccountIdOk ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) GetAccountIdOk() (*string, bool)

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

func (*AWSAccountDeleteRequest) GetRoleName ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) GetRoleName() string

GetRoleName returns the RoleName field value if set, zero value otherwise.

func (*AWSAccountDeleteRequest) GetRoleNameOk ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) GetRoleNameOk() (*string, bool)

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

func (*AWSAccountDeleteRequest) HasAccessKeyId ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) HasAccessKeyId() bool

HasAccessKeyId returns a boolean if a field has been set.

func (*AWSAccountDeleteRequest) HasAccountId ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*AWSAccountDeleteRequest) HasRoleName ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (AWSAccountDeleteRequest) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*AWSAccountDeleteRequest) SetAccessKeyId ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) SetAccessKeyId(v string)

SetAccessKeyId gets a reference to the given string and assigns it to the AccessKeyId field.

func (*AWSAccountDeleteRequest) SetAccountId ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*AWSAccountDeleteRequest) SetRoleName ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) SetRoleName(v string)

SetRoleName gets a reference to the given string and assigns it to the RoleName field.

func (*AWSAccountDeleteRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSAccountDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSAccountListResponse ¶

type AWSAccountListResponse struct {
	// List of enabled AWS accounts.
	Accounts []AWSAccount `json:"accounts,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSAccountListResponse List of enabled AWS accounts.

func NewAWSAccountListResponse ¶

func NewAWSAccountListResponse() *AWSAccountListResponse

NewAWSAccountListResponse instantiates a new AWSAccountListResponse 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 NewAWSAccountListResponseWithDefaults ¶

func NewAWSAccountListResponseWithDefaults() *AWSAccountListResponse

NewAWSAccountListResponseWithDefaults instantiates a new AWSAccountListResponse 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 (*AWSAccountListResponse) GetAccounts ¶

func (o *AWSAccountListResponse) GetAccounts() []AWSAccount

GetAccounts returns the Accounts field value if set, zero value otherwise.

func (*AWSAccountListResponse) GetAccountsOk ¶

func (o *AWSAccountListResponse) GetAccountsOk() (*[]AWSAccount, bool)

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

func (*AWSAccountListResponse) HasAccounts ¶

func (o *AWSAccountListResponse) HasAccounts() bool

HasAccounts returns a boolean if a field has been set.

func (AWSAccountListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSAccountListResponse) SetAccounts ¶

func (o *AWSAccountListResponse) SetAccounts(v []AWSAccount)

SetAccounts gets a reference to the given []AWSAccount and assigns it to the Accounts field.

func (*AWSAccountListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSAccountListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSIntegrationApiService ¶

type AWSIntegrationApiService service

AWSIntegrationApiService AWSIntegrationApi service.

func (*AWSIntegrationApiService) CreateAWSAccount ¶

CreateAWSAccount Create an AWS integration. Create a Datadog-Amazon Web Services integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. A unique AWS Account ID for role based authentication.

func (*AWSIntegrationApiService) CreateAWSTagFilter ¶

func (a *AWSIntegrationApiService) CreateAWSTagFilter(ctx _context.Context, body AWSTagFilterCreateRequest) (interface{}, *_nethttp.Response, error)

CreateAWSTagFilter Set an AWS tag filter. Set an AWS tag filter.

func (*AWSIntegrationApiService) CreateNewAWSExternalID ¶

CreateNewAWSExternalID Generate a new external ID. Generate a new AWS external ID for a given AWS account ID and role name pair.

func (*AWSIntegrationApiService) DeleteAWSAccount ¶

func (a *AWSIntegrationApiService) DeleteAWSAccount(ctx _context.Context, body AWSAccountDeleteRequest) (interface{}, *_nethttp.Response, error)

DeleteAWSAccount Delete an AWS integration. Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.

func (*AWSIntegrationApiService) DeleteAWSTagFilter ¶

func (a *AWSIntegrationApiService) DeleteAWSTagFilter(ctx _context.Context, body AWSTagFilterDeleteRequest) (interface{}, *_nethttp.Response, error)

DeleteAWSTagFilter Delete a tag filtering entry. Delete a tag filtering entry.

func (*AWSIntegrationApiService) ListAWSAccounts ¶

ListAWSAccounts List all AWS integrations. List all Datadog-AWS integrations available in your Datadog organization.

func (*AWSIntegrationApiService) ListAWSTagFilters ¶

ListAWSTagFilters Get all AWS tag filters. Get all AWS tag filters.

func (*AWSIntegrationApiService) ListAvailableAWSNamespaces ¶

func (a *AWSIntegrationApiService) ListAvailableAWSNamespaces(ctx _context.Context) ([]string, *_nethttp.Response, error)

ListAvailableAWSNamespaces List namespace rules. List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.

func (*AWSIntegrationApiService) UpdateAWSAccount ¶

func (a *AWSIntegrationApiService) UpdateAWSAccount(ctx _context.Context, body AWSAccount, o ...UpdateAWSAccountOptionalParameters) (interface{}, *_nethttp.Response, error)

UpdateAWSAccount Update an AWS integration. Update a Datadog-Amazon Web Services integration.

type AWSLogsAsyncError ¶

type AWSLogsAsyncError struct {
	// Code properties
	Code *string `json:"code,omitempty"`
	// Message content.
	Message *string `json:"message,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSLogsAsyncError Description of errors.

func NewAWSLogsAsyncError ¶

func NewAWSLogsAsyncError() *AWSLogsAsyncError

NewAWSLogsAsyncError instantiates a new AWSLogsAsyncError 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 NewAWSLogsAsyncErrorWithDefaults ¶

func NewAWSLogsAsyncErrorWithDefaults() *AWSLogsAsyncError

NewAWSLogsAsyncErrorWithDefaults instantiates a new AWSLogsAsyncError 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 (*AWSLogsAsyncError) GetCode ¶

func (o *AWSLogsAsyncError) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*AWSLogsAsyncError) GetCodeOk ¶

func (o *AWSLogsAsyncError) GetCodeOk() (*string, bool)

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

func (*AWSLogsAsyncError) GetMessage ¶

func (o *AWSLogsAsyncError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*AWSLogsAsyncError) GetMessageOk ¶

func (o *AWSLogsAsyncError) GetMessageOk() (*string, bool)

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

func (*AWSLogsAsyncError) HasCode ¶

func (o *AWSLogsAsyncError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*AWSLogsAsyncError) HasMessage ¶

func (o *AWSLogsAsyncError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (AWSLogsAsyncError) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSLogsAsyncError) SetCode ¶

func (o *AWSLogsAsyncError) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*AWSLogsAsyncError) SetMessage ¶

func (o *AWSLogsAsyncError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*AWSLogsAsyncError) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSLogsAsyncError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSLogsAsyncResponse ¶

type AWSLogsAsyncResponse struct {
	// List of errors.
	Errors []AWSLogsAsyncError `json:"errors,omitempty"`
	// Status of the properties.
	Status *string `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSLogsAsyncResponse A list of all Datadog-AWS logs integrations available in your Datadog organization.

func NewAWSLogsAsyncResponse ¶

func NewAWSLogsAsyncResponse() *AWSLogsAsyncResponse

NewAWSLogsAsyncResponse instantiates a new AWSLogsAsyncResponse 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 NewAWSLogsAsyncResponseWithDefaults ¶

func NewAWSLogsAsyncResponseWithDefaults() *AWSLogsAsyncResponse

NewAWSLogsAsyncResponseWithDefaults instantiates a new AWSLogsAsyncResponse 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 (*AWSLogsAsyncResponse) GetErrors ¶

func (o *AWSLogsAsyncResponse) GetErrors() []AWSLogsAsyncError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*AWSLogsAsyncResponse) GetErrorsOk ¶

func (o *AWSLogsAsyncResponse) GetErrorsOk() (*[]AWSLogsAsyncError, bool)

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

func (*AWSLogsAsyncResponse) GetStatus ¶

func (o *AWSLogsAsyncResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*AWSLogsAsyncResponse) GetStatusOk ¶

func (o *AWSLogsAsyncResponse) GetStatusOk() (*string, bool)

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

func (*AWSLogsAsyncResponse) HasErrors ¶

func (o *AWSLogsAsyncResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*AWSLogsAsyncResponse) HasStatus ¶

func (o *AWSLogsAsyncResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (AWSLogsAsyncResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSLogsAsyncResponse) SetErrors ¶

func (o *AWSLogsAsyncResponse) SetErrors(v []AWSLogsAsyncError)

SetErrors gets a reference to the given []AWSLogsAsyncError and assigns it to the Errors field.

func (*AWSLogsAsyncResponse) SetStatus ¶

func (o *AWSLogsAsyncResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*AWSLogsAsyncResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSLogsAsyncResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSLogsIntegrationApiService ¶

type AWSLogsIntegrationApiService service

AWSLogsIntegrationApiService AWSLogsIntegrationApi service.

func (*AWSLogsIntegrationApiService) CheckAWSLogsLambdaAsync ¶

CheckAWSLogsLambdaAsync Check that an AWS Lambda Function exists. Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking.

- Returns a status of 'created' when it's checking if the Lambda exists in the account. - Returns a status of 'waiting' while checking. - Returns a status of 'checked and ok' if the Lambda exists. - Returns a status of 'error' if the Lambda does not exist.

func (*AWSLogsIntegrationApiService) CheckAWSLogsServicesAsync ¶

CheckAWSLogsServicesAsync Check permissions for log services. Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for `EnableAWSLogServices`. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes.

  • Returns a status of `created` when it's checking if the permissions exists in the AWS account.
  • Returns a status of `waiting` while checking.
  • Returns a status of `checked and ok` if the Lambda exists.
  • Returns a status of `error` if the Lambda does not exist.

func (*AWSLogsIntegrationApiService) CreateAWSLambdaARN ¶

func (a *AWSLogsIntegrationApiService) CreateAWSLambdaARN(ctx _context.Context, body AWSAccountAndLambdaRequest) (interface{}, *_nethttp.Response, error)

CreateAWSLambdaARN Add AWS Log Lambda ARN. Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.

func (*AWSLogsIntegrationApiService) DeleteAWSLambdaARN ¶

func (a *AWSLogsIntegrationApiService) DeleteAWSLambdaARN(ctx _context.Context, body AWSAccountAndLambdaRequest) (interface{}, *_nethttp.Response, error)

DeleteAWSLambdaARN Delete an AWS Logs integration. Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.

func (*AWSLogsIntegrationApiService) EnableAWSLogServices ¶

func (a *AWSLogsIntegrationApiService) EnableAWSLogServices(ctx _context.Context, body AWSLogsServicesRequest) (interface{}, *_nethttp.Response, error)

EnableAWSLogServices Enable an AWS Logs integration. Enable automatic log collection for a list of services. This should be run after running `CreateAWSLambdaARN` to save the configuration.

func (*AWSLogsIntegrationApiService) ListAWSLogsIntegrations ¶

ListAWSLogsIntegrations List all AWS Logs integrations. List all Datadog-AWS Logs integrations configured in your Datadog account.

func (*AWSLogsIntegrationApiService) ListAWSLogsServices ¶

ListAWSLogsServices Get list of AWS log ready services. Get the list of current AWS services that Datadog offers automatic log collection. Use returned service IDs with the services parameter for the Enable an AWS service log collection API endpoint.

type AWSLogsLambda ¶

type AWSLogsLambda struct {
	// Available ARN IDs.
	Arn *string `json:"arn,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSLogsLambda Description of the Lambdas.

func NewAWSLogsLambda ¶

func NewAWSLogsLambda() *AWSLogsLambda

NewAWSLogsLambda instantiates a new AWSLogsLambda 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 NewAWSLogsLambdaWithDefaults ¶

func NewAWSLogsLambdaWithDefaults() *AWSLogsLambda

NewAWSLogsLambdaWithDefaults instantiates a new AWSLogsLambda 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 (*AWSLogsLambda) GetArn ¶

func (o *AWSLogsLambda) GetArn() string

GetArn returns the Arn field value if set, zero value otherwise.

func (*AWSLogsLambda) GetArnOk ¶

func (o *AWSLogsLambda) GetArnOk() (*string, bool)

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

func (*AWSLogsLambda) HasArn ¶

func (o *AWSLogsLambda) HasArn() bool

HasArn returns a boolean if a field has been set.

func (AWSLogsLambda) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSLogsLambda) SetArn ¶

func (o *AWSLogsLambda) SetArn(v string)

SetArn gets a reference to the given string and assigns it to the Arn field.

func (*AWSLogsLambda) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSLogsLambda) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSLogsListResponse ¶

type AWSLogsListResponse struct {
	// Your AWS Account ID without dashes.
	AccountId *string `json:"account_id,omitempty"`
	// List of ARNs configured in your Datadog account.
	Lambdas []AWSLogsLambda `json:"lambdas,omitempty"`
	// Array of services IDs.
	Services []string `json:"services,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSLogsListResponse A list of all Datadog-AWS logs integrations available in your Datadog organization.

func NewAWSLogsListResponse ¶

func NewAWSLogsListResponse() *AWSLogsListResponse

NewAWSLogsListResponse instantiates a new AWSLogsListResponse 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 NewAWSLogsListResponseWithDefaults ¶

func NewAWSLogsListResponseWithDefaults() *AWSLogsListResponse

NewAWSLogsListResponseWithDefaults instantiates a new AWSLogsListResponse 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 (*AWSLogsListResponse) GetAccountId ¶

func (o *AWSLogsListResponse) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*AWSLogsListResponse) GetAccountIdOk ¶

func (o *AWSLogsListResponse) GetAccountIdOk() (*string, bool)

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

func (*AWSLogsListResponse) GetLambdas ¶

func (o *AWSLogsListResponse) GetLambdas() []AWSLogsLambda

GetLambdas returns the Lambdas field value if set, zero value otherwise.

func (*AWSLogsListResponse) GetLambdasOk ¶

func (o *AWSLogsListResponse) GetLambdasOk() (*[]AWSLogsLambda, bool)

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

func (*AWSLogsListResponse) GetServices ¶

func (o *AWSLogsListResponse) GetServices() []string

GetServices returns the Services field value if set, zero value otherwise.

func (*AWSLogsListResponse) GetServicesOk ¶

func (o *AWSLogsListResponse) GetServicesOk() (*[]string, bool)

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

func (*AWSLogsListResponse) HasAccountId ¶

func (o *AWSLogsListResponse) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*AWSLogsListResponse) HasLambdas ¶

func (o *AWSLogsListResponse) HasLambdas() bool

HasLambdas returns a boolean if a field has been set.

func (*AWSLogsListResponse) HasServices ¶

func (o *AWSLogsListResponse) HasServices() bool

HasServices returns a boolean if a field has been set.

func (AWSLogsListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSLogsListResponse) SetAccountId ¶

func (o *AWSLogsListResponse) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*AWSLogsListResponse) SetLambdas ¶

func (o *AWSLogsListResponse) SetLambdas(v []AWSLogsLambda)

SetLambdas gets a reference to the given []AWSLogsLambda and assigns it to the Lambdas field.

func (*AWSLogsListResponse) SetServices ¶

func (o *AWSLogsListResponse) SetServices(v []string)

SetServices gets a reference to the given []string and assigns it to the Services field.

func (*AWSLogsListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSLogsListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSLogsListServicesResponse ¶

type AWSLogsListServicesResponse struct {
	// Key value in returned object.
	Id *string `json:"id,omitempty"`
	// Name of service available for configuration with Datadog logs.
	Label *string `json:"label,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSLogsListServicesResponse The list of current AWS services for which Datadog offers automatic log collection.

func NewAWSLogsListServicesResponse ¶

func NewAWSLogsListServicesResponse() *AWSLogsListServicesResponse

NewAWSLogsListServicesResponse instantiates a new AWSLogsListServicesResponse 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 NewAWSLogsListServicesResponseWithDefaults ¶

func NewAWSLogsListServicesResponseWithDefaults() *AWSLogsListServicesResponse

NewAWSLogsListServicesResponseWithDefaults instantiates a new AWSLogsListServicesResponse 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 (*AWSLogsListServicesResponse) GetId ¶

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

func (*AWSLogsListServicesResponse) GetIdOk ¶

func (o *AWSLogsListServicesResponse) 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 (*AWSLogsListServicesResponse) GetLabel ¶

func (o *AWSLogsListServicesResponse) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*AWSLogsListServicesResponse) GetLabelOk ¶

func (o *AWSLogsListServicesResponse) GetLabelOk() (*string, bool)

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

func (*AWSLogsListServicesResponse) HasId ¶

func (o *AWSLogsListServicesResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*AWSLogsListServicesResponse) HasLabel ¶

func (o *AWSLogsListServicesResponse) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (AWSLogsListServicesResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSLogsListServicesResponse) SetId ¶

func (o *AWSLogsListServicesResponse) SetId(v string)

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

func (*AWSLogsListServicesResponse) SetLabel ¶

func (o *AWSLogsListServicesResponse) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*AWSLogsListServicesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSLogsListServicesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSLogsServicesRequest ¶

type AWSLogsServicesRequest struct {
	// Your AWS Account ID without dashes.
	AccountId string `json:"account_id"`
	// Array of services IDs set to enable automatic log collection. Discover the list of available services with the get list of AWS log ready services API endpoint.
	Services []string `json:"services"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSLogsServicesRequest A list of current AWS services for which Datadog offers automatic log collection.

func NewAWSLogsServicesRequest ¶

func NewAWSLogsServicesRequest(accountId string, services []string) *AWSLogsServicesRequest

NewAWSLogsServicesRequest instantiates a new AWSLogsServicesRequest 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 NewAWSLogsServicesRequestWithDefaults ¶

func NewAWSLogsServicesRequestWithDefaults() *AWSLogsServicesRequest

NewAWSLogsServicesRequestWithDefaults instantiates a new AWSLogsServicesRequest 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 (*AWSLogsServicesRequest) GetAccountId ¶

func (o *AWSLogsServicesRequest) GetAccountId() string

GetAccountId returns the AccountId field value.

func (*AWSLogsServicesRequest) GetAccountIdOk ¶

func (o *AWSLogsServicesRequest) GetAccountIdOk() (*string, bool)

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

func (*AWSLogsServicesRequest) GetServices ¶

func (o *AWSLogsServicesRequest) GetServices() []string

GetServices returns the Services field value.

func (*AWSLogsServicesRequest) GetServicesOk ¶

func (o *AWSLogsServicesRequest) GetServicesOk() (*[]string, bool)

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

func (AWSLogsServicesRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSLogsServicesRequest) SetAccountId ¶

func (o *AWSLogsServicesRequest) SetAccountId(v string)

SetAccountId sets field value.

func (*AWSLogsServicesRequest) SetServices ¶

func (o *AWSLogsServicesRequest) SetServices(v []string)

SetServices sets field value.

func (*AWSLogsServicesRequest) UnmarshalJSON ¶

func (o *AWSLogsServicesRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSNamespace ¶

type AWSNamespace string

AWSNamespace The namespace associated with the tag filter entry.

const (
	AWSNAMESPACE_ELB             AWSNamespace = "elb"
	AWSNAMESPACE_APPLICATION_ELB AWSNamespace = "application_elb"
	AWSNAMESPACE_SQS             AWSNamespace = "sqs"
	AWSNAMESPACE_RDS             AWSNamespace = "rds"
	AWSNAMESPACE_CUSTOM          AWSNamespace = "custom"
	AWSNAMESPACE_NETWORK_ELB     AWSNamespace = "network_elb"
	AWSNAMESPACE_LAMBDA          AWSNamespace = "lambda"
)

List of AWSNamespace.

func NewAWSNamespaceFromValue ¶

func NewAWSNamespaceFromValue(v string) (*AWSNamespace, error)

NewAWSNamespaceFromValue returns a pointer to a valid AWSNamespace for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*AWSNamespace) GetAllowedValues ¶ added in v1.1.0

func (v *AWSNamespace) GetAllowedValues() []AWSNamespace

GetAllowedValues reeturns the list of possible values.

func (AWSNamespace) IsValid ¶

func (v AWSNamespace) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (AWSNamespace) Ptr ¶

func (v AWSNamespace) Ptr() *AWSNamespace

Ptr returns reference to AWSNamespace value.

func (*AWSNamespace) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AWSTagFilter ¶

type AWSTagFilter struct {
	// The namespace associated with the tag filter entry.
	Namespace *AWSNamespace `json:"namespace,omitempty"`
	// The tag filter string.
	TagFilterStr *string `json:"tag_filter_str,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSTagFilter A tag filter.

func NewAWSTagFilter ¶

func NewAWSTagFilter() *AWSTagFilter

NewAWSTagFilter instantiates a new AWSTagFilter 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 NewAWSTagFilterWithDefaults ¶

func NewAWSTagFilterWithDefaults() *AWSTagFilter

NewAWSTagFilterWithDefaults instantiates a new AWSTagFilter 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 (*AWSTagFilter) GetNamespace ¶

func (o *AWSTagFilter) GetNamespace() AWSNamespace

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*AWSTagFilter) GetNamespaceOk ¶

func (o *AWSTagFilter) GetNamespaceOk() (*AWSNamespace, bool)

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

func (*AWSTagFilter) GetTagFilterStr ¶

func (o *AWSTagFilter) GetTagFilterStr() string

GetTagFilterStr returns the TagFilterStr field value if set, zero value otherwise.

func (*AWSTagFilter) GetTagFilterStrOk ¶

func (o *AWSTagFilter) GetTagFilterStrOk() (*string, bool)

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

func (*AWSTagFilter) HasNamespace ¶

func (o *AWSTagFilter) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*AWSTagFilter) HasTagFilterStr ¶

func (o *AWSTagFilter) HasTagFilterStr() bool

HasTagFilterStr returns a boolean if a field has been set.

func (AWSTagFilter) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSTagFilter) SetNamespace ¶

func (o *AWSTagFilter) SetNamespace(v AWSNamespace)

SetNamespace gets a reference to the given AWSNamespace and assigns it to the Namespace field.

func (*AWSTagFilter) SetTagFilterStr ¶

func (o *AWSTagFilter) SetTagFilterStr(v string)

SetTagFilterStr gets a reference to the given string and assigns it to the TagFilterStr field.

func (*AWSTagFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSTagFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSTagFilterCreateRequest ¶

type AWSTagFilterCreateRequest struct {
	// Your AWS Account ID without dashes.
	AccountId *string `json:"account_id,omitempty"`
	// The namespace associated with the tag filter entry.
	Namespace *AWSNamespace `json:"namespace,omitempty"`
	// The tag filter string.
	TagFilterStr *string `json:"tag_filter_str,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSTagFilterCreateRequest The objects used to set an AWS tag filter.

func NewAWSTagFilterCreateRequest ¶

func NewAWSTagFilterCreateRequest() *AWSTagFilterCreateRequest

NewAWSTagFilterCreateRequest instantiates a new AWSTagFilterCreateRequest 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 NewAWSTagFilterCreateRequestWithDefaults ¶

func NewAWSTagFilterCreateRequestWithDefaults() *AWSTagFilterCreateRequest

NewAWSTagFilterCreateRequestWithDefaults instantiates a new AWSTagFilterCreateRequest 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 (*AWSTagFilterCreateRequest) GetAccountId ¶

func (o *AWSTagFilterCreateRequest) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*AWSTagFilterCreateRequest) GetAccountIdOk ¶

func (o *AWSTagFilterCreateRequest) GetAccountIdOk() (*string, bool)

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

func (*AWSTagFilterCreateRequest) GetNamespace ¶

func (o *AWSTagFilterCreateRequest) GetNamespace() AWSNamespace

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*AWSTagFilterCreateRequest) GetNamespaceOk ¶

func (o *AWSTagFilterCreateRequest) GetNamespaceOk() (*AWSNamespace, bool)

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

func (*AWSTagFilterCreateRequest) GetTagFilterStr ¶

func (o *AWSTagFilterCreateRequest) GetTagFilterStr() string

GetTagFilterStr returns the TagFilterStr field value if set, zero value otherwise.

func (*AWSTagFilterCreateRequest) GetTagFilterStrOk ¶

func (o *AWSTagFilterCreateRequest) GetTagFilterStrOk() (*string, bool)

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

func (*AWSTagFilterCreateRequest) HasAccountId ¶

func (o *AWSTagFilterCreateRequest) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*AWSTagFilterCreateRequest) HasNamespace ¶

func (o *AWSTagFilterCreateRequest) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*AWSTagFilterCreateRequest) HasTagFilterStr ¶

func (o *AWSTagFilterCreateRequest) HasTagFilterStr() bool

HasTagFilterStr returns a boolean if a field has been set.

func (AWSTagFilterCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSTagFilterCreateRequest) SetAccountId ¶

func (o *AWSTagFilterCreateRequest) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*AWSTagFilterCreateRequest) SetNamespace ¶

func (o *AWSTagFilterCreateRequest) SetNamespace(v AWSNamespace)

SetNamespace gets a reference to the given AWSNamespace and assigns it to the Namespace field.

func (*AWSTagFilterCreateRequest) SetTagFilterStr ¶

func (o *AWSTagFilterCreateRequest) SetTagFilterStr(v string)

SetTagFilterStr gets a reference to the given string and assigns it to the TagFilterStr field.

func (*AWSTagFilterCreateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSTagFilterCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSTagFilterDeleteRequest ¶

type AWSTagFilterDeleteRequest struct {
	// The unique identifier of your AWS account.
	AccountId *string `json:"account_id,omitempty"`
	// The namespace associated with the tag filter entry.
	Namespace *AWSNamespace `json:"namespace,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSTagFilterDeleteRequest The objects used to delete an AWS tag filter entry.

func NewAWSTagFilterDeleteRequest ¶

func NewAWSTagFilterDeleteRequest() *AWSTagFilterDeleteRequest

NewAWSTagFilterDeleteRequest instantiates a new AWSTagFilterDeleteRequest 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 NewAWSTagFilterDeleteRequestWithDefaults ¶

func NewAWSTagFilterDeleteRequestWithDefaults() *AWSTagFilterDeleteRequest

NewAWSTagFilterDeleteRequestWithDefaults instantiates a new AWSTagFilterDeleteRequest 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 (*AWSTagFilterDeleteRequest) GetAccountId ¶

func (o *AWSTagFilterDeleteRequest) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*AWSTagFilterDeleteRequest) GetAccountIdOk ¶

func (o *AWSTagFilterDeleteRequest) GetAccountIdOk() (*string, bool)

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

func (*AWSTagFilterDeleteRequest) GetNamespace ¶

func (o *AWSTagFilterDeleteRequest) GetNamespace() AWSNamespace

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*AWSTagFilterDeleteRequest) GetNamespaceOk ¶

func (o *AWSTagFilterDeleteRequest) GetNamespaceOk() (*AWSNamespace, bool)

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

func (*AWSTagFilterDeleteRequest) HasAccountId ¶

func (o *AWSTagFilterDeleteRequest) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*AWSTagFilterDeleteRequest) HasNamespace ¶

func (o *AWSTagFilterDeleteRequest) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (AWSTagFilterDeleteRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSTagFilterDeleteRequest) SetAccountId ¶

func (o *AWSTagFilterDeleteRequest) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*AWSTagFilterDeleteRequest) SetNamespace ¶

func (o *AWSTagFilterDeleteRequest) SetNamespace(v AWSNamespace)

SetNamespace gets a reference to the given AWSNamespace and assigns it to the Namespace field.

func (*AWSTagFilterDeleteRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSTagFilterDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AWSTagFilterListResponse ¶

type AWSTagFilterListResponse struct {
	// An array of tag filters.
	Filters []AWSTagFilter `json:"filters,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AWSTagFilterListResponse An array of tag filter rules by `namespace` and tag filter string.

func NewAWSTagFilterListResponse ¶

func NewAWSTagFilterListResponse() *AWSTagFilterListResponse

NewAWSTagFilterListResponse instantiates a new AWSTagFilterListResponse 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 NewAWSTagFilterListResponseWithDefaults ¶

func NewAWSTagFilterListResponseWithDefaults() *AWSTagFilterListResponse

NewAWSTagFilterListResponseWithDefaults instantiates a new AWSTagFilterListResponse 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 (*AWSTagFilterListResponse) GetFilters ¶

func (o *AWSTagFilterListResponse) GetFilters() []AWSTagFilter

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

func (*AWSTagFilterListResponse) GetFiltersOk ¶

func (o *AWSTagFilterListResponse) GetFiltersOk() (*[]AWSTagFilter, 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 (*AWSTagFilterListResponse) HasFilters ¶

func (o *AWSTagFilterListResponse) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (AWSTagFilterListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AWSTagFilterListResponse) SetFilters ¶

func (o *AWSTagFilterListResponse) SetFilters(v []AWSTagFilter)

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

func (*AWSTagFilterListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *AWSTagFilterListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AccessRole ¶

type AccessRole string

AccessRole The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).

const (
	ACCESSROLE_STANDARD  AccessRole = "st"
	ACCESSROLE_ADMIN     AccessRole = "adm"
	ACCESSROLE_READ_ONLY AccessRole = "ro"
	ACCESSROLE_ERROR     AccessRole = "ERROR"
)

List of AccessRole.

func NewAccessRoleFromValue ¶

func NewAccessRoleFromValue(v string) (*AccessRole, error)

NewAccessRoleFromValue returns a pointer to a valid AccessRole for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*AccessRole) GetAllowedValues ¶ added in v1.1.0

func (v *AccessRole) GetAllowedValues() []AccessRole

GetAllowedValues reeturns the list of possible values.

func (AccessRole) IsValid ¶

func (v AccessRole) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (AccessRole) Ptr ¶

func (v AccessRole) Ptr() *AccessRole

Ptr returns reference to AccessRole value.

func (*AccessRole) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AddSignalToIncidentRequest ¶ added in v1.15.0

type AddSignalToIncidentRequest struct {
	// Whether to post the signal on the incident timeline.
	AddToSignalTimeline *bool `json:"add_to_signal_timeline,omitempty"`
	// Public ID attribute of the incident to which the signal will be added.
	IncidentId int64 `json:"incident_id"`
	// Version of the updated signal. If server side version is higher, update will be rejected.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AddSignalToIncidentRequest Attributes describing which incident to add the signal to.

func NewAddSignalToIncidentRequest ¶ added in v1.15.0

func NewAddSignalToIncidentRequest(incidentId int64) *AddSignalToIncidentRequest

NewAddSignalToIncidentRequest instantiates a new AddSignalToIncidentRequest 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 NewAddSignalToIncidentRequestWithDefaults ¶ added in v1.15.0

func NewAddSignalToIncidentRequestWithDefaults() *AddSignalToIncidentRequest

NewAddSignalToIncidentRequestWithDefaults instantiates a new AddSignalToIncidentRequest 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 (*AddSignalToIncidentRequest) GetAddToSignalTimeline ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) GetAddToSignalTimeline() bool

GetAddToSignalTimeline returns the AddToSignalTimeline field value if set, zero value otherwise.

func (*AddSignalToIncidentRequest) GetAddToSignalTimelineOk ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) GetAddToSignalTimelineOk() (*bool, bool)

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

func (*AddSignalToIncidentRequest) GetIncidentId ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) GetIncidentId() int64

GetIncidentId returns the IncidentId field value.

func (*AddSignalToIncidentRequest) GetIncidentIdOk ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) GetIncidentIdOk() (*int64, bool)

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

func (*AddSignalToIncidentRequest) GetVersion ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) GetVersion() int64

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

func (*AddSignalToIncidentRequest) GetVersionOk ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) 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 (*AddSignalToIncidentRequest) HasAddToSignalTimeline ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) HasAddToSignalTimeline() bool

HasAddToSignalTimeline returns a boolean if a field has been set.

func (*AddSignalToIncidentRequest) HasVersion ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (AddSignalToIncidentRequest) MarshalJSON ¶ added in v1.15.0

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

MarshalJSON serializes the struct using spec logic.

func (*AddSignalToIncidentRequest) SetAddToSignalTimeline ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) SetAddToSignalTimeline(v bool)

SetAddToSignalTimeline gets a reference to the given bool and assigns it to the AddToSignalTimeline field.

func (*AddSignalToIncidentRequest) SetIncidentId ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) SetIncidentId(v int64)

SetIncidentId sets field value.

func (*AddSignalToIncidentRequest) SetVersion ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) SetVersion(v int64)

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

func (*AddSignalToIncidentRequest) UnmarshalJSON ¶ added in v1.15.0

func (o *AddSignalToIncidentRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AlertGraphWidgetDefinition ¶

type AlertGraphWidgetDefinition struct {
	// ID of the alert to use in the widget.
	AlertId string `json:"alert_id"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// The title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the alert graph widget.
	Type AlertGraphWidgetDefinitionType `json:"type"`
	// Whether to display the Alert Graph as a timeseries or a top list.
	VizType WidgetVizType `json:"viz_type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AlertGraphWidgetDefinition Alert graphs are timeseries graphs showing the current status of any monitor defined on your system.

func NewAlertGraphWidgetDefinition ¶

func NewAlertGraphWidgetDefinition(alertId string, typeVar AlertGraphWidgetDefinitionType, vizType WidgetVizType) *AlertGraphWidgetDefinition

NewAlertGraphWidgetDefinition instantiates a new AlertGraphWidgetDefinition 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 NewAlertGraphWidgetDefinitionWithDefaults ¶

func NewAlertGraphWidgetDefinitionWithDefaults() *AlertGraphWidgetDefinition

NewAlertGraphWidgetDefinitionWithDefaults instantiates a new AlertGraphWidgetDefinition 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 (*AlertGraphWidgetDefinition) GetAlertId ¶

func (o *AlertGraphWidgetDefinition) GetAlertId() string

GetAlertId returns the AlertId field value.

func (*AlertGraphWidgetDefinition) GetAlertIdOk ¶

func (o *AlertGraphWidgetDefinition) GetAlertIdOk() (*string, bool)

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

func (*AlertGraphWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*AlertGraphWidgetDefinition) GetTimeOk ¶

func (o *AlertGraphWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*AlertGraphWidgetDefinition) GetTitle ¶

func (o *AlertGraphWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*AlertGraphWidgetDefinition) GetTitleAlign ¶

func (o *AlertGraphWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*AlertGraphWidgetDefinition) GetTitleAlignOk ¶

func (o *AlertGraphWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*AlertGraphWidgetDefinition) GetTitleOk ¶

func (o *AlertGraphWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*AlertGraphWidgetDefinition) GetTitleSize ¶

func (o *AlertGraphWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*AlertGraphWidgetDefinition) GetTitleSizeOk ¶

func (o *AlertGraphWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*AlertGraphWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*AlertGraphWidgetDefinition) GetTypeOk ¶

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

func (*AlertGraphWidgetDefinition) GetVizType ¶

func (o *AlertGraphWidgetDefinition) GetVizType() WidgetVizType

GetVizType returns the VizType field value.

func (*AlertGraphWidgetDefinition) GetVizTypeOk ¶

func (o *AlertGraphWidgetDefinition) GetVizTypeOk() (*WidgetVizType, bool)

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

func (*AlertGraphWidgetDefinition) HasTime ¶

func (o *AlertGraphWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*AlertGraphWidgetDefinition) HasTitle ¶

func (o *AlertGraphWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertGraphWidgetDefinition) HasTitleAlign ¶

func (o *AlertGraphWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertGraphWidgetDefinition) HasTitleSize ¶

func (o *AlertGraphWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (AlertGraphWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AlertGraphWidgetDefinition) SetAlertId ¶

func (o *AlertGraphWidgetDefinition) SetAlertId(v string)

SetAlertId sets field value.

func (*AlertGraphWidgetDefinition) SetTime ¶

func (o *AlertGraphWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*AlertGraphWidgetDefinition) SetTitle ¶

func (o *AlertGraphWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*AlertGraphWidgetDefinition) SetTitleAlign ¶

func (o *AlertGraphWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*AlertGraphWidgetDefinition) SetTitleSize ¶

func (o *AlertGraphWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*AlertGraphWidgetDefinition) SetType ¶

SetType sets field value.

func (*AlertGraphWidgetDefinition) SetVizType ¶

func (o *AlertGraphWidgetDefinition) SetVizType(v WidgetVizType)

SetVizType sets field value.

func (*AlertGraphWidgetDefinition) UnmarshalJSON ¶

func (o *AlertGraphWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AlertGraphWidgetDefinitionType ¶

type AlertGraphWidgetDefinitionType string

AlertGraphWidgetDefinitionType Type of the alert graph widget.

const (
	ALERTGRAPHWIDGETDEFINITIONTYPE_ALERT_GRAPH AlertGraphWidgetDefinitionType = "alert_graph"
)

List of AlertGraphWidgetDefinitionType.

func NewAlertGraphWidgetDefinitionTypeFromValue ¶

func NewAlertGraphWidgetDefinitionTypeFromValue(v string) (*AlertGraphWidgetDefinitionType, error)

NewAlertGraphWidgetDefinitionTypeFromValue returns a pointer to a valid AlertGraphWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*AlertGraphWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (AlertGraphWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (AlertGraphWidgetDefinitionType) Ptr ¶

Ptr returns reference to AlertGraphWidgetDefinitionType value.

func (*AlertGraphWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type AlertValueWidgetDefinition ¶

type AlertValueWidgetDefinition struct {
	// ID of the alert to use in the widget.
	AlertId string `json:"alert_id"`
	// Number of decimal to show. If not defined, will use the raw value.
	Precision *int64 `json:"precision,omitempty"`
	// How to align the text on the widget.
	TextAlign *WidgetTextAlign `json:"text_align,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of value in the widget.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the alert value widget.
	Type AlertValueWidgetDefinitionType `json:"type"`
	// Unit to display with the value.
	Unit *string `json:"unit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AlertValueWidgetDefinition Alert values are query values showing the current value of the metric in any monitor defined on your system.

func NewAlertValueWidgetDefinition ¶

func NewAlertValueWidgetDefinition(alertId string, typeVar AlertValueWidgetDefinitionType) *AlertValueWidgetDefinition

NewAlertValueWidgetDefinition instantiates a new AlertValueWidgetDefinition 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 NewAlertValueWidgetDefinitionWithDefaults ¶

func NewAlertValueWidgetDefinitionWithDefaults() *AlertValueWidgetDefinition

NewAlertValueWidgetDefinitionWithDefaults instantiates a new AlertValueWidgetDefinition 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 (*AlertValueWidgetDefinition) GetAlertId ¶

func (o *AlertValueWidgetDefinition) GetAlertId() string

GetAlertId returns the AlertId field value.

func (*AlertValueWidgetDefinition) GetAlertIdOk ¶

func (o *AlertValueWidgetDefinition) GetAlertIdOk() (*string, bool)

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

func (*AlertValueWidgetDefinition) GetPrecision ¶

func (o *AlertValueWidgetDefinition) GetPrecision() int64

GetPrecision returns the Precision field value if set, zero value otherwise.

func (*AlertValueWidgetDefinition) GetPrecisionOk ¶

func (o *AlertValueWidgetDefinition) GetPrecisionOk() (*int64, bool)

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

func (*AlertValueWidgetDefinition) GetTextAlign ¶

func (o *AlertValueWidgetDefinition) GetTextAlign() WidgetTextAlign

GetTextAlign returns the TextAlign field value if set, zero value otherwise.

func (*AlertValueWidgetDefinition) GetTextAlignOk ¶

func (o *AlertValueWidgetDefinition) GetTextAlignOk() (*WidgetTextAlign, bool)

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

func (*AlertValueWidgetDefinition) GetTitle ¶

func (o *AlertValueWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*AlertValueWidgetDefinition) GetTitleAlign ¶

func (o *AlertValueWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*AlertValueWidgetDefinition) GetTitleAlignOk ¶

func (o *AlertValueWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*AlertValueWidgetDefinition) GetTitleOk ¶

func (o *AlertValueWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*AlertValueWidgetDefinition) GetTitleSize ¶

func (o *AlertValueWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*AlertValueWidgetDefinition) GetTitleSizeOk ¶

func (o *AlertValueWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*AlertValueWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*AlertValueWidgetDefinition) GetTypeOk ¶

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

func (*AlertValueWidgetDefinition) GetUnit ¶

func (o *AlertValueWidgetDefinition) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*AlertValueWidgetDefinition) GetUnitOk ¶

func (o *AlertValueWidgetDefinition) GetUnitOk() (*string, bool)

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

func (*AlertValueWidgetDefinition) HasPrecision ¶

func (o *AlertValueWidgetDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*AlertValueWidgetDefinition) HasTextAlign ¶

func (o *AlertValueWidgetDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*AlertValueWidgetDefinition) HasTitle ¶

func (o *AlertValueWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertValueWidgetDefinition) HasTitleAlign ¶

func (o *AlertValueWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertValueWidgetDefinition) HasTitleSize ¶

func (o *AlertValueWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*AlertValueWidgetDefinition) HasUnit ¶

func (o *AlertValueWidgetDefinition) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (AlertValueWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AlertValueWidgetDefinition) SetAlertId ¶

func (o *AlertValueWidgetDefinition) SetAlertId(v string)

SetAlertId sets field value.

func (*AlertValueWidgetDefinition) SetPrecision ¶

func (o *AlertValueWidgetDefinition) SetPrecision(v int64)

SetPrecision gets a reference to the given int64 and assigns it to the Precision field.

func (*AlertValueWidgetDefinition) SetTextAlign ¶

func (o *AlertValueWidgetDefinition) SetTextAlign(v WidgetTextAlign)

SetTextAlign gets a reference to the given WidgetTextAlign and assigns it to the TextAlign field.

func (*AlertValueWidgetDefinition) SetTitle ¶

func (o *AlertValueWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*AlertValueWidgetDefinition) SetTitleAlign ¶

func (o *AlertValueWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*AlertValueWidgetDefinition) SetTitleSize ¶

func (o *AlertValueWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*AlertValueWidgetDefinition) SetType ¶

SetType sets field value.

func (*AlertValueWidgetDefinition) SetUnit ¶

func (o *AlertValueWidgetDefinition) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*AlertValueWidgetDefinition) UnmarshalJSON ¶

func (o *AlertValueWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AlertValueWidgetDefinitionType ¶

type AlertValueWidgetDefinitionType string

AlertValueWidgetDefinitionType Type of the alert value widget.

const (
	ALERTVALUEWIDGETDEFINITIONTYPE_ALERT_VALUE AlertValueWidgetDefinitionType = "alert_value"
)

List of AlertValueWidgetDefinitionType.

func NewAlertValueWidgetDefinitionTypeFromValue ¶

func NewAlertValueWidgetDefinitionTypeFromValue(v string) (*AlertValueWidgetDefinitionType, error)

NewAlertValueWidgetDefinitionTypeFromValue returns a pointer to a valid AlertValueWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*AlertValueWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (AlertValueWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (AlertValueWidgetDefinitionType) Ptr ¶

Ptr returns reference to AlertValueWidgetDefinitionType value.

func (*AlertValueWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type ApiKey ¶

type ApiKey struct {
	// Date of creation of the API key.
	Created *string `json:"created,omitempty"`
	// Datadog user handle that created the API key.
	CreatedBy *string `json:"created_by,omitempty"`
	// API key.
	Key *string `json:"key,omitempty"`
	// Name of your API key.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApiKey Datadog API key.

func NewApiKey ¶

func NewApiKey() *ApiKey

NewApiKey instantiates a new ApiKey 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 NewApiKeyWithDefaults ¶

func NewApiKeyWithDefaults() *ApiKey

NewApiKeyWithDefaults instantiates a new ApiKey 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 (*ApiKey) GetCreated ¶

func (o *ApiKey) GetCreated() string

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

func (*ApiKey) GetCreatedBy ¶

func (o *ApiKey) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*ApiKey) GetCreatedByOk ¶

func (o *ApiKey) GetCreatedByOk() (*string, bool)

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

func (*ApiKey) GetCreatedOk ¶

func (o *ApiKey) GetCreatedOk() (*string, 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 (*ApiKey) GetKey ¶

func (o *ApiKey) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ApiKey) GetKeyOk ¶

func (o *ApiKey) GetKeyOk() (*string, bool)

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

func (*ApiKey) GetName ¶

func (o *ApiKey) GetName() string

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

func (*ApiKey) GetNameOk ¶

func (o *ApiKey) 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 (*ApiKey) HasCreated ¶

func (o *ApiKey) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*ApiKey) HasCreatedBy ¶

func (o *ApiKey) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*ApiKey) HasKey ¶

func (o *ApiKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ApiKey) HasName ¶

func (o *ApiKey) HasName() bool

HasName returns a boolean if a field has been set.

func (ApiKey) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApiKey) SetCreated ¶

func (o *ApiKey) SetCreated(v string)

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

func (*ApiKey) SetCreatedBy ¶

func (o *ApiKey) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*ApiKey) SetKey ¶

func (o *ApiKey) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ApiKey) SetName ¶

func (o *ApiKey) SetName(v string)

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

func (*ApiKey) UnmarshalJSON ¶ added in v1.3.0

func (o *ApiKey) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApiKeyListResponse ¶

type ApiKeyListResponse struct {
	// Array of API keys.
	ApiKeys []ApiKey `json:"api_keys,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApiKeyListResponse List of API and application keys available for a given organization.

func NewApiKeyListResponse ¶

func NewApiKeyListResponse() *ApiKeyListResponse

NewApiKeyListResponse instantiates a new ApiKeyListResponse 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 NewApiKeyListResponseWithDefaults ¶

func NewApiKeyListResponseWithDefaults() *ApiKeyListResponse

NewApiKeyListResponseWithDefaults instantiates a new ApiKeyListResponse 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 (*ApiKeyListResponse) GetApiKeys ¶

func (o *ApiKeyListResponse) GetApiKeys() []ApiKey

GetApiKeys returns the ApiKeys field value if set, zero value otherwise.

func (*ApiKeyListResponse) GetApiKeysOk ¶

func (o *ApiKeyListResponse) GetApiKeysOk() (*[]ApiKey, bool)

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

func (*ApiKeyListResponse) HasApiKeys ¶

func (o *ApiKeyListResponse) HasApiKeys() bool

HasApiKeys returns a boolean if a field has been set.

func (ApiKeyListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApiKeyListResponse) SetApiKeys ¶

func (o *ApiKeyListResponse) SetApiKeys(v []ApiKey)

SetApiKeys gets a reference to the given []ApiKey and assigns it to the ApiKeys field.

func (*ApiKeyListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ApiKeyListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApiKeyResponse ¶

type ApiKeyResponse struct {
	// Datadog API key.
	ApiKey *ApiKey `json:"api_key,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApiKeyResponse An API key with its associated metadata.

func NewApiKeyResponse ¶

func NewApiKeyResponse() *ApiKeyResponse

NewApiKeyResponse instantiates a new ApiKeyResponse 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 NewApiKeyResponseWithDefaults ¶

func NewApiKeyResponseWithDefaults() *ApiKeyResponse

NewApiKeyResponseWithDefaults instantiates a new ApiKeyResponse 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 (*ApiKeyResponse) GetApiKey ¶

func (o *ApiKeyResponse) GetApiKey() ApiKey

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*ApiKeyResponse) GetApiKeyOk ¶

func (o *ApiKeyResponse) GetApiKeyOk() (*ApiKey, bool)

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

func (*ApiKeyResponse) HasApiKey ¶

func (o *ApiKeyResponse) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (ApiKeyResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApiKeyResponse) SetApiKey ¶

func (o *ApiKeyResponse) SetApiKey(v ApiKey)

SetApiKey gets a reference to the given ApiKey and assigns it to the ApiKey field.

func (*ApiKeyResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ApiKeyResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApmStatsQueryColumnType ¶

type ApmStatsQueryColumnType struct {
	// A user-assigned alias for the column.
	Alias *string `json:"alias,omitempty"`
	// Define a display mode for the table cell.
	CellDisplayMode *TableWidgetCellDisplayMode `json:"cell_display_mode,omitempty"`
	// Column name.
	Name string `json:"name"`
	// Widget sorting methods.
	Order *WidgetSort `json:"order,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApmStatsQueryColumnType Column properties.

func NewApmStatsQueryColumnType ¶

func NewApmStatsQueryColumnType(name string) *ApmStatsQueryColumnType

NewApmStatsQueryColumnType instantiates a new ApmStatsQueryColumnType 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 NewApmStatsQueryColumnTypeWithDefaults ¶

func NewApmStatsQueryColumnTypeWithDefaults() *ApmStatsQueryColumnType

NewApmStatsQueryColumnTypeWithDefaults instantiates a new ApmStatsQueryColumnType 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 (*ApmStatsQueryColumnType) GetAlias ¶

func (o *ApmStatsQueryColumnType) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*ApmStatsQueryColumnType) GetAliasOk ¶

func (o *ApmStatsQueryColumnType) GetAliasOk() (*string, bool)

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

func (*ApmStatsQueryColumnType) GetCellDisplayMode ¶

func (o *ApmStatsQueryColumnType) GetCellDisplayMode() TableWidgetCellDisplayMode

GetCellDisplayMode returns the CellDisplayMode field value if set, zero value otherwise.

func (*ApmStatsQueryColumnType) GetCellDisplayModeOk ¶

func (o *ApmStatsQueryColumnType) GetCellDisplayModeOk() (*TableWidgetCellDisplayMode, bool)

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

func (*ApmStatsQueryColumnType) GetName ¶

func (o *ApmStatsQueryColumnType) GetName() string

GetName returns the Name field value.

func (*ApmStatsQueryColumnType) GetNameOk ¶

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

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

func (*ApmStatsQueryColumnType) GetOrder ¶

func (o *ApmStatsQueryColumnType) GetOrder() WidgetSort

GetOrder returns the Order field value if set, zero value otherwise.

func (*ApmStatsQueryColumnType) GetOrderOk ¶

func (o *ApmStatsQueryColumnType) GetOrderOk() (*WidgetSort, bool)

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

func (*ApmStatsQueryColumnType) HasAlias ¶

func (o *ApmStatsQueryColumnType) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*ApmStatsQueryColumnType) HasCellDisplayMode ¶

func (o *ApmStatsQueryColumnType) HasCellDisplayMode() bool

HasCellDisplayMode returns a boolean if a field has been set.

func (*ApmStatsQueryColumnType) HasOrder ¶

func (o *ApmStatsQueryColumnType) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (ApmStatsQueryColumnType) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApmStatsQueryColumnType) SetAlias ¶

func (o *ApmStatsQueryColumnType) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*ApmStatsQueryColumnType) SetCellDisplayMode ¶

func (o *ApmStatsQueryColumnType) SetCellDisplayMode(v TableWidgetCellDisplayMode)

SetCellDisplayMode gets a reference to the given TableWidgetCellDisplayMode and assigns it to the CellDisplayMode field.

func (*ApmStatsQueryColumnType) SetName ¶

func (o *ApmStatsQueryColumnType) SetName(v string)

SetName sets field value.

func (*ApmStatsQueryColumnType) SetOrder ¶

func (o *ApmStatsQueryColumnType) SetOrder(v WidgetSort)

SetOrder gets a reference to the given WidgetSort and assigns it to the Order field.

func (*ApmStatsQueryColumnType) UnmarshalJSON ¶

func (o *ApmStatsQueryColumnType) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApmStatsQueryDefinition ¶

type ApmStatsQueryDefinition struct {
	// Column properties used by the front end for display.
	Columns []ApmStatsQueryColumnType `json:"columns,omitempty"`
	// Environment name.
	Env string `json:"env"`
	// Operation name associated with service.
	Name string `json:"name"`
	// The organization's host group name and value.
	PrimaryTag string `json:"primary_tag"`
	// Resource name.
	Resource *string `json:"resource,omitempty"`
	// The level of detail for the request.
	RowType ApmStatsQueryRowType `json:"row_type"`
	// Service name.
	Service string `json:"service"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApmStatsQueryDefinition The APM stats query for table and distributions widgets.

func NewApmStatsQueryDefinition ¶

func NewApmStatsQueryDefinition(env string, name string, primaryTag string, rowType ApmStatsQueryRowType, service string) *ApmStatsQueryDefinition

NewApmStatsQueryDefinition instantiates a new ApmStatsQueryDefinition 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 NewApmStatsQueryDefinitionWithDefaults ¶

func NewApmStatsQueryDefinitionWithDefaults() *ApmStatsQueryDefinition

NewApmStatsQueryDefinitionWithDefaults instantiates a new ApmStatsQueryDefinition 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 (*ApmStatsQueryDefinition) GetColumns ¶

GetColumns returns the Columns field value if set, zero value otherwise.

func (*ApmStatsQueryDefinition) GetColumnsOk ¶

func (o *ApmStatsQueryDefinition) GetColumnsOk() (*[]ApmStatsQueryColumnType, bool)

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

func (*ApmStatsQueryDefinition) GetEnv ¶

func (o *ApmStatsQueryDefinition) GetEnv() string

GetEnv returns the Env field value.

func (*ApmStatsQueryDefinition) GetEnvOk ¶

func (o *ApmStatsQueryDefinition) GetEnvOk() (*string, bool)

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

func (*ApmStatsQueryDefinition) GetName ¶

func (o *ApmStatsQueryDefinition) GetName() string

GetName returns the Name field value.

func (*ApmStatsQueryDefinition) GetNameOk ¶

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

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

func (*ApmStatsQueryDefinition) GetPrimaryTag ¶

func (o *ApmStatsQueryDefinition) GetPrimaryTag() string

GetPrimaryTag returns the PrimaryTag field value.

func (*ApmStatsQueryDefinition) GetPrimaryTagOk ¶

func (o *ApmStatsQueryDefinition) GetPrimaryTagOk() (*string, bool)

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

func (*ApmStatsQueryDefinition) GetResource ¶

func (o *ApmStatsQueryDefinition) GetResource() string

GetResource returns the Resource field value if set, zero value otherwise.

func (*ApmStatsQueryDefinition) GetResourceOk ¶

func (o *ApmStatsQueryDefinition) GetResourceOk() (*string, bool)

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

func (*ApmStatsQueryDefinition) GetRowType ¶

GetRowType returns the RowType field value.

func (*ApmStatsQueryDefinition) GetRowTypeOk ¶

func (o *ApmStatsQueryDefinition) GetRowTypeOk() (*ApmStatsQueryRowType, bool)

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

func (*ApmStatsQueryDefinition) GetService ¶

func (o *ApmStatsQueryDefinition) GetService() string

GetService returns the Service field value.

func (*ApmStatsQueryDefinition) GetServiceOk ¶

func (o *ApmStatsQueryDefinition) GetServiceOk() (*string, bool)

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

func (*ApmStatsQueryDefinition) HasColumns ¶

func (o *ApmStatsQueryDefinition) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*ApmStatsQueryDefinition) HasResource ¶

func (o *ApmStatsQueryDefinition) HasResource() bool

HasResource returns a boolean if a field has been set.

func (ApmStatsQueryDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApmStatsQueryDefinition) SetColumns ¶

SetColumns gets a reference to the given []ApmStatsQueryColumnType and assigns it to the Columns field.

func (*ApmStatsQueryDefinition) SetEnv ¶

func (o *ApmStatsQueryDefinition) SetEnv(v string)

SetEnv sets field value.

func (*ApmStatsQueryDefinition) SetName ¶

func (o *ApmStatsQueryDefinition) SetName(v string)

SetName sets field value.

func (*ApmStatsQueryDefinition) SetPrimaryTag ¶

func (o *ApmStatsQueryDefinition) SetPrimaryTag(v string)

SetPrimaryTag sets field value.

func (*ApmStatsQueryDefinition) SetResource ¶

func (o *ApmStatsQueryDefinition) SetResource(v string)

SetResource gets a reference to the given string and assigns it to the Resource field.

func (*ApmStatsQueryDefinition) SetRowType ¶

SetRowType sets field value.

func (*ApmStatsQueryDefinition) SetService ¶

func (o *ApmStatsQueryDefinition) SetService(v string)

SetService sets field value.

func (*ApmStatsQueryDefinition) UnmarshalJSON ¶

func (o *ApmStatsQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApmStatsQueryRowType ¶

type ApmStatsQueryRowType string

ApmStatsQueryRowType The level of detail for the request.

const (
	APMSTATSQUERYROWTYPE_SERVICE  ApmStatsQueryRowType = "service"
	APMSTATSQUERYROWTYPE_RESOURCE ApmStatsQueryRowType = "resource"
	APMSTATSQUERYROWTYPE_SPAN     ApmStatsQueryRowType = "span"
)

List of ApmStatsQueryRowType.

func NewApmStatsQueryRowTypeFromValue ¶

func NewApmStatsQueryRowTypeFromValue(v string) (*ApmStatsQueryRowType, error)

NewApmStatsQueryRowTypeFromValue returns a pointer to a valid ApmStatsQueryRowType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ApmStatsQueryRowType) GetAllowedValues ¶ added in v1.1.0

func (v *ApmStatsQueryRowType) GetAllowedValues() []ApmStatsQueryRowType

GetAllowedValues reeturns the list of possible values.

func (ApmStatsQueryRowType) IsValid ¶

func (v ApmStatsQueryRowType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ApmStatsQueryRowType) Ptr ¶

Ptr returns reference to ApmStatsQueryRowType value.

func (*ApmStatsQueryRowType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type ApplicationKey ¶

type ApplicationKey struct {
	// Hash of an application key.
	Hash *string `json:"hash,omitempty"`
	// Name of an application key.
	Name *string `json:"name,omitempty"`
	// Owner of an application key.
	Owner *string `json:"owner,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKey An application key with its associated metadata.

func NewApplicationKey ¶

func NewApplicationKey() *ApplicationKey

NewApplicationKey instantiates a new ApplicationKey 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 NewApplicationKeyWithDefaults ¶

func NewApplicationKeyWithDefaults() *ApplicationKey

NewApplicationKeyWithDefaults instantiates a new ApplicationKey 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 (*ApplicationKey) GetHash ¶

func (o *ApplicationKey) GetHash() string

GetHash returns the Hash field value if set, zero value otherwise.

func (*ApplicationKey) GetHashOk ¶

func (o *ApplicationKey) GetHashOk() (*string, bool)

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

func (*ApplicationKey) GetName ¶

func (o *ApplicationKey) GetName() string

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

func (*ApplicationKey) GetNameOk ¶

func (o *ApplicationKey) 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 (*ApplicationKey) GetOwner ¶

func (o *ApplicationKey) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*ApplicationKey) GetOwnerOk ¶

func (o *ApplicationKey) GetOwnerOk() (*string, bool)

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

func (*ApplicationKey) HasHash ¶

func (o *ApplicationKey) HasHash() bool

HasHash returns a boolean if a field has been set.

func (*ApplicationKey) HasName ¶

func (o *ApplicationKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*ApplicationKey) HasOwner ¶

func (o *ApplicationKey) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (ApplicationKey) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKey) SetHash ¶

func (o *ApplicationKey) SetHash(v string)

SetHash gets a reference to the given string and assigns it to the Hash field.

func (*ApplicationKey) SetName ¶

func (o *ApplicationKey) SetName(v string)

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

func (*ApplicationKey) SetOwner ¶

func (o *ApplicationKey) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*ApplicationKey) UnmarshalJSON ¶ added in v1.3.0

func (o *ApplicationKey) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyListResponse ¶

type ApplicationKeyListResponse struct {
	// Array of application keys.
	ApplicationKeys []ApplicationKey `json:"application_keys,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyListResponse An application key response.

func NewApplicationKeyListResponse ¶

func NewApplicationKeyListResponse() *ApplicationKeyListResponse

NewApplicationKeyListResponse instantiates a new ApplicationKeyListResponse 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 NewApplicationKeyListResponseWithDefaults ¶

func NewApplicationKeyListResponseWithDefaults() *ApplicationKeyListResponse

NewApplicationKeyListResponseWithDefaults instantiates a new ApplicationKeyListResponse 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 (*ApplicationKeyListResponse) GetApplicationKeys ¶

func (o *ApplicationKeyListResponse) GetApplicationKeys() []ApplicationKey

GetApplicationKeys returns the ApplicationKeys field value if set, zero value otherwise.

func (*ApplicationKeyListResponse) GetApplicationKeysOk ¶

func (o *ApplicationKeyListResponse) GetApplicationKeysOk() (*[]ApplicationKey, bool)

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

func (*ApplicationKeyListResponse) HasApplicationKeys ¶

func (o *ApplicationKeyListResponse) HasApplicationKeys() bool

HasApplicationKeys returns a boolean if a field has been set.

func (ApplicationKeyListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyListResponse) SetApplicationKeys ¶

func (o *ApplicationKeyListResponse) SetApplicationKeys(v []ApplicationKey)

SetApplicationKeys gets a reference to the given []ApplicationKey and assigns it to the ApplicationKeys field.

func (*ApplicationKeyListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ApplicationKeyListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ApplicationKeyResponse ¶

type ApplicationKeyResponse struct {
	// An application key with its associated metadata.
	ApplicationKey *ApplicationKey `json:"application_key,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ApplicationKeyResponse An application key response.

func NewApplicationKeyResponse ¶

func NewApplicationKeyResponse() *ApplicationKeyResponse

NewApplicationKeyResponse instantiates a new ApplicationKeyResponse 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 NewApplicationKeyResponseWithDefaults ¶

func NewApplicationKeyResponseWithDefaults() *ApplicationKeyResponse

NewApplicationKeyResponseWithDefaults instantiates a new ApplicationKeyResponse 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 (*ApplicationKeyResponse) GetApplicationKey ¶

func (o *ApplicationKeyResponse) GetApplicationKey() ApplicationKey

GetApplicationKey returns the ApplicationKey field value if set, zero value otherwise.

func (*ApplicationKeyResponse) GetApplicationKeyOk ¶

func (o *ApplicationKeyResponse) GetApplicationKeyOk() (*ApplicationKey, bool)

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

func (*ApplicationKeyResponse) HasApplicationKey ¶

func (o *ApplicationKeyResponse) HasApplicationKey() bool

HasApplicationKey returns a boolean if a field has been set.

func (ApplicationKeyResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ApplicationKeyResponse) SetApplicationKey ¶

func (o *ApplicationKeyResponse) SetApplicationKey(v ApplicationKey)

SetApplicationKey gets a reference to the given ApplicationKey and assigns it to the ApplicationKey field.

func (*ApplicationKeyResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AuthenticationApiService ¶

type AuthenticationApiService service

AuthenticationApiService AuthenticationApi service.

func (*AuthenticationApiService) Validate ¶

Validate Validate API key. Check if the API key (not the APP key) is valid. If invalid, a 403 is returned.

type AuthenticationValidationResponse ¶

type AuthenticationValidationResponse struct {
	// Return `true` if the authentication response is valid.
	Valid *bool `json:"valid,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthenticationValidationResponse Represent validation endpoint responses.

func NewAuthenticationValidationResponse ¶

func NewAuthenticationValidationResponse() *AuthenticationValidationResponse

NewAuthenticationValidationResponse instantiates a new AuthenticationValidationResponse 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 NewAuthenticationValidationResponseWithDefaults ¶

func NewAuthenticationValidationResponseWithDefaults() *AuthenticationValidationResponse

NewAuthenticationValidationResponseWithDefaults instantiates a new AuthenticationValidationResponse 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 (*AuthenticationValidationResponse) GetValid ¶

func (o *AuthenticationValidationResponse) GetValid() bool

GetValid returns the Valid field value if set, zero value otherwise.

func (*AuthenticationValidationResponse) GetValidOk ¶

func (o *AuthenticationValidationResponse) GetValidOk() (*bool, bool)

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

func (*AuthenticationValidationResponse) HasValid ¶

func (o *AuthenticationValidationResponse) HasValid() bool

HasValid returns a boolean if a field has been set.

func (AuthenticationValidationResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AuthenticationValidationResponse) SetValid ¶

func (o *AuthenticationValidationResponse) SetValid(v bool)

SetValid gets a reference to the given bool and assigns it to the Valid field.

func (*AuthenticationValidationResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *AuthenticationValidationResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AzureAccount ¶

type AzureAccount struct {
	// Silence monitors for expected Azure VM shutdowns.
	Automute *bool `json:"automute,omitempty"`
	// Your Azure web application ID.
	ClientId *string `json:"client_id,omitempty"`
	// Your Azure web application secret key.
	ClientSecret *string `json:"client_secret,omitempty"`
	// Errors in your configuration.
	Errors []string `json:"errors,omitempty"`
	// Limit the Azure instances that are pulled into Datadog by using tags.
	// Only hosts that match one of the defined tags are imported into Datadog.
	HostFilters *string `json:"host_filters,omitempty"`
	// Your New Azure web application ID.
	NewClientId *string `json:"new_client_id,omitempty"`
	// Your New Azure Active Directory ID.
	NewTenantName *string `json:"new_tenant_name,omitempty"`
	// Your Azure Active Directory ID.
	TenantName *string `json:"tenant_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AzureAccount Datadog-Azure integrations configured for your organization.

func NewAzureAccount ¶

func NewAzureAccount() *AzureAccount

NewAzureAccount instantiates a new AzureAccount 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 NewAzureAccountWithDefaults ¶

func NewAzureAccountWithDefaults() *AzureAccount

NewAzureAccountWithDefaults instantiates a new AzureAccount 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 (*AzureAccount) GetAutomute ¶ added in v1.6.0

func (o *AzureAccount) GetAutomute() bool

GetAutomute returns the Automute field value if set, zero value otherwise.

func (*AzureAccount) GetAutomuteOk ¶ added in v1.6.0

func (o *AzureAccount) GetAutomuteOk() (*bool, bool)

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

func (*AzureAccount) GetClientId ¶

func (o *AzureAccount) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*AzureAccount) GetClientIdOk ¶

func (o *AzureAccount) GetClientIdOk() (*string, bool)

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

func (*AzureAccount) GetClientSecret ¶

func (o *AzureAccount) GetClientSecret() string

GetClientSecret returns the ClientSecret field value if set, zero value otherwise.

func (*AzureAccount) GetClientSecretOk ¶

func (o *AzureAccount) GetClientSecretOk() (*string, bool)

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

func (*AzureAccount) GetErrors ¶

func (o *AzureAccount) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*AzureAccount) GetErrorsOk ¶

func (o *AzureAccount) GetErrorsOk() (*[]string, bool)

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

func (*AzureAccount) GetHostFilters ¶

func (o *AzureAccount) GetHostFilters() string

GetHostFilters returns the HostFilters field value if set, zero value otherwise.

func (*AzureAccount) GetHostFiltersOk ¶

func (o *AzureAccount) GetHostFiltersOk() (*string, bool)

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

func (*AzureAccount) GetNewClientId ¶

func (o *AzureAccount) GetNewClientId() string

GetNewClientId returns the NewClientId field value if set, zero value otherwise.

func (*AzureAccount) GetNewClientIdOk ¶

func (o *AzureAccount) GetNewClientIdOk() (*string, bool)

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

func (*AzureAccount) GetNewTenantName ¶

func (o *AzureAccount) GetNewTenantName() string

GetNewTenantName returns the NewTenantName field value if set, zero value otherwise.

func (*AzureAccount) GetNewTenantNameOk ¶

func (o *AzureAccount) GetNewTenantNameOk() (*string, bool)

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

func (*AzureAccount) GetTenantName ¶

func (o *AzureAccount) GetTenantName() string

GetTenantName returns the TenantName field value if set, zero value otherwise.

func (*AzureAccount) GetTenantNameOk ¶

func (o *AzureAccount) GetTenantNameOk() (*string, bool)

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

func (*AzureAccount) HasAutomute ¶ added in v1.6.0

func (o *AzureAccount) HasAutomute() bool

HasAutomute returns a boolean if a field has been set.

func (*AzureAccount) HasClientId ¶

func (o *AzureAccount) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*AzureAccount) HasClientSecret ¶

func (o *AzureAccount) HasClientSecret() bool

HasClientSecret returns a boolean if a field has been set.

func (*AzureAccount) HasErrors ¶

func (o *AzureAccount) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*AzureAccount) HasHostFilters ¶

func (o *AzureAccount) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*AzureAccount) HasNewClientId ¶

func (o *AzureAccount) HasNewClientId() bool

HasNewClientId returns a boolean if a field has been set.

func (*AzureAccount) HasNewTenantName ¶

func (o *AzureAccount) HasNewTenantName() bool

HasNewTenantName returns a boolean if a field has been set.

func (*AzureAccount) HasTenantName ¶

func (o *AzureAccount) HasTenantName() bool

HasTenantName returns a boolean if a field has been set.

func (AzureAccount) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*AzureAccount) SetAutomute ¶ added in v1.6.0

func (o *AzureAccount) SetAutomute(v bool)

SetAutomute gets a reference to the given bool and assigns it to the Automute field.

func (*AzureAccount) SetClientId ¶

func (o *AzureAccount) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*AzureAccount) SetClientSecret ¶

func (o *AzureAccount) SetClientSecret(v string)

SetClientSecret gets a reference to the given string and assigns it to the ClientSecret field.

func (*AzureAccount) SetErrors ¶

func (o *AzureAccount) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*AzureAccount) SetHostFilters ¶

func (o *AzureAccount) SetHostFilters(v string)

SetHostFilters gets a reference to the given string and assigns it to the HostFilters field.

func (*AzureAccount) SetNewClientId ¶

func (o *AzureAccount) SetNewClientId(v string)

SetNewClientId gets a reference to the given string and assigns it to the NewClientId field.

func (*AzureAccount) SetNewTenantName ¶

func (o *AzureAccount) SetNewTenantName(v string)

SetNewTenantName gets a reference to the given string and assigns it to the NewTenantName field.

func (*AzureAccount) SetTenantName ¶

func (o *AzureAccount) SetTenantName(v string)

SetTenantName gets a reference to the given string and assigns it to the TenantName field.

func (*AzureAccount) UnmarshalJSON ¶ added in v1.3.0

func (o *AzureAccount) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type AzureIntegrationApiService ¶

type AzureIntegrationApiService service

AzureIntegrationApiService AzureIntegrationApi service.

func (*AzureIntegrationApiService) CreateAzureIntegration ¶

func (a *AzureIntegrationApiService) CreateAzureIntegration(ctx _context.Context, body AzureAccount) (interface{}, *_nethttp.Response, error)

CreateAzureIntegration Create an Azure integration. Create a Datadog-Azure integration.

Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization.

Using the `PUT` method updates your integration configuration by replacing your current configuration with the new one sent to your Datadog organization.

func (*AzureIntegrationApiService) DeleteAzureIntegration ¶

func (a *AzureIntegrationApiService) DeleteAzureIntegration(ctx _context.Context, body AzureAccount) (interface{}, *_nethttp.Response, error)

DeleteAzureIntegration Delete an Azure integration. Delete a given Datadog-Azure integration from your Datadog account.

func (*AzureIntegrationApiService) ListAzureIntegration ¶

func (a *AzureIntegrationApiService) ListAzureIntegration(ctx _context.Context) ([]AzureAccount, *_nethttp.Response, error)

ListAzureIntegration List all Azure integrations. List all Datadog-Azure integrations configured in your Datadog account.

func (*AzureIntegrationApiService) UpdateAzureHostFilters ¶

func (a *AzureIntegrationApiService) UpdateAzureHostFilters(ctx _context.Context, body AzureAccount) (interface{}, *_nethttp.Response, error)

UpdateAzureHostFilters Update Azure integration host filters. Update the defined list of host filters for a given Datadog-Azure integration.

func (*AzureIntegrationApiService) UpdateAzureIntegration ¶

func (a *AzureIntegrationApiService) UpdateAzureIntegration(ctx _context.Context, body AzureAccount) (interface{}, *_nethttp.Response, error)

UpdateAzureIntegration Update an Azure integration. Update a Datadog-Azure integration. Requires an existing `tenant_name` and `client_id`. Any other fields supplied will overwrite existing values. To overwrite `tenant_name` or `client_id`, use `new_tenant_name` and `new_client_id`. To leave a field unchanged, do not supply that field in the payload.

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 CancelDowntimesByScopeRequest ¶

type CancelDowntimesByScopeRequest struct {
	// The scope(s) to which the downtime applies. For example, `host:app2`.
	// Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
	// The resulting downtime applies to sources that matches ALL provided scopes (`env:dev` **AND** `env:prod`).
	Scope string `json:"scope"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CancelDowntimesByScopeRequest Cancel downtimes according to scope.

func NewCancelDowntimesByScopeRequest ¶

func NewCancelDowntimesByScopeRequest(scope string) *CancelDowntimesByScopeRequest

NewCancelDowntimesByScopeRequest instantiates a new CancelDowntimesByScopeRequest 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 NewCancelDowntimesByScopeRequestWithDefaults ¶

func NewCancelDowntimesByScopeRequestWithDefaults() *CancelDowntimesByScopeRequest

NewCancelDowntimesByScopeRequestWithDefaults instantiates a new CancelDowntimesByScopeRequest 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 (*CancelDowntimesByScopeRequest) GetScope ¶

func (o *CancelDowntimesByScopeRequest) GetScope() string

GetScope returns the Scope field value.

func (*CancelDowntimesByScopeRequest) GetScopeOk ¶

func (o *CancelDowntimesByScopeRequest) GetScopeOk() (*string, bool)

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

func (CancelDowntimesByScopeRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CancelDowntimesByScopeRequest) SetScope ¶

func (o *CancelDowntimesByScopeRequest) SetScope(v string)

SetScope sets field value.

func (*CancelDowntimesByScopeRequest) UnmarshalJSON ¶

func (o *CancelDowntimesByScopeRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CanceledDowntimesIds ¶

type CanceledDowntimesIds struct {
	// ID of downtimes that were canceled.
	CancelledIds []int64 `json:"cancelled_ids,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CanceledDowntimesIds Object containing array of IDs of canceled downtimes.

func NewCanceledDowntimesIds ¶

func NewCanceledDowntimesIds() *CanceledDowntimesIds

NewCanceledDowntimesIds instantiates a new CanceledDowntimesIds 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 NewCanceledDowntimesIdsWithDefaults ¶

func NewCanceledDowntimesIdsWithDefaults() *CanceledDowntimesIds

NewCanceledDowntimesIdsWithDefaults instantiates a new CanceledDowntimesIds 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 (*CanceledDowntimesIds) GetCancelledIds ¶

func (o *CanceledDowntimesIds) GetCancelledIds() []int64

GetCancelledIds returns the CancelledIds field value if set, zero value otherwise.

func (*CanceledDowntimesIds) GetCancelledIdsOk ¶

func (o *CanceledDowntimesIds) GetCancelledIdsOk() (*[]int64, bool)

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

func (*CanceledDowntimesIds) HasCancelledIds ¶

func (o *CanceledDowntimesIds) HasCancelledIds() bool

HasCancelledIds returns a boolean if a field has been set.

func (CanceledDowntimesIds) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CanceledDowntimesIds) SetCancelledIds ¶

func (o *CanceledDowntimesIds) SetCancelledIds(v []int64)

SetCancelledIds gets a reference to the given []int64 and assigns it to the CancelledIds field.

func (*CanceledDowntimesIds) UnmarshalJSON ¶ added in v1.3.0

func (o *CanceledDowntimesIds) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ChangeWidgetDefinition ¶

type ChangeWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// Array of one request object to display in the widget.
	//
	// See the dedicated [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)
	//  to learn how to build the `REQUEST_SCHEMA`.
	Requests []ChangeWidgetRequest `json:"requests"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the change widget.
	Type ChangeWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ChangeWidgetDefinition The Change graph shows you the change in a value over the time period chosen.

func NewChangeWidgetDefinition ¶

func NewChangeWidgetDefinition(requests []ChangeWidgetRequest, typeVar ChangeWidgetDefinitionType) *ChangeWidgetDefinition

NewChangeWidgetDefinition instantiates a new ChangeWidgetDefinition 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 NewChangeWidgetDefinitionWithDefaults ¶

func NewChangeWidgetDefinitionWithDefaults() *ChangeWidgetDefinition

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

func (o *ChangeWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*ChangeWidgetDefinition) GetCustomLinksOk ¶

func (o *ChangeWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

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

func (*ChangeWidgetDefinition) GetRequests ¶

func (o *ChangeWidgetDefinition) GetRequests() []ChangeWidgetRequest

GetRequests returns the Requests field value.

func (*ChangeWidgetDefinition) GetRequestsOk ¶

func (o *ChangeWidgetDefinition) GetRequestsOk() (*[]ChangeWidgetRequest, bool)

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

func (*ChangeWidgetDefinition) GetTime ¶

func (o *ChangeWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*ChangeWidgetDefinition) GetTimeOk ¶

func (o *ChangeWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*ChangeWidgetDefinition) GetTitle ¶

func (o *ChangeWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ChangeWidgetDefinition) GetTitleAlign ¶

func (o *ChangeWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*ChangeWidgetDefinition) GetTitleAlignOk ¶

func (o *ChangeWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*ChangeWidgetDefinition) GetTitleOk ¶

func (o *ChangeWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*ChangeWidgetDefinition) GetTitleSize ¶

func (o *ChangeWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*ChangeWidgetDefinition) GetTitleSizeOk ¶

func (o *ChangeWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*ChangeWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*ChangeWidgetDefinition) GetTypeOk ¶

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

func (o *ChangeWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*ChangeWidgetDefinition) HasTime ¶

func (o *ChangeWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ChangeWidgetDefinition) HasTitle ¶

func (o *ChangeWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ChangeWidgetDefinition) HasTitleAlign ¶

func (o *ChangeWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ChangeWidgetDefinition) HasTitleSize ¶

func (o *ChangeWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (ChangeWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (o *ChangeWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*ChangeWidgetDefinition) SetRequests ¶

func (o *ChangeWidgetDefinition) SetRequests(v []ChangeWidgetRequest)

SetRequests sets field value.

func (*ChangeWidgetDefinition) SetTime ¶

func (o *ChangeWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*ChangeWidgetDefinition) SetTitle ¶

func (o *ChangeWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ChangeWidgetDefinition) SetTitleAlign ¶

func (o *ChangeWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*ChangeWidgetDefinition) SetTitleSize ¶

func (o *ChangeWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*ChangeWidgetDefinition) SetType ¶

SetType sets field value.

func (*ChangeWidgetDefinition) UnmarshalJSON ¶

func (o *ChangeWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ChangeWidgetDefinitionType ¶

type ChangeWidgetDefinitionType string

ChangeWidgetDefinitionType Type of the change widget.

const (
	CHANGEWIDGETDEFINITIONTYPE_CHANGE ChangeWidgetDefinitionType = "change"
)

List of ChangeWidgetDefinitionType.

func NewChangeWidgetDefinitionTypeFromValue ¶

func NewChangeWidgetDefinitionTypeFromValue(v string) (*ChangeWidgetDefinitionType, error)

NewChangeWidgetDefinitionTypeFromValue returns a pointer to a valid ChangeWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ChangeWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (ChangeWidgetDefinitionType) IsValid ¶

func (v ChangeWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ChangeWidgetDefinitionType) Ptr ¶

Ptr returns reference to ChangeWidgetDefinitionType value.

func (*ChangeWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type ChangeWidgetRequest ¶

type ChangeWidgetRequest struct {
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// Show the absolute or the relative change.
	ChangeType *WidgetChangeType `json:"change_type,omitempty"`
	// Timeframe used for the change comparison.
	CompareTo *WidgetCompareTo `json:"compare_to,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// Whether to show increase as good.
	IncreaseGood *bool `json:"increase_good,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// What to order by.
	OrderBy *WidgetOrderBy `json:"order_by,omitempty"`
	// Widget sorting methods.
	OrderDir *WidgetSort `json:"order_dir,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Query definition.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// Whether to show the present value.
	ShowPresent *bool `json:"show_present,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ChangeWidgetRequest Updated change widget.

func NewChangeWidgetRequest ¶

func NewChangeWidgetRequest() *ChangeWidgetRequest

NewChangeWidgetRequest instantiates a new ChangeWidgetRequest 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 NewChangeWidgetRequestWithDefaults ¶

func NewChangeWidgetRequestWithDefaults() *ChangeWidgetRequest

NewChangeWidgetRequestWithDefaults instantiates a new ChangeWidgetRequest 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 (*ChangeWidgetRequest) GetApmQuery ¶

func (o *ChangeWidgetRequest) GetApmQuery() LogQueryDefinition

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetApmQueryOk ¶

func (o *ChangeWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetChangeType ¶

func (o *ChangeWidgetRequest) GetChangeType() WidgetChangeType

GetChangeType returns the ChangeType field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetChangeTypeOk ¶

func (o *ChangeWidgetRequest) GetChangeTypeOk() (*WidgetChangeType, bool)

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

func (*ChangeWidgetRequest) GetCompareTo ¶

func (o *ChangeWidgetRequest) GetCompareTo() WidgetCompareTo

GetCompareTo returns the CompareTo field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetCompareToOk ¶

func (o *ChangeWidgetRequest) GetCompareToOk() (*WidgetCompareTo, bool)

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

func (*ChangeWidgetRequest) GetEventQuery ¶

func (o *ChangeWidgetRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetEventQueryOk ¶

func (o *ChangeWidgetRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetFormulas ¶ added in v1.7.0

func (o *ChangeWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetFormulasOk ¶ added in v1.7.0

func (o *ChangeWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

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

func (*ChangeWidgetRequest) GetIncreaseGood ¶

func (o *ChangeWidgetRequest) GetIncreaseGood() bool

GetIncreaseGood returns the IncreaseGood field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetIncreaseGoodOk ¶

func (o *ChangeWidgetRequest) GetIncreaseGoodOk() (*bool, bool)

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

func (*ChangeWidgetRequest) GetLogQuery ¶

func (o *ChangeWidgetRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetLogQueryOk ¶

func (o *ChangeWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetNetworkQuery ¶

func (o *ChangeWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetNetworkQueryOk ¶

func (o *ChangeWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetOrderBy ¶

func (o *ChangeWidgetRequest) GetOrderBy() WidgetOrderBy

GetOrderBy returns the OrderBy field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetOrderByOk ¶

func (o *ChangeWidgetRequest) GetOrderByOk() (*WidgetOrderBy, bool)

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

func (*ChangeWidgetRequest) GetOrderDir ¶

func (o *ChangeWidgetRequest) GetOrderDir() WidgetSort

GetOrderDir returns the OrderDir field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetOrderDirOk ¶

func (o *ChangeWidgetRequest) GetOrderDirOk() (*WidgetSort, bool)

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

func (*ChangeWidgetRequest) GetProcessQuery ¶

func (o *ChangeWidgetRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetProcessQueryOk ¶

func (o *ChangeWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetProfileMetricsQuery ¶

func (o *ChangeWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetProfileMetricsQueryOk ¶

func (o *ChangeWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetQ ¶

func (o *ChangeWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetQOk ¶

func (o *ChangeWidgetRequest) GetQOk() (*string, bool)

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

func (*ChangeWidgetRequest) GetQueries ¶ added in v1.7.0

GetQueries returns the Queries field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetQueriesOk ¶ added in v1.7.0

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

func (*ChangeWidgetRequest) GetResponseFormat ¶ added in v1.7.0

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetResponseFormatOk ¶ added in v1.7.0

func (o *ChangeWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

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

func (*ChangeWidgetRequest) GetRumQuery ¶

func (o *ChangeWidgetRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetRumQueryOk ¶

func (o *ChangeWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetSecurityQuery ¶

func (o *ChangeWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetSecurityQueryOk ¶

func (o *ChangeWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

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

func (*ChangeWidgetRequest) GetShowPresent ¶

func (o *ChangeWidgetRequest) GetShowPresent() bool

GetShowPresent returns the ShowPresent field value if set, zero value otherwise.

func (*ChangeWidgetRequest) GetShowPresentOk ¶

func (o *ChangeWidgetRequest) GetShowPresentOk() (*bool, bool)

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

func (*ChangeWidgetRequest) HasApmQuery ¶

func (o *ChangeWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasChangeType ¶

func (o *ChangeWidgetRequest) HasChangeType() bool

HasChangeType returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasCompareTo ¶

func (o *ChangeWidgetRequest) HasCompareTo() bool

HasCompareTo returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasEventQuery ¶

func (o *ChangeWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasFormulas ¶ added in v1.7.0

func (o *ChangeWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasIncreaseGood ¶

func (o *ChangeWidgetRequest) HasIncreaseGood() bool

HasIncreaseGood returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasLogQuery ¶

func (o *ChangeWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasNetworkQuery ¶

func (o *ChangeWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasOrderBy ¶

func (o *ChangeWidgetRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasOrderDir ¶

func (o *ChangeWidgetRequest) HasOrderDir() bool

HasOrderDir returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasProcessQuery ¶

func (o *ChangeWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasProfileMetricsQuery ¶

func (o *ChangeWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasQ ¶

func (o *ChangeWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasQueries ¶ added in v1.7.0

func (o *ChangeWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasResponseFormat ¶ added in v1.7.0

func (o *ChangeWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasRumQuery ¶

func (o *ChangeWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasSecurityQuery ¶

func (o *ChangeWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ChangeWidgetRequest) HasShowPresent ¶

func (o *ChangeWidgetRequest) HasShowPresent() bool

HasShowPresent returns a boolean if a field has been set.

func (ChangeWidgetRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ChangeWidgetRequest) SetApmQuery ¶

func (o *ChangeWidgetRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*ChangeWidgetRequest) SetChangeType ¶

func (o *ChangeWidgetRequest) SetChangeType(v WidgetChangeType)

SetChangeType gets a reference to the given WidgetChangeType and assigns it to the ChangeType field.

func (*ChangeWidgetRequest) SetCompareTo ¶

func (o *ChangeWidgetRequest) SetCompareTo(v WidgetCompareTo)

SetCompareTo gets a reference to the given WidgetCompareTo and assigns it to the CompareTo field.

func (*ChangeWidgetRequest) SetEventQuery ¶

func (o *ChangeWidgetRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*ChangeWidgetRequest) SetFormulas ¶ added in v1.7.0

func (o *ChangeWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*ChangeWidgetRequest) SetIncreaseGood ¶

func (o *ChangeWidgetRequest) SetIncreaseGood(v bool)

SetIncreaseGood gets a reference to the given bool and assigns it to the IncreaseGood field.

func (*ChangeWidgetRequest) SetLogQuery ¶

func (o *ChangeWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*ChangeWidgetRequest) SetNetworkQuery ¶

func (o *ChangeWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*ChangeWidgetRequest) SetOrderBy ¶

func (o *ChangeWidgetRequest) SetOrderBy(v WidgetOrderBy)

SetOrderBy gets a reference to the given WidgetOrderBy and assigns it to the OrderBy field.

func (*ChangeWidgetRequest) SetOrderDir ¶

func (o *ChangeWidgetRequest) SetOrderDir(v WidgetSort)

SetOrderDir gets a reference to the given WidgetSort and assigns it to the OrderDir field.

func (*ChangeWidgetRequest) SetProcessQuery ¶

func (o *ChangeWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*ChangeWidgetRequest) SetProfileMetricsQuery ¶

func (o *ChangeWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*ChangeWidgetRequest) SetQ ¶

func (o *ChangeWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*ChangeWidgetRequest) SetQueries ¶ added in v1.7.0

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*ChangeWidgetRequest) SetResponseFormat ¶ added in v1.7.0

func (o *ChangeWidgetRequest) SetResponseFormat(v FormulaAndFunctionResponseFormat)

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*ChangeWidgetRequest) SetRumQuery ¶

func (o *ChangeWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*ChangeWidgetRequest) SetSecurityQuery ¶

func (o *ChangeWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*ChangeWidgetRequest) SetShowPresent ¶

func (o *ChangeWidgetRequest) SetShowPresent(v bool)

SetShowPresent gets a reference to the given bool and assigns it to the ShowPresent field.

func (*ChangeWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *ChangeWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CheckCanDeleteMonitorResponse ¶

type CheckCanDeleteMonitorResponse struct {
	// Wrapper object with the list of monitor IDs.
	Data CheckCanDeleteMonitorResponseData `json:"data"`
	// A mapping of Monitor ID to strings denoting where it's used.
	Errors map[string][]string `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CheckCanDeleteMonitorResponse Response of monitor IDs that can or can't be safely deleted.

func NewCheckCanDeleteMonitorResponse ¶

func NewCheckCanDeleteMonitorResponse(data CheckCanDeleteMonitorResponseData) *CheckCanDeleteMonitorResponse

NewCheckCanDeleteMonitorResponse instantiates a new CheckCanDeleteMonitorResponse 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 NewCheckCanDeleteMonitorResponseWithDefaults ¶

func NewCheckCanDeleteMonitorResponseWithDefaults() *CheckCanDeleteMonitorResponse

NewCheckCanDeleteMonitorResponseWithDefaults instantiates a new CheckCanDeleteMonitorResponse 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 (*CheckCanDeleteMonitorResponse) GetData ¶

GetData returns the Data field value.

func (*CheckCanDeleteMonitorResponse) GetDataOk ¶

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

func (*CheckCanDeleteMonitorResponse) GetErrors ¶

func (o *CheckCanDeleteMonitorResponse) GetErrors() map[string][]string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*CheckCanDeleteMonitorResponse) GetErrorsOk ¶

func (o *CheckCanDeleteMonitorResponse) GetErrorsOk() (*map[string][]string, bool)

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

func (*CheckCanDeleteMonitorResponse) HasErrors ¶

func (o *CheckCanDeleteMonitorResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (CheckCanDeleteMonitorResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CheckCanDeleteMonitorResponse) SetData ¶

SetData sets field value.

func (*CheckCanDeleteMonitorResponse) SetErrors ¶

func (o *CheckCanDeleteMonitorResponse) SetErrors(v map[string][]string)

SetErrors gets a reference to the given map[string][]string and assigns it to the Errors field.

func (*CheckCanDeleteMonitorResponse) UnmarshalJSON ¶

func (o *CheckCanDeleteMonitorResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CheckCanDeleteMonitorResponseData ¶

type CheckCanDeleteMonitorResponseData struct {
	// An array of of Monitor IDs that can be safely deleted.
	Ok []int64 `json:"ok,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CheckCanDeleteMonitorResponseData Wrapper object with the list of monitor IDs.

func NewCheckCanDeleteMonitorResponseData ¶

func NewCheckCanDeleteMonitorResponseData() *CheckCanDeleteMonitorResponseData

NewCheckCanDeleteMonitorResponseData instantiates a new CheckCanDeleteMonitorResponseData 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 NewCheckCanDeleteMonitorResponseDataWithDefaults ¶

func NewCheckCanDeleteMonitorResponseDataWithDefaults() *CheckCanDeleteMonitorResponseData

NewCheckCanDeleteMonitorResponseDataWithDefaults instantiates a new CheckCanDeleteMonitorResponseData 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 (*CheckCanDeleteMonitorResponseData) GetOk ¶

GetOk returns the Ok field value if set, zero value otherwise.

func (*CheckCanDeleteMonitorResponseData) GetOkOk ¶

func (o *CheckCanDeleteMonitorResponseData) GetOkOk() (*[]int64, bool)

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

func (*CheckCanDeleteMonitorResponseData) HasOk ¶

HasOk returns a boolean if a field has been set.

func (CheckCanDeleteMonitorResponseData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CheckCanDeleteMonitorResponseData) SetOk ¶

SetOk gets a reference to the given []int64 and assigns it to the Ok field.

func (*CheckCanDeleteMonitorResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *CheckCanDeleteMonitorResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CheckCanDeleteSLOResponse ¶

type CheckCanDeleteSLOResponse struct {
	// An array of service level objective objects.
	Data *CheckCanDeleteSLOResponseData `json:"data,omitempty"`
	// A mapping of SLO id to it's current usages.
	Errors map[string]string `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CheckCanDeleteSLOResponse A service level objective response containing the requested object.

func NewCheckCanDeleteSLOResponse ¶

func NewCheckCanDeleteSLOResponse() *CheckCanDeleteSLOResponse

NewCheckCanDeleteSLOResponse instantiates a new CheckCanDeleteSLOResponse 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 NewCheckCanDeleteSLOResponseWithDefaults ¶

func NewCheckCanDeleteSLOResponseWithDefaults() *CheckCanDeleteSLOResponse

NewCheckCanDeleteSLOResponseWithDefaults instantiates a new CheckCanDeleteSLOResponse 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 (*CheckCanDeleteSLOResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*CheckCanDeleteSLOResponse) GetDataOk ¶

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

func (*CheckCanDeleteSLOResponse) GetErrors ¶

func (o *CheckCanDeleteSLOResponse) GetErrors() map[string]string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*CheckCanDeleteSLOResponse) GetErrorsOk ¶

func (o *CheckCanDeleteSLOResponse) GetErrorsOk() (*map[string]string, bool)

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

func (*CheckCanDeleteSLOResponse) HasData ¶

func (o *CheckCanDeleteSLOResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*CheckCanDeleteSLOResponse) HasErrors ¶

func (o *CheckCanDeleteSLOResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (CheckCanDeleteSLOResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CheckCanDeleteSLOResponse) SetData ¶

SetData gets a reference to the given CheckCanDeleteSLOResponseData and assigns it to the Data field.

func (*CheckCanDeleteSLOResponse) SetErrors ¶

func (o *CheckCanDeleteSLOResponse) SetErrors(v map[string]string)

SetErrors gets a reference to the given map[string]string and assigns it to the Errors field.

func (*CheckCanDeleteSLOResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *CheckCanDeleteSLOResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CheckCanDeleteSLOResponseData ¶

type CheckCanDeleteSLOResponseData struct {
	// An array of of SLO IDs that can be safely deleted.
	Ok []string `json:"ok,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CheckCanDeleteSLOResponseData An array of service level objective objects.

func NewCheckCanDeleteSLOResponseData ¶

func NewCheckCanDeleteSLOResponseData() *CheckCanDeleteSLOResponseData

NewCheckCanDeleteSLOResponseData instantiates a new CheckCanDeleteSLOResponseData 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 NewCheckCanDeleteSLOResponseDataWithDefaults ¶

func NewCheckCanDeleteSLOResponseDataWithDefaults() *CheckCanDeleteSLOResponseData

NewCheckCanDeleteSLOResponseDataWithDefaults instantiates a new CheckCanDeleteSLOResponseData 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 (*CheckCanDeleteSLOResponseData) GetOk ¶

GetOk returns the Ok field value if set, zero value otherwise.

func (*CheckCanDeleteSLOResponseData) GetOkOk ¶

func (o *CheckCanDeleteSLOResponseData) GetOkOk() (*[]string, bool)

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

func (*CheckCanDeleteSLOResponseData) HasOk ¶

HasOk returns a boolean if a field has been set.

func (CheckCanDeleteSLOResponseData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CheckCanDeleteSLOResponseData) SetOk ¶

func (o *CheckCanDeleteSLOResponseData) SetOk(v []string)

SetOk gets a reference to the given []string and assigns it to the Ok field.

func (*CheckCanDeleteSLOResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *CheckCanDeleteSLOResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CheckStatusWidgetDefinition ¶

type CheckStatusWidgetDefinition struct {
	// Name of the check to use in the widget.
	Check string `json:"check"`
	// Group reporting a single check.
	Group *string `json:"group,omitempty"`
	// List of tag prefixes to group by in the case of a cluster check.
	GroupBy []string `json:"group_by,omitempty"`
	// The kind of grouping to use.
	Grouping WidgetGrouping `json:"grouping"`
	// List of tags used to filter the groups reporting a cluster check.
	Tags []string `json:"tags,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the check status widget.
	Type CheckStatusWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CheckStatusWidgetDefinition Check status shows the current status or number of results for any check performed.

func NewCheckStatusWidgetDefinition ¶

func NewCheckStatusWidgetDefinition(check string, grouping WidgetGrouping, typeVar CheckStatusWidgetDefinitionType) *CheckStatusWidgetDefinition

NewCheckStatusWidgetDefinition instantiates a new CheckStatusWidgetDefinition 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 NewCheckStatusWidgetDefinitionWithDefaults ¶

func NewCheckStatusWidgetDefinitionWithDefaults() *CheckStatusWidgetDefinition

NewCheckStatusWidgetDefinitionWithDefaults instantiates a new CheckStatusWidgetDefinition 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 (*CheckStatusWidgetDefinition) GetCheck ¶

func (o *CheckStatusWidgetDefinition) GetCheck() string

GetCheck returns the Check field value.

func (*CheckStatusWidgetDefinition) GetCheckOk ¶

func (o *CheckStatusWidgetDefinition) GetCheckOk() (*string, bool)

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

func (*CheckStatusWidgetDefinition) GetGroup ¶

func (o *CheckStatusWidgetDefinition) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*CheckStatusWidgetDefinition) GetGroupBy ¶

func (o *CheckStatusWidgetDefinition) GetGroupBy() []string

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*CheckStatusWidgetDefinition) GetGroupByOk ¶

func (o *CheckStatusWidgetDefinition) GetGroupByOk() (*[]string, bool)

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

func (*CheckStatusWidgetDefinition) GetGroupOk ¶

func (o *CheckStatusWidgetDefinition) GetGroupOk() (*string, bool)

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

func (*CheckStatusWidgetDefinition) GetGrouping ¶

GetGrouping returns the Grouping field value.

func (*CheckStatusWidgetDefinition) GetGroupingOk ¶

func (o *CheckStatusWidgetDefinition) GetGroupingOk() (*WidgetGrouping, bool)

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

func (*CheckStatusWidgetDefinition) GetTags ¶

func (o *CheckStatusWidgetDefinition) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CheckStatusWidgetDefinition) GetTagsOk ¶

func (o *CheckStatusWidgetDefinition) GetTagsOk() (*[]string, bool)

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

func (*CheckStatusWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*CheckStatusWidgetDefinition) GetTimeOk ¶

func (o *CheckStatusWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*CheckStatusWidgetDefinition) GetTitle ¶

func (o *CheckStatusWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*CheckStatusWidgetDefinition) GetTitleAlign ¶

func (o *CheckStatusWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*CheckStatusWidgetDefinition) GetTitleAlignOk ¶

func (o *CheckStatusWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*CheckStatusWidgetDefinition) GetTitleOk ¶

func (o *CheckStatusWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*CheckStatusWidgetDefinition) GetTitleSize ¶

func (o *CheckStatusWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*CheckStatusWidgetDefinition) GetTitleSizeOk ¶

func (o *CheckStatusWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*CheckStatusWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*CheckStatusWidgetDefinition) GetTypeOk ¶

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

func (*CheckStatusWidgetDefinition) HasGroup ¶

func (o *CheckStatusWidgetDefinition) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*CheckStatusWidgetDefinition) HasGroupBy ¶

func (o *CheckStatusWidgetDefinition) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*CheckStatusWidgetDefinition) HasTags ¶

func (o *CheckStatusWidgetDefinition) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CheckStatusWidgetDefinition) HasTime ¶

func (o *CheckStatusWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*CheckStatusWidgetDefinition) HasTitle ¶

func (o *CheckStatusWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*CheckStatusWidgetDefinition) HasTitleAlign ¶

func (o *CheckStatusWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*CheckStatusWidgetDefinition) HasTitleSize ¶

func (o *CheckStatusWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (CheckStatusWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*CheckStatusWidgetDefinition) SetCheck ¶

func (o *CheckStatusWidgetDefinition) SetCheck(v string)

SetCheck sets field value.

func (*CheckStatusWidgetDefinition) SetGroup ¶

func (o *CheckStatusWidgetDefinition) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*CheckStatusWidgetDefinition) SetGroupBy ¶

func (o *CheckStatusWidgetDefinition) SetGroupBy(v []string)

SetGroupBy gets a reference to the given []string and assigns it to the GroupBy field.

func (*CheckStatusWidgetDefinition) SetGrouping ¶

func (o *CheckStatusWidgetDefinition) SetGrouping(v WidgetGrouping)

SetGrouping sets field value.

func (*CheckStatusWidgetDefinition) SetTags ¶

func (o *CheckStatusWidgetDefinition) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CheckStatusWidgetDefinition) SetTime ¶

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*CheckStatusWidgetDefinition) SetTitle ¶

func (o *CheckStatusWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*CheckStatusWidgetDefinition) SetTitleAlign ¶

func (o *CheckStatusWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*CheckStatusWidgetDefinition) SetTitleSize ¶

func (o *CheckStatusWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*CheckStatusWidgetDefinition) SetType ¶

SetType sets field value.

func (*CheckStatusWidgetDefinition) UnmarshalJSON ¶

func (o *CheckStatusWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type CheckStatusWidgetDefinitionType ¶

type CheckStatusWidgetDefinitionType string

CheckStatusWidgetDefinitionType Type of the check status widget.

const (
	CHECKSTATUSWIDGETDEFINITIONTYPE_CHECK_STATUS CheckStatusWidgetDefinitionType = "check_status"
)

List of CheckStatusWidgetDefinitionType.

func NewCheckStatusWidgetDefinitionTypeFromValue ¶

func NewCheckStatusWidgetDefinitionTypeFromValue(v string) (*CheckStatusWidgetDefinitionType, error)

NewCheckStatusWidgetDefinitionTypeFromValue returns a pointer to a valid CheckStatusWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*CheckStatusWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (CheckStatusWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (CheckStatusWidgetDefinitionType) Ptr ¶

Ptr returns reference to CheckStatusWidgetDefinitionType value.

func (*CheckStatusWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

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"`
	Compress         bool              `json:"compress,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
	// contains filtered or unexported fields
}

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) GetUnstableOperations ¶

func (c *Configuration) GetUnstableOperations() []string

GetUnstableOperations returns a slice with all unstable operation Ids.

func (*Configuration) IsUnstableOperation ¶

func (c *Configuration) IsUnstableOperation(operation string) bool

IsUnstableOperation determines whether an operation is an unstable operation. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo".

func (*Configuration) IsUnstableOperationEnabled ¶

func (c *Configuration) IsUnstableOperationEnabled(operation string) bool

IsUnstableOperationEnabled determines whether an unstable operation is enabled. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is unstable and it is enabled, false otherwise.

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.

func (*Configuration) SetUnstableOperationEnabled ¶

func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool

SetUnstableOperationEnabled sets an unstable operation as enabled (true) or disabled (false). This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is marked as unstable and thus was enabled/disabled, false otherwise.

type ContentEncoding ¶

type ContentEncoding string

ContentEncoding HTTP header used to compress the media-type.

const (
	CONTENTENCODING_GZIP    ContentEncoding = "gzip"
	CONTENTENCODING_DEFLATE ContentEncoding = "deflate"
)

List of ContentEncoding.

func NewContentEncodingFromValue ¶

func NewContentEncodingFromValue(v string) (*ContentEncoding, error)

NewContentEncodingFromValue returns a pointer to a valid ContentEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ContentEncoding) GetAllowedValues ¶ added in v1.1.0

func (v *ContentEncoding) GetAllowedValues() []ContentEncoding

GetAllowedValues reeturns the list of possible values.

func (ContentEncoding) IsValid ¶

func (v ContentEncoding) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ContentEncoding) Ptr ¶

Ptr returns reference to ContentEncoding value.

func (*ContentEncoding) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type CreateHostTagsOptionalParameters ¶

type CreateHostTagsOptionalParameters struct {
	Source *string
}

CreateHostTagsOptionalParameters holds optional parameters for CreateHostTags.

func NewCreateHostTagsOptionalParameters ¶

func NewCreateHostTagsOptionalParameters() *CreateHostTagsOptionalParameters

NewCreateHostTagsOptionalParameters creates an empty struct for parameters.

func (*CreateHostTagsOptionalParameters) WithSource ¶

WithSource sets the corresponding parameter name and returns the struct.

type Creator ¶

type Creator struct {
	// Email of the creator.
	Email *string `json:"email,omitempty"`
	// Handle of the creator.
	Handle *string `json:"handle,omitempty"`
	// Name of the creator.
	Name NullableString `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Creator Object describing the creator of the shared element.

func NewCreator ¶

func NewCreator() *Creator

NewCreator instantiates a new Creator 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 NewCreatorWithDefaults ¶

func NewCreatorWithDefaults() *Creator

NewCreatorWithDefaults instantiates a new Creator 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 (*Creator) GetEmail ¶

func (o *Creator) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Creator) GetEmailOk ¶

func (o *Creator) GetEmailOk() (*string, bool)

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

func (*Creator) GetHandle ¶

func (o *Creator) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*Creator) GetHandleOk ¶

func (o *Creator) GetHandleOk() (*string, bool)

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

func (*Creator) GetName ¶

func (o *Creator) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Creator) GetNameOk ¶

func (o *Creator) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Creator) HasEmail ¶

func (o *Creator) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Creator) HasHandle ¶

func (o *Creator) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Creator) HasName ¶

func (o *Creator) HasName() bool

HasName returns a boolean if a field has been set.

func (Creator) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*Creator) SetEmail ¶

func (o *Creator) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Creator) SetHandle ¶

func (o *Creator) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*Creator) SetName ¶

func (o *Creator) SetName(v string)

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

func (*Creator) SetNameNil ¶ added in v1.5.0

func (o *Creator) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil.

func (*Creator) UnmarshalJSON ¶ added in v1.3.0

func (o *Creator) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*Creator) UnsetName ¶ added in v1.5.0

func (o *Creator) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil.

type Dashboard ¶

type Dashboard struct {
	// Identifier of the dashboard author.
	AuthorHandle *string `json:"author_handle,omitempty"`
	// Name of the dashboard author.
	AuthorName NullableString `json:"author_name,omitempty"`
	// Creation date of the dashboard.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Description of the dashboard.
	Description NullableString `json:"description,omitempty"`
	// ID of the dashboard.
	Id *string `json:"id,omitempty"`
	// Whether this dashboard is read-only. If True, only the author and admins can make changes to it. Prefer using `restricted_roles` to manage write authorization.
	// Deprecated
	IsReadOnly *bool `json:"is_read_only,omitempty"`
	// Layout type of the dashboard.
	LayoutType DashboardLayoutType `json:"layout_type"`
	// Modification date of the dashboard.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// List of handles of users to notify when changes are made to this dashboard.
	NotifyList []string `json:"notify_list,omitempty"`
	// Reflow type for a **new dashboard layout** dashboard. Set this only when layout type is 'ordered'.
	// If set to 'fixed', the dashboard expects all widgets to have a layout, and if it's set to 'auto',
	// widgets should not have layouts.
	ReflowType *DashboardReflowType `json:"reflow_type,omitempty"`
	// A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
	RestrictedRoles []string `json:"restricted_roles,omitempty"`
	// Array of template variables saved views.
	TemplateVariablePresets []DashboardTemplateVariablePreset `json:"template_variable_presets,omitempty"`
	// List of template variables for this dashboard.
	TemplateVariables []DashboardTemplateVariable `json:"template_variables,omitempty"`
	// Title of the dashboard.
	Title string `json:"title"`
	// The URL of the dashboard.
	Url *string `json:"url,omitempty"`
	// List of widgets to display on the dashboard.
	Widgets []Widget `json:"widgets"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Dashboard A dashboard is Datadog’s tool for visually tracking, analyzing, and displaying key performance metrics, which enable you to monitor the health of your infrastructure.

func NewDashboard ¶

func NewDashboard(layoutType DashboardLayoutType, title string, widgets []Widget) *Dashboard

NewDashboard instantiates a new Dashboard 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 NewDashboardWithDefaults ¶

func NewDashboardWithDefaults() *Dashboard

NewDashboardWithDefaults instantiates a new Dashboard 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 (*Dashboard) GetAuthorHandle ¶

func (o *Dashboard) GetAuthorHandle() string

GetAuthorHandle returns the AuthorHandle field value if set, zero value otherwise.

func (*Dashboard) GetAuthorHandleOk ¶

func (o *Dashboard) GetAuthorHandleOk() (*string, bool)

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

func (*Dashboard) GetAuthorName ¶ added in v1.8.0

func (o *Dashboard) GetAuthorName() string

GetAuthorName returns the AuthorName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Dashboard) GetAuthorNameOk ¶ added in v1.8.0

func (o *Dashboard) GetAuthorNameOk() (*string, bool)

GetAuthorNameOk returns a tuple with the AuthorName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Dashboard) GetCreatedAt ¶

func (o *Dashboard) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Dashboard) GetCreatedAtOk ¶

func (o *Dashboard) GetCreatedAtOk() (*time.Time, bool)

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

func (*Dashboard) GetDescription ¶

func (o *Dashboard) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Dashboard) GetDescriptionOk ¶

func (o *Dashboard) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Dashboard) GetId ¶

func (o *Dashboard) GetId() string

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

func (*Dashboard) GetIdOk ¶

func (o *Dashboard) 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 (*Dashboard) GetIsReadOnly ¶

func (o *Dashboard) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field value if set, zero value otherwise. Deprecated

func (*Dashboard) GetIsReadOnlyOk ¶

func (o *Dashboard) GetIsReadOnlyOk() (*bool, bool)

GetIsReadOnlyOk returns a tuple with the IsReadOnly field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*Dashboard) GetLayoutType ¶

func (o *Dashboard) GetLayoutType() DashboardLayoutType

GetLayoutType returns the LayoutType field value.

func (*Dashboard) GetLayoutTypeOk ¶

func (o *Dashboard) GetLayoutTypeOk() (*DashboardLayoutType, bool)

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

func (*Dashboard) GetModifiedAt ¶

func (o *Dashboard) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*Dashboard) GetModifiedAtOk ¶

func (o *Dashboard) GetModifiedAtOk() (*time.Time, bool)

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

func (*Dashboard) GetNotifyList ¶

func (o *Dashboard) GetNotifyList() []string

GetNotifyList returns the NotifyList field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Dashboard) GetNotifyListOk ¶

func (o *Dashboard) GetNotifyListOk() (*[]string, bool)

GetNotifyListOk returns a tuple with the NotifyList field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Dashboard) GetReflowType ¶

func (o *Dashboard) GetReflowType() DashboardReflowType

GetReflowType returns the ReflowType field value if set, zero value otherwise.

func (*Dashboard) GetReflowTypeOk ¶

func (o *Dashboard) GetReflowTypeOk() (*DashboardReflowType, bool)

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

func (*Dashboard) GetRestrictedRoles ¶ added in v1.1.0

func (o *Dashboard) GetRestrictedRoles() []string

GetRestrictedRoles returns the RestrictedRoles field value if set, zero value otherwise.

func (*Dashboard) GetRestrictedRolesOk ¶ added in v1.1.0

func (o *Dashboard) GetRestrictedRolesOk() (*[]string, bool)

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

func (*Dashboard) GetTemplateVariablePresets ¶

func (o *Dashboard) GetTemplateVariablePresets() []DashboardTemplateVariablePreset

GetTemplateVariablePresets returns the TemplateVariablePresets field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Dashboard) GetTemplateVariablePresetsOk ¶

func (o *Dashboard) GetTemplateVariablePresetsOk() (*[]DashboardTemplateVariablePreset, bool)

GetTemplateVariablePresetsOk returns a tuple with the TemplateVariablePresets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Dashboard) GetTemplateVariables ¶

func (o *Dashboard) GetTemplateVariables() []DashboardTemplateVariable

GetTemplateVariables returns the TemplateVariables field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Dashboard) GetTemplateVariablesOk ¶

func (o *Dashboard) GetTemplateVariablesOk() (*[]DashboardTemplateVariable, bool)

GetTemplateVariablesOk returns a tuple with the TemplateVariables field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Dashboard) GetTitle ¶

func (o *Dashboard) GetTitle() string

GetTitle returns the Title field value.

func (*Dashboard) GetTitleOk ¶

func (o *Dashboard) GetTitleOk() (*string, bool)

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

func (*Dashboard) GetUrl ¶

func (o *Dashboard) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Dashboard) GetUrlOk ¶

func (o *Dashboard) GetUrlOk() (*string, bool)

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

func (*Dashboard) GetWidgets ¶

func (o *Dashboard) GetWidgets() []Widget

GetWidgets returns the Widgets field value.

func (*Dashboard) GetWidgetsOk ¶

func (o *Dashboard) GetWidgetsOk() (*[]Widget, bool)

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

func (*Dashboard) HasAuthorHandle ¶

func (o *Dashboard) HasAuthorHandle() bool

HasAuthorHandle returns a boolean if a field has been set.

func (*Dashboard) HasAuthorName ¶ added in v1.8.0

func (o *Dashboard) HasAuthorName() bool

HasAuthorName returns a boolean if a field has been set.

func (*Dashboard) HasCreatedAt ¶

func (o *Dashboard) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Dashboard) HasDescription ¶

func (o *Dashboard) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Dashboard) HasId ¶

func (o *Dashboard) HasId() bool

HasId returns a boolean if a field has been set.

func (*Dashboard) HasIsReadOnly ¶

func (o *Dashboard) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*Dashboard) HasModifiedAt ¶

func (o *Dashboard) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*Dashboard) HasNotifyList ¶

func (o *Dashboard) HasNotifyList() bool

HasNotifyList returns a boolean if a field has been set.

func (*Dashboard) HasReflowType ¶

func (o *Dashboard) HasReflowType() bool

HasReflowType returns a boolean if a field has been set.

func (*Dashboard) HasRestrictedRoles ¶ added in v1.1.0

func (o *Dashboard) HasRestrictedRoles() bool

HasRestrictedRoles returns a boolean if a field has been set.

func (*Dashboard) HasTemplateVariablePresets ¶

func (o *Dashboard) HasTemplateVariablePresets() bool

HasTemplateVariablePresets returns a boolean if a field has been set.

func (*Dashboard) HasTemplateVariables ¶

func (o *Dashboard) HasTemplateVariables() bool

HasTemplateVariables returns a boolean if a field has been set.

func (*Dashboard) HasUrl ¶

func (o *Dashboard) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Dashboard) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*Dashboard) SetAuthorHandle ¶

func (o *Dashboard) SetAuthorHandle(v string)

SetAuthorHandle gets a reference to the given string and assigns it to the AuthorHandle field.

func (*Dashboard) SetAuthorName ¶ added in v1.8.0

func (o *Dashboard) SetAuthorName(v string)

SetAuthorName gets a reference to the given NullableString and assigns it to the AuthorName field.

func (*Dashboard) SetAuthorNameNil ¶ added in v1.8.0

func (o *Dashboard) SetAuthorNameNil()

SetAuthorNameNil sets the value for AuthorName to be an explicit nil.

func (*Dashboard) SetCreatedAt ¶

func (o *Dashboard) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Dashboard) SetDescription ¶

func (o *Dashboard) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Dashboard) SetDescriptionNil ¶

func (o *Dashboard) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil.

func (*Dashboard) SetId ¶

func (o *Dashboard) SetId(v string)

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

func (*Dashboard) SetIsReadOnly ¶

func (o *Dashboard) SetIsReadOnly(v bool)

SetIsReadOnly gets a reference to the given bool and assigns it to the IsReadOnly field. Deprecated

func (*Dashboard) SetLayoutType ¶

func (o *Dashboard) SetLayoutType(v DashboardLayoutType)

SetLayoutType sets field value.

func (*Dashboard) SetModifiedAt ¶

func (o *Dashboard) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*Dashboard) SetNotifyList ¶

func (o *Dashboard) SetNotifyList(v []string)

SetNotifyList gets a reference to the given []string and assigns it to the NotifyList field.

func (*Dashboard) SetReflowType ¶

func (o *Dashboard) SetReflowType(v DashboardReflowType)

SetReflowType gets a reference to the given DashboardReflowType and assigns it to the ReflowType field.

func (*Dashboard) SetRestrictedRoles ¶ added in v1.1.0

func (o *Dashboard) SetRestrictedRoles(v []string)

SetRestrictedRoles gets a reference to the given []string and assigns it to the RestrictedRoles field.

func (*Dashboard) SetTemplateVariablePresets ¶

func (o *Dashboard) SetTemplateVariablePresets(v []DashboardTemplateVariablePreset)

SetTemplateVariablePresets gets a reference to the given []DashboardTemplateVariablePreset and assigns it to the TemplateVariablePresets field.

func (*Dashboard) SetTemplateVariables ¶

func (o *Dashboard) SetTemplateVariables(v []DashboardTemplateVariable)

SetTemplateVariables gets a reference to the given []DashboardTemplateVariable and assigns it to the TemplateVariables field.

func (*Dashboard) SetTitle ¶

func (o *Dashboard) SetTitle(v string)

SetTitle sets field value.

func (*Dashboard) SetUrl ¶

func (o *Dashboard) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*Dashboard) SetWidgets ¶

func (o *Dashboard) SetWidgets(v []Widget)

SetWidgets sets field value.

func (*Dashboard) UnmarshalJSON ¶

func (o *Dashboard) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*Dashboard) UnsetAuthorName ¶ added in v1.8.0

func (o *Dashboard) UnsetAuthorName()

UnsetAuthorName ensures that no value is present for AuthorName, not even an explicit nil.

func (*Dashboard) UnsetDescription ¶

func (o *Dashboard) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil.

type DashboardBulkActionData ¶ added in v1.3.0

type DashboardBulkActionData struct {
	// Dashboard resource ID.
	Id string `json:"id"`
	// Dashboard resource type.
	Type DashboardResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardBulkActionData Dashboard bulk action request data.

func NewDashboardBulkActionData ¶ added in v1.3.0

func NewDashboardBulkActionData(id string, typeVar DashboardResourceType) *DashboardBulkActionData

NewDashboardBulkActionData instantiates a new DashboardBulkActionData 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 NewDashboardBulkActionDataWithDefaults ¶ added in v1.3.0

func NewDashboardBulkActionDataWithDefaults() *DashboardBulkActionData

NewDashboardBulkActionDataWithDefaults instantiates a new DashboardBulkActionData 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 (*DashboardBulkActionData) GetId ¶ added in v1.3.0

func (o *DashboardBulkActionData) GetId() string

GetId returns the Id field value.

func (*DashboardBulkActionData) GetIdOk ¶ added in v1.3.0

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

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

func (*DashboardBulkActionData) GetType ¶ added in v1.3.0

GetType returns the Type field value.

func (*DashboardBulkActionData) GetTypeOk ¶ added in v1.3.0

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

func (DashboardBulkActionData) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardBulkActionData) SetId ¶ added in v1.3.0

func (o *DashboardBulkActionData) SetId(v string)

SetId sets field value.

func (*DashboardBulkActionData) SetType ¶ added in v1.3.0

SetType sets field value.

func (*DashboardBulkActionData) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardBulkActionData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardBulkDeleteRequest ¶ added in v1.3.0

type DashboardBulkDeleteRequest struct {
	// List of dashboard bulk action request data objects.
	Data []DashboardBulkActionData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardBulkDeleteRequest Dashboard bulk delete request body.

func NewDashboardBulkDeleteRequest ¶ added in v1.3.0

func NewDashboardBulkDeleteRequest(data []DashboardBulkActionData) *DashboardBulkDeleteRequest

NewDashboardBulkDeleteRequest instantiates a new DashboardBulkDeleteRequest 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 NewDashboardBulkDeleteRequestWithDefaults ¶ added in v1.3.0

func NewDashboardBulkDeleteRequestWithDefaults() *DashboardBulkDeleteRequest

NewDashboardBulkDeleteRequestWithDefaults instantiates a new DashboardBulkDeleteRequest 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 (*DashboardBulkDeleteRequest) GetData ¶ added in v1.3.0

GetData returns the Data field value.

func (*DashboardBulkDeleteRequest) GetDataOk ¶ added in v1.3.0

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

func (DashboardBulkDeleteRequest) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardBulkDeleteRequest) SetData ¶ added in v1.3.0

SetData sets field value.

func (*DashboardBulkDeleteRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardBulkDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardDeleteResponse ¶

type DashboardDeleteResponse struct {
	// ID of the deleted dashboard.
	DeletedDashboardId *string `json:"deleted_dashboard_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardDeleteResponse Response from the delete dashboard call.

func NewDashboardDeleteResponse ¶

func NewDashboardDeleteResponse() *DashboardDeleteResponse

NewDashboardDeleteResponse instantiates a new DashboardDeleteResponse 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 NewDashboardDeleteResponseWithDefaults ¶

func NewDashboardDeleteResponseWithDefaults() *DashboardDeleteResponse

NewDashboardDeleteResponseWithDefaults instantiates a new DashboardDeleteResponse 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 (*DashboardDeleteResponse) GetDeletedDashboardId ¶

func (o *DashboardDeleteResponse) GetDeletedDashboardId() string

GetDeletedDashboardId returns the DeletedDashboardId field value if set, zero value otherwise.

func (*DashboardDeleteResponse) GetDeletedDashboardIdOk ¶

func (o *DashboardDeleteResponse) GetDeletedDashboardIdOk() (*string, bool)

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

func (*DashboardDeleteResponse) HasDeletedDashboardId ¶

func (o *DashboardDeleteResponse) HasDeletedDashboardId() bool

HasDeletedDashboardId returns a boolean if a field has been set.

func (DashboardDeleteResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardDeleteResponse) SetDeletedDashboardId ¶

func (o *DashboardDeleteResponse) SetDeletedDashboardId(v string)

SetDeletedDashboardId gets a reference to the given string and assigns it to the DeletedDashboardId field.

func (*DashboardDeleteResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardDeleteResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardLayoutType ¶

type DashboardLayoutType string

DashboardLayoutType Layout type of the dashboard.

const (
	DASHBOARDLAYOUTTYPE_ORDERED DashboardLayoutType = "ordered"
	DASHBOARDLAYOUTTYPE_FREE    DashboardLayoutType = "free"
)

List of DashboardLayoutType.

func NewDashboardLayoutTypeFromValue ¶

func NewDashboardLayoutTypeFromValue(v string) (*DashboardLayoutType, error)

NewDashboardLayoutTypeFromValue returns a pointer to a valid DashboardLayoutType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*DashboardLayoutType) GetAllowedValues ¶ added in v1.1.0

func (v *DashboardLayoutType) GetAllowedValues() []DashboardLayoutType

GetAllowedValues reeturns the list of possible values.

func (DashboardLayoutType) IsValid ¶

func (v DashboardLayoutType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (DashboardLayoutType) Ptr ¶

Ptr returns reference to DashboardLayoutType value.

func (*DashboardLayoutType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type DashboardList ¶

type DashboardList struct {
	// Object describing the creator of the shared element.
	Author *Creator `json:"author,omitempty"`
	// Date of creation of the dashboard list.
	Created *time.Time `json:"created,omitempty"`
	// The number of dashboards in the list.
	DashboardCount *int64 `json:"dashboard_count,omitempty"`
	// The ID of the dashboard list.
	Id *int64 `json:"id,omitempty"`
	// Whether or not the list is in the favorites.
	IsFavorite *bool `json:"is_favorite,omitempty"`
	// Date of last edition of the dashboard list.
	Modified *time.Time `json:"modified,omitempty"`
	// The name of the dashboard list.
	Name string `json:"name"`
	// The type of dashboard list.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardList Your Datadog Dashboards.

func NewDashboardList ¶

func NewDashboardList(name string) *DashboardList

NewDashboardList instantiates a new DashboardList 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 NewDashboardListWithDefaults ¶

func NewDashboardListWithDefaults() *DashboardList

NewDashboardListWithDefaults instantiates a new DashboardList 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 (*DashboardList) GetAuthor ¶

func (o *DashboardList) GetAuthor() Creator

GetAuthor returns the Author field value if set, zero value otherwise.

func (*DashboardList) GetAuthorOk ¶

func (o *DashboardList) GetAuthorOk() (*Creator, bool)

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

func (*DashboardList) GetCreated ¶

func (o *DashboardList) GetCreated() time.Time

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

func (*DashboardList) GetCreatedOk ¶

func (o *DashboardList) GetCreatedOk() (*time.Time, 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 (*DashboardList) GetDashboardCount ¶

func (o *DashboardList) GetDashboardCount() int64

GetDashboardCount returns the DashboardCount field value if set, zero value otherwise.

func (*DashboardList) GetDashboardCountOk ¶

func (o *DashboardList) GetDashboardCountOk() (*int64, bool)

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

func (*DashboardList) GetId ¶

func (o *DashboardList) GetId() int64

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

func (*DashboardList) GetIdOk ¶

func (o *DashboardList) GetIdOk() (*int64, 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 (*DashboardList) GetIsFavorite ¶

func (o *DashboardList) GetIsFavorite() bool

GetIsFavorite returns the IsFavorite field value if set, zero value otherwise.

func (*DashboardList) GetIsFavoriteOk ¶

func (o *DashboardList) GetIsFavoriteOk() (*bool, bool)

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

func (*DashboardList) GetModified ¶

func (o *DashboardList) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*DashboardList) GetModifiedOk ¶

func (o *DashboardList) GetModifiedOk() (*time.Time, bool)

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

func (*DashboardList) GetName ¶

func (o *DashboardList) GetName() string

GetName returns the Name field value.

func (*DashboardList) GetNameOk ¶

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

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

func (*DashboardList) GetType ¶

func (o *DashboardList) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DashboardList) GetTypeOk ¶

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

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

func (*DashboardList) HasAuthor ¶

func (o *DashboardList) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*DashboardList) HasCreated ¶

func (o *DashboardList) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*DashboardList) HasDashboardCount ¶

func (o *DashboardList) HasDashboardCount() bool

HasDashboardCount returns a boolean if a field has been set.

func (*DashboardList) HasId ¶

func (o *DashboardList) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardList) HasIsFavorite ¶

func (o *DashboardList) HasIsFavorite() bool

HasIsFavorite returns a boolean if a field has been set.

func (*DashboardList) HasModified ¶

func (o *DashboardList) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*DashboardList) HasType ¶

func (o *DashboardList) HasType() bool

HasType returns a boolean if a field has been set.

func (DashboardList) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardList) SetAuthor ¶

func (o *DashboardList) SetAuthor(v Creator)

SetAuthor gets a reference to the given Creator and assigns it to the Author field.

func (*DashboardList) SetCreated ¶

func (o *DashboardList) SetCreated(v time.Time)

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

func (*DashboardList) SetDashboardCount ¶

func (o *DashboardList) SetDashboardCount(v int64)

SetDashboardCount gets a reference to the given int64 and assigns it to the DashboardCount field.

func (*DashboardList) SetId ¶

func (o *DashboardList) SetId(v int64)

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

func (*DashboardList) SetIsFavorite ¶

func (o *DashboardList) SetIsFavorite(v bool)

SetIsFavorite gets a reference to the given bool and assigns it to the IsFavorite field.

func (*DashboardList) SetModified ¶

func (o *DashboardList) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*DashboardList) SetName ¶

func (o *DashboardList) SetName(v string)

SetName sets field value.

func (*DashboardList) SetType ¶

func (o *DashboardList) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*DashboardList) UnmarshalJSON ¶

func (o *DashboardList) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListDeleteResponse ¶

type DashboardListDeleteResponse struct {
	// ID of the deleted dashboard list.
	DeletedDashboardListId *int64 `json:"deleted_dashboard_list_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListDeleteResponse Deleted dashboard details.

func NewDashboardListDeleteResponse ¶

func NewDashboardListDeleteResponse() *DashboardListDeleteResponse

NewDashboardListDeleteResponse instantiates a new DashboardListDeleteResponse 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 NewDashboardListDeleteResponseWithDefaults ¶

func NewDashboardListDeleteResponseWithDefaults() *DashboardListDeleteResponse

NewDashboardListDeleteResponseWithDefaults instantiates a new DashboardListDeleteResponse 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 (*DashboardListDeleteResponse) GetDeletedDashboardListId ¶

func (o *DashboardListDeleteResponse) GetDeletedDashboardListId() int64

GetDeletedDashboardListId returns the DeletedDashboardListId field value if set, zero value otherwise.

func (*DashboardListDeleteResponse) GetDeletedDashboardListIdOk ¶

func (o *DashboardListDeleteResponse) GetDeletedDashboardListIdOk() (*int64, bool)

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

func (*DashboardListDeleteResponse) HasDeletedDashboardListId ¶

func (o *DashboardListDeleteResponse) HasDeletedDashboardListId() bool

HasDeletedDashboardListId returns a boolean if a field has been set.

func (DashboardListDeleteResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListDeleteResponse) SetDeletedDashboardListId ¶

func (o *DashboardListDeleteResponse) SetDeletedDashboardListId(v int64)

SetDeletedDashboardListId gets a reference to the given int64 and assigns it to the DeletedDashboardListId field.

func (*DashboardListDeleteResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListDeleteResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListListResponse ¶

type DashboardListListResponse struct {
	// List of all your dashboard lists.
	DashboardLists []DashboardList `json:"dashboard_lists,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardListListResponse Information on your dashboard lists.

func NewDashboardListListResponse ¶

func NewDashboardListListResponse() *DashboardListListResponse

NewDashboardListListResponse instantiates a new DashboardListListResponse 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 NewDashboardListListResponseWithDefaults ¶

func NewDashboardListListResponseWithDefaults() *DashboardListListResponse

NewDashboardListListResponseWithDefaults instantiates a new DashboardListListResponse 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 (*DashboardListListResponse) GetDashboardLists ¶

func (o *DashboardListListResponse) GetDashboardLists() []DashboardList

GetDashboardLists returns the DashboardLists field value if set, zero value otherwise.

func (*DashboardListListResponse) GetDashboardListsOk ¶

func (o *DashboardListListResponse) GetDashboardListsOk() (*[]DashboardList, bool)

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

func (*DashboardListListResponse) HasDashboardLists ¶

func (o *DashboardListListResponse) HasDashboardLists() bool

HasDashboardLists returns a boolean if a field has been set.

func (DashboardListListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardListListResponse) SetDashboardLists ¶

func (o *DashboardListListResponse) SetDashboardLists(v []DashboardList)

SetDashboardLists gets a reference to the given []DashboardList and assigns it to the DashboardLists field.

func (*DashboardListListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardListsApiService ¶

type DashboardListsApiService service

DashboardListsApiService DashboardListsApi service.

func (*DashboardListsApiService) CreateDashboardList ¶

CreateDashboardList Create a dashboard list. Create an empty dashboard list.

func (*DashboardListsApiService) DeleteDashboardList ¶

DeleteDashboardList Delete a dashboard list. Delete a dashboard list.

func (*DashboardListsApiService) GetDashboardList ¶

func (a *DashboardListsApiService) GetDashboardList(ctx _context.Context, listId int64) (DashboardList, *_nethttp.Response, error)

GetDashboardList Get a dashboard list. Fetch an existing dashboard list's definition.

func (*DashboardListsApiService) ListDashboardLists ¶

ListDashboardLists Get all dashboard lists. Fetch all of your existing dashboard list definitions.

func (*DashboardListsApiService) UpdateDashboardList ¶

func (a *DashboardListsApiService) UpdateDashboardList(ctx _context.Context, listId int64, body DashboardList) (DashboardList, *_nethttp.Response, error)

UpdateDashboardList Update a dashboard list. Update the name of a dashboard list.

type DashboardReflowType ¶

type DashboardReflowType string

DashboardReflowType Reflow type for a **new dashboard layout** dashboard. Set this only when layout type is 'ordered'. If set to 'fixed', the dashboard expects all widgets to have a layout, and if it's set to 'auto', widgets should not have layouts.

const (
	DASHBOARDREFLOWTYPE_AUTO  DashboardReflowType = "auto"
	DASHBOARDREFLOWTYPE_FIXED DashboardReflowType = "fixed"
)

List of DashboardReflowType.

func NewDashboardReflowTypeFromValue ¶

func NewDashboardReflowTypeFromValue(v string) (*DashboardReflowType, error)

NewDashboardReflowTypeFromValue returns a pointer to a valid DashboardReflowType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*DashboardReflowType) GetAllowedValues ¶ added in v1.1.0

func (v *DashboardReflowType) GetAllowedValues() []DashboardReflowType

GetAllowedValues reeturns the list of possible values.

func (DashboardReflowType) IsValid ¶

func (v DashboardReflowType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (DashboardReflowType) Ptr ¶

Ptr returns reference to DashboardReflowType value.

func (*DashboardReflowType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type DashboardResourceType ¶ added in v1.3.0

type DashboardResourceType string

DashboardResourceType Dashboard resource type.

const (
	DASHBOARDRESOURCETYPE_DASHBOARD DashboardResourceType = "dashboard"
)

List of DashboardResourceType.

func NewDashboardResourceTypeFromValue ¶ added in v1.3.0

func NewDashboardResourceTypeFromValue(v string) (*DashboardResourceType, error)

NewDashboardResourceTypeFromValue returns a pointer to a valid DashboardResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*DashboardResourceType) GetAllowedValues ¶ added in v1.3.0

func (v *DashboardResourceType) GetAllowedValues() []DashboardResourceType

GetAllowedValues reeturns the list of possible values.

func (DashboardResourceType) IsValid ¶ added in v1.3.0

func (v DashboardResourceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (DashboardResourceType) Ptr ¶ added in v1.3.0

Ptr returns reference to DashboardResourceType value.

func (*DashboardResourceType) UnmarshalJSON ¶ added in v1.3.0

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

UnmarshalJSON deserializes the given payload.

type DashboardRestoreRequest ¶ added in v1.3.0

type DashboardRestoreRequest struct {
	// List of dashboard bulk action request data objects.
	Data []DashboardBulkActionData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardRestoreRequest Dashboard restore request body.

func NewDashboardRestoreRequest ¶ added in v1.3.0

func NewDashboardRestoreRequest(data []DashboardBulkActionData) *DashboardRestoreRequest

NewDashboardRestoreRequest instantiates a new DashboardRestoreRequest 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 NewDashboardRestoreRequestWithDefaults ¶ added in v1.3.0

func NewDashboardRestoreRequestWithDefaults() *DashboardRestoreRequest

NewDashboardRestoreRequestWithDefaults instantiates a new DashboardRestoreRequest 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 (*DashboardRestoreRequest) GetData ¶ added in v1.3.0

GetData returns the Data field value.

func (*DashboardRestoreRequest) GetDataOk ¶ added in v1.3.0

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

func (DashboardRestoreRequest) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardRestoreRequest) SetData ¶ added in v1.3.0

SetData sets field value.

func (*DashboardRestoreRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardRestoreRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardSummary ¶

type DashboardSummary struct {
	// List of dashboard definitions.
	Dashboards []DashboardSummaryDefinition `json:"dashboards,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardSummary Dashboard summary response.

func NewDashboardSummary ¶

func NewDashboardSummary() *DashboardSummary

NewDashboardSummary instantiates a new DashboardSummary 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 NewDashboardSummaryWithDefaults ¶

func NewDashboardSummaryWithDefaults() *DashboardSummary

NewDashboardSummaryWithDefaults instantiates a new DashboardSummary 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 (*DashboardSummary) GetDashboards ¶

func (o *DashboardSummary) GetDashboards() []DashboardSummaryDefinition

GetDashboards returns the Dashboards field value if set, zero value otherwise.

func (*DashboardSummary) GetDashboardsOk ¶

func (o *DashboardSummary) GetDashboardsOk() (*[]DashboardSummaryDefinition, bool)

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

func (*DashboardSummary) HasDashboards ¶

func (o *DashboardSummary) HasDashboards() bool

HasDashboards returns a boolean if a field has been set.

func (DashboardSummary) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardSummary) SetDashboards ¶

func (o *DashboardSummary) SetDashboards(v []DashboardSummaryDefinition)

SetDashboards gets a reference to the given []DashboardSummaryDefinition and assigns it to the Dashboards field.

func (*DashboardSummary) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardSummary) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardSummaryDefinition ¶

type DashboardSummaryDefinition struct {
	// Identifier of the dashboard author.
	AuthorHandle *string `json:"author_handle,omitempty"`
	// Creation date of the dashboard.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Description of the dashboard.
	Description NullableString `json:"description,omitempty"`
	// Dashboard identifier.
	Id *string `json:"id,omitempty"`
	// Whether this dashboard is read-only. If True, only the author and admins can make changes to it.
	IsReadOnly *bool `json:"is_read_only,omitempty"`
	// Layout type of the dashboard.
	LayoutType *DashboardLayoutType `json:"layout_type,omitempty"`
	// Modification date of the dashboard.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Title of the dashboard.
	Title *string `json:"title,omitempty"`
	// URL of the dashboard.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardSummaryDefinition Dashboard definition.

func NewDashboardSummaryDefinition ¶

func NewDashboardSummaryDefinition() *DashboardSummaryDefinition

NewDashboardSummaryDefinition instantiates a new DashboardSummaryDefinition 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 NewDashboardSummaryDefinitionWithDefaults ¶

func NewDashboardSummaryDefinitionWithDefaults() *DashboardSummaryDefinition

NewDashboardSummaryDefinitionWithDefaults instantiates a new DashboardSummaryDefinition 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 (*DashboardSummaryDefinition) GetAuthorHandle ¶

func (o *DashboardSummaryDefinition) GetAuthorHandle() string

GetAuthorHandle returns the AuthorHandle field value if set, zero value otherwise.

func (*DashboardSummaryDefinition) GetAuthorHandleOk ¶

func (o *DashboardSummaryDefinition) GetAuthorHandleOk() (*string, bool)

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

func (*DashboardSummaryDefinition) GetCreatedAt ¶

func (o *DashboardSummaryDefinition) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DashboardSummaryDefinition) GetCreatedAtOk ¶

func (o *DashboardSummaryDefinition) GetCreatedAtOk() (*time.Time, bool)

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

func (*DashboardSummaryDefinition) GetDescription ¶

func (o *DashboardSummaryDefinition) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DashboardSummaryDefinition) GetDescriptionOk ¶

func (o *DashboardSummaryDefinition) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DashboardSummaryDefinition) GetId ¶

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

func (*DashboardSummaryDefinition) GetIdOk ¶

func (o *DashboardSummaryDefinition) 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 (*DashboardSummaryDefinition) GetIsReadOnly ¶

func (o *DashboardSummaryDefinition) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field value if set, zero value otherwise.

func (*DashboardSummaryDefinition) GetIsReadOnlyOk ¶

func (o *DashboardSummaryDefinition) GetIsReadOnlyOk() (*bool, bool)

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

func (*DashboardSummaryDefinition) GetLayoutType ¶

GetLayoutType returns the LayoutType field value if set, zero value otherwise.

func (*DashboardSummaryDefinition) GetLayoutTypeOk ¶

func (o *DashboardSummaryDefinition) GetLayoutTypeOk() (*DashboardLayoutType, bool)

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

func (*DashboardSummaryDefinition) GetModifiedAt ¶

func (o *DashboardSummaryDefinition) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*DashboardSummaryDefinition) GetModifiedAtOk ¶

func (o *DashboardSummaryDefinition) GetModifiedAtOk() (*time.Time, bool)

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

func (*DashboardSummaryDefinition) GetTitle ¶

func (o *DashboardSummaryDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*DashboardSummaryDefinition) GetTitleOk ¶

func (o *DashboardSummaryDefinition) GetTitleOk() (*string, bool)

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

func (*DashboardSummaryDefinition) GetUrl ¶

func (o *DashboardSummaryDefinition) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DashboardSummaryDefinition) GetUrlOk ¶

func (o *DashboardSummaryDefinition) GetUrlOk() (*string, bool)

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

func (*DashboardSummaryDefinition) HasAuthorHandle ¶

func (o *DashboardSummaryDefinition) HasAuthorHandle() bool

HasAuthorHandle returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasCreatedAt ¶

func (o *DashboardSummaryDefinition) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasDescription ¶

func (o *DashboardSummaryDefinition) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasId ¶

func (o *DashboardSummaryDefinition) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasIsReadOnly ¶

func (o *DashboardSummaryDefinition) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasLayoutType ¶

func (o *DashboardSummaryDefinition) HasLayoutType() bool

HasLayoutType returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasModifiedAt ¶

func (o *DashboardSummaryDefinition) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasTitle ¶

func (o *DashboardSummaryDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DashboardSummaryDefinition) HasUrl ¶

func (o *DashboardSummaryDefinition) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DashboardSummaryDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardSummaryDefinition) SetAuthorHandle ¶

func (o *DashboardSummaryDefinition) SetAuthorHandle(v string)

SetAuthorHandle gets a reference to the given string and assigns it to the AuthorHandle field.

func (*DashboardSummaryDefinition) SetCreatedAt ¶

func (o *DashboardSummaryDefinition) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DashboardSummaryDefinition) SetDescription ¶

func (o *DashboardSummaryDefinition) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*DashboardSummaryDefinition) SetDescriptionNil ¶ added in v1.5.0

func (o *DashboardSummaryDefinition) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil.

func (*DashboardSummaryDefinition) SetId ¶

func (o *DashboardSummaryDefinition) SetId(v string)

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

func (*DashboardSummaryDefinition) SetIsReadOnly ¶

func (o *DashboardSummaryDefinition) SetIsReadOnly(v bool)

SetIsReadOnly gets a reference to the given bool and assigns it to the IsReadOnly field.

func (*DashboardSummaryDefinition) SetLayoutType ¶

func (o *DashboardSummaryDefinition) SetLayoutType(v DashboardLayoutType)

SetLayoutType gets a reference to the given DashboardLayoutType and assigns it to the LayoutType field.

func (*DashboardSummaryDefinition) SetModifiedAt ¶

func (o *DashboardSummaryDefinition) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*DashboardSummaryDefinition) SetTitle ¶

func (o *DashboardSummaryDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*DashboardSummaryDefinition) SetUrl ¶

func (o *DashboardSummaryDefinition) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*DashboardSummaryDefinition) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardSummaryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*DashboardSummaryDefinition) UnsetDescription ¶ added in v1.5.0

func (o *DashboardSummaryDefinition) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil.

type DashboardTemplateVariable ¶

type DashboardTemplateVariable struct {
	// The list of values that the template variable drop-down is limited to.
	AvailableValues []string `json:"available_values,omitempty"`
	// The default value for the template variable on dashboard load.
	Default NullableString `json:"default,omitempty"`
	// The name of the variable.
	Name string `json:"name"`
	// The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down.
	Prefix NullableString `json:"prefix,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardTemplateVariable Template variable.

func NewDashboardTemplateVariable ¶

func NewDashboardTemplateVariable(name string) *DashboardTemplateVariable

NewDashboardTemplateVariable instantiates a new DashboardTemplateVariable 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 NewDashboardTemplateVariableWithDefaults ¶

func NewDashboardTemplateVariableWithDefaults() *DashboardTemplateVariable

NewDashboardTemplateVariableWithDefaults instantiates a new DashboardTemplateVariable 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 (*DashboardTemplateVariable) GetAvailableValues ¶ added in v1.4.0

func (o *DashboardTemplateVariable) GetAvailableValues() []string

GetAvailableValues returns the AvailableValues field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DashboardTemplateVariable) GetAvailableValuesOk ¶ added in v1.4.0

func (o *DashboardTemplateVariable) GetAvailableValuesOk() (*[]string, bool)

GetAvailableValuesOk returns a tuple with the AvailableValues field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DashboardTemplateVariable) GetDefault ¶

func (o *DashboardTemplateVariable) GetDefault() string

GetDefault returns the Default field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DashboardTemplateVariable) GetDefaultOk ¶

func (o *DashboardTemplateVariable) GetDefaultOk() (*string, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DashboardTemplateVariable) GetName ¶

func (o *DashboardTemplateVariable) GetName() string

GetName returns the Name field value.

func (*DashboardTemplateVariable) GetNameOk ¶

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

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

func (*DashboardTemplateVariable) GetPrefix ¶

func (o *DashboardTemplateVariable) GetPrefix() string

GetPrefix returns the Prefix field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DashboardTemplateVariable) GetPrefixOk ¶

func (o *DashboardTemplateVariable) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DashboardTemplateVariable) HasAvailableValues ¶ added in v1.4.0

func (o *DashboardTemplateVariable) HasAvailableValues() bool

HasAvailableValues returns a boolean if a field has been set.

func (*DashboardTemplateVariable) HasDefault ¶

func (o *DashboardTemplateVariable) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*DashboardTemplateVariable) HasPrefix ¶

func (o *DashboardTemplateVariable) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (DashboardTemplateVariable) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardTemplateVariable) SetAvailableValues ¶ added in v1.4.0

func (o *DashboardTemplateVariable) SetAvailableValues(v []string)

SetAvailableValues gets a reference to the given []string and assigns it to the AvailableValues field.

func (*DashboardTemplateVariable) SetDefault ¶

func (o *DashboardTemplateVariable) SetDefault(v string)

SetDefault gets a reference to the given NullableString and assigns it to the Default field.

func (*DashboardTemplateVariable) SetDefaultNil ¶

func (o *DashboardTemplateVariable) SetDefaultNil()

SetDefaultNil sets the value for Default to be an explicit nil.

func (*DashboardTemplateVariable) SetName ¶

func (o *DashboardTemplateVariable) SetName(v string)

SetName sets field value.

func (*DashboardTemplateVariable) SetPrefix ¶

func (o *DashboardTemplateVariable) SetPrefix(v string)

SetPrefix gets a reference to the given NullableString and assigns it to the Prefix field.

func (*DashboardTemplateVariable) SetPrefixNil ¶

func (o *DashboardTemplateVariable) SetPrefixNil()

SetPrefixNil sets the value for Prefix to be an explicit nil.

func (*DashboardTemplateVariable) UnmarshalJSON ¶

func (o *DashboardTemplateVariable) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*DashboardTemplateVariable) UnsetDefault ¶

func (o *DashboardTemplateVariable) UnsetDefault()

UnsetDefault ensures that no value is present for Default, not even an explicit nil.

func (*DashboardTemplateVariable) UnsetPrefix ¶

func (o *DashboardTemplateVariable) UnsetPrefix()

UnsetPrefix ensures that no value is present for Prefix, not even an explicit nil.

type DashboardTemplateVariablePreset ¶

type DashboardTemplateVariablePreset struct {
	// The name of the variable.
	Name *string `json:"name,omitempty"`
	// List of variables.
	TemplateVariables []DashboardTemplateVariablePresetValue `json:"template_variables,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardTemplateVariablePreset Template variables saved views.

func NewDashboardTemplateVariablePreset ¶

func NewDashboardTemplateVariablePreset() *DashboardTemplateVariablePreset

NewDashboardTemplateVariablePreset instantiates a new DashboardTemplateVariablePreset 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 NewDashboardTemplateVariablePresetWithDefaults ¶

func NewDashboardTemplateVariablePresetWithDefaults() *DashboardTemplateVariablePreset

NewDashboardTemplateVariablePresetWithDefaults instantiates a new DashboardTemplateVariablePreset 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 (*DashboardTemplateVariablePreset) GetName ¶

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

func (*DashboardTemplateVariablePreset) GetNameOk ¶

func (o *DashboardTemplateVariablePreset) 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 (*DashboardTemplateVariablePreset) GetTemplateVariables ¶

GetTemplateVariables returns the TemplateVariables field value if set, zero value otherwise.

func (*DashboardTemplateVariablePreset) GetTemplateVariablesOk ¶

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

func (*DashboardTemplateVariablePreset) HasName ¶

HasName returns a boolean if a field has been set.

func (*DashboardTemplateVariablePreset) HasTemplateVariables ¶

func (o *DashboardTemplateVariablePreset) HasTemplateVariables() bool

HasTemplateVariables returns a boolean if a field has been set.

func (DashboardTemplateVariablePreset) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardTemplateVariablePreset) SetName ¶

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

func (*DashboardTemplateVariablePreset) SetTemplateVariables ¶

SetTemplateVariables gets a reference to the given []DashboardTemplateVariablePresetValue and assigns it to the TemplateVariables field.

func (*DashboardTemplateVariablePreset) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardTemplateVariablePreset) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardTemplateVariablePresetValue ¶

type DashboardTemplateVariablePresetValue struct {
	// The name of the variable.
	Name *string `json:"name,omitempty"`
	// The value of the template variable within the saved view.
	Value *string `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DashboardTemplateVariablePresetValue Template variables saved views.

func NewDashboardTemplateVariablePresetValue ¶

func NewDashboardTemplateVariablePresetValue() *DashboardTemplateVariablePresetValue

NewDashboardTemplateVariablePresetValue instantiates a new DashboardTemplateVariablePresetValue 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 NewDashboardTemplateVariablePresetValueWithDefaults ¶

func NewDashboardTemplateVariablePresetValueWithDefaults() *DashboardTemplateVariablePresetValue

NewDashboardTemplateVariablePresetValueWithDefaults instantiates a new DashboardTemplateVariablePresetValue 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 (*DashboardTemplateVariablePresetValue) GetName ¶

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

func (*DashboardTemplateVariablePresetValue) GetNameOk ¶

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 (*DashboardTemplateVariablePresetValue) GetValue ¶

GetValue returns the Value field value if set, zero value otherwise.

func (*DashboardTemplateVariablePresetValue) GetValueOk ¶

func (o *DashboardTemplateVariablePresetValue) GetValueOk() (*string, bool)

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

func (*DashboardTemplateVariablePresetValue) HasName ¶

HasName returns a boolean if a field has been set.

func (*DashboardTemplateVariablePresetValue) HasValue ¶

HasValue returns a boolean if a field has been set.

func (DashboardTemplateVariablePresetValue) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DashboardTemplateVariablePresetValue) SetName ¶

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

func (*DashboardTemplateVariablePresetValue) SetValue ¶

SetValue gets a reference to the given string and assigns it to the Value field.

func (*DashboardTemplateVariablePresetValue) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardTemplateVariablePresetValue) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DashboardsApiService ¶

type DashboardsApiService service

DashboardsApiService DashboardsApi service.

func (*DashboardsApiService) CreateDashboard ¶

func (a *DashboardsApiService) CreateDashboard(ctx _context.Context, body Dashboard) (Dashboard, *_nethttp.Response, error)

CreateDashboard Create a new dashboard. Create a dashboard using the specified options. When defining queries in your widgets, take note of which queries should have the `as_count()` or `as_rate()` modifiers appended. Refer to the following [documentation](https://docs.datadoghq.com/developers/metrics/type_modifiers/?tab=count#in-application-modifiers) for more information on these modifiers.

func (*DashboardsApiService) DeleteDashboard ¶

func (a *DashboardsApiService) DeleteDashboard(ctx _context.Context, dashboardId string) (DashboardDeleteResponse, *_nethttp.Response, error)

DeleteDashboard Delete a dashboard. Delete a dashboard using the specified ID.

func (*DashboardsApiService) DeleteDashboards ¶ added in v1.3.0

DeleteDashboards Delete dashboards. Delete dashboards using the specified IDs. If there are any failures, no dashboards will be deleted (partial success is not allowed).

func (*DashboardsApiService) GetDashboard ¶

func (a *DashboardsApiService) GetDashboard(ctx _context.Context, dashboardId string) (Dashboard, *_nethttp.Response, error)

GetDashboard Get a dashboard. Get a dashboard using the specified ID.

func (*DashboardsApiService) ListDashboards ¶

ListDashboards Get all dashboards. Get all dashboards.

**Note**: This query will only return custom created or cloned dashboards. This query will not return preset dashboards.

func (*DashboardsApiService) RestoreDashboards ¶ added in v1.3.0

RestoreDashboards Restore deleted dashboards. Restore dashboards using the specified IDs. If there are any failures, no dashboards will be restored (partial success is not allowed).

func (*DashboardsApiService) UpdateDashboard ¶

func (a *DashboardsApiService) UpdateDashboard(ctx _context.Context, dashboardId string, body Dashboard) (Dashboard, *_nethttp.Response, error)

UpdateDashboard Update a dashboard. Update a dashboard using the specified ID.

type DeleteHostTagsOptionalParameters ¶

type DeleteHostTagsOptionalParameters struct {
	Source *string
}

DeleteHostTagsOptionalParameters holds optional parameters for DeleteHostTags.

func NewDeleteHostTagsOptionalParameters ¶

func NewDeleteHostTagsOptionalParameters() *DeleteHostTagsOptionalParameters

NewDeleteHostTagsOptionalParameters creates an empty struct for parameters.

func (*DeleteHostTagsOptionalParameters) WithSource ¶

WithSource sets the corresponding parameter name and returns the struct.

type DeleteMonitorOptionalParameters ¶

type DeleteMonitorOptionalParameters struct {
	Force *string
}

DeleteMonitorOptionalParameters holds optional parameters for DeleteMonitor.

func NewDeleteMonitorOptionalParameters ¶

func NewDeleteMonitorOptionalParameters() *DeleteMonitorOptionalParameters

NewDeleteMonitorOptionalParameters creates an empty struct for parameters.

func (*DeleteMonitorOptionalParameters) WithForce ¶

WithForce sets the corresponding parameter name and returns the struct.

type DeleteSLOOptionalParameters ¶

type DeleteSLOOptionalParameters struct {
	Force *string
}

DeleteSLOOptionalParameters holds optional parameters for DeleteSLO.

func NewDeleteSLOOptionalParameters ¶

func NewDeleteSLOOptionalParameters() *DeleteSLOOptionalParameters

NewDeleteSLOOptionalParameters creates an empty struct for parameters.

func (*DeleteSLOOptionalParameters) WithForce ¶

WithForce sets the corresponding parameter name and returns the struct.

type DeletedMonitor ¶

type DeletedMonitor struct {
	// ID of the deleted monitor.
	DeletedMonitorId *int64 `json:"deleted_monitor_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DeletedMonitor Response from the delete monitor call.

func NewDeletedMonitor ¶

func NewDeletedMonitor() *DeletedMonitor

NewDeletedMonitor instantiates a new DeletedMonitor 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 NewDeletedMonitorWithDefaults ¶

func NewDeletedMonitorWithDefaults() *DeletedMonitor

NewDeletedMonitorWithDefaults instantiates a new DeletedMonitor 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 (*DeletedMonitor) GetDeletedMonitorId ¶

func (o *DeletedMonitor) GetDeletedMonitorId() int64

GetDeletedMonitorId returns the DeletedMonitorId field value if set, zero value otherwise.

func (*DeletedMonitor) GetDeletedMonitorIdOk ¶

func (o *DeletedMonitor) GetDeletedMonitorIdOk() (*int64, bool)

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

func (*DeletedMonitor) HasDeletedMonitorId ¶

func (o *DeletedMonitor) HasDeletedMonitorId() bool

HasDeletedMonitorId returns a boolean if a field has been set.

func (DeletedMonitor) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DeletedMonitor) SetDeletedMonitorId ¶

func (o *DeletedMonitor) SetDeletedMonitorId(v int64)

SetDeletedMonitorId gets a reference to the given int64 and assigns it to the DeletedMonitorId field.

func (*DeletedMonitor) UnmarshalJSON ¶ added in v1.3.0

func (o *DeletedMonitor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DistributionPointItem ¶ added in v1.15.0

type DistributionPointItem struct {
	DistributionPointTimestamp *float64
	DistributionPointData      *[]float64

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

DistributionPointItem - List of distribution point.

func DistributionPointDataAsDistributionPointItem ¶ added in v1.15.0

func DistributionPointDataAsDistributionPointItem(v *[]float64) DistributionPointItem

DistributionPointDataAsDistributionPointItem is a convenience function that returns []float64 wrapped in DistributionPointItem.

func DistributionPointTimestampAsDistributionPointItem ¶ added in v1.15.0

func DistributionPointTimestampAsDistributionPointItem(v *float64) DistributionPointItem

DistributionPointTimestampAsDistributionPointItem is a convenience function that returns float64 wrapped in DistributionPointItem.

func (*DistributionPointItem) GetActualInstance ¶ added in v1.15.0

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

GetActualInstance returns the actual instance.

func (DistributionPointItem) MarshalJSON ¶ added in v1.15.0

func (obj DistributionPointItem) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*DistributionPointItem) UnmarshalJSON ¶ added in v1.15.0

func (obj *DistributionPointItem) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type DistributionPointsContentEncoding ¶ added in v1.15.0

type DistributionPointsContentEncoding string

DistributionPointsContentEncoding HTTP header used to compress the media-type.

const (
	DISTRIBUTIONPOINTSCONTENTENCODING_DEFLATE DistributionPointsContentEncoding = "deflate"
)

List of DistributionPointsContentEncoding.

func NewDistributionPointsContentEncodingFromValue ¶ added in v1.15.0

func NewDistributionPointsContentEncodingFromValue(v string) (*DistributionPointsContentEncoding, error)

NewDistributionPointsContentEncodingFromValue returns a pointer to a valid DistributionPointsContentEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*DistributionPointsContentEncoding) GetAllowedValues ¶ added in v1.15.0

GetAllowedValues reeturns the list of possible values.

func (DistributionPointsContentEncoding) IsValid ¶ added in v1.15.0

IsValid return true if the value is valid for the enum, false otherwise.

func (DistributionPointsContentEncoding) Ptr ¶ added in v1.15.0

Ptr returns reference to DistributionPointsContentEncoding value.

func (*DistributionPointsContentEncoding) UnmarshalJSON ¶ added in v1.15.0

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

UnmarshalJSON deserializes the given payload.

type DistributionPointsPayload ¶ added in v1.15.0

type DistributionPointsPayload struct {
	// A list of distribution points series to submit to Datadog.
	Series []DistributionPointsSeries `json:"series"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DistributionPointsPayload The distribution points payload.

func NewDistributionPointsPayload ¶ added in v1.15.0

func NewDistributionPointsPayload(series []DistributionPointsSeries) *DistributionPointsPayload

NewDistributionPointsPayload instantiates a new DistributionPointsPayload 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 NewDistributionPointsPayloadWithDefaults ¶ added in v1.15.0

func NewDistributionPointsPayloadWithDefaults() *DistributionPointsPayload

NewDistributionPointsPayloadWithDefaults instantiates a new DistributionPointsPayload 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 (*DistributionPointsPayload) GetSeries ¶ added in v1.15.0

GetSeries returns the Series field value.

func (*DistributionPointsPayload) GetSeriesOk ¶ added in v1.15.0

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

func (DistributionPointsPayload) MarshalJSON ¶ added in v1.15.0

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

MarshalJSON serializes the struct using spec logic.

func (*DistributionPointsPayload) SetSeries ¶ added in v1.15.0

SetSeries sets field value.

func (*DistributionPointsPayload) UnmarshalJSON ¶ added in v1.15.0

func (o *DistributionPointsPayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DistributionPointsSeries ¶ added in v1.15.0

type DistributionPointsSeries struct {
	// The name of the host that produced the distribution point metric.
	Host *string `json:"host,omitempty"`
	// The name of the distribution points metric.
	Metric string `json:"metric"`
	// Points relating to the distribution point metric. All points must be tuples with timestamp and a list of values (cannot be a string). Timestamps should be in POSIX time in seconds.
	Points [][]DistributionPointItem `json:"points"`
	// A list of tags associated with the distribution point metric.
	Tags []string `json:"tags,omitempty"`
	// The type of the distribution point.
	Type *DistributionPointsType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DistributionPointsSeries A distribution points metric to submit to Datadog.

func NewDistributionPointsSeries ¶ added in v1.15.0

func NewDistributionPointsSeries(metric string, points [][]DistributionPointItem) *DistributionPointsSeries

NewDistributionPointsSeries instantiates a new DistributionPointsSeries 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 NewDistributionPointsSeriesWithDefaults ¶ added in v1.15.0

func NewDistributionPointsSeriesWithDefaults() *DistributionPointsSeries

NewDistributionPointsSeriesWithDefaults instantiates a new DistributionPointsSeries 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 (*DistributionPointsSeries) GetHost ¶ added in v1.15.0

func (o *DistributionPointsSeries) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*DistributionPointsSeries) GetHostOk ¶ added in v1.15.0

func (o *DistributionPointsSeries) GetHostOk() (*string, bool)

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

func (*DistributionPointsSeries) GetMetric ¶ added in v1.15.0

func (o *DistributionPointsSeries) GetMetric() string

GetMetric returns the Metric field value.

func (*DistributionPointsSeries) GetMetricOk ¶ added in v1.15.0

func (o *DistributionPointsSeries) GetMetricOk() (*string, bool)

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

func (*DistributionPointsSeries) GetPoints ¶ added in v1.15.0

GetPoints returns the Points field value.

func (*DistributionPointsSeries) GetPointsOk ¶ added in v1.15.0

func (o *DistributionPointsSeries) GetPointsOk() (*[][]DistributionPointItem, bool)

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

func (*DistributionPointsSeries) GetTags ¶ added in v1.15.0

func (o *DistributionPointsSeries) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DistributionPointsSeries) GetTagsOk ¶ added in v1.15.0

func (o *DistributionPointsSeries) GetTagsOk() (*[]string, bool)

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

func (*DistributionPointsSeries) GetType ¶ added in v1.15.0

GetType returns the Type field value if set, zero value otherwise.

func (*DistributionPointsSeries) GetTypeOk ¶ added in v1.15.0

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

func (*DistributionPointsSeries) HasHost ¶ added in v1.15.0

func (o *DistributionPointsSeries) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*DistributionPointsSeries) HasTags ¶ added in v1.15.0

func (o *DistributionPointsSeries) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DistributionPointsSeries) HasType ¶ added in v1.15.0

func (o *DistributionPointsSeries) HasType() bool

HasType returns a boolean if a field has been set.

func (DistributionPointsSeries) MarshalJSON ¶ added in v1.15.0

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

MarshalJSON serializes the struct using spec logic.

func (*DistributionPointsSeries) SetHost ¶ added in v1.15.0

func (o *DistributionPointsSeries) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*DistributionPointsSeries) SetMetric ¶ added in v1.15.0

func (o *DistributionPointsSeries) SetMetric(v string)

SetMetric sets field value.

func (*DistributionPointsSeries) SetPoints ¶ added in v1.15.0

func (o *DistributionPointsSeries) SetPoints(v [][]DistributionPointItem)

SetPoints sets field value.

func (*DistributionPointsSeries) SetTags ¶ added in v1.15.0

func (o *DistributionPointsSeries) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*DistributionPointsSeries) SetType ¶ added in v1.15.0

SetType gets a reference to the given DistributionPointsType and assigns it to the Type field.

func (*DistributionPointsSeries) UnmarshalJSON ¶ added in v1.15.0

func (o *DistributionPointsSeries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DistributionPointsType ¶ added in v1.15.0

type DistributionPointsType string

DistributionPointsType The type of the distribution point.

const (
	DISTRIBUTIONPOINTSTYPE_DISTRIBUTION DistributionPointsType = "distribution"
)

List of DistributionPointsType.

func NewDistributionPointsTypeFromValue ¶ added in v1.15.0

func NewDistributionPointsTypeFromValue(v string) (*DistributionPointsType, error)

NewDistributionPointsTypeFromValue returns a pointer to a valid DistributionPointsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*DistributionPointsType) GetAllowedValues ¶ added in v1.15.0

func (v *DistributionPointsType) GetAllowedValues() []DistributionPointsType

GetAllowedValues reeturns the list of possible values.

func (DistributionPointsType) IsValid ¶ added in v1.15.0

func (v DistributionPointsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (DistributionPointsType) Ptr ¶ added in v1.15.0

Ptr returns reference to DistributionPointsType value.

func (*DistributionPointsType) UnmarshalJSON ¶ added in v1.15.0

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

UnmarshalJSON deserializes the given payload.

type DistributionWidgetDefinition ¶

type DistributionWidgetDefinition struct {
	// (Deprecated) The widget legend was replaced by a tooltip and sidebar.
	// Deprecated
	LegendSize *string `json:"legend_size,omitempty"`
	// List of markers.
	Markers []WidgetMarker `json:"markers,omitempty"`
	// Array of one request object to display in the widget.
	//
	// See the dedicated [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)
	//  to learn how to build the `REQUEST_SCHEMA`.
	Requests []DistributionWidgetRequest `json:"requests"`
	// (Deprecated) The widget legend was replaced by a tooltip and sidebar.
	// Deprecated
	ShowLegend *bool `json:"show_legend,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the distribution widget.
	Type DistributionWidgetDefinitionType `json:"type"`
	// X Axis controls for the distribution widget.
	Xaxis *DistributionWidgetXAxis `json:"xaxis,omitempty"`
	// Y Axis controls for the distribution widget.
	Yaxis *DistributionWidgetYAxis `json:"yaxis,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DistributionWidgetDefinition The Distribution visualization is another way of showing metrics aggregated across one or several tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than time.

func NewDistributionWidgetDefinition ¶

func NewDistributionWidgetDefinition(requests []DistributionWidgetRequest, typeVar DistributionWidgetDefinitionType) *DistributionWidgetDefinition

NewDistributionWidgetDefinition instantiates a new DistributionWidgetDefinition 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 NewDistributionWidgetDefinitionWithDefaults ¶

func NewDistributionWidgetDefinitionWithDefaults() *DistributionWidgetDefinition

NewDistributionWidgetDefinitionWithDefaults instantiates a new DistributionWidgetDefinition 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 (*DistributionWidgetDefinition) GetLegendSize ¶

func (o *DistributionWidgetDefinition) GetLegendSize() string

GetLegendSize returns the LegendSize field value if set, zero value otherwise. Deprecated

func (*DistributionWidgetDefinition) GetLegendSizeOk ¶

func (o *DistributionWidgetDefinition) GetLegendSizeOk() (*string, bool)

GetLegendSizeOk returns a tuple with the LegendSize field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*DistributionWidgetDefinition) GetMarkers ¶

func (o *DistributionWidgetDefinition) GetMarkers() []WidgetMarker

GetMarkers returns the Markers field value if set, zero value otherwise.

func (*DistributionWidgetDefinition) GetMarkersOk ¶

func (o *DistributionWidgetDefinition) GetMarkersOk() (*[]WidgetMarker, bool)

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

func (*DistributionWidgetDefinition) GetRequests ¶

GetRequests returns the Requests field value.

func (*DistributionWidgetDefinition) GetRequestsOk ¶

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

func (*DistributionWidgetDefinition) GetShowLegend ¶

func (o *DistributionWidgetDefinition) GetShowLegend() bool

GetShowLegend returns the ShowLegend field value if set, zero value otherwise. Deprecated

func (*DistributionWidgetDefinition) GetShowLegendOk ¶

func (o *DistributionWidgetDefinition) GetShowLegendOk() (*bool, bool)

GetShowLegendOk returns a tuple with the ShowLegend field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*DistributionWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*DistributionWidgetDefinition) GetTimeOk ¶

func (o *DistributionWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*DistributionWidgetDefinition) GetTitle ¶

func (o *DistributionWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*DistributionWidgetDefinition) GetTitleAlign ¶

func (o *DistributionWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*DistributionWidgetDefinition) GetTitleAlignOk ¶

func (o *DistributionWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*DistributionWidgetDefinition) GetTitleOk ¶

func (o *DistributionWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*DistributionWidgetDefinition) GetTitleSize ¶

func (o *DistributionWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*DistributionWidgetDefinition) GetTitleSizeOk ¶

func (o *DistributionWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*DistributionWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*DistributionWidgetDefinition) GetTypeOk ¶

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

func (*DistributionWidgetDefinition) GetXaxis ¶

GetXaxis returns the Xaxis field value if set, zero value otherwise.

func (*DistributionWidgetDefinition) GetXaxisOk ¶

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

func (*DistributionWidgetDefinition) GetYaxis ¶

GetYaxis returns the Yaxis field value if set, zero value otherwise.

func (*DistributionWidgetDefinition) GetYaxisOk ¶

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

func (*DistributionWidgetDefinition) HasLegendSize ¶

func (o *DistributionWidgetDefinition) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasMarkers ¶

func (o *DistributionWidgetDefinition) HasMarkers() bool

HasMarkers returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasShowLegend ¶

func (o *DistributionWidgetDefinition) HasShowLegend() bool

HasShowLegend returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasTime ¶

func (o *DistributionWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasTitle ¶

func (o *DistributionWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasTitleAlign ¶

func (o *DistributionWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasTitleSize ¶

func (o *DistributionWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasXaxis ¶

func (o *DistributionWidgetDefinition) HasXaxis() bool

HasXaxis returns a boolean if a field has been set.

func (*DistributionWidgetDefinition) HasYaxis ¶

func (o *DistributionWidgetDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (DistributionWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DistributionWidgetDefinition) SetLegendSize ¶

func (o *DistributionWidgetDefinition) SetLegendSize(v string)

SetLegendSize gets a reference to the given string and assigns it to the LegendSize field. Deprecated

func (*DistributionWidgetDefinition) SetMarkers ¶

func (o *DistributionWidgetDefinition) SetMarkers(v []WidgetMarker)

SetMarkers gets a reference to the given []WidgetMarker and assigns it to the Markers field.

func (*DistributionWidgetDefinition) SetRequests ¶

SetRequests sets field value.

func (*DistributionWidgetDefinition) SetShowLegend ¶

func (o *DistributionWidgetDefinition) SetShowLegend(v bool)

SetShowLegend gets a reference to the given bool and assigns it to the ShowLegend field. Deprecated

func (*DistributionWidgetDefinition) SetTime ¶

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*DistributionWidgetDefinition) SetTitle ¶

func (o *DistributionWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*DistributionWidgetDefinition) SetTitleAlign ¶

func (o *DistributionWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*DistributionWidgetDefinition) SetTitleSize ¶

func (o *DistributionWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*DistributionWidgetDefinition) SetType ¶

SetType sets field value.

func (*DistributionWidgetDefinition) SetXaxis ¶

SetXaxis gets a reference to the given DistributionWidgetXAxis and assigns it to the Xaxis field.

func (*DistributionWidgetDefinition) SetYaxis ¶

SetYaxis gets a reference to the given DistributionWidgetYAxis and assigns it to the Yaxis field.

func (*DistributionWidgetDefinition) UnmarshalJSON ¶

func (o *DistributionWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DistributionWidgetDefinitionType ¶

type DistributionWidgetDefinitionType string

DistributionWidgetDefinitionType Type of the distribution widget.

const (
	DISTRIBUTIONWIDGETDEFINITIONTYPE_DISTRIBUTION DistributionWidgetDefinitionType = "distribution"
)

List of DistributionWidgetDefinitionType.

func NewDistributionWidgetDefinitionTypeFromValue ¶

func NewDistributionWidgetDefinitionTypeFromValue(v string) (*DistributionWidgetDefinitionType, error)

NewDistributionWidgetDefinitionTypeFromValue returns a pointer to a valid DistributionWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*DistributionWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (DistributionWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (DistributionWidgetDefinitionType) Ptr ¶

Ptr returns reference to DistributionWidgetDefinitionType value.

func (*DistributionWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type DistributionWidgetHistogramRequestQuery ¶ added in v1.15.0

type DistributionWidgetHistogramRequestQuery struct {
	FormulaAndFunctionMetricQueryDefinition           *FormulaAndFunctionMetricQueryDefinition
	FormulaAndFunctionEventQueryDefinition            *FormulaAndFunctionEventQueryDefinition
	FormulaAndFunctionApmResourceStatsQueryDefinition *FormulaAndFunctionApmResourceStatsQueryDefinition

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

DistributionWidgetHistogramRequestQuery - Query definition for Distribution Widget Histogram Request

func FormulaAndFunctionApmResourceStatsQueryDefinitionAsDistributionWidgetHistogramRequestQuery ¶ added in v1.15.0

func FormulaAndFunctionApmResourceStatsQueryDefinitionAsDistributionWidgetHistogramRequestQuery(v *FormulaAndFunctionApmResourceStatsQueryDefinition) DistributionWidgetHistogramRequestQuery

FormulaAndFunctionApmResourceStatsQueryDefinitionAsDistributionWidgetHistogramRequestQuery is a convenience function that returns FormulaAndFunctionApmResourceStatsQueryDefinition wrapped in DistributionWidgetHistogramRequestQuery.

func FormulaAndFunctionEventQueryDefinitionAsDistributionWidgetHistogramRequestQuery ¶ added in v1.15.0

func FormulaAndFunctionEventQueryDefinitionAsDistributionWidgetHistogramRequestQuery(v *FormulaAndFunctionEventQueryDefinition) DistributionWidgetHistogramRequestQuery

FormulaAndFunctionEventQueryDefinitionAsDistributionWidgetHistogramRequestQuery is a convenience function that returns FormulaAndFunctionEventQueryDefinition wrapped in DistributionWidgetHistogramRequestQuery.

func FormulaAndFunctionMetricQueryDefinitionAsDistributionWidgetHistogramRequestQuery ¶ added in v1.15.0

func FormulaAndFunctionMetricQueryDefinitionAsDistributionWidgetHistogramRequestQuery(v *FormulaAndFunctionMetricQueryDefinition) DistributionWidgetHistogramRequestQuery

FormulaAndFunctionMetricQueryDefinitionAsDistributionWidgetHistogramRequestQuery is a convenience function that returns FormulaAndFunctionMetricQueryDefinition wrapped in DistributionWidgetHistogramRequestQuery.

func (*DistributionWidgetHistogramRequestQuery) GetActualInstance ¶ added in v1.15.0

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

GetActualInstance returns the actual instance.

func (DistributionWidgetHistogramRequestQuery) MarshalJSON ¶ added in v1.15.0

func (obj DistributionWidgetHistogramRequestQuery) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*DistributionWidgetHistogramRequestQuery) UnmarshalJSON ¶ added in v1.15.0

func (obj *DistributionWidgetHistogramRequestQuery) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type DistributionWidgetHistogramRequestType ¶ added in v1.15.0

type DistributionWidgetHistogramRequestType string

DistributionWidgetHistogramRequestType Request type for the histogram request.

const (
	DISTRIBUTIONWIDGETHISTOGRAMREQUESTTYPE_HISTOGRAM DistributionWidgetHistogramRequestType = "histogram"
)

List of DistributionWidgetHistogramRequestType.

func NewDistributionWidgetHistogramRequestTypeFromValue ¶ added in v1.15.0

func NewDistributionWidgetHistogramRequestTypeFromValue(v string) (*DistributionWidgetHistogramRequestType, error)

NewDistributionWidgetHistogramRequestTypeFromValue returns a pointer to a valid DistributionWidgetHistogramRequestType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*DistributionWidgetHistogramRequestType) GetAllowedValues ¶ added in v1.15.0

GetAllowedValues reeturns the list of possible values.

func (DistributionWidgetHistogramRequestType) IsValid ¶ added in v1.15.0

IsValid return true if the value is valid for the enum, false otherwise.

func (DistributionWidgetHistogramRequestType) Ptr ¶ added in v1.15.0

Ptr returns reference to DistributionWidgetHistogramRequestType value.

func (*DistributionWidgetHistogramRequestType) UnmarshalJSON ¶ added in v1.15.0

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

UnmarshalJSON deserializes the given payload.

type DistributionWidgetRequest ¶

type DistributionWidgetRequest struct {
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The APM stats query for table and distributions widgets.
	ApmStatsQuery *ApmStatsQueryDefinition `json:"apm_stats_query,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Widget query.
	Q *string `json:"q,omitempty"`
	// Query definition for Distribution Widget Histogram Request
	Query *DistributionWidgetHistogramRequestQuery `json:"query,omitempty"`
	// Request type for the histogram request.
	RequestType *DistributionWidgetHistogramRequestType `json:"request_type,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// Widget style definition.
	Style *WidgetStyle `json:"style,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DistributionWidgetRequest Updated distribution widget.

func NewDistributionWidgetRequest ¶

func NewDistributionWidgetRequest() *DistributionWidgetRequest

NewDistributionWidgetRequest instantiates a new DistributionWidgetRequest 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 NewDistributionWidgetRequestWithDefaults ¶

func NewDistributionWidgetRequestWithDefaults() *DistributionWidgetRequest

NewDistributionWidgetRequestWithDefaults instantiates a new DistributionWidgetRequest 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 (*DistributionWidgetRequest) GetApmQuery ¶

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetApmQueryOk ¶

func (o *DistributionWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetApmStatsQuery ¶ added in v1.6.0

func (o *DistributionWidgetRequest) GetApmStatsQuery() ApmStatsQueryDefinition

GetApmStatsQuery returns the ApmStatsQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetApmStatsQueryOk ¶ added in v1.6.0

func (o *DistributionWidgetRequest) GetApmStatsQueryOk() (*ApmStatsQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetEventQuery ¶

func (o *DistributionWidgetRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetEventQueryOk ¶

func (o *DistributionWidgetRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetLogQuery ¶

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetLogQueryOk ¶

func (o *DistributionWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetNetworkQuery ¶

func (o *DistributionWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetNetworkQueryOk ¶

func (o *DistributionWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetProcessQuery ¶

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetProcessQueryOk ¶

func (o *DistributionWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetProfileMetricsQuery ¶

func (o *DistributionWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetProfileMetricsQueryOk ¶

func (o *DistributionWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetQ ¶

GetQ returns the Q field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetQOk ¶

func (o *DistributionWidgetRequest) GetQOk() (*string, bool)

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

func (*DistributionWidgetRequest) GetQuery ¶ added in v1.15.0

GetQuery returns the Query field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetQueryOk ¶ added in v1.15.0

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

func (*DistributionWidgetRequest) GetRequestType ¶ added in v1.15.0

GetRequestType returns the RequestType field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetRequestTypeOk ¶ added in v1.15.0

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

func (*DistributionWidgetRequest) GetRumQuery ¶

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetRumQueryOk ¶

func (o *DistributionWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetSecurityQuery ¶

func (o *DistributionWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetSecurityQueryOk ¶

func (o *DistributionWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

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

func (*DistributionWidgetRequest) GetStyle ¶

func (o *DistributionWidgetRequest) GetStyle() WidgetStyle

GetStyle returns the Style field value if set, zero value otherwise.

func (*DistributionWidgetRequest) GetStyleOk ¶

func (o *DistributionWidgetRequest) GetStyleOk() (*WidgetStyle, bool)

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

func (*DistributionWidgetRequest) HasApmQuery ¶

func (o *DistributionWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasApmStatsQuery ¶ added in v1.6.0

func (o *DistributionWidgetRequest) HasApmStatsQuery() bool

HasApmStatsQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasEventQuery ¶

func (o *DistributionWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasLogQuery ¶

func (o *DistributionWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasNetworkQuery ¶

func (o *DistributionWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasProcessQuery ¶

func (o *DistributionWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasProfileMetricsQuery ¶

func (o *DistributionWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasQ ¶

func (o *DistributionWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasQuery ¶ added in v1.15.0

func (o *DistributionWidgetRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasRequestType ¶ added in v1.15.0

func (o *DistributionWidgetRequest) HasRequestType() bool

HasRequestType returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasRumQuery ¶

func (o *DistributionWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasSecurityQuery ¶

func (o *DistributionWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*DistributionWidgetRequest) HasStyle ¶

func (o *DistributionWidgetRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (DistributionWidgetRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DistributionWidgetRequest) SetApmQuery ¶

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*DistributionWidgetRequest) SetApmStatsQuery ¶ added in v1.6.0

func (o *DistributionWidgetRequest) SetApmStatsQuery(v ApmStatsQueryDefinition)

SetApmStatsQuery gets a reference to the given ApmStatsQueryDefinition and assigns it to the ApmStatsQuery field.

func (*DistributionWidgetRequest) SetEventQuery ¶

func (o *DistributionWidgetRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*DistributionWidgetRequest) SetLogQuery ¶

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*DistributionWidgetRequest) SetNetworkQuery ¶

func (o *DistributionWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*DistributionWidgetRequest) SetProcessQuery ¶

func (o *DistributionWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*DistributionWidgetRequest) SetProfileMetricsQuery ¶

func (o *DistributionWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*DistributionWidgetRequest) SetQ ¶

func (o *DistributionWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*DistributionWidgetRequest) SetQuery ¶ added in v1.15.0

SetQuery gets a reference to the given DistributionWidgetHistogramRequestQuery and assigns it to the Query field.

func (*DistributionWidgetRequest) SetRequestType ¶ added in v1.15.0

SetRequestType gets a reference to the given DistributionWidgetHistogramRequestType and assigns it to the RequestType field.

func (*DistributionWidgetRequest) SetRumQuery ¶

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*DistributionWidgetRequest) SetSecurityQuery ¶

func (o *DistributionWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*DistributionWidgetRequest) SetStyle ¶

func (o *DistributionWidgetRequest) SetStyle(v WidgetStyle)

SetStyle gets a reference to the given WidgetStyle and assigns it to the Style field.

func (*DistributionWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DistributionWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DistributionWidgetXAxis ¶

type DistributionWidgetXAxis struct {
	// True includes zero.
	IncludeZero *bool `json:"include_zero,omitempty"`
	// Specifies maximum value to show on the x-axis. It takes a number, percentile (p90 === 90th percentile), or auto for default behavior.
	Max *string `json:"max,omitempty"`
	// Specifies minimum value to show on the x-axis. It takes a number, percentile (p90 === 90th percentile), or auto for default behavior.
	Min *string `json:"min,omitempty"`
	// Specifies the scale type. Possible values are `linear`.
	Scale *string `json:"scale,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DistributionWidgetXAxis X Axis controls for the distribution widget.

func NewDistributionWidgetXAxis ¶

func NewDistributionWidgetXAxis() *DistributionWidgetXAxis

NewDistributionWidgetXAxis instantiates a new DistributionWidgetXAxis 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 NewDistributionWidgetXAxisWithDefaults ¶

func NewDistributionWidgetXAxisWithDefaults() *DistributionWidgetXAxis

NewDistributionWidgetXAxisWithDefaults instantiates a new DistributionWidgetXAxis 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 (*DistributionWidgetXAxis) GetIncludeZero ¶

func (o *DistributionWidgetXAxis) GetIncludeZero() bool

GetIncludeZero returns the IncludeZero field value if set, zero value otherwise.

func (*DistributionWidgetXAxis) GetIncludeZeroOk ¶

func (o *DistributionWidgetXAxis) GetIncludeZeroOk() (*bool, bool)

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

func (*DistributionWidgetXAxis) GetMax ¶

func (o *DistributionWidgetXAxis) GetMax() string

GetMax returns the Max field value if set, zero value otherwise.

func (*DistributionWidgetXAxis) GetMaxOk ¶

func (o *DistributionWidgetXAxis) GetMaxOk() (*string, bool)

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

func (*DistributionWidgetXAxis) GetMin ¶

func (o *DistributionWidgetXAxis) GetMin() string

GetMin returns the Min field value if set, zero value otherwise.

func (*DistributionWidgetXAxis) GetMinOk ¶

func (o *DistributionWidgetXAxis) GetMinOk() (*string, bool)

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

func (*DistributionWidgetXAxis) GetScale ¶

func (o *DistributionWidgetXAxis) GetScale() string

GetScale returns the Scale field value if set, zero value otherwise.

func (*DistributionWidgetXAxis) GetScaleOk ¶

func (o *DistributionWidgetXAxis) GetScaleOk() (*string, bool)

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

func (*DistributionWidgetXAxis) HasIncludeZero ¶

func (o *DistributionWidgetXAxis) HasIncludeZero() bool

HasIncludeZero returns a boolean if a field has been set.

func (*DistributionWidgetXAxis) HasMax ¶

func (o *DistributionWidgetXAxis) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*DistributionWidgetXAxis) HasMin ¶

func (o *DistributionWidgetXAxis) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*DistributionWidgetXAxis) HasScale ¶

func (o *DistributionWidgetXAxis) HasScale() bool

HasScale returns a boolean if a field has been set.

func (DistributionWidgetXAxis) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DistributionWidgetXAxis) SetIncludeZero ¶

func (o *DistributionWidgetXAxis) SetIncludeZero(v bool)

SetIncludeZero gets a reference to the given bool and assigns it to the IncludeZero field.

func (*DistributionWidgetXAxis) SetMax ¶

func (o *DistributionWidgetXAxis) SetMax(v string)

SetMax gets a reference to the given string and assigns it to the Max field.

func (*DistributionWidgetXAxis) SetMin ¶

func (o *DistributionWidgetXAxis) SetMin(v string)

SetMin gets a reference to the given string and assigns it to the Min field.

func (*DistributionWidgetXAxis) SetScale ¶

func (o *DistributionWidgetXAxis) SetScale(v string)

SetScale gets a reference to the given string and assigns it to the Scale field.

func (*DistributionWidgetXAxis) UnmarshalJSON ¶ added in v1.3.0

func (o *DistributionWidgetXAxis) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type DistributionWidgetYAxis ¶

type DistributionWidgetYAxis struct {
	// True includes zero.
	IncludeZero *bool `json:"include_zero,omitempty"`
	// The label of the axis to display on the graph.
	Label *string `json:"label,omitempty"`
	// Specifies the maximum value to show on the y-axis. It takes a number, or auto for default behavior.
	Max *string `json:"max,omitempty"`
	// Specifies minimum value to show on the y-axis. It takes a number, or auto for default behavior.
	Min *string `json:"min,omitempty"`
	// Specifies the scale type. Possible values are `linear` or `log`.
	Scale *string `json:"scale,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DistributionWidgetYAxis Y Axis controls for the distribution widget.

func NewDistributionWidgetYAxis ¶

func NewDistributionWidgetYAxis() *DistributionWidgetYAxis

NewDistributionWidgetYAxis instantiates a new DistributionWidgetYAxis 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 NewDistributionWidgetYAxisWithDefaults ¶

func NewDistributionWidgetYAxisWithDefaults() *DistributionWidgetYAxis

NewDistributionWidgetYAxisWithDefaults instantiates a new DistributionWidgetYAxis 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 (*DistributionWidgetYAxis) GetIncludeZero ¶

func (o *DistributionWidgetYAxis) GetIncludeZero() bool

GetIncludeZero returns the IncludeZero field value if set, zero value otherwise.

func (*DistributionWidgetYAxis) GetIncludeZeroOk ¶

func (o *DistributionWidgetYAxis) GetIncludeZeroOk() (*bool, bool)

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

func (*DistributionWidgetYAxis) GetLabel ¶

func (o *DistributionWidgetYAxis) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*DistributionWidgetYAxis) GetLabelOk ¶

func (o *DistributionWidgetYAxis) GetLabelOk() (*string, bool)

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

func (*DistributionWidgetYAxis) GetMax ¶

func (o *DistributionWidgetYAxis) GetMax() string

GetMax returns the Max field value if set, zero value otherwise.

func (*DistributionWidgetYAxis) GetMaxOk ¶

func (o *DistributionWidgetYAxis) GetMaxOk() (*string, bool)

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

func (*DistributionWidgetYAxis) GetMin ¶

func (o *DistributionWidgetYAxis) GetMin() string

GetMin returns the Min field value if set, zero value otherwise.

func (*DistributionWidgetYAxis) GetMinOk ¶

func (o *DistributionWidgetYAxis) GetMinOk() (*string, bool)

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

func (*DistributionWidgetYAxis) GetScale ¶

func (o *DistributionWidgetYAxis) GetScale() string

GetScale returns the Scale field value if set, zero value otherwise.

func (*DistributionWidgetYAxis) GetScaleOk ¶

func (o *DistributionWidgetYAxis) GetScaleOk() (*string, bool)

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

func (*DistributionWidgetYAxis) HasIncludeZero ¶

func (o *DistributionWidgetYAxis) HasIncludeZero() bool

HasIncludeZero returns a boolean if a field has been set.

func (*DistributionWidgetYAxis) HasLabel ¶

func (o *DistributionWidgetYAxis) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*DistributionWidgetYAxis) HasMax ¶

func (o *DistributionWidgetYAxis) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*DistributionWidgetYAxis) HasMin ¶

func (o *DistributionWidgetYAxis) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*DistributionWidgetYAxis) HasScale ¶

func (o *DistributionWidgetYAxis) HasScale() bool

HasScale returns a boolean if a field has been set.

func (DistributionWidgetYAxis) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DistributionWidgetYAxis) SetIncludeZero ¶

func (o *DistributionWidgetYAxis) SetIncludeZero(v bool)

SetIncludeZero gets a reference to the given bool and assigns it to the IncludeZero field.

func (*DistributionWidgetYAxis) SetLabel ¶

func (o *DistributionWidgetYAxis) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*DistributionWidgetYAxis) SetMax ¶

func (o *DistributionWidgetYAxis) SetMax(v string)

SetMax gets a reference to the given string and assigns it to the Max field.

func (*DistributionWidgetYAxis) SetMin ¶

func (o *DistributionWidgetYAxis) SetMin(v string)

SetMin gets a reference to the given string and assigns it to the Min field.

func (*DistributionWidgetYAxis) SetScale ¶

func (o *DistributionWidgetYAxis) SetScale(v string)

SetScale gets a reference to the given string and assigns it to the Scale field.

func (*DistributionWidgetYAxis) UnmarshalJSON ¶ added in v1.3.0

func (o *DistributionWidgetYAxis) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Downtime ¶

type Downtime struct {
	// If a scheduled downtime currently exists.
	Active *bool `json:"active,omitempty"`
	// The downtime object definition of the active child for the original parent recurring downtime. This
	// field will only exist on recurring downtimes.
	ActiveChild NullableDowntimeChild `json:"active_child,omitempty"`
	// If a scheduled downtime is canceled.
	Canceled NullableInt64 `json:"canceled,omitempty"`
	// User ID of the downtime creator.
	CreatorId *int32 `json:"creator_id,omitempty"`
	// If a downtime has been disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// `0` for a downtime applied on `*` or all,
	// `1` when the downtime is only scoped to hosts,
	// or `2` when the downtime is scoped to anything but hosts.
	DowntimeType *int32 `json:"downtime_type,omitempty"`
	// POSIX timestamp to end the downtime. If not provided,
	// the downtime is in effect indefinitely until you cancel it.
	End NullableInt64 `json:"end,omitempty"`
	// The downtime ID.
	Id *int64 `json:"id,omitempty"`
	// A message to include with notifications for this downtime.
	// Email notifications can be sent to specific users by using the same `@username` notation as events.
	Message *string `json:"message,omitempty"`
	// A single monitor to which the downtime applies.
	// If not provided, the downtime applies to all monitors.
	MonitorId NullableInt64 `json:"monitor_id,omitempty"`
	// A comma-separated list of monitor tags. For example, tags that are applied directly to monitors,
	// not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies.
	// The resulting downtime applies to monitors that match ALL provided monitor tags.
	// For example, `service:postgres` **AND** `team:frontend`.
	MonitorTags []string `json:"monitor_tags,omitempty"`
	// If the first recovery notification during a downtime should be muted.
	MuteFirstRecoveryNotification *bool `json:"mute_first_recovery_notification,omitempty"`
	// ID of the parent Downtime.
	ParentId NullableInt64 `json:"parent_id,omitempty"`
	// An object defining the recurrence of the downtime.
	Recurrence NullableDowntimeRecurrence `json:"recurrence,omitempty"`
	// The scope(s) to which the downtime applies. For example, `host:app2`.
	// Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
	// The resulting downtime applies to sources that matches ALL provided scopes (`env:dev` **AND** `env:prod`).
	Scope []string `json:"scope,omitempty"`
	// POSIX timestamp to start the downtime.
	// If not provided, the downtime starts the moment it is created.
	Start *int64 `json:"start,omitempty"`
	// The timezone in which to display the downtime's start and end times in Datadog applications.
	Timezone *string `json:"timezone,omitempty"`
	// ID of the last user that updated the downtime.
	UpdaterId NullableInt32 `json:"updater_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Downtime Downtiming gives you greater control over monitor notifications by allowing you to globally exclude scopes from alerting. Downtime settings, which can be scheduled with start and end times, prevent all alerting related to specified Datadog tags.

func NewDowntime ¶

func NewDowntime() *Downtime

NewDowntime instantiates a new Downtime 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 NewDowntimeWithDefaults ¶

func NewDowntimeWithDefaults() *Downtime

NewDowntimeWithDefaults instantiates a new Downtime 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 (*Downtime) GetActive ¶

func (o *Downtime) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*Downtime) GetActiveChild ¶

func (o *Downtime) GetActiveChild() DowntimeChild

GetActiveChild returns the ActiveChild field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Downtime) GetActiveChildOk ¶

func (o *Downtime) GetActiveChildOk() (*DowntimeChild, bool)

GetActiveChildOk returns a tuple with the ActiveChild field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Downtime) GetActiveOk ¶

func (o *Downtime) GetActiveOk() (*bool, bool)

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

func (*Downtime) GetCanceled ¶

func (o *Downtime) GetCanceled() int64

GetCanceled returns the Canceled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Downtime) GetCanceledOk ¶

func (o *Downtime) GetCanceledOk() (*int64, bool)

GetCanceledOk returns a tuple with the Canceled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Downtime) GetCreatorId ¶

func (o *Downtime) GetCreatorId() int32

GetCreatorId returns the CreatorId field value if set, zero value otherwise.

func (*Downtime) GetCreatorIdOk ¶

func (o *Downtime) GetCreatorIdOk() (*int32, bool)

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

func (*Downtime) GetDisabled ¶

func (o *Downtime) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*Downtime) GetDisabledOk ¶

func (o *Downtime) GetDisabledOk() (*bool, bool)

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

func (*Downtime) GetDowntimeType ¶

func (o *Downtime) GetDowntimeType() int32

GetDowntimeType returns the DowntimeType field value if set, zero value otherwise.

func (*Downtime) GetDowntimeTypeOk ¶

func (o *Downtime) GetDowntimeTypeOk() (*int32, bool)

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

func (*Downtime) GetEnd ¶

func (o *Downtime) GetEnd() int64

GetEnd returns the End field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Downtime) GetEndOk ¶

func (o *Downtime) GetEndOk() (*int64, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Downtime) GetId ¶

func (o *Downtime) GetId() int64

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

func (*Downtime) GetIdOk ¶

func (o *Downtime) GetIdOk() (*int64, 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 (*Downtime) GetMessage ¶

func (o *Downtime) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Downtime) GetMessageOk ¶

func (o *Downtime) GetMessageOk() (*string, bool)

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

func (*Downtime) GetMonitorId ¶

func (o *Downtime) GetMonitorId() int64

GetMonitorId returns the MonitorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Downtime) GetMonitorIdOk ¶

func (o *Downtime) GetMonitorIdOk() (*int64, bool)

GetMonitorIdOk returns a tuple with the MonitorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Downtime) GetMonitorTags ¶

func (o *Downtime) GetMonitorTags() []string

GetMonitorTags returns the MonitorTags field value if set, zero value otherwise.

func (*Downtime) GetMonitorTagsOk ¶

func (o *Downtime) GetMonitorTagsOk() (*[]string, bool)

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

func (*Downtime) GetMuteFirstRecoveryNotification ¶ added in v1.14.0

func (o *Downtime) GetMuteFirstRecoveryNotification() bool

GetMuteFirstRecoveryNotification returns the MuteFirstRecoveryNotification field value if set, zero value otherwise.

func (*Downtime) GetMuteFirstRecoveryNotificationOk ¶ added in v1.14.0

func (o *Downtime) GetMuteFirstRecoveryNotificationOk() (*bool, bool)

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

func (*Downtime) GetParentId ¶

func (o *Downtime) GetParentId() int64

GetParentId returns the ParentId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Downtime) GetParentIdOk ¶

func (o *Downtime) GetParentIdOk() (*int64, bool)

GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Downtime) GetRecurrence ¶

func (o *Downtime) GetRecurrence() DowntimeRecurrence

GetRecurrence returns the Recurrence field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Downtime) GetRecurrenceOk ¶

func (o *Downtime) GetRecurrenceOk() (*DowntimeRecurrence, bool)

GetRecurrenceOk returns a tuple with the Recurrence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Downtime) GetScope ¶

func (o *Downtime) GetScope() []string

GetScope returns the Scope field value if set, zero value otherwise.

func (*Downtime) GetScopeOk ¶

func (o *Downtime) GetScopeOk() (*[]string, bool)

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

func (*Downtime) GetStart ¶

func (o *Downtime) GetStart() int64

GetStart returns the Start field value if set, zero value otherwise.

func (*Downtime) GetStartOk ¶

func (o *Downtime) GetStartOk() (*int64, bool)

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

func (*Downtime) GetTimezone ¶

func (o *Downtime) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*Downtime) GetTimezoneOk ¶

func (o *Downtime) GetTimezoneOk() (*string, bool)

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

func (*Downtime) GetUpdaterId ¶

func (o *Downtime) GetUpdaterId() int32

GetUpdaterId returns the UpdaterId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Downtime) GetUpdaterIdOk ¶

func (o *Downtime) GetUpdaterIdOk() (*int32, bool)

GetUpdaterIdOk returns a tuple with the UpdaterId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Downtime) HasActive ¶

func (o *Downtime) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Downtime) HasActiveChild ¶

func (o *Downtime) HasActiveChild() bool

HasActiveChild returns a boolean if a field has been set.

func (*Downtime) HasCanceled ¶

func (o *Downtime) HasCanceled() bool

HasCanceled returns a boolean if a field has been set.

func (*Downtime) HasCreatorId ¶

func (o *Downtime) HasCreatorId() bool

HasCreatorId returns a boolean if a field has been set.

func (*Downtime) HasDisabled ¶

func (o *Downtime) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*Downtime) HasDowntimeType ¶

func (o *Downtime) HasDowntimeType() bool

HasDowntimeType returns a boolean if a field has been set.

func (*Downtime) HasEnd ¶

func (o *Downtime) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*Downtime) HasId ¶

func (o *Downtime) HasId() bool

HasId returns a boolean if a field has been set.

func (*Downtime) HasMessage ¶

func (o *Downtime) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Downtime) HasMonitorId ¶

func (o *Downtime) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*Downtime) HasMonitorTags ¶

func (o *Downtime) HasMonitorTags() bool

HasMonitorTags returns a boolean if a field has been set.

func (*Downtime) HasMuteFirstRecoveryNotification ¶ added in v1.14.0

func (o *Downtime) HasMuteFirstRecoveryNotification() bool

HasMuteFirstRecoveryNotification returns a boolean if a field has been set.

func (*Downtime) HasParentId ¶

func (o *Downtime) HasParentId() bool

HasParentId returns a boolean if a field has been set.

func (*Downtime) HasRecurrence ¶

func (o *Downtime) HasRecurrence() bool

HasRecurrence returns a boolean if a field has been set.

func (*Downtime) HasScope ¶

func (o *Downtime) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*Downtime) HasStart ¶

func (o *Downtime) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*Downtime) HasTimezone ¶

func (o *Downtime) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*Downtime) HasUpdaterId ¶

func (o *Downtime) HasUpdaterId() bool

HasUpdaterId returns a boolean if a field has been set.

func (Downtime) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*Downtime) SetActive ¶

func (o *Downtime) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*Downtime) SetActiveChild ¶

func (o *Downtime) SetActiveChild(v DowntimeChild)

SetActiveChild gets a reference to the given NullableDowntimeChild and assigns it to the ActiveChild field.

func (*Downtime) SetActiveChildNil ¶

func (o *Downtime) SetActiveChildNil()

SetActiveChildNil sets the value for ActiveChild to be an explicit nil.

func (*Downtime) SetCanceled ¶

func (o *Downtime) SetCanceled(v int64)

SetCanceled gets a reference to the given NullableInt64 and assigns it to the Canceled field.

func (*Downtime) SetCanceledNil ¶

func (o *Downtime) SetCanceledNil()

SetCanceledNil sets the value for Canceled to be an explicit nil.

func (*Downtime) SetCreatorId ¶

func (o *Downtime) SetCreatorId(v int32)

SetCreatorId gets a reference to the given int32 and assigns it to the CreatorId field.

func (*Downtime) SetDisabled ¶

func (o *Downtime) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*Downtime) SetDowntimeType ¶

func (o *Downtime) SetDowntimeType(v int32)

SetDowntimeType gets a reference to the given int32 and assigns it to the DowntimeType field.

func (*Downtime) SetEnd ¶

func (o *Downtime) SetEnd(v int64)

SetEnd gets a reference to the given NullableInt64 and assigns it to the End field.

func (*Downtime) SetEndNil ¶

func (o *Downtime) SetEndNil()

SetEndNil sets the value for End to be an explicit nil.

func (*Downtime) SetId ¶

func (o *Downtime) SetId(v int64)

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

func (*Downtime) SetMessage ¶

func (o *Downtime) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Downtime) SetMonitorId ¶

func (o *Downtime) SetMonitorId(v int64)

SetMonitorId gets a reference to the given NullableInt64 and assigns it to the MonitorId field.

func (*Downtime) SetMonitorIdNil ¶

func (o *Downtime) SetMonitorIdNil()

SetMonitorIdNil sets the value for MonitorId to be an explicit nil.

func (*Downtime) SetMonitorTags ¶

func (o *Downtime) SetMonitorTags(v []string)

SetMonitorTags gets a reference to the given []string and assigns it to the MonitorTags field.

func (*Downtime) SetMuteFirstRecoveryNotification ¶ added in v1.14.0

func (o *Downtime) SetMuteFirstRecoveryNotification(v bool)

SetMuteFirstRecoveryNotification gets a reference to the given bool and assigns it to the MuteFirstRecoveryNotification field.

func (*Downtime) SetParentId ¶

func (o *Downtime) SetParentId(v int64)

SetParentId gets a reference to the given NullableInt64 and assigns it to the ParentId field.

func (*Downtime) SetParentIdNil ¶

func (o *Downtime) SetParentIdNil()

SetParentIdNil sets the value for ParentId to be an explicit nil.

func (*Downtime) SetRecurrence ¶

func (o *Downtime) SetRecurrence(v DowntimeRecurrence)

SetRecurrence gets a reference to the given NullableDowntimeRecurrence and assigns it to the Recurrence field.

func (*Downtime) SetRecurrenceNil ¶

func (o *Downtime) SetRecurrenceNil()

SetRecurrenceNil sets the value for Recurrence to be an explicit nil.

func (*Downtime) SetScope ¶

func (o *Downtime) SetScope(v []string)

SetScope gets a reference to the given []string and assigns it to the Scope field.

func (*Downtime) SetStart ¶

func (o *Downtime) SetStart(v int64)

SetStart gets a reference to the given int64 and assigns it to the Start field.

func (*Downtime) SetTimezone ¶

func (o *Downtime) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*Downtime) SetUpdaterId ¶

func (o *Downtime) SetUpdaterId(v int32)

SetUpdaterId gets a reference to the given NullableInt32 and assigns it to the UpdaterId field.

func (*Downtime) SetUpdaterIdNil ¶

func (o *Downtime) SetUpdaterIdNil()

SetUpdaterIdNil sets the value for UpdaterId to be an explicit nil.

func (*Downtime) UnmarshalJSON ¶ added in v1.3.0

func (o *Downtime) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*Downtime) UnsetActiveChild ¶

func (o *Downtime) UnsetActiveChild()

UnsetActiveChild ensures that no value is present for ActiveChild, not even an explicit nil.

func (*Downtime) UnsetCanceled ¶

func (o *Downtime) UnsetCanceled()

UnsetCanceled ensures that no value is present for Canceled, not even an explicit nil.

func (*Downtime) UnsetEnd ¶

func (o *Downtime) UnsetEnd()

UnsetEnd ensures that no value is present for End, not even an explicit nil.

func (*Downtime) UnsetMonitorId ¶

func (o *Downtime) UnsetMonitorId()

UnsetMonitorId ensures that no value is present for MonitorId, not even an explicit nil.

func (*Downtime) UnsetParentId ¶

func (o *Downtime) UnsetParentId()

UnsetParentId ensures that no value is present for ParentId, not even an explicit nil.

func (*Downtime) UnsetRecurrence ¶

func (o *Downtime) UnsetRecurrence()

UnsetRecurrence ensures that no value is present for Recurrence, not even an explicit nil.

func (*Downtime) UnsetUpdaterId ¶

func (o *Downtime) UnsetUpdaterId()

UnsetUpdaterId ensures that no value is present for UpdaterId, not even an explicit nil.

type DowntimeChild ¶

type DowntimeChild struct {
	// If a scheduled downtime currently exists.
	Active *bool `json:"active,omitempty"`
	// If a scheduled downtime is canceled.
	Canceled NullableInt64 `json:"canceled,omitempty"`
	// User ID of the downtime creator.
	CreatorId *int32 `json:"creator_id,omitempty"`
	// If a downtime has been disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// `0` for a downtime applied on `*` or all,
	// `1` when the downtime is only scoped to hosts,
	// or `2` when the downtime is scoped to anything but hosts.
	DowntimeType *int32 `json:"downtime_type,omitempty"`
	// POSIX timestamp to end the downtime. If not provided,
	// the downtime is in effect indefinitely until you cancel it.
	End NullableInt64 `json:"end,omitempty"`
	// The downtime ID.
	Id *int64 `json:"id,omitempty"`
	// A message to include with notifications for this downtime.
	// Email notifications can be sent to specific users by using the same `@username` notation as events.
	Message *string `json:"message,omitempty"`
	// A single monitor to which the downtime applies.
	// If not provided, the downtime applies to all monitors.
	MonitorId NullableInt64 `json:"monitor_id,omitempty"`
	// A comma-separated list of monitor tags. For example, tags that are applied directly to monitors,
	// not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies.
	// The resulting downtime applies to monitors that match ALL provided monitor tags.
	// For example, `service:postgres` **AND** `team:frontend`.
	MonitorTags []string `json:"monitor_tags,omitempty"`
	// If the first recovery notification during a downtime should be muted.
	MuteFirstRecoveryNotification *bool `json:"mute_first_recovery_notification,omitempty"`
	// ID of the parent Downtime.
	ParentId NullableInt64 `json:"parent_id,omitempty"`
	// An object defining the recurrence of the downtime.
	Recurrence NullableDowntimeRecurrence `json:"recurrence,omitempty"`
	// The scope(s) to which the downtime applies. For example, `host:app2`.
	// Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
	// The resulting downtime applies to sources that matches ALL provided scopes (`env:dev` **AND** `env:prod`).
	Scope []string `json:"scope,omitempty"`
	// POSIX timestamp to start the downtime.
	// If not provided, the downtime starts the moment it is created.
	Start *int64 `json:"start,omitempty"`
	// The timezone in which to display the downtime's start and end times in Datadog applications.
	Timezone *string `json:"timezone,omitempty"`
	// ID of the last user that updated the downtime.
	UpdaterId NullableInt32 `json:"updater_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DowntimeChild The downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.

func NewDowntimeChild ¶

func NewDowntimeChild() *DowntimeChild

NewDowntimeChild instantiates a new DowntimeChild 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 NewDowntimeChildWithDefaults ¶

func NewDowntimeChildWithDefaults() *DowntimeChild

NewDowntimeChildWithDefaults instantiates a new DowntimeChild 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 (*DowntimeChild) GetActive ¶

func (o *DowntimeChild) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*DowntimeChild) GetActiveOk ¶

func (o *DowntimeChild) GetActiveOk() (*bool, bool)

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

func (*DowntimeChild) GetCanceled ¶

func (o *DowntimeChild) GetCanceled() int64

GetCanceled returns the Canceled field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeChild) GetCanceledOk ¶

func (o *DowntimeChild) GetCanceledOk() (*int64, bool)

GetCanceledOk returns a tuple with the Canceled field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeChild) GetCreatorId ¶

func (o *DowntimeChild) GetCreatorId() int32

GetCreatorId returns the CreatorId field value if set, zero value otherwise.

func (*DowntimeChild) GetCreatorIdOk ¶

func (o *DowntimeChild) GetCreatorIdOk() (*int32, bool)

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

func (*DowntimeChild) GetDisabled ¶

func (o *DowntimeChild) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*DowntimeChild) GetDisabledOk ¶

func (o *DowntimeChild) GetDisabledOk() (*bool, bool)

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

func (*DowntimeChild) GetDowntimeType ¶

func (o *DowntimeChild) GetDowntimeType() int32

GetDowntimeType returns the DowntimeType field value if set, zero value otherwise.

func (*DowntimeChild) GetDowntimeTypeOk ¶

func (o *DowntimeChild) GetDowntimeTypeOk() (*int32, bool)

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

func (*DowntimeChild) GetEnd ¶

func (o *DowntimeChild) GetEnd() int64

GetEnd returns the End field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeChild) GetEndOk ¶

func (o *DowntimeChild) GetEndOk() (*int64, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeChild) GetId ¶

func (o *DowntimeChild) GetId() int64

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

func (*DowntimeChild) GetIdOk ¶

func (o *DowntimeChild) GetIdOk() (*int64, 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 (*DowntimeChild) GetMessage ¶

func (o *DowntimeChild) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*DowntimeChild) GetMessageOk ¶

func (o *DowntimeChild) GetMessageOk() (*string, bool)

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

func (*DowntimeChild) GetMonitorId ¶

func (o *DowntimeChild) GetMonitorId() int64

GetMonitorId returns the MonitorId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeChild) GetMonitorIdOk ¶

func (o *DowntimeChild) GetMonitorIdOk() (*int64, bool)

GetMonitorIdOk returns a tuple with the MonitorId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeChild) GetMonitorTags ¶

func (o *DowntimeChild) GetMonitorTags() []string

GetMonitorTags returns the MonitorTags field value if set, zero value otherwise.

func (*DowntimeChild) GetMonitorTagsOk ¶

func (o *DowntimeChild) GetMonitorTagsOk() (*[]string, bool)

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

func (*DowntimeChild) GetMuteFirstRecoveryNotification ¶ added in v1.14.0

func (o *DowntimeChild) GetMuteFirstRecoveryNotification() bool

GetMuteFirstRecoveryNotification returns the MuteFirstRecoveryNotification field value if set, zero value otherwise.

func (*DowntimeChild) GetMuteFirstRecoveryNotificationOk ¶ added in v1.14.0

func (o *DowntimeChild) GetMuteFirstRecoveryNotificationOk() (*bool, bool)

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

func (*DowntimeChild) GetParentId ¶

func (o *DowntimeChild) GetParentId() int64

GetParentId returns the ParentId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeChild) GetParentIdOk ¶

func (o *DowntimeChild) GetParentIdOk() (*int64, bool)

GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeChild) GetRecurrence ¶

func (o *DowntimeChild) GetRecurrence() DowntimeRecurrence

GetRecurrence returns the Recurrence field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeChild) GetRecurrenceOk ¶

func (o *DowntimeChild) GetRecurrenceOk() (*DowntimeRecurrence, bool)

GetRecurrenceOk returns a tuple with the Recurrence field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeChild) GetScope ¶

func (o *DowntimeChild) GetScope() []string

GetScope returns the Scope field value if set, zero value otherwise.

func (*DowntimeChild) GetScopeOk ¶

func (o *DowntimeChild) GetScopeOk() (*[]string, bool)

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

func (*DowntimeChild) GetStart ¶

func (o *DowntimeChild) GetStart() int64

GetStart returns the Start field value if set, zero value otherwise.

func (*DowntimeChild) GetStartOk ¶

func (o *DowntimeChild) GetStartOk() (*int64, bool)

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

func (*DowntimeChild) GetTimezone ¶

func (o *DowntimeChild) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*DowntimeChild) GetTimezoneOk ¶

func (o *DowntimeChild) GetTimezoneOk() (*string, bool)

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

func (*DowntimeChild) GetUpdaterId ¶

func (o *DowntimeChild) GetUpdaterId() int32

GetUpdaterId returns the UpdaterId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeChild) GetUpdaterIdOk ¶

func (o *DowntimeChild) GetUpdaterIdOk() (*int32, bool)

GetUpdaterIdOk returns a tuple with the UpdaterId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeChild) HasActive ¶

func (o *DowntimeChild) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*DowntimeChild) HasCanceled ¶

func (o *DowntimeChild) HasCanceled() bool

HasCanceled returns a boolean if a field has been set.

func (*DowntimeChild) HasCreatorId ¶

func (o *DowntimeChild) HasCreatorId() bool

HasCreatorId returns a boolean if a field has been set.

func (*DowntimeChild) HasDisabled ¶

func (o *DowntimeChild) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*DowntimeChild) HasDowntimeType ¶

func (o *DowntimeChild) HasDowntimeType() bool

HasDowntimeType returns a boolean if a field has been set.

func (*DowntimeChild) HasEnd ¶

func (o *DowntimeChild) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*DowntimeChild) HasId ¶

func (o *DowntimeChild) HasId() bool

HasId returns a boolean if a field has been set.

func (*DowntimeChild) HasMessage ¶

func (o *DowntimeChild) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*DowntimeChild) HasMonitorId ¶

func (o *DowntimeChild) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*DowntimeChild) HasMonitorTags ¶

func (o *DowntimeChild) HasMonitorTags() bool

HasMonitorTags returns a boolean if a field has been set.

func (*DowntimeChild) HasMuteFirstRecoveryNotification ¶ added in v1.14.0

func (o *DowntimeChild) HasMuteFirstRecoveryNotification() bool

HasMuteFirstRecoveryNotification returns a boolean if a field has been set.

func (*DowntimeChild) HasParentId ¶

func (o *DowntimeChild) HasParentId() bool

HasParentId returns a boolean if a field has been set.

func (*DowntimeChild) HasRecurrence ¶

func (o *DowntimeChild) HasRecurrence() bool

HasRecurrence returns a boolean if a field has been set.

func (*DowntimeChild) HasScope ¶

func (o *DowntimeChild) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*DowntimeChild) HasStart ¶

func (o *DowntimeChild) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*DowntimeChild) HasTimezone ¶

func (o *DowntimeChild) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*DowntimeChild) HasUpdaterId ¶

func (o *DowntimeChild) HasUpdaterId() bool

HasUpdaterId returns a boolean if a field has been set.

func (DowntimeChild) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DowntimeChild) SetActive ¶

func (o *DowntimeChild) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*DowntimeChild) SetCanceled ¶

func (o *DowntimeChild) SetCanceled(v int64)

SetCanceled gets a reference to the given NullableInt64 and assigns it to the Canceled field.

func (*DowntimeChild) SetCanceledNil ¶

func (o *DowntimeChild) SetCanceledNil()

SetCanceledNil sets the value for Canceled to be an explicit nil.

func (*DowntimeChild) SetCreatorId ¶

func (o *DowntimeChild) SetCreatorId(v int32)

SetCreatorId gets a reference to the given int32 and assigns it to the CreatorId field.

func (*DowntimeChild) SetDisabled ¶

func (o *DowntimeChild) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*DowntimeChild) SetDowntimeType ¶

func (o *DowntimeChild) SetDowntimeType(v int32)

SetDowntimeType gets a reference to the given int32 and assigns it to the DowntimeType field.

func (*DowntimeChild) SetEnd ¶

func (o *DowntimeChild) SetEnd(v int64)

SetEnd gets a reference to the given NullableInt64 and assigns it to the End field.

func (*DowntimeChild) SetEndNil ¶

func (o *DowntimeChild) SetEndNil()

SetEndNil sets the value for End to be an explicit nil.

func (*DowntimeChild) SetId ¶

func (o *DowntimeChild) SetId(v int64)

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

func (*DowntimeChild) SetMessage ¶

func (o *DowntimeChild) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*DowntimeChild) SetMonitorId ¶

func (o *DowntimeChild) SetMonitorId(v int64)

SetMonitorId gets a reference to the given NullableInt64 and assigns it to the MonitorId field.

func (*DowntimeChild) SetMonitorIdNil ¶

func (o *DowntimeChild) SetMonitorIdNil()

SetMonitorIdNil sets the value for MonitorId to be an explicit nil.

func (*DowntimeChild) SetMonitorTags ¶

func (o *DowntimeChild) SetMonitorTags(v []string)

SetMonitorTags gets a reference to the given []string and assigns it to the MonitorTags field.

func (*DowntimeChild) SetMuteFirstRecoveryNotification ¶ added in v1.14.0

func (o *DowntimeChild) SetMuteFirstRecoveryNotification(v bool)

SetMuteFirstRecoveryNotification gets a reference to the given bool and assigns it to the MuteFirstRecoveryNotification field.

func (*DowntimeChild) SetParentId ¶

func (o *DowntimeChild) SetParentId(v int64)

SetParentId gets a reference to the given NullableInt64 and assigns it to the ParentId field.

func (*DowntimeChild) SetParentIdNil ¶

func (o *DowntimeChild) SetParentIdNil()

SetParentIdNil sets the value for ParentId to be an explicit nil.

func (*DowntimeChild) SetRecurrence ¶

func (o *DowntimeChild) SetRecurrence(v DowntimeRecurrence)

SetRecurrence gets a reference to the given NullableDowntimeRecurrence and assigns it to the Recurrence field.

func (*DowntimeChild) SetRecurrenceNil ¶

func (o *DowntimeChild) SetRecurrenceNil()

SetRecurrenceNil sets the value for Recurrence to be an explicit nil.

func (*DowntimeChild) SetScope ¶

func (o *DowntimeChild) SetScope(v []string)

SetScope gets a reference to the given []string and assigns it to the Scope field.

func (*DowntimeChild) SetStart ¶

func (o *DowntimeChild) SetStart(v int64)

SetStart gets a reference to the given int64 and assigns it to the Start field.

func (*DowntimeChild) SetTimezone ¶

func (o *DowntimeChild) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*DowntimeChild) SetUpdaterId ¶

func (o *DowntimeChild) SetUpdaterId(v int32)

SetUpdaterId gets a reference to the given NullableInt32 and assigns it to the UpdaterId field.

func (*DowntimeChild) SetUpdaterIdNil ¶

func (o *DowntimeChild) SetUpdaterIdNil()

SetUpdaterIdNil sets the value for UpdaterId to be an explicit nil.

func (*DowntimeChild) UnmarshalJSON ¶ added in v1.3.0

func (o *DowntimeChild) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*DowntimeChild) UnsetCanceled ¶

func (o *DowntimeChild) UnsetCanceled()

UnsetCanceled ensures that no value is present for Canceled, not even an explicit nil.

func (*DowntimeChild) UnsetEnd ¶

func (o *DowntimeChild) UnsetEnd()

UnsetEnd ensures that no value is present for End, not even an explicit nil.

func (*DowntimeChild) UnsetMonitorId ¶

func (o *DowntimeChild) UnsetMonitorId()

UnsetMonitorId ensures that no value is present for MonitorId, not even an explicit nil.

func (*DowntimeChild) UnsetParentId ¶

func (o *DowntimeChild) UnsetParentId()

UnsetParentId ensures that no value is present for ParentId, not even an explicit nil.

func (*DowntimeChild) UnsetRecurrence ¶

func (o *DowntimeChild) UnsetRecurrence()

UnsetRecurrence ensures that no value is present for Recurrence, not even an explicit nil.

func (*DowntimeChild) UnsetUpdaterId ¶

func (o *DowntimeChild) UnsetUpdaterId()

UnsetUpdaterId ensures that no value is present for UpdaterId, not even an explicit nil.

type DowntimeRecurrence ¶

type DowntimeRecurrence struct {
	// How often to repeat as an integer.
	// For example, to repeat every 3 days, select a type of `days` and a period of `3`.
	Period *int32 `json:"period,omitempty"`
	// The `RRULE` standard for defining recurring events (**requires to set "type" to rrule**)
	// For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`.
	// Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported.
	//
	// **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`).
	// More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api)
	Rrule *string `json:"rrule,omitempty"`
	// The type of recurrence. Choose from `days`, `weeks`, `months`, `years`, `rrule`.
	Type *string `json:"type,omitempty"`
	// The date at which the recurrence should end as a POSIX timestamp.
	// `until_occurences` and `until_date` are mutually exclusive.
	UntilDate NullableInt64 `json:"until_date,omitempty"`
	// How many times the downtime is rescheduled.
	// `until_occurences` and `until_date` are mutually exclusive.
	UntilOccurrences NullableInt32 `json:"until_occurrences,omitempty"`
	// A list of week days to repeat on. Choose from `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`.
	// Only applicable when type is weeks. First letter must be capitalized.
	WeekDays []string `json:"week_days,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

DowntimeRecurrence An object defining the recurrence of the downtime.

func NewDowntimeRecurrence ¶

func NewDowntimeRecurrence() *DowntimeRecurrence

NewDowntimeRecurrence instantiates a new DowntimeRecurrence 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 NewDowntimeRecurrenceWithDefaults ¶

func NewDowntimeRecurrenceWithDefaults() *DowntimeRecurrence

NewDowntimeRecurrenceWithDefaults instantiates a new DowntimeRecurrence 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 (*DowntimeRecurrence) GetPeriod ¶

func (o *DowntimeRecurrence) GetPeriod() int32

GetPeriod returns the Period field value if set, zero value otherwise.

func (*DowntimeRecurrence) GetPeriodOk ¶

func (o *DowntimeRecurrence) GetPeriodOk() (*int32, bool)

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

func (*DowntimeRecurrence) GetRrule ¶

func (o *DowntimeRecurrence) GetRrule() string

GetRrule returns the Rrule field value if set, zero value otherwise.

func (*DowntimeRecurrence) GetRruleOk ¶

func (o *DowntimeRecurrence) GetRruleOk() (*string, bool)

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

func (*DowntimeRecurrence) GetType ¶

func (o *DowntimeRecurrence) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DowntimeRecurrence) GetTypeOk ¶

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

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

func (*DowntimeRecurrence) GetUntilDate ¶

func (o *DowntimeRecurrence) GetUntilDate() int64

GetUntilDate returns the UntilDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeRecurrence) GetUntilDateOk ¶

func (o *DowntimeRecurrence) GetUntilDateOk() (*int64, bool)

GetUntilDateOk returns a tuple with the UntilDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeRecurrence) GetUntilOccurrences ¶

func (o *DowntimeRecurrence) GetUntilOccurrences() int32

GetUntilOccurrences returns the UntilOccurrences field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeRecurrence) GetUntilOccurrencesOk ¶

func (o *DowntimeRecurrence) GetUntilOccurrencesOk() (*int32, bool)

GetUntilOccurrencesOk returns a tuple with the UntilOccurrences field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeRecurrence) GetWeekDays ¶

func (o *DowntimeRecurrence) GetWeekDays() []string

GetWeekDays returns the WeekDays field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DowntimeRecurrence) GetWeekDaysOk ¶

func (o *DowntimeRecurrence) GetWeekDaysOk() (*[]string, bool)

GetWeekDaysOk returns a tuple with the WeekDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*DowntimeRecurrence) HasPeriod ¶

func (o *DowntimeRecurrence) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (*DowntimeRecurrence) HasRrule ¶

func (o *DowntimeRecurrence) HasRrule() bool

HasRrule returns a boolean if a field has been set.

func (*DowntimeRecurrence) HasType ¶

func (o *DowntimeRecurrence) HasType() bool

HasType returns a boolean if a field has been set.

func (*DowntimeRecurrence) HasUntilDate ¶

func (o *DowntimeRecurrence) HasUntilDate() bool

HasUntilDate returns a boolean if a field has been set.

func (*DowntimeRecurrence) HasUntilOccurrences ¶

func (o *DowntimeRecurrence) HasUntilOccurrences() bool

HasUntilOccurrences returns a boolean if a field has been set.

func (*DowntimeRecurrence) HasWeekDays ¶

func (o *DowntimeRecurrence) HasWeekDays() bool

HasWeekDays returns a boolean if a field has been set.

func (DowntimeRecurrence) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*DowntimeRecurrence) SetPeriod ¶

func (o *DowntimeRecurrence) SetPeriod(v int32)

SetPeriod gets a reference to the given int32 and assigns it to the Period field.

func (*DowntimeRecurrence) SetRrule ¶

func (o *DowntimeRecurrence) SetRrule(v string)

SetRrule gets a reference to the given string and assigns it to the Rrule field.

func (*DowntimeRecurrence) SetType ¶

func (o *DowntimeRecurrence) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*DowntimeRecurrence) SetUntilDate ¶

func (o *DowntimeRecurrence) SetUntilDate(v int64)

SetUntilDate gets a reference to the given NullableInt64 and assigns it to the UntilDate field.

func (*DowntimeRecurrence) SetUntilDateNil ¶

func (o *DowntimeRecurrence) SetUntilDateNil()

SetUntilDateNil sets the value for UntilDate to be an explicit nil.

func (*DowntimeRecurrence) SetUntilOccurrences ¶

func (o *DowntimeRecurrence) SetUntilOccurrences(v int32)

SetUntilOccurrences gets a reference to the given NullableInt32 and assigns it to the UntilOccurrences field.

func (*DowntimeRecurrence) SetUntilOccurrencesNil ¶

func (o *DowntimeRecurrence) SetUntilOccurrencesNil()

SetUntilOccurrencesNil sets the value for UntilOccurrences to be an explicit nil.

func (*DowntimeRecurrence) SetWeekDays ¶

func (o *DowntimeRecurrence) SetWeekDays(v []string)

SetWeekDays gets a reference to the given []string and assigns it to the WeekDays field.

func (*DowntimeRecurrence) UnmarshalJSON ¶ added in v1.3.0

func (o *DowntimeRecurrence) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*DowntimeRecurrence) UnsetUntilDate ¶

func (o *DowntimeRecurrence) UnsetUntilDate()

UnsetUntilDate ensures that no value is present for UntilDate, not even an explicit nil.

func (*DowntimeRecurrence) UnsetUntilOccurrences ¶

func (o *DowntimeRecurrence) UnsetUntilOccurrences()

UnsetUntilOccurrences ensures that no value is present for UntilOccurrences, not even an explicit nil.

type DowntimesApiService ¶

type DowntimesApiService service

DowntimesApiService DowntimesApi service.

func (*DowntimesApiService) CancelDowntime ¶

func (a *DowntimesApiService) CancelDowntime(ctx _context.Context, downtimeId int64) (*_nethttp.Response, error)

CancelDowntime Cancel a downtime. Cancel a downtime.

func (*DowntimesApiService) CancelDowntimesByScope ¶

CancelDowntimesByScope Cancel downtimes by scope. Delete all downtimes that match the scope of `X`.

func (*DowntimesApiService) CreateDowntime ¶

func (a *DowntimesApiService) CreateDowntime(ctx _context.Context, body Downtime) (Downtime, *_nethttp.Response, error)

CreateDowntime Schedule a downtime. Schedule a downtime.

func (*DowntimesApiService) GetDowntime ¶

func (a *DowntimesApiService) GetDowntime(ctx _context.Context, downtimeId int64) (Downtime, *_nethttp.Response, error)

GetDowntime Get a downtime. Get downtime detail by `downtime_id`.

func (*DowntimesApiService) ListDowntimes ¶

ListDowntimes Get all downtimes. Get all scheduled downtimes.

func (*DowntimesApiService) ListMonitorDowntimes ¶

func (a *DowntimesApiService) ListMonitorDowntimes(ctx _context.Context, monitorId int64) ([]Downtime, *_nethttp.Response, error)

ListMonitorDowntimes Get all downtimes for a monitor. Get all active downtimes for the specified monitor.

func (*DowntimesApiService) UpdateDowntime ¶

func (a *DowntimesApiService) UpdateDowntime(ctx _context.Context, downtimeId int64, body Downtime) (Downtime, *_nethttp.Response, error)

UpdateDowntime Update a downtime. Update a single downtime by `downtime_id`.

type Event ¶

type Event struct {
	// If an alert event is enabled, set its type.
	// For example, `error`, `warning`, `info`, `success`, `user_update`,
	// `recommendation`, and `snapshot`.
	AlertType *EventAlertType `json:"alert_type,omitempty"`
	// POSIX timestamp of the event. Must be sent as an integer (that is no quotes).
	// Limited to events no older than 18 hours.
	DateHappened *int64 `json:"date_happened,omitempty"`
	// A device name.
	DeviceName *string `json:"device_name,omitempty"`
	// Host name to associate with the event.
	// Any tags associated with the host are also applied to this event.
	Host *string `json:"host,omitempty"`
	// Integer ID of the event.
	Id *int64 `json:"id,omitempty"`
	// Handling IDs as large 64-bit numbers can cause loss of accuracy issues with some programming languages.
	// Instead, use the string representation of the Event ID to avoid losing accuracy.
	IdStr *string `json:"id_str,omitempty"`
	// Payload of the event.
	Payload *string `json:"payload,omitempty"`
	// The priority of the event. For example, `normal` or `low`.
	Priority NullableEventPriority `json:"priority,omitempty"`
	// The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc.
	// The list of standard source attribute values [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
	SourceTypeName *string `json:"source_type_name,omitempty"`
	// A list of tags to apply to the event.
	Tags []string `json:"tags,omitempty"`
	// The body of the event. Limited to 4000 characters. The text supports markdown.
	// To use markdown in the event text, start the text block with `%%% \n` and end the text block with `\n %%%`.
	// Use `msg_text` with the Datadog Ruby library.
	Text *string `json:"text,omitempty"`
	// The event title.
	Title *string `json:"title,omitempty"`
	// URL of the event.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Event Object representing an event.

func NewEvent ¶

func NewEvent() *Event

NewEvent instantiates a new Event 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 NewEventWithDefaults ¶

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event 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 (*Event) GetAlertType ¶

func (o *Event) GetAlertType() EventAlertType

GetAlertType returns the AlertType field value if set, zero value otherwise.

func (*Event) GetAlertTypeOk ¶

func (o *Event) GetAlertTypeOk() (*EventAlertType, bool)

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

func (*Event) GetDateHappened ¶

func (o *Event) GetDateHappened() int64

GetDateHappened returns the DateHappened field value if set, zero value otherwise.

func (*Event) GetDateHappenedOk ¶

func (o *Event) GetDateHappenedOk() (*int64, bool)

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

func (*Event) GetDeviceName ¶

func (o *Event) GetDeviceName() string

GetDeviceName returns the DeviceName field value if set, zero value otherwise.

func (*Event) GetDeviceNameOk ¶

func (o *Event) GetDeviceNameOk() (*string, bool)

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

func (*Event) GetHost ¶

func (o *Event) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*Event) GetHostOk ¶

func (o *Event) GetHostOk() (*string, bool)

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

func (*Event) GetId ¶

func (o *Event) GetId() int64

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

func (*Event) GetIdOk ¶

func (o *Event) GetIdOk() (*int64, 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 (*Event) GetIdStr ¶ added in v1.3.0

func (o *Event) GetIdStr() string

GetIdStr returns the IdStr field value if set, zero value otherwise.

func (*Event) GetIdStrOk ¶ added in v1.3.0

func (o *Event) GetIdStrOk() (*string, bool)

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

func (*Event) GetPayload ¶

func (o *Event) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise.

func (*Event) GetPayloadOk ¶

func (o *Event) GetPayloadOk() (*string, bool)

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

func (*Event) GetPriority ¶

func (o *Event) GetPriority() EventPriority

GetPriority returns the Priority field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Event) GetPriorityOk ¶

func (o *Event) GetPriorityOk() (*EventPriority, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Event) GetSourceTypeName ¶

func (o *Event) GetSourceTypeName() string

GetSourceTypeName returns the SourceTypeName field value if set, zero value otherwise.

func (*Event) GetSourceTypeNameOk ¶

func (o *Event) GetSourceTypeNameOk() (*string, bool)

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

func (*Event) GetTags ¶

func (o *Event) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Event) GetTagsOk ¶

func (o *Event) GetTagsOk() (*[]string, bool)

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

func (*Event) GetText ¶

func (o *Event) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*Event) GetTextOk ¶

func (o *Event) GetTextOk() (*string, bool)

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

func (*Event) GetTitle ¶

func (o *Event) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Event) GetTitleOk ¶

func (o *Event) GetTitleOk() (*string, bool)

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

func (*Event) GetUrl ¶

func (o *Event) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Event) GetUrlOk ¶

func (o *Event) GetUrlOk() (*string, bool)

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

func (*Event) HasAlertType ¶

func (o *Event) HasAlertType() bool

HasAlertType returns a boolean if a field has been set.

func (*Event) HasDateHappened ¶

func (o *Event) HasDateHappened() bool

HasDateHappened returns a boolean if a field has been set.

func (*Event) HasDeviceName ¶

func (o *Event) HasDeviceName() bool

HasDeviceName returns a boolean if a field has been set.

func (*Event) HasHost ¶

func (o *Event) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*Event) HasId ¶

func (o *Event) HasId() bool

HasId returns a boolean if a field has been set.

func (*Event) HasIdStr ¶ added in v1.3.0

func (o *Event) HasIdStr() bool

HasIdStr returns a boolean if a field has been set.

func (*Event) HasPayload ¶

func (o *Event) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*Event) HasPriority ¶

func (o *Event) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Event) HasSourceTypeName ¶

func (o *Event) HasSourceTypeName() bool

HasSourceTypeName returns a boolean if a field has been set.

func (*Event) HasTags ¶

func (o *Event) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Event) HasText ¶

func (o *Event) HasText() bool

HasText returns a boolean if a field has been set.

func (*Event) HasTitle ¶

func (o *Event) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Event) HasUrl ¶

func (o *Event) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Event) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*Event) SetAlertType ¶

func (o *Event) SetAlertType(v EventAlertType)

SetAlertType gets a reference to the given EventAlertType and assigns it to the AlertType field.

func (*Event) SetDateHappened ¶

func (o *Event) SetDateHappened(v int64)

SetDateHappened gets a reference to the given int64 and assigns it to the DateHappened field.

func (*Event) SetDeviceName ¶

func (o *Event) SetDeviceName(v string)

SetDeviceName gets a reference to the given string and assigns it to the DeviceName field.

func (*Event) SetHost ¶

func (o *Event) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*Event) SetId ¶

func (o *Event) SetId(v int64)

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

func (*Event) SetIdStr ¶ added in v1.3.0

func (o *Event) SetIdStr(v string)

SetIdStr gets a reference to the given string and assigns it to the IdStr field.

func (*Event) SetPayload ¶

func (o *Event) SetPayload(v string)

SetPayload gets a reference to the given string and assigns it to the Payload field.

func (*Event) SetPriority ¶

func (o *Event) SetPriority(v EventPriority)

SetPriority gets a reference to the given NullableEventPriority and assigns it to the Priority field.

func (*Event) SetPriorityNil ¶ added in v1.10.0

func (o *Event) SetPriorityNil()

SetPriorityNil sets the value for Priority to be an explicit nil.

func (*Event) SetSourceTypeName ¶

func (o *Event) SetSourceTypeName(v string)

SetSourceTypeName gets a reference to the given string and assigns it to the SourceTypeName field.

func (*Event) SetTags ¶

func (o *Event) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Event) SetText ¶

func (o *Event) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (*Event) SetTitle ¶

func (o *Event) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*Event) SetUrl ¶

func (o *Event) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*Event) UnmarshalJSON ¶ added in v1.3.0

func (o *Event) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*Event) UnsetPriority ¶ added in v1.10.0

func (o *Event) UnsetPriority()

UnsetPriority ensures that no value is present for Priority, not even an explicit nil.

type EventAlertType ¶

type EventAlertType string

EventAlertType If an alert event is enabled, set its type. For example, `error`, `warning`, `info`, `success`, `user_update`, `recommendation`, and `snapshot`.

const (
	EVENTALERTTYPE_ERROR          EventAlertType = "error"
	EVENTALERTTYPE_WARNING        EventAlertType = "warning"
	EVENTALERTTYPE_INFO           EventAlertType = "info"
	EVENTALERTTYPE_SUCCESS        EventAlertType = "success"
	EVENTALERTTYPE_USER_UPDATE    EventAlertType = "user_update"
	EVENTALERTTYPE_RECOMMENDATION EventAlertType = "recommendation"
	EVENTALERTTYPE_SNAPSHOT       EventAlertType = "snapshot"
)

List of EventAlertType.

func NewEventAlertTypeFromValue ¶

func NewEventAlertTypeFromValue(v string) (*EventAlertType, error)

NewEventAlertTypeFromValue returns a pointer to a valid EventAlertType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventAlertType) GetAllowedValues ¶ added in v1.1.0

func (v *EventAlertType) GetAllowedValues() []EventAlertType

GetAllowedValues reeturns the list of possible values.

func (EventAlertType) IsValid ¶

func (v EventAlertType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventAlertType) Ptr ¶

func (v EventAlertType) Ptr() *EventAlertType

Ptr returns reference to EventAlertType value.

func (*EventAlertType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type EventCreateRequest ¶

type EventCreateRequest struct {
	// An arbitrary string to use for aggregation. Limited to 100 characters.
	// If you specify a key, all events using that key are grouped together in the Event Stream.
	AggregationKey *string `json:"aggregation_key,omitempty"`
	// If an alert event is enabled, set its type.
	// For example, `error`, `warning`, `info`, `success`, `user_update`,
	// `recommendation`, and `snapshot`.
	AlertType *EventAlertType `json:"alert_type,omitempty"`
	// POSIX timestamp of the event. Must be sent as an integer (that is no quotes).
	// Limited to events no older than 18 hours
	DateHappened *int64 `json:"date_happened,omitempty"`
	// A device name.
	DeviceName *string `json:"device_name,omitempty"`
	// Host name to associate with the event.
	// Any tags associated with the host are also applied to this event.
	Host *string `json:"host,omitempty"`
	// The priority of the event. For example, `normal` or `low`.
	Priority NullableEventPriority `json:"priority,omitempty"`
	// ID of the parent event. Must be sent as an integer (that is no quotes).
	RelatedEventId *int64 `json:"related_event_id,omitempty"`
	// The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc.
	// A complete list of source attribute values [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
	SourceTypeName *string `json:"source_type_name,omitempty"`
	// A list of tags to apply to the event.
	Tags []string `json:"tags,omitempty"`
	// The body of the event. Limited to 4000 characters. The text supports markdown.
	// To use markdown in the event text, start the text block with `%%% \n` and end the text block with `\n %%%`.
	// Use `msg_text` with the Datadog Ruby library.
	Text string `json:"text"`
	// The event title.
	Title string `json:"title"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

EventCreateRequest Object representing an event.

func NewEventCreateRequest ¶

func NewEventCreateRequest(text string, title string) *EventCreateRequest

NewEventCreateRequest instantiates a new EventCreateRequest 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 NewEventCreateRequestWithDefaults ¶

func NewEventCreateRequestWithDefaults() *EventCreateRequest

NewEventCreateRequestWithDefaults instantiates a new EventCreateRequest 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 (*EventCreateRequest) GetAggregationKey ¶

func (o *EventCreateRequest) GetAggregationKey() string

GetAggregationKey returns the AggregationKey field value if set, zero value otherwise.

func (*EventCreateRequest) GetAggregationKeyOk ¶

func (o *EventCreateRequest) GetAggregationKeyOk() (*string, bool)

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

func (*EventCreateRequest) GetAlertType ¶

func (o *EventCreateRequest) GetAlertType() EventAlertType

GetAlertType returns the AlertType field value if set, zero value otherwise.

func (*EventCreateRequest) GetAlertTypeOk ¶

func (o *EventCreateRequest) GetAlertTypeOk() (*EventAlertType, bool)

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

func (*EventCreateRequest) GetDateHappened ¶

func (o *EventCreateRequest) GetDateHappened() int64

GetDateHappened returns the DateHappened field value if set, zero value otherwise.

func (*EventCreateRequest) GetDateHappenedOk ¶

func (o *EventCreateRequest) GetDateHappenedOk() (*int64, bool)

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

func (*EventCreateRequest) GetDeviceName ¶

func (o *EventCreateRequest) GetDeviceName() string

GetDeviceName returns the DeviceName field value if set, zero value otherwise.

func (*EventCreateRequest) GetDeviceNameOk ¶

func (o *EventCreateRequest) GetDeviceNameOk() (*string, bool)

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

func (*EventCreateRequest) GetHost ¶

func (o *EventCreateRequest) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*EventCreateRequest) GetHostOk ¶

func (o *EventCreateRequest) GetHostOk() (*string, bool)

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

func (*EventCreateRequest) GetPriority ¶

func (o *EventCreateRequest) GetPriority() EventPriority

GetPriority returns the Priority field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EventCreateRequest) GetPriorityOk ¶

func (o *EventCreateRequest) GetPriorityOk() (*EventPriority, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*EventCreateRequest) GetRelatedEventId ¶

func (o *EventCreateRequest) GetRelatedEventId() int64

GetRelatedEventId returns the RelatedEventId field value if set, zero value otherwise.

func (*EventCreateRequest) GetRelatedEventIdOk ¶

func (o *EventCreateRequest) GetRelatedEventIdOk() (*int64, bool)

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

func (*EventCreateRequest) GetSourceTypeName ¶

func (o *EventCreateRequest) GetSourceTypeName() string

GetSourceTypeName returns the SourceTypeName field value if set, zero value otherwise.

func (*EventCreateRequest) GetSourceTypeNameOk ¶

func (o *EventCreateRequest) GetSourceTypeNameOk() (*string, bool)

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

func (*EventCreateRequest) GetTags ¶

func (o *EventCreateRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*EventCreateRequest) GetTagsOk ¶

func (o *EventCreateRequest) GetTagsOk() (*[]string, bool)

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

func (*EventCreateRequest) GetText ¶

func (o *EventCreateRequest) GetText() string

GetText returns the Text field value.

func (*EventCreateRequest) GetTextOk ¶

func (o *EventCreateRequest) GetTextOk() (*string, bool)

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

func (*EventCreateRequest) GetTitle ¶

func (o *EventCreateRequest) GetTitle() string

GetTitle returns the Title field value.

func (*EventCreateRequest) GetTitleOk ¶

func (o *EventCreateRequest) GetTitleOk() (*string, bool)

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

func (*EventCreateRequest) HasAggregationKey ¶

func (o *EventCreateRequest) HasAggregationKey() bool

HasAggregationKey returns a boolean if a field has been set.

func (*EventCreateRequest) HasAlertType ¶

func (o *EventCreateRequest) HasAlertType() bool

HasAlertType returns a boolean if a field has been set.

func (*EventCreateRequest) HasDateHappened ¶

func (o *EventCreateRequest) HasDateHappened() bool

HasDateHappened returns a boolean if a field has been set.

func (*EventCreateRequest) HasDeviceName ¶

func (o *EventCreateRequest) HasDeviceName() bool

HasDeviceName returns a boolean if a field has been set.

func (*EventCreateRequest) HasHost ¶

func (o *EventCreateRequest) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*EventCreateRequest) HasPriority ¶

func (o *EventCreateRequest) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*EventCreateRequest) HasRelatedEventId ¶

func (o *EventCreateRequest) HasRelatedEventId() bool

HasRelatedEventId returns a boolean if a field has been set.

func (*EventCreateRequest) HasSourceTypeName ¶

func (o *EventCreateRequest) HasSourceTypeName() bool

HasSourceTypeName returns a boolean if a field has been set.

func (*EventCreateRequest) HasTags ¶

func (o *EventCreateRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (EventCreateRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*EventCreateRequest) SetAggregationKey ¶

func (o *EventCreateRequest) SetAggregationKey(v string)

SetAggregationKey gets a reference to the given string and assigns it to the AggregationKey field.

func (*EventCreateRequest) SetAlertType ¶

func (o *EventCreateRequest) SetAlertType(v EventAlertType)

SetAlertType gets a reference to the given EventAlertType and assigns it to the AlertType field.

func (*EventCreateRequest) SetDateHappened ¶

func (o *EventCreateRequest) SetDateHappened(v int64)

SetDateHappened gets a reference to the given int64 and assigns it to the DateHappened field.

func (*EventCreateRequest) SetDeviceName ¶

func (o *EventCreateRequest) SetDeviceName(v string)

SetDeviceName gets a reference to the given string and assigns it to the DeviceName field.

func (*EventCreateRequest) SetHost ¶

func (o *EventCreateRequest) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*EventCreateRequest) SetPriority ¶

func (o *EventCreateRequest) SetPriority(v EventPriority)

SetPriority gets a reference to the given NullableEventPriority and assigns it to the Priority field.

func (*EventCreateRequest) SetPriorityNil ¶ added in v1.10.0

func (o *EventCreateRequest) SetPriorityNil()

SetPriorityNil sets the value for Priority to be an explicit nil.

func (*EventCreateRequest) SetRelatedEventId ¶

func (o *EventCreateRequest) SetRelatedEventId(v int64)

SetRelatedEventId gets a reference to the given int64 and assigns it to the RelatedEventId field.

func (*EventCreateRequest) SetSourceTypeName ¶

func (o *EventCreateRequest) SetSourceTypeName(v string)

SetSourceTypeName gets a reference to the given string and assigns it to the SourceTypeName field.

func (*EventCreateRequest) SetTags ¶

func (o *EventCreateRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*EventCreateRequest) SetText ¶

func (o *EventCreateRequest) SetText(v string)

SetText sets field value.

func (*EventCreateRequest) SetTitle ¶

func (o *EventCreateRequest) SetTitle(v string)

SetTitle sets field value.

func (*EventCreateRequest) UnmarshalJSON ¶

func (o *EventCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*EventCreateRequest) UnsetPriority ¶ added in v1.10.0

func (o *EventCreateRequest) UnsetPriority()

UnsetPriority ensures that no value is present for Priority, not even an explicit nil.

type EventCreateResponse ¶

type EventCreateResponse struct {
	// Object representing an event.
	Event *Event `json:"event,omitempty"`
	// A status.
	Status *string `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

EventCreateResponse Object containing an event response.

func NewEventCreateResponse ¶

func NewEventCreateResponse() *EventCreateResponse

NewEventCreateResponse instantiates a new EventCreateResponse 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 NewEventCreateResponseWithDefaults ¶

func NewEventCreateResponseWithDefaults() *EventCreateResponse

NewEventCreateResponseWithDefaults instantiates a new EventCreateResponse 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 (*EventCreateResponse) GetEvent ¶ added in v1.10.0

func (o *EventCreateResponse) GetEvent() Event

GetEvent returns the Event field value if set, zero value otherwise.

func (*EventCreateResponse) GetEventOk ¶ added in v1.10.0

func (o *EventCreateResponse) GetEventOk() (*Event, bool)

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

func (*EventCreateResponse) GetStatus ¶

func (o *EventCreateResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*EventCreateResponse) GetStatusOk ¶

func (o *EventCreateResponse) GetStatusOk() (*string, bool)

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

func (*EventCreateResponse) HasEvent ¶ added in v1.10.0

func (o *EventCreateResponse) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (*EventCreateResponse) HasStatus ¶

func (o *EventCreateResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (EventCreateResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*EventCreateResponse) SetEvent ¶ added in v1.10.0

func (o *EventCreateResponse) SetEvent(v Event)

SetEvent gets a reference to the given Event and assigns it to the Event field.

func (*EventCreateResponse) SetStatus ¶

func (o *EventCreateResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*EventCreateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *EventCreateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventListResponse ¶

type EventListResponse struct {
	// An array of events.
	Events []Event `json:"events,omitempty"`
	// A status.
	Status *string `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

EventListResponse An event list response.

func NewEventListResponse ¶

func NewEventListResponse() *EventListResponse

NewEventListResponse instantiates a new EventListResponse 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 NewEventListResponseWithDefaults ¶

func NewEventListResponseWithDefaults() *EventListResponse

NewEventListResponseWithDefaults instantiates a new EventListResponse 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 (*EventListResponse) GetEvents ¶

func (o *EventListResponse) GetEvents() []Event

GetEvents returns the Events field value if set, zero value otherwise.

func (*EventListResponse) GetEventsOk ¶

func (o *EventListResponse) GetEventsOk() (*[]Event, bool)

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

func (*EventListResponse) GetStatus ¶

func (o *EventListResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*EventListResponse) GetStatusOk ¶

func (o *EventListResponse) GetStatusOk() (*string, bool)

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

func (*EventListResponse) HasEvents ¶

func (o *EventListResponse) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*EventListResponse) HasStatus ¶

func (o *EventListResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (EventListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*EventListResponse) SetEvents ¶

func (o *EventListResponse) SetEvents(v []Event)

SetEvents gets a reference to the given []Event and assigns it to the Events field.

func (*EventListResponse) SetStatus ¶

func (o *EventListResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*EventListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *EventListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventPriority ¶

type EventPriority string

EventPriority The priority of the event. For example, `normal` or `low`.

const (
	EVENTPRIORITY_NORMAL EventPriority = "normal"
	EVENTPRIORITY_LOW    EventPriority = "low"
)

List of EventPriority.

func NewEventPriorityFromValue ¶

func NewEventPriorityFromValue(v string) (*EventPriority, error)

NewEventPriorityFromValue returns a pointer to a valid EventPriority for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventPriority) GetAllowedValues ¶ added in v1.1.0

func (v *EventPriority) GetAllowedValues() []EventPriority

GetAllowedValues reeturns the list of possible values.

func (EventPriority) IsValid ¶

func (v EventPriority) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (EventPriority) Ptr ¶

func (v EventPriority) Ptr() *EventPriority

Ptr returns reference to EventPriority value.

func (*EventPriority) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type EventQueryDefinition ¶

type EventQueryDefinition struct {
	// The query being made on the event.
	Search string `json:"search"`
	// The execution method for multi-value filters. Can be either and or or.
	TagsExecution string `json:"tags_execution"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

EventQueryDefinition The event query.

func NewEventQueryDefinition ¶

func NewEventQueryDefinition(search string, tagsExecution string) *EventQueryDefinition

NewEventQueryDefinition instantiates a new EventQueryDefinition 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 NewEventQueryDefinitionWithDefaults ¶

func NewEventQueryDefinitionWithDefaults() *EventQueryDefinition

NewEventQueryDefinitionWithDefaults instantiates a new EventQueryDefinition 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 (*EventQueryDefinition) GetSearch ¶

func (o *EventQueryDefinition) GetSearch() string

GetSearch returns the Search field value.

func (*EventQueryDefinition) GetSearchOk ¶

func (o *EventQueryDefinition) GetSearchOk() (*string, bool)

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

func (*EventQueryDefinition) GetTagsExecution ¶

func (o *EventQueryDefinition) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field value.

func (*EventQueryDefinition) GetTagsExecutionOk ¶

func (o *EventQueryDefinition) GetTagsExecutionOk() (*string, bool)

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

func (EventQueryDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*EventQueryDefinition) SetSearch ¶

func (o *EventQueryDefinition) SetSearch(v string)

SetSearch sets field value.

func (*EventQueryDefinition) SetTagsExecution ¶

func (o *EventQueryDefinition) SetTagsExecution(v string)

SetTagsExecution sets field value.

func (*EventQueryDefinition) UnmarshalJSON ¶

func (o *EventQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventResponse ¶

type EventResponse struct {
	// Object representing an event.
	Event *Event `json:"event,omitempty"`
	// A status.
	Status *string `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

EventResponse Object containing an event response.

func NewEventResponse ¶

func NewEventResponse() *EventResponse

NewEventResponse instantiates a new EventResponse 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 NewEventResponseWithDefaults ¶

func NewEventResponseWithDefaults() *EventResponse

NewEventResponseWithDefaults instantiates a new EventResponse 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 (*EventResponse) GetEvent ¶

func (o *EventResponse) GetEvent() Event

GetEvent returns the Event field value if set, zero value otherwise.

func (*EventResponse) GetEventOk ¶

func (o *EventResponse) GetEventOk() (*Event, bool)

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

func (*EventResponse) GetStatus ¶

func (o *EventResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*EventResponse) GetStatusOk ¶

func (o *EventResponse) GetStatusOk() (*string, bool)

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

func (*EventResponse) HasEvent ¶

func (o *EventResponse) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (*EventResponse) HasStatus ¶

func (o *EventResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (EventResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*EventResponse) SetEvent ¶

func (o *EventResponse) SetEvent(v Event)

SetEvent gets a reference to the given Event and assigns it to the Event field.

func (*EventResponse) SetStatus ¶

func (o *EventResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*EventResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *EventResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventStreamWidgetDefinition ¶

type EventStreamWidgetDefinition struct {
	// Size to use to display an event.
	EventSize *WidgetEventSize `json:"event_size,omitempty"`
	// Query to filter the event stream with.
	Query string `json:"query"`
	// The execution method for multi-value filters. Can be either and or or.
	TagsExecution *string `json:"tags_execution,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the event stream widget.
	Type EventStreamWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

EventStreamWidgetDefinition The event stream is a widget version of the stream of events on the Event Stream view. Only available on FREE layout dashboards.

func NewEventStreamWidgetDefinition ¶

func NewEventStreamWidgetDefinition(query string, typeVar EventStreamWidgetDefinitionType) *EventStreamWidgetDefinition

NewEventStreamWidgetDefinition instantiates a new EventStreamWidgetDefinition 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 NewEventStreamWidgetDefinitionWithDefaults ¶

func NewEventStreamWidgetDefinitionWithDefaults() *EventStreamWidgetDefinition

NewEventStreamWidgetDefinitionWithDefaults instantiates a new EventStreamWidgetDefinition 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 (*EventStreamWidgetDefinition) GetEventSize ¶

func (o *EventStreamWidgetDefinition) GetEventSize() WidgetEventSize

GetEventSize returns the EventSize field value if set, zero value otherwise.

func (*EventStreamWidgetDefinition) GetEventSizeOk ¶

func (o *EventStreamWidgetDefinition) GetEventSizeOk() (*WidgetEventSize, bool)

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

func (*EventStreamWidgetDefinition) GetQuery ¶

func (o *EventStreamWidgetDefinition) GetQuery() string

GetQuery returns the Query field value.

func (*EventStreamWidgetDefinition) GetQueryOk ¶

func (o *EventStreamWidgetDefinition) GetQueryOk() (*string, bool)

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

func (*EventStreamWidgetDefinition) GetTagsExecution ¶

func (o *EventStreamWidgetDefinition) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field value if set, zero value otherwise.

func (*EventStreamWidgetDefinition) GetTagsExecutionOk ¶

func (o *EventStreamWidgetDefinition) GetTagsExecutionOk() (*string, bool)

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

func (*EventStreamWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*EventStreamWidgetDefinition) GetTimeOk ¶

func (o *EventStreamWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*EventStreamWidgetDefinition) GetTitle ¶

func (o *EventStreamWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*EventStreamWidgetDefinition) GetTitleAlign ¶

func (o *EventStreamWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*EventStreamWidgetDefinition) GetTitleAlignOk ¶

func (o *EventStreamWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*EventStreamWidgetDefinition) GetTitleOk ¶

func (o *EventStreamWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*EventStreamWidgetDefinition) GetTitleSize ¶

func (o *EventStreamWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*EventStreamWidgetDefinition) GetTitleSizeOk ¶

func (o *EventStreamWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*EventStreamWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*EventStreamWidgetDefinition) GetTypeOk ¶

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

func (*EventStreamWidgetDefinition) HasEventSize ¶

func (o *EventStreamWidgetDefinition) HasEventSize() bool

HasEventSize returns a boolean if a field has been set.

func (*EventStreamWidgetDefinition) HasTagsExecution ¶

func (o *EventStreamWidgetDefinition) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*EventStreamWidgetDefinition) HasTime ¶

func (o *EventStreamWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*EventStreamWidgetDefinition) HasTitle ¶

func (o *EventStreamWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventStreamWidgetDefinition) HasTitleAlign ¶

func (o *EventStreamWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventStreamWidgetDefinition) HasTitleSize ¶

func (o *EventStreamWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (EventStreamWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*EventStreamWidgetDefinition) SetEventSize ¶

func (o *EventStreamWidgetDefinition) SetEventSize(v WidgetEventSize)

SetEventSize gets a reference to the given WidgetEventSize and assigns it to the EventSize field.

func (*EventStreamWidgetDefinition) SetQuery ¶

func (o *EventStreamWidgetDefinition) SetQuery(v string)

SetQuery sets field value.

func (*EventStreamWidgetDefinition) SetTagsExecution ¶

func (o *EventStreamWidgetDefinition) SetTagsExecution(v string)

SetTagsExecution gets a reference to the given string and assigns it to the TagsExecution field.

func (*EventStreamWidgetDefinition) SetTime ¶

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*EventStreamWidgetDefinition) SetTitle ¶

func (o *EventStreamWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*EventStreamWidgetDefinition) SetTitleAlign ¶

func (o *EventStreamWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*EventStreamWidgetDefinition) SetTitleSize ¶

func (o *EventStreamWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*EventStreamWidgetDefinition) SetType ¶

SetType sets field value.

func (*EventStreamWidgetDefinition) UnmarshalJSON ¶

func (o *EventStreamWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventStreamWidgetDefinitionType ¶

type EventStreamWidgetDefinitionType string

EventStreamWidgetDefinitionType Type of the event stream widget.

const (
	EVENTSTREAMWIDGETDEFINITIONTYPE_EVENT_STREAM EventStreamWidgetDefinitionType = "event_stream"
)

List of EventStreamWidgetDefinitionType.

func NewEventStreamWidgetDefinitionTypeFromValue ¶

func NewEventStreamWidgetDefinitionTypeFromValue(v string) (*EventStreamWidgetDefinitionType, error)

NewEventStreamWidgetDefinitionTypeFromValue returns a pointer to a valid EventStreamWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventStreamWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (EventStreamWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (EventStreamWidgetDefinitionType) Ptr ¶

Ptr returns reference to EventStreamWidgetDefinitionType value.

func (*EventStreamWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type EventTimelineWidgetDefinition ¶

type EventTimelineWidgetDefinition struct {
	// Query to filter the event timeline with.
	Query string `json:"query"`
	// The execution method for multi-value filters. Can be either and or or.
	TagsExecution *string `json:"tags_execution,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the event timeline widget.
	Type EventTimelineWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

EventTimelineWidgetDefinition The event timeline is a widget version of the timeline that appears at the top of the Event Stream view. Only available on FREE layout dashboards.

func NewEventTimelineWidgetDefinition ¶

func NewEventTimelineWidgetDefinition(query string, typeVar EventTimelineWidgetDefinitionType) *EventTimelineWidgetDefinition

NewEventTimelineWidgetDefinition instantiates a new EventTimelineWidgetDefinition 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 NewEventTimelineWidgetDefinitionWithDefaults ¶

func NewEventTimelineWidgetDefinitionWithDefaults() *EventTimelineWidgetDefinition

NewEventTimelineWidgetDefinitionWithDefaults instantiates a new EventTimelineWidgetDefinition 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 (*EventTimelineWidgetDefinition) GetQuery ¶

func (o *EventTimelineWidgetDefinition) GetQuery() string

GetQuery returns the Query field value.

func (*EventTimelineWidgetDefinition) GetQueryOk ¶

func (o *EventTimelineWidgetDefinition) GetQueryOk() (*string, bool)

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

func (*EventTimelineWidgetDefinition) GetTagsExecution ¶

func (o *EventTimelineWidgetDefinition) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field value if set, zero value otherwise.

func (*EventTimelineWidgetDefinition) GetTagsExecutionOk ¶

func (o *EventTimelineWidgetDefinition) GetTagsExecutionOk() (*string, bool)

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

func (*EventTimelineWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*EventTimelineWidgetDefinition) GetTimeOk ¶

func (o *EventTimelineWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*EventTimelineWidgetDefinition) GetTitle ¶

func (o *EventTimelineWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*EventTimelineWidgetDefinition) GetTitleAlign ¶

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*EventTimelineWidgetDefinition) GetTitleAlignOk ¶

func (o *EventTimelineWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*EventTimelineWidgetDefinition) GetTitleOk ¶

func (o *EventTimelineWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*EventTimelineWidgetDefinition) GetTitleSize ¶

func (o *EventTimelineWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*EventTimelineWidgetDefinition) GetTitleSizeOk ¶

func (o *EventTimelineWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*EventTimelineWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*EventTimelineWidgetDefinition) GetTypeOk ¶

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

func (*EventTimelineWidgetDefinition) HasTagsExecution ¶

func (o *EventTimelineWidgetDefinition) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*EventTimelineWidgetDefinition) HasTime ¶

func (o *EventTimelineWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*EventTimelineWidgetDefinition) HasTitle ¶

func (o *EventTimelineWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventTimelineWidgetDefinition) HasTitleAlign ¶

func (o *EventTimelineWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventTimelineWidgetDefinition) HasTitleSize ¶

func (o *EventTimelineWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (EventTimelineWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*EventTimelineWidgetDefinition) SetQuery ¶

func (o *EventTimelineWidgetDefinition) SetQuery(v string)

SetQuery sets field value.

func (*EventTimelineWidgetDefinition) SetTagsExecution ¶

func (o *EventTimelineWidgetDefinition) SetTagsExecution(v string)

SetTagsExecution gets a reference to the given string and assigns it to the TagsExecution field.

func (*EventTimelineWidgetDefinition) SetTime ¶

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*EventTimelineWidgetDefinition) SetTitle ¶

func (o *EventTimelineWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*EventTimelineWidgetDefinition) SetTitleAlign ¶

func (o *EventTimelineWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*EventTimelineWidgetDefinition) SetTitleSize ¶

func (o *EventTimelineWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*EventTimelineWidgetDefinition) SetType ¶

SetType sets field value.

func (*EventTimelineWidgetDefinition) UnmarshalJSON ¶

func (o *EventTimelineWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type EventTimelineWidgetDefinitionType ¶

type EventTimelineWidgetDefinitionType string

EventTimelineWidgetDefinitionType Type of the event timeline widget.

const (
	EVENTTIMELINEWIDGETDEFINITIONTYPE_EVENT_TIMELINE EventTimelineWidgetDefinitionType = "event_timeline"
)

List of EventTimelineWidgetDefinitionType.

func NewEventTimelineWidgetDefinitionTypeFromValue ¶

func NewEventTimelineWidgetDefinitionTypeFromValue(v string) (*EventTimelineWidgetDefinitionType, error)

NewEventTimelineWidgetDefinitionTypeFromValue returns a pointer to a valid EventTimelineWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*EventTimelineWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (EventTimelineWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (EventTimelineWidgetDefinitionType) Ptr ¶

Ptr returns reference to EventTimelineWidgetDefinitionType value.

func (*EventTimelineWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type EventsApiService ¶

type EventsApiService service

EventsApiService EventsApi service.

func (*EventsApiService) CreateEvent ¶

CreateEvent Post an event. This endpoint allows you to post events to the stream. Tag them, set priority and event aggregate them with other events.

func (*EventsApiService) GetEvent ¶

func (a *EventsApiService) GetEvent(ctx _context.Context, eventId int64) (EventResponse, *_nethttp.Response, error)

GetEvent Get an event. This endpoint allows you to query for event details.

**Note**: If the event you’re querying contains markdown formatting of any kind, you may see characters such as `%`,`\`,`n` in your output.

func (*EventsApiService) ListEvents ¶

ListEvents Query the event stream. The event stream can be queried and filtered by time, priority, sources and tags.

**Notes**: - If the event you’re querying contains markdown formatting of any kind, you may see characters such as `%`,`\`,`n` in your output.

- This endpoint returns a maximum of `1000` most recent results. To return additional results, identify the last timestamp of the last result and set that as the `end` query time to paginate the results. You can also use the page parameter to specify which set of `1000` results to return.

type FormFile ¶ added in v1.12.0

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

FormFile holds parameters for a file in multipart/form-data request.

type FormulaAndFunctionApmDependencyStatName ¶ added in v1.4.0

type FormulaAndFunctionApmDependencyStatName string

FormulaAndFunctionApmDependencyStatName APM statistic.

const (
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATNAME_AVG_DURATION        FormulaAndFunctionApmDependencyStatName = "avg_duration"
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATNAME_AVG_ROOT_DURATION   FormulaAndFunctionApmDependencyStatName = "avg_root_duration"
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATNAME_AVG_SPANS_PER_TRACE FormulaAndFunctionApmDependencyStatName = "avg_spans_per_trace"
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATNAME_ERROR_RATE          FormulaAndFunctionApmDependencyStatName = "error_rate"
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATNAME_PCT_EXEC_TIME       FormulaAndFunctionApmDependencyStatName = "pct_exec_time"
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATNAME_PCT_OF_TRACES       FormulaAndFunctionApmDependencyStatName = "pct_of_traces"
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATNAME_TOTAL_TRACES_COUNT  FormulaAndFunctionApmDependencyStatName = "total_traces_count"
)

List of FormulaAndFunctionApmDependencyStatName.

func NewFormulaAndFunctionApmDependencyStatNameFromValue ¶ added in v1.4.0

func NewFormulaAndFunctionApmDependencyStatNameFromValue(v string) (*FormulaAndFunctionApmDependencyStatName, error)

NewFormulaAndFunctionApmDependencyStatNameFromValue returns a pointer to a valid FormulaAndFunctionApmDependencyStatName for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionApmDependencyStatName) GetAllowedValues ¶ added in v1.4.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionApmDependencyStatName) IsValid ¶ added in v1.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionApmDependencyStatName) Ptr ¶ added in v1.4.0

Ptr returns reference to FormulaAndFunctionApmDependencyStatName value.

func (*FormulaAndFunctionApmDependencyStatName) UnmarshalJSON ¶ added in v1.4.0

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

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionApmDependencyStatsDataSource ¶ added in v1.4.0

type FormulaAndFunctionApmDependencyStatsDataSource string

FormulaAndFunctionApmDependencyStatsDataSource Data source for APM dependency stats queries.

const (
	FORMULAANDFUNCTIONAPMDEPENDENCYSTATSDATASOURCE_APM_DEPENDENCY_STATS FormulaAndFunctionApmDependencyStatsDataSource = "apm_dependency_stats"
)

List of FormulaAndFunctionApmDependencyStatsDataSource.

func NewFormulaAndFunctionApmDependencyStatsDataSourceFromValue ¶ added in v1.4.0

func NewFormulaAndFunctionApmDependencyStatsDataSourceFromValue(v string) (*FormulaAndFunctionApmDependencyStatsDataSource, error)

NewFormulaAndFunctionApmDependencyStatsDataSourceFromValue returns a pointer to a valid FormulaAndFunctionApmDependencyStatsDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionApmDependencyStatsDataSource) GetAllowedValues ¶ added in v1.4.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionApmDependencyStatsDataSource) IsValid ¶ added in v1.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionApmDependencyStatsDataSource) Ptr ¶ added in v1.4.0

Ptr returns reference to FormulaAndFunctionApmDependencyStatsDataSource value.

func (*FormulaAndFunctionApmDependencyStatsDataSource) UnmarshalJSON ¶ added in v1.4.0

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionApmDependencyStatsQueryDefinition ¶ added in v1.4.0

type FormulaAndFunctionApmDependencyStatsQueryDefinition struct {
	// Data source for APM dependency stats queries.
	DataSource FormulaAndFunctionApmDependencyStatsDataSource `json:"data_source"`
	// APM environment.
	Env string `json:"env"`
	// Determines whether stats for upstream or downstream dependencies should be queried.
	IsUpstream *bool `json:"is_upstream,omitempty"`
	// Name of query to use in formulas.
	Name string `json:"name"`
	// Name of operation on service.
	OperationName string `json:"operation_name"`
	// The name of the second primary tag used within APM; required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.
	PrimaryTagName *string `json:"primary_tag_name,omitempty"`
	// Filter APM data by the second primary tag. `primary_tag_name` must also be specified.
	PrimaryTagValue *string `json:"primary_tag_value,omitempty"`
	// APM resource.
	ResourceName string `json:"resource_name"`
	// APM service.
	Service string `json:"service"`
	// APM statistic.
	Stat FormulaAndFunctionApmDependencyStatName `json:"stat"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionApmDependencyStatsQueryDefinition A formula and functions APM dependency stats query.

func NewFormulaAndFunctionApmDependencyStatsQueryDefinition ¶ added in v1.4.0

func NewFormulaAndFunctionApmDependencyStatsQueryDefinition(dataSource FormulaAndFunctionApmDependencyStatsDataSource, env string, name string, operationName string, resourceName string, service string, stat FormulaAndFunctionApmDependencyStatName) *FormulaAndFunctionApmDependencyStatsQueryDefinition

NewFormulaAndFunctionApmDependencyStatsQueryDefinition instantiates a new FormulaAndFunctionApmDependencyStatsQueryDefinition 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 NewFormulaAndFunctionApmDependencyStatsQueryDefinitionWithDefaults ¶ added in v1.4.0

func NewFormulaAndFunctionApmDependencyStatsQueryDefinitionWithDefaults() *FormulaAndFunctionApmDependencyStatsQueryDefinition

NewFormulaAndFunctionApmDependencyStatsQueryDefinitionWithDefaults instantiates a new FormulaAndFunctionApmDependencyStatsQueryDefinition 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 (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetDataSource ¶ added in v1.4.0

GetDataSource returns the DataSource field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetDataSourceOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetEnv ¶ added in v1.4.0

GetEnv returns the Env field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetEnvOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetIsUpstream ¶ added in v1.4.0

GetIsUpstream returns the IsUpstream field value if set, zero value otherwise.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetIsUpstreamOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetName ¶ added in v1.4.0

GetName returns the Name field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetNameOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetOperationName ¶ added in v1.4.0

GetOperationName returns the OperationName field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetOperationNameOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetPrimaryTagName ¶ added in v1.4.0

GetPrimaryTagName returns the PrimaryTagName field value if set, zero value otherwise.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetPrimaryTagNameOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetPrimaryTagValue ¶ added in v1.4.0

GetPrimaryTagValue returns the PrimaryTagValue field value if set, zero value otherwise.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetPrimaryTagValueOk ¶ added in v1.4.0

func (o *FormulaAndFunctionApmDependencyStatsQueryDefinition) GetPrimaryTagValueOk() (*string, bool)

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetResourceName ¶ added in v1.4.0

GetResourceName returns the ResourceName field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetResourceNameOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetService ¶ added in v1.4.0

GetService returns the Service field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetServiceOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetStat ¶ added in v1.4.0

GetStat returns the Stat field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) GetStatOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) HasIsUpstream ¶ added in v1.4.0

HasIsUpstream returns a boolean if a field has been set.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) HasPrimaryTagName ¶ added in v1.4.0

HasPrimaryTagName returns a boolean if a field has been set.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) HasPrimaryTagValue ¶ added in v1.4.0

HasPrimaryTagValue returns a boolean if a field has been set.

func (FormulaAndFunctionApmDependencyStatsQueryDefinition) MarshalJSON ¶ added in v1.4.0

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetDataSource ¶ added in v1.4.0

SetDataSource sets field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetEnv ¶ added in v1.4.0

SetEnv sets field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetIsUpstream ¶ added in v1.4.0

SetIsUpstream gets a reference to the given bool and assigns it to the IsUpstream field.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetName ¶ added in v1.4.0

SetName sets field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetOperationName ¶ added in v1.4.0

SetOperationName sets field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetPrimaryTagName ¶ added in v1.4.0

SetPrimaryTagName gets a reference to the given string and assigns it to the PrimaryTagName field.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetPrimaryTagValue ¶ added in v1.4.0

SetPrimaryTagValue gets a reference to the given string and assigns it to the PrimaryTagValue field.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetResourceName ¶ added in v1.4.0

SetResourceName sets field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetService ¶ added in v1.4.0

SetService sets field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) SetStat ¶ added in v1.4.0

SetStat sets field value.

func (*FormulaAndFunctionApmDependencyStatsQueryDefinition) UnmarshalJSON ¶ added in v1.4.0

func (o *FormulaAndFunctionApmDependencyStatsQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionApmResourceStatName ¶ added in v1.4.0

type FormulaAndFunctionApmResourceStatName string

FormulaAndFunctionApmResourceStatName APM resource stat name.

const (
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_ERRORS               FormulaAndFunctionApmResourceStatName = "errors"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_ERROR_RATE           FormulaAndFunctionApmResourceStatName = "error_rate"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_HITS                 FormulaAndFunctionApmResourceStatName = "hits"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_AVG          FormulaAndFunctionApmResourceStatName = "latency_avg"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_DISTRIBUTION FormulaAndFunctionApmResourceStatName = "latency_distribution"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_MAX          FormulaAndFunctionApmResourceStatName = "latency_max"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_P50          FormulaAndFunctionApmResourceStatName = "latency_p50"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_P75          FormulaAndFunctionApmResourceStatName = "latency_p75"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_P90          FormulaAndFunctionApmResourceStatName = "latency_p90"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_P95          FormulaAndFunctionApmResourceStatName = "latency_p95"
	FORMULAANDFUNCTIONAPMRESOURCESTATNAME_LATENCY_P99          FormulaAndFunctionApmResourceStatName = "latency_p99"
)

List of FormulaAndFunctionApmResourceStatName.

func NewFormulaAndFunctionApmResourceStatNameFromValue ¶ added in v1.4.0

func NewFormulaAndFunctionApmResourceStatNameFromValue(v string) (*FormulaAndFunctionApmResourceStatName, error)

NewFormulaAndFunctionApmResourceStatNameFromValue returns a pointer to a valid FormulaAndFunctionApmResourceStatName for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionApmResourceStatName) GetAllowedValues ¶ added in v1.4.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionApmResourceStatName) IsValid ¶ added in v1.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionApmResourceStatName) Ptr ¶ added in v1.4.0

Ptr returns reference to FormulaAndFunctionApmResourceStatName value.

func (*FormulaAndFunctionApmResourceStatName) UnmarshalJSON ¶ added in v1.4.0

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

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionApmResourceStatsDataSource ¶ added in v1.4.0

type FormulaAndFunctionApmResourceStatsDataSource string

FormulaAndFunctionApmResourceStatsDataSource Data source for APM resource stats queries.

const (
	FORMULAANDFUNCTIONAPMRESOURCESTATSDATASOURCE_APM_RESOURCE_STATS FormulaAndFunctionApmResourceStatsDataSource = "apm_resource_stats"
)

List of FormulaAndFunctionApmResourceStatsDataSource.

func NewFormulaAndFunctionApmResourceStatsDataSourceFromValue ¶ added in v1.4.0

func NewFormulaAndFunctionApmResourceStatsDataSourceFromValue(v string) (*FormulaAndFunctionApmResourceStatsDataSource, error)

NewFormulaAndFunctionApmResourceStatsDataSourceFromValue returns a pointer to a valid FormulaAndFunctionApmResourceStatsDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionApmResourceStatsDataSource) GetAllowedValues ¶ added in v1.4.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionApmResourceStatsDataSource) IsValid ¶ added in v1.4.0

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionApmResourceStatsDataSource) Ptr ¶ added in v1.4.0

Ptr returns reference to FormulaAndFunctionApmResourceStatsDataSource value.

func (*FormulaAndFunctionApmResourceStatsDataSource) UnmarshalJSON ¶ added in v1.4.0

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionApmResourceStatsQueryDefinition ¶ added in v1.4.0

type FormulaAndFunctionApmResourceStatsQueryDefinition struct {
	// Data source for APM resource stats queries.
	DataSource FormulaAndFunctionApmResourceStatsDataSource `json:"data_source"`
	// APM environment.
	Env string `json:"env"`
	// Array of fields to group results by.
	GroupBy []string `json:"group_by,omitempty"`
	// Name of this query to use in formulas.
	Name string `json:"name"`
	// Name of operation on service.
	OperationName *string `json:"operation_name,omitempty"`
	// Name of the second primary tag used within APM. Required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
	PrimaryTagName *string `json:"primary_tag_name,omitempty"`
	// Value of the second primary tag by which to filter APM data. `primary_tag_name` must also be specified.
	PrimaryTagValue *string `json:"primary_tag_value,omitempty"`
	// APM resource name.
	ResourceName *string `json:"resource_name,omitempty"`
	// APM service name.
	Service string `json:"service"`
	// APM resource stat name.
	Stat FormulaAndFunctionApmResourceStatName `json:"stat"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionApmResourceStatsQueryDefinition APM resource stats query using formulas and functions.

func NewFormulaAndFunctionApmResourceStatsQueryDefinition ¶ added in v1.4.0

func NewFormulaAndFunctionApmResourceStatsQueryDefinition(dataSource FormulaAndFunctionApmResourceStatsDataSource, env string, name string, service string, stat FormulaAndFunctionApmResourceStatName) *FormulaAndFunctionApmResourceStatsQueryDefinition

NewFormulaAndFunctionApmResourceStatsQueryDefinition instantiates a new FormulaAndFunctionApmResourceStatsQueryDefinition 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 NewFormulaAndFunctionApmResourceStatsQueryDefinitionWithDefaults ¶ added in v1.4.0

func NewFormulaAndFunctionApmResourceStatsQueryDefinitionWithDefaults() *FormulaAndFunctionApmResourceStatsQueryDefinition

NewFormulaAndFunctionApmResourceStatsQueryDefinitionWithDefaults instantiates a new FormulaAndFunctionApmResourceStatsQueryDefinition 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 (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetDataSource ¶ added in v1.4.0

GetDataSource returns the DataSource field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetDataSourceOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetEnv ¶ added in v1.4.0

GetEnv returns the Env field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetEnvOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetGroupBy ¶ added in v1.4.0

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetGroupByOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetName ¶ added in v1.4.0

GetName returns the Name field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetNameOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetOperationName ¶ added in v1.4.0

GetOperationName returns the OperationName field value if set, zero value otherwise.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetOperationNameOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetPrimaryTagName ¶ added in v1.4.0

GetPrimaryTagName returns the PrimaryTagName field value if set, zero value otherwise.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetPrimaryTagNameOk ¶ added in v1.4.0

func (o *FormulaAndFunctionApmResourceStatsQueryDefinition) GetPrimaryTagNameOk() (*string, bool)

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetPrimaryTagValue ¶ added in v1.4.0

GetPrimaryTagValue returns the PrimaryTagValue field value if set, zero value otherwise.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetPrimaryTagValueOk ¶ added in v1.4.0

func (o *FormulaAndFunctionApmResourceStatsQueryDefinition) GetPrimaryTagValueOk() (*string, bool)

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetResourceName ¶ added in v1.4.0

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetResourceNameOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetService ¶ added in v1.4.0

GetService returns the Service field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetServiceOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetStat ¶ added in v1.4.0

GetStat returns the Stat field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) GetStatOk ¶ added in v1.4.0

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

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) HasGroupBy ¶ added in v1.4.0

HasGroupBy returns a boolean if a field has been set.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) HasOperationName ¶ added in v1.4.0

HasOperationName returns a boolean if a field has been set.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) HasPrimaryTagName ¶ added in v1.4.0

HasPrimaryTagName returns a boolean if a field has been set.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) HasPrimaryTagValue ¶ added in v1.4.0

HasPrimaryTagValue returns a boolean if a field has been set.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) HasResourceName ¶ added in v1.4.0

HasResourceName returns a boolean if a field has been set.

func (FormulaAndFunctionApmResourceStatsQueryDefinition) MarshalJSON ¶ added in v1.4.0

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetDataSource ¶ added in v1.4.0

SetDataSource sets field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetEnv ¶ added in v1.4.0

SetEnv sets field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetGroupBy ¶ added in v1.4.0

SetGroupBy gets a reference to the given []string and assigns it to the GroupBy field.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetName ¶ added in v1.4.0

SetName sets field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetOperationName ¶ added in v1.4.0

SetOperationName gets a reference to the given string and assigns it to the OperationName field.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetPrimaryTagName ¶ added in v1.4.0

SetPrimaryTagName gets a reference to the given string and assigns it to the PrimaryTagName field.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetPrimaryTagValue ¶ added in v1.4.0

SetPrimaryTagValue gets a reference to the given string and assigns it to the PrimaryTagValue field.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetResourceName ¶ added in v1.4.0

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetService ¶ added in v1.4.0

SetService sets field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) SetStat ¶ added in v1.4.0

SetStat sets field value.

func (*FormulaAndFunctionApmResourceStatsQueryDefinition) UnmarshalJSON ¶ added in v1.4.0

func (o *FormulaAndFunctionApmResourceStatsQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionEventAggregation ¶

type FormulaAndFunctionEventAggregation string

FormulaAndFunctionEventAggregation Aggregation methods for event platform queries.

const (
	FORMULAANDFUNCTIONEVENTAGGREGATION_COUNT       FormulaAndFunctionEventAggregation = "count"
	FORMULAANDFUNCTIONEVENTAGGREGATION_CARDINALITY FormulaAndFunctionEventAggregation = "cardinality"
	FORMULAANDFUNCTIONEVENTAGGREGATION_MEDIAN      FormulaAndFunctionEventAggregation = "median"
	FORMULAANDFUNCTIONEVENTAGGREGATION_PC75        FormulaAndFunctionEventAggregation = "pc75"
	FORMULAANDFUNCTIONEVENTAGGREGATION_PC90        FormulaAndFunctionEventAggregation = "pc90"
	FORMULAANDFUNCTIONEVENTAGGREGATION_PC95        FormulaAndFunctionEventAggregation = "pc95"
	FORMULAANDFUNCTIONEVENTAGGREGATION_PC98        FormulaAndFunctionEventAggregation = "pc98"
	FORMULAANDFUNCTIONEVENTAGGREGATION_PC99        FormulaAndFunctionEventAggregation = "pc99"
	FORMULAANDFUNCTIONEVENTAGGREGATION_SUM         FormulaAndFunctionEventAggregation = "sum"
	FORMULAANDFUNCTIONEVENTAGGREGATION_MIN         FormulaAndFunctionEventAggregation = "min"
	FORMULAANDFUNCTIONEVENTAGGREGATION_MAX         FormulaAndFunctionEventAggregation = "max"
	FORMULAANDFUNCTIONEVENTAGGREGATION_AVG         FormulaAndFunctionEventAggregation = "avg"
)

List of FormulaAndFunctionEventAggregation.

func NewFormulaAndFunctionEventAggregationFromValue ¶

func NewFormulaAndFunctionEventAggregationFromValue(v string) (*FormulaAndFunctionEventAggregation, error)

NewFormulaAndFunctionEventAggregationFromValue returns a pointer to a valid FormulaAndFunctionEventAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionEventAggregation) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionEventAggregation) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionEventAggregation) Ptr ¶

Ptr returns reference to FormulaAndFunctionEventAggregation value.

func (*FormulaAndFunctionEventAggregation) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionEventQueryDefinition ¶

type FormulaAndFunctionEventQueryDefinition struct {
	// Compute options.
	Compute FormulaAndFunctionEventQueryDefinitionCompute `json:"compute"`
	// Data source for event platform-based queries.
	DataSource FormulaAndFunctionEventsDataSource `json:"data_source"`
	// Group by options.
	GroupBy []FormulaAndFunctionEventQueryGroupBy `json:"group_by,omitempty"`
	// An array of index names to query in the stream. Omit or use `[]` to query all indexes at once.
	Indexes []string `json:"indexes,omitempty"`
	// Name of the query for use in formulas.
	Name string `json:"name"`
	// Search options.
	Search *FormulaAndFunctionEventQueryDefinitionSearch `json:"search,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionEventQueryDefinition A formula and functions events query.

func NewFormulaAndFunctionEventQueryDefinition ¶

NewFormulaAndFunctionEventQueryDefinition instantiates a new FormulaAndFunctionEventQueryDefinition 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 NewFormulaAndFunctionEventQueryDefinitionWithDefaults ¶

func NewFormulaAndFunctionEventQueryDefinitionWithDefaults() *FormulaAndFunctionEventQueryDefinition

NewFormulaAndFunctionEventQueryDefinitionWithDefaults instantiates a new FormulaAndFunctionEventQueryDefinition 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 (*FormulaAndFunctionEventQueryDefinition) GetCompute ¶

GetCompute returns the Compute field value.

func (*FormulaAndFunctionEventQueryDefinition) GetComputeOk ¶

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

func (*FormulaAndFunctionEventQueryDefinition) GetDataSource ¶

GetDataSource returns the DataSource field value.

func (*FormulaAndFunctionEventQueryDefinition) GetDataSourceOk ¶

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

func (*FormulaAndFunctionEventQueryDefinition) GetGroupBy ¶

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryDefinition) GetGroupByOk ¶

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

func (*FormulaAndFunctionEventQueryDefinition) GetIndexes ¶

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryDefinition) GetIndexesOk ¶

func (o *FormulaAndFunctionEventQueryDefinition) GetIndexesOk() (*[]string, bool)

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

func (*FormulaAndFunctionEventQueryDefinition) GetName ¶

GetName returns the Name field value.

func (*FormulaAndFunctionEventQueryDefinition) GetNameOk ¶

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

func (*FormulaAndFunctionEventQueryDefinition) GetSearch ¶

GetSearch returns the Search field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryDefinition) GetSearchOk ¶

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

func (*FormulaAndFunctionEventQueryDefinition) HasGroupBy ¶

HasGroupBy returns a boolean if a field has been set.

func (*FormulaAndFunctionEventQueryDefinition) HasIndexes ¶

HasIndexes returns a boolean if a field has been set.

func (*FormulaAndFunctionEventQueryDefinition) HasSearch ¶

HasSearch returns a boolean if a field has been set.

func (FormulaAndFunctionEventQueryDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionEventQueryDefinition) SetCompute ¶

SetCompute sets field value.

func (*FormulaAndFunctionEventQueryDefinition) SetDataSource ¶

SetDataSource sets field value.

func (*FormulaAndFunctionEventQueryDefinition) SetGroupBy ¶

SetGroupBy gets a reference to the given []FormulaAndFunctionEventQueryGroupBy and assigns it to the GroupBy field.

func (*FormulaAndFunctionEventQueryDefinition) SetIndexes ¶

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*FormulaAndFunctionEventQueryDefinition) SetName ¶

SetName sets field value.

func (*FormulaAndFunctionEventQueryDefinition) SetSearch ¶

SetSearch gets a reference to the given FormulaAndFunctionEventQueryDefinitionSearch and assigns it to the Search field.

func (*FormulaAndFunctionEventQueryDefinition) UnmarshalJSON ¶

func (o *FormulaAndFunctionEventQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionEventQueryDefinitionCompute ¶

type FormulaAndFunctionEventQueryDefinitionCompute struct {
	// Aggregation methods for event platform queries.
	Aggregation FormulaAndFunctionEventAggregation `json:"aggregation"`
	// A time interval in milliseconds.
	Interval *int64 `json:"interval,omitempty"`
	// Measurable attribute to compute.
	Metric *string `json:"metric,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionEventQueryDefinitionCompute Compute options.

func NewFormulaAndFunctionEventQueryDefinitionCompute ¶

func NewFormulaAndFunctionEventQueryDefinitionCompute(aggregation FormulaAndFunctionEventAggregation) *FormulaAndFunctionEventQueryDefinitionCompute

NewFormulaAndFunctionEventQueryDefinitionCompute instantiates a new FormulaAndFunctionEventQueryDefinitionCompute 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 NewFormulaAndFunctionEventQueryDefinitionComputeWithDefaults ¶

func NewFormulaAndFunctionEventQueryDefinitionComputeWithDefaults() *FormulaAndFunctionEventQueryDefinitionCompute

NewFormulaAndFunctionEventQueryDefinitionComputeWithDefaults instantiates a new FormulaAndFunctionEventQueryDefinitionCompute 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 (*FormulaAndFunctionEventQueryDefinitionCompute) GetAggregation ¶

GetAggregation returns the Aggregation field value.

func (*FormulaAndFunctionEventQueryDefinitionCompute) GetAggregationOk ¶

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

func (*FormulaAndFunctionEventQueryDefinitionCompute) GetInterval ¶

GetInterval returns the Interval field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryDefinitionCompute) GetIntervalOk ¶

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

func (*FormulaAndFunctionEventQueryDefinitionCompute) GetMetric ¶

GetMetric returns the Metric field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryDefinitionCompute) GetMetricOk ¶

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

func (*FormulaAndFunctionEventQueryDefinitionCompute) HasInterval ¶

HasInterval returns a boolean if a field has been set.

func (*FormulaAndFunctionEventQueryDefinitionCompute) HasMetric ¶

HasMetric returns a boolean if a field has been set.

func (FormulaAndFunctionEventQueryDefinitionCompute) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionEventQueryDefinitionCompute) SetAggregation ¶

SetAggregation sets field value.

func (*FormulaAndFunctionEventQueryDefinitionCompute) SetInterval ¶

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*FormulaAndFunctionEventQueryDefinitionCompute) SetMetric ¶

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*FormulaAndFunctionEventQueryDefinitionCompute) UnmarshalJSON ¶

func (o *FormulaAndFunctionEventQueryDefinitionCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionEventQueryDefinitionSearch ¶

type FormulaAndFunctionEventQueryDefinitionSearch struct {
	// Events search string.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionEventQueryDefinitionSearch Search options.

func NewFormulaAndFunctionEventQueryDefinitionSearch ¶

func NewFormulaAndFunctionEventQueryDefinitionSearch(query string) *FormulaAndFunctionEventQueryDefinitionSearch

NewFormulaAndFunctionEventQueryDefinitionSearch instantiates a new FormulaAndFunctionEventQueryDefinitionSearch 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 NewFormulaAndFunctionEventQueryDefinitionSearchWithDefaults ¶

func NewFormulaAndFunctionEventQueryDefinitionSearchWithDefaults() *FormulaAndFunctionEventQueryDefinitionSearch

NewFormulaAndFunctionEventQueryDefinitionSearchWithDefaults instantiates a new FormulaAndFunctionEventQueryDefinitionSearch 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 (*FormulaAndFunctionEventQueryDefinitionSearch) GetQuery ¶

GetQuery returns the Query field value.

func (*FormulaAndFunctionEventQueryDefinitionSearch) GetQueryOk ¶

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

func (FormulaAndFunctionEventQueryDefinitionSearch) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionEventQueryDefinitionSearch) SetQuery ¶

SetQuery sets field value.

func (*FormulaAndFunctionEventQueryDefinitionSearch) UnmarshalJSON ¶

func (o *FormulaAndFunctionEventQueryDefinitionSearch) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionEventQueryGroupBy ¶

type FormulaAndFunctionEventQueryGroupBy struct {
	// Event facet.
	Facet string `json:"facet"`
	// Number of groups to return.
	Limit *int64 `json:"limit,omitempty"`
	// Options for sorting group by results.
	Sort *FormulaAndFunctionEventQueryGroupBySort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionEventQueryGroupBy List of objects used to group by.

func NewFormulaAndFunctionEventQueryGroupBy ¶

func NewFormulaAndFunctionEventQueryGroupBy(facet string) *FormulaAndFunctionEventQueryGroupBy

NewFormulaAndFunctionEventQueryGroupBy instantiates a new FormulaAndFunctionEventQueryGroupBy 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 NewFormulaAndFunctionEventQueryGroupByWithDefaults ¶

func NewFormulaAndFunctionEventQueryGroupByWithDefaults() *FormulaAndFunctionEventQueryGroupBy

NewFormulaAndFunctionEventQueryGroupByWithDefaults instantiates a new FormulaAndFunctionEventQueryGroupBy 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 (*FormulaAndFunctionEventQueryGroupBy) GetFacet ¶

GetFacet returns the Facet field value.

func (*FormulaAndFunctionEventQueryGroupBy) GetFacetOk ¶

func (o *FormulaAndFunctionEventQueryGroupBy) GetFacetOk() (*string, bool)

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

func (*FormulaAndFunctionEventQueryGroupBy) GetLimit ¶

GetLimit returns the Limit field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryGroupBy) GetLimitOk ¶

func (o *FormulaAndFunctionEventQueryGroupBy) GetLimitOk() (*int64, bool)

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

func (*FormulaAndFunctionEventQueryGroupBy) GetSort ¶

GetSort returns the Sort field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryGroupBy) GetSortOk ¶

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

func (*FormulaAndFunctionEventQueryGroupBy) HasLimit ¶

HasLimit returns a boolean if a field has been set.

func (*FormulaAndFunctionEventQueryGroupBy) HasSort ¶

HasSort returns a boolean if a field has been set.

func (FormulaAndFunctionEventQueryGroupBy) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionEventQueryGroupBy) SetFacet ¶

SetFacet sets field value.

func (*FormulaAndFunctionEventQueryGroupBy) SetLimit ¶

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*FormulaAndFunctionEventQueryGroupBy) SetSort ¶

SetSort gets a reference to the given FormulaAndFunctionEventQueryGroupBySort and assigns it to the Sort field.

func (*FormulaAndFunctionEventQueryGroupBy) UnmarshalJSON ¶

func (o *FormulaAndFunctionEventQueryGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionEventQueryGroupBySort ¶

type FormulaAndFunctionEventQueryGroupBySort struct {
	// Aggregation methods for event platform queries.
	Aggregation FormulaAndFunctionEventAggregation `json:"aggregation"`
	// Metric used for sorting group by results.
	Metric *string `json:"metric,omitempty"`
	// Direction of sort.
	Order *QuerySortOrder `json:"order,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionEventQueryGroupBySort Options for sorting group by results.

func NewFormulaAndFunctionEventQueryGroupBySort ¶

func NewFormulaAndFunctionEventQueryGroupBySort(aggregation FormulaAndFunctionEventAggregation) *FormulaAndFunctionEventQueryGroupBySort

NewFormulaAndFunctionEventQueryGroupBySort instantiates a new FormulaAndFunctionEventQueryGroupBySort 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 NewFormulaAndFunctionEventQueryGroupBySortWithDefaults ¶

func NewFormulaAndFunctionEventQueryGroupBySortWithDefaults() *FormulaAndFunctionEventQueryGroupBySort

NewFormulaAndFunctionEventQueryGroupBySortWithDefaults instantiates a new FormulaAndFunctionEventQueryGroupBySort 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 (*FormulaAndFunctionEventQueryGroupBySort) GetAggregation ¶

GetAggregation returns the Aggregation field value.

func (*FormulaAndFunctionEventQueryGroupBySort) GetAggregationOk ¶

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

func (*FormulaAndFunctionEventQueryGroupBySort) GetMetric ¶

GetMetric returns the Metric field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryGroupBySort) GetMetricOk ¶

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

func (*FormulaAndFunctionEventQueryGroupBySort) GetOrder ¶

GetOrder returns the Order field value if set, zero value otherwise.

func (*FormulaAndFunctionEventQueryGroupBySort) GetOrderOk ¶

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

func (*FormulaAndFunctionEventQueryGroupBySort) HasMetric ¶

HasMetric returns a boolean if a field has been set.

func (*FormulaAndFunctionEventQueryGroupBySort) HasOrder ¶

HasOrder returns a boolean if a field has been set.

func (FormulaAndFunctionEventQueryGroupBySort) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionEventQueryGroupBySort) SetAggregation ¶

SetAggregation sets field value.

func (*FormulaAndFunctionEventQueryGroupBySort) SetMetric ¶

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*FormulaAndFunctionEventQueryGroupBySort) SetOrder ¶

SetOrder gets a reference to the given QuerySortOrder and assigns it to the Order field.

func (*FormulaAndFunctionEventQueryGroupBySort) UnmarshalJSON ¶

func (o *FormulaAndFunctionEventQueryGroupBySort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionEventsDataSource ¶

type FormulaAndFunctionEventsDataSource string

FormulaAndFunctionEventsDataSource Data source for event platform-based queries.

const (
	FORMULAANDFUNCTIONEVENTSDATASOURCE_LOGS             FormulaAndFunctionEventsDataSource = "logs"
	FORMULAANDFUNCTIONEVENTSDATASOURCE_SPANS            FormulaAndFunctionEventsDataSource = "spans"
	FORMULAANDFUNCTIONEVENTSDATASOURCE_NETWORK          FormulaAndFunctionEventsDataSource = "network"
	FORMULAANDFUNCTIONEVENTSDATASOURCE_RUM              FormulaAndFunctionEventsDataSource = "rum"
	FORMULAANDFUNCTIONEVENTSDATASOURCE_SECURITY_SIGNALS FormulaAndFunctionEventsDataSource = "security_signals"
	FORMULAANDFUNCTIONEVENTSDATASOURCE_PROFILES         FormulaAndFunctionEventsDataSource = "profiles"
	FORMULAANDFUNCTIONEVENTSDATASOURCE_AUDIT            FormulaAndFunctionEventsDataSource = "audit"
	FORMULAANDFUNCTIONEVENTSDATASOURCE_EVENTS           FormulaAndFunctionEventsDataSource = "events"
)

List of FormulaAndFunctionEventsDataSource.

func NewFormulaAndFunctionEventsDataSourceFromValue ¶

func NewFormulaAndFunctionEventsDataSourceFromValue(v string) (*FormulaAndFunctionEventsDataSource, error)

NewFormulaAndFunctionEventsDataSourceFromValue returns a pointer to a valid FormulaAndFunctionEventsDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionEventsDataSource) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionEventsDataSource) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionEventsDataSource) Ptr ¶

Ptr returns reference to FormulaAndFunctionEventsDataSource value.

func (*FormulaAndFunctionEventsDataSource) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionMetricAggregation ¶

type FormulaAndFunctionMetricAggregation string

FormulaAndFunctionMetricAggregation The aggregation methods available for metrics queries.

const (
	FORMULAANDFUNCTIONMETRICAGGREGATION_AVG        FormulaAndFunctionMetricAggregation = "avg"
	FORMULAANDFUNCTIONMETRICAGGREGATION_MIN        FormulaAndFunctionMetricAggregation = "min"
	FORMULAANDFUNCTIONMETRICAGGREGATION_MAX        FormulaAndFunctionMetricAggregation = "max"
	FORMULAANDFUNCTIONMETRICAGGREGATION_SUM        FormulaAndFunctionMetricAggregation = "sum"
	FORMULAANDFUNCTIONMETRICAGGREGATION_LAST       FormulaAndFunctionMetricAggregation = "last"
	FORMULAANDFUNCTIONMETRICAGGREGATION_AREA       FormulaAndFunctionMetricAggregation = "area"
	FORMULAANDFUNCTIONMETRICAGGREGATION_L2NORM     FormulaAndFunctionMetricAggregation = "l2norm"
	FORMULAANDFUNCTIONMETRICAGGREGATION_PERCENTILE FormulaAndFunctionMetricAggregation = "percentile"
)

List of FormulaAndFunctionMetricAggregation.

func NewFormulaAndFunctionMetricAggregationFromValue ¶

func NewFormulaAndFunctionMetricAggregationFromValue(v string) (*FormulaAndFunctionMetricAggregation, error)

NewFormulaAndFunctionMetricAggregationFromValue returns a pointer to a valid FormulaAndFunctionMetricAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionMetricAggregation) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionMetricAggregation) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionMetricAggregation) Ptr ¶

Ptr returns reference to FormulaAndFunctionMetricAggregation value.

func (*FormulaAndFunctionMetricAggregation) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionMetricDataSource ¶

type FormulaAndFunctionMetricDataSource string

FormulaAndFunctionMetricDataSource Data source for metrics queries.

const (
	FORMULAANDFUNCTIONMETRICDATASOURCE_METRICS FormulaAndFunctionMetricDataSource = "metrics"
)

List of FormulaAndFunctionMetricDataSource.

func NewFormulaAndFunctionMetricDataSourceFromValue ¶

func NewFormulaAndFunctionMetricDataSourceFromValue(v string) (*FormulaAndFunctionMetricDataSource, error)

NewFormulaAndFunctionMetricDataSourceFromValue returns a pointer to a valid FormulaAndFunctionMetricDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionMetricDataSource) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionMetricDataSource) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionMetricDataSource) Ptr ¶

Ptr returns reference to FormulaAndFunctionMetricDataSource value.

func (*FormulaAndFunctionMetricDataSource) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionMetricQueryDefinition ¶

type FormulaAndFunctionMetricQueryDefinition struct {
	// The aggregation methods available for metrics queries.
	Aggregator *FormulaAndFunctionMetricAggregation `json:"aggregator,omitempty"`
	// Data source for metrics queries.
	DataSource FormulaAndFunctionMetricDataSource `json:"data_source"`
	// Name of the query for use in formulas.
	Name string `json:"name"`
	// Metrics query definition.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionMetricQueryDefinition A formula and functions metrics query.

func NewFormulaAndFunctionMetricQueryDefinition ¶

func NewFormulaAndFunctionMetricQueryDefinition(dataSource FormulaAndFunctionMetricDataSource, name string, query string) *FormulaAndFunctionMetricQueryDefinition

NewFormulaAndFunctionMetricQueryDefinition instantiates a new FormulaAndFunctionMetricQueryDefinition 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 NewFormulaAndFunctionMetricQueryDefinitionWithDefaults ¶

func NewFormulaAndFunctionMetricQueryDefinitionWithDefaults() *FormulaAndFunctionMetricQueryDefinition

NewFormulaAndFunctionMetricQueryDefinitionWithDefaults instantiates a new FormulaAndFunctionMetricQueryDefinition 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 (*FormulaAndFunctionMetricQueryDefinition) GetAggregator ¶

GetAggregator returns the Aggregator field value if set, zero value otherwise.

func (*FormulaAndFunctionMetricQueryDefinition) GetAggregatorOk ¶

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

func (*FormulaAndFunctionMetricQueryDefinition) GetDataSource ¶

GetDataSource returns the DataSource field value.

func (*FormulaAndFunctionMetricQueryDefinition) GetDataSourceOk ¶

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

func (*FormulaAndFunctionMetricQueryDefinition) GetName ¶

GetName returns the Name field value.

func (*FormulaAndFunctionMetricQueryDefinition) GetNameOk ¶

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

func (*FormulaAndFunctionMetricQueryDefinition) GetQuery ¶

GetQuery returns the Query field value.

func (*FormulaAndFunctionMetricQueryDefinition) GetQueryOk ¶

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

func (*FormulaAndFunctionMetricQueryDefinition) HasAggregator ¶

func (o *FormulaAndFunctionMetricQueryDefinition) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (FormulaAndFunctionMetricQueryDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionMetricQueryDefinition) SetAggregator ¶

SetAggregator gets a reference to the given FormulaAndFunctionMetricAggregation and assigns it to the Aggregator field.

func (*FormulaAndFunctionMetricQueryDefinition) SetDataSource ¶

SetDataSource sets field value.

func (*FormulaAndFunctionMetricQueryDefinition) SetName ¶

SetName sets field value.

func (*FormulaAndFunctionMetricQueryDefinition) SetQuery ¶

SetQuery sets field value.

func (*FormulaAndFunctionMetricQueryDefinition) UnmarshalJSON ¶

func (o *FormulaAndFunctionMetricQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionProcessQueryDataSource ¶

type FormulaAndFunctionProcessQueryDataSource string

FormulaAndFunctionProcessQueryDataSource Data sources that rely on the process backend.

const (
	FORMULAANDFUNCTIONPROCESSQUERYDATASOURCE_PROCESS   FormulaAndFunctionProcessQueryDataSource = "process"
	FORMULAANDFUNCTIONPROCESSQUERYDATASOURCE_CONTAINER FormulaAndFunctionProcessQueryDataSource = "container"
)

List of FormulaAndFunctionProcessQueryDataSource.

func NewFormulaAndFunctionProcessQueryDataSourceFromValue ¶

func NewFormulaAndFunctionProcessQueryDataSourceFromValue(v string) (*FormulaAndFunctionProcessQueryDataSource, error)

NewFormulaAndFunctionProcessQueryDataSourceFromValue returns a pointer to a valid FormulaAndFunctionProcessQueryDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionProcessQueryDataSource) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionProcessQueryDataSource) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionProcessQueryDataSource) Ptr ¶

Ptr returns reference to FormulaAndFunctionProcessQueryDataSource value.

func (*FormulaAndFunctionProcessQueryDataSource) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionProcessQueryDefinition ¶

type FormulaAndFunctionProcessQueryDefinition struct {
	// The aggregation methods available for metrics queries.
	Aggregator *FormulaAndFunctionMetricAggregation `json:"aggregator,omitempty"`
	// Data sources that rely on the process backend.
	DataSource FormulaAndFunctionProcessQueryDataSource `json:"data_source"`
	// Whether to normalize the CPU percentages.
	IsNormalizedCpu *bool `json:"is_normalized_cpu,omitempty"`
	// Number of hits to return.
	Limit *int64 `json:"limit,omitempty"`
	// Process metric name.
	Metric string `json:"metric"`
	// Name of query for use in formulas.
	Name string `json:"name"`
	// Direction of sort.
	Sort *QuerySortOrder `json:"sort,omitempty"`
	// An array of tags to filter by.
	TagFilters []string `json:"tag_filters,omitempty"`
	// Text to use as filter.
	TextFilter *string `json:"text_filter,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FormulaAndFunctionProcessQueryDefinition Process query using formulas and functions.

func NewFormulaAndFunctionProcessQueryDefinition ¶

func NewFormulaAndFunctionProcessQueryDefinition(dataSource FormulaAndFunctionProcessQueryDataSource, metric string, name string) *FormulaAndFunctionProcessQueryDefinition

NewFormulaAndFunctionProcessQueryDefinition instantiates a new FormulaAndFunctionProcessQueryDefinition 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 NewFormulaAndFunctionProcessQueryDefinitionWithDefaults ¶

func NewFormulaAndFunctionProcessQueryDefinitionWithDefaults() *FormulaAndFunctionProcessQueryDefinition

NewFormulaAndFunctionProcessQueryDefinitionWithDefaults instantiates a new FormulaAndFunctionProcessQueryDefinition 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 (*FormulaAndFunctionProcessQueryDefinition) GetAggregator ¶

GetAggregator returns the Aggregator field value if set, zero value otherwise.

func (*FormulaAndFunctionProcessQueryDefinition) GetAggregatorOk ¶

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

func (*FormulaAndFunctionProcessQueryDefinition) GetDataSource ¶

GetDataSource returns the DataSource field value.

func (*FormulaAndFunctionProcessQueryDefinition) GetDataSourceOk ¶

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

func (*FormulaAndFunctionProcessQueryDefinition) GetIsNormalizedCpu ¶

func (o *FormulaAndFunctionProcessQueryDefinition) GetIsNormalizedCpu() bool

GetIsNormalizedCpu returns the IsNormalizedCpu field value if set, zero value otherwise.

func (*FormulaAndFunctionProcessQueryDefinition) GetIsNormalizedCpuOk ¶

func (o *FormulaAndFunctionProcessQueryDefinition) GetIsNormalizedCpuOk() (*bool, bool)

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

func (*FormulaAndFunctionProcessQueryDefinition) GetLimit ¶

GetLimit returns the Limit field value if set, zero value otherwise.

func (*FormulaAndFunctionProcessQueryDefinition) GetLimitOk ¶

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

func (*FormulaAndFunctionProcessQueryDefinition) GetMetric ¶

GetMetric returns the Metric field value.

func (*FormulaAndFunctionProcessQueryDefinition) GetMetricOk ¶

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

func (*FormulaAndFunctionProcessQueryDefinition) GetName ¶

GetName returns the Name field value.

func (*FormulaAndFunctionProcessQueryDefinition) GetNameOk ¶

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

func (*FormulaAndFunctionProcessQueryDefinition) GetSort ¶

GetSort returns the Sort field value if set, zero value otherwise.

func (*FormulaAndFunctionProcessQueryDefinition) GetSortOk ¶

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

func (*FormulaAndFunctionProcessQueryDefinition) GetTagFilters ¶

func (o *FormulaAndFunctionProcessQueryDefinition) GetTagFilters() []string

GetTagFilters returns the TagFilters field value if set, zero value otherwise.

func (*FormulaAndFunctionProcessQueryDefinition) GetTagFiltersOk ¶

func (o *FormulaAndFunctionProcessQueryDefinition) GetTagFiltersOk() (*[]string, bool)

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

func (*FormulaAndFunctionProcessQueryDefinition) GetTextFilter ¶

GetTextFilter returns the TextFilter field value if set, zero value otherwise.

func (*FormulaAndFunctionProcessQueryDefinition) GetTextFilterOk ¶

func (o *FormulaAndFunctionProcessQueryDefinition) GetTextFilterOk() (*string, bool)

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

func (*FormulaAndFunctionProcessQueryDefinition) HasAggregator ¶

HasAggregator returns a boolean if a field has been set.

func (*FormulaAndFunctionProcessQueryDefinition) HasIsNormalizedCpu ¶

func (o *FormulaAndFunctionProcessQueryDefinition) HasIsNormalizedCpu() bool

HasIsNormalizedCpu returns a boolean if a field has been set.

func (*FormulaAndFunctionProcessQueryDefinition) HasLimit ¶

HasLimit returns a boolean if a field has been set.

func (*FormulaAndFunctionProcessQueryDefinition) HasSort ¶

HasSort returns a boolean if a field has been set.

func (*FormulaAndFunctionProcessQueryDefinition) HasTagFilters ¶

HasTagFilters returns a boolean if a field has been set.

func (*FormulaAndFunctionProcessQueryDefinition) HasTextFilter ¶

HasTextFilter returns a boolean if a field has been set.

func (FormulaAndFunctionProcessQueryDefinition) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*FormulaAndFunctionProcessQueryDefinition) SetAggregator ¶

SetAggregator gets a reference to the given FormulaAndFunctionMetricAggregation and assigns it to the Aggregator field.

func (*FormulaAndFunctionProcessQueryDefinition) SetDataSource ¶

SetDataSource sets field value.

func (*FormulaAndFunctionProcessQueryDefinition) SetIsNormalizedCpu ¶

func (o *FormulaAndFunctionProcessQueryDefinition) SetIsNormalizedCpu(v bool)

SetIsNormalizedCpu gets a reference to the given bool and assigns it to the IsNormalizedCpu field.

func (*FormulaAndFunctionProcessQueryDefinition) SetLimit ¶

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*FormulaAndFunctionProcessQueryDefinition) SetMetric ¶

SetMetric sets field value.

func (*FormulaAndFunctionProcessQueryDefinition) SetName ¶

SetName sets field value.

func (*FormulaAndFunctionProcessQueryDefinition) SetSort ¶

SetSort gets a reference to the given QuerySortOrder and assigns it to the Sort field.

func (*FormulaAndFunctionProcessQueryDefinition) SetTagFilters ¶

func (o *FormulaAndFunctionProcessQueryDefinition) SetTagFilters(v []string)

SetTagFilters gets a reference to the given []string and assigns it to the TagFilters field.

func (*FormulaAndFunctionProcessQueryDefinition) SetTextFilter ¶

SetTextFilter gets a reference to the given string and assigns it to the TextFilter field.

func (*FormulaAndFunctionProcessQueryDefinition) UnmarshalJSON ¶

func (o *FormulaAndFunctionProcessQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FormulaAndFunctionQueryDefinition ¶

type FormulaAndFunctionQueryDefinition struct {
	FormulaAndFunctionMetricQueryDefinition             *FormulaAndFunctionMetricQueryDefinition
	FormulaAndFunctionEventQueryDefinition              *FormulaAndFunctionEventQueryDefinition
	FormulaAndFunctionProcessQueryDefinition            *FormulaAndFunctionProcessQueryDefinition
	FormulaAndFunctionApmDependencyStatsQueryDefinition *FormulaAndFunctionApmDependencyStatsQueryDefinition
	FormulaAndFunctionApmResourceStatsQueryDefinition   *FormulaAndFunctionApmResourceStatsQueryDefinition

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

FormulaAndFunctionQueryDefinition - A formula and function query.

func FormulaAndFunctionApmDependencyStatsQueryDefinitionAsFormulaAndFunctionQueryDefinition ¶ added in v1.4.0

func FormulaAndFunctionApmDependencyStatsQueryDefinitionAsFormulaAndFunctionQueryDefinition(v *FormulaAndFunctionApmDependencyStatsQueryDefinition) FormulaAndFunctionQueryDefinition

FormulaAndFunctionApmDependencyStatsQueryDefinitionAsFormulaAndFunctionQueryDefinition is a convenience function that returns FormulaAndFunctionApmDependencyStatsQueryDefinition wrapped in FormulaAndFunctionQueryDefinition.

func FormulaAndFunctionApmResourceStatsQueryDefinitionAsFormulaAndFunctionQueryDefinition ¶ added in v1.4.0

func FormulaAndFunctionApmResourceStatsQueryDefinitionAsFormulaAndFunctionQueryDefinition(v *FormulaAndFunctionApmResourceStatsQueryDefinition) FormulaAndFunctionQueryDefinition

FormulaAndFunctionApmResourceStatsQueryDefinitionAsFormulaAndFunctionQueryDefinition is a convenience function that returns FormulaAndFunctionApmResourceStatsQueryDefinition wrapped in FormulaAndFunctionQueryDefinition.

func FormulaAndFunctionEventQueryDefinitionAsFormulaAndFunctionQueryDefinition ¶

func FormulaAndFunctionEventQueryDefinitionAsFormulaAndFunctionQueryDefinition(v *FormulaAndFunctionEventQueryDefinition) FormulaAndFunctionQueryDefinition

FormulaAndFunctionEventQueryDefinitionAsFormulaAndFunctionQueryDefinition is a convenience function that returns FormulaAndFunctionEventQueryDefinition wrapped in FormulaAndFunctionQueryDefinition.

func FormulaAndFunctionMetricQueryDefinitionAsFormulaAndFunctionQueryDefinition ¶

func FormulaAndFunctionMetricQueryDefinitionAsFormulaAndFunctionQueryDefinition(v *FormulaAndFunctionMetricQueryDefinition) FormulaAndFunctionQueryDefinition

FormulaAndFunctionMetricQueryDefinitionAsFormulaAndFunctionQueryDefinition is a convenience function that returns FormulaAndFunctionMetricQueryDefinition wrapped in FormulaAndFunctionQueryDefinition.

func FormulaAndFunctionProcessQueryDefinitionAsFormulaAndFunctionQueryDefinition ¶

func FormulaAndFunctionProcessQueryDefinitionAsFormulaAndFunctionQueryDefinition(v *FormulaAndFunctionProcessQueryDefinition) FormulaAndFunctionQueryDefinition

FormulaAndFunctionProcessQueryDefinitionAsFormulaAndFunctionQueryDefinition is a convenience function that returns FormulaAndFunctionProcessQueryDefinition wrapped in FormulaAndFunctionQueryDefinition.

func (*FormulaAndFunctionQueryDefinition) GetActualInstance ¶

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

GetActualInstance returns the actual instance.

func (FormulaAndFunctionQueryDefinition) MarshalJSON ¶

func (obj FormulaAndFunctionQueryDefinition) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*FormulaAndFunctionQueryDefinition) UnmarshalJSON ¶

func (obj *FormulaAndFunctionQueryDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type FormulaAndFunctionResponseFormat ¶

type FormulaAndFunctionResponseFormat string

FormulaAndFunctionResponseFormat Timeseries or Scalar response.

const (
	FORMULAANDFUNCTIONRESPONSEFORMAT_TIMESERIES FormulaAndFunctionResponseFormat = "timeseries"
	FORMULAANDFUNCTIONRESPONSEFORMAT_SCALAR     FormulaAndFunctionResponseFormat = "scalar"
)

List of FormulaAndFunctionResponseFormat.

func NewFormulaAndFunctionResponseFormatFromValue ¶

func NewFormulaAndFunctionResponseFormatFromValue(v string) (*FormulaAndFunctionResponseFormat, error)

NewFormulaAndFunctionResponseFormatFromValue returns a pointer to a valid FormulaAndFunctionResponseFormat for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FormulaAndFunctionResponseFormat) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (FormulaAndFunctionResponseFormat) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (FormulaAndFunctionResponseFormat) Ptr ¶

Ptr returns reference to FormulaAndFunctionResponseFormat value.

func (*FormulaAndFunctionResponseFormat) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type FreeTextWidgetDefinition ¶

type FreeTextWidgetDefinition struct {
	// Color of the text.
	Color *string `json:"color,omitempty"`
	// Size of the text.
	FontSize *string `json:"font_size,omitempty"`
	// Text to display.
	Text string `json:"text"`
	// How to align the text on the widget.
	TextAlign *WidgetTextAlign `json:"text_align,omitempty"`
	// Type of the free text widget.
	Type FreeTextWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FreeTextWidgetDefinition Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards.

func NewFreeTextWidgetDefinition ¶

func NewFreeTextWidgetDefinition(text string, typeVar FreeTextWidgetDefinitionType) *FreeTextWidgetDefinition

NewFreeTextWidgetDefinition instantiates a new FreeTextWidgetDefinition 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 NewFreeTextWidgetDefinitionWithDefaults ¶

func NewFreeTextWidgetDefinitionWithDefaults() *FreeTextWidgetDefinition

NewFreeTextWidgetDefinitionWithDefaults instantiates a new FreeTextWidgetDefinition 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 (*FreeTextWidgetDefinition) GetColor ¶

func (o *FreeTextWidgetDefinition) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*FreeTextWidgetDefinition) GetColorOk ¶

func (o *FreeTextWidgetDefinition) GetColorOk() (*string, bool)

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

func (*FreeTextWidgetDefinition) GetFontSize ¶

func (o *FreeTextWidgetDefinition) GetFontSize() string

GetFontSize returns the FontSize field value if set, zero value otherwise.

func (*FreeTextWidgetDefinition) GetFontSizeOk ¶

func (o *FreeTextWidgetDefinition) GetFontSizeOk() (*string, bool)

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

func (*FreeTextWidgetDefinition) GetText ¶

func (o *FreeTextWidgetDefinition) GetText() string

GetText returns the Text field value.

func (*FreeTextWidgetDefinition) GetTextAlign ¶

func (o *FreeTextWidgetDefinition) GetTextAlign() WidgetTextAlign

GetTextAlign returns the TextAlign field value if set, zero value otherwise.

func (*FreeTextWidgetDefinition) GetTextAlignOk ¶

func (o *FreeTextWidgetDefinition) GetTextAlignOk() (*WidgetTextAlign, bool)

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

func (*FreeTextWidgetDefinition) GetTextOk ¶

func (o *FreeTextWidgetDefinition) GetTextOk() (*string, bool)

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

func (*FreeTextWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*FreeTextWidgetDefinition) GetTypeOk ¶

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

func (*FreeTextWidgetDefinition) HasColor ¶

func (o *FreeTextWidgetDefinition) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*FreeTextWidgetDefinition) HasFontSize ¶

func (o *FreeTextWidgetDefinition) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*FreeTextWidgetDefinition) HasTextAlign ¶

func (o *FreeTextWidgetDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (FreeTextWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*FreeTextWidgetDefinition) SetColor ¶

func (o *FreeTextWidgetDefinition) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*FreeTextWidgetDefinition) SetFontSize ¶

func (o *FreeTextWidgetDefinition) SetFontSize(v string)

SetFontSize gets a reference to the given string and assigns it to the FontSize field.

func (*FreeTextWidgetDefinition) SetText ¶

func (o *FreeTextWidgetDefinition) SetText(v string)

SetText sets field value.

func (*FreeTextWidgetDefinition) SetTextAlign ¶

func (o *FreeTextWidgetDefinition) SetTextAlign(v WidgetTextAlign)

SetTextAlign gets a reference to the given WidgetTextAlign and assigns it to the TextAlign field.

func (*FreeTextWidgetDefinition) SetType ¶

SetType sets field value.

func (*FreeTextWidgetDefinition) UnmarshalJSON ¶

func (o *FreeTextWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FreeTextWidgetDefinitionType ¶

type FreeTextWidgetDefinitionType string

FreeTextWidgetDefinitionType Type of the free text widget.

const (
	FREETEXTWIDGETDEFINITIONTYPE_FREE_TEXT FreeTextWidgetDefinitionType = "free_text"
)

List of FreeTextWidgetDefinitionType.

func NewFreeTextWidgetDefinitionTypeFromValue ¶

func NewFreeTextWidgetDefinitionTypeFromValue(v string) (*FreeTextWidgetDefinitionType, error)

NewFreeTextWidgetDefinitionTypeFromValue returns a pointer to a valid FreeTextWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FreeTextWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (FreeTextWidgetDefinitionType) IsValid ¶

func (v FreeTextWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (FreeTextWidgetDefinitionType) Ptr ¶

Ptr returns reference to FreeTextWidgetDefinitionType value.

func (*FreeTextWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type FunnelQuery ¶ added in v1.5.0

type FunnelQuery struct {
	// Source from which to query items to display in the funnel.
	DataSource FunnelSource `json:"data_source"`
	// The widget query.
	QueryString string `json:"query_string"`
	// List of funnel steps.
	Steps []FunnelStep `json:"steps"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FunnelQuery Updated funnel widget.

func NewFunnelQuery ¶ added in v1.5.0

func NewFunnelQuery(dataSource FunnelSource, queryString string, steps []FunnelStep) *FunnelQuery

NewFunnelQuery instantiates a new FunnelQuery 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 NewFunnelQueryWithDefaults ¶ added in v1.5.0

func NewFunnelQueryWithDefaults() *FunnelQuery

NewFunnelQueryWithDefaults instantiates a new FunnelQuery 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 (*FunnelQuery) GetDataSource ¶ added in v1.5.0

func (o *FunnelQuery) GetDataSource() FunnelSource

GetDataSource returns the DataSource field value.

func (*FunnelQuery) GetDataSourceOk ¶ added in v1.5.0

func (o *FunnelQuery) GetDataSourceOk() (*FunnelSource, bool)

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

func (*FunnelQuery) GetQueryString ¶ added in v1.5.0

func (o *FunnelQuery) GetQueryString() string

GetQueryString returns the QueryString field value.

func (*FunnelQuery) GetQueryStringOk ¶ added in v1.5.0

func (o *FunnelQuery) GetQueryStringOk() (*string, bool)

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

func (*FunnelQuery) GetSteps ¶ added in v1.5.0

func (o *FunnelQuery) GetSteps() []FunnelStep

GetSteps returns the Steps field value.

func (*FunnelQuery) GetStepsOk ¶ added in v1.5.0

func (o *FunnelQuery) GetStepsOk() (*[]FunnelStep, bool)

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

func (FunnelQuery) MarshalJSON ¶ added in v1.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*FunnelQuery) SetDataSource ¶ added in v1.5.0

func (o *FunnelQuery) SetDataSource(v FunnelSource)

SetDataSource sets field value.

func (*FunnelQuery) SetQueryString ¶ added in v1.5.0

func (o *FunnelQuery) SetQueryString(v string)

SetQueryString sets field value.

func (*FunnelQuery) SetSteps ¶ added in v1.5.0

func (o *FunnelQuery) SetSteps(v []FunnelStep)

SetSteps sets field value.

func (*FunnelQuery) UnmarshalJSON ¶ added in v1.5.0

func (o *FunnelQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FunnelRequestType ¶ added in v1.5.0

type FunnelRequestType string

FunnelRequestType Widget request type.

const (
	FUNNELREQUESTTYPE_FUNNEL FunnelRequestType = "funnel"
)

List of FunnelRequestType.

func NewFunnelRequestTypeFromValue ¶ added in v1.5.0

func NewFunnelRequestTypeFromValue(v string) (*FunnelRequestType, error)

NewFunnelRequestTypeFromValue returns a pointer to a valid FunnelRequestType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FunnelRequestType) GetAllowedValues ¶ added in v1.5.0

func (v *FunnelRequestType) GetAllowedValues() []FunnelRequestType

GetAllowedValues reeturns the list of possible values.

func (FunnelRequestType) IsValid ¶ added in v1.5.0

func (v FunnelRequestType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (FunnelRequestType) Ptr ¶ added in v1.5.0

Ptr returns reference to FunnelRequestType value.

func (*FunnelRequestType) UnmarshalJSON ¶ added in v1.5.0

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

UnmarshalJSON deserializes the given payload.

type FunnelSource ¶ added in v1.5.0

type FunnelSource string

FunnelSource Source from which to query items to display in the funnel.

const (
	FUNNELSOURCE_RUM FunnelSource = "rum"
)

List of FunnelSource.

func NewFunnelSourceFromValue ¶ added in v1.5.0

func NewFunnelSourceFromValue(v string) (*FunnelSource, error)

NewFunnelSourceFromValue returns a pointer to a valid FunnelSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FunnelSource) GetAllowedValues ¶ added in v1.5.0

func (v *FunnelSource) GetAllowedValues() []FunnelSource

GetAllowedValues reeturns the list of possible values.

func (FunnelSource) IsValid ¶ added in v1.5.0

func (v FunnelSource) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (FunnelSource) Ptr ¶ added in v1.5.0

func (v FunnelSource) Ptr() *FunnelSource

Ptr returns reference to FunnelSource value.

func (*FunnelSource) UnmarshalJSON ¶ added in v1.5.0

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

UnmarshalJSON deserializes the given payload.

type FunnelStep ¶ added in v1.9.0

type FunnelStep struct {
	// The facet of the step.
	Facet string `json:"facet"`
	// The value of the step.
	Value string `json:"value"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FunnelStep The funnel step.

func NewFunnelStep ¶ added in v1.9.0

func NewFunnelStep(facet string, value string) *FunnelStep

NewFunnelStep instantiates a new FunnelStep 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 NewFunnelStepWithDefaults ¶ added in v1.9.0

func NewFunnelStepWithDefaults() *FunnelStep

NewFunnelStepWithDefaults instantiates a new FunnelStep 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 (*FunnelStep) GetFacet ¶ added in v1.9.0

func (o *FunnelStep) GetFacet() string

GetFacet returns the Facet field value.

func (*FunnelStep) GetFacetOk ¶ added in v1.9.0

func (o *FunnelStep) GetFacetOk() (*string, bool)

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

func (*FunnelStep) GetValue ¶ added in v1.9.0

func (o *FunnelStep) GetValue() string

GetValue returns the Value field value.

func (*FunnelStep) GetValueOk ¶ added in v1.9.0

func (o *FunnelStep) GetValueOk() (*string, bool)

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

func (FunnelStep) MarshalJSON ¶ added in v1.9.0

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

MarshalJSON serializes the struct using spec logic.

func (*FunnelStep) SetFacet ¶ added in v1.9.0

func (o *FunnelStep) SetFacet(v string)

SetFacet sets field value.

func (*FunnelStep) SetValue ¶ added in v1.9.0

func (o *FunnelStep) SetValue(v string)

SetValue sets field value.

func (*FunnelStep) UnmarshalJSON ¶ added in v1.9.0

func (o *FunnelStep) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FunnelWidgetDefinition ¶ added in v1.5.0

type FunnelWidgetDefinition struct {
	// Request payload used to query items.
	Requests []FunnelWidgetRequest `json:"requests"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// The title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// The size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of funnel widget.
	Type FunnelWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FunnelWidgetDefinition The funnel visualization displays a funnel of user sessions that maps a sequence of view navigation and user interaction in your application.

func NewFunnelWidgetDefinition ¶ added in v1.5.0

func NewFunnelWidgetDefinition(requests []FunnelWidgetRequest, typeVar FunnelWidgetDefinitionType) *FunnelWidgetDefinition

NewFunnelWidgetDefinition instantiates a new FunnelWidgetDefinition 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 NewFunnelWidgetDefinitionWithDefaults ¶ added in v1.5.0

func NewFunnelWidgetDefinitionWithDefaults() *FunnelWidgetDefinition

NewFunnelWidgetDefinitionWithDefaults instantiates a new FunnelWidgetDefinition 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 (*FunnelWidgetDefinition) GetRequests ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetRequests() []FunnelWidgetRequest

GetRequests returns the Requests field value.

func (*FunnelWidgetDefinition) GetRequestsOk ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetRequestsOk() (*[]FunnelWidgetRequest, bool)

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

func (*FunnelWidgetDefinition) GetTime ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*FunnelWidgetDefinition) GetTimeOk ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*FunnelWidgetDefinition) GetTitle ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*FunnelWidgetDefinition) GetTitleAlign ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*FunnelWidgetDefinition) GetTitleAlignOk ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*FunnelWidgetDefinition) GetTitleOk ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*FunnelWidgetDefinition) GetTitleSize ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*FunnelWidgetDefinition) GetTitleSizeOk ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*FunnelWidgetDefinition) GetType ¶ added in v1.5.0

GetType returns the Type field value.

func (*FunnelWidgetDefinition) GetTypeOk ¶ added in v1.5.0

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

func (*FunnelWidgetDefinition) HasTime ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*FunnelWidgetDefinition) HasTitle ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*FunnelWidgetDefinition) HasTitleAlign ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*FunnelWidgetDefinition) HasTitleSize ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (FunnelWidgetDefinition) MarshalJSON ¶ added in v1.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*FunnelWidgetDefinition) SetRequests ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) SetRequests(v []FunnelWidgetRequest)

SetRequests sets field value.

func (*FunnelWidgetDefinition) SetTime ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*FunnelWidgetDefinition) SetTitle ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*FunnelWidgetDefinition) SetTitleAlign ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*FunnelWidgetDefinition) SetTitleSize ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*FunnelWidgetDefinition) SetType ¶ added in v1.5.0

SetType sets field value.

func (*FunnelWidgetDefinition) UnmarshalJSON ¶ added in v1.5.0

func (o *FunnelWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type FunnelWidgetDefinitionType ¶ added in v1.5.0

type FunnelWidgetDefinitionType string

FunnelWidgetDefinitionType Type of funnel widget.

const (
	FUNNELWIDGETDEFINITIONTYPE_FUNNEL FunnelWidgetDefinitionType = "funnel"
)

List of FunnelWidgetDefinitionType.

func NewFunnelWidgetDefinitionTypeFromValue ¶ added in v1.5.0

func NewFunnelWidgetDefinitionTypeFromValue(v string) (*FunnelWidgetDefinitionType, error)

NewFunnelWidgetDefinitionTypeFromValue returns a pointer to a valid FunnelWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*FunnelWidgetDefinitionType) GetAllowedValues ¶ added in v1.5.0

GetAllowedValues reeturns the list of possible values.

func (FunnelWidgetDefinitionType) IsValid ¶ added in v1.5.0

func (v FunnelWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (FunnelWidgetDefinitionType) Ptr ¶ added in v1.5.0

Ptr returns reference to FunnelWidgetDefinitionType value.

func (*FunnelWidgetDefinitionType) UnmarshalJSON ¶ added in v1.5.0

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

UnmarshalJSON deserializes the given payload.

type FunnelWidgetRequest ¶ added in v1.5.0

type FunnelWidgetRequest struct {
	// Updated funnel widget.
	Query FunnelQuery `json:"query"`
	// Widget request type.
	RequestType FunnelRequestType `json:"request_type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FunnelWidgetRequest Updated funnel widget.

func NewFunnelWidgetRequest ¶ added in v1.5.0

func NewFunnelWidgetRequest(query FunnelQuery, requestType FunnelRequestType) *FunnelWidgetRequest

NewFunnelWidgetRequest instantiates a new FunnelWidgetRequest 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 NewFunnelWidgetRequestWithDefaults ¶ added in v1.5.0

func NewFunnelWidgetRequestWithDefaults() *FunnelWidgetRequest

NewFunnelWidgetRequestWithDefaults instantiates a new FunnelWidgetRequest 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 (*FunnelWidgetRequest) GetQuery ¶ added in v1.5.0

func (o *FunnelWidgetRequest) GetQuery() FunnelQuery

GetQuery returns the Query field value.

func (*FunnelWidgetRequest) GetQueryOk ¶ added in v1.5.0

func (o *FunnelWidgetRequest) GetQueryOk() (*FunnelQuery, bool)

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

func (*FunnelWidgetRequest) GetRequestType ¶ added in v1.5.0

func (o *FunnelWidgetRequest) GetRequestType() FunnelRequestType

GetRequestType returns the RequestType field value.

func (*FunnelWidgetRequest) GetRequestTypeOk ¶ added in v1.5.0

func (o *FunnelWidgetRequest) GetRequestTypeOk() (*FunnelRequestType, bool)

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

func (FunnelWidgetRequest) MarshalJSON ¶ added in v1.5.0

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

MarshalJSON serializes the struct using spec logic.

func (*FunnelWidgetRequest) SetQuery ¶ added in v1.5.0

func (o *FunnelWidgetRequest) SetQuery(v FunnelQuery)

SetQuery sets field value.

func (*FunnelWidgetRequest) SetRequestType ¶ added in v1.5.0

func (o *FunnelWidgetRequest) SetRequestType(v FunnelRequestType)

SetRequestType sets field value.

func (*FunnelWidgetRequest) UnmarshalJSON ¶ added in v1.5.0

func (o *FunnelWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GCPAccount ¶

type GCPAccount struct {
	// Should be `https://www.googleapis.com/oauth2/v1/certs`.
	AuthProviderX509CertUrl *string `json:"auth_provider_x509_cert_url,omitempty"`
	// Should be `https://accounts.google.com/o/oauth2/auth`.
	AuthUri *string `json:"auth_uri,omitempty"`
	// Silence monitors for expected GCE instance shutdowns.
	Automute *bool `json:"automute,omitempty"`
	// Your email found in your JSON service account key.
	ClientEmail *string `json:"client_email,omitempty"`
	// Your ID found in your JSON service account key.
	ClientId *string `json:"client_id,omitempty"`
	// Should be `https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL`
	// where `$CLIENT_EMAIL` is the email found in your JSON service account key.
	ClientX509CertUrl *string `json:"client_x509_cert_url,omitempty"`
	// An array of errors.
	Errors []string `json:"errors,omitempty"`
	// Limit the GCE instances that are pulled into Datadog by using tags.
	// Only hosts that match one of the defined tags are imported into Datadog.
	HostFilters *string `json:"host_filters,omitempty"`
	// Your private key name found in your JSON service account key.
	PrivateKey *string `json:"private_key,omitempty"`
	// Your private key ID found in your JSON service account key.
	PrivateKeyId *string `json:"private_key_id,omitempty"`
	// Your Google Cloud project ID found in your JSON service account key.
	ProjectId *string `json:"project_id,omitempty"`
	// Should be `https://accounts.google.com/o/oauth2/token`.
	TokenUri *string `json:"token_uri,omitempty"`
	// The value for service_account found in your JSON service account key.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

GCPAccount Your Google Cloud Platform Account.

func NewGCPAccount ¶

func NewGCPAccount() *GCPAccount

NewGCPAccount instantiates a new GCPAccount 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 NewGCPAccountWithDefaults ¶

func NewGCPAccountWithDefaults() *GCPAccount

NewGCPAccountWithDefaults instantiates a new GCPAccount 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 (*GCPAccount) GetAuthProviderX509CertUrl ¶

func (o *GCPAccount) GetAuthProviderX509CertUrl() string

GetAuthProviderX509CertUrl returns the AuthProviderX509CertUrl field value if set, zero value otherwise.

func (*GCPAccount) GetAuthProviderX509CertUrlOk ¶

func (o *GCPAccount) GetAuthProviderX509CertUrlOk() (*string, bool)

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

func (*GCPAccount) GetAuthUri ¶

func (o *GCPAccount) GetAuthUri() string

GetAuthUri returns the AuthUri field value if set, zero value otherwise.

func (*GCPAccount) GetAuthUriOk ¶

func (o *GCPAccount) GetAuthUriOk() (*string, bool)

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

func (*GCPAccount) GetAutomute ¶

func (o *GCPAccount) GetAutomute() bool

GetAutomute returns the Automute field value if set, zero value otherwise.

func (*GCPAccount) GetAutomuteOk ¶

func (o *GCPAccount) GetAutomuteOk() (*bool, bool)

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

func (*GCPAccount) GetClientEmail ¶

func (o *GCPAccount) GetClientEmail() string

GetClientEmail returns the ClientEmail field value if set, zero value otherwise.

func (*GCPAccount) GetClientEmailOk ¶

func (o *GCPAccount) GetClientEmailOk() (*string, bool)

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

func (*GCPAccount) GetClientId ¶

func (o *GCPAccount) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*GCPAccount) GetClientIdOk ¶

func (o *GCPAccount) GetClientIdOk() (*string, bool)

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

func (*GCPAccount) GetClientX509CertUrl ¶

func (o *GCPAccount) GetClientX509CertUrl() string

GetClientX509CertUrl returns the ClientX509CertUrl field value if set, zero value otherwise.

func (*GCPAccount) GetClientX509CertUrlOk ¶

func (o *GCPAccount) GetClientX509CertUrlOk() (*string, bool)

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

func (*GCPAccount) GetErrors ¶

func (o *GCPAccount) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*GCPAccount) GetErrorsOk ¶

func (o *GCPAccount) GetErrorsOk() (*[]string, bool)

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

func (*GCPAccount) GetHostFilters ¶

func (o *GCPAccount) GetHostFilters() string

GetHostFilters returns the HostFilters field value if set, zero value otherwise.

func (*GCPAccount) GetHostFiltersOk ¶

func (o *GCPAccount) GetHostFiltersOk() (*string, bool)

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

func (*GCPAccount) GetPrivateKey ¶

func (o *GCPAccount) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.

func (*GCPAccount) GetPrivateKeyId ¶

func (o *GCPAccount) GetPrivateKeyId() string

GetPrivateKeyId returns the PrivateKeyId field value if set, zero value otherwise.

func (*GCPAccount) GetPrivateKeyIdOk ¶

func (o *GCPAccount) GetPrivateKeyIdOk() (*string, bool)

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

func (*GCPAccount) GetPrivateKeyOk ¶

func (o *GCPAccount) GetPrivateKeyOk() (*string, bool)

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

func (*GCPAccount) GetProjectId ¶

func (o *GCPAccount) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*GCPAccount) GetProjectIdOk ¶

func (o *GCPAccount) GetProjectIdOk() (*string, bool)

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

func (*GCPAccount) GetTokenUri ¶

func (o *GCPAccount) GetTokenUri() string

GetTokenUri returns the TokenUri field value if set, zero value otherwise.

func (*GCPAccount) GetTokenUriOk ¶

func (o *GCPAccount) GetTokenUriOk() (*string, bool)

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

func (*GCPAccount) GetType ¶

func (o *GCPAccount) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GCPAccount) GetTypeOk ¶

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

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

func (*GCPAccount) HasAuthProviderX509CertUrl ¶

func (o *GCPAccount) HasAuthProviderX509CertUrl() bool

HasAuthProviderX509CertUrl returns a boolean if a field has been set.

func (*GCPAccount) HasAuthUri ¶

func (o *GCPAccount) HasAuthUri() bool

HasAuthUri returns a boolean if a field has been set.

func (*GCPAccount) HasAutomute ¶

func (o *GCPAccount) HasAutomute() bool

HasAutomute returns a boolean if a field has been set.

func (*GCPAccount) HasClientEmail ¶

func (o *GCPAccount) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*GCPAccount) HasClientId ¶

func (o *GCPAccount) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*GCPAccount) HasClientX509CertUrl ¶

func (o *GCPAccount) HasClientX509CertUrl() bool

HasClientX509CertUrl returns a boolean if a field has been set.

func (*GCPAccount) HasErrors ¶

func (o *GCPAccount) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GCPAccount) HasHostFilters ¶

func (o *GCPAccount) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*GCPAccount) HasPrivateKey ¶

func (o *GCPAccount) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (*GCPAccount) HasPrivateKeyId ¶

func (o *GCPAccount) HasPrivateKeyId() bool

HasPrivateKeyId returns a boolean if a field has been set.

func (*GCPAccount) HasProjectId ¶

func (o *GCPAccount) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*GCPAccount) HasTokenUri ¶

func (o *GCPAccount) HasTokenUri() bool

HasTokenUri returns a boolean if a field has been set.

func (*GCPAccount) HasType ¶

func (o *GCPAccount) HasType() bool

HasType returns a boolean if a field has been set.

func (GCPAccount) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*GCPAccount) SetAuthProviderX509CertUrl ¶

func (o *GCPAccount) SetAuthProviderX509CertUrl(v string)

SetAuthProviderX509CertUrl gets a reference to the given string and assigns it to the AuthProviderX509CertUrl field.

func (*GCPAccount) SetAuthUri ¶

func (o *GCPAccount) SetAuthUri(v string)

SetAuthUri gets a reference to the given string and assigns it to the AuthUri field.

func (*GCPAccount) SetAutomute ¶

func (o *GCPAccount) SetAutomute(v bool)

SetAutomute gets a reference to the given bool and assigns it to the Automute field.

func (*GCPAccount) SetClientEmail ¶

func (o *GCPAccount) SetClientEmail(v string)

SetClientEmail gets a reference to the given string and assigns it to the ClientEmail field.

func (*GCPAccount) SetClientId ¶

func (o *GCPAccount) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*GCPAccount) SetClientX509CertUrl ¶

func (o *GCPAccount) SetClientX509CertUrl(v string)

SetClientX509CertUrl gets a reference to the given string and assigns it to the ClientX509CertUrl field.

func (*GCPAccount) SetErrors ¶

func (o *GCPAccount) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*GCPAccount) SetHostFilters ¶

func (o *GCPAccount) SetHostFilters(v string)

SetHostFilters gets a reference to the given string and assigns it to the HostFilters field.

func (*GCPAccount) SetPrivateKey ¶

func (o *GCPAccount) SetPrivateKey(v string)

SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.

func (*GCPAccount) SetPrivateKeyId ¶

func (o *GCPAccount) SetPrivateKeyId(v string)

SetPrivateKeyId gets a reference to the given string and assigns it to the PrivateKeyId field.

func (*GCPAccount) SetProjectId ¶

func (o *GCPAccount) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*GCPAccount) SetTokenUri ¶

func (o *GCPAccount) SetTokenUri(v string)

SetTokenUri gets a reference to the given string and assigns it to the TokenUri field.

func (*GCPAccount) SetType ¶

func (o *GCPAccount) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*GCPAccount) UnmarshalJSON ¶ added in v1.3.0

func (o *GCPAccount) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GCPIntegrationApiService ¶

type GCPIntegrationApiService service

GCPIntegrationApiService GCPIntegrationApi service.

func (*GCPIntegrationApiService) CreateGCPIntegration ¶

func (a *GCPIntegrationApiService) CreateGCPIntegration(ctx _context.Context, body GCPAccount) (interface{}, *_nethttp.Response, error)

CreateGCPIntegration Create a GCP integration. Create a Datadog-GCP integration.

func (*GCPIntegrationApiService) DeleteGCPIntegration ¶

func (a *GCPIntegrationApiService) DeleteGCPIntegration(ctx _context.Context, body GCPAccount) (interface{}, *_nethttp.Response, error)

DeleteGCPIntegration Delete a GCP integration. Delete a given Datadog-GCP integration.

func (*GCPIntegrationApiService) ListGCPIntegration ¶

func (a *GCPIntegrationApiService) ListGCPIntegration(ctx _context.Context) ([]GCPAccount, *_nethttp.Response, error)

ListGCPIntegration List all GCP integrations. List all Datadog-GCP integrations configured in your Datadog account.

func (*GCPIntegrationApiService) UpdateGCPIntegration ¶

func (a *GCPIntegrationApiService) UpdateGCPIntegration(ctx _context.Context, body GCPAccount) (interface{}, *_nethttp.Response, error)

UpdateGCPIntegration Update a GCP integration. Update a Datadog-GCP integrations host_filters and/or auto-mute. Requires a `project_id` and `client_email`, however these fields cannot be updated. If you need to update these fields, delete and use the create (`POST`) endpoint. The unspecified fields will keep their original values.

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 GeomapWidgetDefinition ¶

type GeomapWidgetDefinition struct {
	// A list of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// Array of one request object to display in the widget. The request must contain a `group-by` tag whose value is a country ISO code.
	//
	// See the [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)
	// for information about building the `REQUEST_SCHEMA`.
	Requests []GeomapWidgetRequest `json:"requests"`
	// The style to apply to the widget.
	Style GeomapWidgetDefinitionStyle `json:"style"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// The title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// The size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the geomap widget.
	Type GeomapWidgetDefinitionType `json:"type"`
	// The view of the world that the map should render.
	View GeomapWidgetDefinitionView `json:"view"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

GeomapWidgetDefinition This visualization displays a series of values by country on a world map.

func NewGeomapWidgetDefinition ¶

NewGeomapWidgetDefinition instantiates a new GeomapWidgetDefinition 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 NewGeomapWidgetDefinitionWithDefaults ¶

func NewGeomapWidgetDefinitionWithDefaults() *GeomapWidgetDefinition

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

func (o *GeomapWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*GeomapWidgetDefinition) GetCustomLinksOk ¶

func (o *GeomapWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

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

func (*GeomapWidgetDefinition) GetRequests ¶

func (o *GeomapWidgetDefinition) GetRequests() []GeomapWidgetRequest

GetRequests returns the Requests field value.

func (*GeomapWidgetDefinition) GetRequestsOk ¶

func (o *GeomapWidgetDefinition) GetRequestsOk() (*[]GeomapWidgetRequest, bool)

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

func (*GeomapWidgetDefinition) GetStyle ¶

GetStyle returns the Style field value.

func (*GeomapWidgetDefinition) GetStyleOk ¶

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

func (*GeomapWidgetDefinition) GetTime ¶

func (o *GeomapWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*GeomapWidgetDefinition) GetTimeOk ¶

func (o *GeomapWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*GeomapWidgetDefinition) GetTitle ¶

func (o *GeomapWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*GeomapWidgetDefinition) GetTitleAlign ¶

func (o *GeomapWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*GeomapWidgetDefinition) GetTitleAlignOk ¶

func (o *GeomapWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*GeomapWidgetDefinition) GetTitleOk ¶

func (o *GeomapWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*GeomapWidgetDefinition) GetTitleSize ¶

func (o *GeomapWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*GeomapWidgetDefinition) GetTitleSizeOk ¶

func (o *GeomapWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*GeomapWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*GeomapWidgetDefinition) GetTypeOk ¶

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

func (*GeomapWidgetDefinition) GetView ¶

GetView returns the View field value.

func (*GeomapWidgetDefinition) GetViewOk ¶

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

func (o *GeomapWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*GeomapWidgetDefinition) HasTime ¶

func (o *GeomapWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*GeomapWidgetDefinition) HasTitle ¶

func (o *GeomapWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*GeomapWidgetDefinition) HasTitleAlign ¶

func (o *GeomapWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*GeomapWidgetDefinition) HasTitleSize ¶

func (o *GeomapWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (GeomapWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (o *GeomapWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*GeomapWidgetDefinition) SetRequests ¶

func (o *GeomapWidgetDefinition) SetRequests(v []GeomapWidgetRequest)

SetRequests sets field value.

func (*GeomapWidgetDefinition) SetStyle ¶

SetStyle sets field value.

func (*GeomapWidgetDefinition) SetTime ¶

func (o *GeomapWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*GeomapWidgetDefinition) SetTitle ¶

func (o *GeomapWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*GeomapWidgetDefinition) SetTitleAlign ¶

func (o *GeomapWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*GeomapWidgetDefinition) SetTitleSize ¶

func (o *GeomapWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*GeomapWidgetDefinition) SetType ¶

SetType sets field value.

func (*GeomapWidgetDefinition) SetView ¶

SetView sets field value.

func (*GeomapWidgetDefinition) UnmarshalJSON ¶

func (o *GeomapWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GeomapWidgetDefinitionStyle ¶

type GeomapWidgetDefinitionStyle struct {
	// The color palette to apply to the widget.
	Palette string `json:"palette"`
	// Whether to flip the palette tones.
	PaletteFlip bool `json:"palette_flip"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

GeomapWidgetDefinitionStyle The style to apply to the widget.

func NewGeomapWidgetDefinitionStyle ¶

func NewGeomapWidgetDefinitionStyle(palette string, paletteFlip bool) *GeomapWidgetDefinitionStyle

NewGeomapWidgetDefinitionStyle instantiates a new GeomapWidgetDefinitionStyle 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 NewGeomapWidgetDefinitionStyleWithDefaults ¶

func NewGeomapWidgetDefinitionStyleWithDefaults() *GeomapWidgetDefinitionStyle

NewGeomapWidgetDefinitionStyleWithDefaults instantiates a new GeomapWidgetDefinitionStyle 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 (*GeomapWidgetDefinitionStyle) GetPalette ¶

func (o *GeomapWidgetDefinitionStyle) GetPalette() string

GetPalette returns the Palette field value.

func (*GeomapWidgetDefinitionStyle) GetPaletteFlip ¶

func (o *GeomapWidgetDefinitionStyle) GetPaletteFlip() bool

GetPaletteFlip returns the PaletteFlip field value.

func (*GeomapWidgetDefinitionStyle) GetPaletteFlipOk ¶

func (o *GeomapWidgetDefinitionStyle) GetPaletteFlipOk() (*bool, bool)

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

func (*GeomapWidgetDefinitionStyle) GetPaletteOk ¶

func (o *GeomapWidgetDefinitionStyle) GetPaletteOk() (*string, bool)

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

func (GeomapWidgetDefinitionStyle) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*GeomapWidgetDefinitionStyle) SetPalette ¶

func (o *GeomapWidgetDefinitionStyle) SetPalette(v string)

SetPalette sets field value.

func (*GeomapWidgetDefinitionStyle) SetPaletteFlip ¶

func (o *GeomapWidgetDefinitionStyle) SetPaletteFlip(v bool)

SetPaletteFlip sets field value.

func (*GeomapWidgetDefinitionStyle) UnmarshalJSON ¶

func (o *GeomapWidgetDefinitionStyle) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GeomapWidgetDefinitionType ¶

type GeomapWidgetDefinitionType string

GeomapWidgetDefinitionType Type of the geomap widget.

const (
	GEOMAPWIDGETDEFINITIONTYPE_GEOMAP GeomapWidgetDefinitionType = "geomap"
)

List of GeomapWidgetDefinitionType.

func NewGeomapWidgetDefinitionTypeFromValue ¶

func NewGeomapWidgetDefinitionTypeFromValue(v string) (*GeomapWidgetDefinitionType, error)

NewGeomapWidgetDefinitionTypeFromValue returns a pointer to a valid GeomapWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*GeomapWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (GeomapWidgetDefinitionType) IsValid ¶

func (v GeomapWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (GeomapWidgetDefinitionType) Ptr ¶

Ptr returns reference to GeomapWidgetDefinitionType value.

func (*GeomapWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type GeomapWidgetDefinitionView ¶

type GeomapWidgetDefinitionView struct {
	// The 2-letter ISO code of a country to focus the map on. Or `WORLD`.
	Focus string `json:"focus"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

GeomapWidgetDefinitionView The view of the world that the map should render.

func NewGeomapWidgetDefinitionView ¶

func NewGeomapWidgetDefinitionView(focus string) *GeomapWidgetDefinitionView

NewGeomapWidgetDefinitionView instantiates a new GeomapWidgetDefinitionView 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 NewGeomapWidgetDefinitionViewWithDefaults ¶

func NewGeomapWidgetDefinitionViewWithDefaults() *GeomapWidgetDefinitionView

NewGeomapWidgetDefinitionViewWithDefaults instantiates a new GeomapWidgetDefinitionView 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 (*GeomapWidgetDefinitionView) GetFocus ¶

func (o *GeomapWidgetDefinitionView) GetFocus() string

GetFocus returns the Focus field value.

func (*GeomapWidgetDefinitionView) GetFocusOk ¶

func (o *GeomapWidgetDefinitionView) GetFocusOk() (*string, bool)

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

func (GeomapWidgetDefinitionView) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*GeomapWidgetDefinitionView) SetFocus ¶

func (o *GeomapWidgetDefinitionView) SetFocus(v string)

SetFocus sets field value.

func (*GeomapWidgetDefinitionView) UnmarshalJSON ¶

func (o *GeomapWidgetDefinitionView) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GeomapWidgetRequest ¶

type GeomapWidgetRequest struct {
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The widget metrics query.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

GeomapWidgetRequest An updated geomap widget.

func NewGeomapWidgetRequest ¶

func NewGeomapWidgetRequest() *GeomapWidgetRequest

NewGeomapWidgetRequest instantiates a new GeomapWidgetRequest 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 NewGeomapWidgetRequestWithDefaults ¶

func NewGeomapWidgetRequestWithDefaults() *GeomapWidgetRequest

NewGeomapWidgetRequestWithDefaults instantiates a new GeomapWidgetRequest 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 (*GeomapWidgetRequest) GetFormulas ¶

func (o *GeomapWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*GeomapWidgetRequest) GetFormulasOk ¶

func (o *GeomapWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

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

func (*GeomapWidgetRequest) GetLogQuery ¶

func (o *GeomapWidgetRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*GeomapWidgetRequest) GetLogQueryOk ¶

func (o *GeomapWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

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

func (*GeomapWidgetRequest) GetQ ¶

func (o *GeomapWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*GeomapWidgetRequest) GetQOk ¶

func (o *GeomapWidgetRequest) GetQOk() (*string, bool)

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

func (*GeomapWidgetRequest) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*GeomapWidgetRequest) GetQueriesOk ¶

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

func (*GeomapWidgetRequest) GetResponseFormat ¶

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*GeomapWidgetRequest) GetResponseFormatOk ¶

func (o *GeomapWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

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

func (*GeomapWidgetRequest) GetRumQuery ¶

func (o *GeomapWidgetRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*GeomapWidgetRequest) GetRumQueryOk ¶

func (o *GeomapWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

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

func (*GeomapWidgetRequest) GetSecurityQuery ¶

func (o *GeomapWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*GeomapWidgetRequest) GetSecurityQueryOk ¶

func (o *GeomapWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

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

func (*GeomapWidgetRequest) HasFormulas ¶

func (o *GeomapWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*GeomapWidgetRequest) HasLogQuery ¶

func (o *GeomapWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*GeomapWidgetRequest) HasQ ¶

func (o *GeomapWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*GeomapWidgetRequest) HasQueries ¶

func (o *GeomapWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*GeomapWidgetRequest) HasResponseFormat ¶

func (o *GeomapWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (*GeomapWidgetRequest) HasRumQuery ¶

func (o *GeomapWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*GeomapWidgetRequest) HasSecurityQuery ¶

func (o *GeomapWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (GeomapWidgetRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*GeomapWidgetRequest) SetFormulas ¶

func (o *GeomapWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*GeomapWidgetRequest) SetLogQuery ¶

func (o *GeomapWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*GeomapWidgetRequest) SetQ ¶

func (o *GeomapWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*GeomapWidgetRequest) SetQueries ¶

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*GeomapWidgetRequest) SetResponseFormat ¶

func (o *GeomapWidgetRequest) SetResponseFormat(v FormulaAndFunctionResponseFormat)

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*GeomapWidgetRequest) SetRumQuery ¶

func (o *GeomapWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*GeomapWidgetRequest) SetSecurityQuery ¶

func (o *GeomapWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*GeomapWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *GeomapWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GetAPITestLatestResultsOptionalParameters ¶

type GetAPITestLatestResultsOptionalParameters struct {
	FromTs  *int64
	ToTs    *int64
	ProbeDc *[]string
}

GetAPITestLatestResultsOptionalParameters holds optional parameters for GetAPITestLatestResults.

func NewGetAPITestLatestResultsOptionalParameters ¶

func NewGetAPITestLatestResultsOptionalParameters() *GetAPITestLatestResultsOptionalParameters

NewGetAPITestLatestResultsOptionalParameters creates an empty struct for parameters.

func (*GetAPITestLatestResultsOptionalParameters) WithFromTs ¶

WithFromTs sets the corresponding parameter name and returns the struct.

func (*GetAPITestLatestResultsOptionalParameters) WithProbeDc ¶

WithProbeDc sets the corresponding parameter name and returns the struct.

func (*GetAPITestLatestResultsOptionalParameters) WithToTs ¶

WithToTs sets the corresponding parameter name and returns the struct.

type GetBrowserTestLatestResultsOptionalParameters ¶

type GetBrowserTestLatestResultsOptionalParameters struct {
	FromTs  *int64
	ToTs    *int64
	ProbeDc *[]string
}

GetBrowserTestLatestResultsOptionalParameters holds optional parameters for GetBrowserTestLatestResults.

func NewGetBrowserTestLatestResultsOptionalParameters ¶

func NewGetBrowserTestLatestResultsOptionalParameters() *GetBrowserTestLatestResultsOptionalParameters

NewGetBrowserTestLatestResultsOptionalParameters creates an empty struct for parameters.

func (*GetBrowserTestLatestResultsOptionalParameters) WithFromTs ¶

WithFromTs sets the corresponding parameter name and returns the struct.

func (*GetBrowserTestLatestResultsOptionalParameters) WithProbeDc ¶

WithProbeDc sets the corresponding parameter name and returns the struct.

func (*GetBrowserTestLatestResultsOptionalParameters) WithToTs ¶

WithToTs sets the corresponding parameter name and returns the struct.

type GetDailyCustomReportsOptionalParameters ¶

type GetDailyCustomReportsOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	SortDir    *UsageSortDirection
	Sort       *UsageSort
}

GetDailyCustomReportsOptionalParameters holds optional parameters for GetDailyCustomReports.

func NewGetDailyCustomReportsOptionalParameters ¶

func NewGetDailyCustomReportsOptionalParameters() *GetDailyCustomReportsOptionalParameters

NewGetDailyCustomReportsOptionalParameters creates an empty struct for parameters.

func (*GetDailyCustomReportsOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*GetDailyCustomReportsOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*GetDailyCustomReportsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

func (*GetDailyCustomReportsOptionalParameters) WithSortDir ¶

WithSortDir sets the corresponding parameter name and returns the struct.

type GetGraphSnapshotOptionalParameters ¶

type GetGraphSnapshotOptionalParameters struct {
	MetricQuery *string
	EventQuery  *string
	GraphDef    *string
	Title       *string
	Height      *int64
	Width       *int64
}

GetGraphSnapshotOptionalParameters holds optional parameters for GetGraphSnapshot.

func NewGetGraphSnapshotOptionalParameters ¶

func NewGetGraphSnapshotOptionalParameters() *GetGraphSnapshotOptionalParameters

NewGetGraphSnapshotOptionalParameters creates an empty struct for parameters.

func (*GetGraphSnapshotOptionalParameters) WithEventQuery ¶

WithEventQuery sets the corresponding parameter name and returns the struct.

func (*GetGraphSnapshotOptionalParameters) WithGraphDef ¶

WithGraphDef sets the corresponding parameter name and returns the struct.

func (*GetGraphSnapshotOptionalParameters) WithHeight ¶ added in v1.15.0

WithHeight sets the corresponding parameter name and returns the struct.

func (*GetGraphSnapshotOptionalParameters) WithMetricQuery ¶

WithMetricQuery sets the corresponding parameter name and returns the struct.

func (*GetGraphSnapshotOptionalParameters) WithTitle ¶

WithTitle sets the corresponding parameter name and returns the struct.

func (*GetGraphSnapshotOptionalParameters) WithWidth ¶ added in v1.15.0

WithWidth sets the corresponding parameter name and returns the struct.

type GetHostTagsOptionalParameters ¶

type GetHostTagsOptionalParameters struct {
	Source *string
}

GetHostTagsOptionalParameters holds optional parameters for GetHostTags.

func NewGetHostTagsOptionalParameters ¶

func NewGetHostTagsOptionalParameters() *GetHostTagsOptionalParameters

NewGetHostTagsOptionalParameters creates an empty struct for parameters.

func (*GetHostTagsOptionalParameters) WithSource ¶

WithSource sets the corresponding parameter name and returns the struct.

type GetHostTotalsOptionalParameters ¶

type GetHostTotalsOptionalParameters struct {
	From *int64
}

GetHostTotalsOptionalParameters holds optional parameters for GetHostTotals.

func NewGetHostTotalsOptionalParameters ¶

func NewGetHostTotalsOptionalParameters() *GetHostTotalsOptionalParameters

NewGetHostTotalsOptionalParameters creates an empty struct for parameters.

func (*GetHostTotalsOptionalParameters) WithFrom ¶

WithFrom sets the corresponding parameter name and returns the struct.

type GetHourlyUsageAttributionOptionalParameters ¶ added in v1.8.0

type GetHourlyUsageAttributionOptionalParameters struct {
	EndHr              *time.Time
	NextRecordId       *string
	TagBreakdownKeys   *string
	IncludeDescendants *bool
}

GetHourlyUsageAttributionOptionalParameters holds optional parameters for GetHourlyUsageAttribution.

func NewGetHourlyUsageAttributionOptionalParameters ¶ added in v1.8.0

func NewGetHourlyUsageAttributionOptionalParameters() *GetHourlyUsageAttributionOptionalParameters

NewGetHourlyUsageAttributionOptionalParameters creates an empty struct for parameters.

func (*GetHourlyUsageAttributionOptionalParameters) WithEndHr ¶ added in v1.8.0

WithEndHr sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageAttributionOptionalParameters) WithIncludeDescendants ¶ added in v1.15.0

WithIncludeDescendants sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageAttributionOptionalParameters) WithNextRecordId ¶ added in v1.8.0

WithNextRecordId sets the corresponding parameter name and returns the struct.

func (*GetHourlyUsageAttributionOptionalParameters) WithTagBreakdownKeys ¶ added in v1.8.0

WithTagBreakdownKeys sets the corresponding parameter name and returns the struct.

type GetIncidentManagementOptionalParameters ¶

type GetIncidentManagementOptionalParameters struct {
	EndHr *time.Time
}

GetIncidentManagementOptionalParameters holds optional parameters for GetIncidentManagement.

func NewGetIncidentManagementOptionalParameters ¶

func NewGetIncidentManagementOptionalParameters() *GetIncidentManagementOptionalParameters

NewGetIncidentManagementOptionalParameters creates an empty struct for parameters.

func (*GetIncidentManagementOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetIngestedSpansOptionalParameters ¶

type GetIngestedSpansOptionalParameters struct {
	EndHr *time.Time
}

GetIngestedSpansOptionalParameters holds optional parameters for GetIngestedSpans.

func NewGetIngestedSpansOptionalParameters ¶

func NewGetIngestedSpansOptionalParameters() *GetIngestedSpansOptionalParameters

NewGetIngestedSpansOptionalParameters creates an empty struct for parameters.

func (*GetIngestedSpansOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetMonitorOptionalParameters ¶

type GetMonitorOptionalParameters struct {
	GroupStates *string
}

GetMonitorOptionalParameters holds optional parameters for GetMonitor.

func NewGetMonitorOptionalParameters ¶

func NewGetMonitorOptionalParameters() *GetMonitorOptionalParameters

NewGetMonitorOptionalParameters creates an empty struct for parameters.

func (*GetMonitorOptionalParameters) WithGroupStates ¶

func (r *GetMonitorOptionalParameters) WithGroupStates(groupStates string) *GetMonitorOptionalParameters

WithGroupStates sets the corresponding parameter name and returns the struct.

type GetMonthlyCustomReportsOptionalParameters ¶

type GetMonthlyCustomReportsOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	SortDir    *UsageSortDirection
	Sort       *UsageSort
}

GetMonthlyCustomReportsOptionalParameters holds optional parameters for GetMonthlyCustomReports.

func NewGetMonthlyCustomReportsOptionalParameters ¶

func NewGetMonthlyCustomReportsOptionalParameters() *GetMonthlyCustomReportsOptionalParameters

NewGetMonthlyCustomReportsOptionalParameters creates an empty struct for parameters.

func (*GetMonthlyCustomReportsOptionalParameters) WithPageNumber ¶

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*GetMonthlyCustomReportsOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*GetMonthlyCustomReportsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

func (*GetMonthlyCustomReportsOptionalParameters) WithSortDir ¶

WithSortDir sets the corresponding parameter name and returns the struct.

type GetMonthlyUsageAttributionOptionalParameters ¶ added in v1.8.0

type GetMonthlyUsageAttributionOptionalParameters struct {
	EndMonth           *time.Time
	SortDirection      *UsageSortDirection
	SortName           *MonthlyUsageAttributionSupportedMetrics
	TagBreakdownKeys   *string
	NextRecordId       *string
	IncludeDescendants *bool
}

GetMonthlyUsageAttributionOptionalParameters holds optional parameters for GetMonthlyUsageAttribution.

func NewGetMonthlyUsageAttributionOptionalParameters ¶ added in v1.8.0

func NewGetMonthlyUsageAttributionOptionalParameters() *GetMonthlyUsageAttributionOptionalParameters

NewGetMonthlyUsageAttributionOptionalParameters creates an empty struct for parameters.

func (*GetMonthlyUsageAttributionOptionalParameters) WithEndMonth ¶ added in v1.8.0

WithEndMonth sets the corresponding parameter name and returns the struct.

func (*GetMonthlyUsageAttributionOptionalParameters) WithIncludeDescendants ¶ added in v1.15.0

WithIncludeDescendants sets the corresponding parameter name and returns the struct.

func (*GetMonthlyUsageAttributionOptionalParameters) WithNextRecordId ¶ added in v1.8.0

WithNextRecordId sets the corresponding parameter name and returns the struct.

func (*GetMonthlyUsageAttributionOptionalParameters) WithSortDirection ¶ added in v1.8.0

WithSortDirection sets the corresponding parameter name and returns the struct.

func (*GetMonthlyUsageAttributionOptionalParameters) WithSortName ¶ added in v1.8.0

WithSortName sets the corresponding parameter name and returns the struct.

func (*GetMonthlyUsageAttributionOptionalParameters) WithTagBreakdownKeys ¶ added in v1.8.0

WithTagBreakdownKeys sets the corresponding parameter name and returns the struct.

type GetSLOHistoryOptionalParameters ¶

type GetSLOHistoryOptionalParameters struct {
	Target          *float64
	ApplyCorrection *bool
}

GetSLOHistoryOptionalParameters holds optional parameters for GetSLOHistory.

func NewGetSLOHistoryOptionalParameters ¶

func NewGetSLOHistoryOptionalParameters() *GetSLOHistoryOptionalParameters

NewGetSLOHistoryOptionalParameters creates an empty struct for parameters.

func (*GetSLOHistoryOptionalParameters) WithApplyCorrection ¶ added in v1.7.0

func (r *GetSLOHistoryOptionalParameters) WithApplyCorrection(applyCorrection bool) *GetSLOHistoryOptionalParameters

WithApplyCorrection sets the corresponding parameter name and returns the struct.

func (*GetSLOHistoryOptionalParameters) WithTarget ¶

WithTarget sets the corresponding parameter name and returns the struct.

type GetSLOOptionalParameters ¶

type GetSLOOptionalParameters struct {
	WithConfiguredAlertIds *bool
}

GetSLOOptionalParameters holds optional parameters for GetSLO.

func NewGetSLOOptionalParameters ¶

func NewGetSLOOptionalParameters() *GetSLOOptionalParameters

NewGetSLOOptionalParameters creates an empty struct for parameters.

func (*GetSLOOptionalParameters) WithWithConfiguredAlertIds ¶

func (r *GetSLOOptionalParameters) WithWithConfiguredAlertIds(withConfiguredAlertIds bool) *GetSLOOptionalParameters

WithWithConfiguredAlertIds sets the corresponding parameter name and returns the struct.

type GetUsageAnalyzedLogsOptionalParameters ¶

type GetUsageAnalyzedLogsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageAnalyzedLogsOptionalParameters holds optional parameters for GetUsageAnalyzedLogs.

func NewGetUsageAnalyzedLogsOptionalParameters ¶

func NewGetUsageAnalyzedLogsOptionalParameters() *GetUsageAnalyzedLogsOptionalParameters

NewGetUsageAnalyzedLogsOptionalParameters creates an empty struct for parameters.

func (*GetUsageAnalyzedLogsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageAttributionOptionalParameters ¶

type GetUsageAttributionOptionalParameters struct {
	EndMonth           *time.Time
	SortDirection      *UsageSortDirection
	SortName           *UsageAttributionSort
	IncludeDescendants *bool
	Offset             *int64
	Limit              *int64
}

GetUsageAttributionOptionalParameters holds optional parameters for GetUsageAttribution.

func NewGetUsageAttributionOptionalParameters ¶

func NewGetUsageAttributionOptionalParameters() *GetUsageAttributionOptionalParameters

NewGetUsageAttributionOptionalParameters creates an empty struct for parameters.

func (*GetUsageAttributionOptionalParameters) WithEndMonth ¶

WithEndMonth sets the corresponding parameter name and returns the struct.

func (*GetUsageAttributionOptionalParameters) WithIncludeDescendants ¶ added in v1.3.0

func (r *GetUsageAttributionOptionalParameters) WithIncludeDescendants(includeDescendants bool) *GetUsageAttributionOptionalParameters

WithIncludeDescendants sets the corresponding parameter name and returns the struct.

func (*GetUsageAttributionOptionalParameters) WithLimit ¶ added in v1.8.0

WithLimit sets the corresponding parameter name and returns the struct.

func (*GetUsageAttributionOptionalParameters) WithOffset ¶ added in v1.8.0

WithOffset sets the corresponding parameter name and returns the struct.

func (*GetUsageAttributionOptionalParameters) WithSortDirection ¶

WithSortDirection sets the corresponding parameter name and returns the struct.

func (*GetUsageAttributionOptionalParameters) WithSortName ¶

WithSortName sets the corresponding parameter name and returns the struct.

type GetUsageAuditLogsOptionalParameters ¶

type GetUsageAuditLogsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageAuditLogsOptionalParameters holds optional parameters for GetUsageAuditLogs.

func NewGetUsageAuditLogsOptionalParameters ¶

func NewGetUsageAuditLogsOptionalParameters() *GetUsageAuditLogsOptionalParameters

NewGetUsageAuditLogsOptionalParameters creates an empty struct for parameters.

func (*GetUsageAuditLogsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageBillableSummaryOptionalParameters ¶

type GetUsageBillableSummaryOptionalParameters struct {
	Month *time.Time
}

GetUsageBillableSummaryOptionalParameters holds optional parameters for GetUsageBillableSummary.

func NewGetUsageBillableSummaryOptionalParameters ¶

func NewGetUsageBillableSummaryOptionalParameters() *GetUsageBillableSummaryOptionalParameters

NewGetUsageBillableSummaryOptionalParameters creates an empty struct for parameters.

func (*GetUsageBillableSummaryOptionalParameters) WithMonth ¶

WithMonth sets the corresponding parameter name and returns the struct.

type GetUsageCIAppOptionalParameters ¶ added in v1.10.0

type GetUsageCIAppOptionalParameters struct {
	EndHr *time.Time
}

GetUsageCIAppOptionalParameters holds optional parameters for GetUsageCIApp.

func NewGetUsageCIAppOptionalParameters ¶ added in v1.10.0

func NewGetUsageCIAppOptionalParameters() *GetUsageCIAppOptionalParameters

NewGetUsageCIAppOptionalParameters creates an empty struct for parameters.

func (*GetUsageCIAppOptionalParameters) WithEndHr ¶ added in v1.10.0

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageCWSOptionalParameters ¶

type GetUsageCWSOptionalParameters struct {
	EndHr *time.Time
}

GetUsageCWSOptionalParameters holds optional parameters for GetUsageCWS.

func NewGetUsageCWSOptionalParameters ¶

func NewGetUsageCWSOptionalParameters() *GetUsageCWSOptionalParameters

NewGetUsageCWSOptionalParameters creates an empty struct for parameters.

func (*GetUsageCWSOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageCloudSecurityPostureManagementOptionalParameters ¶

type GetUsageCloudSecurityPostureManagementOptionalParameters struct {
	EndHr *time.Time
}

GetUsageCloudSecurityPostureManagementOptionalParameters holds optional parameters for GetUsageCloudSecurityPostureManagement.

func NewGetUsageCloudSecurityPostureManagementOptionalParameters ¶

func NewGetUsageCloudSecurityPostureManagementOptionalParameters() *GetUsageCloudSecurityPostureManagementOptionalParameters

NewGetUsageCloudSecurityPostureManagementOptionalParameters creates an empty struct for parameters.

func (*GetUsageCloudSecurityPostureManagementOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageDBMOptionalParameters ¶ added in v1.3.0

type GetUsageDBMOptionalParameters struct {
	EndHr *time.Time
}

GetUsageDBMOptionalParameters holds optional parameters for GetUsageDBM.

func NewGetUsageDBMOptionalParameters ¶ added in v1.3.0

func NewGetUsageDBMOptionalParameters() *GetUsageDBMOptionalParameters

NewGetUsageDBMOptionalParameters creates an empty struct for parameters.

func (*GetUsageDBMOptionalParameters) WithEndHr ¶ added in v1.3.0

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageFargateOptionalParameters ¶

type GetUsageFargateOptionalParameters struct {
	EndHr *time.Time
}

GetUsageFargateOptionalParameters holds optional parameters for GetUsageFargate.

func NewGetUsageFargateOptionalParameters ¶

func NewGetUsageFargateOptionalParameters() *GetUsageFargateOptionalParameters

NewGetUsageFargateOptionalParameters creates an empty struct for parameters.

func (*GetUsageFargateOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageHostsOptionalParameters ¶

type GetUsageHostsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageHostsOptionalParameters holds optional parameters for GetUsageHosts.

func NewGetUsageHostsOptionalParameters ¶

func NewGetUsageHostsOptionalParameters() *GetUsageHostsOptionalParameters

NewGetUsageHostsOptionalParameters creates an empty struct for parameters.

func (*GetUsageHostsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageIndexedSpansOptionalParameters ¶

type GetUsageIndexedSpansOptionalParameters struct {
	EndHr *time.Time
}

GetUsageIndexedSpansOptionalParameters holds optional parameters for GetUsageIndexedSpans.

func NewGetUsageIndexedSpansOptionalParameters ¶

func NewGetUsageIndexedSpansOptionalParameters() *GetUsageIndexedSpansOptionalParameters

NewGetUsageIndexedSpansOptionalParameters creates an empty struct for parameters.

func (*GetUsageIndexedSpansOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageInternetOfThingsOptionalParameters ¶

type GetUsageInternetOfThingsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageInternetOfThingsOptionalParameters holds optional parameters for GetUsageInternetOfThings.

func NewGetUsageInternetOfThingsOptionalParameters ¶

func NewGetUsageInternetOfThingsOptionalParameters() *GetUsageInternetOfThingsOptionalParameters

NewGetUsageInternetOfThingsOptionalParameters creates an empty struct for parameters.

func (*GetUsageInternetOfThingsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageLambdaOptionalParameters ¶

type GetUsageLambdaOptionalParameters struct {
	EndHr *time.Time
}

GetUsageLambdaOptionalParameters holds optional parameters for GetUsageLambda.

func NewGetUsageLambdaOptionalParameters ¶

func NewGetUsageLambdaOptionalParameters() *GetUsageLambdaOptionalParameters

NewGetUsageLambdaOptionalParameters creates an empty struct for parameters.

func (*GetUsageLambdaOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageLogsByIndexOptionalParameters ¶

type GetUsageLogsByIndexOptionalParameters struct {
	EndHr     *time.Time
	IndexName *[]string
}

GetUsageLogsByIndexOptionalParameters holds optional parameters for GetUsageLogsByIndex.

func NewGetUsageLogsByIndexOptionalParameters ¶

func NewGetUsageLogsByIndexOptionalParameters() *GetUsageLogsByIndexOptionalParameters

NewGetUsageLogsByIndexOptionalParameters creates an empty struct for parameters.

func (*GetUsageLogsByIndexOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

func (*GetUsageLogsByIndexOptionalParameters) WithIndexName ¶

WithIndexName sets the corresponding parameter name and returns the struct.

type GetUsageLogsByRetentionOptionalParameters ¶

type GetUsageLogsByRetentionOptionalParameters struct {
	EndHr *time.Time
}

GetUsageLogsByRetentionOptionalParameters holds optional parameters for GetUsageLogsByRetention.

func NewGetUsageLogsByRetentionOptionalParameters ¶

func NewGetUsageLogsByRetentionOptionalParameters() *GetUsageLogsByRetentionOptionalParameters

NewGetUsageLogsByRetentionOptionalParameters creates an empty struct for parameters.

func (*GetUsageLogsByRetentionOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageLogsOptionalParameters ¶

type GetUsageLogsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageLogsOptionalParameters holds optional parameters for GetUsageLogs.

func NewGetUsageLogsOptionalParameters ¶

func NewGetUsageLogsOptionalParameters() *GetUsageLogsOptionalParameters

NewGetUsageLogsOptionalParameters creates an empty struct for parameters.

func (*GetUsageLogsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageNetworkFlowsOptionalParameters ¶

type GetUsageNetworkFlowsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageNetworkFlowsOptionalParameters holds optional parameters for GetUsageNetworkFlows.

func NewGetUsageNetworkFlowsOptionalParameters ¶

func NewGetUsageNetworkFlowsOptionalParameters() *GetUsageNetworkFlowsOptionalParameters

NewGetUsageNetworkFlowsOptionalParameters creates an empty struct for parameters.

func (*GetUsageNetworkFlowsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageNetworkHostsOptionalParameters ¶

type GetUsageNetworkHostsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageNetworkHostsOptionalParameters holds optional parameters for GetUsageNetworkHosts.

func NewGetUsageNetworkHostsOptionalParameters ¶

func NewGetUsageNetworkHostsOptionalParameters() *GetUsageNetworkHostsOptionalParameters

NewGetUsageNetworkHostsOptionalParameters creates an empty struct for parameters.

func (*GetUsageNetworkHostsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageOnlineArchiveOptionalParameters ¶ added in v1.11.0

type GetUsageOnlineArchiveOptionalParameters struct {
	EndHr *time.Time
}

GetUsageOnlineArchiveOptionalParameters holds optional parameters for GetUsageOnlineArchive.

func NewGetUsageOnlineArchiveOptionalParameters ¶ added in v1.11.0

func NewGetUsageOnlineArchiveOptionalParameters() *GetUsageOnlineArchiveOptionalParameters

NewGetUsageOnlineArchiveOptionalParameters creates an empty struct for parameters.

func (*GetUsageOnlineArchiveOptionalParameters) WithEndHr ¶ added in v1.11.0

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageProfilingOptionalParameters ¶

type GetUsageProfilingOptionalParameters struct {
	EndHr *time.Time
}

GetUsageProfilingOptionalParameters holds optional parameters for GetUsageProfiling.

func NewGetUsageProfilingOptionalParameters ¶

func NewGetUsageProfilingOptionalParameters() *GetUsageProfilingOptionalParameters

NewGetUsageProfilingOptionalParameters creates an empty struct for parameters.

func (*GetUsageProfilingOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageRumSessionsOptionalParameters ¶

type GetUsageRumSessionsOptionalParameters struct {
	EndHr *time.Time
	Type  *string
}

GetUsageRumSessionsOptionalParameters holds optional parameters for GetUsageRumSessions.

func NewGetUsageRumSessionsOptionalParameters ¶

func NewGetUsageRumSessionsOptionalParameters() *GetUsageRumSessionsOptionalParameters

NewGetUsageRumSessionsOptionalParameters creates an empty struct for parameters.

func (*GetUsageRumSessionsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

func (*GetUsageRumSessionsOptionalParameters) WithType ¶ added in v1.11.0

WithType sets the corresponding parameter name and returns the struct.

type GetUsageRumUnitsOptionalParameters ¶ added in v1.7.0

type GetUsageRumUnitsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageRumUnitsOptionalParameters holds optional parameters for GetUsageRumUnits.

func NewGetUsageRumUnitsOptionalParameters ¶ added in v1.7.0

func NewGetUsageRumUnitsOptionalParameters() *GetUsageRumUnitsOptionalParameters

NewGetUsageRumUnitsOptionalParameters creates an empty struct for parameters.

func (*GetUsageRumUnitsOptionalParameters) WithEndHr ¶ added in v1.7.0

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageSDSOptionalParameters ¶ added in v1.5.0

type GetUsageSDSOptionalParameters struct {
	EndHr *time.Time
}

GetUsageSDSOptionalParameters holds optional parameters for GetUsageSDS.

func NewGetUsageSDSOptionalParameters ¶ added in v1.5.0

func NewGetUsageSDSOptionalParameters() *GetUsageSDSOptionalParameters

NewGetUsageSDSOptionalParameters creates an empty struct for parameters.

func (*GetUsageSDSOptionalParameters) WithEndHr ¶ added in v1.5.0

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageSNMPOptionalParameters ¶

type GetUsageSNMPOptionalParameters struct {
	EndHr *time.Time
}

GetUsageSNMPOptionalParameters holds optional parameters for GetUsageSNMP.

func NewGetUsageSNMPOptionalParameters ¶

func NewGetUsageSNMPOptionalParameters() *GetUsageSNMPOptionalParameters

NewGetUsageSNMPOptionalParameters creates an empty struct for parameters.

func (*GetUsageSNMPOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageSummaryOptionalParameters ¶

type GetUsageSummaryOptionalParameters struct {
	EndMonth          *time.Time
	IncludeOrgDetails *bool
}

GetUsageSummaryOptionalParameters holds optional parameters for GetUsageSummary.

func NewGetUsageSummaryOptionalParameters ¶

func NewGetUsageSummaryOptionalParameters() *GetUsageSummaryOptionalParameters

NewGetUsageSummaryOptionalParameters creates an empty struct for parameters.

func (*GetUsageSummaryOptionalParameters) WithEndMonth ¶

WithEndMonth sets the corresponding parameter name and returns the struct.

func (*GetUsageSummaryOptionalParameters) WithIncludeOrgDetails ¶

func (r *GetUsageSummaryOptionalParameters) WithIncludeOrgDetails(includeOrgDetails bool) *GetUsageSummaryOptionalParameters

WithIncludeOrgDetails sets the corresponding parameter name and returns the struct.

type GetUsageSyntheticsAPIOptionalParameters ¶

type GetUsageSyntheticsAPIOptionalParameters struct {
	EndHr *time.Time
}

GetUsageSyntheticsAPIOptionalParameters holds optional parameters for GetUsageSyntheticsAPI.

func NewGetUsageSyntheticsAPIOptionalParameters ¶

func NewGetUsageSyntheticsAPIOptionalParameters() *GetUsageSyntheticsAPIOptionalParameters

NewGetUsageSyntheticsAPIOptionalParameters creates an empty struct for parameters.

func (*GetUsageSyntheticsAPIOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageSyntheticsBrowserOptionalParameters ¶

type GetUsageSyntheticsBrowserOptionalParameters struct {
	EndHr *time.Time
}

GetUsageSyntheticsBrowserOptionalParameters holds optional parameters for GetUsageSyntheticsBrowser.

func NewGetUsageSyntheticsBrowserOptionalParameters ¶

func NewGetUsageSyntheticsBrowserOptionalParameters() *GetUsageSyntheticsBrowserOptionalParameters

NewGetUsageSyntheticsBrowserOptionalParameters creates an empty struct for parameters.

func (*GetUsageSyntheticsBrowserOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageSyntheticsOptionalParameters ¶

type GetUsageSyntheticsOptionalParameters struct {
	EndHr *time.Time
}

GetUsageSyntheticsOptionalParameters holds optional parameters for GetUsageSynthetics.

func NewGetUsageSyntheticsOptionalParameters ¶

func NewGetUsageSyntheticsOptionalParameters() *GetUsageSyntheticsOptionalParameters

NewGetUsageSyntheticsOptionalParameters creates an empty struct for parameters.

func (*GetUsageSyntheticsOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageTimeseriesOptionalParameters ¶

type GetUsageTimeseriesOptionalParameters struct {
	EndHr *time.Time
}

GetUsageTimeseriesOptionalParameters holds optional parameters for GetUsageTimeseries.

func NewGetUsageTimeseriesOptionalParameters ¶

func NewGetUsageTimeseriesOptionalParameters() *GetUsageTimeseriesOptionalParameters

NewGetUsageTimeseriesOptionalParameters creates an empty struct for parameters.

func (*GetUsageTimeseriesOptionalParameters) WithEndHr ¶

WithEndHr sets the corresponding parameter name and returns the struct.

type GetUsageTopAvgMetricsOptionalParameters ¶

type GetUsageTopAvgMetricsOptionalParameters struct {
	Month        *time.Time
	Day          *time.Time
	Names        *[]string
	Limit        *int32
	NextRecordId *string
}

GetUsageTopAvgMetricsOptionalParameters holds optional parameters for GetUsageTopAvgMetrics.

func NewGetUsageTopAvgMetricsOptionalParameters ¶

func NewGetUsageTopAvgMetricsOptionalParameters() *GetUsageTopAvgMetricsOptionalParameters

NewGetUsageTopAvgMetricsOptionalParameters creates an empty struct for parameters.

func (*GetUsageTopAvgMetricsOptionalParameters) WithDay ¶

WithDay sets the corresponding parameter name and returns the struct.

func (*GetUsageTopAvgMetricsOptionalParameters) WithLimit ¶

WithLimit sets the corresponding parameter name and returns the struct.

func (*GetUsageTopAvgMetricsOptionalParameters) WithMonth ¶

WithMonth sets the corresponding parameter name and returns the struct.

func (*GetUsageTopAvgMetricsOptionalParameters) WithNames ¶

WithNames sets the corresponding parameter name and returns the struct.

func (*GetUsageTopAvgMetricsOptionalParameters) WithNextRecordId ¶

WithNextRecordId sets the corresponding parameter name and returns the struct.

type GraphSnapshot ¶

type GraphSnapshot struct {
	// A JSON document defining the graph. `graph_def` can be used instead of `metric_query`.
	// The JSON document uses the [grammar defined here](https://docs.datadoghq.com/graphing/graphing_json/#grammar)
	// and should be formatted to a single line then URL encoded.
	GraphDef *string `json:"graph_def,omitempty"`
	// The metric query. One of `metric_query` or `graph_def` is required.
	MetricQuery *string `json:"metric_query,omitempty"`
	// URL of your [graph snapshot](https://docs.datadoghq.com/metrics/explorer/#snapshot).
	SnapshotUrl *string `json:"snapshot_url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

GraphSnapshot Object representing a graph snapshot.

func NewGraphSnapshot ¶

func NewGraphSnapshot() *GraphSnapshot

NewGraphSnapshot instantiates a new GraphSnapshot 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 NewGraphSnapshotWithDefaults ¶

func NewGraphSnapshotWithDefaults() *GraphSnapshot

NewGraphSnapshotWithDefaults instantiates a new GraphSnapshot 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 (*GraphSnapshot) GetGraphDef ¶

func (o *GraphSnapshot) GetGraphDef() string

GetGraphDef returns the GraphDef field value if set, zero value otherwise.

func (*GraphSnapshot) GetGraphDefOk ¶

func (o *GraphSnapshot) GetGraphDefOk() (*string, bool)

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

func (*GraphSnapshot) GetMetricQuery ¶

func (o *GraphSnapshot) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field value if set, zero value otherwise.

func (*GraphSnapshot) GetMetricQueryOk ¶

func (o *GraphSnapshot) GetMetricQueryOk() (*string, bool)

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

func (*GraphSnapshot) GetSnapshotUrl ¶

func (o *GraphSnapshot) GetSnapshotUrl() string

GetSnapshotUrl returns the SnapshotUrl field value if set, zero value otherwise.

func (*GraphSnapshot) GetSnapshotUrlOk ¶

func (o *GraphSnapshot) GetSnapshotUrlOk() (*string, bool)

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

func (*GraphSnapshot) HasGraphDef ¶

func (o *GraphSnapshot) HasGraphDef() bool

HasGraphDef returns a boolean if a field has been set.

func (*GraphSnapshot) HasMetricQuery ¶

func (o *GraphSnapshot) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*GraphSnapshot) HasSnapshotUrl ¶

func (o *GraphSnapshot) HasSnapshotUrl() bool

HasSnapshotUrl returns a boolean if a field has been set.

func (GraphSnapshot) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*GraphSnapshot) SetGraphDef ¶

func (o *GraphSnapshot) SetGraphDef(v string)

SetGraphDef gets a reference to the given string and assigns it to the GraphDef field.

func (*GraphSnapshot) SetMetricQuery ¶

func (o *GraphSnapshot) SetMetricQuery(v string)

SetMetricQuery gets a reference to the given string and assigns it to the MetricQuery field.

func (*GraphSnapshot) SetSnapshotUrl ¶

func (o *GraphSnapshot) SetSnapshotUrl(v string)

SetSnapshotUrl gets a reference to the given string and assigns it to the SnapshotUrl field.

func (*GraphSnapshot) UnmarshalJSON ¶ added in v1.3.0

func (o *GraphSnapshot) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GroupWidgetDefinition ¶

type GroupWidgetDefinition struct {
	// Background color of the group title.
	BackgroundColor *string `json:"background_color,omitempty"`
	// URL of image to display as a banner for the group.
	BannerImg *string `json:"banner_img,omitempty"`
	// Layout type of the group.
	LayoutType WidgetLayoutType `json:"layout_type"`
	// Whether to show the title or not.
	ShowTitle *bool `json:"show_title,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Type of the group widget.
	Type GroupWidgetDefinitionType `json:"type"`
	// List of widget groups.
	Widgets []Widget `json:"widgets"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

GroupWidgetDefinition The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible.

func NewGroupWidgetDefinition ¶

func NewGroupWidgetDefinition(layoutType WidgetLayoutType, typeVar GroupWidgetDefinitionType, widgets []Widget) *GroupWidgetDefinition

NewGroupWidgetDefinition instantiates a new GroupWidgetDefinition 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 NewGroupWidgetDefinitionWithDefaults ¶

func NewGroupWidgetDefinitionWithDefaults() *GroupWidgetDefinition

NewGroupWidgetDefinitionWithDefaults instantiates a new GroupWidgetDefinition 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 (*GroupWidgetDefinition) GetBackgroundColor ¶

func (o *GroupWidgetDefinition) GetBackgroundColor() string

GetBackgroundColor returns the BackgroundColor field value if set, zero value otherwise.

func (*GroupWidgetDefinition) GetBackgroundColorOk ¶

func (o *GroupWidgetDefinition) GetBackgroundColorOk() (*string, bool)

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

func (*GroupWidgetDefinition) GetBannerImg ¶

func (o *GroupWidgetDefinition) GetBannerImg() string

GetBannerImg returns the BannerImg field value if set, zero value otherwise.

func (*GroupWidgetDefinition) GetBannerImgOk ¶

func (o *GroupWidgetDefinition) GetBannerImgOk() (*string, bool)

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

func (*GroupWidgetDefinition) GetLayoutType ¶

func (o *GroupWidgetDefinition) GetLayoutType() WidgetLayoutType

GetLayoutType returns the LayoutType field value.

func (*GroupWidgetDefinition) GetLayoutTypeOk ¶

func (o *GroupWidgetDefinition) GetLayoutTypeOk() (*WidgetLayoutType, bool)

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

func (*GroupWidgetDefinition) GetShowTitle ¶

func (o *GroupWidgetDefinition) GetShowTitle() bool

GetShowTitle returns the ShowTitle field value if set, zero value otherwise.

func (*GroupWidgetDefinition) GetShowTitleOk ¶

func (o *GroupWidgetDefinition) GetShowTitleOk() (*bool, bool)

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

func (*GroupWidgetDefinition) GetTitle ¶

func (o *GroupWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*GroupWidgetDefinition) GetTitleAlign ¶

func (o *GroupWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*GroupWidgetDefinition) GetTitleAlignOk ¶

func (o *GroupWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*GroupWidgetDefinition) GetTitleOk ¶

func (o *GroupWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*GroupWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*GroupWidgetDefinition) GetTypeOk ¶

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

func (*GroupWidgetDefinition) GetWidgets ¶

func (o *GroupWidgetDefinition) GetWidgets() []Widget

GetWidgets returns the Widgets field value.

func (*GroupWidgetDefinition) GetWidgetsOk ¶

func (o *GroupWidgetDefinition) GetWidgetsOk() (*[]Widget, bool)

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

func (*GroupWidgetDefinition) HasBackgroundColor ¶

func (o *GroupWidgetDefinition) HasBackgroundColor() bool

HasBackgroundColor returns a boolean if a field has been set.

func (*GroupWidgetDefinition) HasBannerImg ¶

func (o *GroupWidgetDefinition) HasBannerImg() bool

HasBannerImg returns a boolean if a field has been set.

func (*GroupWidgetDefinition) HasShowTitle ¶

func (o *GroupWidgetDefinition) HasShowTitle() bool

HasShowTitle returns a boolean if a field has been set.

func (*GroupWidgetDefinition) HasTitle ¶

func (o *GroupWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*GroupWidgetDefinition) HasTitleAlign ¶

func (o *GroupWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (GroupWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*GroupWidgetDefinition) SetBackgroundColor ¶

func (o *GroupWidgetDefinition) SetBackgroundColor(v string)

SetBackgroundColor gets a reference to the given string and assigns it to the BackgroundColor field.

func (*GroupWidgetDefinition) SetBannerImg ¶

func (o *GroupWidgetDefinition) SetBannerImg(v string)

SetBannerImg gets a reference to the given string and assigns it to the BannerImg field.

func (*GroupWidgetDefinition) SetLayoutType ¶

func (o *GroupWidgetDefinition) SetLayoutType(v WidgetLayoutType)

SetLayoutType sets field value.

func (*GroupWidgetDefinition) SetShowTitle ¶

func (o *GroupWidgetDefinition) SetShowTitle(v bool)

SetShowTitle gets a reference to the given bool and assigns it to the ShowTitle field.

func (*GroupWidgetDefinition) SetTitle ¶

func (o *GroupWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*GroupWidgetDefinition) SetTitleAlign ¶

func (o *GroupWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*GroupWidgetDefinition) SetType ¶

SetType sets field value.

func (*GroupWidgetDefinition) SetWidgets ¶

func (o *GroupWidgetDefinition) SetWidgets(v []Widget)

SetWidgets sets field value.

func (*GroupWidgetDefinition) UnmarshalJSON ¶

func (o *GroupWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type GroupWidgetDefinitionType ¶

type GroupWidgetDefinitionType string

GroupWidgetDefinitionType Type of the group widget.

const (
	GROUPWIDGETDEFINITIONTYPE_GROUP GroupWidgetDefinitionType = "group"
)

List of GroupWidgetDefinitionType.

func NewGroupWidgetDefinitionTypeFromValue ¶

func NewGroupWidgetDefinitionTypeFromValue(v string) (*GroupWidgetDefinitionType, error)

NewGroupWidgetDefinitionTypeFromValue returns a pointer to a valid GroupWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*GroupWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

func (v *GroupWidgetDefinitionType) GetAllowedValues() []GroupWidgetDefinitionType

GetAllowedValues reeturns the list of possible values.

func (GroupWidgetDefinitionType) IsValid ¶

func (v GroupWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (GroupWidgetDefinitionType) Ptr ¶

Ptr returns reference to GroupWidgetDefinitionType value.

func (*GroupWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type HTTPLogError ¶

type HTTPLogError struct {
	// Error code.
	Code int32 `json:"code"`
	// Error message.
	Message string `json:"message"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HTTPLogError Invalid query performed.

func NewHTTPLogError ¶

func NewHTTPLogError(code int32, message string) *HTTPLogError

NewHTTPLogError instantiates a new HTTPLogError 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 NewHTTPLogErrorWithDefaults ¶

func NewHTTPLogErrorWithDefaults() *HTTPLogError

NewHTTPLogErrorWithDefaults instantiates a new HTTPLogError 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 (*HTTPLogError) GetCode ¶

func (o *HTTPLogError) GetCode() int32

GetCode returns the Code field value.

func (*HTTPLogError) GetCodeOk ¶

func (o *HTTPLogError) GetCodeOk() (*int32, bool)

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

func (*HTTPLogError) GetMessage ¶

func (o *HTTPLogError) GetMessage() string

GetMessage returns the Message field value.

func (*HTTPLogError) GetMessageOk ¶

func (o *HTTPLogError) GetMessageOk() (*string, bool)

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

func (HTTPLogError) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogError) SetCode ¶

func (o *HTTPLogError) SetCode(v int32)

SetCode sets field value.

func (*HTTPLogError) SetMessage ¶

func (o *HTTPLogError) SetMessage(v string)

SetMessage sets field value.

func (*HTTPLogError) UnmarshalJSON ¶

func (o *HTTPLogError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HTTPLogItem ¶

type HTTPLogItem struct {
	// The integration name associated with your log: the technology from which the log originated.
	// When it matches an integration name, Datadog automatically installs the corresponding parsers and facets.
	// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
	Ddsource *string `json:"ddsource,omitempty"`
	// Tags associated with your logs.
	Ddtags *string `json:"ddtags,omitempty"`
	// The name of the originating host of the log.
	Hostname *string `json:"hostname,omitempty"`
	// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes)
	// of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry.
	// That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
	Message string `json:"message"`
	// The name of the application or service generating the log events.
	// It is used to switch from Logs to APM, so make sure you define the same value when you use both products.
	// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
	Service *string `json:"service,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]string
}

HTTPLogItem Logs that are sent over HTTP.

func NewHTTPLogItem ¶

func NewHTTPLogItem(message string) *HTTPLogItem

NewHTTPLogItem instantiates a new HTTPLogItem 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 NewHTTPLogItemWithDefaults ¶

func NewHTTPLogItemWithDefaults() *HTTPLogItem

NewHTTPLogItemWithDefaults instantiates a new HTTPLogItem 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 (*HTTPLogItem) GetDdsource ¶

func (o *HTTPLogItem) GetDdsource() string

GetDdsource returns the Ddsource field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdsourceOk ¶

func (o *HTTPLogItem) GetDdsourceOk() (*string, bool)

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

func (*HTTPLogItem) GetDdtags ¶

func (o *HTTPLogItem) GetDdtags() string

GetDdtags returns the Ddtags field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdtagsOk ¶

func (o *HTTPLogItem) GetDdtagsOk() (*string, bool)

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

func (*HTTPLogItem) GetHostname ¶

func (o *HTTPLogItem) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*HTTPLogItem) GetHostnameOk ¶

func (o *HTTPLogItem) GetHostnameOk() (*string, bool)

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

func (*HTTPLogItem) GetMessage ¶

func (o *HTTPLogItem) GetMessage() string

GetMessage returns the Message field value.

func (*HTTPLogItem) GetMessageOk ¶

func (o *HTTPLogItem) GetMessageOk() (*string, bool)

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

func (*HTTPLogItem) GetService ¶

func (o *HTTPLogItem) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*HTTPLogItem) GetServiceOk ¶

func (o *HTTPLogItem) GetServiceOk() (*string, bool)

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

func (*HTTPLogItem) HasDdsource ¶

func (o *HTTPLogItem) HasDdsource() bool

HasDdsource returns a boolean if a field has been set.

func (*HTTPLogItem) HasDdtags ¶

func (o *HTTPLogItem) HasDdtags() bool

HasDdtags returns a boolean if a field has been set.

func (*HTTPLogItem) HasHostname ¶

func (o *HTTPLogItem) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*HTTPLogItem) HasService ¶

func (o *HTTPLogItem) HasService() bool

HasService returns a boolean if a field has been set.

func (HTTPLogItem) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HTTPLogItem) SetDdsource ¶

func (o *HTTPLogItem) SetDdsource(v string)

SetDdsource gets a reference to the given string and assigns it to the Ddsource field.

func (*HTTPLogItem) SetDdtags ¶

func (o *HTTPLogItem) SetDdtags(v string)

SetDdtags gets a reference to the given string and assigns it to the Ddtags field.

func (*HTTPLogItem) SetHostname ¶

func (o *HTTPLogItem) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*HTTPLogItem) SetMessage ¶

func (o *HTTPLogItem) SetMessage(v string)

SetMessage sets field value.

func (*HTTPLogItem) SetService ¶

func (o *HTTPLogItem) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*HTTPLogItem) UnmarshalJSON ¶ added in v1.3.0

func (o *HTTPLogItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HTTPMethod ¶

type HTTPMethod string

HTTPMethod The HTTP method.

const (
	HTTPMETHOD_GET     HTTPMethod = "GET"
	HTTPMETHOD_POST    HTTPMethod = "POST"
	HTTPMETHOD_PATCH   HTTPMethod = "PATCH"
	HTTPMETHOD_PUT     HTTPMethod = "PUT"
	HTTPMETHOD_DELETE  HTTPMethod = "DELETE"
	HTTPMETHOD_HEAD    HTTPMethod = "HEAD"
	HTTPMETHOD_OPTIONS HTTPMethod = "OPTIONS"
)

List of HTTPMethod.

func NewHTTPMethodFromValue ¶

func NewHTTPMethodFromValue(v string) (*HTTPMethod, error)

NewHTTPMethodFromValue returns a pointer to a valid HTTPMethod for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*HTTPMethod) GetAllowedValues ¶ added in v1.1.0

func (v *HTTPMethod) GetAllowedValues() []HTTPMethod

GetAllowedValues reeturns the list of possible values.

func (HTTPMethod) IsValid ¶

func (v HTTPMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (HTTPMethod) Ptr ¶

func (v HTTPMethod) Ptr() *HTTPMethod

Ptr returns reference to HTTPMethod value.

func (*HTTPMethod) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type HeatMapWidgetDefinition ¶

type HeatMapWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// List of widget events.
	Events []WidgetEvent `json:"events,omitempty"`
	// Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".
	LegendSize *string `json:"legend_size,omitempty"`
	// List of widget types.
	Requests []HeatMapWidgetRequest `json:"requests"`
	// Whether or not to display the legend on this widget.
	ShowLegend *bool `json:"show_legend,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the heat map widget.
	Type HeatMapWidgetDefinitionType `json:"type"`
	// Axis controls for the widget.
	Yaxis *WidgetAxis `json:"yaxis,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HeatMapWidgetDefinition The heat map visualization shows metrics aggregated across many tags, such as hosts. The more hosts that have a particular value, the darker that square is.

func NewHeatMapWidgetDefinition ¶

func NewHeatMapWidgetDefinition(requests []HeatMapWidgetRequest, typeVar HeatMapWidgetDefinitionType) *HeatMapWidgetDefinition

NewHeatMapWidgetDefinition instantiates a new HeatMapWidgetDefinition 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 NewHeatMapWidgetDefinitionWithDefaults ¶

func NewHeatMapWidgetDefinitionWithDefaults() *HeatMapWidgetDefinition

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

func (o *HeatMapWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetCustomLinksOk ¶

func (o *HeatMapWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

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

func (*HeatMapWidgetDefinition) GetEvents ¶

func (o *HeatMapWidgetDefinition) GetEvents() []WidgetEvent

GetEvents returns the Events field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetEventsOk ¶

func (o *HeatMapWidgetDefinition) GetEventsOk() (*[]WidgetEvent, bool)

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

func (*HeatMapWidgetDefinition) GetLegendSize ¶

func (o *HeatMapWidgetDefinition) GetLegendSize() string

GetLegendSize returns the LegendSize field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetLegendSizeOk ¶

func (o *HeatMapWidgetDefinition) GetLegendSizeOk() (*string, bool)

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

func (*HeatMapWidgetDefinition) GetRequests ¶

func (o *HeatMapWidgetDefinition) GetRequests() []HeatMapWidgetRequest

GetRequests returns the Requests field value.

func (*HeatMapWidgetDefinition) GetRequestsOk ¶

func (o *HeatMapWidgetDefinition) GetRequestsOk() (*[]HeatMapWidgetRequest, bool)

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

func (*HeatMapWidgetDefinition) GetShowLegend ¶

func (o *HeatMapWidgetDefinition) GetShowLegend() bool

GetShowLegend returns the ShowLegend field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetShowLegendOk ¶

func (o *HeatMapWidgetDefinition) GetShowLegendOk() (*bool, bool)

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

func (*HeatMapWidgetDefinition) GetTime ¶

func (o *HeatMapWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetTimeOk ¶

func (o *HeatMapWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*HeatMapWidgetDefinition) GetTitle ¶

func (o *HeatMapWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetTitleAlign ¶

func (o *HeatMapWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetTitleAlignOk ¶

func (o *HeatMapWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*HeatMapWidgetDefinition) GetTitleOk ¶

func (o *HeatMapWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*HeatMapWidgetDefinition) GetTitleSize ¶

func (o *HeatMapWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetTitleSizeOk ¶

func (o *HeatMapWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*HeatMapWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*HeatMapWidgetDefinition) GetTypeOk ¶

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

func (*HeatMapWidgetDefinition) GetYaxis ¶

func (o *HeatMapWidgetDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field value if set, zero value otherwise.

func (*HeatMapWidgetDefinition) GetYaxisOk ¶

func (o *HeatMapWidgetDefinition) GetYaxisOk() (*WidgetAxis, bool)

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

func (o *HeatMapWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasEvents ¶

func (o *HeatMapWidgetDefinition) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasLegendSize ¶

func (o *HeatMapWidgetDefinition) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasShowLegend ¶

func (o *HeatMapWidgetDefinition) HasShowLegend() bool

HasShowLegend returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasTime ¶

func (o *HeatMapWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasTitle ¶

func (o *HeatMapWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasTitleAlign ¶

func (o *HeatMapWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasTitleSize ¶

func (o *HeatMapWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*HeatMapWidgetDefinition) HasYaxis ¶

func (o *HeatMapWidgetDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (HeatMapWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (o *HeatMapWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*HeatMapWidgetDefinition) SetEvents ¶

func (o *HeatMapWidgetDefinition) SetEvents(v []WidgetEvent)

SetEvents gets a reference to the given []WidgetEvent and assigns it to the Events field.

func (*HeatMapWidgetDefinition) SetLegendSize ¶

func (o *HeatMapWidgetDefinition) SetLegendSize(v string)

SetLegendSize gets a reference to the given string and assigns it to the LegendSize field.

func (*HeatMapWidgetDefinition) SetRequests ¶

func (o *HeatMapWidgetDefinition) SetRequests(v []HeatMapWidgetRequest)

SetRequests sets field value.

func (*HeatMapWidgetDefinition) SetShowLegend ¶

func (o *HeatMapWidgetDefinition) SetShowLegend(v bool)

SetShowLegend gets a reference to the given bool and assigns it to the ShowLegend field.

func (*HeatMapWidgetDefinition) SetTime ¶

func (o *HeatMapWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*HeatMapWidgetDefinition) SetTitle ¶

func (o *HeatMapWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*HeatMapWidgetDefinition) SetTitleAlign ¶

func (o *HeatMapWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*HeatMapWidgetDefinition) SetTitleSize ¶

func (o *HeatMapWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*HeatMapWidgetDefinition) SetType ¶

SetType sets field value.

func (*HeatMapWidgetDefinition) SetYaxis ¶

func (o *HeatMapWidgetDefinition) SetYaxis(v WidgetAxis)

SetYaxis gets a reference to the given WidgetAxis and assigns it to the Yaxis field.

func (*HeatMapWidgetDefinition) UnmarshalJSON ¶

func (o *HeatMapWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HeatMapWidgetDefinitionType ¶

type HeatMapWidgetDefinitionType string

HeatMapWidgetDefinitionType Type of the heat map widget.

const (
	HEATMAPWIDGETDEFINITIONTYPE_HEATMAP HeatMapWidgetDefinitionType = "heatmap"
)

List of HeatMapWidgetDefinitionType.

func NewHeatMapWidgetDefinitionTypeFromValue ¶

func NewHeatMapWidgetDefinitionTypeFromValue(v string) (*HeatMapWidgetDefinitionType, error)

NewHeatMapWidgetDefinitionTypeFromValue returns a pointer to a valid HeatMapWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*HeatMapWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (HeatMapWidgetDefinitionType) IsValid ¶

func (v HeatMapWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (HeatMapWidgetDefinitionType) Ptr ¶

Ptr returns reference to HeatMapWidgetDefinitionType value.

func (*HeatMapWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type HeatMapWidgetRequest ¶

type HeatMapWidgetRequest struct {
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The event query.
	EventQuery *EventQueryDefinition `json:"event_query,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Widget query.
	Q *string `json:"q,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// Widget style definition.
	Style *WidgetStyle `json:"style,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HeatMapWidgetRequest Updated heat map widget.

func NewHeatMapWidgetRequest ¶

func NewHeatMapWidgetRequest() *HeatMapWidgetRequest

NewHeatMapWidgetRequest instantiates a new HeatMapWidgetRequest 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 NewHeatMapWidgetRequestWithDefaults ¶

func NewHeatMapWidgetRequestWithDefaults() *HeatMapWidgetRequest

NewHeatMapWidgetRequestWithDefaults instantiates a new HeatMapWidgetRequest 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 (*HeatMapWidgetRequest) GetApmQuery ¶

func (o *HeatMapWidgetRequest) GetApmQuery() LogQueryDefinition

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetApmQueryOk ¶

func (o *HeatMapWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetEventQuery ¶

func (o *HeatMapWidgetRequest) GetEventQuery() EventQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetEventQueryOk ¶

func (o *HeatMapWidgetRequest) GetEventQueryOk() (*EventQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetLogQuery ¶

func (o *HeatMapWidgetRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetLogQueryOk ¶

func (o *HeatMapWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetNetworkQuery ¶

func (o *HeatMapWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetNetworkQueryOk ¶

func (o *HeatMapWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetProcessQuery ¶

func (o *HeatMapWidgetRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetProcessQueryOk ¶

func (o *HeatMapWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetProfileMetricsQuery ¶

func (o *HeatMapWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetProfileMetricsQueryOk ¶

func (o *HeatMapWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetQ ¶

func (o *HeatMapWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetQOk ¶

func (o *HeatMapWidgetRequest) GetQOk() (*string, bool)

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

func (*HeatMapWidgetRequest) GetRumQuery ¶

func (o *HeatMapWidgetRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetRumQueryOk ¶

func (o *HeatMapWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetSecurityQuery ¶

func (o *HeatMapWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetSecurityQueryOk ¶

func (o *HeatMapWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

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

func (*HeatMapWidgetRequest) GetStyle ¶

func (o *HeatMapWidgetRequest) GetStyle() WidgetStyle

GetStyle returns the Style field value if set, zero value otherwise.

func (*HeatMapWidgetRequest) GetStyleOk ¶

func (o *HeatMapWidgetRequest) GetStyleOk() (*WidgetStyle, bool)

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

func (*HeatMapWidgetRequest) HasApmQuery ¶

func (o *HeatMapWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasEventQuery ¶

func (o *HeatMapWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasLogQuery ¶

func (o *HeatMapWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasNetworkQuery ¶

func (o *HeatMapWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasProcessQuery ¶

func (o *HeatMapWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasProfileMetricsQuery ¶

func (o *HeatMapWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasQ ¶

func (o *HeatMapWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasRumQuery ¶

func (o *HeatMapWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasSecurityQuery ¶

func (o *HeatMapWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*HeatMapWidgetRequest) HasStyle ¶

func (o *HeatMapWidgetRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (HeatMapWidgetRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HeatMapWidgetRequest) SetApmQuery ¶

func (o *HeatMapWidgetRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*HeatMapWidgetRequest) SetEventQuery ¶

func (o *HeatMapWidgetRequest) SetEventQuery(v EventQueryDefinition)

SetEventQuery gets a reference to the given EventQueryDefinition and assigns it to the EventQuery field.

func (*HeatMapWidgetRequest) SetLogQuery ¶

func (o *HeatMapWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*HeatMapWidgetRequest) SetNetworkQuery ¶

func (o *HeatMapWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*HeatMapWidgetRequest) SetProcessQuery ¶

func (o *HeatMapWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*HeatMapWidgetRequest) SetProfileMetricsQuery ¶

func (o *HeatMapWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*HeatMapWidgetRequest) SetQ ¶

func (o *HeatMapWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*HeatMapWidgetRequest) SetRumQuery ¶

func (o *HeatMapWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*HeatMapWidgetRequest) SetSecurityQuery ¶

func (o *HeatMapWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*HeatMapWidgetRequest) SetStyle ¶

func (o *HeatMapWidgetRequest) SetStyle(v WidgetStyle)

SetStyle gets a reference to the given WidgetStyle and assigns it to the Style field.

func (*HeatMapWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *HeatMapWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Host ¶

type Host struct {
	// Host aliases collected by Datadog.
	Aliases []string `json:"aliases,omitempty"`
	// The Datadog integrations reporting metrics for the host.
	Apps []string `json:"apps,omitempty"`
	// AWS name of your host.
	AwsName *string `json:"aws_name,omitempty"`
	// The host name.
	HostName *string `json:"host_name,omitempty"`
	// The host ID.
	Id *int64 `json:"id,omitempty"`
	// If a host is muted or unmuted.
	IsMuted *bool `json:"is_muted,omitempty"`
	// Last time the host reported a metric data point.
	LastReportedTime *int64 `json:"last_reported_time,omitempty"`
	// Metadata associated with your host.
	Meta *HostMeta `json:"meta,omitempty"`
	// Host Metrics collected.
	Metrics *HostMetrics `json:"metrics,omitempty"`
	// Timeout of the mute applied to your host.
	MuteTimeout *int64 `json:"mute_timeout,omitempty"`
	// The host name.
	Name *string `json:"name,omitempty"`
	// Source or cloud provider associated with your host.
	Sources []string `json:"sources,omitempty"`
	// List of tags for each source (AWS, Datadog Agent, Chef..).
	TagsBySource map[string][]string `json:"tags_by_source,omitempty"`
	// Displays UP when the expected metrics are received and displays `???` if no metrics are received.
	Up *bool `json:"up,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Host Object representing a host.

func NewHost ¶

func NewHost() *Host

NewHost instantiates a new Host 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 NewHostWithDefaults ¶

func NewHostWithDefaults() *Host

NewHostWithDefaults instantiates a new Host 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 (*Host) GetAliases ¶

func (o *Host) GetAliases() []string

GetAliases returns the Aliases field value if set, zero value otherwise.

func (*Host) GetAliasesOk ¶

func (o *Host) GetAliasesOk() (*[]string, bool)

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

func (*Host) GetApps ¶

func (o *Host) GetApps() []string

GetApps returns the Apps field value if set, zero value otherwise.

func (*Host) GetAppsOk ¶

func (o *Host) GetAppsOk() (*[]string, bool)

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

func (*Host) GetAwsName ¶

func (o *Host) GetAwsName() string

GetAwsName returns the AwsName field value if set, zero value otherwise.

func (*Host) GetAwsNameOk ¶

func (o *Host) GetAwsNameOk() (*string, bool)

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

func (*Host) GetHostName ¶

func (o *Host) GetHostName() string

GetHostName returns the HostName field value if set, zero value otherwise.

func (*Host) GetHostNameOk ¶

func (o *Host) GetHostNameOk() (*string, bool)

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

func (*Host) GetId ¶

func (o *Host) GetId() int64

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

func (*Host) GetIdOk ¶

func (o *Host) GetIdOk() (*int64, 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 (*Host) GetIsMuted ¶

func (o *Host) GetIsMuted() bool

GetIsMuted returns the IsMuted field value if set, zero value otherwise.

func (*Host) GetIsMutedOk ¶

func (o *Host) GetIsMutedOk() (*bool, bool)

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

func (*Host) GetLastReportedTime ¶

func (o *Host) GetLastReportedTime() int64

GetLastReportedTime returns the LastReportedTime field value if set, zero value otherwise.

func (*Host) GetLastReportedTimeOk ¶

func (o *Host) GetLastReportedTimeOk() (*int64, bool)

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

func (*Host) GetMeta ¶

func (o *Host) GetMeta() HostMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*Host) GetMetaOk ¶

func (o *Host) GetMetaOk() (*HostMeta, bool)

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

func (*Host) GetMetrics ¶

func (o *Host) GetMetrics() HostMetrics

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*Host) GetMetricsOk ¶

func (o *Host) GetMetricsOk() (*HostMetrics, bool)

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

func (*Host) GetMuteTimeout ¶

func (o *Host) GetMuteTimeout() int64

GetMuteTimeout returns the MuteTimeout field value if set, zero value otherwise.

func (*Host) GetMuteTimeoutOk ¶

func (o *Host) GetMuteTimeoutOk() (*int64, bool)

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

func (*Host) GetName ¶

func (o *Host) GetName() string

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

func (*Host) GetNameOk ¶

func (o *Host) 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 (*Host) GetSources ¶

func (o *Host) GetSources() []string

GetSources returns the Sources field value if set, zero value otherwise.

func (*Host) GetSourcesOk ¶

func (o *Host) GetSourcesOk() (*[]string, bool)

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

func (*Host) GetTagsBySource ¶

func (o *Host) GetTagsBySource() map[string][]string

GetTagsBySource returns the TagsBySource field value if set, zero value otherwise.

func (*Host) GetTagsBySourceOk ¶

func (o *Host) GetTagsBySourceOk() (*map[string][]string, bool)

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

func (*Host) GetUp ¶

func (o *Host) GetUp() bool

GetUp returns the Up field value if set, zero value otherwise.

func (*Host) GetUpOk ¶

func (o *Host) GetUpOk() (*bool, bool)

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

func (*Host) HasAliases ¶

func (o *Host) HasAliases() bool

HasAliases returns a boolean if a field has been set.

func (*Host) HasApps ¶

func (o *Host) HasApps() bool

HasApps returns a boolean if a field has been set.

func (*Host) HasAwsName ¶

func (o *Host) HasAwsName() bool

HasAwsName returns a boolean if a field has been set.

func (*Host) HasHostName ¶

func (o *Host) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*Host) HasId ¶

func (o *Host) HasId() bool

HasId returns a boolean if a field has been set.

func (*Host) HasIsMuted ¶

func (o *Host) HasIsMuted() bool

HasIsMuted returns a boolean if a field has been set.

func (*Host) HasLastReportedTime ¶

func (o *Host) HasLastReportedTime() bool

HasLastReportedTime returns a boolean if a field has been set.

func (*Host) HasMeta ¶

func (o *Host) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*Host) HasMetrics ¶

func (o *Host) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*Host) HasMuteTimeout ¶

func (o *Host) HasMuteTimeout() bool

HasMuteTimeout returns a boolean if a field has been set.

func (*Host) HasName ¶

func (o *Host) HasName() bool

HasName returns a boolean if a field has been set.

func (*Host) HasSources ¶

func (o *Host) HasSources() bool

HasSources returns a boolean if a field has been set.

func (*Host) HasTagsBySource ¶

func (o *Host) HasTagsBySource() bool

HasTagsBySource returns a boolean if a field has been set.

func (*Host) HasUp ¶

func (o *Host) HasUp() bool

HasUp returns a boolean if a field has been set.

func (Host) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*Host) SetAliases ¶

func (o *Host) SetAliases(v []string)

SetAliases gets a reference to the given []string and assigns it to the Aliases field.

func (*Host) SetApps ¶

func (o *Host) SetApps(v []string)

SetApps gets a reference to the given []string and assigns it to the Apps field.

func (*Host) SetAwsName ¶

func (o *Host) SetAwsName(v string)

SetAwsName gets a reference to the given string and assigns it to the AwsName field.

func (*Host) SetHostName ¶

func (o *Host) SetHostName(v string)

SetHostName gets a reference to the given string and assigns it to the HostName field.

func (*Host) SetId ¶

func (o *Host) SetId(v int64)

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

func (*Host) SetIsMuted ¶

func (o *Host) SetIsMuted(v bool)

SetIsMuted gets a reference to the given bool and assigns it to the IsMuted field.

func (*Host) SetLastReportedTime ¶

func (o *Host) SetLastReportedTime(v int64)

SetLastReportedTime gets a reference to the given int64 and assigns it to the LastReportedTime field.

func (*Host) SetMeta ¶

func (o *Host) SetMeta(v HostMeta)

SetMeta gets a reference to the given HostMeta and assigns it to the Meta field.

func (*Host) SetMetrics ¶

func (o *Host) SetMetrics(v HostMetrics)

SetMetrics gets a reference to the given HostMetrics and assigns it to the Metrics field.

func (*Host) SetMuteTimeout ¶

func (o *Host) SetMuteTimeout(v int64)

SetMuteTimeout gets a reference to the given int64 and assigns it to the MuteTimeout field.

func (*Host) SetName ¶

func (o *Host) SetName(v string)

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

func (*Host) SetSources ¶

func (o *Host) SetSources(v []string)

SetSources gets a reference to the given []string and assigns it to the Sources field.

func (*Host) SetTagsBySource ¶

func (o *Host) SetTagsBySource(v map[string][]string)

SetTagsBySource gets a reference to the given map[string][]string and assigns it to the TagsBySource field.

func (*Host) SetUp ¶

func (o *Host) SetUp(v bool)

SetUp gets a reference to the given bool and assigns it to the Up field.

func (*Host) UnmarshalJSON ¶ added in v1.3.0

func (o *Host) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostListResponse ¶

type HostListResponse struct {
	// Array of hosts.
	HostList []Host `json:"host_list,omitempty"`
	// Number of host matching the query.
	TotalMatching *int64 `json:"total_matching,omitempty"`
	// Number of host returned.
	TotalReturned *int64 `json:"total_returned,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostListResponse Response with Host information from Datadog.

func NewHostListResponse ¶

func NewHostListResponse() *HostListResponse

NewHostListResponse instantiates a new HostListResponse 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 NewHostListResponseWithDefaults ¶

func NewHostListResponseWithDefaults() *HostListResponse

NewHostListResponseWithDefaults instantiates a new HostListResponse 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 (*HostListResponse) GetHostList ¶

func (o *HostListResponse) GetHostList() []Host

GetHostList returns the HostList field value if set, zero value otherwise.

func (*HostListResponse) GetHostListOk ¶

func (o *HostListResponse) GetHostListOk() (*[]Host, bool)

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

func (*HostListResponse) GetTotalMatching ¶

func (o *HostListResponse) GetTotalMatching() int64

GetTotalMatching returns the TotalMatching field value if set, zero value otherwise.

func (*HostListResponse) GetTotalMatchingOk ¶

func (o *HostListResponse) GetTotalMatchingOk() (*int64, bool)

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

func (*HostListResponse) GetTotalReturned ¶

func (o *HostListResponse) GetTotalReturned() int64

GetTotalReturned returns the TotalReturned field value if set, zero value otherwise.

func (*HostListResponse) GetTotalReturnedOk ¶

func (o *HostListResponse) GetTotalReturnedOk() (*int64, bool)

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

func (*HostListResponse) HasHostList ¶

func (o *HostListResponse) HasHostList() bool

HasHostList returns a boolean if a field has been set.

func (*HostListResponse) HasTotalMatching ¶

func (o *HostListResponse) HasTotalMatching() bool

HasTotalMatching returns a boolean if a field has been set.

func (*HostListResponse) HasTotalReturned ¶

func (o *HostListResponse) HasTotalReturned() bool

HasTotalReturned returns a boolean if a field has been set.

func (HostListResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostListResponse) SetHostList ¶

func (o *HostListResponse) SetHostList(v []Host)

SetHostList gets a reference to the given []Host and assigns it to the HostList field.

func (*HostListResponse) SetTotalMatching ¶

func (o *HostListResponse) SetTotalMatching(v int64)

SetTotalMatching gets a reference to the given int64 and assigns it to the TotalMatching field.

func (*HostListResponse) SetTotalReturned ¶

func (o *HostListResponse) SetTotalReturned(v int64)

SetTotalReturned gets a reference to the given int64 and assigns it to the TotalReturned field.

func (*HostListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *HostListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMapRequest ¶

type HostMapRequest struct {
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Query definition.
	Q *string `json:"q,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMapRequest Updated host map.

func NewHostMapRequest ¶

func NewHostMapRequest() *HostMapRequest

NewHostMapRequest instantiates a new HostMapRequest 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 NewHostMapRequestWithDefaults ¶

func NewHostMapRequestWithDefaults() *HostMapRequest

NewHostMapRequestWithDefaults instantiates a new HostMapRequest 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 (*HostMapRequest) GetApmQuery ¶

func (o *HostMapRequest) GetApmQuery() LogQueryDefinition

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetApmQueryOk ¶

func (o *HostMapRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

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

func (*HostMapRequest) GetEventQuery ¶

func (o *HostMapRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetEventQueryOk ¶

func (o *HostMapRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

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

func (*HostMapRequest) GetLogQuery ¶

func (o *HostMapRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetLogQueryOk ¶

func (o *HostMapRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

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

func (*HostMapRequest) GetNetworkQuery ¶

func (o *HostMapRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetNetworkQueryOk ¶

func (o *HostMapRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

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

func (*HostMapRequest) GetProcessQuery ¶

func (o *HostMapRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetProcessQueryOk ¶

func (o *HostMapRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

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

func (*HostMapRequest) GetProfileMetricsQuery ¶

func (o *HostMapRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetProfileMetricsQueryOk ¶

func (o *HostMapRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

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

func (*HostMapRequest) GetQ ¶

func (o *HostMapRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*HostMapRequest) GetQOk ¶

func (o *HostMapRequest) GetQOk() (*string, bool)

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

func (*HostMapRequest) GetRumQuery ¶

func (o *HostMapRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetRumQueryOk ¶

func (o *HostMapRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

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

func (*HostMapRequest) GetSecurityQuery ¶

func (o *HostMapRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*HostMapRequest) GetSecurityQueryOk ¶

func (o *HostMapRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

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

func (*HostMapRequest) HasApmQuery ¶

func (o *HostMapRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*HostMapRequest) HasEventQuery ¶

func (o *HostMapRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*HostMapRequest) HasLogQuery ¶

func (o *HostMapRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*HostMapRequest) HasNetworkQuery ¶

func (o *HostMapRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*HostMapRequest) HasProcessQuery ¶

func (o *HostMapRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*HostMapRequest) HasProfileMetricsQuery ¶

func (o *HostMapRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*HostMapRequest) HasQ ¶

func (o *HostMapRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*HostMapRequest) HasRumQuery ¶

func (o *HostMapRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*HostMapRequest) HasSecurityQuery ¶

func (o *HostMapRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (HostMapRequest) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostMapRequest) SetApmQuery ¶

func (o *HostMapRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*HostMapRequest) SetEventQuery ¶

func (o *HostMapRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*HostMapRequest) SetLogQuery ¶

func (o *HostMapRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*HostMapRequest) SetNetworkQuery ¶

func (o *HostMapRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*HostMapRequest) SetProcessQuery ¶

func (o *HostMapRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*HostMapRequest) SetProfileMetricsQuery ¶

func (o *HostMapRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*HostMapRequest) SetQ ¶

func (o *HostMapRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*HostMapRequest) SetRumQuery ¶

func (o *HostMapRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*HostMapRequest) SetSecurityQuery ¶

func (o *HostMapRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*HostMapRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *HostMapRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMapWidgetDefinition ¶

type HostMapWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// List of tag prefixes to group by.
	Group []string `json:"group,omitempty"`
	// Whether to show the hosts that don’t fit in a group.
	NoGroupHosts *bool `json:"no_group_hosts,omitempty"`
	// Whether to show the hosts with no metrics.
	NoMetricHosts *bool `json:"no_metric_hosts,omitempty"`
	// Which type of node to use in the map.
	NodeType *WidgetNodeType `json:"node_type,omitempty"`
	// Notes on the title.
	Notes *string `json:"notes,omitempty"`
	// List of definitions.
	Requests HostMapWidgetDefinitionRequests `json:"requests"`
	// List of tags used to filter the map.
	Scope []string `json:"scope,omitempty"`
	// The style to apply to the widget.
	Style *HostMapWidgetDefinitionStyle `json:"style,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the host map widget.
	Type HostMapWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMapWidgetDefinition The host map widget graphs any metric across your hosts using the same visualization available from the main Host Map page.

func NewHostMapWidgetDefinition ¶

func NewHostMapWidgetDefinition(requests HostMapWidgetDefinitionRequests, typeVar HostMapWidgetDefinitionType) *HostMapWidgetDefinition

NewHostMapWidgetDefinition instantiates a new HostMapWidgetDefinition 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 NewHostMapWidgetDefinitionWithDefaults ¶

func NewHostMapWidgetDefinitionWithDefaults() *HostMapWidgetDefinition

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

func (o *HostMapWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetCustomLinksOk ¶

func (o *HostMapWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

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

func (*HostMapWidgetDefinition) GetGroup ¶

func (o *HostMapWidgetDefinition) GetGroup() []string

GetGroup returns the Group field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetGroupOk ¶

func (o *HostMapWidgetDefinition) GetGroupOk() (*[]string, bool)

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

func (*HostMapWidgetDefinition) GetNoGroupHosts ¶

func (o *HostMapWidgetDefinition) GetNoGroupHosts() bool

GetNoGroupHosts returns the NoGroupHosts field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetNoGroupHostsOk ¶

func (o *HostMapWidgetDefinition) GetNoGroupHostsOk() (*bool, bool)

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

func (*HostMapWidgetDefinition) GetNoMetricHosts ¶

func (o *HostMapWidgetDefinition) GetNoMetricHosts() bool

GetNoMetricHosts returns the NoMetricHosts field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetNoMetricHostsOk ¶

func (o *HostMapWidgetDefinition) GetNoMetricHostsOk() (*bool, bool)

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

func (*HostMapWidgetDefinition) GetNodeType ¶

func (o *HostMapWidgetDefinition) GetNodeType() WidgetNodeType

GetNodeType returns the NodeType field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetNodeTypeOk ¶

func (o *HostMapWidgetDefinition) GetNodeTypeOk() (*WidgetNodeType, bool)

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

func (*HostMapWidgetDefinition) GetNotes ¶

func (o *HostMapWidgetDefinition) GetNotes() string

GetNotes returns the Notes field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetNotesOk ¶

func (o *HostMapWidgetDefinition) GetNotesOk() (*string, bool)

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

func (*HostMapWidgetDefinition) GetRequests ¶

GetRequests returns the Requests field value.

func (*HostMapWidgetDefinition) GetRequestsOk ¶

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

func (*HostMapWidgetDefinition) GetScope ¶

func (o *HostMapWidgetDefinition) GetScope() []string

GetScope returns the Scope field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetScopeOk ¶

func (o *HostMapWidgetDefinition) GetScopeOk() (*[]string, bool)

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

func (*HostMapWidgetDefinition) GetStyle ¶

GetStyle returns the Style field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetStyleOk ¶

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

func (*HostMapWidgetDefinition) GetTitle ¶

func (o *HostMapWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetTitleAlign ¶

func (o *HostMapWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetTitleAlignOk ¶

func (o *HostMapWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*HostMapWidgetDefinition) GetTitleOk ¶

func (o *HostMapWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*HostMapWidgetDefinition) GetTitleSize ¶

func (o *HostMapWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*HostMapWidgetDefinition) GetTitleSizeOk ¶

func (o *HostMapWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*HostMapWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*HostMapWidgetDefinition) GetTypeOk ¶

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

func (o *HostMapWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasGroup ¶

func (o *HostMapWidgetDefinition) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasNoGroupHosts ¶

func (o *HostMapWidgetDefinition) HasNoGroupHosts() bool

HasNoGroupHosts returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasNoMetricHosts ¶

func (o *HostMapWidgetDefinition) HasNoMetricHosts() bool

HasNoMetricHosts returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasNodeType ¶

func (o *HostMapWidgetDefinition) HasNodeType() bool

HasNodeType returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasNotes ¶

func (o *HostMapWidgetDefinition) HasNotes() bool

HasNotes returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasScope ¶

func (o *HostMapWidgetDefinition) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasStyle ¶

func (o *HostMapWidgetDefinition) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasTitle ¶

func (o *HostMapWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasTitleAlign ¶

func (o *HostMapWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*HostMapWidgetDefinition) HasTitleSize ¶

func (o *HostMapWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (HostMapWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (o *HostMapWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*HostMapWidgetDefinition) SetGroup ¶

func (o *HostMapWidgetDefinition) SetGroup(v []string)

SetGroup gets a reference to the given []string and assigns it to the Group field.

func (*HostMapWidgetDefinition) SetNoGroupHosts ¶

func (o *HostMapWidgetDefinition) SetNoGroupHosts(v bool)

SetNoGroupHosts gets a reference to the given bool and assigns it to the NoGroupHosts field.

func (*HostMapWidgetDefinition) SetNoMetricHosts ¶

func (o *HostMapWidgetDefinition) SetNoMetricHosts(v bool)

SetNoMetricHosts gets a reference to the given bool and assigns it to the NoMetricHosts field.

func (*HostMapWidgetDefinition) SetNodeType ¶

func (o *HostMapWidgetDefinition) SetNodeType(v WidgetNodeType)

SetNodeType gets a reference to the given WidgetNodeType and assigns it to the NodeType field.

func (*HostMapWidgetDefinition) SetNotes ¶

func (o *HostMapWidgetDefinition) SetNotes(v string)

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (*HostMapWidgetDefinition) SetRequests ¶

SetRequests sets field value.

func (*HostMapWidgetDefinition) SetScope ¶

func (o *HostMapWidgetDefinition) SetScope(v []string)

SetScope gets a reference to the given []string and assigns it to the Scope field.

func (*HostMapWidgetDefinition) SetStyle ¶

SetStyle gets a reference to the given HostMapWidgetDefinitionStyle and assigns it to the Style field.

func (*HostMapWidgetDefinition) SetTitle ¶

func (o *HostMapWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*HostMapWidgetDefinition) SetTitleAlign ¶

func (o *HostMapWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*HostMapWidgetDefinition) SetTitleSize ¶

func (o *HostMapWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*HostMapWidgetDefinition) SetType ¶

SetType sets field value.

func (*HostMapWidgetDefinition) UnmarshalJSON ¶

func (o *HostMapWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMapWidgetDefinitionRequests ¶

type HostMapWidgetDefinitionRequests struct {
	// Updated host map.
	Fill *HostMapRequest `json:"fill,omitempty"`
	// Updated host map.
	Size *HostMapRequest `json:"size,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMapWidgetDefinitionRequests List of definitions.

func NewHostMapWidgetDefinitionRequests ¶

func NewHostMapWidgetDefinitionRequests() *HostMapWidgetDefinitionRequests

NewHostMapWidgetDefinitionRequests instantiates a new HostMapWidgetDefinitionRequests 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 NewHostMapWidgetDefinitionRequestsWithDefaults ¶

func NewHostMapWidgetDefinitionRequestsWithDefaults() *HostMapWidgetDefinitionRequests

NewHostMapWidgetDefinitionRequestsWithDefaults instantiates a new HostMapWidgetDefinitionRequests 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 (*HostMapWidgetDefinitionRequests) GetFill ¶

GetFill returns the Fill field value if set, zero value otherwise.

func (*HostMapWidgetDefinitionRequests) GetFillOk ¶

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

func (*HostMapWidgetDefinitionRequests) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*HostMapWidgetDefinitionRequests) GetSizeOk ¶

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

func (*HostMapWidgetDefinitionRequests) HasFill ¶

HasFill returns a boolean if a field has been set.

func (*HostMapWidgetDefinitionRequests) HasSize ¶

HasSize returns a boolean if a field has been set.

func (HostMapWidgetDefinitionRequests) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostMapWidgetDefinitionRequests) SetFill ¶

SetFill gets a reference to the given HostMapRequest and assigns it to the Fill field.

func (*HostMapWidgetDefinitionRequests) SetSize ¶

SetSize gets a reference to the given HostMapRequest and assigns it to the Size field.

func (*HostMapWidgetDefinitionRequests) UnmarshalJSON ¶ added in v1.3.0

func (o *HostMapWidgetDefinitionRequests) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMapWidgetDefinitionStyle ¶

type HostMapWidgetDefinitionStyle struct {
	// Max value to use to color the map.
	FillMax *string `json:"fill_max,omitempty"`
	// Min value to use to color the map.
	FillMin *string `json:"fill_min,omitempty"`
	// Color palette to apply to the widget.
	Palette *string `json:"palette,omitempty"`
	// Whether to flip the palette tones.
	PaletteFlip *bool `json:"palette_flip,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMapWidgetDefinitionStyle The style to apply to the widget.

func NewHostMapWidgetDefinitionStyle ¶

func NewHostMapWidgetDefinitionStyle() *HostMapWidgetDefinitionStyle

NewHostMapWidgetDefinitionStyle instantiates a new HostMapWidgetDefinitionStyle 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 NewHostMapWidgetDefinitionStyleWithDefaults ¶

func NewHostMapWidgetDefinitionStyleWithDefaults() *HostMapWidgetDefinitionStyle

NewHostMapWidgetDefinitionStyleWithDefaults instantiates a new HostMapWidgetDefinitionStyle 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 (*HostMapWidgetDefinitionStyle) GetFillMax ¶

func (o *HostMapWidgetDefinitionStyle) GetFillMax() string

GetFillMax returns the FillMax field value if set, zero value otherwise.

func (*HostMapWidgetDefinitionStyle) GetFillMaxOk ¶

func (o *HostMapWidgetDefinitionStyle) GetFillMaxOk() (*string, bool)

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

func (*HostMapWidgetDefinitionStyle) GetFillMin ¶

func (o *HostMapWidgetDefinitionStyle) GetFillMin() string

GetFillMin returns the FillMin field value if set, zero value otherwise.

func (*HostMapWidgetDefinitionStyle) GetFillMinOk ¶

func (o *HostMapWidgetDefinitionStyle) GetFillMinOk() (*string, bool)

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

func (*HostMapWidgetDefinitionStyle) GetPalette ¶

func (o *HostMapWidgetDefinitionStyle) GetPalette() string

GetPalette returns the Palette field value if set, zero value otherwise.

func (*HostMapWidgetDefinitionStyle) GetPaletteFlip ¶

func (o *HostMapWidgetDefinitionStyle) GetPaletteFlip() bool

GetPaletteFlip returns the PaletteFlip field value if set, zero value otherwise.

func (*HostMapWidgetDefinitionStyle) GetPaletteFlipOk ¶

func (o *HostMapWidgetDefinitionStyle) GetPaletteFlipOk() (*bool, bool)

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

func (*HostMapWidgetDefinitionStyle) GetPaletteOk ¶

func (o *HostMapWidgetDefinitionStyle) GetPaletteOk() (*string, bool)

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

func (*HostMapWidgetDefinitionStyle) HasFillMax ¶

func (o *HostMapWidgetDefinitionStyle) HasFillMax() bool

HasFillMax returns a boolean if a field has been set.

func (*HostMapWidgetDefinitionStyle) HasFillMin ¶

func (o *HostMapWidgetDefinitionStyle) HasFillMin() bool

HasFillMin returns a boolean if a field has been set.

func (*HostMapWidgetDefinitionStyle) HasPalette ¶

func (o *HostMapWidgetDefinitionStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*HostMapWidgetDefinitionStyle) HasPaletteFlip ¶

func (o *HostMapWidgetDefinitionStyle) HasPaletteFlip() bool

HasPaletteFlip returns a boolean if a field has been set.

func (HostMapWidgetDefinitionStyle) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostMapWidgetDefinitionStyle) SetFillMax ¶

func (o *HostMapWidgetDefinitionStyle) SetFillMax(v string)

SetFillMax gets a reference to the given string and assigns it to the FillMax field.

func (*HostMapWidgetDefinitionStyle) SetFillMin ¶

func (o *HostMapWidgetDefinitionStyle) SetFillMin(v string)

SetFillMin gets a reference to the given string and assigns it to the FillMin field.

func (*HostMapWidgetDefinitionStyle) SetPalette ¶

func (o *HostMapWidgetDefinitionStyle) SetPalette(v string)

SetPalette gets a reference to the given string and assigns it to the Palette field.

func (*HostMapWidgetDefinitionStyle) SetPaletteFlip ¶

func (o *HostMapWidgetDefinitionStyle) SetPaletteFlip(v bool)

SetPaletteFlip gets a reference to the given bool and assigns it to the PaletteFlip field.

func (*HostMapWidgetDefinitionStyle) UnmarshalJSON ¶ added in v1.3.0

func (o *HostMapWidgetDefinitionStyle) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMapWidgetDefinitionType ¶

type HostMapWidgetDefinitionType string

HostMapWidgetDefinitionType Type of the host map widget.

const (
	HOSTMAPWIDGETDEFINITIONTYPE_HOSTMAP HostMapWidgetDefinitionType = "hostmap"
)

List of HostMapWidgetDefinitionType.

func NewHostMapWidgetDefinitionTypeFromValue ¶

func NewHostMapWidgetDefinitionTypeFromValue(v string) (*HostMapWidgetDefinitionType, error)

NewHostMapWidgetDefinitionTypeFromValue returns a pointer to a valid HostMapWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*HostMapWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (HostMapWidgetDefinitionType) IsValid ¶

func (v HostMapWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (HostMapWidgetDefinitionType) Ptr ¶

Ptr returns reference to HostMapWidgetDefinitionType value.

func (*HostMapWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type HostMeta ¶

type HostMeta struct {
	// A list of Agent checks running on the host.
	AgentChecks [][]interface{} `json:"agent_checks,omitempty"`
	// The Datadog Agent version.
	AgentVersion *string `json:"agent_version,omitempty"`
	// The number of cores.
	CpuCores *int64 `json:"cpuCores,omitempty"`
	// An array of Mac versions.
	FbsdV []string `json:"fbsdV,omitempty"`
	// JSON string containing system information.
	Gohai *string `json:"gohai,omitempty"`
	// Agent install method.
	InstallMethod *HostMetaInstallMethod `json:"install_method,omitempty"`
	// An array of Mac versions.
	MacV []string `json:"macV,omitempty"`
	// The machine architecture.
	Machine *string `json:"machine,omitempty"`
	// Array of Unix versions.
	NixV []string `json:"nixV,omitempty"`
	// The OS platform.
	Platform *string `json:"platform,omitempty"`
	// The processor.
	Processor *string `json:"processor,omitempty"`
	// The Python version.
	PythonV *string `json:"pythonV,omitempty"`
	// The socket fqdn.
	SocketFqdn *string `json:"socket-fqdn,omitempty"`
	// The socket hostname.
	SocketHostname *string `json:"socket-hostname,omitempty"`
	// An array of Windows versions.
	WinV []string `json:"winV,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMeta Metadata associated with your host.

func NewHostMeta ¶

func NewHostMeta() *HostMeta

NewHostMeta instantiates a new HostMeta 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 NewHostMetaWithDefaults ¶

func NewHostMetaWithDefaults() *HostMeta

NewHostMetaWithDefaults instantiates a new HostMeta 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 (*HostMeta) GetAgentChecks ¶ added in v1.8.0

func (o *HostMeta) GetAgentChecks() [][]interface{}

GetAgentChecks returns the AgentChecks field value if set, zero value otherwise.

func (*HostMeta) GetAgentChecksOk ¶ added in v1.8.0

func (o *HostMeta) GetAgentChecksOk() (*[][]interface{}, bool)

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

func (*HostMeta) GetAgentVersion ¶ added in v1.8.0

func (o *HostMeta) GetAgentVersion() string

GetAgentVersion returns the AgentVersion field value if set, zero value otherwise.

func (*HostMeta) GetAgentVersionOk ¶ added in v1.8.0

func (o *HostMeta) GetAgentVersionOk() (*string, bool)

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

func (*HostMeta) GetCpuCores ¶ added in v1.8.0

func (o *HostMeta) GetCpuCores() int64

GetCpuCores returns the CpuCores field value if set, zero value otherwise.

func (*HostMeta) GetCpuCoresOk ¶ added in v1.8.0

func (o *HostMeta) GetCpuCoresOk() (*int64, bool)

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

func (*HostMeta) GetFbsdV ¶ added in v1.8.0

func (o *HostMeta) GetFbsdV() []string

GetFbsdV returns the FbsdV field value if set, zero value otherwise.

func (*HostMeta) GetFbsdVOk ¶ added in v1.8.0

func (o *HostMeta) GetFbsdVOk() (*[]string, bool)

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

func (*HostMeta) GetGohai ¶ added in v1.8.0

func (o *HostMeta) GetGohai() string

GetGohai returns the Gohai field value if set, zero value otherwise.

func (*HostMeta) GetGohaiOk ¶ added in v1.8.0

func (o *HostMeta) GetGohaiOk() (*string, bool)

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

func (*HostMeta) GetInstallMethod ¶ added in v1.8.0

func (o *HostMeta) GetInstallMethod() HostMetaInstallMethod

GetInstallMethod returns the InstallMethod field value if set, zero value otherwise.

func (*HostMeta) GetInstallMethodOk ¶ added in v1.8.0

func (o *HostMeta) GetInstallMethodOk() (*HostMetaInstallMethod, bool)

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

func (*HostMeta) GetMacV ¶ added in v1.8.0

func (o *HostMeta) GetMacV() []string

GetMacV returns the MacV field value if set, zero value otherwise.

func (*HostMeta) GetMacVOk ¶ added in v1.8.0

func (o *HostMeta) GetMacVOk() (*[]string, bool)

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

func (*HostMeta) GetMachine ¶ added in v1.8.0

func (o *HostMeta) GetMachine() string

GetMachine returns the Machine field value if set, zero value otherwise.

func (*HostMeta) GetMachineOk ¶ added in v1.8.0

func (o *HostMeta) GetMachineOk() (*string, bool)

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

func (*HostMeta) GetNixV ¶

func (o *HostMeta) GetNixV() []string

GetNixV returns the NixV field value if set, zero value otherwise.

func (*HostMeta) GetNixVOk ¶

func (o *HostMeta) GetNixVOk() (*[]string, bool)

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

func (*HostMeta) GetPlatform ¶ added in v1.8.0

func (o *HostMeta) GetPlatform() string

GetPlatform returns the Platform field value if set, zero value otherwise.

func (*HostMeta) GetPlatformOk ¶ added in v1.8.0

func (o *HostMeta) GetPlatformOk() (*string, bool)

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

func (*HostMeta) GetProcessor ¶ added in v1.8.0

func (o *HostMeta) GetProcessor() string

GetProcessor returns the Processor field value if set, zero value otherwise.

func (*HostMeta) GetProcessorOk ¶ added in v1.8.0

func (o *HostMeta) GetProcessorOk() (*string, bool)

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

func (*HostMeta) GetPythonV ¶ added in v1.8.0

func (o *HostMeta) GetPythonV() string

GetPythonV returns the PythonV field value if set, zero value otherwise.

func (*HostMeta) GetPythonVOk ¶ added in v1.8.0

func (o *HostMeta) GetPythonVOk() (*string, bool)

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

func (*HostMeta) GetSocketFqdn ¶ added in v1.8.0

func (o *HostMeta) GetSocketFqdn() string

GetSocketFqdn returns the SocketFqdn field value if set, zero value otherwise.

func (*HostMeta) GetSocketFqdnOk ¶ added in v1.8.0

func (o *HostMeta) GetSocketFqdnOk() (*string, bool)

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

func (*HostMeta) GetSocketHostname ¶ added in v1.8.0

func (o *HostMeta) GetSocketHostname() string

GetSocketHostname returns the SocketHostname field value if set, zero value otherwise.

func (*HostMeta) GetSocketHostnameOk ¶ added in v1.8.0

func (o *HostMeta) GetSocketHostnameOk() (*string, bool)

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

func (*HostMeta) GetWinV ¶ added in v1.8.0

func (o *HostMeta) GetWinV() []string

GetWinV returns the WinV field value if set, zero value otherwise.

func (*HostMeta) GetWinVOk ¶ added in v1.8.0

func (o *HostMeta) GetWinVOk() (*[]string, bool)

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

func (*HostMeta) HasAgentChecks ¶ added in v1.8.0

func (o *HostMeta) HasAgentChecks() bool

HasAgentChecks returns a boolean if a field has been set.

func (*HostMeta) HasAgentVersion ¶ added in v1.8.0

func (o *HostMeta) HasAgentVersion() bool

HasAgentVersion returns a boolean if a field has been set.

func (*HostMeta) HasCpuCores ¶ added in v1.8.0

func (o *HostMeta) HasCpuCores() bool

HasCpuCores returns a boolean if a field has been set.

func (*HostMeta) HasFbsdV ¶ added in v1.8.0

func (o *HostMeta) HasFbsdV() bool

HasFbsdV returns a boolean if a field has been set.

func (*HostMeta) HasGohai ¶ added in v1.8.0

func (o *HostMeta) HasGohai() bool

HasGohai returns a boolean if a field has been set.

func (*HostMeta) HasInstallMethod ¶ added in v1.8.0

func (o *HostMeta) HasInstallMethod() bool

HasInstallMethod returns a boolean if a field has been set.

func (*HostMeta) HasMacV ¶ added in v1.8.0

func (o *HostMeta) HasMacV() bool

HasMacV returns a boolean if a field has been set.

func (*HostMeta) HasMachine ¶ added in v1.8.0

func (o *HostMeta) HasMachine() bool

HasMachine returns a boolean if a field has been set.

func (*HostMeta) HasNixV ¶

func (o *HostMeta) HasNixV() bool

HasNixV returns a boolean if a field has been set.

func (*HostMeta) HasPlatform ¶ added in v1.8.0

func (o *HostMeta) HasPlatform() bool

HasPlatform returns a boolean if a field has been set.

func (*HostMeta) HasProcessor ¶ added in v1.8.0

func (o *HostMeta) HasProcessor() bool

HasProcessor returns a boolean if a field has been set.

func (*HostMeta) HasPythonV ¶ added in v1.8.0

func (o *HostMeta) HasPythonV() bool

HasPythonV returns a boolean if a field has been set.

func (*HostMeta) HasSocketFqdn ¶ added in v1.8.0

func (o *HostMeta) HasSocketFqdn() bool

HasSocketFqdn returns a boolean if a field has been set.

func (*HostMeta) HasSocketHostname ¶ added in v1.8.0

func (o *HostMeta) HasSocketHostname() bool

HasSocketHostname returns a boolean if a field has been set.

func (*HostMeta) HasWinV ¶ added in v1.8.0

func (o *HostMeta) HasWinV() bool

HasWinV returns a boolean if a field has been set.

func (HostMeta) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostMeta) SetAgentChecks ¶ added in v1.8.0

func (o *HostMeta) SetAgentChecks(v [][]interface{})

SetAgentChecks gets a reference to the given [][]interface{} and assigns it to the AgentChecks field.

func (*HostMeta) SetAgentVersion ¶ added in v1.8.0

func (o *HostMeta) SetAgentVersion(v string)

SetAgentVersion gets a reference to the given string and assigns it to the AgentVersion field.

func (*HostMeta) SetCpuCores ¶ added in v1.8.0

func (o *HostMeta) SetCpuCores(v int64)

SetCpuCores gets a reference to the given int64 and assigns it to the CpuCores field.

func (*HostMeta) SetFbsdV ¶ added in v1.8.0

func (o *HostMeta) SetFbsdV(v []string)

SetFbsdV gets a reference to the given []string and assigns it to the FbsdV field.

func (*HostMeta) SetGohai ¶ added in v1.8.0

func (o *HostMeta) SetGohai(v string)

SetGohai gets a reference to the given string and assigns it to the Gohai field.

func (*HostMeta) SetInstallMethod ¶ added in v1.8.0

func (o *HostMeta) SetInstallMethod(v HostMetaInstallMethod)

SetInstallMethod gets a reference to the given HostMetaInstallMethod and assigns it to the InstallMethod field.

func (*HostMeta) SetMacV ¶ added in v1.8.0

func (o *HostMeta) SetMacV(v []string)

SetMacV gets a reference to the given []string and assigns it to the MacV field.

func (*HostMeta) SetMachine ¶ added in v1.8.0

func (o *HostMeta) SetMachine(v string)

SetMachine gets a reference to the given string and assigns it to the Machine field.

func (*HostMeta) SetNixV ¶

func (o *HostMeta) SetNixV(v []string)

SetNixV gets a reference to the given []string and assigns it to the NixV field.

func (*HostMeta) SetPlatform ¶ added in v1.8.0

func (o *HostMeta) SetPlatform(v string)

SetPlatform gets a reference to the given string and assigns it to the Platform field.

func (*HostMeta) SetProcessor ¶ added in v1.8.0

func (o *HostMeta) SetProcessor(v string)

SetProcessor gets a reference to the given string and assigns it to the Processor field.

func (*HostMeta) SetPythonV ¶ added in v1.8.0

func (o *HostMeta) SetPythonV(v string)

SetPythonV gets a reference to the given string and assigns it to the PythonV field.

func (*HostMeta) SetSocketFqdn ¶ added in v1.8.0

func (o *HostMeta) SetSocketFqdn(v string)

SetSocketFqdn gets a reference to the given string and assigns it to the SocketFqdn field.

func (*HostMeta) SetSocketHostname ¶ added in v1.8.0

func (o *HostMeta) SetSocketHostname(v string)

SetSocketHostname gets a reference to the given string and assigns it to the SocketHostname field.

func (*HostMeta) SetWinV ¶ added in v1.8.0

func (o *HostMeta) SetWinV(v []string)

SetWinV gets a reference to the given []string and assigns it to the WinV field.

func (*HostMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *HostMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMetaInstallMethod ¶ added in v1.8.0

type HostMetaInstallMethod struct {
	// The installer version.
	InstallerVersion *string `json:"installer_version,omitempty"`
	// Tool used to install the agent.
	Tool *string `json:"tool,omitempty"`
	// The tool version.
	ToolVersion *string `json:"tool_version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMetaInstallMethod Agent install method.

func NewHostMetaInstallMethod ¶ added in v1.8.0

func NewHostMetaInstallMethod() *HostMetaInstallMethod

NewHostMetaInstallMethod instantiates a new HostMetaInstallMethod 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 NewHostMetaInstallMethodWithDefaults ¶ added in v1.8.0

func NewHostMetaInstallMethodWithDefaults() *HostMetaInstallMethod

NewHostMetaInstallMethodWithDefaults instantiates a new HostMetaInstallMethod 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 (*HostMetaInstallMethod) GetInstallerVersion ¶ added in v1.8.0

func (o *HostMetaInstallMethod) GetInstallerVersion() string

GetInstallerVersion returns the InstallerVersion field value if set, zero value otherwise.

func (*HostMetaInstallMethod) GetInstallerVersionOk ¶ added in v1.8.0

func (o *HostMetaInstallMethod) GetInstallerVersionOk() (*string, bool)

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

func (*HostMetaInstallMethod) GetTool ¶ added in v1.8.0

func (o *HostMetaInstallMethod) GetTool() string

GetTool returns the Tool field value if set, zero value otherwise.

func (*HostMetaInstallMethod) GetToolOk ¶ added in v1.8.0

func (o *HostMetaInstallMethod) GetToolOk() (*string, bool)

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

func (*HostMetaInstallMethod) GetToolVersion ¶ added in v1.8.0

func (o *HostMetaInstallMethod) GetToolVersion() string

GetToolVersion returns the ToolVersion field value if set, zero value otherwise.

func (*HostMetaInstallMethod) GetToolVersionOk ¶ added in v1.8.0

func (o *HostMetaInstallMethod) GetToolVersionOk() (*string, bool)

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

func (*HostMetaInstallMethod) HasInstallerVersion ¶ added in v1.8.0

func (o *HostMetaInstallMethod) HasInstallerVersion() bool

HasInstallerVersion returns a boolean if a field has been set.

func (*HostMetaInstallMethod) HasTool ¶ added in v1.8.0

func (o *HostMetaInstallMethod) HasTool() bool

HasTool returns a boolean if a field has been set.

func (*HostMetaInstallMethod) HasToolVersion ¶ added in v1.8.0

func (o *HostMetaInstallMethod) HasToolVersion() bool

HasToolVersion returns a boolean if a field has been set.

func (HostMetaInstallMethod) MarshalJSON ¶ added in v1.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*HostMetaInstallMethod) SetInstallerVersion ¶ added in v1.8.0

func (o *HostMetaInstallMethod) SetInstallerVersion(v string)

SetInstallerVersion gets a reference to the given string and assigns it to the InstallerVersion field.

func (*HostMetaInstallMethod) SetTool ¶ added in v1.8.0

func (o *HostMetaInstallMethod) SetTool(v string)

SetTool gets a reference to the given string and assigns it to the Tool field.

func (*HostMetaInstallMethod) SetToolVersion ¶ added in v1.8.0

func (o *HostMetaInstallMethod) SetToolVersion(v string)

SetToolVersion gets a reference to the given string and assigns it to the ToolVersion field.

func (*HostMetaInstallMethod) UnmarshalJSON ¶ added in v1.8.0

func (o *HostMetaInstallMethod) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMetrics ¶

type HostMetrics struct {
	// The percent of CPU used (everything but idle).
	Cpu *float64 `json:"cpu,omitempty"`
	// The percent of CPU spent waiting on the IO (not reported for all platforms).
	Iowait *float64 `json:"iowait,omitempty"`
	// The system load over the last 15 minutes.
	Load *float64 `json:"load,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMetrics Host Metrics collected.

func NewHostMetrics ¶

func NewHostMetrics() *HostMetrics

NewHostMetrics instantiates a new HostMetrics 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 NewHostMetricsWithDefaults ¶

func NewHostMetricsWithDefaults() *HostMetrics

NewHostMetricsWithDefaults instantiates a new HostMetrics 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 (*HostMetrics) GetCpu ¶

func (o *HostMetrics) GetCpu() float64

GetCpu returns the Cpu field value if set, zero value otherwise.

func (*HostMetrics) GetCpuOk ¶

func (o *HostMetrics) GetCpuOk() (*float64, bool)

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

func (*HostMetrics) GetIowait ¶

func (o *HostMetrics) GetIowait() float64

GetIowait returns the Iowait field value if set, zero value otherwise.

func (*HostMetrics) GetIowaitOk ¶

func (o *HostMetrics) GetIowaitOk() (*float64, bool)

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

func (*HostMetrics) GetLoad ¶

func (o *HostMetrics) GetLoad() float64

GetLoad returns the Load field value if set, zero value otherwise.

func (*HostMetrics) GetLoadOk ¶

func (o *HostMetrics) GetLoadOk() (*float64, bool)

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

func (*HostMetrics) HasCpu ¶

func (o *HostMetrics) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*HostMetrics) HasIowait ¶

func (o *HostMetrics) HasIowait() bool

HasIowait returns a boolean if a field has been set.

func (*HostMetrics) HasLoad ¶

func (o *HostMetrics) HasLoad() bool

HasLoad returns a boolean if a field has been set.

func (HostMetrics) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostMetrics) SetCpu ¶

func (o *HostMetrics) SetCpu(v float64)

SetCpu gets a reference to the given float64 and assigns it to the Cpu field.

func (*HostMetrics) SetIowait ¶

func (o *HostMetrics) SetIowait(v float64)

SetIowait gets a reference to the given float64 and assigns it to the Iowait field.

func (*HostMetrics) SetLoad ¶

func (o *HostMetrics) SetLoad(v float64)

SetLoad gets a reference to the given float64 and assigns it to the Load field.

func (*HostMetrics) UnmarshalJSON ¶ added in v1.3.0

func (o *HostMetrics) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMuteResponse ¶

type HostMuteResponse struct {
	// Action applied to the hosts.
	Action *string `json:"action,omitempty"`
	// POSIX timestamp in seconds when the host is unmuted.
	End *int64 `json:"end,omitempty"`
	// The host name.
	Hostname *string `json:"hostname,omitempty"`
	// Message associated with the mute.
	Message *string `json:"message,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMuteResponse Response with the list of muted host for your organization.

func NewHostMuteResponse ¶

func NewHostMuteResponse() *HostMuteResponse

NewHostMuteResponse instantiates a new HostMuteResponse 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 NewHostMuteResponseWithDefaults ¶

func NewHostMuteResponseWithDefaults() *HostMuteResponse

NewHostMuteResponseWithDefaults instantiates a new HostMuteResponse 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 (*HostMuteResponse) GetAction ¶

func (o *HostMuteResponse) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*HostMuteResponse) GetActionOk ¶

func (o *HostMuteResponse) GetActionOk() (*string, bool)

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

func (*HostMuteResponse) GetEnd ¶

func (o *HostMuteResponse) GetEnd() int64

GetEnd returns the End field value if set, zero value otherwise.

func (*HostMuteResponse) GetEndOk ¶

func (o *HostMuteResponse) GetEndOk() (*int64, bool)

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

func (*HostMuteResponse) GetHostname ¶

func (o *HostMuteResponse) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*HostMuteResponse) GetHostnameOk ¶

func (o *HostMuteResponse) GetHostnameOk() (*string, bool)

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

func (*HostMuteResponse) GetMessage ¶

func (o *HostMuteResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*HostMuteResponse) GetMessageOk ¶

func (o *HostMuteResponse) GetMessageOk() (*string, bool)

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

func (*HostMuteResponse) HasAction ¶

func (o *HostMuteResponse) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*HostMuteResponse) HasEnd ¶

func (o *HostMuteResponse) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*HostMuteResponse) HasHostname ¶

func (o *HostMuteResponse) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*HostMuteResponse) HasMessage ¶

func (o *HostMuteResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (HostMuteResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostMuteResponse) SetAction ¶

func (o *HostMuteResponse) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*HostMuteResponse) SetEnd ¶

func (o *HostMuteResponse) SetEnd(v int64)

SetEnd gets a reference to the given int64 and assigns it to the End field.

func (*HostMuteResponse) SetHostname ¶

func (o *HostMuteResponse) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*HostMuteResponse) SetMessage ¶

func (o *HostMuteResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*HostMuteResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *HostMuteResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostMuteSettings ¶

type HostMuteSettings struct {
	// POSIX timestamp in seconds when the host is unmuted. If omitted, the host remains muted until explicitly unmuted.
	End *int64 `json:"end,omitempty"`
	// Message to associate with the muting of this host.
	Message *string `json:"message,omitempty"`
	// If true and the host is already muted, replaces existing host mute settings.
	Override *bool `json:"override,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostMuteSettings Combination of settings to mute a host.

func NewHostMuteSettings ¶

func NewHostMuteSettings() *HostMuteSettings

NewHostMuteSettings instantiates a new HostMuteSettings 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 NewHostMuteSettingsWithDefaults ¶

func NewHostMuteSettingsWithDefaults() *HostMuteSettings

NewHostMuteSettingsWithDefaults instantiates a new HostMuteSettings 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 (*HostMuteSettings) GetEnd ¶

func (o *HostMuteSettings) GetEnd() int64

GetEnd returns the End field value if set, zero value otherwise.

func (*HostMuteSettings) GetEndOk ¶

func (o *HostMuteSettings) GetEndOk() (*int64, bool)

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

func (*HostMuteSettings) GetMessage ¶

func (o *HostMuteSettings) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*HostMuteSettings) GetMessageOk ¶

func (o *HostMuteSettings) GetMessageOk() (*string, bool)

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

func (*HostMuteSettings) GetOverride ¶

func (o *HostMuteSettings) GetOverride() bool

GetOverride returns the Override field value if set, zero value otherwise.

func (*HostMuteSettings) GetOverrideOk ¶

func (o *HostMuteSettings) GetOverrideOk() (*bool, bool)

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

func (*HostMuteSettings) HasEnd ¶

func (o *HostMuteSettings) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*HostMuteSettings) HasMessage ¶

func (o *HostMuteSettings) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*HostMuteSettings) HasOverride ¶

func (o *HostMuteSettings) HasOverride() bool

HasOverride returns a boolean if a field has been set.

func (HostMuteSettings) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostMuteSettings) SetEnd ¶

func (o *HostMuteSettings) SetEnd(v int64)

SetEnd gets a reference to the given int64 and assigns it to the End field.

func (*HostMuteSettings) SetMessage ¶

func (o *HostMuteSettings) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*HostMuteSettings) SetOverride ¶

func (o *HostMuteSettings) SetOverride(v bool)

SetOverride gets a reference to the given bool and assigns it to the Override field.

func (*HostMuteSettings) UnmarshalJSON ¶ added in v1.3.0

func (o *HostMuteSettings) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostTags ¶

type HostTags struct {
	// Your host name.
	Host *string `json:"host,omitempty"`
	// A list of tags to apply to the host.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostTags Set of tags to associate with your host.

func NewHostTags ¶

func NewHostTags() *HostTags

NewHostTags instantiates a new HostTags 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 NewHostTagsWithDefaults ¶

func NewHostTagsWithDefaults() *HostTags

NewHostTagsWithDefaults instantiates a new HostTags 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 (*HostTags) GetHost ¶

func (o *HostTags) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*HostTags) GetHostOk ¶

func (o *HostTags) GetHostOk() (*string, bool)

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

func (*HostTags) GetTags ¶

func (o *HostTags) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*HostTags) GetTagsOk ¶

func (o *HostTags) GetTagsOk() (*[]string, bool)

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

func (*HostTags) HasHost ¶

func (o *HostTags) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*HostTags) HasTags ¶

func (o *HostTags) HasTags() bool

HasTags returns a boolean if a field has been set.

func (HostTags) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostTags) SetHost ¶

func (o *HostTags) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*HostTags) SetTags ¶

func (o *HostTags) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*HostTags) UnmarshalJSON ¶ added in v1.3.0

func (o *HostTags) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostTotals ¶

type HostTotals struct {
	// Total number of active host (UP and ???) reporting to Datadog.
	TotalActive *int64 `json:"total_active,omitempty"`
	// Number of host that are UP and reporting to Datadog.
	TotalUp *int64 `json:"total_up,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HostTotals Total number of host currently monitored by Datadog.

func NewHostTotals ¶

func NewHostTotals() *HostTotals

NewHostTotals instantiates a new HostTotals 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 NewHostTotalsWithDefaults ¶

func NewHostTotalsWithDefaults() *HostTotals

NewHostTotalsWithDefaults instantiates a new HostTotals 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 (*HostTotals) GetTotalActive ¶

func (o *HostTotals) GetTotalActive() int64

GetTotalActive returns the TotalActive field value if set, zero value otherwise.

func (*HostTotals) GetTotalActiveOk ¶

func (o *HostTotals) GetTotalActiveOk() (*int64, bool)

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

func (*HostTotals) GetTotalUp ¶

func (o *HostTotals) GetTotalUp() int64

GetTotalUp returns the TotalUp field value if set, zero value otherwise.

func (*HostTotals) GetTotalUpOk ¶

func (o *HostTotals) GetTotalUpOk() (*int64, bool)

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

func (*HostTotals) HasTotalActive ¶

func (o *HostTotals) HasTotalActive() bool

HasTotalActive returns a boolean if a field has been set.

func (*HostTotals) HasTotalUp ¶

func (o *HostTotals) HasTotalUp() bool

HasTotalUp returns a boolean if a field has been set.

func (HostTotals) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*HostTotals) SetTotalActive ¶

func (o *HostTotals) SetTotalActive(v int64)

SetTotalActive gets a reference to the given int64 and assigns it to the TotalActive field.

func (*HostTotals) SetTotalUp ¶

func (o *HostTotals) SetTotalUp(v int64)

SetTotalUp gets a reference to the given int64 and assigns it to the TotalUp field.

func (*HostTotals) UnmarshalJSON ¶ added in v1.3.0

func (o *HostTotals) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HostsApiService ¶

type HostsApiService service

HostsApiService HostsApi service.

func (*HostsApiService) GetHostTotals ¶

GetHostTotals Get the total number of active hosts. This endpoint returns the total number of active and up hosts in your Datadog account. Active means the host has reported in the past hour, and up means it has reported in the past two hours.

func (*HostsApiService) ListHosts ¶

ListHosts Get all hosts for your organization. This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 hours are included by default. Retention is 7 days. Results are paginated with a max of 1000 results at a time.

func (*HostsApiService) MuteHost ¶

MuteHost Mute a host. Mute a host.

func (*HostsApiService) UnmuteHost ¶

func (a *HostsApiService) UnmuteHost(ctx _context.Context, hostName string) (HostMuteResponse, *_nethttp.Response, error)

UnmuteHost Unmute a host. Unmutes a host. This endpoint takes no JSON arguments.

type HourlyUsageAttributionBody ¶ added in v1.8.0

type HourlyUsageAttributionBody struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The name of the organization.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The source of the usage attribution tag configuration and the selected tags in the format of `<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
	TagConfigSource *string `json:"tag_config_source,omitempty"`
	// Tag keys and values.
	//
	// A `null` value here means that the requested tag breakdown cannot be applied because it does not match the [tags
	// configured for usage attribution](https://docs.datadoghq.com/account_management/billing/usage_attribution/#getting-started).
	// In this scenario the API returns the total usage, not broken down by tags.
	Tags map[string][]string `json:"tags,omitempty"`
	// Total product usage for the given tags within the hour.
	TotalUsageSum *float64 `json:"total_usage_sum,omitempty"`
	// Shows the most recent hour in the current month for all organizations where usages are calculated.
	UpdatedAt *string `json:"updated_at,omitempty"`
	// Supported products for hourly usage attribution requests.
	UsageType *HourlyUsageAttributionUsageType `json:"usage_type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageAttributionBody The usage for one set of tags for one hour.

func NewHourlyUsageAttributionBody ¶ added in v1.8.0

func NewHourlyUsageAttributionBody() *HourlyUsageAttributionBody

NewHourlyUsageAttributionBody instantiates a new HourlyUsageAttributionBody 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 NewHourlyUsageAttributionBodyWithDefaults ¶ added in v1.8.0

func NewHourlyUsageAttributionBodyWithDefaults() *HourlyUsageAttributionBody

NewHourlyUsageAttributionBodyWithDefaults instantiates a new HourlyUsageAttributionBody 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 (*HourlyUsageAttributionBody) GetHour ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetHourOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetHourOk() (*time.Time, bool)

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

func (*HourlyUsageAttributionBody) GetOrgName ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetOrgNameOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetOrgNameOk() (*string, bool)

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

func (*HourlyUsageAttributionBody) GetPublicId ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetPublicIdOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetPublicIdOk() (*string, bool)

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

func (*HourlyUsageAttributionBody) GetTagConfigSource ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetTagConfigSource() string

GetTagConfigSource returns the TagConfigSource field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetTagConfigSourceOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetTagConfigSourceOk() (*string, bool)

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

func (*HourlyUsageAttributionBody) GetTags ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetTags() map[string][]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetTagsOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetTagsOk() (*map[string][]string, bool)

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

func (*HourlyUsageAttributionBody) GetTotalUsageSum ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetTotalUsageSum() float64

GetTotalUsageSum returns the TotalUsageSum field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetTotalUsageSumOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetTotalUsageSumOk() (*float64, bool)

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

func (*HourlyUsageAttributionBody) GetUpdatedAt ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetUpdatedAtOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) GetUpdatedAtOk() (*string, bool)

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

func (*HourlyUsageAttributionBody) GetUsageType ¶ added in v1.8.0

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*HourlyUsageAttributionBody) GetUsageTypeOk ¶ added in v1.8.0

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

func (*HourlyUsageAttributionBody) HasHour ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*HourlyUsageAttributionBody) HasOrgName ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*HourlyUsageAttributionBody) HasPublicId ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*HourlyUsageAttributionBody) HasTagConfigSource ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasTagConfigSource() bool

HasTagConfigSource returns a boolean if a field has been set.

func (*HourlyUsageAttributionBody) HasTags ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*HourlyUsageAttributionBody) HasTotalUsageSum ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasTotalUsageSum() bool

HasTotalUsageSum returns a boolean if a field has been set.

func (*HourlyUsageAttributionBody) HasUpdatedAt ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*HourlyUsageAttributionBody) HasUsageType ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (HourlyUsageAttributionBody) MarshalJSON ¶ added in v1.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageAttributionBody) SetHour ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*HourlyUsageAttributionBody) SetOrgName ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*HourlyUsageAttributionBody) SetPublicId ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*HourlyUsageAttributionBody) SetTagConfigSource ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) SetTagConfigSource(v string)

SetTagConfigSource gets a reference to the given string and assigns it to the TagConfigSource field.

func (*HourlyUsageAttributionBody) SetTags ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) SetTags(v map[string][]string)

SetTags gets a reference to the given map[string][]string and assigns it to the Tags field.

func (*HourlyUsageAttributionBody) SetTotalUsageSum ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) SetTotalUsageSum(v float64)

SetTotalUsageSum gets a reference to the given float64 and assigns it to the TotalUsageSum field.

func (*HourlyUsageAttributionBody) SetUpdatedAt ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*HourlyUsageAttributionBody) SetUsageType ¶ added in v1.8.0

SetUsageType gets a reference to the given HourlyUsageAttributionUsageType and assigns it to the UsageType field.

func (*HourlyUsageAttributionBody) UnmarshalJSON ¶ added in v1.8.0

func (o *HourlyUsageAttributionBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageAttributionMetadata ¶ added in v1.8.0

type HourlyUsageAttributionMetadata struct {
	// The metadata for the current pagination.
	Pagination *HourlyUsageAttributionPagination `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageAttributionMetadata The object containing document metadata.

func NewHourlyUsageAttributionMetadata ¶ added in v1.8.0

func NewHourlyUsageAttributionMetadata() *HourlyUsageAttributionMetadata

NewHourlyUsageAttributionMetadata instantiates a new HourlyUsageAttributionMetadata 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 NewHourlyUsageAttributionMetadataWithDefaults ¶ added in v1.8.0

func NewHourlyUsageAttributionMetadataWithDefaults() *HourlyUsageAttributionMetadata

NewHourlyUsageAttributionMetadataWithDefaults instantiates a new HourlyUsageAttributionMetadata 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 (*HourlyUsageAttributionMetadata) GetPagination ¶ added in v1.8.0

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*HourlyUsageAttributionMetadata) GetPaginationOk ¶ added in v1.8.0

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

func (*HourlyUsageAttributionMetadata) HasPagination ¶ added in v1.8.0

func (o *HourlyUsageAttributionMetadata) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (HourlyUsageAttributionMetadata) MarshalJSON ¶ added in v1.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageAttributionMetadata) SetPagination ¶ added in v1.8.0

SetPagination gets a reference to the given HourlyUsageAttributionPagination and assigns it to the Pagination field.

func (*HourlyUsageAttributionMetadata) UnmarshalJSON ¶ added in v1.8.0

func (o *HourlyUsageAttributionMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageAttributionPagination ¶ added in v1.8.0

type HourlyUsageAttributionPagination struct {
	// The cursor to get the next results (if any). To make the next request, use the same parameters and add `next_record_id`.
	NextRecordId NullableString `json:"next_record_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageAttributionPagination The metadata for the current pagination.

func NewHourlyUsageAttributionPagination ¶ added in v1.8.0

func NewHourlyUsageAttributionPagination() *HourlyUsageAttributionPagination

NewHourlyUsageAttributionPagination instantiates a new HourlyUsageAttributionPagination 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 NewHourlyUsageAttributionPaginationWithDefaults ¶ added in v1.8.0

func NewHourlyUsageAttributionPaginationWithDefaults() *HourlyUsageAttributionPagination

NewHourlyUsageAttributionPaginationWithDefaults instantiates a new HourlyUsageAttributionPagination 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 (*HourlyUsageAttributionPagination) GetNextRecordId ¶ added in v1.8.0

func (o *HourlyUsageAttributionPagination) GetNextRecordId() string

GetNextRecordId returns the NextRecordId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HourlyUsageAttributionPagination) GetNextRecordIdOk ¶ added in v1.8.0

func (o *HourlyUsageAttributionPagination) GetNextRecordIdOk() (*string, bool)

GetNextRecordIdOk returns a tuple with the NextRecordId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*HourlyUsageAttributionPagination) HasNextRecordId ¶ added in v1.8.0

func (o *HourlyUsageAttributionPagination) HasNextRecordId() bool

HasNextRecordId returns a boolean if a field has been set.

func (HourlyUsageAttributionPagination) MarshalJSON ¶ added in v1.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageAttributionPagination) SetNextRecordId ¶ added in v1.8.0

func (o *HourlyUsageAttributionPagination) SetNextRecordId(v string)

SetNextRecordId gets a reference to the given NullableString and assigns it to the NextRecordId field.

func (*HourlyUsageAttributionPagination) SetNextRecordIdNil ¶ added in v1.12.0

func (o *HourlyUsageAttributionPagination) SetNextRecordIdNil()

SetNextRecordIdNil sets the value for NextRecordId to be an explicit nil.

func (*HourlyUsageAttributionPagination) UnmarshalJSON ¶ added in v1.8.0

func (o *HourlyUsageAttributionPagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*HourlyUsageAttributionPagination) UnsetNextRecordId ¶ added in v1.12.0

func (o *HourlyUsageAttributionPagination) UnsetNextRecordId()

UnsetNextRecordId ensures that no value is present for NextRecordId, not even an explicit nil.

type HourlyUsageAttributionResponse ¶ added in v1.8.0

type HourlyUsageAttributionResponse struct {
	// The object containing document metadata.
	Metadata *HourlyUsageAttributionMetadata `json:"metadata,omitempty"`
	// Get the hourly usage attribution by tag(s).
	Usage []HourlyUsageAttributionBody `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HourlyUsageAttributionResponse Response containing the hourly usage attribution by tag(s).

func NewHourlyUsageAttributionResponse ¶ added in v1.8.0

func NewHourlyUsageAttributionResponse() *HourlyUsageAttributionResponse

NewHourlyUsageAttributionResponse instantiates a new HourlyUsageAttributionResponse 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 NewHourlyUsageAttributionResponseWithDefaults ¶ added in v1.8.0

func NewHourlyUsageAttributionResponseWithDefaults() *HourlyUsageAttributionResponse

NewHourlyUsageAttributionResponseWithDefaults instantiates a new HourlyUsageAttributionResponse 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 (*HourlyUsageAttributionResponse) GetMetadata ¶ added in v1.8.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*HourlyUsageAttributionResponse) GetMetadataOk ¶ added in v1.8.0

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

func (*HourlyUsageAttributionResponse) GetUsage ¶ added in v1.8.0

GetUsage returns the Usage field value if set, zero value otherwise.

func (*HourlyUsageAttributionResponse) GetUsageOk ¶ added in v1.8.0

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

func (*HourlyUsageAttributionResponse) HasMetadata ¶ added in v1.8.0

func (o *HourlyUsageAttributionResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*HourlyUsageAttributionResponse) HasUsage ¶ added in v1.8.0

func (o *HourlyUsageAttributionResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (HourlyUsageAttributionResponse) MarshalJSON ¶ added in v1.8.0

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

MarshalJSON serializes the struct using spec logic.

func (*HourlyUsageAttributionResponse) SetMetadata ¶ added in v1.8.0

SetMetadata gets a reference to the given HourlyUsageAttributionMetadata and assigns it to the Metadata field.

func (*HourlyUsageAttributionResponse) SetUsage ¶ added in v1.8.0

SetUsage gets a reference to the given []HourlyUsageAttributionBody and assigns it to the Usage field.

func (*HourlyUsageAttributionResponse) UnmarshalJSON ¶ added in v1.8.0

func (o *HourlyUsageAttributionResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type HourlyUsageAttributionUsageType ¶ added in v1.8.0

type HourlyUsageAttributionUsageType string

HourlyUsageAttributionUsageType Supported products for hourly usage attribution requests.

const (
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_API_USAGE                      HourlyUsageAttributionUsageType = "api_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_HOST_USAGE                 HourlyUsageAttributionUsageType = "apm_host_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_USAGE                   HourlyUsageAttributionUsageType = "appsec_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE                  HourlyUsageAttributionUsageType = "browser_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE                HourlyUsageAttributionUsageType = "container_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_CONTAINERS_USAGE          HourlyUsageAttributionUsageType = "cspm_containers_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_HOSTS_USAGE               HourlyUsageAttributionUsageType = "cspm_hosts_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_TIMESERIES_USAGE        HourlyUsageAttributionUsageType = "custom_timeseries_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE           HourlyUsageAttributionUsageType = "cws_containers_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE                HourlyUsageAttributionUsageType = "cws_hosts_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_HOSTS_USAGE                HourlyUsageAttributionUsageType = "dbm_hosts_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_QUERIES_USAGE              HourlyUsageAttributionUsageType = "dbm_queries_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_LOGS_USAGE   HourlyUsageAttributionUsageType = "estimated_indexed_logs_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_SPANS_USAGE  HourlyUsageAttributionUsageType = "estimated_indexed_spans_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_ingested_spans_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE                  HourlyUsageAttributionUsageType = "fargate_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE                HourlyUsageAttributionUsageType = "functions_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_INDEXED_LOGS_USAGE             HourlyUsageAttributionUsageType = "indexed_logs_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_INFRA_HOST_USAGE               HourlyUsageAttributionUsageType = "infra_host_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_INVOCATIONS_USAGE              HourlyUsageAttributionUsageType = "invocations_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_NPM_HOST_USAGE                 HourlyUsageAttributionUsageType = "npm_host_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_CONTAINER_USAGE       HourlyUsageAttributionUsageType = "profiled_container_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_HOST_USAGE            HourlyUsageAttributionUsageType = "profiled_host_usage"
	HOURLYUSAGEATTRIBUTIONUSAGETYPE_SNMP_USAGE                     HourlyUsageAttributionUsageType = "snmp_usage"
)

List of HourlyUsageAttributionUsageType.

func NewHourlyUsageAttributionUsageTypeFromValue ¶ added in v1.8.0

func NewHourlyUsageAttributionUsageTypeFromValue(v string) (*HourlyUsageAttributionUsageType, error)

NewHourlyUsageAttributionUsageTypeFromValue returns a pointer to a valid HourlyUsageAttributionUsageType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*HourlyUsageAttributionUsageType) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (HourlyUsageAttributionUsageType) IsValid ¶ added in v1.8.0

IsValid return true if the value is valid for the enum, false otherwise.

func (HourlyUsageAttributionUsageType) Ptr ¶ added in v1.8.0

Ptr returns reference to HourlyUsageAttributionUsageType value.

func (*HourlyUsageAttributionUsageType) UnmarshalJSON ¶ added in v1.8.0

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

UnmarshalJSON deserializes the given payload.

type IFrameWidgetDefinition ¶

type IFrameWidgetDefinition struct {
	// Type of the iframe widget.
	Type IFrameWidgetDefinitionType `json:"type"`
	// URL of the iframe.
	Url string `json:"url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IFrameWidgetDefinition The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards.

func NewIFrameWidgetDefinition ¶

func NewIFrameWidgetDefinition(typeVar IFrameWidgetDefinitionType, url string) *IFrameWidgetDefinition

NewIFrameWidgetDefinition instantiates a new IFrameWidgetDefinition 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 NewIFrameWidgetDefinitionWithDefaults ¶

func NewIFrameWidgetDefinitionWithDefaults() *IFrameWidgetDefinition

NewIFrameWidgetDefinitionWithDefaults instantiates a new IFrameWidgetDefinition 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 (*IFrameWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*IFrameWidgetDefinition) GetTypeOk ¶

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

func (*IFrameWidgetDefinition) GetUrl ¶

func (o *IFrameWidgetDefinition) GetUrl() string

GetUrl returns the Url field value.

func (*IFrameWidgetDefinition) GetUrlOk ¶

func (o *IFrameWidgetDefinition) GetUrlOk() (*string, bool)

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

func (IFrameWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IFrameWidgetDefinition) SetType ¶

SetType sets field value.

func (*IFrameWidgetDefinition) SetUrl ¶

func (o *IFrameWidgetDefinition) SetUrl(v string)

SetUrl sets field value.

func (*IFrameWidgetDefinition) UnmarshalJSON ¶

func (o *IFrameWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IFrameWidgetDefinitionType ¶

type IFrameWidgetDefinitionType string

IFrameWidgetDefinitionType Type of the iframe widget.

const (
	IFRAMEWIDGETDEFINITIONTYPE_IFRAME IFrameWidgetDefinitionType = "iframe"
)

List of IFrameWidgetDefinitionType.

func NewIFrameWidgetDefinitionTypeFromValue ¶

func NewIFrameWidgetDefinitionTypeFromValue(v string) (*IFrameWidgetDefinitionType, error)

NewIFrameWidgetDefinitionTypeFromValue returns a pointer to a valid IFrameWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*IFrameWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (IFrameWidgetDefinitionType) IsValid ¶

func (v IFrameWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (IFrameWidgetDefinitionType) Ptr ¶

Ptr returns reference to IFrameWidgetDefinitionType value.

func (*IFrameWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IPPrefixesAPI ¶

type IPPrefixesAPI struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesAPI Available prefix information for the API endpoints.

func NewIPPrefixesAPI ¶

func NewIPPrefixesAPI() *IPPrefixesAPI

NewIPPrefixesAPI instantiates a new IPPrefixesAPI 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 NewIPPrefixesAPIWithDefaults ¶

func NewIPPrefixesAPIWithDefaults() *IPPrefixesAPI

NewIPPrefixesAPIWithDefaults instantiates a new IPPrefixesAPI 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 (*IPPrefixesAPI) GetPrefixesIpv4 ¶

func (o *IPPrefixesAPI) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesAPI) GetPrefixesIpv4Ok ¶

func (o *IPPrefixesAPI) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesAPI) GetPrefixesIpv6 ¶

func (o *IPPrefixesAPI) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesAPI) GetPrefixesIpv6Ok ¶

func (o *IPPrefixesAPI) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesAPI) HasPrefixesIpv4 ¶

func (o *IPPrefixesAPI) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesAPI) HasPrefixesIpv6 ¶

func (o *IPPrefixesAPI) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (IPPrefixesAPI) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesAPI) SetPrefixesIpv4 ¶

func (o *IPPrefixesAPI) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesAPI) SetPrefixesIpv6 ¶

func (o *IPPrefixesAPI) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesAPI) UnmarshalJSON ¶ added in v1.3.0

func (o *IPPrefixesAPI) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPPrefixesAPM ¶

type IPPrefixesAPM struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesAPM Available prefix information for the APM endpoints.

func NewIPPrefixesAPM ¶

func NewIPPrefixesAPM() *IPPrefixesAPM

NewIPPrefixesAPM instantiates a new IPPrefixesAPM 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 NewIPPrefixesAPMWithDefaults ¶

func NewIPPrefixesAPMWithDefaults() *IPPrefixesAPM

NewIPPrefixesAPMWithDefaults instantiates a new IPPrefixesAPM 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 (*IPPrefixesAPM) GetPrefixesIpv4 ¶

func (o *IPPrefixesAPM) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesAPM) GetPrefixesIpv4Ok ¶

func (o *IPPrefixesAPM) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesAPM) GetPrefixesIpv6 ¶

func (o *IPPrefixesAPM) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesAPM) GetPrefixesIpv6Ok ¶

func (o *IPPrefixesAPM) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesAPM) HasPrefixesIpv4 ¶

func (o *IPPrefixesAPM) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesAPM) HasPrefixesIpv6 ¶

func (o *IPPrefixesAPM) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (IPPrefixesAPM) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesAPM) SetPrefixesIpv4 ¶

func (o *IPPrefixesAPM) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesAPM) SetPrefixesIpv6 ¶

func (o *IPPrefixesAPM) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesAPM) UnmarshalJSON ¶ added in v1.3.0

func (o *IPPrefixesAPM) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPPrefixesAgents ¶

type IPPrefixesAgents struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesAgents Available prefix information for the Agent endpoints.

func NewIPPrefixesAgents ¶

func NewIPPrefixesAgents() *IPPrefixesAgents

NewIPPrefixesAgents instantiates a new IPPrefixesAgents 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 NewIPPrefixesAgentsWithDefaults ¶

func NewIPPrefixesAgentsWithDefaults() *IPPrefixesAgents

NewIPPrefixesAgentsWithDefaults instantiates a new IPPrefixesAgents 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 (*IPPrefixesAgents) GetPrefixesIpv4 ¶

func (o *IPPrefixesAgents) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesAgents) GetPrefixesIpv4Ok ¶

func (o *IPPrefixesAgents) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesAgents) GetPrefixesIpv6 ¶

func (o *IPPrefixesAgents) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesAgents) GetPrefixesIpv6Ok ¶

func (o *IPPrefixesAgents) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesAgents) HasPrefixesIpv4 ¶

func (o *IPPrefixesAgents) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesAgents) HasPrefixesIpv6 ¶

func (o *IPPrefixesAgents) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (IPPrefixesAgents) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesAgents) SetPrefixesIpv4 ¶

func (o *IPPrefixesAgents) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesAgents) SetPrefixesIpv6 ¶

func (o *IPPrefixesAgents) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesAgents) UnmarshalJSON ¶ added in v1.3.0

func (o *IPPrefixesAgents) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPPrefixesLogs ¶

type IPPrefixesLogs struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesLogs Available prefix information for the Logs endpoints.

func NewIPPrefixesLogs ¶

func NewIPPrefixesLogs() *IPPrefixesLogs

NewIPPrefixesLogs instantiates a new IPPrefixesLogs 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 NewIPPrefixesLogsWithDefaults ¶

func NewIPPrefixesLogsWithDefaults() *IPPrefixesLogs

NewIPPrefixesLogsWithDefaults instantiates a new IPPrefixesLogs 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 (*IPPrefixesLogs) GetPrefixesIpv4 ¶

func (o *IPPrefixesLogs) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesLogs) GetPrefixesIpv4Ok ¶

func (o *IPPrefixesLogs) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesLogs) GetPrefixesIpv6 ¶

func (o *IPPrefixesLogs) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesLogs) GetPrefixesIpv6Ok ¶

func (o *IPPrefixesLogs) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesLogs) HasPrefixesIpv4 ¶

func (o *IPPrefixesLogs) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesLogs) HasPrefixesIpv6 ¶

func (o *IPPrefixesLogs) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (IPPrefixesLogs) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesLogs) SetPrefixesIpv4 ¶

func (o *IPPrefixesLogs) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesLogs) SetPrefixesIpv6 ¶

func (o *IPPrefixesLogs) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesLogs) UnmarshalJSON ¶ added in v1.3.0

func (o *IPPrefixesLogs) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPPrefixesProcess ¶

type IPPrefixesProcess struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesProcess Available prefix information for the Process endpoints.

func NewIPPrefixesProcess ¶

func NewIPPrefixesProcess() *IPPrefixesProcess

NewIPPrefixesProcess instantiates a new IPPrefixesProcess 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 NewIPPrefixesProcessWithDefaults ¶

func NewIPPrefixesProcessWithDefaults() *IPPrefixesProcess

NewIPPrefixesProcessWithDefaults instantiates a new IPPrefixesProcess 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 (*IPPrefixesProcess) GetPrefixesIpv4 ¶

func (o *IPPrefixesProcess) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesProcess) GetPrefixesIpv4Ok ¶

func (o *IPPrefixesProcess) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesProcess) GetPrefixesIpv6 ¶

func (o *IPPrefixesProcess) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesProcess) GetPrefixesIpv6Ok ¶

func (o *IPPrefixesProcess) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesProcess) HasPrefixesIpv4 ¶

func (o *IPPrefixesProcess) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesProcess) HasPrefixesIpv6 ¶

func (o *IPPrefixesProcess) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (IPPrefixesProcess) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesProcess) SetPrefixesIpv4 ¶

func (o *IPPrefixesProcess) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesProcess) SetPrefixesIpv6 ¶

func (o *IPPrefixesProcess) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesProcess) UnmarshalJSON ¶ added in v1.3.0

func (o *IPPrefixesProcess) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPPrefixesSynthetics ¶

type IPPrefixesSynthetics struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv4 prefixes by location.
	PrefixesIpv4ByLocation map[string][]string `json:"prefixes_ipv4_by_location,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// List of IPv6 prefixes by location.
	PrefixesIpv6ByLocation map[string][]string `json:"prefixes_ipv6_by_location,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesSynthetics Available prefix information for the Synthetics endpoints.

func NewIPPrefixesSynthetics ¶

func NewIPPrefixesSynthetics() *IPPrefixesSynthetics

NewIPPrefixesSynthetics instantiates a new IPPrefixesSynthetics 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 NewIPPrefixesSyntheticsWithDefaults ¶

func NewIPPrefixesSyntheticsWithDefaults() *IPPrefixesSynthetics

NewIPPrefixesSyntheticsWithDefaults instantiates a new IPPrefixesSynthetics 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 (*IPPrefixesSynthetics) GetPrefixesIpv4 ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesSynthetics) GetPrefixesIpv4ByLocation ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv4ByLocation() map[string][]string

GetPrefixesIpv4ByLocation returns the PrefixesIpv4ByLocation field value if set, zero value otherwise.

func (*IPPrefixesSynthetics) GetPrefixesIpv4ByLocationOk ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv4ByLocationOk() (*map[string][]string, bool)

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

func (*IPPrefixesSynthetics) GetPrefixesIpv4Ok ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesSynthetics) GetPrefixesIpv6 ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesSynthetics) GetPrefixesIpv6ByLocation ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv6ByLocation() map[string][]string

GetPrefixesIpv6ByLocation returns the PrefixesIpv6ByLocation field value if set, zero value otherwise.

func (*IPPrefixesSynthetics) GetPrefixesIpv6ByLocationOk ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv6ByLocationOk() (*map[string][]string, bool)

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

func (*IPPrefixesSynthetics) GetPrefixesIpv6Ok ¶

func (o *IPPrefixesSynthetics) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesSynthetics) HasPrefixesIpv4 ¶

func (o *IPPrefixesSynthetics) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesSynthetics) HasPrefixesIpv4ByLocation ¶

func (o *IPPrefixesSynthetics) HasPrefixesIpv4ByLocation() bool

HasPrefixesIpv4ByLocation returns a boolean if a field has been set.

func (*IPPrefixesSynthetics) HasPrefixesIpv6 ¶

func (o *IPPrefixesSynthetics) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (*IPPrefixesSynthetics) HasPrefixesIpv6ByLocation ¶

func (o *IPPrefixesSynthetics) HasPrefixesIpv6ByLocation() bool

HasPrefixesIpv6ByLocation returns a boolean if a field has been set.

func (IPPrefixesSynthetics) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesSynthetics) SetPrefixesIpv4 ¶

func (o *IPPrefixesSynthetics) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesSynthetics) SetPrefixesIpv4ByLocation ¶

func (o *IPPrefixesSynthetics) SetPrefixesIpv4ByLocation(v map[string][]string)

SetPrefixesIpv4ByLocation gets a reference to the given map[string][]string and assigns it to the PrefixesIpv4ByLocation field.

func (*IPPrefixesSynthetics) SetPrefixesIpv6 ¶

func (o *IPPrefixesSynthetics) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesSynthetics) SetPrefixesIpv6ByLocation ¶

func (o *IPPrefixesSynthetics) SetPrefixesIpv6ByLocation(v map[string][]string)

SetPrefixesIpv6ByLocation gets a reference to the given map[string][]string and assigns it to the PrefixesIpv6ByLocation field.

func (*IPPrefixesSynthetics) UnmarshalJSON ¶ added in v1.3.0

func (o *IPPrefixesSynthetics) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPPrefixesSyntheticsPrivateLocations ¶ added in v1.15.0

type IPPrefixesSyntheticsPrivateLocations struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesSyntheticsPrivateLocations Available prefix information for the Synthetics Private Locations endpoints.

func NewIPPrefixesSyntheticsPrivateLocations ¶ added in v1.15.0

func NewIPPrefixesSyntheticsPrivateLocations() *IPPrefixesSyntheticsPrivateLocations

NewIPPrefixesSyntheticsPrivateLocations instantiates a new IPPrefixesSyntheticsPrivateLocations 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 NewIPPrefixesSyntheticsPrivateLocationsWithDefaults ¶ added in v1.15.0

func NewIPPrefixesSyntheticsPrivateLocationsWithDefaults() *IPPrefixesSyntheticsPrivateLocations

NewIPPrefixesSyntheticsPrivateLocationsWithDefaults instantiates a new IPPrefixesSyntheticsPrivateLocations 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 (*IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv4 ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv4Ok ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv6 ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv6Ok ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesSyntheticsPrivateLocations) HasPrefixesIpv4 ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesSyntheticsPrivateLocations) HasPrefixesIpv6 ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (IPPrefixesSyntheticsPrivateLocations) MarshalJSON ¶ added in v1.15.0

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesSyntheticsPrivateLocations) SetPrefixesIpv4 ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesSyntheticsPrivateLocations) SetPrefixesIpv6 ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesSyntheticsPrivateLocations) UnmarshalJSON ¶ added in v1.15.0

func (o *IPPrefixesSyntheticsPrivateLocations) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPPrefixesWebhooks ¶

type IPPrefixesWebhooks struct {
	// List of IPv4 prefixes.
	PrefixesIpv4 []string `json:"prefixes_ipv4,omitempty"`
	// List of IPv6 prefixes.
	PrefixesIpv6 []string `json:"prefixes_ipv6,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPPrefixesWebhooks Available prefix information for the Webhook endpoints.

func NewIPPrefixesWebhooks ¶

func NewIPPrefixesWebhooks() *IPPrefixesWebhooks

NewIPPrefixesWebhooks instantiates a new IPPrefixesWebhooks 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 NewIPPrefixesWebhooksWithDefaults ¶

func NewIPPrefixesWebhooksWithDefaults() *IPPrefixesWebhooks

NewIPPrefixesWebhooksWithDefaults instantiates a new IPPrefixesWebhooks 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 (*IPPrefixesWebhooks) GetPrefixesIpv4 ¶

func (o *IPPrefixesWebhooks) GetPrefixesIpv4() []string

GetPrefixesIpv4 returns the PrefixesIpv4 field value if set, zero value otherwise.

func (*IPPrefixesWebhooks) GetPrefixesIpv4Ok ¶

func (o *IPPrefixesWebhooks) GetPrefixesIpv4Ok() (*[]string, bool)

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

func (*IPPrefixesWebhooks) GetPrefixesIpv6 ¶

func (o *IPPrefixesWebhooks) GetPrefixesIpv6() []string

GetPrefixesIpv6 returns the PrefixesIpv6 field value if set, zero value otherwise.

func (*IPPrefixesWebhooks) GetPrefixesIpv6Ok ¶

func (o *IPPrefixesWebhooks) GetPrefixesIpv6Ok() (*[]string, bool)

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

func (*IPPrefixesWebhooks) HasPrefixesIpv4 ¶

func (o *IPPrefixesWebhooks) HasPrefixesIpv4() bool

HasPrefixesIpv4 returns a boolean if a field has been set.

func (*IPPrefixesWebhooks) HasPrefixesIpv6 ¶

func (o *IPPrefixesWebhooks) HasPrefixesIpv6() bool

HasPrefixesIpv6 returns a boolean if a field has been set.

func (IPPrefixesWebhooks) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPPrefixesWebhooks) SetPrefixesIpv4 ¶

func (o *IPPrefixesWebhooks) SetPrefixesIpv4(v []string)

SetPrefixesIpv4 gets a reference to the given []string and assigns it to the PrefixesIpv4 field.

func (*IPPrefixesWebhooks) SetPrefixesIpv6 ¶

func (o *IPPrefixesWebhooks) SetPrefixesIpv6(v []string)

SetPrefixesIpv6 gets a reference to the given []string and assigns it to the PrefixesIpv6 field.

func (*IPPrefixesWebhooks) UnmarshalJSON ¶ added in v1.3.0

func (o *IPPrefixesWebhooks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPRanges ¶

type IPRanges struct {
	// Available prefix information for the Agent endpoints.
	Agents *IPPrefixesAgents `json:"agents,omitempty"`
	// Available prefix information for the API endpoints.
	Api *IPPrefixesAPI `json:"api,omitempty"`
	// Available prefix information for the APM endpoints.
	Apm *IPPrefixesAPM `json:"apm,omitempty"`
	// Available prefix information for the Logs endpoints.
	Logs *IPPrefixesLogs `json:"logs,omitempty"`
	// Date when last updated, in the form `YYYY-MM-DD-hh-mm-ss`.
	Modified *string `json:"modified,omitempty"`
	// Available prefix information for the Process endpoints.
	Process *IPPrefixesProcess `json:"process,omitempty"`
	// Available prefix information for the Synthetics endpoints.
	Synthetics *IPPrefixesSynthetics `json:"synthetics,omitempty"`
	// Available prefix information for the Synthetics Private Locations endpoints.
	SyntheticsPrivateLocations *IPPrefixesSyntheticsPrivateLocations `json:"synthetics-private-locations,omitempty"`
	// Version of the IP list.
	Version *int64 `json:"version,omitempty"`
	// Available prefix information for the Webhook endpoints.
	Webhooks *IPPrefixesWebhooks `json:"webhooks,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IPRanges IP ranges.

func NewIPRanges ¶

func NewIPRanges() *IPRanges

NewIPRanges instantiates a new IPRanges 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 NewIPRangesWithDefaults ¶

func NewIPRangesWithDefaults() *IPRanges

NewIPRangesWithDefaults instantiates a new IPRanges 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 (*IPRanges) GetAgents ¶

func (o *IPRanges) GetAgents() IPPrefixesAgents

GetAgents returns the Agents field value if set, zero value otherwise.

func (*IPRanges) GetAgentsOk ¶

func (o *IPRanges) GetAgentsOk() (*IPPrefixesAgents, bool)

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

func (*IPRanges) GetApi ¶

func (o *IPRanges) GetApi() IPPrefixesAPI

GetApi returns the Api field value if set, zero value otherwise.

func (*IPRanges) GetApiOk ¶

func (o *IPRanges) GetApiOk() (*IPPrefixesAPI, bool)

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

func (*IPRanges) GetApm ¶

func (o *IPRanges) GetApm() IPPrefixesAPM

GetApm returns the Apm field value if set, zero value otherwise.

func (*IPRanges) GetApmOk ¶

func (o *IPRanges) GetApmOk() (*IPPrefixesAPM, bool)

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

func (*IPRanges) GetLogs ¶

func (o *IPRanges) GetLogs() IPPrefixesLogs

GetLogs returns the Logs field value if set, zero value otherwise.

func (*IPRanges) GetLogsOk ¶

func (o *IPRanges) GetLogsOk() (*IPPrefixesLogs, bool)

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

func (*IPRanges) GetModified ¶

func (o *IPRanges) GetModified() string

GetModified returns the Modified field value if set, zero value otherwise.

func (*IPRanges) GetModifiedOk ¶

func (o *IPRanges) GetModifiedOk() (*string, bool)

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

func (*IPRanges) GetProcess ¶

func (o *IPRanges) GetProcess() IPPrefixesProcess

GetProcess returns the Process field value if set, zero value otherwise.

func (*IPRanges) GetProcessOk ¶

func (o *IPRanges) GetProcessOk() (*IPPrefixesProcess, bool)

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

func (*IPRanges) GetSynthetics ¶

func (o *IPRanges) GetSynthetics() IPPrefixesSynthetics

GetSynthetics returns the Synthetics field value if set, zero value otherwise.

func (*IPRanges) GetSyntheticsOk ¶

func (o *IPRanges) GetSyntheticsOk() (*IPPrefixesSynthetics, bool)

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

func (*IPRanges) GetSyntheticsPrivateLocations ¶ added in v1.15.0

func (o *IPRanges) GetSyntheticsPrivateLocations() IPPrefixesSyntheticsPrivateLocations

GetSyntheticsPrivateLocations returns the SyntheticsPrivateLocations field value if set, zero value otherwise.

func (*IPRanges) GetSyntheticsPrivateLocationsOk ¶ added in v1.15.0

func (o *IPRanges) GetSyntheticsPrivateLocationsOk() (*IPPrefixesSyntheticsPrivateLocations, bool)

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

func (*IPRanges) GetVersion ¶

func (o *IPRanges) GetVersion() int64

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

func (*IPRanges) GetVersionOk ¶

func (o *IPRanges) 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 (*IPRanges) GetWebhooks ¶

func (o *IPRanges) GetWebhooks() IPPrefixesWebhooks

GetWebhooks returns the Webhooks field value if set, zero value otherwise.

func (*IPRanges) GetWebhooksOk ¶

func (o *IPRanges) GetWebhooksOk() (*IPPrefixesWebhooks, bool)

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

func (*IPRanges) HasAgents ¶

func (o *IPRanges) HasAgents() bool

HasAgents returns a boolean if a field has been set.

func (*IPRanges) HasApi ¶

func (o *IPRanges) HasApi() bool

HasApi returns a boolean if a field has been set.

func (*IPRanges) HasApm ¶

func (o *IPRanges) HasApm() bool

HasApm returns a boolean if a field has been set.

func (*IPRanges) HasLogs ¶

func (o *IPRanges) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*IPRanges) HasModified ¶

func (o *IPRanges) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*IPRanges) HasProcess ¶

func (o *IPRanges) HasProcess() bool

HasProcess returns a boolean if a field has been set.

func (*IPRanges) HasSynthetics ¶

func (o *IPRanges) HasSynthetics() bool

HasSynthetics returns a boolean if a field has been set.

func (*IPRanges) HasSyntheticsPrivateLocations ¶ added in v1.15.0

func (o *IPRanges) HasSyntheticsPrivateLocations() bool

HasSyntheticsPrivateLocations returns a boolean if a field has been set.

func (*IPRanges) HasVersion ¶

func (o *IPRanges) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*IPRanges) HasWebhooks ¶

func (o *IPRanges) HasWebhooks() bool

HasWebhooks returns a boolean if a field has been set.

func (IPRanges) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IPRanges) SetAgents ¶

func (o *IPRanges) SetAgents(v IPPrefixesAgents)

SetAgents gets a reference to the given IPPrefixesAgents and assigns it to the Agents field.

func (*IPRanges) SetApi ¶

func (o *IPRanges) SetApi(v IPPrefixesAPI)

SetApi gets a reference to the given IPPrefixesAPI and assigns it to the Api field.

func (*IPRanges) SetApm ¶

func (o *IPRanges) SetApm(v IPPrefixesAPM)

SetApm gets a reference to the given IPPrefixesAPM and assigns it to the Apm field.

func (*IPRanges) SetLogs ¶

func (o *IPRanges) SetLogs(v IPPrefixesLogs)

SetLogs gets a reference to the given IPPrefixesLogs and assigns it to the Logs field.

func (*IPRanges) SetModified ¶

func (o *IPRanges) SetModified(v string)

SetModified gets a reference to the given string and assigns it to the Modified field.

func (*IPRanges) SetProcess ¶

func (o *IPRanges) SetProcess(v IPPrefixesProcess)

SetProcess gets a reference to the given IPPrefixesProcess and assigns it to the Process field.

func (*IPRanges) SetSynthetics ¶

func (o *IPRanges) SetSynthetics(v IPPrefixesSynthetics)

SetSynthetics gets a reference to the given IPPrefixesSynthetics and assigns it to the Synthetics field.

func (*IPRanges) SetSyntheticsPrivateLocations ¶ added in v1.15.0

func (o *IPRanges) SetSyntheticsPrivateLocations(v IPPrefixesSyntheticsPrivateLocations)

SetSyntheticsPrivateLocations gets a reference to the given IPPrefixesSyntheticsPrivateLocations and assigns it to the SyntheticsPrivateLocations field.

func (*IPRanges) SetVersion ¶

func (o *IPRanges) SetVersion(v int64)

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

func (*IPRanges) SetWebhooks ¶

func (o *IPRanges) SetWebhooks(v IPPrefixesWebhooks)

SetWebhooks gets a reference to the given IPPrefixesWebhooks and assigns it to the Webhooks field.

func (*IPRanges) UnmarshalJSON ¶ added in v1.3.0

func (o *IPRanges) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IPRangesApiService ¶

type IPRangesApiService service

IPRangesApiService IPRangesApi service.

func (*IPRangesApiService) GetIPRanges ¶

GetIPRanges List IP Ranges. Get information about Datadog IP ranges.

type IdpFormData ¶

type IdpFormData struct {
	// The path to the XML metadata file you wish to upload.
	IdpFile *os.File `json:"idp_file"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IdpFormData Object describing the IdP configuration.

func NewIdpFormData ¶

func NewIdpFormData(idpFile *os.File) *IdpFormData

NewIdpFormData instantiates a new IdpFormData 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 NewIdpFormDataWithDefaults ¶

func NewIdpFormDataWithDefaults() *IdpFormData

NewIdpFormDataWithDefaults instantiates a new IdpFormData 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 (*IdpFormData) GetIdpFile ¶

func (o *IdpFormData) GetIdpFile() *os.File

GetIdpFile returns the IdpFile field value.

func (*IdpFormData) GetIdpFileOk ¶

func (o *IdpFormData) GetIdpFileOk() (**os.File, bool)

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

func (IdpFormData) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IdpFormData) SetIdpFile ¶

func (o *IdpFormData) SetIdpFile(v *os.File)

SetIdpFile sets field value.

func (*IdpFormData) UnmarshalJSON ¶

func (o *IdpFormData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type IdpResponse ¶

type IdpResponse struct {
	// Identity provider response.
	Message string `json:"message"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IdpResponse The IdP response object.

func NewIdpResponse ¶

func NewIdpResponse(message string) *IdpResponse

NewIdpResponse instantiates a new IdpResponse 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 NewIdpResponseWithDefaults ¶

func NewIdpResponseWithDefaults() *IdpResponse

NewIdpResponseWithDefaults instantiates a new IdpResponse 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 (*IdpResponse) GetMessage ¶

func (o *IdpResponse) GetMessage() string

GetMessage returns the Message field value.

func (*IdpResponse) GetMessageOk ¶

func (o *IdpResponse) GetMessageOk() (*string, bool)

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

func (IdpResponse) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IdpResponse) SetMessage ¶

func (o *IdpResponse) SetMessage(v string)

SetMessage sets field value.

func (*IdpResponse) UnmarshalJSON ¶

func (o *IdpResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ImageWidgetDefinition ¶

type ImageWidgetDefinition struct {
	// Whether to display a background or not.
	HasBackground *bool `json:"has_background,omitempty"`
	// Whether to display a border or not.
	HasBorder *bool `json:"has_border,omitempty"`
	// Horizontal alignment.
	HorizontalAlign *WidgetHorizontalAlign `json:"horizontal_align,omitempty"`
	// Size of the margins around the image.
	// **Note**: `small` and `large` values are deprecated.
	Margin *WidgetMargin `json:"margin,omitempty"`
	// How to size the image on the widget. The values are based on the image `object-fit` CSS properties.
	// **Note**: `zoom`, `fit` and `center` values are deprecated.
	Sizing *WidgetImageSizing `json:"sizing,omitempty"`
	// Type of the image widget.
	Type ImageWidgetDefinitionType `json:"type"`
	// URL of the image.
	Url string `json:"url"`
	// URL of the image in dark mode.
	UrlDarkTheme *string `json:"url_dark_theme,omitempty"`
	// Vertical alignment.
	VerticalAlign *WidgetVerticalAlign `json:"vertical_align,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ImageWidgetDefinition The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards.

func NewImageWidgetDefinition ¶

func NewImageWidgetDefinition(typeVar ImageWidgetDefinitionType, url string) *ImageWidgetDefinition

NewImageWidgetDefinition instantiates a new ImageWidgetDefinition 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 NewImageWidgetDefinitionWithDefaults ¶

func NewImageWidgetDefinitionWithDefaults() *ImageWidgetDefinition

NewImageWidgetDefinitionWithDefaults instantiates a new ImageWidgetDefinition 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 (*ImageWidgetDefinition) GetHasBackground ¶

func (o *ImageWidgetDefinition) GetHasBackground() bool

GetHasBackground returns the HasBackground field value if set, zero value otherwise.

func (*ImageWidgetDefinition) GetHasBackgroundOk ¶

func (o *ImageWidgetDefinition) GetHasBackgroundOk() (*bool, bool)

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

func (*ImageWidgetDefinition) GetHasBorder ¶

func (o *ImageWidgetDefinition) GetHasBorder() bool

GetHasBorder returns the HasBorder field value if set, zero value otherwise.

func (*ImageWidgetDefinition) GetHasBorderOk ¶

func (o *ImageWidgetDefinition) GetHasBorderOk() (*bool, bool)

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

func (*ImageWidgetDefinition) GetHorizontalAlign ¶

func (o *ImageWidgetDefinition) GetHorizontalAlign() WidgetHorizontalAlign

GetHorizontalAlign returns the HorizontalAlign field value if set, zero value otherwise.

func (*ImageWidgetDefinition) GetHorizontalAlignOk ¶

func (o *ImageWidgetDefinition) GetHorizontalAlignOk() (*WidgetHorizontalAlign, bool)

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

func (*ImageWidgetDefinition) GetMargin ¶

func (o *ImageWidgetDefinition) GetMargin() WidgetMargin

GetMargin returns the Margin field value if set, zero value otherwise.

func (*ImageWidgetDefinition) GetMarginOk ¶

func (o *ImageWidgetDefinition) GetMarginOk() (*WidgetMargin, bool)

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

func (*ImageWidgetDefinition) GetSizing ¶

GetSizing returns the Sizing field value if set, zero value otherwise.

func (*ImageWidgetDefinition) GetSizingOk ¶

func (o *ImageWidgetDefinition) GetSizingOk() (*WidgetImageSizing, bool)

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

func (*ImageWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*ImageWidgetDefinition) GetTypeOk ¶

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

func (*ImageWidgetDefinition) GetUrl ¶

func (o *ImageWidgetDefinition) GetUrl() string

GetUrl returns the Url field value.

func (*ImageWidgetDefinition) GetUrlDarkTheme ¶

func (o *ImageWidgetDefinition) GetUrlDarkTheme() string

GetUrlDarkTheme returns the UrlDarkTheme field value if set, zero value otherwise.

func (*ImageWidgetDefinition) GetUrlDarkThemeOk ¶

func (o *ImageWidgetDefinition) GetUrlDarkThemeOk() (*string, bool)

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

func (*ImageWidgetDefinition) GetUrlOk ¶

func (o *ImageWidgetDefinition) GetUrlOk() (*string, bool)

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

func (*ImageWidgetDefinition) GetVerticalAlign ¶

func (o *ImageWidgetDefinition) GetVerticalAlign() WidgetVerticalAlign

GetVerticalAlign returns the VerticalAlign field value if set, zero value otherwise.

func (*ImageWidgetDefinition) GetVerticalAlignOk ¶

func (o *ImageWidgetDefinition) GetVerticalAlignOk() (*WidgetVerticalAlign, bool)

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

func (*ImageWidgetDefinition) HasHasBackground ¶

func (o *ImageWidgetDefinition) HasHasBackground() bool

HasHasBackground returns a boolean if a field has been set.

func (*ImageWidgetDefinition) HasHasBorder ¶

func (o *ImageWidgetDefinition) HasHasBorder() bool

HasHasBorder returns a boolean if a field has been set.

func (*ImageWidgetDefinition) HasHorizontalAlign ¶

func (o *ImageWidgetDefinition) HasHorizontalAlign() bool

HasHorizontalAlign returns a boolean if a field has been set.

func (*ImageWidgetDefinition) HasMargin ¶

func (o *ImageWidgetDefinition) HasMargin() bool

HasMargin returns a boolean if a field has been set.

func (*ImageWidgetDefinition) HasSizing ¶

func (o *ImageWidgetDefinition) HasSizing() bool

HasSizing returns a boolean if a field has been set.

func (*ImageWidgetDefinition) HasUrlDarkTheme ¶

func (o *ImageWidgetDefinition) HasUrlDarkTheme() bool

HasUrlDarkTheme returns a boolean if a field has been set.

func (*ImageWidgetDefinition) HasVerticalAlign ¶

func (o *ImageWidgetDefinition) HasVerticalAlign() bool

HasVerticalAlign returns a boolean if a field has been set.

func (ImageWidgetDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*ImageWidgetDefinition) SetHasBackground ¶

func (o *ImageWidgetDefinition) SetHasBackground(v bool)

SetHasBackground gets a reference to the given bool and assigns it to the HasBackground field.

func (*ImageWidgetDefinition) SetHasBorder ¶

func (o *ImageWidgetDefinition) SetHasBorder(v bool)

SetHasBorder gets a reference to the given bool and assigns it to the HasBorder field.

func (*ImageWidgetDefinition) SetHorizontalAlign ¶

func (o *ImageWidgetDefinition) SetHorizontalAlign(v WidgetHorizontalAlign)

SetHorizontalAlign gets a reference to the given WidgetHorizontalAlign and assigns it to the HorizontalAlign field.

func (*ImageWidgetDefinition) SetMargin ¶

func (o *ImageWidgetDefinition) SetMargin(v WidgetMargin)

SetMargin gets a reference to the given WidgetMargin and assigns it to the Margin field.

func (*ImageWidgetDefinition) SetSizing ¶

func (o *ImageWidgetDefinition) SetSizing(v WidgetImageSizing)

SetSizing gets a reference to the given WidgetImageSizing and assigns it to the Sizing field.

func (*ImageWidgetDefinition) SetType ¶

SetType sets field value.

func (*ImageWidgetDefinition) SetUrl ¶

func (o *ImageWidgetDefinition) SetUrl(v string)

SetUrl sets field value.

func (*ImageWidgetDefinition) SetUrlDarkTheme ¶

func (o *ImageWidgetDefinition) SetUrlDarkTheme(v string)

SetUrlDarkTheme gets a reference to the given string and assigns it to the UrlDarkTheme field.

func (*ImageWidgetDefinition) SetVerticalAlign ¶

func (o *ImageWidgetDefinition) SetVerticalAlign(v WidgetVerticalAlign)

SetVerticalAlign gets a reference to the given WidgetVerticalAlign and assigns it to the VerticalAlign field.

func (*ImageWidgetDefinition) UnmarshalJSON ¶

func (o *ImageWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ImageWidgetDefinitionType ¶

type ImageWidgetDefinitionType string

ImageWidgetDefinitionType Type of the image widget.

const (
	IMAGEWIDGETDEFINITIONTYPE_IMAGE ImageWidgetDefinitionType = "image"
)

List of ImageWidgetDefinitionType.

func NewImageWidgetDefinitionTypeFromValue ¶

func NewImageWidgetDefinitionTypeFromValue(v string) (*ImageWidgetDefinitionType, error)

NewImageWidgetDefinitionTypeFromValue returns a pointer to a valid ImageWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ImageWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

func (v *ImageWidgetDefinitionType) GetAllowedValues() []ImageWidgetDefinitionType

GetAllowedValues reeturns the list of possible values.

func (ImageWidgetDefinitionType) IsValid ¶

func (v ImageWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ImageWidgetDefinitionType) Ptr ¶

Ptr returns reference to ImageWidgetDefinitionType value.

func (*ImageWidgetDefinitionType) UnmarshalJSON ¶

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

UnmarshalJSON deserializes the given payload.

type IntakePayloadAccepted ¶

type IntakePayloadAccepted struct {
	// The status of the intake payload.
	Status *string `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IntakePayloadAccepted The payload accepted for intake.

func NewIntakePayloadAccepted ¶

func NewIntakePayloadAccepted() *IntakePayloadAccepted

NewIntakePayloadAccepted instantiates a new IntakePayloadAccepted 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 NewIntakePayloadAcceptedWithDefaults ¶

func NewIntakePayloadAcceptedWithDefaults() *IntakePayloadAccepted

NewIntakePayloadAcceptedWithDefaults instantiates a new IntakePayloadAccepted 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 (*IntakePayloadAccepted) GetStatus ¶

func (o *IntakePayloadAccepted) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*IntakePayloadAccepted) GetStatusOk ¶

func (o *IntakePayloadAccepted) GetStatusOk() (*string, bool)

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

func (*IntakePayloadAccepted) HasStatus ¶

func (o *IntakePayloadAccepted) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (IntakePayloadAccepted) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*IntakePayloadAccepted) SetStatus ¶

func (o *IntakePayloadAccepted) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*IntakePayloadAccepted) UnmarshalJSON ¶ added in v1.3.0

func (o *IntakePayloadAccepted) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type KeyManagementApiService ¶

type KeyManagementApiService service

KeyManagementApiService KeyManagementApi service.

func (*KeyManagementApiService) CreateAPIKey ¶

CreateAPIKey Create an API key. Creates an API key with a given name.

func (*KeyManagementApiService) CreateApplicationKey ¶

CreateApplicationKey Create an application key. Create an application key with a given name.

func (*KeyManagementApiService) DeleteAPIKey ¶

DeleteAPIKey Delete an API key. Delete a given API key.

func (*KeyManagementApiService) DeleteApplicationKey ¶

DeleteApplicationKey Delete an application key. Delete a given application key.

func (*KeyManagementApiService) GetAPIKey ¶

GetAPIKey Get API key. Get a given API key.

func (*KeyManagementApiService) GetApplicationKey ¶

GetApplicationKey Get an application key. Get a given application key.

func (*KeyManagementApiService) ListAPIKeys ¶

ListAPIKeys Get all API keys. Get all API keys available for your account.

func (*KeyManagementApiService) ListApplicationKeys ¶

ListApplicationKeys Get all application keys. Get all application keys available for your Datadog account.

func (*KeyManagementApiService) UpdateAPIKey ¶

UpdateAPIKey Edit an API key. Edit an API key name.

func (*KeyManagementApiService) UpdateApplicationKey ¶

UpdateApplicationKey Edit an application key. Edit an application key name.

type ListAWSAccountsOptionalParameters ¶

type ListAWSAccountsOptionalParameters struct {
	AccountId   *string
	RoleName    *string
	AccessKeyId *string
}

ListAWSAccountsOptionalParameters holds optional parameters for ListAWSAccounts.

func NewListAWSAccountsOptionalParameters ¶

func NewListAWSAccountsOptionalParameters() *ListAWSAccountsOptionalParameters

NewListAWSAccountsOptionalParameters creates an empty struct for parameters.

func (*ListAWSAccountsOptionalParameters) WithAccessKeyId ¶

WithAccessKeyId sets the corresponding parameter name and returns the struct.

func (*ListAWSAccountsOptionalParameters) WithAccountId ¶

WithAccountId sets the corresponding parameter name and returns the struct.

func (*ListAWSAccountsOptionalParameters) WithRoleName ¶

WithRoleName sets the corresponding parameter name and returns the struct.

type ListActiveMetricsOptionalParameters ¶

type ListActiveMetricsOptionalParameters struct {
	Host      *string
	TagFilter *string
}

ListActiveMetricsOptionalParameters holds optional parameters for ListActiveMetrics.

func NewListActiveMetricsOptionalParameters ¶

func NewListActiveMetricsOptionalParameters() *ListActiveMetricsOptionalParameters

NewListActiveMetricsOptionalParameters creates an empty struct for parameters.

func (*ListActiveMetricsOptionalParameters) WithHost ¶

WithHost sets the corresponding parameter name and returns the struct.

func (*ListActiveMetricsOptionalParameters) WithTagFilter ¶

WithTagFilter sets the corresponding parameter name and returns the struct.

type ListDashboardsOptionalParameters ¶

type ListDashboardsOptionalParameters struct {
	FilterShared  *bool
	FilterDeleted *bool
}

ListDashboardsOptionalParameters holds optional parameters for ListDashboards.

func NewListDashboardsOptionalParameters ¶

func NewListDashboardsOptionalParameters() *ListDashboardsOptionalParameters

NewListDashboardsOptionalParameters creates an empty struct for parameters.

func (*ListDashboardsOptionalParameters) WithFilterDeleted ¶ added in v1.8.0

func (r *ListDashboardsOptionalParameters) WithFilterDeleted(filterDeleted bool) *ListDashboardsOptionalParameters

WithFilterDeleted sets the corresponding parameter name and returns the struct.

func (*ListDashboardsOptionalParameters) WithFilterShared ¶

func (r *ListDashboardsOptionalParameters) WithFilterShared(filterShared bool) *ListDashboardsOptionalParameters

WithFilterShared sets the corresponding parameter name and returns the struct.

type ListDowntimesOptionalParameters ¶

type ListDowntimesOptionalParameters struct {
	CurrentOnly *bool
}

ListDowntimesOptionalParameters holds optional parameters for ListDowntimes.

func NewListDowntimesOptionalParameters ¶

func NewListDowntimesOptionalParameters() *ListDowntimesOptionalParameters

NewListDowntimesOptionalParameters creates an empty struct for parameters.

func (*ListDowntimesOptionalParameters) WithCurrentOnly ¶

func (r *ListDowntimesOptionalParameters) WithCurrentOnly(currentOnly bool) *ListDowntimesOptionalParameters

WithCurrentOnly sets the corresponding parameter name and returns the struct.

type ListEventsOptionalParameters ¶

type ListEventsOptionalParameters struct {
	Priority         *EventPriority
	Sources          *string
	Tags             *string
	Unaggregated     *bool
	ExcludeAggregate *bool
	Page             *int32
}

ListEventsOptionalParameters holds optional parameters for ListEvents.

func NewListEventsOptionalParameters ¶

func NewListEventsOptionalParameters() *ListEventsOptionalParameters

NewListEventsOptionalParameters creates an empty struct for parameters.

func (*ListEventsOptionalParameters) WithExcludeAggregate ¶

func (r *ListEventsOptionalParameters) WithExcludeAggregate(excludeAggregate bool) *ListEventsOptionalParameters

WithExcludeAggregate sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithPage ¶

WithPage sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithPriority ¶

WithPriority sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithSources ¶

WithSources sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithTags ¶

WithTags sets the corresponding parameter name and returns the struct.

func (*ListEventsOptionalParameters) WithUnaggregated ¶

func (r *ListEventsOptionalParameters) WithUnaggregated(unaggregated bool) *ListEventsOptionalParameters

WithUnaggregated sets the corresponding parameter name and returns the struct.

type ListHostTagsOptionalParameters ¶

type ListHostTagsOptionalParameters struct {
	Source *string
}

ListHostTagsOptionalParameters holds optional parameters for ListHostTags.

func NewListHostTagsOptionalParameters ¶

func NewListHostTagsOptionalParameters() *ListHostTagsOptionalParameters

NewListHostTagsOptionalParameters creates an empty struct for parameters.

func (*ListHostTagsOptionalParameters) WithSource ¶

WithSource sets the corresponding parameter name and returns the struct.

type ListHostsOptionalParameters ¶

type ListHostsOptionalParameters struct {
	Filter                *string
	SortField             *string
	SortDir               *string
	Start                 *int64
	Count                 *int64
	From                  *int64
	IncludeMutedHostsData *bool
	IncludeHostsMetadata  *bool
}

ListHostsOptionalParameters holds optional parameters for ListHosts.

func NewListHostsOptionalParameters ¶

func NewListHostsOptionalParameters() *ListHostsOptionalParameters

NewListHostsOptionalParameters creates an empty struct for parameters.

func (*ListHostsOptionalParameters) WithCount ¶

WithCount sets the corresponding parameter name and returns the struct.

func (*ListHostsOptionalParameters) WithFilter ¶

WithFilter sets the corresponding parameter name and returns the struct.

func (*ListHostsOptionalParameters) WithFrom ¶

WithFrom sets the corresponding parameter name and returns the struct.

func (*ListHostsOptionalParameters) WithIncludeHostsMetadata ¶

func (r *ListHostsOptionalParameters) WithIncludeHostsMetadata(includeHostsMetadata bool) *ListHostsOptionalParameters

WithIncludeHostsMetadata sets the corresponding parameter name and returns the struct.

func (*ListHostsOptionalParameters) WithIncludeMutedHostsData ¶

func (r *ListHostsOptionalParameters) WithIncludeMutedHostsData(includeMutedHostsData bool) *ListHostsOptionalParameters

WithIncludeMutedHostsData sets the corresponding parameter name and returns the struct.

func (*ListHostsOptionalParameters) WithSortDir ¶

WithSortDir sets the corresponding parameter name and returns the struct.

func (*ListHostsOptionalParameters) WithSortField ¶

func (r *ListHostsOptionalParameters) WithSortField(sortField string) *ListHostsOptionalParameters

WithSortField sets the corresponding parameter name and returns the struct.

func (*ListHostsOptionalParameters) WithStart ¶

WithStart sets the corresponding parameter name and returns the struct.

type ListMonitorsOptionalParameters ¶

type ListMonitorsOptionalParameters struct {
	GroupStates   *string
	Name          *string
	Tags          *string
	MonitorTags   *string
	WithDowntimes *bool
	IdOffset      *int64
	Page          *int64
	PageSize      *int32
}

ListMonitorsOptionalParameters holds optional parameters for ListMonitors.

func NewListMonitorsOptionalParameters ¶

func NewListMonitorsOptionalParameters() *ListMonitorsOptionalParameters

NewListMonitorsOptionalParameters creates an empty struct for parameters.

func (*ListMonitorsOptionalParameters) WithGroupStates ¶

func (r *ListMonitorsOptionalParameters) WithGroupStates(groupStates string) *ListMonitorsOptionalParameters

WithGroupStates sets the corresponding parameter name and returns the struct.

func (*ListMonitorsOptionalParameters) WithIdOffset ¶

WithIdOffset sets the corresponding parameter name and returns the struct.

func (*ListMonitorsOptionalParameters) WithMonitorTags ¶

func (r *ListMonitorsOptionalParameters) WithMonitorTags(monitorTags string) *ListMonitorsOptionalParameters

WithMonitorTags sets the corresponding parameter name and returns the struct.

func (*ListMonitorsOptionalParameters) WithName ¶

WithName sets the corresponding parameter name and returns the struct.

func (*ListMonitorsOptionalParameters) WithPage ¶

WithPage sets the corresponding parameter name and returns the struct.

func (*ListMonitorsOptionalParameters) WithPageSize ¶

WithPageSize sets the corresponding parameter name and returns the struct.

func (*ListMonitorsOptionalParameters) WithTags ¶

WithTags sets the corresponding parameter name and returns the struct.

func (*ListMonitorsOptionalParameters) WithWithDowntimes ¶

func (r *ListMonitorsOptionalParameters) WithWithDowntimes(withDowntimes bool) *ListMonitorsOptionalParameters

WithWithDowntimes sets the corresponding parameter name and returns the struct.

type ListNotebooksOptionalParameters ¶

type ListNotebooksOptionalParameters struct {
	AuthorHandle        *string
	ExcludeAuthorHandle *string
	Start               *int64
	Count               *int64
	SortField           *string
	SortDir             *string
	Query               *string
	IncludeCells        *bool
	IsTemplate          *bool
	Type                *string
}

ListNotebooksOptionalParameters holds optional parameters for ListNotebooks.

func NewListNotebooksOptionalParameters ¶

func NewListNotebooksOptionalParameters() *ListNotebooksOptionalParameters

NewListNotebooksOptionalParameters creates an empty struct for parameters.

func (*ListNotebooksOptionalParameters) WithAuthorHandle ¶

func (r *ListNotebooksOptionalParameters) WithAuthorHandle(authorHandle string) *ListNotebooksOptionalParameters

WithAuthorHandle sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithCount ¶

WithCount sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithExcludeAuthorHandle ¶

func (r *ListNotebooksOptionalParameters) WithExcludeAuthorHandle(excludeAuthorHandle string) *ListNotebooksOptionalParameters

WithExcludeAuthorHandle sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithIncludeCells ¶

func (r *ListNotebooksOptionalParameters) WithIncludeCells(includeCells bool) *ListNotebooksOptionalParameters

WithIncludeCells sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithIsTemplate ¶ added in v1.5.0

WithIsTemplate sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithQuery ¶

WithQuery sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithSortDir ¶

WithSortDir sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithSortField ¶

WithSortField sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithStart ¶

WithStart sets the corresponding parameter name and returns the struct.

func (*ListNotebooksOptionalParameters) WithType ¶ added in v1.11.0

WithType sets the corresponding parameter name and returns the struct.

type ListSLOsOptionalParameters ¶

type ListSLOsOptionalParameters struct {
	Ids          *string
	Query        *string
	TagsQuery    *string
	MetricsQuery *string
	Limit        *int64
	Offset       *int64
}

ListSLOsOptionalParameters holds optional parameters for ListSLOs.

func NewListSLOsOptionalParameters ¶

func NewListSLOsOptionalParameters() *ListSLOsOptionalParameters

NewListSLOsOptionalParameters creates an empty struct for parameters.

func (*ListSLOsOptionalParameters) WithIds ¶

WithIds sets the corresponding parameter name and returns the struct.

func (*ListSLOsOptionalParameters) WithLimit ¶ added in v1.1.0

WithLimit sets the corresponding parameter name and returns the struct.

func (*ListSLOsOptionalParameters) WithMetricsQuery ¶

func (r *ListSLOsOptionalParameters) WithMetricsQuery(metricsQuery string) *ListSLOsOptionalParameters

WithMetricsQuery sets the corresponding parameter name and returns the struct.

func (*ListSLOsOptionalParameters) WithOffset ¶ added in v1.1.0

WithOffset sets the corresponding parameter name and returns the struct.

func (*ListSLOsOptionalParameters) WithQuery ¶

WithQuery sets the corresponding parameter name and returns the struct.

func (*ListSLOsOptionalParameters) WithTagsQuery ¶

func (r *ListSLOsOptionalParameters) WithTagsQuery(tagsQuery string) *ListSLOsOptionalParameters

WithTagsQuery sets the corresponding parameter name and returns the struct.

type ListStreamColumn ¶ added in v1.3.0

type ListStreamColumn struct {
	// Widget column field.
	Field string `json:"field"`
	// Widget column width.
	Width ListStreamColumnWidth `json:"width"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ListStreamColumn Widget column.

func NewListStreamColumn ¶ added in v1.3.0

func NewListStreamColumn(field string, width ListStreamColumnWidth) *ListStreamColumn

NewListStreamColumn instantiates a new ListStreamColumn 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 NewListStreamColumnWithDefaults ¶ added in v1.3.0

func NewListStreamColumnWithDefaults() *ListStreamColumn

NewListStreamColumnWithDefaults instantiates a new ListStreamColumn 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 (*ListStreamColumn) GetField ¶ added in v1.3.0

func (o *ListStreamColumn) GetField() string

GetField returns the Field field value.

func (*ListStreamColumn) GetFieldOk ¶ added in v1.3.0

func (o *ListStreamColumn) GetFieldOk() (*string, bool)

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

func (*ListStreamColumn) GetWidth ¶ added in v1.3.0

GetWidth returns the Width field value.

func (*ListStreamColumn) GetWidthOk ¶ added in v1.3.0

func (o *ListStreamColumn) GetWidthOk() (*ListStreamColumnWidth, bool)

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

func (ListStreamColumn) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*ListStreamColumn) SetField ¶ added in v1.3.0

func (o *ListStreamColumn) SetField(v string)

SetField sets field value.

func (*ListStreamColumn) SetWidth ¶ added in v1.3.0

func (o *ListStreamColumn) SetWidth(v ListStreamColumnWidth)

SetWidth sets field value.

func (*ListStreamColumn) UnmarshalJSON ¶ added in v1.3.0

func (o *ListStreamColumn) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ListStreamColumnWidth ¶ added in v1.3.0

type ListStreamColumnWidth string

ListStreamColumnWidth Widget column width.

const (
	LISTSTREAMCOLUMNWIDTH_AUTO    ListStreamColumnWidth = "auto"
	LISTSTREAMCOLUMNWIDTH_COMPACT ListStreamColumnWidth = "compact"
	LISTSTREAMCOLUMNWIDTH_FULL    ListStreamColumnWidth = "full"
)

List of ListStreamColumnWidth.

func NewListStreamColumnWidthFromValue ¶ added in v1.3.0

func NewListStreamColumnWidthFromValue(v string) (*ListStreamColumnWidth, error)

NewListStreamColumnWidthFromValue returns a pointer to a valid ListStreamColumnWidth for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ListStreamColumnWidth) GetAllowedValues ¶ added in v1.3.0

func (v *ListStreamColumnWidth) GetAllowedValues() []ListStreamColumnWidth

GetAllowedValues reeturns the list of possible values.

func (ListStreamColumnWidth) IsValid ¶ added in v1.3.0

func (v ListStreamColumnWidth) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ListStreamColumnWidth) Ptr ¶ added in v1.3.0

Ptr returns reference to ListStreamColumnWidth value.

func (*ListStreamColumnWidth) UnmarshalJSON ¶ added in v1.3.0

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

UnmarshalJSON deserializes the given payload.

type ListStreamQuery ¶ added in v1.3.0

type ListStreamQuery struct {
	// Source from which to query items to display in the stream.
	DataSource ListStreamSource `json:"data_source"`
	// List of indexes.
	Indexes []string `json:"indexes,omitempty"`
	// Widget query.
	QueryString string `json:"query_string"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ListStreamQuery Updated list stream widget.

func NewListStreamQuery ¶ added in v1.3.0

func NewListStreamQuery(dataSource ListStreamSource, queryString string) *ListStreamQuery

NewListStreamQuery instantiates a new ListStreamQuery 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 NewListStreamQueryWithDefaults ¶ added in v1.3.0

func NewListStreamQueryWithDefaults() *ListStreamQuery

NewListStreamQueryWithDefaults instantiates a new ListStreamQuery 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 (*ListStreamQuery) GetDataSource ¶ added in v1.3.0

func (o *ListStreamQuery) GetDataSource() ListStreamSource

GetDataSource returns the DataSource field value.

func (*ListStreamQuery) GetDataSourceOk ¶ added in v1.3.0

func (o *ListStreamQuery) GetDataSourceOk() (*ListStreamSource, bool)

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

func (*ListStreamQuery) GetIndexes ¶ added in v1.3.0

func (o *ListStreamQuery) GetIndexes() []string

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*ListStreamQuery) GetIndexesOk ¶ added in v1.3.0

func (o *ListStreamQuery) GetIndexesOk() (*[]string, bool)

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

func (*ListStreamQuery) GetQueryString ¶ added in v1.3.0

func (o *ListStreamQuery) GetQueryString() string

GetQueryString returns the QueryString field value.

func (*ListStreamQuery) GetQueryStringOk ¶ added in v1.3.0

func (o *ListStreamQuery) GetQueryStringOk() (*string, bool)

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

func (*ListStreamQuery) HasIndexes ¶ added in v1.3.0

func (o *ListStreamQuery) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (ListStreamQuery) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*ListStreamQuery) SetDataSource ¶ added in v1.3.0

func (o *ListStreamQuery) SetDataSource(v ListStreamSource)

SetDataSource sets field value.

func (*ListStreamQuery) SetIndexes ¶ added in v1.3.0

func (o *ListStreamQuery) SetIndexes(v []string)

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*ListStreamQuery) SetQueryString ¶ added in v1.3.0

func (o *ListStreamQuery) SetQueryString(v string)

SetQueryString sets field value.

func (*ListStreamQuery) UnmarshalJSON ¶ added in v1.3.0

func (o *ListStreamQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ListStreamResponseFormat ¶ added in v1.3.0

type ListStreamResponseFormat string

ListStreamResponseFormat Widget response format.

const (
	LISTSTREAMRESPONSEFORMAT_EVENT_LIST ListStreamResponseFormat = "event_list"
)

List of ListStreamResponseFormat.

func NewListStreamResponseFormatFromValue ¶ added in v1.3.0

func NewListStreamResponseFormatFromValue(v string) (*ListStreamResponseFormat, error)

NewListStreamResponseFormatFromValue returns a pointer to a valid ListStreamResponseFormat for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ListStreamResponseFormat) GetAllowedValues ¶ added in v1.3.0

func (v *ListStreamResponseFormat) GetAllowedValues() []ListStreamResponseFormat

GetAllowedValues reeturns the list of possible values.

func (ListStreamResponseFormat) IsValid ¶ added in v1.3.0

func (v ListStreamResponseFormat) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ListStreamResponseFormat) Ptr ¶ added in v1.3.0

Ptr returns reference to ListStreamResponseFormat value.

func (*ListStreamResponseFormat) UnmarshalJSON ¶ added in v1.3.0

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

UnmarshalJSON deserializes the given payload.

type ListStreamSource ¶ added in v1.3.0

type ListStreamSource string

ListStreamSource Source from which to query items to display in the stream.

const (
	LISTSTREAMSOURCE_LOGS_STREAM      ListStreamSource = "logs_stream"
	LISTSTREAMSOURCE_AUDIT_STREAM     ListStreamSource = "audit_stream"
	LISTSTREAMSOURCE_RUM_ISSUE_STREAM ListStreamSource = "rum_issue_stream"
	LISTSTREAMSOURCE_APM_ISSUE_STREAM ListStreamSource = "apm_issue_stream"
)

List of ListStreamSource.

func NewListStreamSourceFromValue ¶ added in v1.3.0

func NewListStreamSourceFromValue(v string) (*ListStreamSource, error)

NewListStreamSourceFromValue returns a pointer to a valid ListStreamSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ListStreamSource) GetAllowedValues ¶ added in v1.3.0

func (v *ListStreamSource) GetAllowedValues() []ListStreamSource

GetAllowedValues reeturns the list of possible values.

func (ListStreamSource) IsValid ¶ added in v1.3.0

func (v ListStreamSource) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ListStreamSource) Ptr ¶ added in v1.3.0

Ptr returns reference to ListStreamSource value.

func (*ListStreamSource) UnmarshalJSON ¶ added in v1.3.0

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

UnmarshalJSON deserializes the given payload.

type ListStreamWidgetDefinition ¶ added in v1.3.0

type ListStreamWidgetDefinition struct {
	// Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".
	LegendSize *string `json:"legend_size,omitempty"`
	// Request payload used to query items.
	Requests []ListStreamWidgetRequest `json:"requests"`
	// Whether or not to display the legend on this widget.
	ShowLegend *bool `json:"show_legend,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the list stream widget.
	Type ListStreamWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ListStreamWidgetDefinition The list stream visualization displays a table of recent events in your application that match a search criteria using user-defined columns.

func NewListStreamWidgetDefinition ¶ added in v1.3.0

func NewListStreamWidgetDefinition(requests []ListStreamWidgetRequest, typeVar ListStreamWidgetDefinitionType) *ListStreamWidgetDefinition

NewListStreamWidgetDefinition instantiates a new ListStreamWidgetDefinition 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 NewListStreamWidgetDefinitionWithDefaults ¶ added in v1.3.0

func NewListStreamWidgetDefinitionWithDefaults() *ListStreamWidgetDefinition

NewListStreamWidgetDefinitionWithDefaults instantiates a new ListStreamWidgetDefinition 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 (*ListStreamWidgetDefinition) GetLegendSize ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetLegendSize() string

GetLegendSize returns the LegendSize field value if set, zero value otherwise.

func (*ListStreamWidgetDefinition) GetLegendSizeOk ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetLegendSizeOk() (*string, bool)

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

func (*ListStreamWidgetDefinition) GetRequests ¶ added in v1.3.0

GetRequests returns the Requests field value.

func (*ListStreamWidgetDefinition) GetRequestsOk ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetRequestsOk() (*[]ListStreamWidgetRequest, bool)

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

func (*ListStreamWidgetDefinition) GetShowLegend ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetShowLegend() bool

GetShowLegend returns the ShowLegend field value if set, zero value otherwise.

func (*ListStreamWidgetDefinition) GetShowLegendOk ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetShowLegendOk() (*bool, bool)

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

func (*ListStreamWidgetDefinition) GetTime ¶ added in v1.3.0

GetTime returns the Time field value if set, zero value otherwise.

func (*ListStreamWidgetDefinition) GetTimeOk ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

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

func (*ListStreamWidgetDefinition) GetTitle ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ListStreamWidgetDefinition) GetTitleAlign ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*ListStreamWidgetDefinition) GetTitleAlignOk ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

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

func (*ListStreamWidgetDefinition) GetTitleOk ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetTitleOk() (*string, bool)

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

func (*ListStreamWidgetDefinition) GetTitleSize ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*ListStreamWidgetDefinition) GetTitleSizeOk ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) GetTitleSizeOk() (*string, bool)

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

func (*ListStreamWidgetDefinition) GetType ¶ added in v1.3.0

GetType returns the Type field value.

func (*ListStreamWidgetDefinition) GetTypeOk ¶ added in v1.3.0

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

func (*ListStreamWidgetDefinition) HasLegendSize ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*ListStreamWidgetDefinition) HasShowLegend ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) HasShowLegend() bool

HasShowLegend returns a boolean if a field has been set.

func (*ListStreamWidgetDefinition) HasTime ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ListStreamWidgetDefinition) HasTitle ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ListStreamWidgetDefinition) HasTitleAlign ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ListStreamWidgetDefinition) HasTitleSize ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (ListStreamWidgetDefinition) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*ListStreamWidgetDefinition) SetLegendSize ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) SetLegendSize(v string)

SetLegendSize gets a reference to the given string and assigns it to the LegendSize field.

func (*ListStreamWidgetDefinition) SetRequests ¶ added in v1.3.0

SetRequests sets field value.

func (*ListStreamWidgetDefinition) SetShowLegend ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) SetShowLegend(v bool)

SetShowLegend gets a reference to the given bool and assigns it to the ShowLegend field.

func (*ListStreamWidgetDefinition) SetTime ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*ListStreamWidgetDefinition) SetTitle ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ListStreamWidgetDefinition) SetTitleAlign ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*ListStreamWidgetDefinition) SetTitleSize ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*ListStreamWidgetDefinition) SetType ¶ added in v1.3.0

SetType sets field value.

func (*ListStreamWidgetDefinition) UnmarshalJSON ¶ added in v1.3.0

func (o *ListStreamWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ListStreamWidgetDefinitionType ¶ added in v1.3.0

type ListStreamWidgetDefinitionType string

ListStreamWidgetDefinitionType Type of the list stream widget.

const (
	LISTSTREAMWIDGETDEFINITIONTYPE_LIST_STREAM ListStreamWidgetDefinitionType = "list_stream"
)

List of ListStreamWidgetDefinitionType.

func NewListStreamWidgetDefinitionTypeFromValue ¶ added in v1.3.0

func NewListStreamWidgetDefinitionTypeFromValue(v string) (*ListStreamWidgetDefinitionType, error)

NewListStreamWidgetDefinitionTypeFromValue returns a pointer to a valid ListStreamWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ListStreamWidgetDefinitionType) GetAllowedValues ¶ added in v1.3.0

GetAllowedValues reeturns the list of possible values.

func (ListStreamWidgetDefinitionType) IsValid ¶ added in v1.3.0

IsValid return true if the value is valid for the enum, false otherwise.

func (ListStreamWidgetDefinitionType) Ptr ¶ added in v1.3.0

Ptr returns reference to ListStreamWidgetDefinitionType value.

func (*ListStreamWidgetDefinitionType) UnmarshalJSON ¶ added in v1.3.0

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

UnmarshalJSON deserializes the given payload.

type ListStreamWidgetRequest ¶ added in v1.3.0

type ListStreamWidgetRequest struct {
	// Widget columns.
	Columns []ListStreamColumn `json:"columns"`
	// Updated list stream widget.
	Query ListStreamQuery `json:"query"`
	// Widget response format.
	ResponseFormat ListStreamResponseFormat `json:"response_format"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ListStreamWidgetRequest Updated list stream widget.

func NewListStreamWidgetRequest ¶ added in v1.3.0

func NewListStreamWidgetRequest(columns []ListStreamColumn, query ListStreamQuery, responseFormat ListStreamResponseFormat) *ListStreamWidgetRequest

NewListStreamWidgetRequest instantiates a new ListStreamWidgetRequest 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 NewListStreamWidgetRequestWithDefaults ¶ added in v1.3.0

func NewListStreamWidgetRequestWithDefaults() *ListStreamWidgetRequest

NewListStreamWidgetRequestWithDefaults instantiates a new ListStreamWidgetRequest 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 (*ListStreamWidgetRequest) GetColumns ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) GetColumns() []ListStreamColumn

GetColumns returns the Columns field value.

func (*ListStreamWidgetRequest) GetColumnsOk ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) GetColumnsOk() (*[]ListStreamColumn, bool)

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

func (*ListStreamWidgetRequest) GetQuery ¶ added in v1.3.0

GetQuery returns the Query field value.

func (*ListStreamWidgetRequest) GetQueryOk ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) GetQueryOk() (*ListStreamQuery, bool)

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

func (*ListStreamWidgetRequest) GetResponseFormat ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) GetResponseFormat() ListStreamResponseFormat

GetResponseFormat returns the ResponseFormat field value.

func (*ListStreamWidgetRequest) GetResponseFormatOk ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) GetResponseFormatOk() (*ListStreamResponseFormat, bool)

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

func (ListStreamWidgetRequest) MarshalJSON ¶ added in v1.3.0

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

MarshalJSON serializes the struct using spec logic.

func (*ListStreamWidgetRequest) SetColumns ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) SetColumns(v []ListStreamColumn)

SetColumns sets field value.

func (*ListStreamWidgetRequest) SetQuery ¶ added in v1.3.0

SetQuery sets field value.

func (*ListStreamWidgetRequest) SetResponseFormat ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) SetResponseFormat(v ListStreamResponseFormat)

SetResponseFormat sets field value.

func (*ListStreamWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *ListStreamWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Log ¶

type Log struct {
	// JSON object containing all log attributes and their associated values.
	Content *LogContent `json:"content,omitempty"`
	// Unique ID of the Log.
	Id *string `json:"id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Log Object describing a log after being processed and stored by Datadog.

func NewLog ¶

func NewLog() *Log

NewLog instantiates a new Log 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 NewLogWithDefaults ¶

func NewLogWithDefaults() *Log

NewLogWithDefaults instantiates a new Log 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 (*Log) GetContent ¶

func (o *Log) GetContent() LogContent

GetContent returns the Content field value if set, zero value otherwise.

func (*Log) GetContentOk ¶

func (o *Log) GetContentOk() (*LogContent, bool)

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

func (*Log) GetId ¶

func (o *Log) GetId() string

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

func (*Log) GetIdOk ¶

func (o *Log) 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 (*Log) HasContent ¶

func (o *Log) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*Log) HasId ¶

func (o *Log) HasId() bool

HasId returns a boolean if a field has been set.

func (Log) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*Log) SetContent ¶

func (o *Log) SetContent(v LogContent)

SetContent gets a reference to the given LogContent and assigns it to the Content field.

func (*Log) SetId ¶

func (o *Log) SetId(v string)

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

func (*Log) UnmarshalJSON ¶ added in v1.3.0

func (o *Log) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogContent ¶

type LogContent struct {
	// JSON object of attributes from your log.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	// Name of the machine from where the logs are being sent.
	Host *string `json:"host,omitempty"`
	// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes)
	// of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry.
	// That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
	Message *string `json:"message,omitempty"`
	// The name of the application or service generating the log events.
	// It is used to switch from Logs to APM, so make sure you define the same
	// value when you use both products.
	Service *string `json:"service,omitempty"`
	// Array of tags associated with your log.
	Tags []string `json:"tags,omitempty"`
	// Timestamp of your log.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogContent JSON object containing all log attributes and their associated values.

func NewLogContent ¶

func NewLogContent() *LogContent

NewLogContent instantiates a new LogContent 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 NewLogContentWithDefaults ¶

func NewLogContentWithDefaults() *LogContent

NewLogContentWithDefaults instantiates a new LogContent 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 (*LogContent) GetAttributes ¶

func (o *LogContent) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*LogContent) GetAttributesOk ¶

func (o *LogContent) GetAttributesOk() (*map[string]interface{}, bool)

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

func (*LogContent) GetHost ¶

func (o *LogContent) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*LogContent) GetHostOk ¶

func (o *LogContent) GetHostOk() (*string, bool)

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

func (*LogContent) GetMessage ¶

func (o *LogContent) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*LogContent) GetMessageOk ¶

func (o *LogContent) GetMessageOk() (*string, bool)

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

func (*LogContent) GetService ¶

func (o *LogContent) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*LogContent) GetServiceOk ¶

func (o *LogContent) GetServiceOk() (*string, bool)

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

func (*LogContent) GetTags ¶

func (o *LogContent) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*LogContent) GetTagsOk ¶

func (o *LogContent) GetTagsOk() (*[]string, bool)

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

func (*LogContent) GetTimestamp ¶

func (o *LogContent) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*LogContent) GetTimestampOk ¶

func (o *LogContent) GetTimestampOk() (*time.Time, bool)

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

func (*LogContent) HasAttributes ¶

func (o *LogContent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*LogContent) HasHost ¶

func (o *LogContent) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*LogContent) HasMessage ¶

func (o *LogContent) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*LogContent) HasService ¶

func (o *LogContent) HasService() bool

HasService returns a boolean if a field has been set.

func (*LogContent) HasTags ¶

func (o *LogContent) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*LogContent) HasTimestamp ¶

func (o *LogContent) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (LogContent) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*LogContent) SetAttributes ¶

func (o *LogContent) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*LogContent) SetHost ¶

func (o *LogContent) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*LogContent) SetMessage ¶

func (o *LogContent) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*LogContent) SetService ¶

func (o *LogContent) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*LogContent) SetTags ¶

func (o *LogContent) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*LogContent) SetTimestamp ¶

func (o *LogContent) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*LogContent) UnmarshalJSON ¶ added in v1.3.0

func (o *LogContent) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogQueryDefinition ¶

type LogQueryDefinition struct {
	// Define computation for a log query.
	Compute *LogsQueryCompute `json:"compute,omitempty"`
	// List of tag prefixes to group by in the case of a cluster check.
	GroupBy []LogQueryDefinitionGroupBy `json:"group_by,omitempty"`
	// A coma separated-list of index names. Use "*" query all indexes at once. [Multiple Indexes](https://docs.datadoghq.com/logs/indexes/#multiple-indexes)
	Index *string `json:"index,omitempty"`
	// This field is mutually exclusive with `compute`.
	MultiCompute []LogsQueryCompute `json:"multi_compute,omitempty"`
	// The query being made on the logs.
	Search *LogQueryDefinitionSearch `json:"search,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogQueryDefinition The log query.

func NewLogQueryDefinition ¶

func NewLogQueryDefinition() *LogQueryDefinition

NewLogQueryDefinition instantiates a new LogQueryDefinition 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 NewLogQueryDefinitionWithDefaults ¶

func NewLogQueryDefinitionWithDefaults() *LogQueryDefinition

NewLogQueryDefinitionWithDefaults instantiates a new LogQueryDefinition 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 (*LogQueryDefinition) GetCompute ¶

func (o *LogQueryDefinition) GetCompute() LogsQueryCompute

GetCompute returns the Compute field value if set, zero value otherwise.

func (*LogQueryDefinition) GetComputeOk ¶

func (o *LogQueryDefinition) GetComputeOk() (*LogsQueryCompute, bool)

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

func (*LogQueryDefinition) GetGroupBy ¶

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*LogQueryDefinition) GetGroupByOk ¶

func (o *LogQueryDefinition) GetGroupByOk() (*[]LogQueryDefinitionGroupBy, bool)

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

func (*LogQueryDefinition) GetIndex ¶

func (o *LogQueryDefinition) GetIndex() string

GetIndex returns the Index field value if set, zero value otherwise.

func (*LogQueryDefinition) GetIndexOk ¶

func (o *LogQueryDefinition) GetIndexOk() (*string, bool)

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

func (*LogQueryDefinition) GetMultiCompute ¶

func (o *LogQueryDefinition) GetMultiCompute() []LogsQueryCompute

GetMultiCompute returns the MultiCompute field value if set, zero value otherwise.

func (*LogQueryDefinition) GetMultiComputeOk ¶

func (o *LogQueryDefinition) GetMultiComputeOk() (*[]LogsQueryCompute, bool)

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

func (*LogQueryDefinition) GetSearch ¶

GetSearch returns the Search field value if set, zero value otherwise.

func (*LogQueryDefinition) GetSearchOk ¶

func (o *LogQueryDefinition) GetSearchOk() (*LogQueryDefinitionSearch, bool)

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

func (*LogQueryDefinition) HasCompute ¶

func (o *LogQueryDefinition) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*LogQueryDefinition) HasGroupBy ¶

func (o *LogQueryDefinition) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*LogQueryDefinition) HasIndex ¶

func (o *LogQueryDefinition) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*LogQueryDefinition) HasMultiCompute ¶

func (o *LogQueryDefinition) HasMultiCompute() bool

HasMultiCompute returns a boolean if a field has been set.

func (*LogQueryDefinition) HasSearch ¶

func (o *LogQueryDefinition) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (LogQueryDefinition) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*LogQueryDefinition) SetCompute ¶

func (o *LogQueryDefinition) SetCompute(v LogsQueryCompute)

SetCompute gets a reference to the given LogsQueryCompute and assigns it to the Compute field.

func (*LogQueryDefinition) SetGroupBy ¶

func (o *LogQueryDefinition) SetGroupBy(v []LogQueryDefinitionGroupBy)

SetGroupBy gets a reference to the given []LogQueryDefinitionGroupBy and assigns it to the GroupBy field.

func (*LogQueryDefinition) SetIndex ¶

func (o *LogQueryDefinition) SetIndex(v string)

SetIndex gets a reference to the given string and assigns it to the Index field.

func (*LogQueryDefinition) SetMultiCompute ¶

func (o *LogQueryDefinition) SetMultiCompute(v []LogsQueryCompute)

SetMultiCompute gets a reference to the given []LogsQueryCompute and assigns it to the MultiCompute field.

func (*LogQueryDefinition) SetSearch ¶

SetSearch gets a reference to the given LogQueryDefinitionSearch and assigns it to the Search field.

func (*LogQueryDefinition) UnmarshalJSON ¶ added in v1.3.0

func (o *LogQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogQueryDefinitionGroupBy ¶

type LogQueryDefinitionGroupBy struct {
	// Facet name.
	Facet string `json:"facet"`
	// Maximum number of items in the group.
	Limit *int64 `json:"limit,omitempty"`
	// Define a sorting method.
	Sort *LogQueryDefinitionGroupBySort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogQueryDefinitionGroupBy Defined items in the group.

func NewLogQueryDefinitionGroupBy ¶

func NewLogQueryDefinitionGroupBy(facet string) *LogQueryDefinitionGroupBy

NewLogQueryDefinitionGroupBy instantiates a new LogQueryDefinitionGroupBy 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 NewLogQueryDefinitionGroupByWithDefaults ¶

func NewLogQueryDefinitionGroupByWithDefaults() *LogQueryDefinitionGroupBy

NewLogQueryDefinitionGroupByWithDefaults instantiates a new LogQueryDefinitionGroupBy 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 (*LogQueryDefinitionGroupBy) GetFacet ¶

func (o *LogQueryDefinitionGroupBy) GetFacet() string

GetFacet returns the Facet field value.

func (*LogQueryDefinitionGroupBy) GetFacetOk ¶

func (o *LogQueryDefinitionGroupBy) GetFacetOk() (*string, bool)

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

func (*LogQueryDefinitionGroupBy) GetLimit ¶

func (o *LogQueryDefinitionGroupBy) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*LogQueryDefinitionGroupBy) GetLimitOk ¶

func (o *LogQueryDefinitionGroupBy) GetLimitOk() (*int64, bool)

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

func (*LogQueryDefinitionGroupBy) GetSort ¶

GetSort returns the Sort field value if set, zero value otherwise.

func (*LogQueryDefinitionGroupBy) GetSortOk ¶

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

func (*LogQueryDefinitionGroupBy) HasLimit ¶

func (o *LogQueryDefinitionGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*LogQueryDefinitionGroupBy) HasSort ¶

func (o *LogQueryDefinitionGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (LogQueryDefinitionGroupBy) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*LogQueryDefinitionGroupBy) SetFacet ¶

func (o *LogQueryDefinitionGroupBy) SetFacet(v string)

SetFacet sets field value.

func (*LogQueryDefinitionGroupBy) SetLimit ¶

func (o *LogQueryDefinitionGroupBy) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*LogQueryDefinitionGroupBy) SetSort ¶

SetSort gets a reference to the given LogQueryDefinitionGroupBySort and assigns it to the Sort field.

func (*LogQueryDefinitionGroupBy) UnmarshalJSON ¶

func (o *LogQueryDefinitionGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogQueryDefinitionGroupBySort ¶

type LogQueryDefinitionGroupBySort struct {
	// The aggregation method.
	Aggregation string `json:"aggregation"`
	// Facet name.
	Facet *string `json:"facet,omitempty"`
	// Widget sorting methods.
	Order WidgetSort `json:"order"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogQueryDefinitionGroupBySort Define a sorting method.

func NewLogQueryDefinitionGroupBySort ¶

func NewLogQueryDefinitionGroupBySort(aggregation string, order WidgetSort) *LogQueryDefinitionGroupBySort

NewLogQueryDefinitionGroupBySort instantiates a new LogQueryDefinitionGroupBySort 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 NewLogQueryDefinitionGroupBySortWithDefaults ¶

func NewLogQueryDefinitionGroupBySortWithDefaults() *LogQueryDefinitionGroupBySort

NewLogQueryDefinitionGroupBySortWithDefaults instantiates a new LogQueryDefinitionGroupBySort 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 (*LogQueryDefinitionGroupBySort) GetAggregation ¶

func (o *LogQueryDefinitionGroupBySort) GetAggregation() string

GetAggregation returns the Aggregation field value.

func (*LogQueryDefinitionGroupBySort) GetAggregationOk ¶

func (o *LogQueryDefinitionGroupBySort) GetAggregationOk() (*string, bool)

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

func (*LogQueryDefinitionGroupBySort) GetFacet ¶

func (o *LogQueryDefinitionGroupBySort) GetFacet() string

GetFacet returns the Facet field value if set, zero value otherwise.

func (*LogQueryDefinitionGroupBySort) GetFacetOk ¶

func (o *LogQueryDefinitionGroupBySort) GetFacetOk() (*string, bool)

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

func (*LogQueryDefinitionGroupBySort) GetOrder ¶

GetOrder returns the Order field value.

func (*LogQueryDefinitionGroupBySort) GetOrderOk ¶

func (o *LogQueryDefinitionGroupBySort) GetOrderOk() (*WidgetSort, bool)

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

func (*LogQueryDefinitionGroupBySort) HasFacet ¶

func (o *LogQueryDefinitionGroupBySort) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (LogQueryDefinitionGroupBySort) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*LogQueryDefinitionGroupBySort) SetAggregation ¶

func (o *LogQueryDefinitionGroupBySort) SetAggregation(v string)

SetAggregation sets field value.

func (*LogQueryDefinitionGroupBySort) SetFacet ¶

func (o *LogQueryDefinitionGroupBySort) SetFacet(v string)

SetFacet gets a reference to the given string and assigns it to the Facet field.

func (*LogQueryDefinitionGroupBySort) SetOrder ¶

SetOrder sets field value.

func (*LogQueryDefinitionGroupBySort) UnmarshalJSON ¶

func (o *LogQueryDefinitionGroupBySort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogQueryDefinitionSearch ¶

type LogQueryDefinitionSearch struct {
	// Search value to apply.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogQueryDefinitionSearch The query being made on the logs.

func NewLogQueryDefinitionSearch ¶

func NewLogQueryDefinitionSearch(query string) *LogQueryDefinitionSearch

NewLogQueryDefinitionSearch instantiates a new LogQueryDefinitionSearch 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 NewLogQueryDefinitionSearchWithDefaults ¶

func NewLogQueryDefinitionSearchWithDefaults() *LogQueryDefinitionSearch

NewLogQueryDefinitionSearchWithDefaults instantiates a new LogQueryDefinitionSearch 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 (*LogQueryDefinitionSearch) GetQuery ¶

func (o *LogQueryDefinitionSearch) GetQuery() string

GetQuery returns the Query field value.

func (*LogQueryDefinitionSearch) GetQueryOk ¶

func (o *LogQueryDefinitionSearch) GetQueryOk() (*string, bool)

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

func (LogQueryDefinitionSearch) MarshalJSON ¶

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

MarshalJSON serializes the struct using spec logic.

func (*LogQueryDefinitionSearch) SetQuery ¶

func (o *LogQueryDefinitionSearch) SetQuery(v string)

SetQuery sets field value.

func (*LogQueryDefinitionSearch) UnmarshalJSON ¶

func (o *LogQueryDefinitionSearch) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogStreamWidgetDefinition ¶

type LogStreamWidgetDefinition struct {
	// Which columns to display on the widget.
	Columns []string `json:"columns,omitempty"`
	// An array of index names to query in the stream. Use [] to query all indexes at once.
	Indexes []string `json:"indexes,omitempty"`
	// ID of the log set to use.
	// Deprecated
	Logset *string `json:"logset,omitempty"`
	// Amount of log lines to display
	MessageDisplay *WidgetMessageDisplay `json:"message_display,omitempty"`
	// Query to filter the log stream with.
	Query *string `json:"query,omitempty"`
	// Whether to show the date column or not
	ShowDateColumn *bool `json:"show_date_column,omitempty"`
	// Whether to show the message column or not
	ShowMessageColumn *bool `json:"show_message_column,omitempty"`
	// Which column and order to sort by
	Sort *WidgetFieldSort `json:"sort,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the log stream widget.
	Type LogStreamWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogStreamWidgetDefinition The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.

func NewLogStreamWidgetDefinition ¶

func NewLogStreamWidgetDefinition(typeVar LogStreamWidgetDefinitionType) *LogStreamWidgetDefinition

NewLogStreamWidgetDefinition instantiates a new LogStreamWidgetDefinition 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 NewLogStreamWidgetDefinitionWithDefaults ¶

func NewLogStreamWidgetDefinitionWithDefaults() *LogStreamWidgetDefinition

NewLogStreamWidgetDefinitionWithDefaults instantiates a new LogStreamWidgetDefinition 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 (*LogStreamWidgetDefinition) GetColumns ¶

func (o *LogStreamWidgetDefinition) GetColumns() []string

GetColumns returns the Columns field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetColumnsOk ¶

func (o *LogStreamWidgetDefinition) GetColumnsOk() (*[]string, bool)

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

func (*LogStreamWidgetDefinition) GetIndexes ¶

func (o *LogStreamWidgetDefinition) GetIndexes() []string

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetIndexesOk ¶

func (o *LogStreamWidgetDefinition) GetIndexesOk() (*[]string, bool)

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

func (*LogStreamWidgetDefinition) GetLogset ¶

func (o *LogStreamWidgetDefinition) GetLogset() string

GetLogset returns the Logset field value if set, zero value otherwise. Deprecated

func (*LogStreamWidgetDefinition) GetLogsetOk ¶

func (o *LogStreamWidgetDefinition) GetLogsetOk() (*string, bool)

GetLogsetOk returns a tuple with the Logset field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*LogStreamWidgetDefinition) GetMessageDisplay ¶

func (o *LogStreamWidgetDefinition) GetMessageDisplay() WidgetMessageDisplay

GetMessageDisplay returns the MessageDisplay field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetMessageDisplayOk ¶

func (o *LogStreamWidgetDefinition) GetMessageDisplayOk() (*WidgetMessageDisplay, bool)

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

func (*LogStreamWidgetDefinition) GetQuery ¶

func (o *LogStreamWidgetDefinition) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetQueryOk ¶

func (o *LogStreamWidgetDefinition) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetShowDateColumn ¶

func (o *LogStreamWidgetDefinition) GetShowDateColumn() bool

GetShowDateColumn returns the ShowDateColumn field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetShowDateColumnOk ¶

func (o *LogStreamWidgetDefinition) GetShowDateColumnOk() (*bool, bool)

GetShowDateColumnOk returns a tuple with the ShowDateColumn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetShowMessageColumn ¶

func (o *LogStreamWidgetDefinition) GetShowMessageColumn() bool

GetShowMessageColumn returns the ShowMessageColumn field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetShowMessageColumnOk ¶

func (o *LogStreamWidgetDefinition) GetShowMessageColumnOk() (*bool, bool)

GetShowMessageColumnOk returns a tuple with the ShowMessageColumn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetSort ¶

GetSort returns the Sort field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetSortOk ¶

func (o *LogStreamWidgetDefinition) GetSortOk() (*WidgetFieldSort, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetTimeOk ¶

func (o *LogStreamWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetTitle ¶

func (o *LogStreamWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetTitleAlign ¶

func (o *LogStreamWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetTitleAlignOk ¶

func (o *LogStreamWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetTitleOk ¶

func (o *LogStreamWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetTitleSize ¶

func (o *LogStreamWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*LogStreamWidgetDefinition) GetTitleSizeOk ¶

func (o *LogStreamWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*LogStreamWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogStreamWidgetDefinition) HasColumns ¶

func (o *LogStreamWidgetDefinition) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasIndexes ¶

func (o *LogStreamWidgetDefinition) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasLogset ¶

func (o *LogStreamWidgetDefinition) HasLogset() bool

HasLogset returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasMessageDisplay ¶

func (o *LogStreamWidgetDefinition) HasMessageDisplay() bool

HasMessageDisplay returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasQuery ¶

func (o *LogStreamWidgetDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasShowDateColumn ¶

func (o *LogStreamWidgetDefinition) HasShowDateColumn() bool

HasShowDateColumn returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasShowMessageColumn ¶

func (o *LogStreamWidgetDefinition) HasShowMessageColumn() bool

HasShowMessageColumn returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasSort ¶

func (o *LogStreamWidgetDefinition) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasTime ¶

func (o *LogStreamWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasTitle ¶

func (o *LogStreamWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasTitleAlign ¶

func (o *LogStreamWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*LogStreamWidgetDefinition) HasTitleSize ¶

func (o *LogStreamWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (LogStreamWidgetDefinition) MarshalJSON ¶

func (o LogStreamWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogStreamWidgetDefinition) SetColumns ¶

func (o *LogStreamWidgetDefinition) SetColumns(v []string)

SetColumns gets a reference to the given []string and assigns it to the Columns field.

func (*LogStreamWidgetDefinition) SetIndexes ¶

func (o *LogStreamWidgetDefinition) SetIndexes(v []string)

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*LogStreamWidgetDefinition) SetLogset ¶

func (o *LogStreamWidgetDefinition) SetLogset(v string)

SetLogset gets a reference to the given string and assigns it to the Logset field. Deprecated

func (*LogStreamWidgetDefinition) SetMessageDisplay ¶

func (o *LogStreamWidgetDefinition) SetMessageDisplay(v WidgetMessageDisplay)

SetMessageDisplay gets a reference to the given WidgetMessageDisplay and assigns it to the MessageDisplay field.

func (*LogStreamWidgetDefinition) SetQuery ¶

func (o *LogStreamWidgetDefinition) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogStreamWidgetDefinition) SetShowDateColumn ¶

func (o *LogStreamWidgetDefinition) SetShowDateColumn(v bool)

SetShowDateColumn gets a reference to the given bool and assigns it to the ShowDateColumn field.

func (*LogStreamWidgetDefinition) SetShowMessageColumn ¶

func (o *LogStreamWidgetDefinition) SetShowMessageColumn(v bool)

SetShowMessageColumn gets a reference to the given bool and assigns it to the ShowMessageColumn field.

func (*LogStreamWidgetDefinition) SetSort ¶

SetSort gets a reference to the given WidgetFieldSort and assigns it to the Sort field.

func (*LogStreamWidgetDefinition) SetTime ¶

func (o *LogStreamWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*LogStreamWidgetDefinition) SetTitle ¶

func (o *LogStreamWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*LogStreamWidgetDefinition) SetTitleAlign ¶

func (o *LogStreamWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*LogStreamWidgetDefinition) SetTitleSize ¶

func (o *LogStreamWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*LogStreamWidgetDefinition) SetType ¶

SetType sets field value.

func (*LogStreamWidgetDefinition) UnmarshalJSON ¶

func (o *LogStreamWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogStreamWidgetDefinitionType ¶

type LogStreamWidgetDefinitionType string

LogStreamWidgetDefinitionType Type of the log stream widget.

const (
	LOGSTREAMWIDGETDEFINITIONTYPE_LOG_STREAM LogStreamWidgetDefinitionType = "log_stream"
)

List of LogStreamWidgetDefinitionType.

func NewLogStreamWidgetDefinitionTypeFromValue ¶

func NewLogStreamWidgetDefinitionTypeFromValue(v string) (*LogStreamWidgetDefinitionType, error)

NewLogStreamWidgetDefinitionTypeFromValue returns a pointer to a valid LogStreamWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogStreamWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogStreamWidgetDefinitionType) IsValid ¶

func (v LogStreamWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogStreamWidgetDefinitionType) Ptr ¶

Ptr returns reference to LogStreamWidgetDefinitionType value.

func (*LogStreamWidgetDefinitionType) UnmarshalJSON ¶

func (v *LogStreamWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsAPIError ¶

type LogsAPIError struct {
	// Code identifying the error
	Code *string `json:"code,omitempty"`
	// Additional error details
	Details []LogsAPIError `json:"details,omitempty"`
	// Error message
	Message *string `json:"message,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAPIError Error returned by the Logs API

func NewLogsAPIError ¶

func NewLogsAPIError() *LogsAPIError

NewLogsAPIError instantiates a new LogsAPIError 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 NewLogsAPIErrorWithDefaults ¶

func NewLogsAPIErrorWithDefaults() *LogsAPIError

NewLogsAPIErrorWithDefaults instantiates a new LogsAPIError 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 (*LogsAPIError) GetCode ¶

func (o *LogsAPIError) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*LogsAPIError) GetCodeOk ¶

func (o *LogsAPIError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAPIError) GetDetails ¶

func (o *LogsAPIError) GetDetails() []LogsAPIError

GetDetails returns the Details field value if set, zero value otherwise.

func (*LogsAPIError) GetDetailsOk ¶

func (o *LogsAPIError) GetDetailsOk() (*[]LogsAPIError, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAPIError) GetMessage ¶

func (o *LogsAPIError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*LogsAPIError) GetMessageOk ¶

func (o *LogsAPIError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAPIError) HasCode ¶

func (o *LogsAPIError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*LogsAPIError) HasDetails ¶

func (o *LogsAPIError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*LogsAPIError) HasMessage ¶

func (o *LogsAPIError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (LogsAPIError) MarshalJSON ¶

func (o LogsAPIError) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAPIError) SetCode ¶

func (o *LogsAPIError) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*LogsAPIError) SetDetails ¶

func (o *LogsAPIError) SetDetails(v []LogsAPIError)

SetDetails gets a reference to the given []LogsAPIError and assigns it to the Details field.

func (*LogsAPIError) SetMessage ¶

func (o *LogsAPIError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*LogsAPIError) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAPIError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAPIErrorResponse ¶

type LogsAPIErrorResponse struct {
	// Error returned by the Logs API
	Error *LogsAPIError `json:"error,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAPIErrorResponse Response returned by the Logs API when errors occur.

func NewLogsAPIErrorResponse ¶

func NewLogsAPIErrorResponse() *LogsAPIErrorResponse

NewLogsAPIErrorResponse instantiates a new LogsAPIErrorResponse 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 NewLogsAPIErrorResponseWithDefaults ¶

func NewLogsAPIErrorResponseWithDefaults() *LogsAPIErrorResponse

NewLogsAPIErrorResponseWithDefaults instantiates a new LogsAPIErrorResponse 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 (*LogsAPIErrorResponse) GetError ¶

func (o *LogsAPIErrorResponse) GetError() LogsAPIError

GetError returns the Error field value if set, zero value otherwise.

func (*LogsAPIErrorResponse) GetErrorOk ¶

func (o *LogsAPIErrorResponse) GetErrorOk() (*LogsAPIError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAPIErrorResponse) HasError ¶

func (o *LogsAPIErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (LogsAPIErrorResponse) MarshalJSON ¶

func (o LogsAPIErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAPIErrorResponse) SetError ¶

func (o *LogsAPIErrorResponse) SetError(v LogsAPIError)

SetError gets a reference to the given LogsAPIError and assigns it to the Error field.

func (*LogsAPIErrorResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAPIErrorResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsApiService ¶

type LogsApiService service

LogsApiService LogsApi service.

func (*LogsApiService) ListLogs ¶

ListLogs Search logs. List endpoint returns logs that match a log search query. [Results are paginated][1].

**If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].**

[1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives

func (*LogsApiService) SubmitLog ¶

func (a *LogsApiService) SubmitLog(ctx _context.Context, body []HTTPLogItem, o ...SubmitLogOptionalParameters) (interface{}, *_nethttp.Response, error)

SubmitLog Send logs. Send your logs to your Datadog platform over HTTP. Limits per HTTP request are:

- Maximum content size per payload (uncompressed): 5MB - Maximum size for a single log: 1MB - Maximum array size if sending multiple logs in an array: 1000 entries

Any log exceeding 1MB is accepted and truncated by Datadog: - For a single log request, the API truncates the log at 1MB and returns a 2xx. - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx.

Datadog recommends sending your logs compressed. Add the `Content-Encoding: gzip` header to the request when sending compressed logs.

The status codes answered by the HTTP API are: - 200: OK - 400: Bad request (likely an issue in the payload formatting) - 403: Permission issue (likely using an invalid API Key) - 413: Payload too large (batch is above 5MB uncompressed) - 5xx: Internal error, request should be retried after some time

type LogsArithmeticProcessor ¶

type LogsArithmeticProcessor struct {
	// Arithmetic operation between one or more log attributes.
	Expression string `json:"expression"`
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// If `true`, it replaces all missing attributes of expression by `0`, `false`
	// skip the operation if an attribute is missing.
	IsReplaceMissing *bool `json:"is_replace_missing,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Name of the attribute that contains the result of the arithmetic operation.
	Target string `json:"target"`
	// Type of logs arithmetic processor.
	Type LogsArithmeticProcessorType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArithmeticProcessor Use the Arithmetic Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log with the result of the provided formula. This enables you to remap different time attributes with different units into a single attribute, or to compute operations on attributes within the same log.

The formula can use parentheses and the basic arithmetic operators `-`, `+`, `*`, `/`.

By default, the calculation is skipped if an attribute is missing. Select “Replace missing attribute by 0” to automatically populate missing attribute values with 0 to ensure that the calculation is done. An attribute is missing if it is not found in the log attributes, or if it cannot be converted to a number.

*Notes*:

  • The operator `-` needs to be space split in the formula as it can also be contained in attribute names.
  • If the target attribute already exists, it is overwritten by the result of the formula.
  • Results are rounded up to the 9th decimal. For example, if the result of the formula is `0.1234567891`, the actual value stored for the attribute is `0.123456789`.
  • If you need to scale a unit of measure, see [Scale Filter](https://docs.datadoghq.com/logs/log_configuration/parsing/?tab=filter#matcher-and-filter).

func NewLogsArithmeticProcessor ¶

func NewLogsArithmeticProcessor(expression string, target string, typeVar LogsArithmeticProcessorType) *LogsArithmeticProcessor

NewLogsArithmeticProcessor instantiates a new LogsArithmeticProcessor 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 NewLogsArithmeticProcessorWithDefaults ¶

func NewLogsArithmeticProcessorWithDefaults() *LogsArithmeticProcessor

NewLogsArithmeticProcessorWithDefaults instantiates a new LogsArithmeticProcessor 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 (*LogsArithmeticProcessor) GetExpression ¶

func (o *LogsArithmeticProcessor) GetExpression() string

GetExpression returns the Expression field value.

func (*LogsArithmeticProcessor) GetExpressionOk ¶

func (o *LogsArithmeticProcessor) GetExpressionOk() (*string, bool)

GetExpressionOk returns a tuple with the Expression field value and a boolean to check if the value has been set.

func (*LogsArithmeticProcessor) GetIsEnabled ¶

func (o *LogsArithmeticProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsArithmeticProcessor) GetIsEnabledOk ¶

func (o *LogsArithmeticProcessor) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArithmeticProcessor) GetIsReplaceMissing ¶

func (o *LogsArithmeticProcessor) GetIsReplaceMissing() bool

GetIsReplaceMissing returns the IsReplaceMissing field value if set, zero value otherwise.

func (*LogsArithmeticProcessor) GetIsReplaceMissingOk ¶

func (o *LogsArithmeticProcessor) GetIsReplaceMissingOk() (*bool, bool)

GetIsReplaceMissingOk returns a tuple with the IsReplaceMissing field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArithmeticProcessor) GetName ¶

func (o *LogsArithmeticProcessor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsArithmeticProcessor) GetNameOk ¶

func (o *LogsArithmeticProcessor) 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 (*LogsArithmeticProcessor) GetTarget ¶

func (o *LogsArithmeticProcessor) GetTarget() string

GetTarget returns the Target field value.

func (*LogsArithmeticProcessor) GetTargetOk ¶

func (o *LogsArithmeticProcessor) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsArithmeticProcessor) GetType ¶

GetType returns the Type field value.

func (*LogsArithmeticProcessor) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsArithmeticProcessor) HasIsEnabled ¶

func (o *LogsArithmeticProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsArithmeticProcessor) HasIsReplaceMissing ¶

func (o *LogsArithmeticProcessor) HasIsReplaceMissing() bool

HasIsReplaceMissing returns a boolean if a field has been set.

func (*LogsArithmeticProcessor) HasName ¶

func (o *LogsArithmeticProcessor) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsArithmeticProcessor) MarshalJSON ¶

func (o LogsArithmeticProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsArithmeticProcessor) SetExpression ¶

func (o *LogsArithmeticProcessor) SetExpression(v string)

SetExpression sets field value.

func (*LogsArithmeticProcessor) SetIsEnabled ¶

func (o *LogsArithmeticProcessor) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsArithmeticProcessor) SetIsReplaceMissing ¶

func (o *LogsArithmeticProcessor) SetIsReplaceMissing(v bool)

SetIsReplaceMissing gets a reference to the given bool and assigns it to the IsReplaceMissing field.

func (*LogsArithmeticProcessor) SetName ¶

func (o *LogsArithmeticProcessor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsArithmeticProcessor) SetTarget ¶

func (o *LogsArithmeticProcessor) SetTarget(v string)

SetTarget sets field value.

func (*LogsArithmeticProcessor) SetType ¶

SetType sets field value.

func (*LogsArithmeticProcessor) UnmarshalJSON ¶

func (o *LogsArithmeticProcessor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsArithmeticProcessorType ¶

type LogsArithmeticProcessorType string

LogsArithmeticProcessorType Type of logs arithmetic processor.

const (
	LOGSARITHMETICPROCESSORTYPE_ARITHMETIC_PROCESSOR LogsArithmeticProcessorType = "arithmetic-processor"
)

List of LogsArithmeticProcessorType.

func NewLogsArithmeticProcessorTypeFromValue ¶

func NewLogsArithmeticProcessorTypeFromValue(v string) (*LogsArithmeticProcessorType, error)

NewLogsArithmeticProcessorTypeFromValue returns a pointer to a valid LogsArithmeticProcessorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsArithmeticProcessorType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsArithmeticProcessorType) IsValid ¶

func (v LogsArithmeticProcessorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsArithmeticProcessorType) Ptr ¶

Ptr returns reference to LogsArithmeticProcessorType value.

func (*LogsArithmeticProcessorType) UnmarshalJSON ¶

func (v *LogsArithmeticProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsAttributeRemapper ¶

type LogsAttributeRemapper struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Override or not the target element if already set,
	OverrideOnConflict *bool `json:"override_on_conflict,omitempty"`
	// Remove or preserve the remapped source element.
	PreserveSource *bool `json:"preserve_source,omitempty"`
	// Defines if the sources are from log `attribute` or `tag`.
	SourceType *string `json:"source_type,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Final attribute or tag name to remap the sources to.
	Target string `json:"target"`
	// If the `target_type` of the remapper is `attribute`, try to cast the value to a new specific type.
	// If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types.
	// If the `target_type` is `tag`, this parameter may not be specified.
	TargetFormat *TargetFormatType `json:"target_format,omitempty"`
	// Defines if the final attribute or tag name is from log `attribute` or `tag`.
	TargetType *string `json:"target_type,omitempty"`
	// Type of logs attribute remapper.
	Type LogsAttributeRemapperType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAttributeRemapper The remapper processor remaps any source attribute(s) or tag to another target attribute or tag. Constraints on the tag/attribute name are explained in the [Tag Best Practice documentation](https://docs.datadoghq.com/logs/guide/log-parsing-best-practice). Some additional constraints are applied as `:` or `,` are not allowed in the target tag/attribute name.

func NewLogsAttributeRemapper ¶

func NewLogsAttributeRemapper(sources []string, target string, typeVar LogsAttributeRemapperType) *LogsAttributeRemapper

NewLogsAttributeRemapper instantiates a new LogsAttributeRemapper 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 NewLogsAttributeRemapperWithDefaults ¶

func NewLogsAttributeRemapperWithDefaults() *LogsAttributeRemapper

NewLogsAttributeRemapperWithDefaults instantiates a new LogsAttributeRemapper 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 (*LogsAttributeRemapper) GetIsEnabled ¶

func (o *LogsAttributeRemapper) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsAttributeRemapper) GetIsEnabledOk ¶

func (o *LogsAttributeRemapper) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetName ¶

func (o *LogsAttributeRemapper) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsAttributeRemapper) GetNameOk ¶

func (o *LogsAttributeRemapper) 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 (*LogsAttributeRemapper) GetOverrideOnConflict ¶

func (o *LogsAttributeRemapper) GetOverrideOnConflict() bool

GetOverrideOnConflict returns the OverrideOnConflict field value if set, zero value otherwise.

func (*LogsAttributeRemapper) GetOverrideOnConflictOk ¶

func (o *LogsAttributeRemapper) GetOverrideOnConflictOk() (*bool, bool)

GetOverrideOnConflictOk returns a tuple with the OverrideOnConflict field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetPreserveSource ¶

func (o *LogsAttributeRemapper) GetPreserveSource() bool

GetPreserveSource returns the PreserveSource field value if set, zero value otherwise.

func (*LogsAttributeRemapper) GetPreserveSourceOk ¶

func (o *LogsAttributeRemapper) GetPreserveSourceOk() (*bool, bool)

GetPreserveSourceOk returns a tuple with the PreserveSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetSourceType ¶

func (o *LogsAttributeRemapper) GetSourceType() string

GetSourceType returns the SourceType field value if set, zero value otherwise.

func (*LogsAttributeRemapper) GetSourceTypeOk ¶

func (o *LogsAttributeRemapper) GetSourceTypeOk() (*string, bool)

GetSourceTypeOk returns a tuple with the SourceType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetSources ¶

func (o *LogsAttributeRemapper) GetSources() []string

GetSources returns the Sources field value.

func (*LogsAttributeRemapper) GetSourcesOk ¶

func (o *LogsAttributeRemapper) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetTarget ¶

func (o *LogsAttributeRemapper) GetTarget() string

GetTarget returns the Target field value.

func (*LogsAttributeRemapper) GetTargetFormat ¶

func (o *LogsAttributeRemapper) GetTargetFormat() TargetFormatType

GetTargetFormat returns the TargetFormat field value if set, zero value otherwise.

func (*LogsAttributeRemapper) GetTargetFormatOk ¶

func (o *LogsAttributeRemapper) GetTargetFormatOk() (*TargetFormatType, bool)

GetTargetFormatOk returns a tuple with the TargetFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetTargetOk ¶

func (o *LogsAttributeRemapper) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetTargetType ¶

func (o *LogsAttributeRemapper) GetTargetType() string

GetTargetType returns the TargetType field value if set, zero value otherwise.

func (*LogsAttributeRemapper) GetTargetTypeOk ¶

func (o *LogsAttributeRemapper) GetTargetTypeOk() (*string, bool)

GetTargetTypeOk returns a tuple with the TargetType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) GetType ¶

GetType returns the Type field value.

func (*LogsAttributeRemapper) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsAttributeRemapper) HasIsEnabled ¶

func (o *LogsAttributeRemapper) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsAttributeRemapper) HasName ¶

func (o *LogsAttributeRemapper) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsAttributeRemapper) HasOverrideOnConflict ¶

func (o *LogsAttributeRemapper) HasOverrideOnConflict() bool

HasOverrideOnConflict returns a boolean if a field has been set.

func (*LogsAttributeRemapper) HasPreserveSource ¶

func (o *LogsAttributeRemapper) HasPreserveSource() bool

HasPreserveSource returns a boolean if a field has been set.

func (*LogsAttributeRemapper) HasSourceType ¶

func (o *LogsAttributeRemapper) HasSourceType() bool

HasSourceType returns a boolean if a field has been set.

func (*LogsAttributeRemapper) HasTargetFormat ¶

func (o *LogsAttributeRemapper) HasTargetFormat() bool

HasTargetFormat returns a boolean if a field has been set.

func (*LogsAttributeRemapper) HasTargetType ¶

func (o *LogsAttributeRemapper) HasTargetType() bool

HasTargetType returns a boolean if a field has been set.

func (LogsAttributeRemapper) MarshalJSON ¶

func (o LogsAttributeRemapper) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsAttributeRemapper) SetIsEnabled ¶

func (o *LogsAttributeRemapper) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsAttributeRemapper) SetName ¶

func (o *LogsAttributeRemapper) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsAttributeRemapper) SetOverrideOnConflict ¶

func (o *LogsAttributeRemapper) SetOverrideOnConflict(v bool)

SetOverrideOnConflict gets a reference to the given bool and assigns it to the OverrideOnConflict field.

func (*LogsAttributeRemapper) SetPreserveSource ¶

func (o *LogsAttributeRemapper) SetPreserveSource(v bool)

SetPreserveSource gets a reference to the given bool and assigns it to the PreserveSource field.

func (*LogsAttributeRemapper) SetSourceType ¶

func (o *LogsAttributeRemapper) SetSourceType(v string)

SetSourceType gets a reference to the given string and assigns it to the SourceType field.

func (*LogsAttributeRemapper) SetSources ¶

func (o *LogsAttributeRemapper) SetSources(v []string)

SetSources sets field value.

func (*LogsAttributeRemapper) SetTarget ¶

func (o *LogsAttributeRemapper) SetTarget(v string)

SetTarget sets field value.

func (*LogsAttributeRemapper) SetTargetFormat ¶

func (o *LogsAttributeRemapper) SetTargetFormat(v TargetFormatType)

SetTargetFormat gets a reference to the given TargetFormatType and assigns it to the TargetFormat field.

func (*LogsAttributeRemapper) SetTargetType ¶

func (o *LogsAttributeRemapper) SetTargetType(v string)

SetTargetType gets a reference to the given string and assigns it to the TargetType field.

func (*LogsAttributeRemapper) SetType ¶

SetType sets field value.

func (*LogsAttributeRemapper) UnmarshalJSON ¶

func (o *LogsAttributeRemapper) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsAttributeRemapperType ¶

type LogsAttributeRemapperType string

LogsAttributeRemapperType Type of logs attribute remapper.

const (
	LOGSATTRIBUTEREMAPPERTYPE_ATTRIBUTE_REMAPPER LogsAttributeRemapperType = "attribute-remapper"
)

List of LogsAttributeRemapperType.

func NewLogsAttributeRemapperTypeFromValue ¶

func NewLogsAttributeRemapperTypeFromValue(v string) (*LogsAttributeRemapperType, error)

NewLogsAttributeRemapperTypeFromValue returns a pointer to a valid LogsAttributeRemapperType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsAttributeRemapperType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsAttributeRemapperType) GetAllowedValues() []LogsAttributeRemapperType

GetAllowedValues reeturns the list of possible values.

func (LogsAttributeRemapperType) IsValid ¶

func (v LogsAttributeRemapperType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsAttributeRemapperType) Ptr ¶

Ptr returns reference to LogsAttributeRemapperType value.

func (*LogsAttributeRemapperType) UnmarshalJSON ¶

func (v *LogsAttributeRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsByRetention ¶

type LogsByRetention struct {
	// Indexed logs usage summary for each organization for each retention period with usage.
	Orgs *LogsByRetentionOrgs `json:"orgs,omitempty"`
	// Aggregated index logs usage for each retention period with usage.
	Usage []LogsRetentionAggSumUsage `json:"usage,omitempty"`
	// Object containing a summary of indexed logs usage by retention period for a single month.
	UsageByMonth *LogsByRetentionMonthlyUsage `json:"usage_by_month,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsByRetention Object containing logs usage data broken down by retention period.

func NewLogsByRetention ¶

func NewLogsByRetention() *LogsByRetention

NewLogsByRetention instantiates a new LogsByRetention 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 NewLogsByRetentionWithDefaults ¶

func NewLogsByRetentionWithDefaults() *LogsByRetention

NewLogsByRetentionWithDefaults instantiates a new LogsByRetention 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 (*LogsByRetention) GetOrgs ¶

func (o *LogsByRetention) GetOrgs() LogsByRetentionOrgs

GetOrgs returns the Orgs field value if set, zero value otherwise.

func (*LogsByRetention) GetOrgsOk ¶

func (o *LogsByRetention) GetOrgsOk() (*LogsByRetentionOrgs, bool)

GetOrgsOk returns a tuple with the Orgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsByRetention) GetUsage ¶

func (o *LogsByRetention) GetUsage() []LogsRetentionAggSumUsage

GetUsage returns the Usage field value if set, zero value otherwise.

func (*LogsByRetention) GetUsageByMonth ¶

func (o *LogsByRetention) GetUsageByMonth() LogsByRetentionMonthlyUsage

GetUsageByMonth returns the UsageByMonth field value if set, zero value otherwise.

func (*LogsByRetention) GetUsageByMonthOk ¶

func (o *LogsByRetention) GetUsageByMonthOk() (*LogsByRetentionMonthlyUsage, bool)

GetUsageByMonthOk returns a tuple with the UsageByMonth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsByRetention) GetUsageOk ¶

func (o *LogsByRetention) GetUsageOk() (*[]LogsRetentionAggSumUsage, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsByRetention) HasOrgs ¶

func (o *LogsByRetention) HasOrgs() bool

HasOrgs returns a boolean if a field has been set.

func (*LogsByRetention) HasUsage ¶

func (o *LogsByRetention) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (*LogsByRetention) HasUsageByMonth ¶

func (o *LogsByRetention) HasUsageByMonth() bool

HasUsageByMonth returns a boolean if a field has been set.

func (LogsByRetention) MarshalJSON ¶

func (o LogsByRetention) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsByRetention) SetOrgs ¶

func (o *LogsByRetention) SetOrgs(v LogsByRetentionOrgs)

SetOrgs gets a reference to the given LogsByRetentionOrgs and assigns it to the Orgs field.

func (*LogsByRetention) SetUsage ¶

func (o *LogsByRetention) SetUsage(v []LogsRetentionAggSumUsage)

SetUsage gets a reference to the given []LogsRetentionAggSumUsage and assigns it to the Usage field.

func (*LogsByRetention) SetUsageByMonth ¶

func (o *LogsByRetention) SetUsageByMonth(v LogsByRetentionMonthlyUsage)

SetUsageByMonth gets a reference to the given LogsByRetentionMonthlyUsage and assigns it to the UsageByMonth field.

func (*LogsByRetention) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsByRetention) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsByRetentionMonthlyUsage ¶

type LogsByRetentionMonthlyUsage struct {
	// The month for the usage.
	Date *time.Time `json:"date,omitempty"`
	// Indexed logs usage for each active retention for the month.
	Usage []LogsRetentionSumUsage `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsByRetentionMonthlyUsage Object containing a summary of indexed logs usage by retention period for a single month.

func NewLogsByRetentionMonthlyUsage ¶

func NewLogsByRetentionMonthlyUsage() *LogsByRetentionMonthlyUsage

NewLogsByRetentionMonthlyUsage instantiates a new LogsByRetentionMonthlyUsage 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 NewLogsByRetentionMonthlyUsageWithDefaults ¶

func NewLogsByRetentionMonthlyUsageWithDefaults() *LogsByRetentionMonthlyUsage

NewLogsByRetentionMonthlyUsageWithDefaults instantiates a new LogsByRetentionMonthlyUsage 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 (*LogsByRetentionMonthlyUsage) GetDate ¶

func (o *LogsByRetentionMonthlyUsage) GetDate() time.Time

GetDate returns the Date field value if set, zero value otherwise.

func (*LogsByRetentionMonthlyUsage) GetDateOk ¶

func (o *LogsByRetentionMonthlyUsage) GetDateOk() (*time.Time, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsByRetentionMonthlyUsage) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*LogsByRetentionMonthlyUsage) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsByRetentionMonthlyUsage) HasDate ¶

func (o *LogsByRetentionMonthlyUsage) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*LogsByRetentionMonthlyUsage) HasUsage ¶

func (o *LogsByRetentionMonthlyUsage) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (LogsByRetentionMonthlyUsage) MarshalJSON ¶

func (o LogsByRetentionMonthlyUsage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsByRetentionMonthlyUsage) SetDate ¶

func (o *LogsByRetentionMonthlyUsage) SetDate(v time.Time)

SetDate gets a reference to the given time.Time and assigns it to the Date field.

func (*LogsByRetentionMonthlyUsage) SetUsage ¶

SetUsage gets a reference to the given []LogsRetentionSumUsage and assigns it to the Usage field.

func (*LogsByRetentionMonthlyUsage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsByRetentionMonthlyUsage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsByRetentionOrgUsage ¶

type LogsByRetentionOrgUsage struct {
	// Indexed logs usage for each active retention for the organization.
	Usage []LogsRetentionSumUsage `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsByRetentionOrgUsage Indexed logs usage by retention for a single organization.

func NewLogsByRetentionOrgUsage ¶

func NewLogsByRetentionOrgUsage() *LogsByRetentionOrgUsage

NewLogsByRetentionOrgUsage instantiates a new LogsByRetentionOrgUsage 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 NewLogsByRetentionOrgUsageWithDefaults ¶

func NewLogsByRetentionOrgUsageWithDefaults() *LogsByRetentionOrgUsage

NewLogsByRetentionOrgUsageWithDefaults instantiates a new LogsByRetentionOrgUsage 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 (*LogsByRetentionOrgUsage) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*LogsByRetentionOrgUsage) GetUsageOk ¶

func (o *LogsByRetentionOrgUsage) GetUsageOk() (*[]LogsRetentionSumUsage, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsByRetentionOrgUsage) HasUsage ¶

func (o *LogsByRetentionOrgUsage) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (LogsByRetentionOrgUsage) MarshalJSON ¶

func (o LogsByRetentionOrgUsage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsByRetentionOrgUsage) SetUsage ¶

SetUsage gets a reference to the given []LogsRetentionSumUsage and assigns it to the Usage field.

func (*LogsByRetentionOrgUsage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsByRetentionOrgUsage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsByRetentionOrgs ¶

type LogsByRetentionOrgs struct {
	// Indexed logs usage summary for each organization.
	Usage []LogsByRetentionOrgUsage `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsByRetentionOrgs Indexed logs usage summary for each organization for each retention period with usage.

func NewLogsByRetentionOrgs ¶

func NewLogsByRetentionOrgs() *LogsByRetentionOrgs

NewLogsByRetentionOrgs instantiates a new LogsByRetentionOrgs 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 NewLogsByRetentionOrgsWithDefaults ¶

func NewLogsByRetentionOrgsWithDefaults() *LogsByRetentionOrgs

NewLogsByRetentionOrgsWithDefaults instantiates a new LogsByRetentionOrgs 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 (*LogsByRetentionOrgs) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*LogsByRetentionOrgs) GetUsageOk ¶

func (o *LogsByRetentionOrgs) GetUsageOk() (*[]LogsByRetentionOrgUsage, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsByRetentionOrgs) HasUsage ¶

func (o *LogsByRetentionOrgs) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (LogsByRetentionOrgs) MarshalJSON ¶

func (o LogsByRetentionOrgs) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsByRetentionOrgs) SetUsage ¶

SetUsage gets a reference to the given []LogsByRetentionOrgUsage and assigns it to the Usage field.

func (*LogsByRetentionOrgs) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsByRetentionOrgs) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsCategoryProcessor ¶

type LogsCategoryProcessor struct {
	// Array of filters to match or not a log and their
	// corresponding `name` to assign a custom value to the log.
	Categories []LogsCategoryProcessorCategory `json:"categories"`
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Name of the target attribute which value is defined by the matching category.
	Target string `json:"target"`
	// Type of logs category processor.
	Type LogsCategoryProcessorType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsCategoryProcessor Use the Category Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log matching a provided search query. Use categories to create groups for an analytical view. For example, URL groups, machine groups, environments, and response time buckets.

**Notes**:

  • The syntax of the query is the one of Logs Explorer search bar. The query can be done on any log attribute or tag, whether it is a facet or not. Wildcards can also be used inside your query.
  • Once the log has matched one of the Processor queries, it stops. Make sure they are properly ordered in case a log could match several queries.
  • The names of the categories must be unique.
  • Once defined in the Category Processor, you can map categories to log status using the Log Status Remapper.

func NewLogsCategoryProcessor ¶

func NewLogsCategoryProcessor(categories []LogsCategoryProcessorCategory, target string, typeVar LogsCategoryProcessorType) *LogsCategoryProcessor

NewLogsCategoryProcessor instantiates a new LogsCategoryProcessor 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 NewLogsCategoryProcessorWithDefaults ¶

func NewLogsCategoryProcessorWithDefaults() *LogsCategoryProcessor

NewLogsCategoryProcessorWithDefaults instantiates a new LogsCategoryProcessor 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 (*LogsCategoryProcessor) GetCategories ¶

GetCategories returns the Categories field value.

func (*LogsCategoryProcessor) GetCategoriesOk ¶

func (o *LogsCategoryProcessor) GetCategoriesOk() (*[]LogsCategoryProcessorCategory, bool)

GetCategoriesOk returns a tuple with the Categories field value and a boolean to check if the value has been set.

func (*LogsCategoryProcessor) GetIsEnabled ¶

func (o *LogsCategoryProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsCategoryProcessor) GetIsEnabledOk ¶

func (o *LogsCategoryProcessor) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCategoryProcessor) GetName ¶

func (o *LogsCategoryProcessor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsCategoryProcessor) GetNameOk ¶

func (o *LogsCategoryProcessor) 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 (*LogsCategoryProcessor) GetTarget ¶

func (o *LogsCategoryProcessor) GetTarget() string

GetTarget returns the Target field value.

func (*LogsCategoryProcessor) GetTargetOk ¶

func (o *LogsCategoryProcessor) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsCategoryProcessor) GetType ¶

GetType returns the Type field value.

func (*LogsCategoryProcessor) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsCategoryProcessor) HasIsEnabled ¶

func (o *LogsCategoryProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsCategoryProcessor) HasName ¶

func (o *LogsCategoryProcessor) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsCategoryProcessor) MarshalJSON ¶

func (o LogsCategoryProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsCategoryProcessor) SetCategories ¶

SetCategories sets field value.

func (*LogsCategoryProcessor) SetIsEnabled ¶

func (o *LogsCategoryProcessor) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsCategoryProcessor) SetName ¶

func (o *LogsCategoryProcessor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsCategoryProcessor) SetTarget ¶

func (o *LogsCategoryProcessor) SetTarget(v string)

SetTarget sets field value.

func (*LogsCategoryProcessor) SetType ¶

SetType sets field value.

func (*LogsCategoryProcessor) UnmarshalJSON ¶

func (o *LogsCategoryProcessor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsCategoryProcessorCategory ¶

type LogsCategoryProcessorCategory struct {
	// Filter for logs.
	Filter *LogsFilter `json:"filter,omitempty"`
	// Value to assign to the target attribute.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsCategoryProcessorCategory Object describing the logs filter.

func NewLogsCategoryProcessorCategory ¶

func NewLogsCategoryProcessorCategory() *LogsCategoryProcessorCategory

NewLogsCategoryProcessorCategory instantiates a new LogsCategoryProcessorCategory 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 NewLogsCategoryProcessorCategoryWithDefaults ¶

func NewLogsCategoryProcessorCategoryWithDefaults() *LogsCategoryProcessorCategory

NewLogsCategoryProcessorCategoryWithDefaults instantiates a new LogsCategoryProcessorCategory 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 (*LogsCategoryProcessorCategory) GetFilter ¶

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsCategoryProcessorCategory) GetFilterOk ¶

func (o *LogsCategoryProcessorCategory) GetFilterOk() (*LogsFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCategoryProcessorCategory) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*LogsCategoryProcessorCategory) GetNameOk ¶

func (o *LogsCategoryProcessorCategory) 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 (*LogsCategoryProcessorCategory) HasFilter ¶

func (o *LogsCategoryProcessorCategory) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsCategoryProcessorCategory) HasName ¶

func (o *LogsCategoryProcessorCategory) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsCategoryProcessorCategory) MarshalJSON ¶

func (o LogsCategoryProcessorCategory) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsCategoryProcessorCategory) SetFilter ¶

func (o *LogsCategoryProcessorCategory) SetFilter(v LogsFilter)

SetFilter gets a reference to the given LogsFilter and assigns it to the Filter field.

func (*LogsCategoryProcessorCategory) SetName ¶

func (o *LogsCategoryProcessorCategory) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsCategoryProcessorCategory) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsCategoryProcessorCategory) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsCategoryProcessorType ¶

type LogsCategoryProcessorType string

LogsCategoryProcessorType Type of logs category processor.

const (
	LOGSCATEGORYPROCESSORTYPE_CATEGORY_PROCESSOR LogsCategoryProcessorType = "category-processor"
)

List of LogsCategoryProcessorType.

func NewLogsCategoryProcessorTypeFromValue ¶

func NewLogsCategoryProcessorTypeFromValue(v string) (*LogsCategoryProcessorType, error)

NewLogsCategoryProcessorTypeFromValue returns a pointer to a valid LogsCategoryProcessorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsCategoryProcessorType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsCategoryProcessorType) GetAllowedValues() []LogsCategoryProcessorType

GetAllowedValues reeturns the list of possible values.

func (LogsCategoryProcessorType) IsValid ¶

func (v LogsCategoryProcessorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsCategoryProcessorType) Ptr ¶

Ptr returns reference to LogsCategoryProcessorType value.

func (*LogsCategoryProcessorType) UnmarshalJSON ¶

func (v *LogsCategoryProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsDateRemapper ¶

type LogsDateRemapper struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Type of logs date remapper.
	Type LogsDateRemapperType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsDateRemapper As Datadog receives logs, it timestamps them using the value(s) from any of these default attributes.

  • `timestamp`

  • `date`

  • `_timestamp`

  • `Timestamp`

  • `eventTime`

  • `published_date`

    If your logs put their dates in an attribute not in this list, use the log date Remapper Processor to define their date attribute as the official log timestamp. The recognized date formats are ISO8601, UNIX (the milliseconds EPOCH format), and RFC3164.

    **Note:** If your logs don’t contain any of the default attributes and you haven’t defined your own date attribute, Datadog timestamps the logs with the date it received them.

    If multiple log date remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account.

func NewLogsDateRemapper ¶

func NewLogsDateRemapper(sources []string, typeVar LogsDateRemapperType) *LogsDateRemapper

NewLogsDateRemapper instantiates a new LogsDateRemapper 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 NewLogsDateRemapperWithDefaults ¶

func NewLogsDateRemapperWithDefaults() *LogsDateRemapper

NewLogsDateRemapperWithDefaults instantiates a new LogsDateRemapper 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 (*LogsDateRemapper) GetIsEnabled ¶

func (o *LogsDateRemapper) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsDateRemapper) GetIsEnabledOk ¶

func (o *LogsDateRemapper) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsDateRemapper) GetName ¶

func (o *LogsDateRemapper) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsDateRemapper) GetNameOk ¶

func (o *LogsDateRemapper) 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 (*LogsDateRemapper) GetSources ¶

func (o *LogsDateRemapper) GetSources() []string

GetSources returns the Sources field value.

func (*LogsDateRemapper) GetSourcesOk ¶

func (o *LogsDateRemapper) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsDateRemapper) GetType ¶

GetType returns the Type field value.

func (*LogsDateRemapper) GetTypeOk ¶

func (o *LogsDateRemapper) GetTypeOk() (*LogsDateRemapperType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsDateRemapper) HasIsEnabled ¶

func (o *LogsDateRemapper) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsDateRemapper) HasName ¶

func (o *LogsDateRemapper) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsDateRemapper) MarshalJSON ¶

func (o LogsDateRemapper) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsDateRemapper) SetIsEnabled ¶

func (o *LogsDateRemapper) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsDateRemapper) SetName ¶

func (o *LogsDateRemapper) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsDateRemapper) SetSources ¶

func (o *LogsDateRemapper) SetSources(v []string)

SetSources sets field value.

func (*LogsDateRemapper) SetType ¶

func (o *LogsDateRemapper) SetType(v LogsDateRemapperType)

SetType sets field value.

func (*LogsDateRemapper) UnmarshalJSON ¶

func (o *LogsDateRemapper) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsDateRemapperType ¶

type LogsDateRemapperType string

LogsDateRemapperType Type of logs date remapper.

const (
	LOGSDATEREMAPPERTYPE_DATE_REMAPPER LogsDateRemapperType = "date-remapper"
)

List of LogsDateRemapperType.

func NewLogsDateRemapperTypeFromValue ¶

func NewLogsDateRemapperTypeFromValue(v string) (*LogsDateRemapperType, error)

NewLogsDateRemapperTypeFromValue returns a pointer to a valid LogsDateRemapperType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsDateRemapperType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsDateRemapperType) GetAllowedValues() []LogsDateRemapperType

GetAllowedValues reeturns the list of possible values.

func (LogsDateRemapperType) IsValid ¶

func (v LogsDateRemapperType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsDateRemapperType) Ptr ¶

Ptr returns reference to LogsDateRemapperType value.

func (*LogsDateRemapperType) UnmarshalJSON ¶

func (v *LogsDateRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsExclusion ¶

type LogsExclusion struct {
	// Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
	Filter *LogsExclusionFilter `json:"filter,omitempty"`
	// Whether or not the exclusion filter is active.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the index exclusion filter.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsExclusion Represents the index exclusion filter object from configuration API.

func NewLogsExclusion ¶

func NewLogsExclusion(name string) *LogsExclusion

NewLogsExclusion instantiates a new LogsExclusion 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 NewLogsExclusionWithDefaults ¶

func NewLogsExclusionWithDefaults() *LogsExclusion

NewLogsExclusionWithDefaults instantiates a new LogsExclusion 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 (*LogsExclusion) GetFilter ¶

func (o *LogsExclusion) GetFilter() LogsExclusionFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsExclusion) GetFilterOk ¶

func (o *LogsExclusion) GetFilterOk() (*LogsExclusionFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsExclusion) GetIsEnabled ¶

func (o *LogsExclusion) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsExclusion) GetIsEnabledOk ¶

func (o *LogsExclusion) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsExclusion) GetName ¶

func (o *LogsExclusion) GetName() string

GetName returns the Name field value.

func (*LogsExclusion) GetNameOk ¶

func (o *LogsExclusion) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LogsExclusion) HasFilter ¶

func (o *LogsExclusion) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsExclusion) HasIsEnabled ¶

func (o *LogsExclusion) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (LogsExclusion) MarshalJSON ¶

func (o LogsExclusion) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsExclusion) SetFilter ¶

func (o *LogsExclusion) SetFilter(v LogsExclusionFilter)

SetFilter gets a reference to the given LogsExclusionFilter and assigns it to the Filter field.

func (*LogsExclusion) SetIsEnabled ¶

func (o *LogsExclusion) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsExclusion) SetName ¶

func (o *LogsExclusion) SetName(v string)

SetName sets field value.

func (*LogsExclusion) UnmarshalJSON ¶

func (o *LogsExclusion) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsExclusionFilter ¶

type LogsExclusionFilter struct {
	// Default query is `*`, meaning all logs flowing in the index would be excluded.
	// Scope down exclusion filter to only a subset of logs with a log query.
	Query *string `json:"query,omitempty"`
	// Sample rate to apply to logs going through this exclusion filter,
	// a value of 1.0 excludes all logs matching the query.
	SampleRate float64 `json:"sample_rate"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsExclusionFilter Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.

func NewLogsExclusionFilter ¶

func NewLogsExclusionFilter(sampleRate float64) *LogsExclusionFilter

NewLogsExclusionFilter instantiates a new LogsExclusionFilter 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 NewLogsExclusionFilterWithDefaults ¶

func NewLogsExclusionFilterWithDefaults() *LogsExclusionFilter

NewLogsExclusionFilterWithDefaults instantiates a new LogsExclusionFilter 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 (*LogsExclusionFilter) GetQuery ¶

func (o *LogsExclusionFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogsExclusionFilter) GetQueryOk ¶

func (o *LogsExclusionFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsExclusionFilter) GetSampleRate ¶

func (o *LogsExclusionFilter) GetSampleRate() float64

GetSampleRate returns the SampleRate field value.

func (*LogsExclusionFilter) GetSampleRateOk ¶

func (o *LogsExclusionFilter) GetSampleRateOk() (*float64, bool)

GetSampleRateOk returns a tuple with the SampleRate field value and a boolean to check if the value has been set.

func (*LogsExclusionFilter) HasQuery ¶

func (o *LogsExclusionFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (LogsExclusionFilter) MarshalJSON ¶

func (o LogsExclusionFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsExclusionFilter) SetQuery ¶

func (o *LogsExclusionFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsExclusionFilter) SetSampleRate ¶

func (o *LogsExclusionFilter) SetSampleRate(v float64)

SetSampleRate sets field value.

func (*LogsExclusionFilter) UnmarshalJSON ¶

func (o *LogsExclusionFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsFilter ¶

type LogsFilter struct {
	// The filter query.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsFilter Filter for logs.

func NewLogsFilter ¶

func NewLogsFilter() *LogsFilter

NewLogsFilter instantiates a new LogsFilter 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 NewLogsFilterWithDefaults ¶

func NewLogsFilterWithDefaults() *LogsFilter

NewLogsFilterWithDefaults instantiates a new LogsFilter 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 (*LogsFilter) GetQuery ¶

func (o *LogsFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogsFilter) GetQueryOk ¶

func (o *LogsFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsFilter) HasQuery ¶

func (o *LogsFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (LogsFilter) MarshalJSON ¶

func (o LogsFilter) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsFilter) SetQuery ¶

func (o *LogsFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsFilter) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsGeoIPParser ¶

type LogsGeoIPParser struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Name of the parent attribute that contains all the extracted details from the `sources`.
	Target string `json:"target"`
	// Type of GeoIP parser.
	Type LogsGeoIPParserType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsGeoIPParser The GeoIP parser takes an IP address attribute and extracts if available the Continent, Country, Subdivision, and City information in the target attribute path.

func NewLogsGeoIPParser ¶

func NewLogsGeoIPParser(sources []string, target string, typeVar LogsGeoIPParserType) *LogsGeoIPParser

NewLogsGeoIPParser instantiates a new LogsGeoIPParser 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 NewLogsGeoIPParserWithDefaults ¶

func NewLogsGeoIPParserWithDefaults() *LogsGeoIPParser

NewLogsGeoIPParserWithDefaults instantiates a new LogsGeoIPParser 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 (*LogsGeoIPParser) GetIsEnabled ¶

func (o *LogsGeoIPParser) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsGeoIPParser) GetIsEnabledOk ¶

func (o *LogsGeoIPParser) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGeoIPParser) GetName ¶

func (o *LogsGeoIPParser) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsGeoIPParser) GetNameOk ¶

func (o *LogsGeoIPParser) 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 (*LogsGeoIPParser) GetSources ¶

func (o *LogsGeoIPParser) GetSources() []string

GetSources returns the Sources field value.

func (*LogsGeoIPParser) GetSourcesOk ¶

func (o *LogsGeoIPParser) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsGeoIPParser) GetTarget ¶

func (o *LogsGeoIPParser) GetTarget() string

GetTarget returns the Target field value.

func (*LogsGeoIPParser) GetTargetOk ¶

func (o *LogsGeoIPParser) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsGeoIPParser) GetType ¶

func (o *LogsGeoIPParser) GetType() LogsGeoIPParserType

GetType returns the Type field value.

func (*LogsGeoIPParser) GetTypeOk ¶

func (o *LogsGeoIPParser) GetTypeOk() (*LogsGeoIPParserType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsGeoIPParser) HasIsEnabled ¶

func (o *LogsGeoIPParser) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsGeoIPParser) HasName ¶

func (o *LogsGeoIPParser) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsGeoIPParser) MarshalJSON ¶

func (o LogsGeoIPParser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsGeoIPParser) SetIsEnabled ¶

func (o *LogsGeoIPParser) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsGeoIPParser) SetName ¶

func (o *LogsGeoIPParser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsGeoIPParser) SetSources ¶

func (o *LogsGeoIPParser) SetSources(v []string)

SetSources sets field value.

func (*LogsGeoIPParser) SetTarget ¶

func (o *LogsGeoIPParser) SetTarget(v string)

SetTarget sets field value.

func (*LogsGeoIPParser) SetType ¶

func (o *LogsGeoIPParser) SetType(v LogsGeoIPParserType)

SetType sets field value.

func (*LogsGeoIPParser) UnmarshalJSON ¶

func (o *LogsGeoIPParser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsGeoIPParserType ¶

type LogsGeoIPParserType string

LogsGeoIPParserType Type of GeoIP parser.

const (
	LOGSGEOIPPARSERTYPE_GEO_IP_PARSER LogsGeoIPParserType = "geo-ip-parser"
)

List of LogsGeoIPParserType.

func NewLogsGeoIPParserTypeFromValue ¶

func NewLogsGeoIPParserTypeFromValue(v string) (*LogsGeoIPParserType, error)

NewLogsGeoIPParserTypeFromValue returns a pointer to a valid LogsGeoIPParserType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsGeoIPParserType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsGeoIPParserType) GetAllowedValues() []LogsGeoIPParserType

GetAllowedValues reeturns the list of possible values.

func (LogsGeoIPParserType) IsValid ¶

func (v LogsGeoIPParserType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsGeoIPParserType) Ptr ¶

Ptr returns reference to LogsGeoIPParserType value.

func (*LogsGeoIPParserType) UnmarshalJSON ¶

func (v *LogsGeoIPParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsGrokParser ¶

type LogsGrokParser struct {
	// Set of rules for the grok parser.
	Grok LogsGrokParserRules `json:"grok"`
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// List of sample logs to test this grok parser.
	Samples []string `json:"samples,omitempty"`
	// Name of the log attribute to parse.
	Source string `json:"source"`
	// Type of logs grok parser.
	Type LogsGrokParserType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsGrokParser Create custom grok rules to parse the full message or [a specific attribute of your raw event](https://docs.datadoghq.com/logs/log_configuration/parsing/#advanced-settings). For more information, see the [parsing section](https://docs.datadoghq.com/logs/log_configuration/parsing).

func NewLogsGrokParser ¶

func NewLogsGrokParser(grok LogsGrokParserRules, source string, typeVar LogsGrokParserType) *LogsGrokParser

NewLogsGrokParser instantiates a new LogsGrokParser 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 NewLogsGrokParserWithDefaults ¶

func NewLogsGrokParserWithDefaults() *LogsGrokParser

NewLogsGrokParserWithDefaults instantiates a new LogsGrokParser 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 (*LogsGrokParser) GetGrok ¶

func (o *LogsGrokParser) GetGrok() LogsGrokParserRules

GetGrok returns the Grok field value.

func (*LogsGrokParser) GetGrokOk ¶

func (o *LogsGrokParser) GetGrokOk() (*LogsGrokParserRules, bool)

GetGrokOk returns a tuple with the Grok field value and a boolean to check if the value has been set.

func (*LogsGrokParser) GetIsEnabled ¶

func (o *LogsGrokParser) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsGrokParser) GetIsEnabledOk ¶

func (o *LogsGrokParser) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGrokParser) GetName ¶

func (o *LogsGrokParser) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsGrokParser) GetNameOk ¶

func (o *LogsGrokParser) 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 (*LogsGrokParser) GetSamples ¶

func (o *LogsGrokParser) GetSamples() []string

GetSamples returns the Samples field value if set, zero value otherwise.

func (*LogsGrokParser) GetSamplesOk ¶

func (o *LogsGrokParser) GetSamplesOk() (*[]string, bool)

GetSamplesOk returns a tuple with the Samples field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGrokParser) GetSource ¶

func (o *LogsGrokParser) GetSource() string

GetSource returns the Source field value.

func (*LogsGrokParser) GetSourceOk ¶

func (o *LogsGrokParser) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.

func (*LogsGrokParser) GetType ¶

func (o *LogsGrokParser) GetType() LogsGrokParserType

GetType returns the Type field value.

func (*LogsGrokParser) GetTypeOk ¶

func (o *LogsGrokParser) GetTypeOk() (*LogsGrokParserType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsGrokParser) HasIsEnabled ¶

func (o *LogsGrokParser) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsGrokParser) HasName ¶

func (o *LogsGrokParser) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsGrokParser) HasSamples ¶

func (o *LogsGrokParser) HasSamples() bool

HasSamples returns a boolean if a field has been set.

func (LogsGrokParser) MarshalJSON ¶

func (o LogsGrokParser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsGrokParser) SetGrok ¶

func (o *LogsGrokParser) SetGrok(v LogsGrokParserRules)

SetGrok sets field value.

func (*LogsGrokParser) SetIsEnabled ¶

func (o *LogsGrokParser) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsGrokParser) SetName ¶

func (o *LogsGrokParser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsGrokParser) SetSamples ¶

func (o *LogsGrokParser) SetSamples(v []string)

SetSamples gets a reference to the given []string and assigns it to the Samples field.

func (*LogsGrokParser) SetSource ¶

func (o *LogsGrokParser) SetSource(v string)

SetSource sets field value.

func (*LogsGrokParser) SetType ¶

func (o *LogsGrokParser) SetType(v LogsGrokParserType)

SetType sets field value.

func (*LogsGrokParser) UnmarshalJSON ¶

func (o *LogsGrokParser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsGrokParserRules ¶

type LogsGrokParserRules struct {
	// List of match rules for the grok parser, separated by a new line.
	MatchRules string `json:"match_rules"`
	// List of support rules for the grok parser, separated by a new line.
	SupportRules *string `json:"support_rules,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsGrokParserRules Set of rules for the grok parser.

func NewLogsGrokParserRules ¶

func NewLogsGrokParserRules(matchRules string) *LogsGrokParserRules

NewLogsGrokParserRules instantiates a new LogsGrokParserRules 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 NewLogsGrokParserRulesWithDefaults ¶

func NewLogsGrokParserRulesWithDefaults() *LogsGrokParserRules

NewLogsGrokParserRulesWithDefaults instantiates a new LogsGrokParserRules 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 (*LogsGrokParserRules) GetMatchRules ¶

func (o *LogsGrokParserRules) GetMatchRules() string

GetMatchRules returns the MatchRules field value.

func (*LogsGrokParserRules) GetMatchRulesOk ¶

func (o *LogsGrokParserRules) GetMatchRulesOk() (*string, bool)

GetMatchRulesOk returns a tuple with the MatchRules field value and a boolean to check if the value has been set.

func (*LogsGrokParserRules) GetSupportRules ¶

func (o *LogsGrokParserRules) GetSupportRules() string

GetSupportRules returns the SupportRules field value if set, zero value otherwise.

func (*LogsGrokParserRules) GetSupportRulesOk ¶

func (o *LogsGrokParserRules) GetSupportRulesOk() (*string, bool)

GetSupportRulesOk returns a tuple with the SupportRules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsGrokParserRules) HasSupportRules ¶

func (o *LogsGrokParserRules) HasSupportRules() bool

HasSupportRules returns a boolean if a field has been set.

func (LogsGrokParserRules) MarshalJSON ¶

func (o LogsGrokParserRules) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsGrokParserRules) SetMatchRules ¶

func (o *LogsGrokParserRules) SetMatchRules(v string)

SetMatchRules sets field value.

func (*LogsGrokParserRules) SetSupportRules ¶

func (o *LogsGrokParserRules) SetSupportRules(v string)

SetSupportRules gets a reference to the given string and assigns it to the SupportRules field.

func (*LogsGrokParserRules) UnmarshalJSON ¶

func (o *LogsGrokParserRules) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsGrokParserType ¶

type LogsGrokParserType string

LogsGrokParserType Type of logs grok parser.

const (
	LOGSGROKPARSERTYPE_GROK_PARSER LogsGrokParserType = "grok-parser"
)

List of LogsGrokParserType.

func NewLogsGrokParserTypeFromValue ¶

func NewLogsGrokParserTypeFromValue(v string) (*LogsGrokParserType, error)

NewLogsGrokParserTypeFromValue returns a pointer to a valid LogsGrokParserType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsGrokParserType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsGrokParserType) GetAllowedValues() []LogsGrokParserType

GetAllowedValues reeturns the list of possible values.

func (LogsGrokParserType) IsValid ¶

func (v LogsGrokParserType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsGrokParserType) Ptr ¶

Ptr returns reference to LogsGrokParserType value.

func (*LogsGrokParserType) UnmarshalJSON ¶

func (v *LogsGrokParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsIndex ¶

type LogsIndex struct {
	// The number of log events you can send in this index per day before you are rate-limited.
	DailyLimit *int64 `json:"daily_limit,omitempty"`
	// An array of exclusion objects. The logs are tested against the query of each filter,
	// following the order of the array. Only the first matching active exclusion matters,
	// others (if any) are ignored.
	ExclusionFilters []LogsExclusion `json:"exclusion_filters,omitempty"`
	// Filter for logs.
	Filter LogsFilter `json:"filter"`
	// A boolean stating if the index is rate limited, meaning more logs than the daily limit have been sent.
	// Rate limit is reset every-day at 2pm UTC.
	IsRateLimited *bool `json:"is_rate_limited,omitempty"`
	// The name of the index.
	Name string `json:"name"`
	// The number of days before logs are deleted from this index. Available values depend on
	// retention plans specified in your organization's contract/subscriptions.
	NumRetentionDays *int64 `json:"num_retention_days,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsIndex Object describing a Datadog Log index.

func NewLogsIndex ¶

func NewLogsIndex(filter LogsFilter, name string) *LogsIndex

NewLogsIndex instantiates a new LogsIndex 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 NewLogsIndexWithDefaults ¶

func NewLogsIndexWithDefaults() *LogsIndex

NewLogsIndexWithDefaults instantiates a new LogsIndex 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 (*LogsIndex) GetDailyLimit ¶

func (o *LogsIndex) GetDailyLimit() int64

GetDailyLimit returns the DailyLimit field value if set, zero value otherwise.

func (*LogsIndex) GetDailyLimitOk ¶

func (o *LogsIndex) GetDailyLimitOk() (*int64, bool)

GetDailyLimitOk returns a tuple with the DailyLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndex) GetExclusionFilters ¶

func (o *LogsIndex) GetExclusionFilters() []LogsExclusion

GetExclusionFilters returns the ExclusionFilters field value if set, zero value otherwise.

func (*LogsIndex) GetExclusionFiltersOk ¶

func (o *LogsIndex) GetExclusionFiltersOk() (*[]LogsExclusion, bool)

GetExclusionFiltersOk returns a tuple with the ExclusionFilters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndex) GetFilter ¶

func (o *LogsIndex) GetFilter() LogsFilter

GetFilter returns the Filter field value.

func (*LogsIndex) GetFilterOk ¶

func (o *LogsIndex) GetFilterOk() (*LogsFilter, bool)

GetFilterOk returns a tuple with the Filter field value and a boolean to check if the value has been set.

func (*LogsIndex) GetIsRateLimited ¶

func (o *LogsIndex) GetIsRateLimited() bool

GetIsRateLimited returns the IsRateLimited field value if set, zero value otherwise.

func (*LogsIndex) GetIsRateLimitedOk ¶

func (o *LogsIndex) GetIsRateLimitedOk() (*bool, bool)

GetIsRateLimitedOk returns a tuple with the IsRateLimited field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndex) GetName ¶

func (o *LogsIndex) GetName() string

GetName returns the Name field value.

func (*LogsIndex) GetNameOk ¶

func (o *LogsIndex) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LogsIndex) GetNumRetentionDays ¶

func (o *LogsIndex) GetNumRetentionDays() int64

GetNumRetentionDays returns the NumRetentionDays field value if set, zero value otherwise.

func (*LogsIndex) GetNumRetentionDaysOk ¶

func (o *LogsIndex) GetNumRetentionDaysOk() (*int64, bool)

GetNumRetentionDaysOk returns a tuple with the NumRetentionDays field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndex) HasDailyLimit ¶

func (o *LogsIndex) HasDailyLimit() bool

HasDailyLimit returns a boolean if a field has been set.

func (*LogsIndex) HasExclusionFilters ¶

func (o *LogsIndex) HasExclusionFilters() bool

HasExclusionFilters returns a boolean if a field has been set.

func (*LogsIndex) HasIsRateLimited ¶

func (o *LogsIndex) HasIsRateLimited() bool

HasIsRateLimited returns a boolean if a field has been set.

func (*LogsIndex) HasNumRetentionDays ¶

func (o *LogsIndex) HasNumRetentionDays() bool

HasNumRetentionDays returns a boolean if a field has been set.

func (LogsIndex) MarshalJSON ¶

func (o LogsIndex) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsIndex) SetDailyLimit ¶

func (o *LogsIndex) SetDailyLimit(v int64)

SetDailyLimit gets a reference to the given int64 and assigns it to the DailyLimit field.

func (*LogsIndex) SetExclusionFilters ¶

func (o *LogsIndex) SetExclusionFilters(v []LogsExclusion)

SetExclusionFilters gets a reference to the given []LogsExclusion and assigns it to the ExclusionFilters field.

func (*LogsIndex) SetFilter ¶

func (o *LogsIndex) SetFilter(v LogsFilter)

SetFilter sets field value.

func (*LogsIndex) SetIsRateLimited ¶

func (o *LogsIndex) SetIsRateLimited(v bool)

SetIsRateLimited gets a reference to the given bool and assigns it to the IsRateLimited field.

func (*LogsIndex) SetName ¶

func (o *LogsIndex) SetName(v string)

SetName sets field value.

func (*LogsIndex) SetNumRetentionDays ¶

func (o *LogsIndex) SetNumRetentionDays(v int64)

SetNumRetentionDays gets a reference to the given int64 and assigns it to the NumRetentionDays field.

func (*LogsIndex) UnmarshalJSON ¶

func (o *LogsIndex) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsIndexListResponse ¶

type LogsIndexListResponse struct {
	// Array of Log index configurations.
	Indexes []LogsIndex `json:"indexes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsIndexListResponse Object with all Index configurations for a given organization.

func NewLogsIndexListResponse ¶

func NewLogsIndexListResponse() *LogsIndexListResponse

NewLogsIndexListResponse instantiates a new LogsIndexListResponse 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 NewLogsIndexListResponseWithDefaults ¶

func NewLogsIndexListResponseWithDefaults() *LogsIndexListResponse

NewLogsIndexListResponseWithDefaults instantiates a new LogsIndexListResponse 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 (*LogsIndexListResponse) GetIndexes ¶

func (o *LogsIndexListResponse) GetIndexes() []LogsIndex

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*LogsIndexListResponse) GetIndexesOk ¶

func (o *LogsIndexListResponse) GetIndexesOk() (*[]LogsIndex, bool)

GetIndexesOk returns a tuple with the Indexes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndexListResponse) HasIndexes ¶

func (o *LogsIndexListResponse) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (LogsIndexListResponse) MarshalJSON ¶

func (o LogsIndexListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsIndexListResponse) SetIndexes ¶

func (o *LogsIndexListResponse) SetIndexes(v []LogsIndex)

SetIndexes gets a reference to the given []LogsIndex and assigns it to the Indexes field.

func (*LogsIndexListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsIndexListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsIndexUpdateRequest ¶

type LogsIndexUpdateRequest struct {
	// The number of log events you can send in this index per day before you are rate-limited.
	DailyLimit *int64 `json:"daily_limit,omitempty"`
	// If true, sets the `daily_limit` value to null and the index is not limited on a daily basis (any
	// specified `daily_limit` value in the request is ignored). If false or omitted, the index's current
	// `daily_limit` is maintained.
	DisableDailyLimit *bool `json:"disable_daily_limit,omitempty"`
	// An array of exclusion objects. The logs are tested against the query of each filter,
	// following the order of the array. Only the first matching active exclusion matters,
	// others (if any) are ignored.
	ExclusionFilters []LogsExclusion `json:"exclusion_filters,omitempty"`
	// Filter for logs.
	Filter LogsFilter `json:"filter"`
	// The number of days before logs are deleted from this index. Available values depend on
	// retention plans specified in your organization's contract/subscriptions.
	//
	// **Note:** Changing the retention for an index adjusts the length of retention for all logs
	// already in this index. It may also affect billing.
	NumRetentionDays *int64 `json:"num_retention_days,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsIndexUpdateRequest Object for updating a Datadog Log index.

func NewLogsIndexUpdateRequest ¶

func NewLogsIndexUpdateRequest(filter LogsFilter) *LogsIndexUpdateRequest

NewLogsIndexUpdateRequest instantiates a new LogsIndexUpdateRequest 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 NewLogsIndexUpdateRequestWithDefaults ¶

func NewLogsIndexUpdateRequestWithDefaults() *LogsIndexUpdateRequest

NewLogsIndexUpdateRequestWithDefaults instantiates a new LogsIndexUpdateRequest 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 (*LogsIndexUpdateRequest) GetDailyLimit ¶

func (o *LogsIndexUpdateRequest) GetDailyLimit() int64

GetDailyLimit returns the DailyLimit field value if set, zero value otherwise.

func (*LogsIndexUpdateRequest) GetDailyLimitOk ¶

func (o *LogsIndexUpdateRequest) GetDailyLimitOk() (*int64, bool)

GetDailyLimitOk returns a tuple with the DailyLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndexUpdateRequest) GetDisableDailyLimit ¶

func (o *LogsIndexUpdateRequest) GetDisableDailyLimit() bool

GetDisableDailyLimit returns the DisableDailyLimit field value if set, zero value otherwise.

func (*LogsIndexUpdateRequest) GetDisableDailyLimitOk ¶

func (o *LogsIndexUpdateRequest) GetDisableDailyLimitOk() (*bool, bool)

GetDisableDailyLimitOk returns a tuple with the DisableDailyLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndexUpdateRequest) GetExclusionFilters ¶

func (o *LogsIndexUpdateRequest) GetExclusionFilters() []LogsExclusion

GetExclusionFilters returns the ExclusionFilters field value if set, zero value otherwise.

func (*LogsIndexUpdateRequest) GetExclusionFiltersOk ¶

func (o *LogsIndexUpdateRequest) GetExclusionFiltersOk() (*[]LogsExclusion, bool)

GetExclusionFiltersOk returns a tuple with the ExclusionFilters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndexUpdateRequest) GetFilter ¶

func (o *LogsIndexUpdateRequest) GetFilter() LogsFilter

GetFilter returns the Filter field value.

func (*LogsIndexUpdateRequest) GetFilterOk ¶

func (o *LogsIndexUpdateRequest) GetFilterOk() (*LogsFilter, bool)

GetFilterOk returns a tuple with the Filter field value and a boolean to check if the value has been set.

func (*LogsIndexUpdateRequest) GetNumRetentionDays ¶

func (o *LogsIndexUpdateRequest) GetNumRetentionDays() int64

GetNumRetentionDays returns the NumRetentionDays field value if set, zero value otherwise.

func (*LogsIndexUpdateRequest) GetNumRetentionDaysOk ¶

func (o *LogsIndexUpdateRequest) GetNumRetentionDaysOk() (*int64, bool)

GetNumRetentionDaysOk returns a tuple with the NumRetentionDays field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsIndexUpdateRequest) HasDailyLimit ¶

func (o *LogsIndexUpdateRequest) HasDailyLimit() bool

HasDailyLimit returns a boolean if a field has been set.

func (*LogsIndexUpdateRequest) HasDisableDailyLimit ¶

func (o *LogsIndexUpdateRequest) HasDisableDailyLimit() bool

HasDisableDailyLimit returns a boolean if a field has been set.

func (*LogsIndexUpdateRequest) HasExclusionFilters ¶

func (o *LogsIndexUpdateRequest) HasExclusionFilters() bool

HasExclusionFilters returns a boolean if a field has been set.

func (*LogsIndexUpdateRequest) HasNumRetentionDays ¶

func (o *LogsIndexUpdateRequest) HasNumRetentionDays() bool

HasNumRetentionDays returns a boolean if a field has been set.

func (LogsIndexUpdateRequest) MarshalJSON ¶

func (o LogsIndexUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsIndexUpdateRequest) SetDailyLimit ¶

func (o *LogsIndexUpdateRequest) SetDailyLimit(v int64)

SetDailyLimit gets a reference to the given int64 and assigns it to the DailyLimit field.

func (*LogsIndexUpdateRequest) SetDisableDailyLimit ¶

func (o *LogsIndexUpdateRequest) SetDisableDailyLimit(v bool)

SetDisableDailyLimit gets a reference to the given bool and assigns it to the DisableDailyLimit field.

func (*LogsIndexUpdateRequest) SetExclusionFilters ¶

func (o *LogsIndexUpdateRequest) SetExclusionFilters(v []LogsExclusion)

SetExclusionFilters gets a reference to the given []LogsExclusion and assigns it to the ExclusionFilters field.

func (*LogsIndexUpdateRequest) SetFilter ¶

func (o *LogsIndexUpdateRequest) SetFilter(v LogsFilter)

SetFilter sets field value.

func (*LogsIndexUpdateRequest) SetNumRetentionDays ¶

func (o *LogsIndexUpdateRequest) SetNumRetentionDays(v int64)

SetNumRetentionDays gets a reference to the given int64 and assigns it to the NumRetentionDays field.

func (*LogsIndexUpdateRequest) UnmarshalJSON ¶

func (o *LogsIndexUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsIndexesApiService ¶

type LogsIndexesApiService service

LogsIndexesApiService LogsIndexesApi service.

func (*LogsIndexesApiService) CreateLogsIndex ¶

func (a *LogsIndexesApiService) CreateLogsIndex(ctx _context.Context, body LogsIndex) (LogsIndex, *_nethttp.Response, error)

CreateLogsIndex Create an index. Creates a new index. Returns the Index object passed in the request body when the request is successful.

func (*LogsIndexesApiService) GetLogsIndex ¶

func (a *LogsIndexesApiService) GetLogsIndex(ctx _context.Context, name string) (LogsIndex, *_nethttp.Response, error)

GetLogsIndex Get an index. Get one log index from your organization. This endpoint takes no JSON arguments.

func (*LogsIndexesApiService) GetLogsIndexOrder ¶

GetLogsIndexOrder Get indexes order. Get the current order of your log indexes. This endpoint takes no JSON arguments.

func (*LogsIndexesApiService) ListLogIndexes ¶

ListLogIndexes Get all indexes. The Index object describes the configuration of a log index. This endpoint returns an array of the `LogIndex` objects of your organization.

func (*LogsIndexesApiService) UpdateLogsIndex ¶

UpdateLogsIndex Update an index. Update an index as identified by its name. Returns the Index object passed in the request body when the request is successful.

Using the `PUT` method updates your index’s configuration by **replacing** your current configuration with the new one sent to your Datadog organization.

func (*LogsIndexesApiService) UpdateLogsIndexOrder ¶

UpdateLogsIndexOrder Update indexes order. This endpoint updates the index order of your organization. It returns the index order object passed in the request body when the request is successful.

type LogsIndexesOrder ¶

type LogsIndexesOrder struct {
	// Array of strings identifying by their name(s) the index(es) of your organization.
	// Logs are tested against the query filter of each index one by one, following the order of the array.
	// Logs are eventually stored in the first matching index.
	IndexNames []string `json:"index_names"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsIndexesOrder Object containing the ordered list of log index names.

func NewLogsIndexesOrder ¶

func NewLogsIndexesOrder(indexNames []string) *LogsIndexesOrder

NewLogsIndexesOrder instantiates a new LogsIndexesOrder 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 NewLogsIndexesOrderWithDefaults ¶

func NewLogsIndexesOrderWithDefaults() *LogsIndexesOrder

NewLogsIndexesOrderWithDefaults instantiates a new LogsIndexesOrder 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 (*LogsIndexesOrder) GetIndexNames ¶

func (o *LogsIndexesOrder) GetIndexNames() []string

GetIndexNames returns the IndexNames field value.

func (*LogsIndexesOrder) GetIndexNamesOk ¶

func (o *LogsIndexesOrder) GetIndexNamesOk() (*[]string, bool)

GetIndexNamesOk returns a tuple with the IndexNames field value and a boolean to check if the value has been set.

func (LogsIndexesOrder) MarshalJSON ¶

func (o LogsIndexesOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsIndexesOrder) SetIndexNames ¶

func (o *LogsIndexesOrder) SetIndexNames(v []string)

SetIndexNames sets field value.

func (*LogsIndexesOrder) UnmarshalJSON ¶

func (o *LogsIndexesOrder) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsListRequest ¶

type LogsListRequest struct {
	// The log index on which the request is performed. For multi-index organizations,
	// the default is all live indexes. Historical indexes of rehydrated logs must be specified.
	Index *string `json:"index,omitempty"`
	// Number of logs return in the response.
	Limit *int32 `json:"limit,omitempty"`
	// The search query - following the log search syntax.
	Query *string `json:"query,omitempty"`
	// Time-ascending `asc` or time-descending `desc` results.
	Sort *LogsSort `json:"sort,omitempty"`
	// Hash identifier of the first log to return in the list, available in a log `id` attribute.
	// This parameter is used for the pagination feature.
	//
	// **Note**: This parameter is ignored if the corresponding log
	// is out of the scope of the specified time window.
	StartAt *string `json:"startAt,omitempty"`
	// Timeframe to retrieve the log from.
	Time LogsListRequestTime `json:"time"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsListRequest Object to send with the request to retrieve a list of logs from your Organization.

func NewLogsListRequest ¶

func NewLogsListRequest(time LogsListRequestTime) *LogsListRequest

NewLogsListRequest instantiates a new LogsListRequest 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 NewLogsListRequestWithDefaults ¶

func NewLogsListRequestWithDefaults() *LogsListRequest

NewLogsListRequestWithDefaults instantiates a new LogsListRequest 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 (*LogsListRequest) GetIndex ¶

func (o *LogsListRequest) GetIndex() string

GetIndex returns the Index field value if set, zero value otherwise.

func (*LogsListRequest) GetIndexOk ¶

func (o *LogsListRequest) GetIndexOk() (*string, bool)

GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetLimit ¶

func (o *LogsListRequest) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*LogsListRequest) GetLimitOk ¶

func (o *LogsListRequest) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetQuery ¶

func (o *LogsListRequest) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogsListRequest) GetQueryOk ¶

func (o *LogsListRequest) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetSort ¶

func (o *LogsListRequest) GetSort() LogsSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*LogsListRequest) GetSortOk ¶

func (o *LogsListRequest) GetSortOk() (*LogsSort, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetStartAt ¶

func (o *LogsListRequest) GetStartAt() string

GetStartAt returns the StartAt field value if set, zero value otherwise.

func (*LogsListRequest) GetStartAtOk ¶

func (o *LogsListRequest) GetStartAtOk() (*string, bool)

GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetTime ¶

func (o *LogsListRequest) GetTime() LogsListRequestTime

GetTime returns the Time field value.

func (*LogsListRequest) GetTimeOk ¶

func (o *LogsListRequest) GetTimeOk() (*LogsListRequestTime, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*LogsListRequest) HasIndex ¶

func (o *LogsListRequest) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*LogsListRequest) HasLimit ¶

func (o *LogsListRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*LogsListRequest) HasQuery ¶

func (o *LogsListRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogsListRequest) HasSort ¶

func (o *LogsListRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*LogsListRequest) HasStartAt ¶

func (o *LogsListRequest) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (LogsListRequest) MarshalJSON ¶

func (o LogsListRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsListRequest) SetIndex ¶

func (o *LogsListRequest) SetIndex(v string)

SetIndex gets a reference to the given string and assigns it to the Index field.

func (*LogsListRequest) SetLimit ¶

func (o *LogsListRequest) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*LogsListRequest) SetQuery ¶

func (o *LogsListRequest) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsListRequest) SetSort ¶

func (o *LogsListRequest) SetSort(v LogsSort)

SetSort gets a reference to the given LogsSort and assigns it to the Sort field.

func (*LogsListRequest) SetStartAt ¶

func (o *LogsListRequest) SetStartAt(v string)

SetStartAt gets a reference to the given string and assigns it to the StartAt field.

func (*LogsListRequest) SetTime ¶

func (o *LogsListRequest) SetTime(v LogsListRequestTime)

SetTime sets field value.

func (*LogsListRequest) UnmarshalJSON ¶

func (o *LogsListRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsListRequestTime ¶

type LogsListRequestTime struct {
	// Minimum timestamp for requested logs.
	From time.Time `json:"from"`
	// Timezone can be specified both as an offset (for example "UTC+03:00")
	// or a regional zone (for example "Europe/Paris").
	Timezone *string `json:"timezone,omitempty"`
	// Maximum timestamp for requested logs.
	To time.Time `json:"to"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsListRequestTime Timeframe to retrieve the log from.

func NewLogsListRequestTime ¶

func NewLogsListRequestTime(from time.Time, to time.Time) *LogsListRequestTime

NewLogsListRequestTime instantiates a new LogsListRequestTime 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 NewLogsListRequestTimeWithDefaults ¶

func NewLogsListRequestTimeWithDefaults() *LogsListRequestTime

NewLogsListRequestTimeWithDefaults instantiates a new LogsListRequestTime 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 (*LogsListRequestTime) GetFrom ¶

func (o *LogsListRequestTime) GetFrom() time.Time

GetFrom returns the From field value.

func (*LogsListRequestTime) GetFromOk ¶

func (o *LogsListRequestTime) GetFromOk() (*time.Time, bool)

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*LogsListRequestTime) GetTimezone ¶

func (o *LogsListRequestTime) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*LogsListRequestTime) GetTimezoneOk ¶

func (o *LogsListRequestTime) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListRequestTime) GetTo ¶

func (o *LogsListRequestTime) GetTo() time.Time

GetTo returns the To field value.

func (*LogsListRequestTime) GetToOk ¶

func (o *LogsListRequestTime) GetToOk() (*time.Time, bool)

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (*LogsListRequestTime) HasTimezone ¶

func (o *LogsListRequestTime) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (LogsListRequestTime) MarshalJSON ¶

func (o LogsListRequestTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsListRequestTime) SetFrom ¶

func (o *LogsListRequestTime) SetFrom(v time.Time)

SetFrom sets field value.

func (*LogsListRequestTime) SetTimezone ¶

func (o *LogsListRequestTime) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*LogsListRequestTime) SetTo ¶

func (o *LogsListRequestTime) SetTo(v time.Time)

SetTo sets field value.

func (*LogsListRequestTime) UnmarshalJSON ¶

func (o *LogsListRequestTime) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsListResponse ¶

type LogsListResponse struct {
	// Array of logs matching the request and the `nextLogId` if sent.
	Logs []Log `json:"logs,omitempty"`
	// Hash identifier of the next log to return in the list.
	// This parameter is used for the pagination feature.
	NextLogId *string `json:"nextLogId,omitempty"`
	// Status of the response.
	Status *string `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsListResponse Response object with all logs matching the request and pagination information.

func NewLogsListResponse ¶

func NewLogsListResponse() *LogsListResponse

NewLogsListResponse instantiates a new LogsListResponse 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 NewLogsListResponseWithDefaults ¶

func NewLogsListResponseWithDefaults() *LogsListResponse

NewLogsListResponseWithDefaults instantiates a new LogsListResponse 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 (*LogsListResponse) GetLogs ¶

func (o *LogsListResponse) GetLogs() []Log

GetLogs returns the Logs field value if set, zero value otherwise.

func (*LogsListResponse) GetLogsOk ¶

func (o *LogsListResponse) GetLogsOk() (*[]Log, bool)

GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListResponse) GetNextLogId ¶

func (o *LogsListResponse) GetNextLogId() string

GetNextLogId returns the NextLogId field value if set, zero value otherwise.

func (*LogsListResponse) GetNextLogIdOk ¶

func (o *LogsListResponse) GetNextLogIdOk() (*string, bool)

GetNextLogIdOk returns a tuple with the NextLogId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListResponse) GetStatus ¶

func (o *LogsListResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*LogsListResponse) GetStatusOk ¶

func (o *LogsListResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsListResponse) HasLogs ¶

func (o *LogsListResponse) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*LogsListResponse) HasNextLogId ¶

func (o *LogsListResponse) HasNextLogId() bool

HasNextLogId returns a boolean if a field has been set.

func (*LogsListResponse) HasStatus ¶

func (o *LogsListResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (LogsListResponse) MarshalJSON ¶

func (o LogsListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsListResponse) SetLogs ¶

func (o *LogsListResponse) SetLogs(v []Log)

SetLogs gets a reference to the given []Log and assigns it to the Logs field.

func (*LogsListResponse) SetNextLogId ¶

func (o *LogsListResponse) SetNextLogId(v string)

SetNextLogId gets a reference to the given string and assigns it to the NextLogId field.

func (*LogsListResponse) SetStatus ¶

func (o *LogsListResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*LogsListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsLookupProcessor ¶

type LogsLookupProcessor struct {
	// Value to set the target attribute if the source value is not found in the list.
	DefaultLookup *string `json:"default_lookup,omitempty"`
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Mapping table of values for the source attribute and their associated target attribute values,
	// formatted as `["source_key1,target_value1", "source_key2,target_value2"]`
	LookupTable []string `json:"lookup_table"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Source attribute used to perform the lookup.
	Source string `json:"source"`
	// Name of the attribute that contains the corresponding value in the mapping list
	// or the `default_lookup` if not found in the mapping list.
	Target string `json:"target"`
	// Type of logs lookup processor.
	Type LogsLookupProcessorType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsLookupProcessor Use the Lookup Processor to define a mapping between a log attribute and a human readable value saved in the processors mapping table. For example, you can use the Lookup Processor to map an internal service ID into a human readable service name. Alternatively, you could also use it to check if the MAC address that just attempted to connect to the production environment belongs to your list of stolen machines.

func NewLogsLookupProcessor ¶

func NewLogsLookupProcessor(lookupTable []string, source string, target string, typeVar LogsLookupProcessorType) *LogsLookupProcessor

NewLogsLookupProcessor instantiates a new LogsLookupProcessor 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 NewLogsLookupProcessorWithDefaults ¶

func NewLogsLookupProcessorWithDefaults() *LogsLookupProcessor

NewLogsLookupProcessorWithDefaults instantiates a new LogsLookupProcessor 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 (*LogsLookupProcessor) GetDefaultLookup ¶

func (o *LogsLookupProcessor) GetDefaultLookup() string

GetDefaultLookup returns the DefaultLookup field value if set, zero value otherwise.

func (*LogsLookupProcessor) GetDefaultLookupOk ¶

func (o *LogsLookupProcessor) GetDefaultLookupOk() (*string, bool)

GetDefaultLookupOk returns a tuple with the DefaultLookup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsLookupProcessor) GetIsEnabled ¶

func (o *LogsLookupProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsLookupProcessor) GetIsEnabledOk ¶

func (o *LogsLookupProcessor) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsLookupProcessor) GetLookupTable ¶

func (o *LogsLookupProcessor) GetLookupTable() []string

GetLookupTable returns the LookupTable field value.

func (*LogsLookupProcessor) GetLookupTableOk ¶

func (o *LogsLookupProcessor) GetLookupTableOk() (*[]string, bool)

GetLookupTableOk returns a tuple with the LookupTable field value and a boolean to check if the value has been set.

func (*LogsLookupProcessor) GetName ¶

func (o *LogsLookupProcessor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsLookupProcessor) GetNameOk ¶

func (o *LogsLookupProcessor) 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 (*LogsLookupProcessor) GetSource ¶

func (o *LogsLookupProcessor) GetSource() string

GetSource returns the Source field value.

func (*LogsLookupProcessor) GetSourceOk ¶

func (o *LogsLookupProcessor) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.

func (*LogsLookupProcessor) GetTarget ¶

func (o *LogsLookupProcessor) GetTarget() string

GetTarget returns the Target field value.

func (*LogsLookupProcessor) GetTargetOk ¶

func (o *LogsLookupProcessor) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsLookupProcessor) GetType ¶

GetType returns the Type field value.

func (*LogsLookupProcessor) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsLookupProcessor) HasDefaultLookup ¶

func (o *LogsLookupProcessor) HasDefaultLookup() bool

HasDefaultLookup returns a boolean if a field has been set.

func (*LogsLookupProcessor) HasIsEnabled ¶

func (o *LogsLookupProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsLookupProcessor) HasName ¶

func (o *LogsLookupProcessor) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsLookupProcessor) MarshalJSON ¶

func (o LogsLookupProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsLookupProcessor) SetDefaultLookup ¶

func (o *LogsLookupProcessor) SetDefaultLookup(v string)

SetDefaultLookup gets a reference to the given string and assigns it to the DefaultLookup field.

func (*LogsLookupProcessor) SetIsEnabled ¶

func (o *LogsLookupProcessor) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsLookupProcessor) SetLookupTable ¶

func (o *LogsLookupProcessor) SetLookupTable(v []string)

SetLookupTable sets field value.

func (*LogsLookupProcessor) SetName ¶

func (o *LogsLookupProcessor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsLookupProcessor) SetSource ¶

func (o *LogsLookupProcessor) SetSource(v string)

SetSource sets field value.

func (*LogsLookupProcessor) SetTarget ¶

func (o *LogsLookupProcessor) SetTarget(v string)

SetTarget sets field value.

func (*LogsLookupProcessor) SetType ¶

SetType sets field value.

func (*LogsLookupProcessor) UnmarshalJSON ¶

func (o *LogsLookupProcessor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsLookupProcessorType ¶

type LogsLookupProcessorType string

LogsLookupProcessorType Type of logs lookup processor.

const (
	LOGSLOOKUPPROCESSORTYPE_LOOKUP_PROCESSOR LogsLookupProcessorType = "lookup-processor"
)

List of LogsLookupProcessorType.

func NewLogsLookupProcessorTypeFromValue ¶

func NewLogsLookupProcessorTypeFromValue(v string) (*LogsLookupProcessorType, error)

NewLogsLookupProcessorTypeFromValue returns a pointer to a valid LogsLookupProcessorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsLookupProcessorType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsLookupProcessorType) GetAllowedValues() []LogsLookupProcessorType

GetAllowedValues reeturns the list of possible values.

func (LogsLookupProcessorType) IsValid ¶

func (v LogsLookupProcessorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsLookupProcessorType) Ptr ¶

Ptr returns reference to LogsLookupProcessorType value.

func (*LogsLookupProcessorType) UnmarshalJSON ¶

func (v *LogsLookupProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsMessageRemapper ¶

type LogsMessageRemapper struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Type of logs message remapper.
	Type LogsMessageRemapperType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMessageRemapper The message is a key attribute in Datadog. It is displayed in the message column of the Log Explorer and you can do full string search on it. Use this Processor to define one or more attributes as the official log message.

**Note:** If multiple log message remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account.

func NewLogsMessageRemapper ¶

func NewLogsMessageRemapper(sources []string, typeVar LogsMessageRemapperType) *LogsMessageRemapper

NewLogsMessageRemapper instantiates a new LogsMessageRemapper 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 NewLogsMessageRemapperWithDefaults ¶

func NewLogsMessageRemapperWithDefaults() *LogsMessageRemapper

NewLogsMessageRemapperWithDefaults instantiates a new LogsMessageRemapper 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 (*LogsMessageRemapper) GetIsEnabled ¶

func (o *LogsMessageRemapper) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsMessageRemapper) GetIsEnabledOk ¶

func (o *LogsMessageRemapper) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMessageRemapper) GetName ¶

func (o *LogsMessageRemapper) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsMessageRemapper) GetNameOk ¶

func (o *LogsMessageRemapper) 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 (*LogsMessageRemapper) GetSources ¶

func (o *LogsMessageRemapper) GetSources() []string

GetSources returns the Sources field value.

func (*LogsMessageRemapper) GetSourcesOk ¶

func (o *LogsMessageRemapper) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsMessageRemapper) GetType ¶

GetType returns the Type field value.

func (*LogsMessageRemapper) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsMessageRemapper) HasIsEnabled ¶

func (o *LogsMessageRemapper) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsMessageRemapper) HasName ¶

func (o *LogsMessageRemapper) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsMessageRemapper) MarshalJSON ¶

func (o LogsMessageRemapper) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsMessageRemapper) SetIsEnabled ¶

func (o *LogsMessageRemapper) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsMessageRemapper) SetName ¶

func (o *LogsMessageRemapper) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsMessageRemapper) SetSources ¶

func (o *LogsMessageRemapper) SetSources(v []string)

SetSources sets field value.

func (*LogsMessageRemapper) SetType ¶

SetType sets field value.

func (*LogsMessageRemapper) UnmarshalJSON ¶

func (o *LogsMessageRemapper) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsMessageRemapperType ¶

type LogsMessageRemapperType string

LogsMessageRemapperType Type of logs message remapper.

const (
	LOGSMESSAGEREMAPPERTYPE_MESSAGE_REMAPPER LogsMessageRemapperType = "message-remapper"
)

List of LogsMessageRemapperType.

func NewLogsMessageRemapperTypeFromValue ¶

func NewLogsMessageRemapperTypeFromValue(v string) (*LogsMessageRemapperType, error)

NewLogsMessageRemapperTypeFromValue returns a pointer to a valid LogsMessageRemapperType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsMessageRemapperType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsMessageRemapperType) GetAllowedValues() []LogsMessageRemapperType

GetAllowedValues reeturns the list of possible values.

func (LogsMessageRemapperType) IsValid ¶

func (v LogsMessageRemapperType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsMessageRemapperType) Ptr ¶

Ptr returns reference to LogsMessageRemapperType value.

func (*LogsMessageRemapperType) UnmarshalJSON ¶

func (v *LogsMessageRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsPipeline ¶

type LogsPipeline struct {
	// Filter for logs.
	Filter *LogsFilter `json:"filter,omitempty"`
	// ID of the pipeline.
	Id *string `json:"id,omitempty"`
	// Whether or not the pipeline is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Whether or not the pipeline can be edited.
	IsReadOnly *bool `json:"is_read_only,omitempty"`
	// Name of the pipeline.
	Name string `json:"name"`
	// Ordered list of processors in this pipeline.
	Processors []LogsProcessor `json:"processors,omitempty"`
	// Type of pipeline.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsPipeline Pipelines and processors operate on incoming logs, parsing and transforming them into structured attributes for easier querying.

**Note**: These endpoints are only available for admin users. Make sure to use an application key created by an admin.

func NewLogsPipeline ¶

func NewLogsPipeline(name string) *LogsPipeline

NewLogsPipeline instantiates a new LogsPipeline 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 NewLogsPipelineWithDefaults ¶

func NewLogsPipelineWithDefaults() *LogsPipeline

NewLogsPipelineWithDefaults instantiates a new LogsPipeline 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 (*LogsPipeline) GetFilter ¶

func (o *LogsPipeline) GetFilter() LogsFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsPipeline) GetFilterOk ¶

func (o *LogsPipeline) GetFilterOk() (*LogsFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipeline) GetId ¶

func (o *LogsPipeline) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*LogsPipeline) GetIdOk ¶

func (o *LogsPipeline) 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 (*LogsPipeline) GetIsEnabled ¶

func (o *LogsPipeline) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsPipeline) GetIsEnabledOk ¶

func (o *LogsPipeline) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipeline) GetIsReadOnly ¶

func (o *LogsPipeline) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field value if set, zero value otherwise.

func (*LogsPipeline) GetIsReadOnlyOk ¶

func (o *LogsPipeline) GetIsReadOnlyOk() (*bool, bool)

GetIsReadOnlyOk returns a tuple with the IsReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipeline) GetName ¶

func (o *LogsPipeline) GetName() string

GetName returns the Name field value.

func (*LogsPipeline) GetNameOk ¶

func (o *LogsPipeline) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LogsPipeline) GetProcessors ¶

func (o *LogsPipeline) GetProcessors() []LogsProcessor

GetProcessors returns the Processors field value if set, zero value otherwise.

func (*LogsPipeline) GetProcessorsOk ¶

func (o *LogsPipeline) GetProcessorsOk() (*[]LogsProcessor, bool)

GetProcessorsOk returns a tuple with the Processors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipeline) GetType ¶

func (o *LogsPipeline) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*LogsPipeline) GetTypeOk ¶

func (o *LogsPipeline) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipeline) HasFilter ¶

func (o *LogsPipeline) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsPipeline) HasId ¶

func (o *LogsPipeline) HasId() bool

HasId returns a boolean if a field has been set.

func (*LogsPipeline) HasIsEnabled ¶

func (o *LogsPipeline) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsPipeline) HasIsReadOnly ¶

func (o *LogsPipeline) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*LogsPipeline) HasProcessors ¶

func (o *LogsPipeline) HasProcessors() bool

HasProcessors returns a boolean if a field has been set.

func (*LogsPipeline) HasType ¶

func (o *LogsPipeline) HasType() bool

HasType returns a boolean if a field has been set.

func (LogsPipeline) MarshalJSON ¶

func (o LogsPipeline) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsPipeline) SetFilter ¶

func (o *LogsPipeline) SetFilter(v LogsFilter)

SetFilter gets a reference to the given LogsFilter and assigns it to the Filter field.

func (*LogsPipeline) SetId ¶

func (o *LogsPipeline) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*LogsPipeline) SetIsEnabled ¶

func (o *LogsPipeline) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsPipeline) SetIsReadOnly ¶

func (o *LogsPipeline) SetIsReadOnly(v bool)

SetIsReadOnly gets a reference to the given bool and assigns it to the IsReadOnly field.

func (*LogsPipeline) SetName ¶

func (o *LogsPipeline) SetName(v string)

SetName sets field value.

func (*LogsPipeline) SetProcessors ¶

func (o *LogsPipeline) SetProcessors(v []LogsProcessor)

SetProcessors gets a reference to the given []LogsProcessor and assigns it to the Processors field.

func (*LogsPipeline) SetType ¶

func (o *LogsPipeline) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*LogsPipeline) UnmarshalJSON ¶

func (o *LogsPipeline) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsPipelineProcessor ¶

type LogsPipelineProcessor struct {
	// Filter for logs.
	Filter *LogsFilter `json:"filter,omitempty"`
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Ordered list of processors in this pipeline.
	Processors []LogsProcessor `json:"processors,omitempty"`
	// Type of logs pipeline processor.
	Type LogsPipelineProcessorType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsPipelineProcessor Nested Pipelines are pipelines within a pipeline. Use Nested Pipelines to split the processing into two steps. For example, first use a high-level filtering such as team and then a second level of filtering based on the integration, service, or any other tag or attribute.

A pipeline can contain Nested Pipelines and Processors whereas a Nested Pipeline can only contain Processors.

func NewLogsPipelineProcessor ¶

func NewLogsPipelineProcessor(typeVar LogsPipelineProcessorType) *LogsPipelineProcessor

NewLogsPipelineProcessor instantiates a new LogsPipelineProcessor 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 NewLogsPipelineProcessorWithDefaults ¶

func NewLogsPipelineProcessorWithDefaults() *LogsPipelineProcessor

NewLogsPipelineProcessorWithDefaults instantiates a new LogsPipelineProcessor 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 (*LogsPipelineProcessor) GetFilter ¶

func (o *LogsPipelineProcessor) GetFilter() LogsFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsPipelineProcessor) GetFilterOk ¶

func (o *LogsPipelineProcessor) GetFilterOk() (*LogsFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipelineProcessor) GetIsEnabled ¶

func (o *LogsPipelineProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsPipelineProcessor) GetIsEnabledOk ¶

func (o *LogsPipelineProcessor) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipelineProcessor) GetName ¶

func (o *LogsPipelineProcessor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsPipelineProcessor) GetNameOk ¶

func (o *LogsPipelineProcessor) 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 (*LogsPipelineProcessor) GetProcessors ¶

func (o *LogsPipelineProcessor) GetProcessors() []LogsProcessor

GetProcessors returns the Processors field value if set, zero value otherwise.

func (*LogsPipelineProcessor) GetProcessorsOk ¶

func (o *LogsPipelineProcessor) GetProcessorsOk() (*[]LogsProcessor, bool)

GetProcessorsOk returns a tuple with the Processors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsPipelineProcessor) GetType ¶

GetType returns the Type field value.

func (*LogsPipelineProcessor) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsPipelineProcessor) HasFilter ¶

func (o *LogsPipelineProcessor) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsPipelineProcessor) HasIsEnabled ¶

func (o *LogsPipelineProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsPipelineProcessor) HasName ¶

func (o *LogsPipelineProcessor) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsPipelineProcessor) HasProcessors ¶

func (o *LogsPipelineProcessor) HasProcessors() bool

HasProcessors returns a boolean if a field has been set.

func (LogsPipelineProcessor) MarshalJSON ¶

func (o LogsPipelineProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsPipelineProcessor) SetFilter ¶

func (o *LogsPipelineProcessor) SetFilter(v LogsFilter)

SetFilter gets a reference to the given LogsFilter and assigns it to the Filter field.

func (*LogsPipelineProcessor) SetIsEnabled ¶

func (o *LogsPipelineProcessor) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsPipelineProcessor) SetName ¶

func (o *LogsPipelineProcessor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsPipelineProcessor) SetProcessors ¶

func (o *LogsPipelineProcessor) SetProcessors(v []LogsProcessor)

SetProcessors gets a reference to the given []LogsProcessor and assigns it to the Processors field.

func (*LogsPipelineProcessor) SetType ¶

SetType sets field value.

func (*LogsPipelineProcessor) UnmarshalJSON ¶

func (o *LogsPipelineProcessor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsPipelineProcessorType ¶

type LogsPipelineProcessorType string

LogsPipelineProcessorType Type of logs pipeline processor.

const (
	LOGSPIPELINEPROCESSORTYPE_PIPELINE LogsPipelineProcessorType = "pipeline"
)

List of LogsPipelineProcessorType.

func NewLogsPipelineProcessorTypeFromValue ¶

func NewLogsPipelineProcessorTypeFromValue(v string) (*LogsPipelineProcessorType, error)

NewLogsPipelineProcessorTypeFromValue returns a pointer to a valid LogsPipelineProcessorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsPipelineProcessorType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsPipelineProcessorType) GetAllowedValues() []LogsPipelineProcessorType

GetAllowedValues reeturns the list of possible values.

func (LogsPipelineProcessorType) IsValid ¶

func (v LogsPipelineProcessorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsPipelineProcessorType) Ptr ¶

Ptr returns reference to LogsPipelineProcessorType value.

func (*LogsPipelineProcessorType) UnmarshalJSON ¶

func (v *LogsPipelineProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsPipelinesApiService ¶

type LogsPipelinesApiService service

LogsPipelinesApiService LogsPipelinesApi service.

func (*LogsPipelinesApiService) CreateLogsPipeline ¶

CreateLogsPipeline Create a pipeline. Create a pipeline in your organization.

func (*LogsPipelinesApiService) DeleteLogsPipeline ¶

func (a *LogsPipelinesApiService) DeleteLogsPipeline(ctx _context.Context, pipelineId string) (*_nethttp.Response, error)

DeleteLogsPipeline Delete a pipeline. Delete a given pipeline from your organization. This endpoint takes no JSON arguments.

func (*LogsPipelinesApiService) GetLogsPipeline ¶

func (a *LogsPipelinesApiService) GetLogsPipeline(ctx _context.Context, pipelineId string) (LogsPipeline, *_nethttp.Response, error)

GetLogsPipeline Get a pipeline. Get a specific pipeline from your organization. This endpoint takes no JSON arguments.

func (*LogsPipelinesApiService) GetLogsPipelineOrder ¶

GetLogsPipelineOrder Get pipeline order. Get the current order of your pipelines. This endpoint takes no JSON arguments.

func (*LogsPipelinesApiService) ListLogsPipelines ¶

func (a *LogsPipelinesApiService) ListLogsPipelines(ctx _context.Context) ([]LogsPipeline, *_nethttp.Response, error)

ListLogsPipelines Get all pipelines. Get all pipelines from your organization. This endpoint takes no JSON arguments.

func (*LogsPipelinesApiService) UpdateLogsPipeline ¶

func (a *LogsPipelinesApiService) UpdateLogsPipeline(ctx _context.Context, pipelineId string, body LogsPipeline) (LogsPipeline, *_nethttp.Response, error)

UpdateLogsPipeline Update a pipeline. Update a given pipeline configuration to change it’s processors or their order.

**Note**: Using this method updates your pipeline configuration by **replacing** your current configuration with the new one sent to your Datadog organization.

func (*LogsPipelinesApiService) UpdateLogsPipelineOrder ¶

UpdateLogsPipelineOrder Update pipeline order. Update the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change the structure and content of the data processed by other pipelines and their processors.

**Note**: Using the `PUT` method updates your pipeline order by replacing your current order with the new one sent to your Datadog organization.

type LogsPipelinesOrder ¶

type LogsPipelinesOrder struct {
	// Ordered Array of `<PIPELINE_ID>` strings, the order of pipeline IDs in the array
	// define the overall Pipelines order for Datadog.
	PipelineIds []string `json:"pipeline_ids"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsPipelinesOrder Object containing the ordered list of pipeline IDs.

func NewLogsPipelinesOrder ¶

func NewLogsPipelinesOrder(pipelineIds []string) *LogsPipelinesOrder

NewLogsPipelinesOrder instantiates a new LogsPipelinesOrder 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 NewLogsPipelinesOrderWithDefaults ¶

func NewLogsPipelinesOrderWithDefaults() *LogsPipelinesOrder

NewLogsPipelinesOrderWithDefaults instantiates a new LogsPipelinesOrder 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 (*LogsPipelinesOrder) GetPipelineIds ¶

func (o *LogsPipelinesOrder) GetPipelineIds() []string

GetPipelineIds returns the PipelineIds field value.

func (*LogsPipelinesOrder) GetPipelineIdsOk ¶

func (o *LogsPipelinesOrder) GetPipelineIdsOk() (*[]string, bool)

GetPipelineIdsOk returns a tuple with the PipelineIds field value and a boolean to check if the value has been set.

func (LogsPipelinesOrder) MarshalJSON ¶

func (o LogsPipelinesOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsPipelinesOrder) SetPipelineIds ¶

func (o *LogsPipelinesOrder) SetPipelineIds(v []string)

SetPipelineIds sets field value.

func (*LogsPipelinesOrder) UnmarshalJSON ¶

func (o *LogsPipelinesOrder) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsProcessor ¶

type LogsProcessor struct {
	LogsGrokParser             *LogsGrokParser
	LogsDateRemapper           *LogsDateRemapper
	LogsStatusRemapper         *LogsStatusRemapper
	LogsServiceRemapper        *LogsServiceRemapper
	LogsMessageRemapper        *LogsMessageRemapper
	LogsAttributeRemapper      *LogsAttributeRemapper
	LogsURLParser              *LogsURLParser
	LogsUserAgentParser        *LogsUserAgentParser
	LogsCategoryProcessor      *LogsCategoryProcessor
	LogsArithmeticProcessor    *LogsArithmeticProcessor
	LogsStringBuilderProcessor *LogsStringBuilderProcessor
	LogsPipelineProcessor      *LogsPipelineProcessor
	LogsGeoIPParser            *LogsGeoIPParser
	LogsLookupProcessor        *LogsLookupProcessor
	LogsTraceRemapper          *LogsTraceRemapper

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsProcessor - Definition of a logs processor.

func LogsArithmeticProcessorAsLogsProcessor ¶

func LogsArithmeticProcessorAsLogsProcessor(v *LogsArithmeticProcessor) LogsProcessor

LogsArithmeticProcessorAsLogsProcessor is a convenience function that returns LogsArithmeticProcessor wrapped in LogsProcessor.

func LogsAttributeRemapperAsLogsProcessor ¶

func LogsAttributeRemapperAsLogsProcessor(v *LogsAttributeRemapper) LogsProcessor

LogsAttributeRemapperAsLogsProcessor is a convenience function that returns LogsAttributeRemapper wrapped in LogsProcessor.

func LogsCategoryProcessorAsLogsProcessor ¶

func LogsCategoryProcessorAsLogsProcessor(v *LogsCategoryProcessor) LogsProcessor

LogsCategoryProcessorAsLogsProcessor is a convenience function that returns LogsCategoryProcessor wrapped in LogsProcessor.

func LogsDateRemapperAsLogsProcessor ¶

func LogsDateRemapperAsLogsProcessor(v *LogsDateRemapper) LogsProcessor

LogsDateRemapperAsLogsProcessor is a convenience function that returns LogsDateRemapper wrapped in LogsProcessor.

func LogsGeoIPParserAsLogsProcessor ¶

func LogsGeoIPParserAsLogsProcessor(v *LogsGeoIPParser) LogsProcessor

LogsGeoIPParserAsLogsProcessor is a convenience function that returns LogsGeoIPParser wrapped in LogsProcessor.

func LogsGrokParserAsLogsProcessor ¶

func LogsGrokParserAsLogsProcessor(v *LogsGrokParser) LogsProcessor

LogsGrokParserAsLogsProcessor is a convenience function that returns LogsGrokParser wrapped in LogsProcessor.

func LogsLookupProcessorAsLogsProcessor ¶

func LogsLookupProcessorAsLogsProcessor(v *LogsLookupProcessor) LogsProcessor

LogsLookupProcessorAsLogsProcessor is a convenience function that returns LogsLookupProcessor wrapped in LogsProcessor.

func LogsMessageRemapperAsLogsProcessor ¶

func LogsMessageRemapperAsLogsProcessor(v *LogsMessageRemapper) LogsProcessor

LogsMessageRemapperAsLogsProcessor is a convenience function that returns LogsMessageRemapper wrapped in LogsProcessor.

func LogsPipelineProcessorAsLogsProcessor ¶

func LogsPipelineProcessorAsLogsProcessor(v *LogsPipelineProcessor) LogsProcessor

LogsPipelineProcessorAsLogsProcessor is a convenience function that returns LogsPipelineProcessor wrapped in LogsProcessor.

func LogsServiceRemapperAsLogsProcessor ¶

func LogsServiceRemapperAsLogsProcessor(v *LogsServiceRemapper) LogsProcessor

LogsServiceRemapperAsLogsProcessor is a convenience function that returns LogsServiceRemapper wrapped in LogsProcessor.

func LogsStatusRemapperAsLogsProcessor ¶

func LogsStatusRemapperAsLogsProcessor(v *LogsStatusRemapper) LogsProcessor

LogsStatusRemapperAsLogsProcessor is a convenience function that returns LogsStatusRemapper wrapped in LogsProcessor.

func LogsStringBuilderProcessorAsLogsProcessor ¶

func LogsStringBuilderProcessorAsLogsProcessor(v *LogsStringBuilderProcessor) LogsProcessor

LogsStringBuilderProcessorAsLogsProcessor is a convenience function that returns LogsStringBuilderProcessor wrapped in LogsProcessor.

func LogsTraceRemapperAsLogsProcessor ¶

func LogsTraceRemapperAsLogsProcessor(v *LogsTraceRemapper) LogsProcessor

LogsTraceRemapperAsLogsProcessor is a convenience function that returns LogsTraceRemapper wrapped in LogsProcessor.

func LogsURLParserAsLogsProcessor ¶

func LogsURLParserAsLogsProcessor(v *LogsURLParser) LogsProcessor

LogsURLParserAsLogsProcessor is a convenience function that returns LogsURLParser wrapped in LogsProcessor.

func LogsUserAgentParserAsLogsProcessor ¶

func LogsUserAgentParserAsLogsProcessor(v *LogsUserAgentParser) LogsProcessor

LogsUserAgentParserAsLogsProcessor is a convenience function that returns LogsUserAgentParser wrapped in LogsProcessor.

func (*LogsProcessor) GetActualInstance ¶

func (obj *LogsProcessor) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (LogsProcessor) MarshalJSON ¶

func (obj LogsProcessor) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*LogsProcessor) UnmarshalJSON ¶

func (obj *LogsProcessor) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type LogsQueryCompute ¶

type LogsQueryCompute struct {
	// The aggregation method.
	Aggregation string `json:"aggregation"`
	// Facet name.
	Facet *string `json:"facet,omitempty"`
	// Define a time interval in seconds.
	Interval *int64 `json:"interval,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsQueryCompute Define computation for a log query.

func NewLogsQueryCompute ¶

func NewLogsQueryCompute(aggregation string) *LogsQueryCompute

NewLogsQueryCompute instantiates a new LogsQueryCompute 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 NewLogsQueryComputeWithDefaults ¶

func NewLogsQueryComputeWithDefaults() *LogsQueryCompute

NewLogsQueryComputeWithDefaults instantiates a new LogsQueryCompute 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 (*LogsQueryCompute) GetAggregation ¶

func (o *LogsQueryCompute) GetAggregation() string

GetAggregation returns the Aggregation field value.

func (*LogsQueryCompute) GetAggregationOk ¶

func (o *LogsQueryCompute) GetAggregationOk() (*string, bool)

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*LogsQueryCompute) GetFacet ¶

func (o *LogsQueryCompute) GetFacet() string

GetFacet returns the Facet field value if set, zero value otherwise.

func (*LogsQueryCompute) GetFacetOk ¶

func (o *LogsQueryCompute) GetFacetOk() (*string, bool)

GetFacetOk returns a tuple with the Facet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryCompute) GetInterval ¶

func (o *LogsQueryCompute) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*LogsQueryCompute) GetIntervalOk ¶

func (o *LogsQueryCompute) GetIntervalOk() (*int64, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryCompute) HasFacet ¶

func (o *LogsQueryCompute) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*LogsQueryCompute) HasInterval ¶

func (o *LogsQueryCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (LogsQueryCompute) MarshalJSON ¶

func (o LogsQueryCompute) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsQueryCompute) SetAggregation ¶

func (o *LogsQueryCompute) SetAggregation(v string)

SetAggregation sets field value.

func (*LogsQueryCompute) SetFacet ¶

func (o *LogsQueryCompute) SetFacet(v string)

SetFacet gets a reference to the given string and assigns it to the Facet field.

func (*LogsQueryCompute) SetInterval ¶

func (o *LogsQueryCompute) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*LogsQueryCompute) UnmarshalJSON ¶

func (o *LogsQueryCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsRetentionAggSumUsage ¶

type LogsRetentionAggSumUsage struct {
	// Total indexed logs for this retention period.
	LogsIndexedLogsUsageAggSum *int64 `json:"logs_indexed_logs_usage_agg_sum,omitempty"`
	// Live indexed logs for this retention period.
	LogsLiveIndexedLogsUsageAggSum *int64 `json:"logs_live_indexed_logs_usage_agg_sum,omitempty"`
	// Rehydrated indexed logs for this retention period.
	LogsRehydratedIndexedLogsUsageAggSum *int64 `json:"logs_rehydrated_indexed_logs_usage_agg_sum,omitempty"`
	// The retention period in days or "custom" for all custom retention periods.
	Retention *string `json:"retention,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsRetentionAggSumUsage Object containing indexed logs usage aggregated across organizations and months for a retention period.

func NewLogsRetentionAggSumUsage ¶

func NewLogsRetentionAggSumUsage() *LogsRetentionAggSumUsage

NewLogsRetentionAggSumUsage instantiates a new LogsRetentionAggSumUsage 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 NewLogsRetentionAggSumUsageWithDefaults ¶

func NewLogsRetentionAggSumUsageWithDefaults() *LogsRetentionAggSumUsage

NewLogsRetentionAggSumUsageWithDefaults instantiates a new LogsRetentionAggSumUsage 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 (*LogsRetentionAggSumUsage) GetLogsIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) GetLogsIndexedLogsUsageAggSum() int64

GetLogsIndexedLogsUsageAggSum returns the LogsIndexedLogsUsageAggSum field value if set, zero value otherwise.

func (*LogsRetentionAggSumUsage) GetLogsIndexedLogsUsageAggSumOk ¶

func (o *LogsRetentionAggSumUsage) GetLogsIndexedLogsUsageAggSumOk() (*int64, bool)

GetLogsIndexedLogsUsageAggSumOk returns a tuple with the LogsIndexedLogsUsageAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionAggSumUsage) GetLogsLiveIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) GetLogsLiveIndexedLogsUsageAggSum() int64

GetLogsLiveIndexedLogsUsageAggSum returns the LogsLiveIndexedLogsUsageAggSum field value if set, zero value otherwise.

func (*LogsRetentionAggSumUsage) GetLogsLiveIndexedLogsUsageAggSumOk ¶

func (o *LogsRetentionAggSumUsage) GetLogsLiveIndexedLogsUsageAggSumOk() (*int64, bool)

GetLogsLiveIndexedLogsUsageAggSumOk returns a tuple with the LogsLiveIndexedLogsUsageAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionAggSumUsage) GetLogsRehydratedIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) GetLogsRehydratedIndexedLogsUsageAggSum() int64

GetLogsRehydratedIndexedLogsUsageAggSum returns the LogsRehydratedIndexedLogsUsageAggSum field value if set, zero value otherwise.

func (*LogsRetentionAggSumUsage) GetLogsRehydratedIndexedLogsUsageAggSumOk ¶

func (o *LogsRetentionAggSumUsage) GetLogsRehydratedIndexedLogsUsageAggSumOk() (*int64, bool)

GetLogsRehydratedIndexedLogsUsageAggSumOk returns a tuple with the LogsRehydratedIndexedLogsUsageAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionAggSumUsage) GetRetention ¶

func (o *LogsRetentionAggSumUsage) GetRetention() string

GetRetention returns the Retention field value if set, zero value otherwise.

func (*LogsRetentionAggSumUsage) GetRetentionOk ¶

func (o *LogsRetentionAggSumUsage) GetRetentionOk() (*string, bool)

GetRetentionOk returns a tuple with the Retention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionAggSumUsage) HasLogsIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) HasLogsIndexedLogsUsageAggSum() bool

HasLogsIndexedLogsUsageAggSum returns a boolean if a field has been set.

func (*LogsRetentionAggSumUsage) HasLogsLiveIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) HasLogsLiveIndexedLogsUsageAggSum() bool

HasLogsLiveIndexedLogsUsageAggSum returns a boolean if a field has been set.

func (*LogsRetentionAggSumUsage) HasLogsRehydratedIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) HasLogsRehydratedIndexedLogsUsageAggSum() bool

HasLogsRehydratedIndexedLogsUsageAggSum returns a boolean if a field has been set.

func (*LogsRetentionAggSumUsage) HasRetention ¶

func (o *LogsRetentionAggSumUsage) HasRetention() bool

HasRetention returns a boolean if a field has been set.

func (LogsRetentionAggSumUsage) MarshalJSON ¶

func (o LogsRetentionAggSumUsage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsRetentionAggSumUsage) SetLogsIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) SetLogsIndexedLogsUsageAggSum(v int64)

SetLogsIndexedLogsUsageAggSum gets a reference to the given int64 and assigns it to the LogsIndexedLogsUsageAggSum field.

func (*LogsRetentionAggSumUsage) SetLogsLiveIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) SetLogsLiveIndexedLogsUsageAggSum(v int64)

SetLogsLiveIndexedLogsUsageAggSum gets a reference to the given int64 and assigns it to the LogsLiveIndexedLogsUsageAggSum field.

func (*LogsRetentionAggSumUsage) SetLogsRehydratedIndexedLogsUsageAggSum ¶

func (o *LogsRetentionAggSumUsage) SetLogsRehydratedIndexedLogsUsageAggSum(v int64)

SetLogsRehydratedIndexedLogsUsageAggSum gets a reference to the given int64 and assigns it to the LogsRehydratedIndexedLogsUsageAggSum field.

func (*LogsRetentionAggSumUsage) SetRetention ¶

func (o *LogsRetentionAggSumUsage) SetRetention(v string)

SetRetention gets a reference to the given string and assigns it to the Retention field.

func (*LogsRetentionAggSumUsage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsRetentionAggSumUsage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsRetentionSumUsage ¶

type LogsRetentionSumUsage struct {
	// Total indexed logs for this retention period.
	LogsIndexedLogsUsageSum *int64 `json:"logs_indexed_logs_usage_sum,omitempty"`
	// Live indexed logs for this retention period.
	LogsLiveIndexedLogsUsageSum *int64 `json:"logs_live_indexed_logs_usage_sum,omitempty"`
	// Rehydrated indexed logs for this retention period.
	LogsRehydratedIndexedLogsUsageSum *int64 `json:"logs_rehydrated_indexed_logs_usage_sum,omitempty"`
	// The retention period in days or "custom" for all custom retention periods.
	Retention *string `json:"retention,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsRetentionSumUsage Object containing indexed logs usage grouped by retention period and summed.

func NewLogsRetentionSumUsage ¶

func NewLogsRetentionSumUsage() *LogsRetentionSumUsage

NewLogsRetentionSumUsage instantiates a new LogsRetentionSumUsage 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 NewLogsRetentionSumUsageWithDefaults ¶

func NewLogsRetentionSumUsageWithDefaults() *LogsRetentionSumUsage

NewLogsRetentionSumUsageWithDefaults instantiates a new LogsRetentionSumUsage 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 (*LogsRetentionSumUsage) GetLogsIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) GetLogsIndexedLogsUsageSum() int64

GetLogsIndexedLogsUsageSum returns the LogsIndexedLogsUsageSum field value if set, zero value otherwise.

func (*LogsRetentionSumUsage) GetLogsIndexedLogsUsageSumOk ¶

func (o *LogsRetentionSumUsage) GetLogsIndexedLogsUsageSumOk() (*int64, bool)

GetLogsIndexedLogsUsageSumOk returns a tuple with the LogsIndexedLogsUsageSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionSumUsage) GetLogsLiveIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) GetLogsLiveIndexedLogsUsageSum() int64

GetLogsLiveIndexedLogsUsageSum returns the LogsLiveIndexedLogsUsageSum field value if set, zero value otherwise.

func (*LogsRetentionSumUsage) GetLogsLiveIndexedLogsUsageSumOk ¶

func (o *LogsRetentionSumUsage) GetLogsLiveIndexedLogsUsageSumOk() (*int64, bool)

GetLogsLiveIndexedLogsUsageSumOk returns a tuple with the LogsLiveIndexedLogsUsageSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionSumUsage) GetLogsRehydratedIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) GetLogsRehydratedIndexedLogsUsageSum() int64

GetLogsRehydratedIndexedLogsUsageSum returns the LogsRehydratedIndexedLogsUsageSum field value if set, zero value otherwise.

func (*LogsRetentionSumUsage) GetLogsRehydratedIndexedLogsUsageSumOk ¶

func (o *LogsRetentionSumUsage) GetLogsRehydratedIndexedLogsUsageSumOk() (*int64, bool)

GetLogsRehydratedIndexedLogsUsageSumOk returns a tuple with the LogsRehydratedIndexedLogsUsageSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionSumUsage) GetRetention ¶

func (o *LogsRetentionSumUsage) GetRetention() string

GetRetention returns the Retention field value if set, zero value otherwise.

func (*LogsRetentionSumUsage) GetRetentionOk ¶

func (o *LogsRetentionSumUsage) GetRetentionOk() (*string, bool)

GetRetentionOk returns a tuple with the Retention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsRetentionSumUsage) HasLogsIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) HasLogsIndexedLogsUsageSum() bool

HasLogsIndexedLogsUsageSum returns a boolean if a field has been set.

func (*LogsRetentionSumUsage) HasLogsLiveIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) HasLogsLiveIndexedLogsUsageSum() bool

HasLogsLiveIndexedLogsUsageSum returns a boolean if a field has been set.

func (*LogsRetentionSumUsage) HasLogsRehydratedIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) HasLogsRehydratedIndexedLogsUsageSum() bool

HasLogsRehydratedIndexedLogsUsageSum returns a boolean if a field has been set.

func (*LogsRetentionSumUsage) HasRetention ¶

func (o *LogsRetentionSumUsage) HasRetention() bool

HasRetention returns a boolean if a field has been set.

func (LogsRetentionSumUsage) MarshalJSON ¶

func (o LogsRetentionSumUsage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsRetentionSumUsage) SetLogsIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) SetLogsIndexedLogsUsageSum(v int64)

SetLogsIndexedLogsUsageSum gets a reference to the given int64 and assigns it to the LogsIndexedLogsUsageSum field.

func (*LogsRetentionSumUsage) SetLogsLiveIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) SetLogsLiveIndexedLogsUsageSum(v int64)

SetLogsLiveIndexedLogsUsageSum gets a reference to the given int64 and assigns it to the LogsLiveIndexedLogsUsageSum field.

func (*LogsRetentionSumUsage) SetLogsRehydratedIndexedLogsUsageSum ¶

func (o *LogsRetentionSumUsage) SetLogsRehydratedIndexedLogsUsageSum(v int64)

SetLogsRehydratedIndexedLogsUsageSum gets a reference to the given int64 and assigns it to the LogsRehydratedIndexedLogsUsageSum field.

func (*LogsRetentionSumUsage) SetRetention ¶

func (o *LogsRetentionSumUsage) SetRetention(v string)

SetRetention gets a reference to the given string and assigns it to the Retention field.

func (*LogsRetentionSumUsage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsRetentionSumUsage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsServiceRemapper ¶

type LogsServiceRemapper struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Type of logs service remapper.
	Type LogsServiceRemapperType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsServiceRemapper Use this processor if you want to assign one or more attributes as the official service.

**Note:** If multiple service remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account.

func NewLogsServiceRemapper ¶

func NewLogsServiceRemapper(sources []string, typeVar LogsServiceRemapperType) *LogsServiceRemapper

NewLogsServiceRemapper instantiates a new LogsServiceRemapper 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 NewLogsServiceRemapperWithDefaults ¶

func NewLogsServiceRemapperWithDefaults() *LogsServiceRemapper

NewLogsServiceRemapperWithDefaults instantiates a new LogsServiceRemapper 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 (*LogsServiceRemapper) GetIsEnabled ¶

func (o *LogsServiceRemapper) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsServiceRemapper) GetIsEnabledOk ¶

func (o *LogsServiceRemapper) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsServiceRemapper) GetName ¶

func (o *LogsServiceRemapper) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsServiceRemapper) GetNameOk ¶

func (o *LogsServiceRemapper) 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 (*LogsServiceRemapper) GetSources ¶

func (o *LogsServiceRemapper) GetSources() []string

GetSources returns the Sources field value.

func (*LogsServiceRemapper) GetSourcesOk ¶

func (o *LogsServiceRemapper) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsServiceRemapper) GetType ¶

GetType returns the Type field value.

func (*LogsServiceRemapper) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsServiceRemapper) HasIsEnabled ¶

func (o *LogsServiceRemapper) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsServiceRemapper) HasName ¶

func (o *LogsServiceRemapper) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsServiceRemapper) MarshalJSON ¶

func (o LogsServiceRemapper) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsServiceRemapper) SetIsEnabled ¶

func (o *LogsServiceRemapper) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsServiceRemapper) SetName ¶

func (o *LogsServiceRemapper) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsServiceRemapper) SetSources ¶

func (o *LogsServiceRemapper) SetSources(v []string)

SetSources sets field value.

func (*LogsServiceRemapper) SetType ¶

SetType sets field value.

func (*LogsServiceRemapper) UnmarshalJSON ¶

func (o *LogsServiceRemapper) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsServiceRemapperType ¶

type LogsServiceRemapperType string

LogsServiceRemapperType Type of logs service remapper.

const (
	LOGSSERVICEREMAPPERTYPE_SERVICE_REMAPPER LogsServiceRemapperType = "service-remapper"
)

List of LogsServiceRemapperType.

func NewLogsServiceRemapperTypeFromValue ¶

func NewLogsServiceRemapperTypeFromValue(v string) (*LogsServiceRemapperType, error)

NewLogsServiceRemapperTypeFromValue returns a pointer to a valid LogsServiceRemapperType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsServiceRemapperType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsServiceRemapperType) GetAllowedValues() []LogsServiceRemapperType

GetAllowedValues reeturns the list of possible values.

func (LogsServiceRemapperType) IsValid ¶

func (v LogsServiceRemapperType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsServiceRemapperType) Ptr ¶

Ptr returns reference to LogsServiceRemapperType value.

func (*LogsServiceRemapperType) UnmarshalJSON ¶

func (v *LogsServiceRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsSort ¶

type LogsSort string

LogsSort Time-ascending `asc` or time-descending `desc` results.

const (
	LOGSSORT_TIME_ASCENDING  LogsSort = "asc"
	LOGSSORT_TIME_DESCENDING LogsSort = "desc"
)

List of LogsSort.

func NewLogsSortFromValue ¶

func NewLogsSortFromValue(v string) (*LogsSort, error)

NewLogsSortFromValue returns a pointer to a valid LogsSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsSort) GetAllowedValues ¶ added in v1.1.0

func (v *LogsSort) GetAllowedValues() []LogsSort

GetAllowedValues reeturns the list of possible values.

func (LogsSort) IsValid ¶

func (v LogsSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsSort) Ptr ¶

func (v LogsSort) Ptr() *LogsSort

Ptr returns reference to LogsSort value.

func (*LogsSort) UnmarshalJSON ¶

func (v *LogsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsStatusRemapper ¶

type LogsStatusRemapper struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Type of logs status remapper.
	Type LogsStatusRemapperType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsStatusRemapper Use this Processor if you want to assign some attributes as the official status.

Each incoming status value is mapped as follows.

  • Integers from 0 to 7 map to the Syslog severity standards

  • Strings beginning with `emerg` or f (case-insensitive) map to `emerg` (0)

  • Strings beginning with `a` (case-insensitive) map to `alert` (1)

  • Strings beginning with `c` (case-insensitive) map to `critical` (2)

  • Strings beginning with `err` (case-insensitive) map to `error` (3)

  • Strings beginning with `w` (case-insensitive) map to `warning` (4)

  • Strings beginning with `n` (case-insensitive) map to `notice` (5)

  • Strings beginning with `i` (case-insensitive) map to `info` (6)

  • Strings beginning with `d`, `trace` or `verbose` (case-insensitive) map to `debug` (7)

  • Strings beginning with `o` or matching `OK` or `Success` (case-insensitive) map to OK

  • All others map to `info` (6)

    **Note:** If multiple log status remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account.

func NewLogsStatusRemapper ¶

func NewLogsStatusRemapper(sources []string, typeVar LogsStatusRemapperType) *LogsStatusRemapper

NewLogsStatusRemapper instantiates a new LogsStatusRemapper 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 NewLogsStatusRemapperWithDefaults ¶

func NewLogsStatusRemapperWithDefaults() *LogsStatusRemapper

NewLogsStatusRemapperWithDefaults instantiates a new LogsStatusRemapper 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 (*LogsStatusRemapper) GetIsEnabled ¶

func (o *LogsStatusRemapper) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsStatusRemapper) GetIsEnabledOk ¶

func (o *LogsStatusRemapper) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsStatusRemapper) GetName ¶

func (o *LogsStatusRemapper) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsStatusRemapper) GetNameOk ¶

func (o *LogsStatusRemapper) 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 (*LogsStatusRemapper) GetSources ¶

func (o *LogsStatusRemapper) GetSources() []string

GetSources returns the Sources field value.

func (*LogsStatusRemapper) GetSourcesOk ¶

func (o *LogsStatusRemapper) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsStatusRemapper) GetType ¶

GetType returns the Type field value.

func (*LogsStatusRemapper) GetTypeOk ¶

func (o *LogsStatusRemapper) GetTypeOk() (*LogsStatusRemapperType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsStatusRemapper) HasIsEnabled ¶

func (o *LogsStatusRemapper) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsStatusRemapper) HasName ¶

func (o *LogsStatusRemapper) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsStatusRemapper) MarshalJSON ¶

func (o LogsStatusRemapper) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsStatusRemapper) SetIsEnabled ¶

func (o *LogsStatusRemapper) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsStatusRemapper) SetName ¶

func (o *LogsStatusRemapper) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsStatusRemapper) SetSources ¶

func (o *LogsStatusRemapper) SetSources(v []string)

SetSources sets field value.

func (*LogsStatusRemapper) SetType ¶

SetType sets field value.

func (*LogsStatusRemapper) UnmarshalJSON ¶

func (o *LogsStatusRemapper) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsStatusRemapperType ¶

type LogsStatusRemapperType string

LogsStatusRemapperType Type of logs status remapper.

const (
	LOGSSTATUSREMAPPERTYPE_STATUS_REMAPPER LogsStatusRemapperType = "status-remapper"
)

List of LogsStatusRemapperType.

func NewLogsStatusRemapperTypeFromValue ¶

func NewLogsStatusRemapperTypeFromValue(v string) (*LogsStatusRemapperType, error)

NewLogsStatusRemapperTypeFromValue returns a pointer to a valid LogsStatusRemapperType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsStatusRemapperType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsStatusRemapperType) GetAllowedValues() []LogsStatusRemapperType

GetAllowedValues reeturns the list of possible values.

func (LogsStatusRemapperType) IsValid ¶

func (v LogsStatusRemapperType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsStatusRemapperType) Ptr ¶

Ptr returns reference to LogsStatusRemapperType value.

func (*LogsStatusRemapperType) UnmarshalJSON ¶

func (v *LogsStatusRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsStringBuilderProcessor ¶

type LogsStringBuilderProcessor struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// If true, it replaces all missing attributes of `template` by an empty string.
	// If `false` (default), skips the operation for missing attributes.
	IsReplaceMissing *bool `json:"is_replace_missing,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// The name of the attribute that contains the result of the template.
	Target string `json:"target"`
	// A formula with one or more attributes and raw text.
	Template string `json:"template"`
	// Type of logs string builder processor.
	Type LogsStringBuilderProcessorType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsStringBuilderProcessor Use the string builder processor to add a new attribute (without spaces or special characters) to a log with the result of the provided template. This enables aggregation of different attributes or raw strings into a single attribute.

The template is defined by both raw text and blocks with the syntax `%{attribute_path}`.

**Notes**:

  • The processor only accepts attributes with values or an array of values in the blocks.
  • If an attribute cannot be used (object or array of object), it is replaced by an empty string or the entire operation is skipped depending on your selection.
  • If the target attribute already exists, it is overwritten by the result of the template.
  • Results of the template cannot exceed 256 characters.

func NewLogsStringBuilderProcessor ¶

func NewLogsStringBuilderProcessor(target string, template string, typeVar LogsStringBuilderProcessorType) *LogsStringBuilderProcessor

NewLogsStringBuilderProcessor instantiates a new LogsStringBuilderProcessor 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 NewLogsStringBuilderProcessorWithDefaults ¶

func NewLogsStringBuilderProcessorWithDefaults() *LogsStringBuilderProcessor

NewLogsStringBuilderProcessorWithDefaults instantiates a new LogsStringBuilderProcessor 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 (*LogsStringBuilderProcessor) GetIsEnabled ¶

func (o *LogsStringBuilderProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsStringBuilderProcessor) GetIsEnabledOk ¶

func (o *LogsStringBuilderProcessor) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsStringBuilderProcessor) GetIsReplaceMissing ¶

func (o *LogsStringBuilderProcessor) GetIsReplaceMissing() bool

GetIsReplaceMissing returns the IsReplaceMissing field value if set, zero value otherwise.

func (*LogsStringBuilderProcessor) GetIsReplaceMissingOk ¶

func (o *LogsStringBuilderProcessor) GetIsReplaceMissingOk() (*bool, bool)

GetIsReplaceMissingOk returns a tuple with the IsReplaceMissing field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsStringBuilderProcessor) GetName ¶

func (o *LogsStringBuilderProcessor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsStringBuilderProcessor) GetNameOk ¶

func (o *LogsStringBuilderProcessor) 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 (*LogsStringBuilderProcessor) GetTarget ¶

func (o *LogsStringBuilderProcessor) GetTarget() string

GetTarget returns the Target field value.

func (*LogsStringBuilderProcessor) GetTargetOk ¶

func (o *LogsStringBuilderProcessor) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsStringBuilderProcessor) GetTemplate ¶

func (o *LogsStringBuilderProcessor) GetTemplate() string

GetTemplate returns the Template field value.

func (*LogsStringBuilderProcessor) GetTemplateOk ¶

func (o *LogsStringBuilderProcessor) GetTemplateOk() (*string, bool)

GetTemplateOk returns a tuple with the Template field value and a boolean to check if the value has been set.

func (*LogsStringBuilderProcessor) GetType ¶

GetType returns the Type field value.

func (*LogsStringBuilderProcessor) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsStringBuilderProcessor) HasIsEnabled ¶

func (o *LogsStringBuilderProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsStringBuilderProcessor) HasIsReplaceMissing ¶

func (o *LogsStringBuilderProcessor) HasIsReplaceMissing() bool

HasIsReplaceMissing returns a boolean if a field has been set.

func (*LogsStringBuilderProcessor) HasName ¶

func (o *LogsStringBuilderProcessor) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsStringBuilderProcessor) MarshalJSON ¶

func (o LogsStringBuilderProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsStringBuilderProcessor) SetIsEnabled ¶

func (o *LogsStringBuilderProcessor) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsStringBuilderProcessor) SetIsReplaceMissing ¶

func (o *LogsStringBuilderProcessor) SetIsReplaceMissing(v bool)

SetIsReplaceMissing gets a reference to the given bool and assigns it to the IsReplaceMissing field.

func (*LogsStringBuilderProcessor) SetName ¶

func (o *LogsStringBuilderProcessor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsStringBuilderProcessor) SetTarget ¶

func (o *LogsStringBuilderProcessor) SetTarget(v string)

SetTarget sets field value.

func (*LogsStringBuilderProcessor) SetTemplate ¶

func (o *LogsStringBuilderProcessor) SetTemplate(v string)

SetTemplate sets field value.

func (*LogsStringBuilderProcessor) SetType ¶

SetType sets field value.

func (*LogsStringBuilderProcessor) UnmarshalJSON ¶

func (o *LogsStringBuilderProcessor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsStringBuilderProcessorType ¶

type LogsStringBuilderProcessorType string

LogsStringBuilderProcessorType Type of logs string builder processor.

const (
	LOGSSTRINGBUILDERPROCESSORTYPE_STRING_BUILDER_PROCESSOR LogsStringBuilderProcessorType = "string-builder-processor"
)

List of LogsStringBuilderProcessorType.

func NewLogsStringBuilderProcessorTypeFromValue ¶

func NewLogsStringBuilderProcessorTypeFromValue(v string) (*LogsStringBuilderProcessorType, error)

NewLogsStringBuilderProcessorTypeFromValue returns a pointer to a valid LogsStringBuilderProcessorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsStringBuilderProcessorType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (LogsStringBuilderProcessorType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsStringBuilderProcessorType) Ptr ¶

Ptr returns reference to LogsStringBuilderProcessorType value.

func (*LogsStringBuilderProcessorType) UnmarshalJSON ¶

func (v *LogsStringBuilderProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsTraceRemapper ¶

type LogsTraceRemapper struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources,omitempty"`
	// Type of logs trace remapper.
	Type LogsTraceRemapperType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsTraceRemapper There are two ways to improve correlation between application traces and logs.

  1. Follow the documentation on [how to inject a trace ID in the application logs](https://docs.datadoghq.com/tracing/connect_logs_and_traces) and by default log integrations take care of all the rest of the setup.

  2. Use the Trace remapper processor to define a log attribute as its associated trace ID.

func NewLogsTraceRemapper ¶

func NewLogsTraceRemapper(typeVar LogsTraceRemapperType) *LogsTraceRemapper

NewLogsTraceRemapper instantiates a new LogsTraceRemapper 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 NewLogsTraceRemapperWithDefaults ¶

func NewLogsTraceRemapperWithDefaults() *LogsTraceRemapper

NewLogsTraceRemapperWithDefaults instantiates a new LogsTraceRemapper 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 (*LogsTraceRemapper) GetIsEnabled ¶

func (o *LogsTraceRemapper) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsTraceRemapper) GetIsEnabledOk ¶

func (o *LogsTraceRemapper) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsTraceRemapper) GetName ¶

func (o *LogsTraceRemapper) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsTraceRemapper) GetNameOk ¶

func (o *LogsTraceRemapper) 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 (*LogsTraceRemapper) GetSources ¶

func (o *LogsTraceRemapper) GetSources() []string

GetSources returns the Sources field value if set, zero value otherwise.

func (*LogsTraceRemapper) GetSourcesOk ¶

func (o *LogsTraceRemapper) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsTraceRemapper) GetType ¶

GetType returns the Type field value.

func (*LogsTraceRemapper) GetTypeOk ¶

func (o *LogsTraceRemapper) GetTypeOk() (*LogsTraceRemapperType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsTraceRemapper) HasIsEnabled ¶

func (o *LogsTraceRemapper) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsTraceRemapper) HasName ¶

func (o *LogsTraceRemapper) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsTraceRemapper) HasSources ¶

func (o *LogsTraceRemapper) HasSources() bool

HasSources returns a boolean if a field has been set.

func (LogsTraceRemapper) MarshalJSON ¶

func (o LogsTraceRemapper) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsTraceRemapper) SetIsEnabled ¶

func (o *LogsTraceRemapper) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsTraceRemapper) SetName ¶

func (o *LogsTraceRemapper) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsTraceRemapper) SetSources ¶

func (o *LogsTraceRemapper) SetSources(v []string)

SetSources gets a reference to the given []string and assigns it to the Sources field.

func (*LogsTraceRemapper) SetType ¶

SetType sets field value.

func (*LogsTraceRemapper) UnmarshalJSON ¶

func (o *LogsTraceRemapper) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsTraceRemapperType ¶

type LogsTraceRemapperType string

LogsTraceRemapperType Type of logs trace remapper.

const (
	LOGSTRACEREMAPPERTYPE_TRACE_ID_REMAPPER LogsTraceRemapperType = "trace-id-remapper"
)

List of LogsTraceRemapperType.

func NewLogsTraceRemapperTypeFromValue ¶

func NewLogsTraceRemapperTypeFromValue(v string) (*LogsTraceRemapperType, error)

NewLogsTraceRemapperTypeFromValue returns a pointer to a valid LogsTraceRemapperType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsTraceRemapperType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsTraceRemapperType) GetAllowedValues() []LogsTraceRemapperType

GetAllowedValues reeturns the list of possible values.

func (LogsTraceRemapperType) IsValid ¶

func (v LogsTraceRemapperType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsTraceRemapperType) Ptr ¶

Ptr returns reference to LogsTraceRemapperType value.

func (*LogsTraceRemapperType) UnmarshalJSON ¶

func (v *LogsTraceRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsURLParser ¶

type LogsURLParser struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Normalize the ending slashes or not.
	NormalizeEndingSlashes NullableBool `json:"normalize_ending_slashes,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Name of the parent attribute that contains all the extracted details from the `sources`.
	Target string `json:"target"`
	// Type of logs URL parser.
	Type LogsURLParserType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsURLParser This processor extracts query parameters and other important parameters from a URL.

func NewLogsURLParser ¶

func NewLogsURLParser(sources []string, target string, typeVar LogsURLParserType) *LogsURLParser

NewLogsURLParser instantiates a new LogsURLParser 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 NewLogsURLParserWithDefaults ¶

func NewLogsURLParserWithDefaults() *LogsURLParser

NewLogsURLParserWithDefaults instantiates a new LogsURLParser 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 (*LogsURLParser) GetIsEnabled ¶

func (o *LogsURLParser) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsURLParser) GetIsEnabledOk ¶

func (o *LogsURLParser) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsURLParser) GetName ¶

func (o *LogsURLParser) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsURLParser) GetNameOk ¶

func (o *LogsURLParser) 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 (*LogsURLParser) GetNormalizeEndingSlashes ¶

func (o *LogsURLParser) GetNormalizeEndingSlashes() bool

GetNormalizeEndingSlashes returns the NormalizeEndingSlashes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LogsURLParser) GetNormalizeEndingSlashesOk ¶

func (o *LogsURLParser) GetNormalizeEndingSlashesOk() (*bool, bool)

GetNormalizeEndingSlashesOk returns a tuple with the NormalizeEndingSlashes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*LogsURLParser) GetSources ¶

func (o *LogsURLParser) GetSources() []string

GetSources returns the Sources field value.

func (*LogsURLParser) GetSourcesOk ¶

func (o *LogsURLParser) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsURLParser) GetTarget ¶

func (o *LogsURLParser) GetTarget() string

GetTarget returns the Target field value.

func (*LogsURLParser) GetTargetOk ¶

func (o *LogsURLParser) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsURLParser) GetType ¶

func (o *LogsURLParser) GetType() LogsURLParserType

GetType returns the Type field value.

func (*LogsURLParser) GetTypeOk ¶

func (o *LogsURLParser) GetTypeOk() (*LogsURLParserType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsURLParser) HasIsEnabled ¶

func (o *LogsURLParser) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsURLParser) HasName ¶

func (o *LogsURLParser) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsURLParser) HasNormalizeEndingSlashes ¶

func (o *LogsURLParser) HasNormalizeEndingSlashes() bool

HasNormalizeEndingSlashes returns a boolean if a field has been set.

func (LogsURLParser) MarshalJSON ¶

func (o LogsURLParser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsURLParser) SetIsEnabled ¶

func (o *LogsURLParser) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsURLParser) SetName ¶

func (o *LogsURLParser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsURLParser) SetNormalizeEndingSlashes ¶

func (o *LogsURLParser) SetNormalizeEndingSlashes(v bool)

SetNormalizeEndingSlashes gets a reference to the given NullableBool and assigns it to the NormalizeEndingSlashes field.

func (*LogsURLParser) SetNormalizeEndingSlashesNil ¶

func (o *LogsURLParser) SetNormalizeEndingSlashesNil()

SetNormalizeEndingSlashesNil sets the value for NormalizeEndingSlashes to be an explicit nil.

func (*LogsURLParser) SetSources ¶

func (o *LogsURLParser) SetSources(v []string)

SetSources sets field value.

func (*LogsURLParser) SetTarget ¶

func (o *LogsURLParser) SetTarget(v string)

SetTarget sets field value.

func (*LogsURLParser) SetType ¶

func (o *LogsURLParser) SetType(v LogsURLParserType)

SetType sets field value.

func (*LogsURLParser) UnmarshalJSON ¶

func (o *LogsURLParser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*LogsURLParser) UnsetNormalizeEndingSlashes ¶

func (o *LogsURLParser) UnsetNormalizeEndingSlashes()

UnsetNormalizeEndingSlashes ensures that no value is present for NormalizeEndingSlashes, not even an explicit nil.

type LogsURLParserType ¶

type LogsURLParserType string

LogsURLParserType Type of logs URL parser.

const (
	LOGSURLPARSERTYPE_URL_PARSER LogsURLParserType = "url-parser"
)

List of LogsURLParserType.

func NewLogsURLParserTypeFromValue ¶

func NewLogsURLParserTypeFromValue(v string) (*LogsURLParserType, error)

NewLogsURLParserTypeFromValue returns a pointer to a valid LogsURLParserType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsURLParserType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsURLParserType) GetAllowedValues() []LogsURLParserType

GetAllowedValues reeturns the list of possible values.

func (LogsURLParserType) IsValid ¶

func (v LogsURLParserType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsURLParserType) Ptr ¶

Ptr returns reference to LogsURLParserType value.

func (*LogsURLParserType) UnmarshalJSON ¶

func (v *LogsURLParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type LogsUserAgentParser ¶

type LogsUserAgentParser struct {
	// Whether or not the processor is enabled.
	IsEnabled *bool `json:"is_enabled,omitempty"`
	// Define if the source attribute is URL encoded or not.
	IsEncoded *bool `json:"is_encoded,omitempty"`
	// Name of the processor.
	Name *string `json:"name,omitempty"`
	// Array of source attributes.
	Sources []string `json:"sources"`
	// Name of the parent attribute that contains all the extracted details from the `sources`.
	Target string `json:"target"`
	// Type of logs User-Agent parser.
	Type LogsUserAgentParserType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsUserAgentParser The User-Agent parser takes a User-Agent attribute and extracts the OS, browser, device, and other user data. It recognizes major bots like the Google Bot, Yahoo Slurp, and Bing.

func NewLogsUserAgentParser ¶

func NewLogsUserAgentParser(sources []string, target string, typeVar LogsUserAgentParserType) *LogsUserAgentParser

NewLogsUserAgentParser instantiates a new LogsUserAgentParser 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 NewLogsUserAgentParserWithDefaults ¶

func NewLogsUserAgentParserWithDefaults() *LogsUserAgentParser

NewLogsUserAgentParserWithDefaults instantiates a new LogsUserAgentParser 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 (*LogsUserAgentParser) GetIsEnabled ¶

func (o *LogsUserAgentParser) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*LogsUserAgentParser) GetIsEnabledOk ¶

func (o *LogsUserAgentParser) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsUserAgentParser) GetIsEncoded ¶

func (o *LogsUserAgentParser) GetIsEncoded() bool

GetIsEncoded returns the IsEncoded field value if set, zero value otherwise.

func (*LogsUserAgentParser) GetIsEncodedOk ¶

func (o *LogsUserAgentParser) GetIsEncodedOk() (*bool, bool)

GetIsEncodedOk returns a tuple with the IsEncoded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsUserAgentParser) GetName ¶

func (o *LogsUserAgentParser) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*LogsUserAgentParser) GetNameOk ¶

func (o *LogsUserAgentParser) 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 (*LogsUserAgentParser) GetSources ¶

func (o *LogsUserAgentParser) GetSources() []string

GetSources returns the Sources field value.

func (*LogsUserAgentParser) GetSourcesOk ¶

func (o *LogsUserAgentParser) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field value and a boolean to check if the value has been set.

func (*LogsUserAgentParser) GetTarget ¶

func (o *LogsUserAgentParser) GetTarget() string

GetTarget returns the Target field value.

func (*LogsUserAgentParser) GetTargetOk ¶

func (o *LogsUserAgentParser) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*LogsUserAgentParser) GetType ¶

GetType returns the Type field value.

func (*LogsUserAgentParser) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LogsUserAgentParser) HasIsEnabled ¶

func (o *LogsUserAgentParser) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsUserAgentParser) HasIsEncoded ¶

func (o *LogsUserAgentParser) HasIsEncoded() bool

HasIsEncoded returns a boolean if a field has been set.

func (*LogsUserAgentParser) HasName ¶

func (o *LogsUserAgentParser) HasName() bool

HasName returns a boolean if a field has been set.

func (LogsUserAgentParser) MarshalJSON ¶

func (o LogsUserAgentParser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*LogsUserAgentParser) SetIsEnabled ¶

func (o *LogsUserAgentParser) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*LogsUserAgentParser) SetIsEncoded ¶

func (o *LogsUserAgentParser) SetIsEncoded(v bool)

SetIsEncoded gets a reference to the given bool and assigns it to the IsEncoded field.

func (*LogsUserAgentParser) SetName ¶

func (o *LogsUserAgentParser) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*LogsUserAgentParser) SetSources ¶

func (o *LogsUserAgentParser) SetSources(v []string)

SetSources sets field value.

func (*LogsUserAgentParser) SetTarget ¶

func (o *LogsUserAgentParser) SetTarget(v string)

SetTarget sets field value.

func (*LogsUserAgentParser) SetType ¶

SetType sets field value.

func (*LogsUserAgentParser) UnmarshalJSON ¶

func (o *LogsUserAgentParser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type LogsUserAgentParserType ¶

type LogsUserAgentParserType string

LogsUserAgentParserType Type of logs User-Agent parser.

const (
	LOGSUSERAGENTPARSERTYPE_USER_AGENT_PARSER LogsUserAgentParserType = "user-agent-parser"
)

List of LogsUserAgentParserType.

func NewLogsUserAgentParserTypeFromValue ¶

func NewLogsUserAgentParserTypeFromValue(v string) (*LogsUserAgentParserType, error)

NewLogsUserAgentParserTypeFromValue returns a pointer to a valid LogsUserAgentParserType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*LogsUserAgentParserType) GetAllowedValues ¶ added in v1.1.0

func (v *LogsUserAgentParserType) GetAllowedValues() []LogsUserAgentParserType

GetAllowedValues reeturns the list of possible values.

func (LogsUserAgentParserType) IsValid ¶

func (v LogsUserAgentParserType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (LogsUserAgentParserType) Ptr ¶

Ptr returns reference to LogsUserAgentParserType value.

func (*LogsUserAgentParserType) UnmarshalJSON ¶

func (v *LogsUserAgentParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricContentEncoding ¶ added in v1.5.0

type MetricContentEncoding string

MetricContentEncoding HTTP header used to compress the media-type.

const (
	METRICCONTENTENCODING_DEFLATE MetricContentEncoding = "deflate"
)

List of MetricContentEncoding.

func NewMetricContentEncodingFromValue ¶ added in v1.5.0

func NewMetricContentEncodingFromValue(v string) (*MetricContentEncoding, error)

NewMetricContentEncodingFromValue returns a pointer to a valid MetricContentEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MetricContentEncoding) GetAllowedValues ¶ added in v1.5.0

func (v *MetricContentEncoding) GetAllowedValues() []MetricContentEncoding

GetAllowedValues reeturns the list of possible values.

func (MetricContentEncoding) IsValid ¶ added in v1.5.0

func (v MetricContentEncoding) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MetricContentEncoding) Ptr ¶ added in v1.5.0

Ptr returns reference to MetricContentEncoding value.

func (*MetricContentEncoding) UnmarshalJSON ¶ added in v1.5.0

func (v *MetricContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MetricMetadata ¶

type MetricMetadata struct {
	// Metric description.
	Description *string `json:"description,omitempty"`
	// Name of the integration that sent the metric if applicable.
	Integration *string `json:"integration,omitempty"`
	// Per unit of the metric such as `second` in `bytes per second`.
	PerUnit *string `json:"per_unit,omitempty"`
	// A more human-readable and abbreviated version of the metric name.
	ShortName *string `json:"short_name,omitempty"`
	// StatsD flush interval of the metric in seconds if applicable.
	StatsdInterval *int64 `json:"statsd_interval,omitempty"`
	// Metric type such as `gauge` or `rate`.
	Type *string `json:"type,omitempty"`
	// Primary unit of the metric such as `byte` or `operation`.
	Unit *string `json:"unit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricMetadata Object with all metric related metadata.

func NewMetricMetadata ¶

func NewMetricMetadata() *MetricMetadata

NewMetricMetadata instantiates a new MetricMetadata 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 NewMetricMetadataWithDefaults ¶

func NewMetricMetadataWithDefaults() *MetricMetadata

NewMetricMetadataWithDefaults instantiates a new MetricMetadata 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 (*MetricMetadata) GetDescription ¶

func (o *MetricMetadata) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*MetricMetadata) GetDescriptionOk ¶

func (o *MetricMetadata) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) GetIntegration ¶

func (o *MetricMetadata) GetIntegration() string

GetIntegration returns the Integration field value if set, zero value otherwise.

func (*MetricMetadata) GetIntegrationOk ¶

func (o *MetricMetadata) GetIntegrationOk() (*string, bool)

GetIntegrationOk returns a tuple with the Integration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) GetPerUnit ¶

func (o *MetricMetadata) GetPerUnit() string

GetPerUnit returns the PerUnit field value if set, zero value otherwise.

func (*MetricMetadata) GetPerUnitOk ¶

func (o *MetricMetadata) GetPerUnitOk() (*string, bool)

GetPerUnitOk returns a tuple with the PerUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) GetShortName ¶

func (o *MetricMetadata) GetShortName() string

GetShortName returns the ShortName field value if set, zero value otherwise.

func (*MetricMetadata) GetShortNameOk ¶

func (o *MetricMetadata) GetShortNameOk() (*string, bool)

GetShortNameOk returns a tuple with the ShortName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) GetStatsdInterval ¶

func (o *MetricMetadata) GetStatsdInterval() int64

GetStatsdInterval returns the StatsdInterval field value if set, zero value otherwise.

func (*MetricMetadata) GetStatsdIntervalOk ¶

func (o *MetricMetadata) GetStatsdIntervalOk() (*int64, bool)

GetStatsdIntervalOk returns a tuple with the StatsdInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) GetType ¶

func (o *MetricMetadata) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*MetricMetadata) GetTypeOk ¶

func (o *MetricMetadata) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) GetUnit ¶

func (o *MetricMetadata) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricMetadata) GetUnitOk ¶

func (o *MetricMetadata) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricMetadata) HasDescription ¶

func (o *MetricMetadata) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MetricMetadata) HasIntegration ¶

func (o *MetricMetadata) HasIntegration() bool

HasIntegration returns a boolean if a field has been set.

func (*MetricMetadata) HasPerUnit ¶

func (o *MetricMetadata) HasPerUnit() bool

HasPerUnit returns a boolean if a field has been set.

func (*MetricMetadata) HasShortName ¶

func (o *MetricMetadata) HasShortName() bool

HasShortName returns a boolean if a field has been set.

func (*MetricMetadata) HasStatsdInterval ¶

func (o *MetricMetadata) HasStatsdInterval() bool

HasStatsdInterval returns a boolean if a field has been set.

func (*MetricMetadata) HasType ¶

func (o *MetricMetadata) HasType() bool

HasType returns a boolean if a field has been set.

func (*MetricMetadata) HasUnit ¶

func (o *MetricMetadata) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (MetricMetadata) MarshalJSON ¶

func (o MetricMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricMetadata) SetDescription ¶

func (o *MetricMetadata) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*MetricMetadata) SetIntegration ¶

func (o *MetricMetadata) SetIntegration(v string)

SetIntegration gets a reference to the given string and assigns it to the Integration field.

func (*MetricMetadata) SetPerUnit ¶

func (o *MetricMetadata) SetPerUnit(v string)

SetPerUnit gets a reference to the given string and assigns it to the PerUnit field.

func (*MetricMetadata) SetShortName ¶

func (o *MetricMetadata) SetShortName(v string)

SetShortName gets a reference to the given string and assigns it to the ShortName field.

func (*MetricMetadata) SetStatsdInterval ¶

func (o *MetricMetadata) SetStatsdInterval(v int64)

SetStatsdInterval gets a reference to the given int64 and assigns it to the StatsdInterval field.

func (*MetricMetadata) SetType ¶

func (o *MetricMetadata) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*MetricMetadata) SetUnit ¶

func (o *MetricMetadata) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*MetricMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricSearchResponse ¶

type MetricSearchResponse struct {
	// Search result.
	Results *MetricSearchResponseResults `json:"results,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricSearchResponse Object containing the list of metrics matching the search query.

func NewMetricSearchResponse ¶

func NewMetricSearchResponse() *MetricSearchResponse

NewMetricSearchResponse instantiates a new MetricSearchResponse 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 NewMetricSearchResponseWithDefaults ¶

func NewMetricSearchResponseWithDefaults() *MetricSearchResponse

NewMetricSearchResponseWithDefaults instantiates a new MetricSearchResponse 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 (*MetricSearchResponse) GetResults ¶

GetResults returns the Results field value if set, zero value otherwise.

func (*MetricSearchResponse) GetResultsOk ¶

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 (*MetricSearchResponse) HasResults ¶

func (o *MetricSearchResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (MetricSearchResponse) MarshalJSON ¶

func (o MetricSearchResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricSearchResponse) SetResults ¶

SetResults gets a reference to the given MetricSearchResponseResults and assigns it to the Results field.

func (*MetricSearchResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricSearchResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricSearchResponseResults ¶

type MetricSearchResponseResults struct {
	// List of metrics that match the search query.
	Metrics []string `json:"metrics,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricSearchResponseResults Search result.

func NewMetricSearchResponseResults ¶

func NewMetricSearchResponseResults() *MetricSearchResponseResults

NewMetricSearchResponseResults instantiates a new MetricSearchResponseResults 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 NewMetricSearchResponseResultsWithDefaults ¶

func NewMetricSearchResponseResultsWithDefaults() *MetricSearchResponseResults

NewMetricSearchResponseResultsWithDefaults instantiates a new MetricSearchResponseResults 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 (*MetricSearchResponseResults) GetMetrics ¶

func (o *MetricSearchResponseResults) GetMetrics() []string

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*MetricSearchResponseResults) GetMetricsOk ¶

func (o *MetricSearchResponseResults) GetMetricsOk() (*[]string, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricSearchResponseResults) HasMetrics ¶

func (o *MetricSearchResponseResults) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (MetricSearchResponseResults) MarshalJSON ¶

func (o MetricSearchResponseResults) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricSearchResponseResults) SetMetrics ¶

func (o *MetricSearchResponseResults) SetMetrics(v []string)

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*MetricSearchResponseResults) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricSearchResponseResults) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsApiService ¶

type MetricsApiService service

MetricsApiService MetricsApi service.

func (*MetricsApiService) GetMetricMetadata ¶

func (a *MetricsApiService) GetMetricMetadata(ctx _context.Context, metricName string) (MetricMetadata, *_nethttp.Response, error)

GetMetricMetadata Get metric metadata. Get metadata about a specific metric.

func (*MetricsApiService) ListActiveMetrics ¶

ListActiveMetrics Get active metrics list. Get the list of actively reporting metrics from a given time until now.

func (*MetricsApiService) ListMetrics ¶

ListMetrics Search metrics. Search for metrics from the last 24 hours in Datadog.

func (*MetricsApiService) QueryMetrics ¶

func (a *MetricsApiService) QueryMetrics(ctx _context.Context, from int64, to int64, query string) (MetricsQueryResponse, *_nethttp.Response, error)

QueryMetrics Query timeseries points. Query timeseries points.

func (*MetricsApiService) SubmitDistributionPoints ¶ added in v1.15.0

SubmitDistributionPoints Submit distribution points. The distribution points end-point allows you to post distribution data that can be graphed on Datadog’s dashboards.

func (*MetricsApiService) SubmitMetrics ¶

SubmitMetrics Submit metrics. The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The maximum payload size is 3.2 megabytes (3200000 bytes). Compressed payloads must have a decompressed size of less than 62 megabytes (62914560 bytes).

If you’re submitting metrics directly to the Datadog API without using DogStatsD, expect:

- 64 bits for the timestamp - 64 bits for the value - 40 bytes for the metric names - 50 bytes for the timeseries - The full payload is approximately 100 bytes. However, with the DogStatsD API, compression is applied, which reduces the payload size.

func (*MetricsApiService) UpdateMetricMetadata ¶

func (a *MetricsApiService) UpdateMetricMetadata(ctx _context.Context, metricName string, body MetricMetadata) (MetricMetadata, *_nethttp.Response, error)

UpdateMetricMetadata Edit metric metadata. Edit metadata of a specific metric. Find out more about [supported types](https://docs.datadoghq.com/developers/metrics).

type MetricsListResponse ¶

type MetricsListResponse struct {
	// Time when the metrics were active, seconds since the Unix epoch.
	From *string `json:"from,omitempty"`
	// List of metric names.
	Metrics []string `json:"metrics,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricsListResponse Object listing all metric names stored by Datadog since a given time.

func NewMetricsListResponse ¶

func NewMetricsListResponse() *MetricsListResponse

NewMetricsListResponse instantiates a new MetricsListResponse 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 NewMetricsListResponseWithDefaults ¶

func NewMetricsListResponseWithDefaults() *MetricsListResponse

NewMetricsListResponseWithDefaults instantiates a new MetricsListResponse 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 (*MetricsListResponse) GetFrom ¶

func (o *MetricsListResponse) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*MetricsListResponse) GetFromOk ¶

func (o *MetricsListResponse) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsListResponse) GetMetrics ¶

func (o *MetricsListResponse) GetMetrics() []string

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*MetricsListResponse) GetMetricsOk ¶

func (o *MetricsListResponse) GetMetricsOk() (*[]string, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsListResponse) HasFrom ¶

func (o *MetricsListResponse) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*MetricsListResponse) HasMetrics ¶

func (o *MetricsListResponse) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (MetricsListResponse) MarshalJSON ¶

func (o MetricsListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricsListResponse) SetFrom ¶

func (o *MetricsListResponse) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*MetricsListResponse) SetMetrics ¶

func (o *MetricsListResponse) SetMetrics(v []string)

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*MetricsListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricsListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsPayload ¶

type MetricsPayload struct {
	// A list of time series to submit to Datadog.
	Series []Series `json:"series"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricsPayload The metrics' payload.

func NewMetricsPayload ¶

func NewMetricsPayload(series []Series) *MetricsPayload

NewMetricsPayload instantiates a new MetricsPayload 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 NewMetricsPayloadWithDefaults ¶

func NewMetricsPayloadWithDefaults() *MetricsPayload

NewMetricsPayloadWithDefaults instantiates a new MetricsPayload 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 (*MetricsPayload) GetSeries ¶

func (o *MetricsPayload) GetSeries() []Series

GetSeries returns the Series field value.

func (*MetricsPayload) GetSeriesOk ¶

func (o *MetricsPayload) GetSeriesOk() (*[]Series, bool)

GetSeriesOk returns a tuple with the Series field value and a boolean to check if the value has been set.

func (MetricsPayload) MarshalJSON ¶

func (o MetricsPayload) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricsPayload) SetSeries ¶

func (o *MetricsPayload) SetSeries(v []Series)

SetSeries sets field value.

func (*MetricsPayload) UnmarshalJSON ¶

func (o *MetricsPayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsQueryMetadata ¶

type MetricsQueryMetadata struct {
	// Aggregation type.
	Aggr NullableString `json:"aggr,omitempty"`
	// Display name of the metric.
	DisplayName *string `json:"display_name,omitempty"`
	// End of the time window, milliseconds since Unix epoch.
	End *int64 `json:"end,omitempty"`
	// Metric expression.
	Expression *string `json:"expression,omitempty"`
	// Number of seconds between data samples.
	Interval *int64 `json:"interval,omitempty"`
	// Number of data samples.
	Length *int64 `json:"length,omitempty"`
	// Metric name.
	Metric *string `json:"metric,omitempty"`
	// List of points of the time series.
	Pointlist [][]*float64 `json:"pointlist,omitempty"`
	// The index of the series' query within the request.
	QueryIndex *int64 `json:"query_index,omitempty"`
	// Metric scope, comma separated list of tags.
	Scope *string `json:"scope,omitempty"`
	// Start of the time window, milliseconds since Unix epoch.
	Start *int64 `json:"start,omitempty"`
	// Unique tags identifying this series.
	TagSet []string `json:"tag_set,omitempty"`
	// Detailed information about the metric unit.
	// First element describes the "primary unit" (for example, `bytes` in `bytes per second`),
	// second describes the "per unit" (for example, `second` in `bytes per second`).
	Unit []MetricsQueryUnit `json:"unit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricsQueryMetadata Object containing all metric names returned and their associated metadata.

func NewMetricsQueryMetadata ¶

func NewMetricsQueryMetadata() *MetricsQueryMetadata

NewMetricsQueryMetadata instantiates a new MetricsQueryMetadata 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 NewMetricsQueryMetadataWithDefaults ¶

func NewMetricsQueryMetadataWithDefaults() *MetricsQueryMetadata

NewMetricsQueryMetadataWithDefaults instantiates a new MetricsQueryMetadata 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 (*MetricsQueryMetadata) GetAggr ¶

func (o *MetricsQueryMetadata) GetAggr() string

GetAggr returns the Aggr field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MetricsQueryMetadata) GetAggrOk ¶

func (o *MetricsQueryMetadata) GetAggrOk() (*string, bool)

GetAggrOk returns a tuple with the Aggr field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MetricsQueryMetadata) GetDisplayName ¶

func (o *MetricsQueryMetadata) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetDisplayNameOk ¶

func (o *MetricsQueryMetadata) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetEnd ¶

func (o *MetricsQueryMetadata) GetEnd() int64

GetEnd returns the End field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetEndOk ¶

func (o *MetricsQueryMetadata) GetEndOk() (*int64, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetExpression ¶

func (o *MetricsQueryMetadata) GetExpression() string

GetExpression returns the Expression field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetExpressionOk ¶

func (o *MetricsQueryMetadata) GetExpressionOk() (*string, bool)

GetExpressionOk returns a tuple with the Expression field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetInterval ¶

func (o *MetricsQueryMetadata) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetIntervalOk ¶

func (o *MetricsQueryMetadata) GetIntervalOk() (*int64, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetLength ¶

func (o *MetricsQueryMetadata) GetLength() int64

GetLength returns the Length field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetLengthOk ¶

func (o *MetricsQueryMetadata) GetLengthOk() (*int64, bool)

GetLengthOk returns a tuple with the Length field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetMetric ¶

func (o *MetricsQueryMetadata) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetMetricOk ¶

func (o *MetricsQueryMetadata) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetPointlist ¶

func (o *MetricsQueryMetadata) GetPointlist() [][]*float64

GetPointlist returns the Pointlist field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetPointlistOk ¶

func (o *MetricsQueryMetadata) GetPointlistOk() (*[][]*float64, bool)

GetPointlistOk returns a tuple with the Pointlist field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetQueryIndex ¶ added in v1.2.0

func (o *MetricsQueryMetadata) GetQueryIndex() int64

GetQueryIndex returns the QueryIndex field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetQueryIndexOk ¶ added in v1.2.0

func (o *MetricsQueryMetadata) GetQueryIndexOk() (*int64, bool)

GetQueryIndexOk returns a tuple with the QueryIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetScope ¶

func (o *MetricsQueryMetadata) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetScopeOk ¶

func (o *MetricsQueryMetadata) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetStart ¶

func (o *MetricsQueryMetadata) GetStart() int64

GetStart returns the Start field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetStartOk ¶

func (o *MetricsQueryMetadata) GetStartOk() (*int64, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetTagSet ¶ added in v1.2.0

func (o *MetricsQueryMetadata) GetTagSet() []string

GetTagSet returns the TagSet field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetTagSetOk ¶ added in v1.2.0

func (o *MetricsQueryMetadata) GetTagSetOk() (*[]string, bool)

GetTagSetOk returns a tuple with the TagSet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) GetUnit ¶

func (o *MetricsQueryMetadata) GetUnit() []MetricsQueryUnit

GetUnit returns the Unit field value if set, zero value otherwise.

func (*MetricsQueryMetadata) GetUnitOk ¶

func (o *MetricsQueryMetadata) GetUnitOk() (*[]MetricsQueryUnit, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryMetadata) HasAggr ¶

func (o *MetricsQueryMetadata) HasAggr() bool

HasAggr returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasDisplayName ¶

func (o *MetricsQueryMetadata) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasEnd ¶

func (o *MetricsQueryMetadata) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasExpression ¶

func (o *MetricsQueryMetadata) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasInterval ¶

func (o *MetricsQueryMetadata) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasLength ¶

func (o *MetricsQueryMetadata) HasLength() bool

HasLength returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasMetric ¶

func (o *MetricsQueryMetadata) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasPointlist ¶

func (o *MetricsQueryMetadata) HasPointlist() bool

HasPointlist returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasQueryIndex ¶ added in v1.2.0

func (o *MetricsQueryMetadata) HasQueryIndex() bool

HasQueryIndex returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasScope ¶

func (o *MetricsQueryMetadata) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasStart ¶

func (o *MetricsQueryMetadata) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasTagSet ¶ added in v1.2.0

func (o *MetricsQueryMetadata) HasTagSet() bool

HasTagSet returns a boolean if a field has been set.

func (*MetricsQueryMetadata) HasUnit ¶

func (o *MetricsQueryMetadata) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (MetricsQueryMetadata) MarshalJSON ¶

func (o MetricsQueryMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricsQueryMetadata) SetAggr ¶

func (o *MetricsQueryMetadata) SetAggr(v string)

SetAggr gets a reference to the given NullableString and assigns it to the Aggr field.

func (*MetricsQueryMetadata) SetAggrNil ¶ added in v1.5.0

func (o *MetricsQueryMetadata) SetAggrNil()

SetAggrNil sets the value for Aggr to be an explicit nil.

func (*MetricsQueryMetadata) SetDisplayName ¶

func (o *MetricsQueryMetadata) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*MetricsQueryMetadata) SetEnd ¶

func (o *MetricsQueryMetadata) SetEnd(v int64)

SetEnd gets a reference to the given int64 and assigns it to the End field.

func (*MetricsQueryMetadata) SetExpression ¶

func (o *MetricsQueryMetadata) SetExpression(v string)

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*MetricsQueryMetadata) SetInterval ¶

func (o *MetricsQueryMetadata) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*MetricsQueryMetadata) SetLength ¶

func (o *MetricsQueryMetadata) SetLength(v int64)

SetLength gets a reference to the given int64 and assigns it to the Length field.

func (*MetricsQueryMetadata) SetMetric ¶

func (o *MetricsQueryMetadata) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*MetricsQueryMetadata) SetPointlist ¶

func (o *MetricsQueryMetadata) SetPointlist(v [][]*float64)

SetPointlist gets a reference to the given [][]*float64 and assigns it to the Pointlist field.

func (*MetricsQueryMetadata) SetQueryIndex ¶ added in v1.2.0

func (o *MetricsQueryMetadata) SetQueryIndex(v int64)

SetQueryIndex gets a reference to the given int64 and assigns it to the QueryIndex field.

func (*MetricsQueryMetadata) SetScope ¶

func (o *MetricsQueryMetadata) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*MetricsQueryMetadata) SetStart ¶

func (o *MetricsQueryMetadata) SetStart(v int64)

SetStart gets a reference to the given int64 and assigns it to the Start field.

func (*MetricsQueryMetadata) SetTagSet ¶ added in v1.2.0

func (o *MetricsQueryMetadata) SetTagSet(v []string)

SetTagSet gets a reference to the given []string and assigns it to the TagSet field.

func (*MetricsQueryMetadata) SetUnit ¶

func (o *MetricsQueryMetadata) SetUnit(v []MetricsQueryUnit)

SetUnit gets a reference to the given []MetricsQueryUnit and assigns it to the Unit field.

func (*MetricsQueryMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricsQueryMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MetricsQueryMetadata) UnsetAggr ¶ added in v1.5.0

func (o *MetricsQueryMetadata) UnsetAggr()

UnsetAggr ensures that no value is present for Aggr, not even an explicit nil.

type MetricsQueryResponse ¶

type MetricsQueryResponse struct {
	// Message indicating the errors if status is not `ok`.
	Error *string `json:"error,omitempty"`
	// Start of requested time window, milliseconds since Unix epoch.
	FromDate *int64 `json:"from_date,omitempty"`
	// List of tag keys on which to group.
	GroupBy []string `json:"group_by,omitempty"`
	// Message indicating `success` if status is `ok`.
	Message *string `json:"message,omitempty"`
	// Query string
	Query *string `json:"query,omitempty"`
	// Type of response.
	ResType *string `json:"res_type,omitempty"`
	// List of timeseries queried.
	Series []MetricsQueryMetadata `json:"series,omitempty"`
	// Status of the query.
	Status *string `json:"status,omitempty"`
	// End of requested time window, milliseconds since Unix epoch.
	ToDate *int64 `json:"to_date,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricsQueryResponse Response Object that includes your query and the list of metrics retrieved.

func NewMetricsQueryResponse ¶

func NewMetricsQueryResponse() *MetricsQueryResponse

NewMetricsQueryResponse instantiates a new MetricsQueryResponse 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 NewMetricsQueryResponseWithDefaults ¶

func NewMetricsQueryResponseWithDefaults() *MetricsQueryResponse

NewMetricsQueryResponseWithDefaults instantiates a new MetricsQueryResponse 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 (*MetricsQueryResponse) GetError ¶

func (o *MetricsQueryResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetErrorOk ¶

func (o *MetricsQueryResponse) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetFromDate ¶

func (o *MetricsQueryResponse) GetFromDate() int64

GetFromDate returns the FromDate field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetFromDateOk ¶

func (o *MetricsQueryResponse) GetFromDateOk() (*int64, bool)

GetFromDateOk returns a tuple with the FromDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetGroupBy ¶

func (o *MetricsQueryResponse) GetGroupBy() []string

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetGroupByOk ¶

func (o *MetricsQueryResponse) GetGroupByOk() (*[]string, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetMessage ¶

func (o *MetricsQueryResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetMessageOk ¶

func (o *MetricsQueryResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetQuery ¶

func (o *MetricsQueryResponse) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetQueryOk ¶

func (o *MetricsQueryResponse) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetResType ¶

func (o *MetricsQueryResponse) GetResType() string

GetResType returns the ResType field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetResTypeOk ¶

func (o *MetricsQueryResponse) GetResTypeOk() (*string, bool)

GetResTypeOk returns a tuple with the ResType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetSeries ¶

func (o *MetricsQueryResponse) GetSeries() []MetricsQueryMetadata

GetSeries returns the Series field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetSeriesOk ¶

func (o *MetricsQueryResponse) GetSeriesOk() (*[]MetricsQueryMetadata, bool)

GetSeriesOk returns a tuple with the Series field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetStatus ¶

func (o *MetricsQueryResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetStatusOk ¶

func (o *MetricsQueryResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) GetToDate ¶

func (o *MetricsQueryResponse) GetToDate() int64

GetToDate returns the ToDate field value if set, zero value otherwise.

func (*MetricsQueryResponse) GetToDateOk ¶

func (o *MetricsQueryResponse) GetToDateOk() (*int64, bool)

GetToDateOk returns a tuple with the ToDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryResponse) HasError ¶

func (o *MetricsQueryResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasFromDate ¶

func (o *MetricsQueryResponse) HasFromDate() bool

HasFromDate returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasGroupBy ¶

func (o *MetricsQueryResponse) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasMessage ¶

func (o *MetricsQueryResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasQuery ¶

func (o *MetricsQueryResponse) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasResType ¶

func (o *MetricsQueryResponse) HasResType() bool

HasResType returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasSeries ¶

func (o *MetricsQueryResponse) HasSeries() bool

HasSeries returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasStatus ¶

func (o *MetricsQueryResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetricsQueryResponse) HasToDate ¶

func (o *MetricsQueryResponse) HasToDate() bool

HasToDate returns a boolean if a field has been set.

func (MetricsQueryResponse) MarshalJSON ¶

func (o MetricsQueryResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricsQueryResponse) SetError ¶

func (o *MetricsQueryResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*MetricsQueryResponse) SetFromDate ¶

func (o *MetricsQueryResponse) SetFromDate(v int64)

SetFromDate gets a reference to the given int64 and assigns it to the FromDate field.

func (*MetricsQueryResponse) SetGroupBy ¶

func (o *MetricsQueryResponse) SetGroupBy(v []string)

SetGroupBy gets a reference to the given []string and assigns it to the GroupBy field.

func (*MetricsQueryResponse) SetMessage ¶

func (o *MetricsQueryResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*MetricsQueryResponse) SetQuery ¶

func (o *MetricsQueryResponse) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*MetricsQueryResponse) SetResType ¶

func (o *MetricsQueryResponse) SetResType(v string)

SetResType gets a reference to the given string and assigns it to the ResType field.

func (*MetricsQueryResponse) SetSeries ¶

func (o *MetricsQueryResponse) SetSeries(v []MetricsQueryMetadata)

SetSeries gets a reference to the given []MetricsQueryMetadata and assigns it to the Series field.

func (*MetricsQueryResponse) SetStatus ¶

func (o *MetricsQueryResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*MetricsQueryResponse) SetToDate ¶

func (o *MetricsQueryResponse) SetToDate(v int64)

SetToDate gets a reference to the given int64 and assigns it to the ToDate field.

func (*MetricsQueryResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricsQueryResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MetricsQueryUnit ¶

type MetricsQueryUnit struct {
	// Unit family, allows for conversion between units of the same family, for scaling.
	Family *string `json:"family,omitempty"`
	// Unit name
	Name *string `json:"name,omitempty"`
	// Plural form of the unit name.
	Plural *string `json:"plural,omitempty"`
	// Factor for scaling between units of the same family.
	ScaleFactor *float64 `json:"scale_factor,omitempty"`
	// Abbreviation of the unit.
	ShortName *string `json:"short_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricsQueryUnit Object containing the metric unit family, scale factor, name, and short name.

func NewMetricsQueryUnit ¶

func NewMetricsQueryUnit() *MetricsQueryUnit

NewMetricsQueryUnit instantiates a new MetricsQueryUnit 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 NewMetricsQueryUnitWithDefaults ¶

func NewMetricsQueryUnitWithDefaults() *MetricsQueryUnit

NewMetricsQueryUnitWithDefaults instantiates a new MetricsQueryUnit 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 (*MetricsQueryUnit) GetFamily ¶

func (o *MetricsQueryUnit) GetFamily() string

GetFamily returns the Family field value if set, zero value otherwise.

func (*MetricsQueryUnit) GetFamilyOk ¶

func (o *MetricsQueryUnit) GetFamilyOk() (*string, bool)

GetFamilyOk returns a tuple with the Family field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryUnit) GetName ¶

func (o *MetricsQueryUnit) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MetricsQueryUnit) GetNameOk ¶

func (o *MetricsQueryUnit) 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 (*MetricsQueryUnit) GetPlural ¶

func (o *MetricsQueryUnit) GetPlural() string

GetPlural returns the Plural field value if set, zero value otherwise.

func (*MetricsQueryUnit) GetPluralOk ¶

func (o *MetricsQueryUnit) GetPluralOk() (*string, bool)

GetPluralOk returns a tuple with the Plural field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryUnit) GetScaleFactor ¶

func (o *MetricsQueryUnit) GetScaleFactor() float64

GetScaleFactor returns the ScaleFactor field value if set, zero value otherwise.

func (*MetricsQueryUnit) GetScaleFactorOk ¶

func (o *MetricsQueryUnit) GetScaleFactorOk() (*float64, bool)

GetScaleFactorOk returns a tuple with the ScaleFactor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryUnit) GetShortName ¶

func (o *MetricsQueryUnit) GetShortName() string

GetShortName returns the ShortName field value if set, zero value otherwise.

func (*MetricsQueryUnit) GetShortNameOk ¶

func (o *MetricsQueryUnit) GetShortNameOk() (*string, bool)

GetShortNameOk returns a tuple with the ShortName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricsQueryUnit) HasFamily ¶

func (o *MetricsQueryUnit) HasFamily() bool

HasFamily returns a boolean if a field has been set.

func (*MetricsQueryUnit) HasName ¶

func (o *MetricsQueryUnit) HasName() bool

HasName returns a boolean if a field has been set.

func (*MetricsQueryUnit) HasPlural ¶

func (o *MetricsQueryUnit) HasPlural() bool

HasPlural returns a boolean if a field has been set.

func (*MetricsQueryUnit) HasScaleFactor ¶

func (o *MetricsQueryUnit) HasScaleFactor() bool

HasScaleFactor returns a boolean if a field has been set.

func (*MetricsQueryUnit) HasShortName ¶

func (o *MetricsQueryUnit) HasShortName() bool

HasShortName returns a boolean if a field has been set.

func (MetricsQueryUnit) MarshalJSON ¶

func (o MetricsQueryUnit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MetricsQueryUnit) SetFamily ¶

func (o *MetricsQueryUnit) SetFamily(v string)

SetFamily gets a reference to the given string and assigns it to the Family field.

func (*MetricsQueryUnit) SetName ¶

func (o *MetricsQueryUnit) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MetricsQueryUnit) SetPlural ¶

func (o *MetricsQueryUnit) SetPlural(v string)

SetPlural gets a reference to the given string and assigns it to the Plural field.

func (*MetricsQueryUnit) SetScaleFactor ¶

func (o *MetricsQueryUnit) SetScaleFactor(v float64)

SetScaleFactor gets a reference to the given float64 and assigns it to the ScaleFactor field.

func (*MetricsQueryUnit) SetShortName ¶

func (o *MetricsQueryUnit) SetShortName(v string)

SetShortName gets a reference to the given string and assigns it to the ShortName field.

func (*MetricsQueryUnit) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricsQueryUnit) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Monitor ¶

type Monitor struct {
	// Timestamp of the monitor creation.
	Created *time.Time `json:"created,omitempty"`
	// Object describing the creator of the shared element.
	Creator *Creator `json:"creator,omitempty"`
	// Whether or not the monitor is deleted. (Always `null`)
	Deleted NullableTime `json:"deleted,omitempty"`
	// ID of this monitor.
	Id *int64 `json:"id,omitempty"`
	// A message to include with notifications for this monitor.
	Message *string `json:"message,omitempty"`
	// Last timestamp when the monitor was edited.
	Modified *time.Time `json:"modified,omitempty"`
	// Whether or not the monitor is broken down on different groups.
	Multi *bool `json:"multi,omitempty"`
	// The monitor name.
	Name *string `json:"name,omitempty"`
	// List of options associated with your monitor.
	Options *MonitorOptions `json:"options,omitempty"`
	// The different states your monitor can be in.
	OverallState *MonitorOverallStates `json:"overall_state,omitempty"`
	// Integer from 1 (high) to 5 (low) indicating alert severity.
	Priority NullableInt64 `json:"priority,omitempty"`
	// The monitor query.
	Query string `json:"query"`
	// A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles) and are located in the `data.id` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. `restricted_roles` is the successor of `locked`. For more information about `locked` and `restricted_roles`, see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
	RestrictedRoles []string `json:"restricted_roles,omitempty"`
	// Wrapper object with the different monitor states.
	State *MonitorState `json:"state,omitempty"`
	// Tags associated to your monitor.
	Tags []string `json:"tags,omitempty"`
	// The type of the monitor. For more information about `type`, see the [monitor options](https://docs.datadoghq.com/monitors/guide/monitor_api_options/) docs.
	Type MonitorType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Monitor Object describing a monitor.

func NewMonitor ¶

func NewMonitor(query string, typeVar MonitorType) *Monitor

NewMonitor instantiates a new Monitor 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 NewMonitorWithDefaults ¶

func NewMonitorWithDefaults() *Monitor

NewMonitorWithDefaults instantiates a new Monitor 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 (*Monitor) GetCreated ¶

func (o *Monitor) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*Monitor) GetCreatedOk ¶

func (o *Monitor) GetCreatedOk() (*time.Time, 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 (*Monitor) GetCreator ¶

func (o *Monitor) GetCreator() Creator

GetCreator returns the Creator field value if set, zero value otherwise.

func (*Monitor) GetCreatorOk ¶

func (o *Monitor) GetCreatorOk() (*Creator, 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 (*Monitor) GetDeleted ¶

func (o *Monitor) GetDeleted() time.Time

GetDeleted returns the Deleted field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Monitor) GetDeletedOk ¶

func (o *Monitor) GetDeletedOk() (*time.Time, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Monitor) GetId ¶

func (o *Monitor) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Monitor) GetIdOk ¶

func (o *Monitor) GetIdOk() (*int64, 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 (*Monitor) GetMessage ¶

func (o *Monitor) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Monitor) GetMessageOk ¶

func (o *Monitor) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Monitor) GetModified ¶

func (o *Monitor) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*Monitor) GetModifiedOk ¶

func (o *Monitor) GetModifiedOk() (*time.Time, bool)

GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Monitor) GetMulti ¶

func (o *Monitor) GetMulti() bool

GetMulti returns the Multi field value if set, zero value otherwise.

func (*Monitor) GetMultiOk ¶

func (o *Monitor) GetMultiOk() (*bool, bool)

GetMultiOk returns a tuple with the Multi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Monitor) GetName ¶

func (o *Monitor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Monitor) GetNameOk ¶

func (o *Monitor) 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 (*Monitor) GetOptions ¶

func (o *Monitor) GetOptions() MonitorOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*Monitor) GetOptionsOk ¶

func (o *Monitor) GetOptionsOk() (*MonitorOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Monitor) GetOverallState ¶

func (o *Monitor) GetOverallState() MonitorOverallStates

GetOverallState returns the OverallState field value if set, zero value otherwise.

func (*Monitor) GetOverallStateOk ¶

func (o *Monitor) GetOverallStateOk() (*MonitorOverallStates, bool)

GetOverallStateOk returns a tuple with the OverallState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Monitor) GetPriority ¶

func (o *Monitor) GetPriority() int64

GetPriority returns the Priority field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Monitor) GetPriorityOk ¶

func (o *Monitor) GetPriorityOk() (*int64, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Monitor) GetQuery ¶

func (o *Monitor) GetQuery() string

GetQuery returns the Query field value.

func (*Monitor) GetQueryOk ¶

func (o *Monitor) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*Monitor) GetRestrictedRoles ¶

func (o *Monitor) GetRestrictedRoles() []string

GetRestrictedRoles returns the RestrictedRoles field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Monitor) GetRestrictedRolesOk ¶

func (o *Monitor) GetRestrictedRolesOk() (*[]string, bool)

GetRestrictedRolesOk returns a tuple with the RestrictedRoles field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Monitor) GetState ¶

func (o *Monitor) GetState() MonitorState

GetState returns the State field value if set, zero value otherwise.

func (*Monitor) GetStateOk ¶

func (o *Monitor) GetStateOk() (*MonitorState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Monitor) GetTags ¶

func (o *Monitor) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Monitor) GetTagsOk ¶

func (o *Monitor) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Monitor) GetType ¶

func (o *Monitor) GetType() MonitorType

GetType returns the Type field value.

func (*Monitor) GetTypeOk ¶

func (o *Monitor) GetTypeOk() (*MonitorType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Monitor) HasCreated ¶

func (o *Monitor) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Monitor) HasCreator ¶

func (o *Monitor) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*Monitor) HasDeleted ¶

func (o *Monitor) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*Monitor) HasId ¶

func (o *Monitor) HasId() bool

HasId returns a boolean if a field has been set.

func (*Monitor) HasMessage ¶

func (o *Monitor) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Monitor) HasModified ¶

func (o *Monitor) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*Monitor) HasMulti ¶

func (o *Monitor) HasMulti() bool

HasMulti returns a boolean if a field has been set.

func (*Monitor) HasName ¶

func (o *Monitor) HasName() bool

HasName returns a boolean if a field has been set.

func (*Monitor) HasOptions ¶

func (o *Monitor) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*Monitor) HasOverallState ¶

func (o *Monitor) HasOverallState() bool

HasOverallState returns a boolean if a field has been set.

func (*Monitor) HasPriority ¶

func (o *Monitor) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Monitor) HasRestrictedRoles ¶

func (o *Monitor) HasRestrictedRoles() bool

HasRestrictedRoles returns a boolean if a field has been set.

func (*Monitor) HasState ¶

func (o *Monitor) HasState() bool

HasState returns a boolean if a field has been set.

func (*Monitor) HasTags ¶

func (o *Monitor) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Monitor) MarshalJSON ¶

func (o Monitor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Monitor) SetCreated ¶

func (o *Monitor) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*Monitor) SetCreator ¶

func (o *Monitor) SetCreator(v Creator)

SetCreator gets a reference to the given Creator and assigns it to the Creator field.

func (*Monitor) SetDeleted ¶

func (o *Monitor) SetDeleted(v time.Time)

SetDeleted gets a reference to the given NullableTime and assigns it to the Deleted field.

func (*Monitor) SetDeletedNil ¶

func (o *Monitor) SetDeletedNil()

SetDeletedNil sets the value for Deleted to be an explicit nil.

func (*Monitor) SetId ¶

func (o *Monitor) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Monitor) SetMessage ¶

func (o *Monitor) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Monitor) SetModified ¶

func (o *Monitor) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*Monitor) SetMulti ¶

func (o *Monitor) SetMulti(v bool)

SetMulti gets a reference to the given bool and assigns it to the Multi field.

func (*Monitor) SetName ¶

func (o *Monitor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Monitor) SetOptions ¶

func (o *Monitor) SetOptions(v MonitorOptions)

SetOptions gets a reference to the given MonitorOptions and assigns it to the Options field.

func (*Monitor) SetOverallState ¶

func (o *Monitor) SetOverallState(v MonitorOverallStates)

SetOverallState gets a reference to the given MonitorOverallStates and assigns it to the OverallState field.

func (*Monitor) SetPriority ¶

func (o *Monitor) SetPriority(v int64)

SetPriority gets a reference to the given NullableInt64 and assigns it to the Priority field.

func (*Monitor) SetPriorityNil ¶ added in v1.5.0

func (o *Monitor) SetPriorityNil()

SetPriorityNil sets the value for Priority to be an explicit nil.

func (*Monitor) SetQuery ¶

func (o *Monitor) SetQuery(v string)

SetQuery sets field value.

func (*Monitor) SetRestrictedRoles ¶

func (o *Monitor) SetRestrictedRoles(v []string)

SetRestrictedRoles gets a reference to the given []string and assigns it to the RestrictedRoles field.

func (*Monitor) SetState ¶

func (o *Monitor) SetState(v MonitorState)

SetState gets a reference to the given MonitorState and assigns it to the State field.

func (*Monitor) SetTags ¶

func (o *Monitor) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Monitor) SetType ¶

func (o *Monitor) SetType(v MonitorType)

SetType sets field value.

func (*Monitor) UnmarshalJSON ¶

func (o *Monitor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*Monitor) UnsetDeleted ¶

func (o *Monitor) UnsetDeleted()

UnsetDeleted ensures that no value is present for Deleted, not even an explicit nil.

func (*Monitor) UnsetPriority ¶ added in v1.5.0

func (o *Monitor) UnsetPriority()

UnsetPriority ensures that no value is present for Priority, not even an explicit nil.

type MonitorDeviceID ¶

type MonitorDeviceID string

MonitorDeviceID ID of the device the Synthetics monitor is running on. Same as `SyntheticsDeviceID`.

const (
	MONITORDEVICEID_LAPTOP_LARGE         MonitorDeviceID = "laptop_large"
	MONITORDEVICEID_TABLET               MonitorDeviceID = "tablet"
	MONITORDEVICEID_MOBILE_SMALL         MonitorDeviceID = "mobile_small"
	MONITORDEVICEID_CHROME_LAPTOP_LARGE  MonitorDeviceID = "chrome.laptop_large"
	MONITORDEVICEID_CHROME_TABLET        MonitorDeviceID = "chrome.tablet"
	MONITORDEVICEID_CHROME_MOBILE_SMALL  MonitorDeviceID = "chrome.mobile_small"
	MONITORDEVICEID_FIREFOX_LAPTOP_LARGE MonitorDeviceID = "firefox.laptop_large"
	MONITORDEVICEID_FIREFOX_TABLET       MonitorDeviceID = "firefox.tablet"
	MONITORDEVICEID_FIREFOX_MOBILE_SMALL MonitorDeviceID = "firefox.mobile_small"
)

List of MonitorDeviceID.

func NewMonitorDeviceIDFromValue ¶

func NewMonitorDeviceIDFromValue(v string) (*MonitorDeviceID, error)

NewMonitorDeviceIDFromValue returns a pointer to a valid MonitorDeviceID for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorDeviceID) GetAllowedValues ¶ added in v1.1.0

func (v *MonitorDeviceID) GetAllowedValues() []MonitorDeviceID

GetAllowedValues reeturns the list of possible values.

func (MonitorDeviceID) IsValid ¶

func (v MonitorDeviceID) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorDeviceID) Ptr ¶

Ptr returns reference to MonitorDeviceID value.

func (*MonitorDeviceID) UnmarshalJSON ¶

func (v *MonitorDeviceID) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionEventAggregation ¶ added in v1.9.0

type MonitorFormulaAndFunctionEventAggregation string

MonitorFormulaAndFunctionEventAggregation Aggregation methods for event platform queries.

const (
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_COUNT       MonitorFormulaAndFunctionEventAggregation = "count"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_CARDINALITY MonitorFormulaAndFunctionEventAggregation = "cardinality"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_MEDIAN      MonitorFormulaAndFunctionEventAggregation = "median"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_PC75        MonitorFormulaAndFunctionEventAggregation = "pc75"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_PC90        MonitorFormulaAndFunctionEventAggregation = "pc90"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_PC95        MonitorFormulaAndFunctionEventAggregation = "pc95"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_PC98        MonitorFormulaAndFunctionEventAggregation = "pc98"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_PC99        MonitorFormulaAndFunctionEventAggregation = "pc99"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_SUM         MonitorFormulaAndFunctionEventAggregation = "sum"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_MIN         MonitorFormulaAndFunctionEventAggregation = "min"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_MAX         MonitorFormulaAndFunctionEventAggregation = "max"
	MONITORFORMULAANDFUNCTIONEVENTAGGREGATION_AVG         MonitorFormulaAndFunctionEventAggregation = "avg"
)

List of MonitorFormulaAndFunctionEventAggregation.

func NewMonitorFormulaAndFunctionEventAggregationFromValue ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventAggregationFromValue(v string) (*MonitorFormulaAndFunctionEventAggregation, error)

NewMonitorFormulaAndFunctionEventAggregationFromValue returns a pointer to a valid MonitorFormulaAndFunctionEventAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorFormulaAndFunctionEventAggregation) GetAllowedValues ¶ added in v1.9.0

GetAllowedValues reeturns the list of possible values.

func (MonitorFormulaAndFunctionEventAggregation) IsValid ¶ added in v1.9.0

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorFormulaAndFunctionEventAggregation) Ptr ¶ added in v1.9.0

Ptr returns reference to MonitorFormulaAndFunctionEventAggregation value.

func (*MonitorFormulaAndFunctionEventAggregation) UnmarshalJSON ¶ added in v1.9.0

func (v *MonitorFormulaAndFunctionEventAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionEventQueryDefinition ¶ added in v1.9.0

type MonitorFormulaAndFunctionEventQueryDefinition struct {
	// Compute options.
	Compute MonitorFormulaAndFunctionEventQueryDefinitionCompute `json:"compute"`
	// Data source for event platform-based queries.
	DataSource MonitorFormulaAndFunctionEventsDataSource `json:"data_source"`
	// Group by options.
	GroupBy []MonitorFormulaAndFunctionEventQueryGroupBy `json:"group_by,omitempty"`
	// An array of index names to query in the stream. Omit or use `[]` to query all indexes at once.
	Indexes []string `json:"indexes,omitempty"`
	// Name of the query for use in formulas.
	Name string `json:"name"`
	// Search options.
	Search *MonitorFormulaAndFunctionEventQueryDefinitionSearch `json:"search,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorFormulaAndFunctionEventQueryDefinition A formula and functions events query.

func NewMonitorFormulaAndFunctionEventQueryDefinition ¶ added in v1.9.0

NewMonitorFormulaAndFunctionEventQueryDefinition instantiates a new MonitorFormulaAndFunctionEventQueryDefinition 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 NewMonitorFormulaAndFunctionEventQueryDefinitionWithDefaults ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryDefinitionWithDefaults() *MonitorFormulaAndFunctionEventQueryDefinition

NewMonitorFormulaAndFunctionEventQueryDefinitionWithDefaults instantiates a new MonitorFormulaAndFunctionEventQueryDefinition 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 (*MonitorFormulaAndFunctionEventQueryDefinition) GetCompute ¶ added in v1.9.0

GetCompute returns the Compute field value.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetComputeOk ¶ added in v1.9.0

GetComputeOk returns a tuple with the Compute field value and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetDataSource ¶ added in v1.9.0

GetDataSource returns the DataSource field value.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetDataSourceOk ¶ added in v1.9.0

GetDataSourceOk returns a tuple with the DataSource field value and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetGroupBy ¶ added in v1.9.0

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetGroupByOk ¶ added in v1.9.0

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetIndexes ¶ added in v1.9.0

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetIndexesOk ¶ added in v1.9.0

GetIndexesOk returns a tuple with the Indexes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetName ¶ added in v1.9.0

GetName returns the Name field value.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetNameOk ¶ added in v1.9.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetSearch ¶ added in v1.9.0

GetSearch returns the Search field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryDefinition) GetSearchOk ¶ added in v1.9.0

GetSearchOk returns a tuple with the Search field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) HasGroupBy ¶ added in v1.9.0

HasGroupBy returns a boolean if a field has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) HasIndexes ¶ added in v1.9.0

HasIndexes returns a boolean if a field has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinition) HasSearch ¶ added in v1.9.0

HasSearch returns a boolean if a field has been set.

func (MonitorFormulaAndFunctionEventQueryDefinition) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the struct using spec logic.

func (*MonitorFormulaAndFunctionEventQueryDefinition) SetCompute ¶ added in v1.9.0

SetCompute sets field value.

func (*MonitorFormulaAndFunctionEventQueryDefinition) SetDataSource ¶ added in v1.9.0

SetDataSource sets field value.

func (*MonitorFormulaAndFunctionEventQueryDefinition) SetGroupBy ¶ added in v1.9.0

SetGroupBy gets a reference to the given []MonitorFormulaAndFunctionEventQueryGroupBy and assigns it to the GroupBy field.

func (*MonitorFormulaAndFunctionEventQueryDefinition) SetIndexes ¶ added in v1.9.0

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*MonitorFormulaAndFunctionEventQueryDefinition) SetName ¶ added in v1.9.0

SetName sets field value.

func (*MonitorFormulaAndFunctionEventQueryDefinition) SetSearch ¶ added in v1.9.0

SetSearch gets a reference to the given MonitorFormulaAndFunctionEventQueryDefinitionSearch and assigns it to the Search field.

func (*MonitorFormulaAndFunctionEventQueryDefinition) UnmarshalJSON ¶ added in v1.9.0

func (o *MonitorFormulaAndFunctionEventQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionEventQueryDefinitionCompute ¶ added in v1.9.0

type MonitorFormulaAndFunctionEventQueryDefinitionCompute struct {
	// Aggregation methods for event platform queries.
	Aggregation MonitorFormulaAndFunctionEventAggregation `json:"aggregation"`
	// A time interval in milliseconds.
	Interval *int64 `json:"interval,omitempty"`
	// Measurable attribute to compute.
	Metric *string `json:"metric,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorFormulaAndFunctionEventQueryDefinitionCompute Compute options.

func NewMonitorFormulaAndFunctionEventQueryDefinitionCompute ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryDefinitionCompute(aggregation MonitorFormulaAndFunctionEventAggregation) *MonitorFormulaAndFunctionEventQueryDefinitionCompute

NewMonitorFormulaAndFunctionEventQueryDefinitionCompute instantiates a new MonitorFormulaAndFunctionEventQueryDefinitionCompute 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 NewMonitorFormulaAndFunctionEventQueryDefinitionComputeWithDefaults ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryDefinitionComputeWithDefaults() *MonitorFormulaAndFunctionEventQueryDefinitionCompute

NewMonitorFormulaAndFunctionEventQueryDefinitionComputeWithDefaults instantiates a new MonitorFormulaAndFunctionEventQueryDefinitionCompute 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 (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) GetAggregation ¶ added in v1.9.0

GetAggregation returns the Aggregation field value.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) GetAggregationOk ¶ added in v1.9.0

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) GetInterval ¶ added in v1.9.0

GetInterval returns the Interval field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) GetIntervalOk ¶ added in v1.9.0

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) GetMetric ¶ added in v1.9.0

GetMetric returns the Metric field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) GetMetricOk ¶ added in v1.9.0

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) HasInterval ¶ added in v1.9.0

HasInterval returns a boolean if a field has been set.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) HasMetric ¶ added in v1.9.0

HasMetric returns a boolean if a field has been set.

func (MonitorFormulaAndFunctionEventQueryDefinitionCompute) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the struct using spec logic.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) SetAggregation ¶ added in v1.9.0

SetAggregation sets field value.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) SetInterval ¶ added in v1.9.0

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) SetMetric ¶ added in v1.9.0

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*MonitorFormulaAndFunctionEventQueryDefinitionCompute) UnmarshalJSON ¶ added in v1.9.0

func (o *MonitorFormulaAndFunctionEventQueryDefinitionCompute) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionEventQueryDefinitionSearch ¶ added in v1.9.0

type MonitorFormulaAndFunctionEventQueryDefinitionSearch struct {
	// Events search string.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorFormulaAndFunctionEventQueryDefinitionSearch Search options.

func NewMonitorFormulaAndFunctionEventQueryDefinitionSearch ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryDefinitionSearch(query string) *MonitorFormulaAndFunctionEventQueryDefinitionSearch

NewMonitorFormulaAndFunctionEventQueryDefinitionSearch instantiates a new MonitorFormulaAndFunctionEventQueryDefinitionSearch 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 NewMonitorFormulaAndFunctionEventQueryDefinitionSearchWithDefaults ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryDefinitionSearchWithDefaults() *MonitorFormulaAndFunctionEventQueryDefinitionSearch

NewMonitorFormulaAndFunctionEventQueryDefinitionSearchWithDefaults instantiates a new MonitorFormulaAndFunctionEventQueryDefinitionSearch 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 (*MonitorFormulaAndFunctionEventQueryDefinitionSearch) GetQuery ¶ added in v1.9.0

GetQuery returns the Query field value.

func (*MonitorFormulaAndFunctionEventQueryDefinitionSearch) GetQueryOk ¶ added in v1.9.0

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (MonitorFormulaAndFunctionEventQueryDefinitionSearch) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the struct using spec logic.

func (*MonitorFormulaAndFunctionEventQueryDefinitionSearch) SetQuery ¶ added in v1.9.0

SetQuery sets field value.

func (*MonitorFormulaAndFunctionEventQueryDefinitionSearch) UnmarshalJSON ¶ added in v1.9.0

func (o *MonitorFormulaAndFunctionEventQueryDefinitionSearch) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionEventQueryGroupBy ¶ added in v1.9.0

type MonitorFormulaAndFunctionEventQueryGroupBy struct {
	// Event facet.
	Facet string `json:"facet"`
	// Number of groups to return.
	Limit *int64 `json:"limit,omitempty"`
	// Options for sorting group by results.
	Sort *MonitorFormulaAndFunctionEventQueryGroupBySort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorFormulaAndFunctionEventQueryGroupBy List of objects used to group by.

func NewMonitorFormulaAndFunctionEventQueryGroupBy ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryGroupBy(facet string) *MonitorFormulaAndFunctionEventQueryGroupBy

NewMonitorFormulaAndFunctionEventQueryGroupBy instantiates a new MonitorFormulaAndFunctionEventQueryGroupBy 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 NewMonitorFormulaAndFunctionEventQueryGroupByWithDefaults ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryGroupByWithDefaults() *MonitorFormulaAndFunctionEventQueryGroupBy

NewMonitorFormulaAndFunctionEventQueryGroupByWithDefaults instantiates a new MonitorFormulaAndFunctionEventQueryGroupBy 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 (*MonitorFormulaAndFunctionEventQueryGroupBy) GetFacet ¶ added in v1.9.0

GetFacet returns the Facet field value.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) GetFacetOk ¶ added in v1.9.0

GetFacetOk returns a tuple with the Facet field value and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) GetLimit ¶ added in v1.9.0

GetLimit returns the Limit field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) GetLimitOk ¶ added in v1.9.0

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) GetSort ¶ added in v1.9.0

GetSort returns the Sort field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) GetSortOk ¶ added in v1.9.0

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) HasLimit ¶ added in v1.9.0

HasLimit returns a boolean if a field has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) HasSort ¶ added in v1.9.0

HasSort returns a boolean if a field has been set.

func (MonitorFormulaAndFunctionEventQueryGroupBy) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the struct using spec logic.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) SetFacet ¶ added in v1.9.0

SetFacet sets field value.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) SetLimit ¶ added in v1.9.0

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) SetSort ¶ added in v1.9.0

SetSort gets a reference to the given MonitorFormulaAndFunctionEventQueryGroupBySort and assigns it to the Sort field.

func (*MonitorFormulaAndFunctionEventQueryGroupBy) UnmarshalJSON ¶ added in v1.9.0

func (o *MonitorFormulaAndFunctionEventQueryGroupBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionEventQueryGroupBySort ¶ added in v1.9.0

type MonitorFormulaAndFunctionEventQueryGroupBySort struct {
	// Aggregation methods for event platform queries.
	Aggregation MonitorFormulaAndFunctionEventAggregation `json:"aggregation"`
	// Metric used for sorting group by results.
	Metric *string `json:"metric,omitempty"`
	// Direction of sort.
	Order *QuerySortOrder `json:"order,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorFormulaAndFunctionEventQueryGroupBySort Options for sorting group by results.

func NewMonitorFormulaAndFunctionEventQueryGroupBySort ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryGroupBySort(aggregation MonitorFormulaAndFunctionEventAggregation) *MonitorFormulaAndFunctionEventQueryGroupBySort

NewMonitorFormulaAndFunctionEventQueryGroupBySort instantiates a new MonitorFormulaAndFunctionEventQueryGroupBySort 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 NewMonitorFormulaAndFunctionEventQueryGroupBySortWithDefaults ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventQueryGroupBySortWithDefaults() *MonitorFormulaAndFunctionEventQueryGroupBySort

NewMonitorFormulaAndFunctionEventQueryGroupBySortWithDefaults instantiates a new MonitorFormulaAndFunctionEventQueryGroupBySort 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 (*MonitorFormulaAndFunctionEventQueryGroupBySort) GetAggregation ¶ added in v1.9.0

GetAggregation returns the Aggregation field value.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) GetAggregationOk ¶ added in v1.9.0

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) GetMetric ¶ added in v1.9.0

GetMetric returns the Metric field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) GetMetricOk ¶ added in v1.9.0

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) GetOrder ¶ added in v1.9.0

GetOrder returns the Order field value if set, zero value otherwise.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) GetOrderOk ¶ added in v1.9.0

GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) HasMetric ¶ added in v1.9.0

HasMetric returns a boolean if a field has been set.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) HasOrder ¶ added in v1.9.0

HasOrder returns a boolean if a field has been set.

func (MonitorFormulaAndFunctionEventQueryGroupBySort) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the struct using spec logic.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) SetAggregation ¶ added in v1.9.0

SetAggregation sets field value.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) SetMetric ¶ added in v1.9.0

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) SetOrder ¶ added in v1.9.0

SetOrder gets a reference to the given QuerySortOrder and assigns it to the Order field.

func (*MonitorFormulaAndFunctionEventQueryGroupBySort) UnmarshalJSON ¶ added in v1.9.0

func (o *MonitorFormulaAndFunctionEventQueryGroupBySort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionEventsDataSource ¶ added in v1.9.0

type MonitorFormulaAndFunctionEventsDataSource string

MonitorFormulaAndFunctionEventsDataSource Data source for event platform-based queries.

const (
	MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_RUM          MonitorFormulaAndFunctionEventsDataSource = "rum"
	MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_PIPELINES MonitorFormulaAndFunctionEventsDataSource = "ci_pipelines"
	MONITORFORMULAANDFUNCTIONEVENTSDATASOURCE_CI_TESTS     MonitorFormulaAndFunctionEventsDataSource = "ci_tests"
)

List of MonitorFormulaAndFunctionEventsDataSource.

func NewMonitorFormulaAndFunctionEventsDataSourceFromValue ¶ added in v1.9.0

func NewMonitorFormulaAndFunctionEventsDataSourceFromValue(v string) (*MonitorFormulaAndFunctionEventsDataSource, error)

NewMonitorFormulaAndFunctionEventsDataSourceFromValue returns a pointer to a valid MonitorFormulaAndFunctionEventsDataSource for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorFormulaAndFunctionEventsDataSource) GetAllowedValues ¶ added in v1.9.0

GetAllowedValues reeturns the list of possible values.

func (MonitorFormulaAndFunctionEventsDataSource) IsValid ¶ added in v1.9.0

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorFormulaAndFunctionEventsDataSource) Ptr ¶ added in v1.9.0

Ptr returns reference to MonitorFormulaAndFunctionEventsDataSource value.

func (*MonitorFormulaAndFunctionEventsDataSource) UnmarshalJSON ¶ added in v1.9.0

func (v *MonitorFormulaAndFunctionEventsDataSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorFormulaAndFunctionQueryDefinition ¶ added in v1.9.0

type MonitorFormulaAndFunctionQueryDefinition struct {
	MonitorFormulaAndFunctionEventQueryDefinition *MonitorFormulaAndFunctionEventQueryDefinition

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

MonitorFormulaAndFunctionQueryDefinition - A formula and function query.

func MonitorFormulaAndFunctionEventQueryDefinitionAsMonitorFormulaAndFunctionQueryDefinition ¶ added in v1.9.0

func MonitorFormulaAndFunctionEventQueryDefinitionAsMonitorFormulaAndFunctionQueryDefinition(v *MonitorFormulaAndFunctionEventQueryDefinition) MonitorFormulaAndFunctionQueryDefinition

MonitorFormulaAndFunctionEventQueryDefinitionAsMonitorFormulaAndFunctionQueryDefinition is a convenience function that returns MonitorFormulaAndFunctionEventQueryDefinition wrapped in MonitorFormulaAndFunctionQueryDefinition.

func (*MonitorFormulaAndFunctionQueryDefinition) GetActualInstance ¶ added in v1.9.0

func (obj *MonitorFormulaAndFunctionQueryDefinition) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (MonitorFormulaAndFunctionQueryDefinition) MarshalJSON ¶ added in v1.9.0

func (obj MonitorFormulaAndFunctionQueryDefinition) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*MonitorFormulaAndFunctionQueryDefinition) UnmarshalJSON ¶ added in v1.9.0

func (obj *MonitorFormulaAndFunctionQueryDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type MonitorGroupSearchResponse ¶

type MonitorGroupSearchResponse struct {
	// The counts of monitor groups per different criteria.
	Counts *MonitorGroupSearchResponseCounts `json:"counts,omitempty"`
	// The list of found monitor groups.
	Groups []MonitorGroupSearchResult `json:"groups,omitempty"`
	// Metadata about the response.
	Metadata *MonitorSearchResponseMetadata `json:"metadata,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorGroupSearchResponse The response of a monitor group search.

func NewMonitorGroupSearchResponse ¶

func NewMonitorGroupSearchResponse() *MonitorGroupSearchResponse

NewMonitorGroupSearchResponse instantiates a new MonitorGroupSearchResponse 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 NewMonitorGroupSearchResponseWithDefaults ¶

func NewMonitorGroupSearchResponseWithDefaults() *MonitorGroupSearchResponse

NewMonitorGroupSearchResponseWithDefaults instantiates a new MonitorGroupSearchResponse 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 (*MonitorGroupSearchResponse) GetCounts ¶

GetCounts returns the Counts field value if set, zero value otherwise.

func (*MonitorGroupSearchResponse) GetCountsOk ¶

GetCountsOk returns a tuple with the Counts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResponse) GetGroups ¶

GetGroups returns the Groups field value if set, zero value otherwise.

func (*MonitorGroupSearchResponse) GetGroupsOk ¶

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResponse) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*MonitorGroupSearchResponse) GetMetadataOk ¶

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResponse) HasCounts ¶

func (o *MonitorGroupSearchResponse) HasCounts() bool

HasCounts returns a boolean if a field has been set.

func (*MonitorGroupSearchResponse) HasGroups ¶

func (o *MonitorGroupSearchResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*MonitorGroupSearchResponse) HasMetadata ¶

func (o *MonitorGroupSearchResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (MonitorGroupSearchResponse) MarshalJSON ¶

func (o MonitorGroupSearchResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorGroupSearchResponse) SetCounts ¶

SetCounts gets a reference to the given MonitorGroupSearchResponseCounts and assigns it to the Counts field.

func (*MonitorGroupSearchResponse) SetGroups ¶

SetGroups gets a reference to the given []MonitorGroupSearchResult and assigns it to the Groups field.

func (*MonitorGroupSearchResponse) SetMetadata ¶

SetMetadata gets a reference to the given MonitorSearchResponseMetadata and assigns it to the Metadata field.

func (*MonitorGroupSearchResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorGroupSearchResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorGroupSearchResponseCounts ¶

type MonitorGroupSearchResponseCounts struct {
	// Search facets.
	Status []MonitorSearchCountItem `json:"status,omitempty"`
	// Search facets.
	Type []MonitorSearchCountItem `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorGroupSearchResponseCounts The counts of monitor groups per different criteria.

func NewMonitorGroupSearchResponseCounts ¶

func NewMonitorGroupSearchResponseCounts() *MonitorGroupSearchResponseCounts

NewMonitorGroupSearchResponseCounts instantiates a new MonitorGroupSearchResponseCounts 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 NewMonitorGroupSearchResponseCountsWithDefaults ¶

func NewMonitorGroupSearchResponseCountsWithDefaults() *MonitorGroupSearchResponseCounts

NewMonitorGroupSearchResponseCountsWithDefaults instantiates a new MonitorGroupSearchResponseCounts 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 (*MonitorGroupSearchResponseCounts) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*MonitorGroupSearchResponseCounts) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResponseCounts) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*MonitorGroupSearchResponseCounts) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResponseCounts) HasStatus ¶

func (o *MonitorGroupSearchResponseCounts) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MonitorGroupSearchResponseCounts) HasType ¶

HasType returns a boolean if a field has been set.

func (MonitorGroupSearchResponseCounts) MarshalJSON ¶

func (o MonitorGroupSearchResponseCounts) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorGroupSearchResponseCounts) SetStatus ¶

SetStatus gets a reference to the given []MonitorSearchCountItem and assigns it to the Status field.

func (*MonitorGroupSearchResponseCounts) SetType ¶

SetType gets a reference to the given []MonitorSearchCountItem and assigns it to the Type field.

func (*MonitorGroupSearchResponseCounts) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorGroupSearchResponseCounts) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorGroupSearchResult ¶

type MonitorGroupSearchResult struct {
	// The name of the group.
	Group *string `json:"group,omitempty"`
	// The list of tags of the monitor group.
	GroupTags []string `json:"group_tags,omitempty"`
	// Latest timestamp the monitor group was in NO_DATA state.
	LastNodataTs *int64 `json:"last_nodata_ts,omitempty"`
	// Latest timestamp the monitor group triggered.
	LastTriggeredTs NullableInt64 `json:"last_triggered_ts,omitempty"`
	// The ID of the monitor.
	MonitorId *int64 `json:"monitor_id,omitempty"`
	// The name of the monitor.
	MonitorName *string `json:"monitor_name,omitempty"`
	// The different states your monitor can be in.
	Status *MonitorOverallStates `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorGroupSearchResult A single monitor group search result.

func NewMonitorGroupSearchResult ¶

func NewMonitorGroupSearchResult() *MonitorGroupSearchResult

NewMonitorGroupSearchResult instantiates a new MonitorGroupSearchResult 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 NewMonitorGroupSearchResultWithDefaults ¶

func NewMonitorGroupSearchResultWithDefaults() *MonitorGroupSearchResult

NewMonitorGroupSearchResultWithDefaults instantiates a new MonitorGroupSearchResult 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 (*MonitorGroupSearchResult) GetGroup ¶

func (o *MonitorGroupSearchResult) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*MonitorGroupSearchResult) GetGroupOk ¶

func (o *MonitorGroupSearchResult) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResult) GetGroupTags ¶

func (o *MonitorGroupSearchResult) GetGroupTags() []string

GetGroupTags returns the GroupTags field value if set, zero value otherwise.

func (*MonitorGroupSearchResult) GetGroupTagsOk ¶

func (o *MonitorGroupSearchResult) GetGroupTagsOk() (*[]string, bool)

GetGroupTagsOk returns a tuple with the GroupTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResult) GetLastNodataTs ¶

func (o *MonitorGroupSearchResult) GetLastNodataTs() int64

GetLastNodataTs returns the LastNodataTs field value if set, zero value otherwise.

func (*MonitorGroupSearchResult) GetLastNodataTsOk ¶

func (o *MonitorGroupSearchResult) GetLastNodataTsOk() (*int64, bool)

GetLastNodataTsOk returns a tuple with the LastNodataTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResult) GetLastTriggeredTs ¶

func (o *MonitorGroupSearchResult) GetLastTriggeredTs() int64

GetLastTriggeredTs returns the LastTriggeredTs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorGroupSearchResult) GetLastTriggeredTsOk ¶

func (o *MonitorGroupSearchResult) GetLastTriggeredTsOk() (*int64, bool)

GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorGroupSearchResult) GetMonitorId ¶

func (o *MonitorGroupSearchResult) GetMonitorId() int64

GetMonitorId returns the MonitorId field value if set, zero value otherwise.

func (*MonitorGroupSearchResult) GetMonitorIdOk ¶

func (o *MonitorGroupSearchResult) GetMonitorIdOk() (*int64, bool)

GetMonitorIdOk returns a tuple with the MonitorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResult) GetMonitorName ¶

func (o *MonitorGroupSearchResult) GetMonitorName() string

GetMonitorName returns the MonitorName field value if set, zero value otherwise.

func (*MonitorGroupSearchResult) GetMonitorNameOk ¶

func (o *MonitorGroupSearchResult) GetMonitorNameOk() (*string, bool)

GetMonitorNameOk returns a tuple with the MonitorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResult) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*MonitorGroupSearchResult) GetStatusOk ¶

func (o *MonitorGroupSearchResult) GetStatusOk() (*MonitorOverallStates, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorGroupSearchResult) HasGroup ¶

func (o *MonitorGroupSearchResult) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*MonitorGroupSearchResult) HasGroupTags ¶

func (o *MonitorGroupSearchResult) HasGroupTags() bool

HasGroupTags returns a boolean if a field has been set.

func (*MonitorGroupSearchResult) HasLastNodataTs ¶

func (o *MonitorGroupSearchResult) HasLastNodataTs() bool

HasLastNodataTs returns a boolean if a field has been set.

func (*MonitorGroupSearchResult) HasLastTriggeredTs ¶

func (o *MonitorGroupSearchResult) HasLastTriggeredTs() bool

HasLastTriggeredTs returns a boolean if a field has been set.

func (*MonitorGroupSearchResult) HasMonitorId ¶

func (o *MonitorGroupSearchResult) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*MonitorGroupSearchResult) HasMonitorName ¶

func (o *MonitorGroupSearchResult) HasMonitorName() bool

HasMonitorName returns a boolean if a field has been set.

func (*MonitorGroupSearchResult) HasStatus ¶

func (o *MonitorGroupSearchResult) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (MonitorGroupSearchResult) MarshalJSON ¶

func (o MonitorGroupSearchResult) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorGroupSearchResult) SetGroup ¶

func (o *MonitorGroupSearchResult) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*MonitorGroupSearchResult) SetGroupTags ¶

func (o *MonitorGroupSearchResult) SetGroupTags(v []string)

SetGroupTags gets a reference to the given []string and assigns it to the GroupTags field.

func (*MonitorGroupSearchResult) SetLastNodataTs ¶

func (o *MonitorGroupSearchResult) SetLastNodataTs(v int64)

SetLastNodataTs gets a reference to the given int64 and assigns it to the LastNodataTs field.

func (*MonitorGroupSearchResult) SetLastTriggeredTs ¶

func (o *MonitorGroupSearchResult) SetLastTriggeredTs(v int64)

SetLastTriggeredTs gets a reference to the given NullableInt64 and assigns it to the LastTriggeredTs field.

func (*MonitorGroupSearchResult) SetLastTriggeredTsNil ¶

func (o *MonitorGroupSearchResult) SetLastTriggeredTsNil()

SetLastTriggeredTsNil sets the value for LastTriggeredTs to be an explicit nil.

func (*MonitorGroupSearchResult) SetMonitorId ¶

func (o *MonitorGroupSearchResult) SetMonitorId(v int64)

SetMonitorId gets a reference to the given int64 and assigns it to the MonitorId field.

func (*MonitorGroupSearchResult) SetMonitorName ¶

func (o *MonitorGroupSearchResult) SetMonitorName(v string)

SetMonitorName gets a reference to the given string and assigns it to the MonitorName field.

func (*MonitorGroupSearchResult) SetStatus ¶

SetStatus gets a reference to the given MonitorOverallStates and assigns it to the Status field.

func (*MonitorGroupSearchResult) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorGroupSearchResult) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MonitorGroupSearchResult) UnsetLastTriggeredTs ¶

func (o *MonitorGroupSearchResult) UnsetLastTriggeredTs()

UnsetLastTriggeredTs ensures that no value is present for LastTriggeredTs, not even an explicit nil.

type MonitorOptions ¶

type MonitorOptions struct {
	// Type of aggregation performed in the monitor query.
	Aggregation *MonitorOptionsAggregation `json:"aggregation,omitempty"`
	// IDs of the device the Synthetics monitor is running on.
	// Deprecated
	DeviceIds []MonitorDeviceID `json:"device_ids,omitempty"`
	// Whether or not to send a log sample when the log monitor triggers.
	EnableLogsSample *bool `json:"enable_logs_sample,omitempty"`
	// We recommend using the [is_renotify](https://docs.datadoghq.com/monitors/notify/?tab=is_alert#renotify),
	// block in the original message instead.
	// A message to include with a re-notification. Supports the `@username` notification we allow elsewhere.
	// Not applicable if `renotify_interval` is `None`.
	EscalationMessage *string `json:"escalation_message,omitempty"`
	// Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the value is set to `300` (5min),
	// the timeframe is set to `last_5m` and the time is 7:00, the monitor evaluates data from 6:50 to 6:55.
	// This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor always has data during evaluation.
	EvaluationDelay NullableInt64 `json:"evaluation_delay,omitempty"`
	// Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold.
	GroupbySimpleMonitor *bool `json:"groupby_simple_monitor,omitempty"`
	// A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title.
	//
	// **Examples**
	// - If `True`, `[Triggered on {host:h1}] Monitor Title`
	// - If `False`, `[Triggered] Monitor Title`
	IncludeTags *bool `json:"include_tags,omitempty"`
	// Whether or not the monitor is locked (only editable by creator and admins). Use `restricted_roles` instead.
	// Deprecated
	Locked *bool `json:"locked,omitempty"`
	// How long the test should be in failure before alerting (integer, number of seconds, max 7200).
	MinFailureDuration NullableInt64 `json:"min_failure_duration,omitempty"`
	// The minimum number of locations in failure at the same time during
	// at least one moment in the `min_failure_duration` period (`min_location_failed` and `min_failure_duration`
	// are part of the advanced alerting rules - integer, >= 1).
	MinLocationFailed NullableInt64 `json:"min_location_failed,omitempty"`
	// Time (in seconds) to skip evaluations for new groups.
	//
	// For example, this option can be used to skip evaluations for new hosts while they initialize.
	//
	// Must be a non negative integer.
	NewGroupDelay NullableInt64 `json:"new_group_delay,omitempty"`
	// Time (in seconds) to allow a host to boot and applications
	// to fully start before starting the evaluation of monitor results.
	// Should be a non negative integer.
	//
	// Use new_group_delay instead.
	// Deprecated
	NewHostDelay NullableInt64 `json:"new_host_delay,omitempty"`
	// The number of minutes before a monitor notifies after data stops reporting.
	// Datadog recommends at least 2x the monitor timeframe for query alerts or 2 minutes for service checks.
	// If omitted, 2x the evaluation timeframe is used for query alerts, and 24 hours is used for service checks.
	NoDataTimeframe NullableInt64 `json:"no_data_timeframe,omitempty"`
	// A Boolean indicating whether tagged users is notified on changes to this monitor.
	NotifyAudit *bool `json:"notify_audit,omitempty"`
	// A Boolean indicating whether this monitor notifies when data stops reporting.
	NotifyNoData *bool `json:"notify_no_data,omitempty"`
	// The number of minutes after the last notification before a monitor re-notifies on the current status.
	// It only re-notifies if it’s not resolved.
	RenotifyInterval NullableInt64 `json:"renotify_interval,omitempty"`
	// The number of times re-notification messages should be sent on the current status at the provided re-notification interval.
	RenotifyOccurrences NullableInt64 `json:"renotify_occurrences,omitempty"`
	// The types of monitor statuses for which re-notification messages are sent.
	RenotifyStatuses []MonitorRenotifyStatusType `json:"renotify_statuses,omitempty"`
	// A Boolean indicating whether this monitor needs a full window of data before it’s evaluated.
	// We highly recommend you set this to `false` for sparse metrics,
	// otherwise some evaluations are skipped. Default is false.
	RequireFullWindow *bool `json:"require_full_window,omitempty"`
	// Information about the downtime applied to the monitor.
	// Deprecated
	Silenced map[string]int64 `json:"silenced,omitempty"`
	// ID of the corresponding Synthetic check.
	// Deprecated
	SyntheticsCheckId NullableString `json:"synthetics_check_id,omitempty"`
	// Alerting time window options.
	ThresholdWindows *MonitorThresholdWindowOptions `json:"threshold_windows,omitempty"`
	// List of the different monitor threshold available.
	Thresholds *MonitorThresholds `json:"thresholds,omitempty"`
	// The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
	TimeoutH NullableInt64 `json:"timeout_h,omitempty"`
	// List of requests that can be used in the monitor query. **This feature is currently in beta.**
	Variables []MonitorFormulaAndFunctionQueryDefinition `json:"variables,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorOptions List of options associated with your monitor.

func NewMonitorOptions ¶

func NewMonitorOptions() *MonitorOptions

NewMonitorOptions instantiates a new MonitorOptions 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 NewMonitorOptionsWithDefaults ¶

func NewMonitorOptionsWithDefaults() *MonitorOptions

NewMonitorOptionsWithDefaults instantiates a new MonitorOptions 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 (*MonitorOptions) GetAggregation ¶

func (o *MonitorOptions) GetAggregation() MonitorOptionsAggregation

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*MonitorOptions) GetAggregationOk ¶

func (o *MonitorOptions) GetAggregationOk() (*MonitorOptionsAggregation, bool)

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetDeviceIds ¶

func (o *MonitorOptions) GetDeviceIds() []MonitorDeviceID

GetDeviceIds returns the DeviceIds field value if set, zero value otherwise. Deprecated

func (*MonitorOptions) GetDeviceIdsOk ¶

func (o *MonitorOptions) GetDeviceIdsOk() (*[]MonitorDeviceID, bool)

GetDeviceIdsOk returns a tuple with the DeviceIds field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*MonitorOptions) GetEnableLogsSample ¶

func (o *MonitorOptions) GetEnableLogsSample() bool

GetEnableLogsSample returns the EnableLogsSample field value if set, zero value otherwise.

func (*MonitorOptions) GetEnableLogsSampleOk ¶

func (o *MonitorOptions) GetEnableLogsSampleOk() (*bool, bool)

GetEnableLogsSampleOk returns a tuple with the EnableLogsSample field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetEscalationMessage ¶

func (o *MonitorOptions) GetEscalationMessage() string

GetEscalationMessage returns the EscalationMessage field value if set, zero value otherwise.

func (*MonitorOptions) GetEscalationMessageOk ¶

func (o *MonitorOptions) GetEscalationMessageOk() (*string, bool)

GetEscalationMessageOk returns a tuple with the EscalationMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetEvaluationDelay ¶

func (o *MonitorOptions) GetEvaluationDelay() int64

GetEvaluationDelay returns the EvaluationDelay field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetEvaluationDelayOk ¶

func (o *MonitorOptions) GetEvaluationDelayOk() (*int64, bool)

GetEvaluationDelayOk returns a tuple with the EvaluationDelay field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetGroupbySimpleMonitor ¶

func (o *MonitorOptions) GetGroupbySimpleMonitor() bool

GetGroupbySimpleMonitor returns the GroupbySimpleMonitor field value if set, zero value otherwise.

func (*MonitorOptions) GetGroupbySimpleMonitorOk ¶

func (o *MonitorOptions) GetGroupbySimpleMonitorOk() (*bool, bool)

GetGroupbySimpleMonitorOk returns a tuple with the GroupbySimpleMonitor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetIncludeTags ¶

func (o *MonitorOptions) GetIncludeTags() bool

GetIncludeTags returns the IncludeTags field value if set, zero value otherwise.

func (*MonitorOptions) GetIncludeTagsOk ¶

func (o *MonitorOptions) GetIncludeTagsOk() (*bool, bool)

GetIncludeTagsOk returns a tuple with the IncludeTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetLocked ¶

func (o *MonitorOptions) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise. Deprecated

func (*MonitorOptions) GetLockedOk ¶

func (o *MonitorOptions) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*MonitorOptions) GetMinFailureDuration ¶

func (o *MonitorOptions) GetMinFailureDuration() int64

GetMinFailureDuration returns the MinFailureDuration field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetMinFailureDurationOk ¶

func (o *MonitorOptions) GetMinFailureDurationOk() (*int64, bool)

GetMinFailureDurationOk returns a tuple with the MinFailureDuration field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetMinLocationFailed ¶

func (o *MonitorOptions) GetMinLocationFailed() int64

GetMinLocationFailed returns the MinLocationFailed field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetMinLocationFailedOk ¶

func (o *MonitorOptions) GetMinLocationFailedOk() (*int64, bool)

GetMinLocationFailedOk returns a tuple with the MinLocationFailed field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetNewGroupDelay ¶ added in v1.3.0

func (o *MonitorOptions) GetNewGroupDelay() int64

GetNewGroupDelay returns the NewGroupDelay field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetNewGroupDelayOk ¶ added in v1.3.0

func (o *MonitorOptions) GetNewGroupDelayOk() (*int64, bool)

GetNewGroupDelayOk returns a tuple with the NewGroupDelay field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetNewHostDelay ¶

func (o *MonitorOptions) GetNewHostDelay() int64

GetNewHostDelay returns the NewHostDelay field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated

func (*MonitorOptions) GetNewHostDelayOk ¶

func (o *MonitorOptions) GetNewHostDelayOk() (*int64, bool)

GetNewHostDelayOk returns a tuple with the NewHostDelay field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned. Deprecated

func (*MonitorOptions) GetNoDataTimeframe ¶

func (o *MonitorOptions) GetNoDataTimeframe() int64

GetNoDataTimeframe returns the NoDataTimeframe field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetNoDataTimeframeOk ¶

func (o *MonitorOptions) GetNoDataTimeframeOk() (*int64, bool)

GetNoDataTimeframeOk returns a tuple with the NoDataTimeframe field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetNotifyAudit ¶

func (o *MonitorOptions) GetNotifyAudit() bool

GetNotifyAudit returns the NotifyAudit field value if set, zero value otherwise.

func (*MonitorOptions) GetNotifyAuditOk ¶

func (o *MonitorOptions) GetNotifyAuditOk() (*bool, bool)

GetNotifyAuditOk returns a tuple with the NotifyAudit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetNotifyNoData ¶

func (o *MonitorOptions) GetNotifyNoData() bool

GetNotifyNoData returns the NotifyNoData field value if set, zero value otherwise.

func (*MonitorOptions) GetNotifyNoDataOk ¶

func (o *MonitorOptions) GetNotifyNoDataOk() (*bool, bool)

GetNotifyNoDataOk returns a tuple with the NotifyNoData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetRenotifyInterval ¶

func (o *MonitorOptions) GetRenotifyInterval() int64

GetRenotifyInterval returns the RenotifyInterval field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetRenotifyIntervalOk ¶

func (o *MonitorOptions) GetRenotifyIntervalOk() (*int64, bool)

GetRenotifyIntervalOk returns a tuple with the RenotifyInterval field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetRenotifyOccurrences ¶ added in v1.5.0

func (o *MonitorOptions) GetRenotifyOccurrences() int64

GetRenotifyOccurrences returns the RenotifyOccurrences field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetRenotifyOccurrencesOk ¶ added in v1.5.0

func (o *MonitorOptions) GetRenotifyOccurrencesOk() (*int64, bool)

GetRenotifyOccurrencesOk returns a tuple with the RenotifyOccurrences field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetRenotifyStatuses ¶ added in v1.5.0

func (o *MonitorOptions) GetRenotifyStatuses() []MonitorRenotifyStatusType

GetRenotifyStatuses returns the RenotifyStatuses field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetRenotifyStatusesOk ¶ added in v1.5.0

func (o *MonitorOptions) GetRenotifyStatusesOk() (*[]MonitorRenotifyStatusType, bool)

GetRenotifyStatusesOk returns a tuple with the RenotifyStatuses field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetRequireFullWindow ¶

func (o *MonitorOptions) GetRequireFullWindow() bool

GetRequireFullWindow returns the RequireFullWindow field value if set, zero value otherwise.

func (*MonitorOptions) GetRequireFullWindowOk ¶

func (o *MonitorOptions) GetRequireFullWindowOk() (*bool, bool)

GetRequireFullWindowOk returns a tuple with the RequireFullWindow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetSilenced ¶

func (o *MonitorOptions) GetSilenced() map[string]int64

GetSilenced returns the Silenced field value if set, zero value otherwise. Deprecated

func (*MonitorOptions) GetSilencedOk ¶

func (o *MonitorOptions) GetSilencedOk() (*map[string]int64, bool)

GetSilencedOk returns a tuple with the Silenced field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*MonitorOptions) GetSyntheticsCheckId ¶

func (o *MonitorOptions) GetSyntheticsCheckId() string

GetSyntheticsCheckId returns the SyntheticsCheckId field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated

func (*MonitorOptions) GetSyntheticsCheckIdOk ¶

func (o *MonitorOptions) GetSyntheticsCheckIdOk() (*string, bool)

GetSyntheticsCheckIdOk returns a tuple with the SyntheticsCheckId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned. Deprecated

func (*MonitorOptions) GetThresholdWindows ¶

func (o *MonitorOptions) GetThresholdWindows() MonitorThresholdWindowOptions

GetThresholdWindows returns the ThresholdWindows field value if set, zero value otherwise.

func (*MonitorOptions) GetThresholdWindowsOk ¶

func (o *MonitorOptions) GetThresholdWindowsOk() (*MonitorThresholdWindowOptions, bool)

GetThresholdWindowsOk returns a tuple with the ThresholdWindows field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetThresholds ¶

func (o *MonitorOptions) GetThresholds() MonitorThresholds

GetThresholds returns the Thresholds field value if set, zero value otherwise.

func (*MonitorOptions) GetThresholdsOk ¶

func (o *MonitorOptions) GetThresholdsOk() (*MonitorThresholds, bool)

GetThresholdsOk returns a tuple with the Thresholds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) GetTimeoutH ¶

func (o *MonitorOptions) GetTimeoutH() int64

GetTimeoutH returns the TimeoutH field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorOptions) GetTimeoutHOk ¶

func (o *MonitorOptions) GetTimeoutHOk() (*int64, bool)

GetTimeoutHOk returns a tuple with the TimeoutH field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorOptions) GetVariables ¶ added in v1.9.0

GetVariables returns the Variables field value if set, zero value otherwise.

func (*MonitorOptions) GetVariablesOk ¶ added in v1.9.0

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptions) HasAggregation ¶

func (o *MonitorOptions) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*MonitorOptions) HasDeviceIds ¶

func (o *MonitorOptions) HasDeviceIds() bool

HasDeviceIds returns a boolean if a field has been set.

func (*MonitorOptions) HasEnableLogsSample ¶

func (o *MonitorOptions) HasEnableLogsSample() bool

HasEnableLogsSample returns a boolean if a field has been set.

func (*MonitorOptions) HasEscalationMessage ¶

func (o *MonitorOptions) HasEscalationMessage() bool

HasEscalationMessage returns a boolean if a field has been set.

func (*MonitorOptions) HasEvaluationDelay ¶

func (o *MonitorOptions) HasEvaluationDelay() bool

HasEvaluationDelay returns a boolean if a field has been set.

func (*MonitorOptions) HasGroupbySimpleMonitor ¶

func (o *MonitorOptions) HasGroupbySimpleMonitor() bool

HasGroupbySimpleMonitor returns a boolean if a field has been set.

func (*MonitorOptions) HasIncludeTags ¶

func (o *MonitorOptions) HasIncludeTags() bool

HasIncludeTags returns a boolean if a field has been set.

func (*MonitorOptions) HasLocked ¶

func (o *MonitorOptions) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*MonitorOptions) HasMinFailureDuration ¶

func (o *MonitorOptions) HasMinFailureDuration() bool

HasMinFailureDuration returns a boolean if a field has been set.

func (*MonitorOptions) HasMinLocationFailed ¶

func (o *MonitorOptions) HasMinLocationFailed() bool

HasMinLocationFailed returns a boolean if a field has been set.

func (*MonitorOptions) HasNewGroupDelay ¶ added in v1.3.0

func (o *MonitorOptions) HasNewGroupDelay() bool

HasNewGroupDelay returns a boolean if a field has been set.

func (*MonitorOptions) HasNewHostDelay ¶

func (o *MonitorOptions) HasNewHostDelay() bool

HasNewHostDelay returns a boolean if a field has been set.

func (*MonitorOptions) HasNoDataTimeframe ¶

func (o *MonitorOptions) HasNoDataTimeframe() bool

HasNoDataTimeframe returns a boolean if a field has been set.

func (*MonitorOptions) HasNotifyAudit ¶

func (o *MonitorOptions) HasNotifyAudit() bool

HasNotifyAudit returns a boolean if a field has been set.

func (*MonitorOptions) HasNotifyNoData ¶

func (o *MonitorOptions) HasNotifyNoData() bool

HasNotifyNoData returns a boolean if a field has been set.

func (*MonitorOptions) HasRenotifyInterval ¶

func (o *MonitorOptions) HasRenotifyInterval() bool

HasRenotifyInterval returns a boolean if a field has been set.

func (*MonitorOptions) HasRenotifyOccurrences ¶ added in v1.5.0

func (o *MonitorOptions) HasRenotifyOccurrences() bool

HasRenotifyOccurrences returns a boolean if a field has been set.

func (*MonitorOptions) HasRenotifyStatuses ¶ added in v1.5.0

func (o *MonitorOptions) HasRenotifyStatuses() bool

HasRenotifyStatuses returns a boolean if a field has been set.

func (*MonitorOptions) HasRequireFullWindow ¶

func (o *MonitorOptions) HasRequireFullWindow() bool

HasRequireFullWindow returns a boolean if a field has been set.

func (*MonitorOptions) HasSilenced ¶

func (o *MonitorOptions) HasSilenced() bool

HasSilenced returns a boolean if a field has been set.

func (*MonitorOptions) HasSyntheticsCheckId ¶

func (o *MonitorOptions) HasSyntheticsCheckId() bool

HasSyntheticsCheckId returns a boolean if a field has been set.

func (*MonitorOptions) HasThresholdWindows ¶

func (o *MonitorOptions) HasThresholdWindows() bool

HasThresholdWindows returns a boolean if a field has been set.

func (*MonitorOptions) HasThresholds ¶

func (o *MonitorOptions) HasThresholds() bool

HasThresholds returns a boolean if a field has been set.

func (*MonitorOptions) HasTimeoutH ¶

func (o *MonitorOptions) HasTimeoutH() bool

HasTimeoutH returns a boolean if a field has been set.

func (*MonitorOptions) HasVariables ¶ added in v1.9.0

func (o *MonitorOptions) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (MonitorOptions) MarshalJSON ¶

func (o MonitorOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorOptions) SetAggregation ¶

func (o *MonitorOptions) SetAggregation(v MonitorOptionsAggregation)

SetAggregation gets a reference to the given MonitorOptionsAggregation and assigns it to the Aggregation field.

func (*MonitorOptions) SetDeviceIds ¶

func (o *MonitorOptions) SetDeviceIds(v []MonitorDeviceID)

SetDeviceIds gets a reference to the given []MonitorDeviceID and assigns it to the DeviceIds field. Deprecated

func (*MonitorOptions) SetEnableLogsSample ¶

func (o *MonitorOptions) SetEnableLogsSample(v bool)

SetEnableLogsSample gets a reference to the given bool and assigns it to the EnableLogsSample field.

func (*MonitorOptions) SetEscalationMessage ¶

func (o *MonitorOptions) SetEscalationMessage(v string)

SetEscalationMessage gets a reference to the given string and assigns it to the EscalationMessage field.

func (*MonitorOptions) SetEvaluationDelay ¶

func (o *MonitorOptions) SetEvaluationDelay(v int64)

SetEvaluationDelay gets a reference to the given NullableInt64 and assigns it to the EvaluationDelay field.

func (*MonitorOptions) SetEvaluationDelayNil ¶

func (o *MonitorOptions) SetEvaluationDelayNil()

SetEvaluationDelayNil sets the value for EvaluationDelay to be an explicit nil.

func (*MonitorOptions) SetGroupbySimpleMonitor ¶

func (o *MonitorOptions) SetGroupbySimpleMonitor(v bool)

SetGroupbySimpleMonitor gets a reference to the given bool and assigns it to the GroupbySimpleMonitor field.

func (*MonitorOptions) SetIncludeTags ¶

func (o *MonitorOptions) SetIncludeTags(v bool)

SetIncludeTags gets a reference to the given bool and assigns it to the IncludeTags field.

func (*MonitorOptions) SetLocked ¶

func (o *MonitorOptions) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field. Deprecated

func (*MonitorOptions) SetMinFailureDuration ¶

func (o *MonitorOptions) SetMinFailureDuration(v int64)

SetMinFailureDuration gets a reference to the given NullableInt64 and assigns it to the MinFailureDuration field.

func (*MonitorOptions) SetMinFailureDurationNil ¶

func (o *MonitorOptions) SetMinFailureDurationNil()

SetMinFailureDurationNil sets the value for MinFailureDuration to be an explicit nil.

func (*MonitorOptions) SetMinLocationFailed ¶

func (o *MonitorOptions) SetMinLocationFailed(v int64)

SetMinLocationFailed gets a reference to the given NullableInt64 and assigns it to the MinLocationFailed field.

func (*MonitorOptions) SetMinLocationFailedNil ¶

func (o *MonitorOptions) SetMinLocationFailedNil()

SetMinLocationFailedNil sets the value for MinLocationFailed to be an explicit nil.

func (*MonitorOptions) SetNewGroupDelay ¶ added in v1.3.0

func (o *MonitorOptions) SetNewGroupDelay(v int64)

SetNewGroupDelay gets a reference to the given NullableInt64 and assigns it to the NewGroupDelay field.

func (*MonitorOptions) SetNewGroupDelayNil ¶ added in v1.3.0

func (o *MonitorOptions) SetNewGroupDelayNil()

SetNewGroupDelayNil sets the value for NewGroupDelay to be an explicit nil.

func (*MonitorOptions) SetNewHostDelay ¶

func (o *MonitorOptions) SetNewHostDelay(v int64)

SetNewHostDelay gets a reference to the given NullableInt64 and assigns it to the NewHostDelay field. Deprecated

func (*MonitorOptions) SetNewHostDelayNil ¶

func (o *MonitorOptions) SetNewHostDelayNil()

SetNewHostDelayNil sets the value for NewHostDelay to be an explicit nil.

func (*MonitorOptions) SetNoDataTimeframe ¶

func (o *MonitorOptions) SetNoDataTimeframe(v int64)

SetNoDataTimeframe gets a reference to the given NullableInt64 and assigns it to the NoDataTimeframe field.

func (*MonitorOptions) SetNoDataTimeframeNil ¶

func (o *MonitorOptions) SetNoDataTimeframeNil()

SetNoDataTimeframeNil sets the value for NoDataTimeframe to be an explicit nil.

func (*MonitorOptions) SetNotifyAudit ¶

func (o *MonitorOptions) SetNotifyAudit(v bool)

SetNotifyAudit gets a reference to the given bool and assigns it to the NotifyAudit field.

func (*MonitorOptions) SetNotifyNoData ¶

func (o *MonitorOptions) SetNotifyNoData(v bool)

SetNotifyNoData gets a reference to the given bool and assigns it to the NotifyNoData field.

func (*MonitorOptions) SetRenotifyInterval ¶

func (o *MonitorOptions) SetRenotifyInterval(v int64)

SetRenotifyInterval gets a reference to the given NullableInt64 and assigns it to the RenotifyInterval field.

func (*MonitorOptions) SetRenotifyIntervalNil ¶

func (o *MonitorOptions) SetRenotifyIntervalNil()

SetRenotifyIntervalNil sets the value for RenotifyInterval to be an explicit nil.

func (*MonitorOptions) SetRenotifyOccurrences ¶ added in v1.5.0

func (o *MonitorOptions) SetRenotifyOccurrences(v int64)

SetRenotifyOccurrences gets a reference to the given NullableInt64 and assigns it to the RenotifyOccurrences field.

func (*MonitorOptions) SetRenotifyOccurrencesNil ¶ added in v1.5.0

func (o *MonitorOptions) SetRenotifyOccurrencesNil()

SetRenotifyOccurrencesNil sets the value for RenotifyOccurrences to be an explicit nil.

func (*MonitorOptions) SetRenotifyStatuses ¶ added in v1.5.0

func (o *MonitorOptions) SetRenotifyStatuses(v []MonitorRenotifyStatusType)

SetRenotifyStatuses gets a reference to the given []MonitorRenotifyStatusType and assigns it to the RenotifyStatuses field.

func (*MonitorOptions) SetRequireFullWindow ¶

func (o *MonitorOptions) SetRequireFullWindow(v bool)

SetRequireFullWindow gets a reference to the given bool and assigns it to the RequireFullWindow field.

func (*MonitorOptions) SetSilenced ¶

func (o *MonitorOptions) SetSilenced(v map[string]int64)

SetSilenced gets a reference to the given map[string]int64 and assigns it to the Silenced field. Deprecated

func (*MonitorOptions) SetSyntheticsCheckId ¶

func (o *MonitorOptions) SetSyntheticsCheckId(v string)

SetSyntheticsCheckId gets a reference to the given NullableString and assigns it to the SyntheticsCheckId field. Deprecated

func (*MonitorOptions) SetSyntheticsCheckIdNil ¶

func (o *MonitorOptions) SetSyntheticsCheckIdNil()

SetSyntheticsCheckIdNil sets the value for SyntheticsCheckId to be an explicit nil.

func (*MonitorOptions) SetThresholdWindows ¶

func (o *MonitorOptions) SetThresholdWindows(v MonitorThresholdWindowOptions)

SetThresholdWindows gets a reference to the given MonitorThresholdWindowOptions and assigns it to the ThresholdWindows field.

func (*MonitorOptions) SetThresholds ¶

func (o *MonitorOptions) SetThresholds(v MonitorThresholds)

SetThresholds gets a reference to the given MonitorThresholds and assigns it to the Thresholds field.

func (*MonitorOptions) SetTimeoutH ¶

func (o *MonitorOptions) SetTimeoutH(v int64)

SetTimeoutH gets a reference to the given NullableInt64 and assigns it to the TimeoutH field.

func (*MonitorOptions) SetTimeoutHNil ¶

func (o *MonitorOptions) SetTimeoutHNil()

SetTimeoutHNil sets the value for TimeoutH to be an explicit nil.

func (*MonitorOptions) SetVariables ¶ added in v1.9.0

SetVariables gets a reference to the given []MonitorFormulaAndFunctionQueryDefinition and assigns it to the Variables field.

func (*MonitorOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MonitorOptions) UnsetEvaluationDelay ¶

func (o *MonitorOptions) UnsetEvaluationDelay()

UnsetEvaluationDelay ensures that no value is present for EvaluationDelay, not even an explicit nil.

func (*MonitorOptions) UnsetMinFailureDuration ¶

func (o *MonitorOptions) UnsetMinFailureDuration()

UnsetMinFailureDuration ensures that no value is present for MinFailureDuration, not even an explicit nil.

func (*MonitorOptions) UnsetMinLocationFailed ¶

func (o *MonitorOptions) UnsetMinLocationFailed()

UnsetMinLocationFailed ensures that no value is present for MinLocationFailed, not even an explicit nil.

func (*MonitorOptions) UnsetNewGroupDelay ¶ added in v1.3.0

func (o *MonitorOptions) UnsetNewGroupDelay()

UnsetNewGroupDelay ensures that no value is present for NewGroupDelay, not even an explicit nil.

func (*MonitorOptions) UnsetNewHostDelay ¶

func (o *MonitorOptions) UnsetNewHostDelay()

UnsetNewHostDelay ensures that no value is present for NewHostDelay, not even an explicit nil.

func (*MonitorOptions) UnsetNoDataTimeframe ¶

func (o *MonitorOptions) UnsetNoDataTimeframe()

UnsetNoDataTimeframe ensures that no value is present for NoDataTimeframe, not even an explicit nil.

func (*MonitorOptions) UnsetRenotifyInterval ¶

func (o *MonitorOptions) UnsetRenotifyInterval()

UnsetRenotifyInterval ensures that no value is present for RenotifyInterval, not even an explicit nil.

func (*MonitorOptions) UnsetRenotifyOccurrences ¶ added in v1.5.0

func (o *MonitorOptions) UnsetRenotifyOccurrences()

UnsetRenotifyOccurrences ensures that no value is present for RenotifyOccurrences, not even an explicit nil.

func (*MonitorOptions) UnsetSyntheticsCheckId ¶

func (o *MonitorOptions) UnsetSyntheticsCheckId()

UnsetSyntheticsCheckId ensures that no value is present for SyntheticsCheckId, not even an explicit nil.

func (*MonitorOptions) UnsetTimeoutH ¶

func (o *MonitorOptions) UnsetTimeoutH()

UnsetTimeoutH ensures that no value is present for TimeoutH, not even an explicit nil.

type MonitorOptionsAggregation ¶

type MonitorOptionsAggregation struct {
	// Group to break down the monitor on.
	GroupBy *string `json:"group_by,omitempty"`
	// Metric name used in the monitor.
	Metric *string `json:"metric,omitempty"`
	// Metric type used in the monitor.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorOptionsAggregation Type of aggregation performed in the monitor query.

func NewMonitorOptionsAggregation ¶

func NewMonitorOptionsAggregation() *MonitorOptionsAggregation

NewMonitorOptionsAggregation instantiates a new MonitorOptionsAggregation 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 NewMonitorOptionsAggregationWithDefaults ¶

func NewMonitorOptionsAggregationWithDefaults() *MonitorOptionsAggregation

NewMonitorOptionsAggregationWithDefaults instantiates a new MonitorOptionsAggregation 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 (*MonitorOptionsAggregation) GetGroupBy ¶

func (o *MonitorOptionsAggregation) GetGroupBy() string

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*MonitorOptionsAggregation) GetGroupByOk ¶

func (o *MonitorOptionsAggregation) GetGroupByOk() (*string, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptionsAggregation) GetMetric ¶

func (o *MonitorOptionsAggregation) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*MonitorOptionsAggregation) GetMetricOk ¶

func (o *MonitorOptionsAggregation) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptionsAggregation) GetType ¶

func (o *MonitorOptionsAggregation) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*MonitorOptionsAggregation) GetTypeOk ¶

func (o *MonitorOptionsAggregation) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorOptionsAggregation) HasGroupBy ¶

func (o *MonitorOptionsAggregation) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*MonitorOptionsAggregation) HasMetric ¶

func (o *MonitorOptionsAggregation) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*MonitorOptionsAggregation) HasType ¶

func (o *MonitorOptionsAggregation) HasType() bool

HasType returns a boolean if a field has been set.

func (MonitorOptionsAggregation) MarshalJSON ¶

func (o MonitorOptionsAggregation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorOptionsAggregation) SetGroupBy ¶

func (o *MonitorOptionsAggregation) SetGroupBy(v string)

SetGroupBy gets a reference to the given string and assigns it to the GroupBy field.

func (*MonitorOptionsAggregation) SetMetric ¶

func (o *MonitorOptionsAggregation) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*MonitorOptionsAggregation) SetType ¶

func (o *MonitorOptionsAggregation) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*MonitorOptionsAggregation) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorOptionsAggregation) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorOverallStates ¶

type MonitorOverallStates string

MonitorOverallStates The different states your monitor can be in.

const (
	MONITOROVERALLSTATES_ALERT   MonitorOverallStates = "Alert"
	MONITOROVERALLSTATES_IGNORED MonitorOverallStates = "Ignored"
	MONITOROVERALLSTATES_NO_DATA MonitorOverallStates = "No Data"
	MONITOROVERALLSTATES_OK      MonitorOverallStates = "OK"
	MONITOROVERALLSTATES_SKIPPED MonitorOverallStates = "Skipped"
	MONITOROVERALLSTATES_UNKNOWN MonitorOverallStates = "Unknown"
	MONITOROVERALLSTATES_WARN    MonitorOverallStates = "Warn"
)

List of MonitorOverallStates.

func NewMonitorOverallStatesFromValue ¶

func NewMonitorOverallStatesFromValue(v string) (*MonitorOverallStates, error)

NewMonitorOverallStatesFromValue returns a pointer to a valid MonitorOverallStates for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorOverallStates) GetAllowedValues ¶ added in v1.1.0

func (v *MonitorOverallStates) GetAllowedValues() []MonitorOverallStates

GetAllowedValues reeturns the list of possible values.

func (MonitorOverallStates) IsValid ¶

func (v MonitorOverallStates) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorOverallStates) Ptr ¶

Ptr returns reference to MonitorOverallStates value.

func (*MonitorOverallStates) UnmarshalJSON ¶

func (v *MonitorOverallStates) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorRenotifyStatusType ¶ added in v1.5.0

type MonitorRenotifyStatusType string

MonitorRenotifyStatusType The different statuses for which renotification is supported.

const (
	MONITORRENOTIFYSTATUSTYPE_ALERT   MonitorRenotifyStatusType = "alert"
	MONITORRENOTIFYSTATUSTYPE_WARN    MonitorRenotifyStatusType = "warn"
	MONITORRENOTIFYSTATUSTYPE_NO_DATA MonitorRenotifyStatusType = "no data"
)

List of MonitorRenotifyStatusType.

func NewMonitorRenotifyStatusTypeFromValue ¶ added in v1.5.0

func NewMonitorRenotifyStatusTypeFromValue(v string) (*MonitorRenotifyStatusType, error)

NewMonitorRenotifyStatusTypeFromValue returns a pointer to a valid MonitorRenotifyStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorRenotifyStatusType) GetAllowedValues ¶ added in v1.5.0

func (v *MonitorRenotifyStatusType) GetAllowedValues() []MonitorRenotifyStatusType

GetAllowedValues reeturns the list of possible values.

func (MonitorRenotifyStatusType) IsValid ¶ added in v1.5.0

func (v MonitorRenotifyStatusType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorRenotifyStatusType) Ptr ¶ added in v1.5.0

Ptr returns reference to MonitorRenotifyStatusType value.

func (*MonitorRenotifyStatusType) UnmarshalJSON ¶ added in v1.5.0

func (v *MonitorRenotifyStatusType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorSearchCountItem ¶ added in v1.11.0

type MonitorSearchCountItem struct {
	// The number of found monitors with the listed value.
	Count *int64 `json:"count,omitempty"`
	// The facet value.
	Name interface{} `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorSearchCountItem A facet item.

func NewMonitorSearchCountItem ¶ added in v1.11.0

func NewMonitorSearchCountItem() *MonitorSearchCountItem

NewMonitorSearchCountItem instantiates a new MonitorSearchCountItem 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 NewMonitorSearchCountItemWithDefaults ¶ added in v1.11.0

func NewMonitorSearchCountItemWithDefaults() *MonitorSearchCountItem

NewMonitorSearchCountItemWithDefaults instantiates a new MonitorSearchCountItem 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 (*MonitorSearchCountItem) GetCount ¶ added in v1.11.0

func (o *MonitorSearchCountItem) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*MonitorSearchCountItem) GetCountOk ¶ added in v1.11.0

func (o *MonitorSearchCountItem) GetCountOk() (*int64, 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 (*MonitorSearchCountItem) GetName ¶ added in v1.11.0

func (o *MonitorSearchCountItem) GetName() interface{}

GetName returns the Name field value if set, zero value otherwise.

func (*MonitorSearchCountItem) GetNameOk ¶ added in v1.11.0

func (o *MonitorSearchCountItem) GetNameOk() (*interface{}, 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 (*MonitorSearchCountItem) HasCount ¶ added in v1.11.0

func (o *MonitorSearchCountItem) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*MonitorSearchCountItem) HasName ¶ added in v1.11.0

func (o *MonitorSearchCountItem) HasName() bool

HasName returns a boolean if a field has been set.

func (MonitorSearchCountItem) MarshalJSON ¶ added in v1.11.0

func (o MonitorSearchCountItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorSearchCountItem) SetCount ¶ added in v1.11.0

func (o *MonitorSearchCountItem) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*MonitorSearchCountItem) SetName ¶ added in v1.11.0

func (o *MonitorSearchCountItem) SetName(v interface{})

SetName gets a reference to the given interface{} and assigns it to the Name field.

func (*MonitorSearchCountItem) UnmarshalJSON ¶ added in v1.11.0

func (o *MonitorSearchCountItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorSearchResponse ¶

type MonitorSearchResponse struct {
	// The counts of monitors per different criteria.
	Counts *MonitorSearchResponseCounts `json:"counts,omitempty"`
	// Metadata about the response.
	Metadata *MonitorSearchResponseMetadata `json:"metadata,omitempty"`
	// The list of found monitors.
	Monitors []MonitorSearchResult `json:"monitors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorSearchResponse The response form a monitor search.

func NewMonitorSearchResponse ¶

func NewMonitorSearchResponse() *MonitorSearchResponse

NewMonitorSearchResponse instantiates a new MonitorSearchResponse 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 NewMonitorSearchResponseWithDefaults ¶

func NewMonitorSearchResponseWithDefaults() *MonitorSearchResponse

NewMonitorSearchResponseWithDefaults instantiates a new MonitorSearchResponse 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 (*MonitorSearchResponse) GetCounts ¶

GetCounts returns the Counts field value if set, zero value otherwise.

func (*MonitorSearchResponse) GetCountsOk ¶

GetCountsOk returns a tuple with the Counts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponse) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*MonitorSearchResponse) GetMetadataOk ¶

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponse) GetMonitors ¶

func (o *MonitorSearchResponse) GetMonitors() []MonitorSearchResult

GetMonitors returns the Monitors field value if set, zero value otherwise.

func (*MonitorSearchResponse) GetMonitorsOk ¶

func (o *MonitorSearchResponse) GetMonitorsOk() (*[]MonitorSearchResult, bool)

GetMonitorsOk returns a tuple with the Monitors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponse) HasCounts ¶

func (o *MonitorSearchResponse) HasCounts() bool

HasCounts returns a boolean if a field has been set.

func (*MonitorSearchResponse) HasMetadata ¶

func (o *MonitorSearchResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*MonitorSearchResponse) HasMonitors ¶

func (o *MonitorSearchResponse) HasMonitors() bool

HasMonitors returns a boolean if a field has been set.

func (MonitorSearchResponse) MarshalJSON ¶

func (o MonitorSearchResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorSearchResponse) SetCounts ¶

SetCounts gets a reference to the given MonitorSearchResponseCounts and assigns it to the Counts field.

func (*MonitorSearchResponse) SetMetadata ¶

SetMetadata gets a reference to the given MonitorSearchResponseMetadata and assigns it to the Metadata field.

func (*MonitorSearchResponse) SetMonitors ¶

func (o *MonitorSearchResponse) SetMonitors(v []MonitorSearchResult)

SetMonitors gets a reference to the given []MonitorSearchResult and assigns it to the Monitors field.

func (*MonitorSearchResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorSearchResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorSearchResponseCounts ¶

type MonitorSearchResponseCounts struct {
	// Search facets.
	Muted []MonitorSearchCountItem `json:"muted,omitempty"`
	// Search facets.
	Status []MonitorSearchCountItem `json:"status,omitempty"`
	// Search facets.
	Tag []MonitorSearchCountItem `json:"tag,omitempty"`
	// Search facets.
	Type []MonitorSearchCountItem `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorSearchResponseCounts The counts of monitors per different criteria.

func NewMonitorSearchResponseCounts ¶

func NewMonitorSearchResponseCounts() *MonitorSearchResponseCounts

NewMonitorSearchResponseCounts instantiates a new MonitorSearchResponseCounts 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 NewMonitorSearchResponseCountsWithDefaults ¶

func NewMonitorSearchResponseCountsWithDefaults() *MonitorSearchResponseCounts

NewMonitorSearchResponseCountsWithDefaults instantiates a new MonitorSearchResponseCounts 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 (*MonitorSearchResponseCounts) GetMuted ¶

GetMuted returns the Muted field value if set, zero value otherwise.

func (*MonitorSearchResponseCounts) GetMutedOk ¶

GetMutedOk returns a tuple with the Muted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseCounts) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*MonitorSearchResponseCounts) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseCounts) GetTag ¶

GetTag returns the Tag field value if set, zero value otherwise.

func (*MonitorSearchResponseCounts) GetTagOk ¶

GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseCounts) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*MonitorSearchResponseCounts) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseCounts) HasMuted ¶

func (o *MonitorSearchResponseCounts) HasMuted() bool

HasMuted returns a boolean if a field has been set.

func (*MonitorSearchResponseCounts) HasStatus ¶

func (o *MonitorSearchResponseCounts) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MonitorSearchResponseCounts) HasTag ¶

func (o *MonitorSearchResponseCounts) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*MonitorSearchResponseCounts) HasType ¶

func (o *MonitorSearchResponseCounts) HasType() bool

HasType returns a boolean if a field has been set.

func (MonitorSearchResponseCounts) MarshalJSON ¶

func (o MonitorSearchResponseCounts) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorSearchResponseCounts) SetMuted ¶

SetMuted gets a reference to the given []MonitorSearchCountItem and assigns it to the Muted field.

func (*MonitorSearchResponseCounts) SetStatus ¶

SetStatus gets a reference to the given []MonitorSearchCountItem and assigns it to the Status field.

func (*MonitorSearchResponseCounts) SetTag ¶

SetTag gets a reference to the given []MonitorSearchCountItem and assigns it to the Tag field.

func (*MonitorSearchResponseCounts) SetType ¶

SetType gets a reference to the given []MonitorSearchCountItem and assigns it to the Type field.

func (*MonitorSearchResponseCounts) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorSearchResponseCounts) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorSearchResponseMetadata ¶

type MonitorSearchResponseMetadata struct {
	// The page to start paginating from.
	Page *int64 `json:"page,omitempty"`
	// The number of pages.
	PageCount *int64 `json:"page_count,omitempty"`
	// The number of monitors to return per page.
	PerPage *int64 `json:"per_page,omitempty"`
	// The total number of monitors.
	TotalCount *int64 `json:"total_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorSearchResponseMetadata Metadata about the response.

func NewMonitorSearchResponseMetadata ¶

func NewMonitorSearchResponseMetadata() *MonitorSearchResponseMetadata

NewMonitorSearchResponseMetadata instantiates a new MonitorSearchResponseMetadata 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 NewMonitorSearchResponseMetadataWithDefaults ¶

func NewMonitorSearchResponseMetadataWithDefaults() *MonitorSearchResponseMetadata

NewMonitorSearchResponseMetadataWithDefaults instantiates a new MonitorSearchResponseMetadata 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 (*MonitorSearchResponseMetadata) GetPage ¶

func (o *MonitorSearchResponseMetadata) GetPage() int64

GetPage returns the Page field value if set, zero value otherwise.

func (*MonitorSearchResponseMetadata) GetPageCount ¶

func (o *MonitorSearchResponseMetadata) GetPageCount() int64

GetPageCount returns the PageCount field value if set, zero value otherwise.

func (*MonitorSearchResponseMetadata) GetPageCountOk ¶

func (o *MonitorSearchResponseMetadata) GetPageCountOk() (*int64, bool)

GetPageCountOk returns a tuple with the PageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseMetadata) GetPageOk ¶

func (o *MonitorSearchResponseMetadata) GetPageOk() (*int64, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseMetadata) GetPerPage ¶

func (o *MonitorSearchResponseMetadata) GetPerPage() int64

GetPerPage returns the PerPage field value if set, zero value otherwise.

func (*MonitorSearchResponseMetadata) GetPerPageOk ¶

func (o *MonitorSearchResponseMetadata) GetPerPageOk() (*int64, bool)

GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseMetadata) GetTotalCount ¶

func (o *MonitorSearchResponseMetadata) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*MonitorSearchResponseMetadata) GetTotalCountOk ¶

func (o *MonitorSearchResponseMetadata) GetTotalCountOk() (*int64, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResponseMetadata) HasPage ¶

func (o *MonitorSearchResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*MonitorSearchResponseMetadata) HasPageCount ¶

func (o *MonitorSearchResponseMetadata) HasPageCount() bool

HasPageCount returns a boolean if a field has been set.

func (*MonitorSearchResponseMetadata) HasPerPage ¶

func (o *MonitorSearchResponseMetadata) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

func (*MonitorSearchResponseMetadata) HasTotalCount ¶

func (o *MonitorSearchResponseMetadata) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (MonitorSearchResponseMetadata) MarshalJSON ¶

func (o MonitorSearchResponseMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorSearchResponseMetadata) SetPage ¶

func (o *MonitorSearchResponseMetadata) SetPage(v int64)

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (*MonitorSearchResponseMetadata) SetPageCount ¶

func (o *MonitorSearchResponseMetadata) SetPageCount(v int64)

SetPageCount gets a reference to the given int64 and assigns it to the PageCount field.

func (*MonitorSearchResponseMetadata) SetPerPage ¶

func (o *MonitorSearchResponseMetadata) SetPerPage(v int64)

SetPerPage gets a reference to the given int64 and assigns it to the PerPage field.

func (*MonitorSearchResponseMetadata) SetTotalCount ¶

func (o *MonitorSearchResponseMetadata) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*MonitorSearchResponseMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorSearchResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorSearchResult ¶

type MonitorSearchResult struct {
	// Classification of the monitor.
	Classification *string `json:"classification,omitempty"`
	// Object describing the creator of the shared element.
	Creator *Creator `json:"creator,omitempty"`
	// ID of the monitor.
	Id *int64 `json:"id,omitempty"`
	// Latest timestamp the monitor triggered.
	LastTriggeredTs NullableInt64 `json:"last_triggered_ts,omitempty"`
	// Metrics used by the monitor.
	Metrics []string `json:"metrics,omitempty"`
	// The monitor name.
	Name *string `json:"name,omitempty"`
	// The notification triggered by the monitor.
	Notifications []MonitorSearchResultNotification `json:"notifications,omitempty"`
	// The ID of the organization.
	OrgId *int64 `json:"org_id,omitempty"`
	// The monitor query.
	Query *string `json:"query,omitempty"`
	// The scope(s) to which the downtime applies, for example `host:app2`.
	// Provide multiple scopes as a comma-separated list, for example `env:dev,env:prod`.
	// The resulting downtime applies to sources that matches ALL provided scopes
	// (that is `env:dev AND env:prod`), NOT any of them.
	Scopes []string `json:"scopes,omitempty"`
	// The different states your monitor can be in.
	Status *MonitorOverallStates `json:"status,omitempty"`
	// Tags associated with the monitor.
	Tags []string `json:"tags,omitempty"`
	// The type of the monitor. For more information about `type`, see the [monitor options](https://docs.datadoghq.com/monitors/guide/monitor_api_options/) docs.
	Type *MonitorType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorSearchResult Holds search results.

func NewMonitorSearchResult ¶

func NewMonitorSearchResult() *MonitorSearchResult

NewMonitorSearchResult instantiates a new MonitorSearchResult 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 NewMonitorSearchResultWithDefaults ¶

func NewMonitorSearchResultWithDefaults() *MonitorSearchResult

NewMonitorSearchResultWithDefaults instantiates a new MonitorSearchResult 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 (*MonitorSearchResult) GetClassification ¶

func (o *MonitorSearchResult) GetClassification() string

GetClassification returns the Classification field value if set, zero value otherwise.

func (*MonitorSearchResult) GetClassificationOk ¶

func (o *MonitorSearchResult) GetClassificationOk() (*string, bool)

GetClassificationOk returns a tuple with the Classification field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetCreator ¶

func (o *MonitorSearchResult) GetCreator() Creator

GetCreator returns the Creator field value if set, zero value otherwise.

func (*MonitorSearchResult) GetCreatorOk ¶

func (o *MonitorSearchResult) GetCreatorOk() (*Creator, 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 (*MonitorSearchResult) GetId ¶

func (o *MonitorSearchResult) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*MonitorSearchResult) GetIdOk ¶

func (o *MonitorSearchResult) GetIdOk() (*int64, 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 (*MonitorSearchResult) GetLastTriggeredTs ¶

func (o *MonitorSearchResult) GetLastTriggeredTs() int64

GetLastTriggeredTs returns the LastTriggeredTs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorSearchResult) GetLastTriggeredTsOk ¶

func (o *MonitorSearchResult) GetLastTriggeredTsOk() (*int64, bool)

GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorSearchResult) GetMetrics ¶

func (o *MonitorSearchResult) GetMetrics() []string

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*MonitorSearchResult) GetMetricsOk ¶

func (o *MonitorSearchResult) GetMetricsOk() (*[]string, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetName ¶

func (o *MonitorSearchResult) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MonitorSearchResult) GetNameOk ¶

func (o *MonitorSearchResult) 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 (*MonitorSearchResult) GetNotifications ¶

func (o *MonitorSearchResult) GetNotifications() []MonitorSearchResultNotification

GetNotifications returns the Notifications field value if set, zero value otherwise.

func (*MonitorSearchResult) GetNotificationsOk ¶

func (o *MonitorSearchResult) GetNotificationsOk() (*[]MonitorSearchResultNotification, bool)

GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetOrgId ¶

func (o *MonitorSearchResult) GetOrgId() int64

GetOrgId returns the OrgId field value if set, zero value otherwise.

func (*MonitorSearchResult) GetOrgIdOk ¶

func (o *MonitorSearchResult) GetOrgIdOk() (*int64, bool)

GetOrgIdOk returns a tuple with the OrgId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetQuery ¶ added in v1.7.0

func (o *MonitorSearchResult) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*MonitorSearchResult) GetQueryOk ¶ added in v1.7.0

func (o *MonitorSearchResult) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetScopes ¶

func (o *MonitorSearchResult) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise.

func (*MonitorSearchResult) GetScopesOk ¶

func (o *MonitorSearchResult) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*MonitorSearchResult) GetStatusOk ¶

func (o *MonitorSearchResult) GetStatusOk() (*MonitorOverallStates, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetTags ¶

func (o *MonitorSearchResult) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MonitorSearchResult) GetTagsOk ¶

func (o *MonitorSearchResult) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) GetType ¶

func (o *MonitorSearchResult) GetType() MonitorType

GetType returns the Type field value if set, zero value otherwise.

func (*MonitorSearchResult) GetTypeOk ¶

func (o *MonitorSearchResult) GetTypeOk() (*MonitorType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResult) HasClassification ¶

func (o *MonitorSearchResult) HasClassification() bool

HasClassification returns a boolean if a field has been set.

func (*MonitorSearchResult) HasCreator ¶

func (o *MonitorSearchResult) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*MonitorSearchResult) HasId ¶

func (o *MonitorSearchResult) HasId() bool

HasId returns a boolean if a field has been set.

func (*MonitorSearchResult) HasLastTriggeredTs ¶

func (o *MonitorSearchResult) HasLastTriggeredTs() bool

HasLastTriggeredTs returns a boolean if a field has been set.

func (*MonitorSearchResult) HasMetrics ¶

func (o *MonitorSearchResult) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*MonitorSearchResult) HasName ¶

func (o *MonitorSearchResult) HasName() bool

HasName returns a boolean if a field has been set.

func (*MonitorSearchResult) HasNotifications ¶

func (o *MonitorSearchResult) HasNotifications() bool

HasNotifications returns a boolean if a field has been set.

func (*MonitorSearchResult) HasOrgId ¶

func (o *MonitorSearchResult) HasOrgId() bool

HasOrgId returns a boolean if a field has been set.

func (*MonitorSearchResult) HasQuery ¶ added in v1.7.0

func (o *MonitorSearchResult) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*MonitorSearchResult) HasScopes ¶

func (o *MonitorSearchResult) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (*MonitorSearchResult) HasStatus ¶

func (o *MonitorSearchResult) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MonitorSearchResult) HasTags ¶

func (o *MonitorSearchResult) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*MonitorSearchResult) HasType ¶

func (o *MonitorSearchResult) HasType() bool

HasType returns a boolean if a field has been set.

func (MonitorSearchResult) MarshalJSON ¶

func (o MonitorSearchResult) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorSearchResult) SetClassification ¶

func (o *MonitorSearchResult) SetClassification(v string)

SetClassification gets a reference to the given string and assigns it to the Classification field.

func (*MonitorSearchResult) SetCreator ¶

func (o *MonitorSearchResult) SetCreator(v Creator)

SetCreator gets a reference to the given Creator and assigns it to the Creator field.

func (*MonitorSearchResult) SetId ¶

func (o *MonitorSearchResult) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*MonitorSearchResult) SetLastTriggeredTs ¶

func (o *MonitorSearchResult) SetLastTriggeredTs(v int64)

SetLastTriggeredTs gets a reference to the given NullableInt64 and assigns it to the LastTriggeredTs field.

func (*MonitorSearchResult) SetLastTriggeredTsNil ¶

func (o *MonitorSearchResult) SetLastTriggeredTsNil()

SetLastTriggeredTsNil sets the value for LastTriggeredTs to be an explicit nil.

func (*MonitorSearchResult) SetMetrics ¶

func (o *MonitorSearchResult) SetMetrics(v []string)

SetMetrics gets a reference to the given []string and assigns it to the Metrics field.

func (*MonitorSearchResult) SetName ¶

func (o *MonitorSearchResult) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MonitorSearchResult) SetNotifications ¶

func (o *MonitorSearchResult) SetNotifications(v []MonitorSearchResultNotification)

SetNotifications gets a reference to the given []MonitorSearchResultNotification and assigns it to the Notifications field.

func (*MonitorSearchResult) SetOrgId ¶

func (o *MonitorSearchResult) SetOrgId(v int64)

SetOrgId gets a reference to the given int64 and assigns it to the OrgId field.

func (*MonitorSearchResult) SetQuery ¶ added in v1.7.0

func (o *MonitorSearchResult) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*MonitorSearchResult) SetScopes ¶

func (o *MonitorSearchResult) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*MonitorSearchResult) SetStatus ¶

func (o *MonitorSearchResult) SetStatus(v MonitorOverallStates)

SetStatus gets a reference to the given MonitorOverallStates and assigns it to the Status field.

func (*MonitorSearchResult) SetTags ¶

func (o *MonitorSearchResult) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MonitorSearchResult) SetType ¶

func (o *MonitorSearchResult) SetType(v MonitorType)

SetType gets a reference to the given MonitorType and assigns it to the Type field.

func (*MonitorSearchResult) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorSearchResult) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MonitorSearchResult) UnsetLastTriggeredTs ¶

func (o *MonitorSearchResult) UnsetLastTriggeredTs()

UnsetLastTriggeredTs ensures that no value is present for LastTriggeredTs, not even an explicit nil.

type MonitorSearchResultNotification ¶

type MonitorSearchResultNotification struct {
	// The email address that received the notification.
	Handle *string `json:"handle,omitempty"`
	// The username receiving the notification
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorSearchResultNotification A notification triggered by the monitor.

func NewMonitorSearchResultNotification ¶

func NewMonitorSearchResultNotification() *MonitorSearchResultNotification

NewMonitorSearchResultNotification instantiates a new MonitorSearchResultNotification 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 NewMonitorSearchResultNotificationWithDefaults ¶

func NewMonitorSearchResultNotificationWithDefaults() *MonitorSearchResultNotification

NewMonitorSearchResultNotificationWithDefaults instantiates a new MonitorSearchResultNotification 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 (*MonitorSearchResultNotification) GetHandle ¶

func (o *MonitorSearchResultNotification) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*MonitorSearchResultNotification) GetHandleOk ¶

func (o *MonitorSearchResultNotification) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSearchResultNotification) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*MonitorSearchResultNotification) GetNameOk ¶

func (o *MonitorSearchResultNotification) 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 (*MonitorSearchResultNotification) HasHandle ¶

func (o *MonitorSearchResultNotification) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*MonitorSearchResultNotification) HasName ¶

HasName returns a boolean if a field has been set.

func (MonitorSearchResultNotification) MarshalJSON ¶

func (o MonitorSearchResultNotification) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorSearchResultNotification) SetHandle ¶

func (o *MonitorSearchResultNotification) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*MonitorSearchResultNotification) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*MonitorSearchResultNotification) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorSearchResultNotification) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorState ¶

type MonitorState struct {
	// Dictionary where the keys are groups (comma separated lists of tags) and the values are
	// the list of groups your monitor is broken down on.
	Groups map[string]MonitorStateGroup `json:"groups,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorState Wrapper object with the different monitor states.

func NewMonitorState ¶

func NewMonitorState() *MonitorState

NewMonitorState instantiates a new MonitorState 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 NewMonitorStateWithDefaults ¶

func NewMonitorStateWithDefaults() *MonitorState

NewMonitorStateWithDefaults instantiates a new MonitorState 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 (*MonitorState) GetGroups ¶

func (o *MonitorState) GetGroups() map[string]MonitorStateGroup

GetGroups returns the Groups field value if set, zero value otherwise.

func (*MonitorState) GetGroupsOk ¶

func (o *MonitorState) GetGroupsOk() (*map[string]MonitorStateGroup, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorState) HasGroups ¶

func (o *MonitorState) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (MonitorState) MarshalJSON ¶

func (o MonitorState) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorState) SetGroups ¶

func (o *MonitorState) SetGroups(v map[string]MonitorStateGroup)

SetGroups gets a reference to the given map[string]MonitorStateGroup and assigns it to the Groups field.

func (*MonitorState) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorState) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorStateGroup ¶

type MonitorStateGroup struct {
	// Latest timestamp the monitor was in NO_DATA state.
	LastNodataTs *int64 `json:"last_nodata_ts,omitempty"`
	// Latest timestamp of the notification sent for this monitor group.
	LastNotifiedTs *int64 `json:"last_notified_ts,omitempty"`
	// Latest timestamp the monitor group was resolved.
	LastResolvedTs *int64 `json:"last_resolved_ts,omitempty"`
	// Latest timestamp the monitor group triggered.
	LastTriggeredTs *int64 `json:"last_triggered_ts,omitempty"`
	// The name of the monitor.
	Name *string `json:"name,omitempty"`
	// The different states your monitor can be in.
	Status *MonitorOverallStates `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorStateGroup Monitor state for a single group.

func NewMonitorStateGroup ¶

func NewMonitorStateGroup() *MonitorStateGroup

NewMonitorStateGroup instantiates a new MonitorStateGroup 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 NewMonitorStateGroupWithDefaults ¶

func NewMonitorStateGroupWithDefaults() *MonitorStateGroup

NewMonitorStateGroupWithDefaults instantiates a new MonitorStateGroup 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 (*MonitorStateGroup) GetLastNodataTs ¶

func (o *MonitorStateGroup) GetLastNodataTs() int64

GetLastNodataTs returns the LastNodataTs field value if set, zero value otherwise.

func (*MonitorStateGroup) GetLastNodataTsOk ¶

func (o *MonitorStateGroup) GetLastNodataTsOk() (*int64, bool)

GetLastNodataTsOk returns a tuple with the LastNodataTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorStateGroup) GetLastNotifiedTs ¶

func (o *MonitorStateGroup) GetLastNotifiedTs() int64

GetLastNotifiedTs returns the LastNotifiedTs field value if set, zero value otherwise.

func (*MonitorStateGroup) GetLastNotifiedTsOk ¶

func (o *MonitorStateGroup) GetLastNotifiedTsOk() (*int64, bool)

GetLastNotifiedTsOk returns a tuple with the LastNotifiedTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorStateGroup) GetLastResolvedTs ¶

func (o *MonitorStateGroup) GetLastResolvedTs() int64

GetLastResolvedTs returns the LastResolvedTs field value if set, zero value otherwise.

func (*MonitorStateGroup) GetLastResolvedTsOk ¶

func (o *MonitorStateGroup) GetLastResolvedTsOk() (*int64, bool)

GetLastResolvedTsOk returns a tuple with the LastResolvedTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorStateGroup) GetLastTriggeredTs ¶

func (o *MonitorStateGroup) GetLastTriggeredTs() int64

GetLastTriggeredTs returns the LastTriggeredTs field value if set, zero value otherwise.

func (*MonitorStateGroup) GetLastTriggeredTsOk ¶

func (o *MonitorStateGroup) GetLastTriggeredTsOk() (*int64, bool)

GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorStateGroup) GetName ¶

func (o *MonitorStateGroup) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MonitorStateGroup) GetNameOk ¶

func (o *MonitorStateGroup) 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 (*MonitorStateGroup) GetStatus ¶

func (o *MonitorStateGroup) GetStatus() MonitorOverallStates

GetStatus returns the Status field value if set, zero value otherwise.

func (*MonitorStateGroup) GetStatusOk ¶

func (o *MonitorStateGroup) GetStatusOk() (*MonitorOverallStates, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorStateGroup) HasLastNodataTs ¶

func (o *MonitorStateGroup) HasLastNodataTs() bool

HasLastNodataTs returns a boolean if a field has been set.

func (*MonitorStateGroup) HasLastNotifiedTs ¶

func (o *MonitorStateGroup) HasLastNotifiedTs() bool

HasLastNotifiedTs returns a boolean if a field has been set.

func (*MonitorStateGroup) HasLastResolvedTs ¶

func (o *MonitorStateGroup) HasLastResolvedTs() bool

HasLastResolvedTs returns a boolean if a field has been set.

func (*MonitorStateGroup) HasLastTriggeredTs ¶

func (o *MonitorStateGroup) HasLastTriggeredTs() bool

HasLastTriggeredTs returns a boolean if a field has been set.

func (*MonitorStateGroup) HasName ¶

func (o *MonitorStateGroup) HasName() bool

HasName returns a boolean if a field has been set.

func (*MonitorStateGroup) HasStatus ¶

func (o *MonitorStateGroup) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (MonitorStateGroup) MarshalJSON ¶

func (o MonitorStateGroup) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorStateGroup) SetLastNodataTs ¶

func (o *MonitorStateGroup) SetLastNodataTs(v int64)

SetLastNodataTs gets a reference to the given int64 and assigns it to the LastNodataTs field.

func (*MonitorStateGroup) SetLastNotifiedTs ¶

func (o *MonitorStateGroup) SetLastNotifiedTs(v int64)

SetLastNotifiedTs gets a reference to the given int64 and assigns it to the LastNotifiedTs field.

func (*MonitorStateGroup) SetLastResolvedTs ¶

func (o *MonitorStateGroup) SetLastResolvedTs(v int64)

SetLastResolvedTs gets a reference to the given int64 and assigns it to the LastResolvedTs field.

func (*MonitorStateGroup) SetLastTriggeredTs ¶

func (o *MonitorStateGroup) SetLastTriggeredTs(v int64)

SetLastTriggeredTs gets a reference to the given int64 and assigns it to the LastTriggeredTs field.

func (*MonitorStateGroup) SetName ¶

func (o *MonitorStateGroup) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MonitorStateGroup) SetStatus ¶

func (o *MonitorStateGroup) SetStatus(v MonitorOverallStates)

SetStatus gets a reference to the given MonitorOverallStates and assigns it to the Status field.

func (*MonitorStateGroup) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorStateGroup) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorSummaryWidgetDefinition ¶

type MonitorSummaryWidgetDefinition struct {
	// Which color to use on the widget.
	ColorPreference *WidgetColorPreference `json:"color_preference,omitempty"`
	// The number of monitors to display.
	// Deprecated
	Count *int64 `json:"count,omitempty"`
	// What to display on the widget.
	DisplayFormat *WidgetMonitorSummaryDisplayFormat `json:"display_format,omitempty"`
	// Whether to show counts of 0 or not.
	HideZeroCounts *bool `json:"hide_zero_counts,omitempty"`
	// Query to filter the monitors with.
	Query string `json:"query"`
	// Whether to show the time that has elapsed since the monitor/group triggered.
	ShowLastTriggered *bool `json:"show_last_triggered,omitempty"`
	// Widget sorting methods.
	Sort *WidgetMonitorSummarySort `json:"sort,omitempty"`
	// The start of the list. Typically 0.
	// Deprecated
	Start *int64 `json:"start,omitempty"`
	// Which summary type should be used.
	SummaryType *WidgetSummaryType `json:"summary_type,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the monitor summary widget.
	Type MonitorSummaryWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorSummaryWidgetDefinition The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards.

func NewMonitorSummaryWidgetDefinition ¶

func NewMonitorSummaryWidgetDefinition(query string, typeVar MonitorSummaryWidgetDefinitionType) *MonitorSummaryWidgetDefinition

NewMonitorSummaryWidgetDefinition instantiates a new MonitorSummaryWidgetDefinition 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 NewMonitorSummaryWidgetDefinitionWithDefaults ¶

func NewMonitorSummaryWidgetDefinitionWithDefaults() *MonitorSummaryWidgetDefinition

NewMonitorSummaryWidgetDefinitionWithDefaults instantiates a new MonitorSummaryWidgetDefinition 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 (*MonitorSummaryWidgetDefinition) GetColorPreference ¶

func (o *MonitorSummaryWidgetDefinition) GetColorPreference() WidgetColorPreference

GetColorPreference returns the ColorPreference field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetColorPreferenceOk ¶

func (o *MonitorSummaryWidgetDefinition) GetColorPreferenceOk() (*WidgetColorPreference, bool)

GetColorPreferenceOk returns a tuple with the ColorPreference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetCount ¶

func (o *MonitorSummaryWidgetDefinition) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise. Deprecated

func (*MonitorSummaryWidgetDefinition) GetCountOk ¶

func (o *MonitorSummaryWidgetDefinition) GetCountOk() (*int64, 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. Deprecated

func (*MonitorSummaryWidgetDefinition) GetDisplayFormat ¶

GetDisplayFormat returns the DisplayFormat field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetDisplayFormatOk ¶

GetDisplayFormatOk returns a tuple with the DisplayFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetHideZeroCounts ¶

func (o *MonitorSummaryWidgetDefinition) GetHideZeroCounts() bool

GetHideZeroCounts returns the HideZeroCounts field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetHideZeroCountsOk ¶

func (o *MonitorSummaryWidgetDefinition) GetHideZeroCountsOk() (*bool, bool)

GetHideZeroCountsOk returns a tuple with the HideZeroCounts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetQuery ¶

func (o *MonitorSummaryWidgetDefinition) GetQuery() string

GetQuery returns the Query field value.

func (*MonitorSummaryWidgetDefinition) GetQueryOk ¶

func (o *MonitorSummaryWidgetDefinition) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetShowLastTriggered ¶

func (o *MonitorSummaryWidgetDefinition) GetShowLastTriggered() bool

GetShowLastTriggered returns the ShowLastTriggered field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetShowLastTriggeredOk ¶

func (o *MonitorSummaryWidgetDefinition) GetShowLastTriggeredOk() (*bool, bool)

GetShowLastTriggeredOk returns a tuple with the ShowLastTriggered field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetSort ¶

GetSort returns the Sort field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetSortOk ¶

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetStart ¶

func (o *MonitorSummaryWidgetDefinition) GetStart() int64

GetStart returns the Start field value if set, zero value otherwise. Deprecated

func (*MonitorSummaryWidgetDefinition) GetStartOk ¶

func (o *MonitorSummaryWidgetDefinition) GetStartOk() (*int64, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*MonitorSummaryWidgetDefinition) GetSummaryType ¶

GetSummaryType returns the SummaryType field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetSummaryTypeOk ¶

func (o *MonitorSummaryWidgetDefinition) GetSummaryTypeOk() (*WidgetSummaryType, bool)

GetSummaryTypeOk returns a tuple with the SummaryType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetTitle ¶

func (o *MonitorSummaryWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetTitleAlign ¶

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetTitleAlignOk ¶

func (o *MonitorSummaryWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetTitleOk ¶

func (o *MonitorSummaryWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetTitleSize ¶

func (o *MonitorSummaryWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*MonitorSummaryWidgetDefinition) GetTitleSizeOk ¶

func (o *MonitorSummaryWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*MonitorSummaryWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MonitorSummaryWidgetDefinition) HasColorPreference ¶

func (o *MonitorSummaryWidgetDefinition) HasColorPreference() bool

HasColorPreference returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasCount ¶

func (o *MonitorSummaryWidgetDefinition) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasDisplayFormat ¶

func (o *MonitorSummaryWidgetDefinition) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasHideZeroCounts ¶

func (o *MonitorSummaryWidgetDefinition) HasHideZeroCounts() bool

HasHideZeroCounts returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasShowLastTriggered ¶

func (o *MonitorSummaryWidgetDefinition) HasShowLastTriggered() bool

HasShowLastTriggered returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasSort ¶

func (o *MonitorSummaryWidgetDefinition) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasStart ¶

func (o *MonitorSummaryWidgetDefinition) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasSummaryType ¶

func (o *MonitorSummaryWidgetDefinition) HasSummaryType() bool

HasSummaryType returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasTitle ¶

func (o *MonitorSummaryWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasTitleAlign ¶

func (o *MonitorSummaryWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*MonitorSummaryWidgetDefinition) HasTitleSize ¶

func (o *MonitorSummaryWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (MonitorSummaryWidgetDefinition) MarshalJSON ¶

func (o MonitorSummaryWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorSummaryWidgetDefinition) SetColorPreference ¶

func (o *MonitorSummaryWidgetDefinition) SetColorPreference(v WidgetColorPreference)

SetColorPreference gets a reference to the given WidgetColorPreference and assigns it to the ColorPreference field.

func (*MonitorSummaryWidgetDefinition) SetCount ¶

func (o *MonitorSummaryWidgetDefinition) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field. Deprecated

func (*MonitorSummaryWidgetDefinition) SetDisplayFormat ¶

SetDisplayFormat gets a reference to the given WidgetMonitorSummaryDisplayFormat and assigns it to the DisplayFormat field.

func (*MonitorSummaryWidgetDefinition) SetHideZeroCounts ¶

func (o *MonitorSummaryWidgetDefinition) SetHideZeroCounts(v bool)

SetHideZeroCounts gets a reference to the given bool and assigns it to the HideZeroCounts field.

func (*MonitorSummaryWidgetDefinition) SetQuery ¶

func (o *MonitorSummaryWidgetDefinition) SetQuery(v string)

SetQuery sets field value.

func (*MonitorSummaryWidgetDefinition) SetShowLastTriggered ¶

func (o *MonitorSummaryWidgetDefinition) SetShowLastTriggered(v bool)

SetShowLastTriggered gets a reference to the given bool and assigns it to the ShowLastTriggered field.

func (*MonitorSummaryWidgetDefinition) SetSort ¶

SetSort gets a reference to the given WidgetMonitorSummarySort and assigns it to the Sort field.

func (*MonitorSummaryWidgetDefinition) SetStart ¶

func (o *MonitorSummaryWidgetDefinition) SetStart(v int64)

SetStart gets a reference to the given int64 and assigns it to the Start field. Deprecated

func (*MonitorSummaryWidgetDefinition) SetSummaryType ¶

SetSummaryType gets a reference to the given WidgetSummaryType and assigns it to the SummaryType field.

func (*MonitorSummaryWidgetDefinition) SetTitle ¶

func (o *MonitorSummaryWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*MonitorSummaryWidgetDefinition) SetTitleAlign ¶

func (o *MonitorSummaryWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*MonitorSummaryWidgetDefinition) SetTitleSize ¶

func (o *MonitorSummaryWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*MonitorSummaryWidgetDefinition) SetType ¶

SetType sets field value.

func (*MonitorSummaryWidgetDefinition) UnmarshalJSON ¶

func (o *MonitorSummaryWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonitorSummaryWidgetDefinitionType ¶

type MonitorSummaryWidgetDefinitionType string

MonitorSummaryWidgetDefinitionType Type of the monitor summary widget.

const (
	MONITORSUMMARYWIDGETDEFINITIONTYPE_MANAGE_STATUS MonitorSummaryWidgetDefinitionType = "manage_status"
)

List of MonitorSummaryWidgetDefinitionType.

func NewMonitorSummaryWidgetDefinitionTypeFromValue ¶

func NewMonitorSummaryWidgetDefinitionTypeFromValue(v string) (*MonitorSummaryWidgetDefinitionType, error)

NewMonitorSummaryWidgetDefinitionTypeFromValue returns a pointer to a valid MonitorSummaryWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorSummaryWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (MonitorSummaryWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorSummaryWidgetDefinitionType) Ptr ¶

Ptr returns reference to MonitorSummaryWidgetDefinitionType value.

func (*MonitorSummaryWidgetDefinitionType) UnmarshalJSON ¶

func (v *MonitorSummaryWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorThresholdWindowOptions ¶

type MonitorThresholdWindowOptions struct {
	// Describes how long an anomalous metric must be normal before the alert recovers.
	RecoveryWindow NullableString `json:"recovery_window,omitempty"`
	// Describes how long a metric must be anomalous before an alert triggers.
	TriggerWindow NullableString `json:"trigger_window,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorThresholdWindowOptions Alerting time window options.

func NewMonitorThresholdWindowOptions ¶

func NewMonitorThresholdWindowOptions() *MonitorThresholdWindowOptions

NewMonitorThresholdWindowOptions instantiates a new MonitorThresholdWindowOptions 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 NewMonitorThresholdWindowOptionsWithDefaults ¶

func NewMonitorThresholdWindowOptionsWithDefaults() *MonitorThresholdWindowOptions

NewMonitorThresholdWindowOptionsWithDefaults instantiates a new MonitorThresholdWindowOptions 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 (*MonitorThresholdWindowOptions) GetRecoveryWindow ¶

func (o *MonitorThresholdWindowOptions) GetRecoveryWindow() string

GetRecoveryWindow returns the RecoveryWindow field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorThresholdWindowOptions) GetRecoveryWindowOk ¶

func (o *MonitorThresholdWindowOptions) GetRecoveryWindowOk() (*string, bool)

GetRecoveryWindowOk returns a tuple with the RecoveryWindow field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorThresholdWindowOptions) GetTriggerWindow ¶

func (o *MonitorThresholdWindowOptions) GetTriggerWindow() string

GetTriggerWindow returns the TriggerWindow field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorThresholdWindowOptions) GetTriggerWindowOk ¶

func (o *MonitorThresholdWindowOptions) GetTriggerWindowOk() (*string, bool)

GetTriggerWindowOk returns a tuple with the TriggerWindow field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorThresholdWindowOptions) HasRecoveryWindow ¶

func (o *MonitorThresholdWindowOptions) HasRecoveryWindow() bool

HasRecoveryWindow returns a boolean if a field has been set.

func (*MonitorThresholdWindowOptions) HasTriggerWindow ¶

func (o *MonitorThresholdWindowOptions) HasTriggerWindow() bool

HasTriggerWindow returns a boolean if a field has been set.

func (MonitorThresholdWindowOptions) MarshalJSON ¶

func (o MonitorThresholdWindowOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorThresholdWindowOptions) SetRecoveryWindow ¶

func (o *MonitorThresholdWindowOptions) SetRecoveryWindow(v string)

SetRecoveryWindow gets a reference to the given NullableString and assigns it to the RecoveryWindow field.

func (*MonitorThresholdWindowOptions) SetRecoveryWindowNil ¶

func (o *MonitorThresholdWindowOptions) SetRecoveryWindowNil()

SetRecoveryWindowNil sets the value for RecoveryWindow to be an explicit nil.

func (*MonitorThresholdWindowOptions) SetTriggerWindow ¶

func (o *MonitorThresholdWindowOptions) SetTriggerWindow(v string)

SetTriggerWindow gets a reference to the given NullableString and assigns it to the TriggerWindow field.

func (*MonitorThresholdWindowOptions) SetTriggerWindowNil ¶

func (o *MonitorThresholdWindowOptions) SetTriggerWindowNil()

SetTriggerWindowNil sets the value for TriggerWindow to be an explicit nil.

func (*MonitorThresholdWindowOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorThresholdWindowOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MonitorThresholdWindowOptions) UnsetRecoveryWindow ¶

func (o *MonitorThresholdWindowOptions) UnsetRecoveryWindow()

UnsetRecoveryWindow ensures that no value is present for RecoveryWindow, not even an explicit nil.

func (*MonitorThresholdWindowOptions) UnsetTriggerWindow ¶

func (o *MonitorThresholdWindowOptions) UnsetTriggerWindow()

UnsetTriggerWindow ensures that no value is present for TriggerWindow, not even an explicit nil.

type MonitorThresholds ¶

type MonitorThresholds struct {
	// The monitor `CRITICAL` threshold.
	Critical *float64 `json:"critical,omitempty"`
	// The monitor `CRITICAL` recovery threshold.
	CriticalRecovery NullableFloat64 `json:"critical_recovery,omitempty"`
	// The monitor `OK` threshold.
	Ok NullableFloat64 `json:"ok,omitempty"`
	// The monitor UNKNOWN threshold.
	Unknown NullableFloat64 `json:"unknown,omitempty"`
	// The monitor `WARNING` threshold.
	Warning NullableFloat64 `json:"warning,omitempty"`
	// The monitor `WARNING` recovery threshold.
	WarningRecovery NullableFloat64 `json:"warning_recovery,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorThresholds List of the different monitor threshold available.

func NewMonitorThresholds ¶

func NewMonitorThresholds() *MonitorThresholds

NewMonitorThresholds instantiates a new MonitorThresholds 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 NewMonitorThresholdsWithDefaults ¶

func NewMonitorThresholdsWithDefaults() *MonitorThresholds

NewMonitorThresholdsWithDefaults instantiates a new MonitorThresholds 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 (*MonitorThresholds) GetCritical ¶

func (o *MonitorThresholds) GetCritical() float64

GetCritical returns the Critical field value if set, zero value otherwise.

func (*MonitorThresholds) GetCriticalOk ¶

func (o *MonitorThresholds) GetCriticalOk() (*float64, bool)

GetCriticalOk returns a tuple with the Critical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorThresholds) GetCriticalRecovery ¶

func (o *MonitorThresholds) GetCriticalRecovery() float64

GetCriticalRecovery returns the CriticalRecovery field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorThresholds) GetCriticalRecoveryOk ¶

func (o *MonitorThresholds) GetCriticalRecoveryOk() (*float64, bool)

GetCriticalRecoveryOk returns a tuple with the CriticalRecovery field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorThresholds) GetOk ¶

func (o *MonitorThresholds) GetOk() float64

GetOk returns the Ok field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorThresholds) GetOkOk ¶

func (o *MonitorThresholds) GetOkOk() (*float64, bool)

GetOkOk returns a tuple with the Ok field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorThresholds) GetUnknown ¶

func (o *MonitorThresholds) GetUnknown() float64

GetUnknown returns the Unknown field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorThresholds) GetUnknownOk ¶

func (o *MonitorThresholds) GetUnknownOk() (*float64, bool)

GetUnknownOk returns a tuple with the Unknown field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorThresholds) GetWarning ¶

func (o *MonitorThresholds) GetWarning() float64

GetWarning returns the Warning field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorThresholds) GetWarningOk ¶

func (o *MonitorThresholds) GetWarningOk() (*float64, bool)

GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorThresholds) GetWarningRecovery ¶

func (o *MonitorThresholds) GetWarningRecovery() float64

GetWarningRecovery returns the WarningRecovery field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorThresholds) GetWarningRecoveryOk ¶

func (o *MonitorThresholds) GetWarningRecoveryOk() (*float64, bool)

GetWarningRecoveryOk returns a tuple with the WarningRecovery field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorThresholds) HasCritical ¶

func (o *MonitorThresholds) HasCritical() bool

HasCritical returns a boolean if a field has been set.

func (*MonitorThresholds) HasCriticalRecovery ¶

func (o *MonitorThresholds) HasCriticalRecovery() bool

HasCriticalRecovery returns a boolean if a field has been set.

func (*MonitorThresholds) HasOk ¶

func (o *MonitorThresholds) HasOk() bool

HasOk returns a boolean if a field has been set.

func (*MonitorThresholds) HasUnknown ¶

func (o *MonitorThresholds) HasUnknown() bool

HasUnknown returns a boolean if a field has been set.

func (*MonitorThresholds) HasWarning ¶

func (o *MonitorThresholds) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (*MonitorThresholds) HasWarningRecovery ¶

func (o *MonitorThresholds) HasWarningRecovery() bool

HasWarningRecovery returns a boolean if a field has been set.

func (MonitorThresholds) MarshalJSON ¶

func (o MonitorThresholds) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorThresholds) SetCritical ¶

func (o *MonitorThresholds) SetCritical(v float64)

SetCritical gets a reference to the given float64 and assigns it to the Critical field.

func (*MonitorThresholds) SetCriticalRecovery ¶

func (o *MonitorThresholds) SetCriticalRecovery(v float64)

SetCriticalRecovery gets a reference to the given NullableFloat64 and assigns it to the CriticalRecovery field.

func (*MonitorThresholds) SetCriticalRecoveryNil ¶

func (o *MonitorThresholds) SetCriticalRecoveryNil()

SetCriticalRecoveryNil sets the value for CriticalRecovery to be an explicit nil.

func (*MonitorThresholds) SetOk ¶

func (o *MonitorThresholds) SetOk(v float64)

SetOk gets a reference to the given NullableFloat64 and assigns it to the Ok field.

func (*MonitorThresholds) SetOkNil ¶

func (o *MonitorThresholds) SetOkNil()

SetOkNil sets the value for Ok to be an explicit nil.

func (*MonitorThresholds) SetUnknown ¶

func (o *MonitorThresholds) SetUnknown(v float64)

SetUnknown gets a reference to the given NullableFloat64 and assigns it to the Unknown field.

func (*MonitorThresholds) SetUnknownNil ¶

func (o *MonitorThresholds) SetUnknownNil()

SetUnknownNil sets the value for Unknown to be an explicit nil.

func (*MonitorThresholds) SetWarning ¶

func (o *MonitorThresholds) SetWarning(v float64)

SetWarning gets a reference to the given NullableFloat64 and assigns it to the Warning field.

func (*MonitorThresholds) SetWarningNil ¶

func (o *MonitorThresholds) SetWarningNil()

SetWarningNil sets the value for Warning to be an explicit nil.

func (*MonitorThresholds) SetWarningRecovery ¶

func (o *MonitorThresholds) SetWarningRecovery(v float64)

SetWarningRecovery gets a reference to the given NullableFloat64 and assigns it to the WarningRecovery field.

func (*MonitorThresholds) SetWarningRecoveryNil ¶

func (o *MonitorThresholds) SetWarningRecoveryNil()

SetWarningRecoveryNil sets the value for WarningRecovery to be an explicit nil.

func (*MonitorThresholds) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorThresholds) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MonitorThresholds) UnsetCriticalRecovery ¶

func (o *MonitorThresholds) UnsetCriticalRecovery()

UnsetCriticalRecovery ensures that no value is present for CriticalRecovery, not even an explicit nil.

func (*MonitorThresholds) UnsetOk ¶

func (o *MonitorThresholds) UnsetOk()

UnsetOk ensures that no value is present for Ok, not even an explicit nil.

func (*MonitorThresholds) UnsetUnknown ¶

func (o *MonitorThresholds) UnsetUnknown()

UnsetUnknown ensures that no value is present for Unknown, not even an explicit nil.

func (*MonitorThresholds) UnsetWarning ¶

func (o *MonitorThresholds) UnsetWarning()

UnsetWarning ensures that no value is present for Warning, not even an explicit nil.

func (*MonitorThresholds) UnsetWarningRecovery ¶

func (o *MonitorThresholds) UnsetWarningRecovery()

UnsetWarningRecovery ensures that no value is present for WarningRecovery, not even an explicit nil.

type MonitorType ¶

type MonitorType string

MonitorType The type of the monitor. For more information about `type`, see the [monitor options](https://docs.datadoghq.com/monitors/guide/monitor_api_options/) docs.

const (
	MONITORTYPE_COMPOSITE             MonitorType = "composite"
	MONITORTYPE_EVENT_ALERT           MonitorType = "event alert"
	MONITORTYPE_LOG_ALERT             MonitorType = "log alert"
	MONITORTYPE_METRIC_ALERT          MonitorType = "metric alert"
	MONITORTYPE_PROCESS_ALERT         MonitorType = "process alert"
	MONITORTYPE_QUERY_ALERT           MonitorType = "query alert"
	MONITORTYPE_RUM_ALERT             MonitorType = "rum alert"
	MONITORTYPE_SERVICE_CHECK         MonitorType = "service check"
	MONITORTYPE_SYNTHETICS_ALERT      MonitorType = "synthetics alert"
	MONITORTYPE_TRACE_ANALYTICS_ALERT MonitorType = "trace-analytics alert"
	MONITORTYPE_SLO_ALERT             MonitorType = "slo alert"
	MONITORTYPE_EVENT_V2_ALERT        MonitorType = "event-v2 alert"
	MONITORTYPE_AUDIT_ALERT           MonitorType = "audit alert"
	MONITORTYPE_CI_PIPELINES_ALERT    MonitorType = "ci-pipelines alert"
	MONITORTYPE_CI_TESTS_ALERT        MonitorType = "ci-tests alert"
	MONITORTYPE_ERROR_TRACKING_ALERT  MonitorType = "error-tracking alert"
)

List of MonitorType.

func NewMonitorTypeFromValue ¶

func NewMonitorTypeFromValue(v string) (*MonitorType, error)

NewMonitorTypeFromValue returns a pointer to a valid MonitorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonitorType) GetAllowedValues ¶ added in v1.1.0

func (v *MonitorType) GetAllowedValues() []MonitorType

GetAllowedValues reeturns the list of possible values.

func (MonitorType) IsValid ¶

func (v MonitorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (MonitorType) Ptr ¶

func (v MonitorType) Ptr() *MonitorType

Ptr returns reference to MonitorType value.

func (*MonitorType) UnmarshalJSON ¶

func (v *MonitorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonitorUpdateRequest ¶

type MonitorUpdateRequest struct {
	// Timestamp of the monitor creation.
	Created *time.Time `json:"created,omitempty"`
	// Object describing the creator of the shared element.
	Creator *Creator `json:"creator,omitempty"`
	// Whether or not the monitor is deleted. (Always `null`)
	Deleted NullableTime `json:"deleted,omitempty"`
	// ID of this monitor.
	Id *int64 `json:"id,omitempty"`
	// A message to include with notifications for this monitor.
	Message *string `json:"message,omitempty"`
	// Last timestamp when the monitor was edited.
	Modified *time.Time `json:"modified,omitempty"`
	// Whether or not the monitor is broken down on different groups.
	Multi *bool `json:"multi,omitempty"`
	// The monitor name.
	Name *string `json:"name,omitempty"`
	// List of options associated with your monitor.
	Options *MonitorOptions `json:"options,omitempty"`
	// The different states your monitor can be in.
	OverallState *MonitorOverallStates `json:"overall_state,omitempty"`
	// Integer from 1 (high) to 5 (low) indicating alert severity.
	Priority *int64 `json:"priority,omitempty"`
	// The monitor query.
	Query *string `json:"query,omitempty"`
	// A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the [Roles API](https://docs.datadoghq.com/api/latest/roles/#list-roles) and are located in the `data.id` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. `restricted_roles` is the successor of `locked`. For more information about `locked` and `restricted_roles`, see the [monitor options docs](https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options).
	RestrictedRoles []string `json:"restricted_roles,omitempty"`
	// Wrapper object with the different monitor states.
	State *MonitorState `json:"state,omitempty"`
	// Tags associated to your monitor.
	Tags []string `json:"tags,omitempty"`
	// The type of the monitor. For more information about `type`, see the [monitor options](https://docs.datadoghq.com/monitors/guide/monitor_api_options/) docs.
	Type *MonitorType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonitorUpdateRequest Object describing a monitor update request.

func NewMonitorUpdateRequest ¶

func NewMonitorUpdateRequest() *MonitorUpdateRequest

NewMonitorUpdateRequest instantiates a new MonitorUpdateRequest 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 NewMonitorUpdateRequestWithDefaults ¶

func NewMonitorUpdateRequestWithDefaults() *MonitorUpdateRequest

NewMonitorUpdateRequestWithDefaults instantiates a new MonitorUpdateRequest 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 (*MonitorUpdateRequest) GetCreated ¶

func (o *MonitorUpdateRequest) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetCreatedOk ¶

func (o *MonitorUpdateRequest) GetCreatedOk() (*time.Time, 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 (*MonitorUpdateRequest) GetCreator ¶

func (o *MonitorUpdateRequest) GetCreator() Creator

GetCreator returns the Creator field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetCreatorOk ¶

func (o *MonitorUpdateRequest) GetCreatorOk() (*Creator, 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 (*MonitorUpdateRequest) GetDeleted ¶

func (o *MonitorUpdateRequest) GetDeleted() time.Time

GetDeleted returns the Deleted field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonitorUpdateRequest) GetDeletedOk ¶

func (o *MonitorUpdateRequest) GetDeletedOk() (*time.Time, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonitorUpdateRequest) GetId ¶

func (o *MonitorUpdateRequest) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetIdOk ¶

func (o *MonitorUpdateRequest) GetIdOk() (*int64, 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 (*MonitorUpdateRequest) GetMessage ¶

func (o *MonitorUpdateRequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetMessageOk ¶

func (o *MonitorUpdateRequest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetModified ¶

func (o *MonitorUpdateRequest) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetModifiedOk ¶

func (o *MonitorUpdateRequest) GetModifiedOk() (*time.Time, bool)

GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetMulti ¶

func (o *MonitorUpdateRequest) GetMulti() bool

GetMulti returns the Multi field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetMultiOk ¶

func (o *MonitorUpdateRequest) GetMultiOk() (*bool, bool)

GetMultiOk returns a tuple with the Multi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetName ¶

func (o *MonitorUpdateRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetNameOk ¶

func (o *MonitorUpdateRequest) 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 (*MonitorUpdateRequest) GetOptions ¶

func (o *MonitorUpdateRequest) GetOptions() MonitorOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetOptionsOk ¶

func (o *MonitorUpdateRequest) GetOptionsOk() (*MonitorOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetOverallState ¶

func (o *MonitorUpdateRequest) GetOverallState() MonitorOverallStates

GetOverallState returns the OverallState field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetOverallStateOk ¶

func (o *MonitorUpdateRequest) GetOverallStateOk() (*MonitorOverallStates, bool)

GetOverallStateOk returns a tuple with the OverallState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetPriority ¶

func (o *MonitorUpdateRequest) GetPriority() int64

GetPriority returns the Priority field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetPriorityOk ¶

func (o *MonitorUpdateRequest) GetPriorityOk() (*int64, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetQuery ¶

func (o *MonitorUpdateRequest) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetQueryOk ¶

func (o *MonitorUpdateRequest) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetRestrictedRoles ¶

func (o *MonitorUpdateRequest) GetRestrictedRoles() []string

GetRestrictedRoles returns the RestrictedRoles field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetRestrictedRolesOk ¶

func (o *MonitorUpdateRequest) GetRestrictedRolesOk() (*[]string, bool)

GetRestrictedRolesOk returns a tuple with the RestrictedRoles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetState ¶

func (o *MonitorUpdateRequest) GetState() MonitorState

GetState returns the State field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetStateOk ¶

func (o *MonitorUpdateRequest) GetStateOk() (*MonitorState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetTags ¶

func (o *MonitorUpdateRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetTagsOk ¶

func (o *MonitorUpdateRequest) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) GetType ¶

func (o *MonitorUpdateRequest) GetType() MonitorType

GetType returns the Type field value if set, zero value otherwise.

func (*MonitorUpdateRequest) GetTypeOk ¶

func (o *MonitorUpdateRequest) GetTypeOk() (*MonitorType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonitorUpdateRequest) HasCreated ¶

func (o *MonitorUpdateRequest) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasCreator ¶

func (o *MonitorUpdateRequest) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasDeleted ¶

func (o *MonitorUpdateRequest) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasId ¶

func (o *MonitorUpdateRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasMessage ¶

func (o *MonitorUpdateRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasModified ¶

func (o *MonitorUpdateRequest) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasMulti ¶

func (o *MonitorUpdateRequest) HasMulti() bool

HasMulti returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasName ¶

func (o *MonitorUpdateRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasOptions ¶

func (o *MonitorUpdateRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasOverallState ¶

func (o *MonitorUpdateRequest) HasOverallState() bool

HasOverallState returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasPriority ¶

func (o *MonitorUpdateRequest) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasQuery ¶

func (o *MonitorUpdateRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasRestrictedRoles ¶

func (o *MonitorUpdateRequest) HasRestrictedRoles() bool

HasRestrictedRoles returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasState ¶

func (o *MonitorUpdateRequest) HasState() bool

HasState returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasTags ¶

func (o *MonitorUpdateRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*MonitorUpdateRequest) HasType ¶

func (o *MonitorUpdateRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (MonitorUpdateRequest) MarshalJSON ¶

func (o MonitorUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonitorUpdateRequest) SetCreated ¶

func (o *MonitorUpdateRequest) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*MonitorUpdateRequest) SetCreator ¶

func (o *MonitorUpdateRequest) SetCreator(v Creator)

SetCreator gets a reference to the given Creator and assigns it to the Creator field.

func (*MonitorUpdateRequest) SetDeleted ¶

func (o *MonitorUpdateRequest) SetDeleted(v time.Time)

SetDeleted gets a reference to the given NullableTime and assigns it to the Deleted field.

func (*MonitorUpdateRequest) SetDeletedNil ¶

func (o *MonitorUpdateRequest) SetDeletedNil()

SetDeletedNil sets the value for Deleted to be an explicit nil.

func (*MonitorUpdateRequest) SetId ¶

func (o *MonitorUpdateRequest) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*MonitorUpdateRequest) SetMessage ¶

func (o *MonitorUpdateRequest) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*MonitorUpdateRequest) SetModified ¶

func (o *MonitorUpdateRequest) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*MonitorUpdateRequest) SetMulti ¶

func (o *MonitorUpdateRequest) SetMulti(v bool)

SetMulti gets a reference to the given bool and assigns it to the Multi field.

func (*MonitorUpdateRequest) SetName ¶

func (o *MonitorUpdateRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*MonitorUpdateRequest) SetOptions ¶

func (o *MonitorUpdateRequest) SetOptions(v MonitorOptions)

SetOptions gets a reference to the given MonitorOptions and assigns it to the Options field.

func (*MonitorUpdateRequest) SetOverallState ¶

func (o *MonitorUpdateRequest) SetOverallState(v MonitorOverallStates)

SetOverallState gets a reference to the given MonitorOverallStates and assigns it to the OverallState field.

func (*MonitorUpdateRequest) SetPriority ¶

func (o *MonitorUpdateRequest) SetPriority(v int64)

SetPriority gets a reference to the given int64 and assigns it to the Priority field.

func (*MonitorUpdateRequest) SetQuery ¶

func (o *MonitorUpdateRequest) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*MonitorUpdateRequest) SetRestrictedRoles ¶

func (o *MonitorUpdateRequest) SetRestrictedRoles(v []string)

SetRestrictedRoles gets a reference to the given []string and assigns it to the RestrictedRoles field.

func (*MonitorUpdateRequest) SetState ¶

func (o *MonitorUpdateRequest) SetState(v MonitorState)

SetState gets a reference to the given MonitorState and assigns it to the State field.

func (*MonitorUpdateRequest) SetTags ¶

func (o *MonitorUpdateRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MonitorUpdateRequest) SetType ¶

func (o *MonitorUpdateRequest) SetType(v MonitorType)

SetType gets a reference to the given MonitorType and assigns it to the Type field.

func (*MonitorUpdateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *MonitorUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MonitorUpdateRequest) UnsetDeleted ¶

func (o *MonitorUpdateRequest) UnsetDeleted()

UnsetDeleted ensures that no value is present for Deleted, not even an explicit nil.

type MonitorsApiService ¶

type MonitorsApiService service

MonitorsApiService MonitorsApi service.

func (*MonitorsApiService) CheckCanDeleteMonitor ¶

func (a *MonitorsApiService) CheckCanDeleteMonitor(ctx _context.Context, monitorIds []int64) (CheckCanDeleteMonitorResponse, *_nethttp.Response, error)

CheckCanDeleteMonitor Check if a monitor can be deleted. Check if the given monitors can be deleted.

func (*MonitorsApiService) CreateMonitor ¶

func (a *MonitorsApiService) CreateMonitor(ctx _context.Context, body Monitor) (Monitor, *_nethttp.Response, error)

CreateMonitor Create a monitor. Create a monitor using the specified options.

#### Monitor Types

The type of monitor chosen from:

- anomaly: `query alert` - APM: `query alert` or `trace-analytics alert` - composite: `composite` - custom: `service check` - event: `event alert` - forecast: `query alert` - host: `service check` - integration: `query alert` or `service check` - live process: `process alert` - logs: `log alert` - metric: `query alert` - network: `service check` - outlier: `query alert` - process: `service check` - rum: `rum alert` - SLO: `slo alert` - watchdog: `event alert` - event-v2: `event-v2 alert` - audit: `audit alert` - error-tracking: `error-tracking alert`

#### Query Types

**Metric Alert Query**

Example: `time_aggr(time_window):space_aggr:metric{tags} [by {key}] operator #`

- `time_aggr`: avg, sum, max, min, change, or pct_change - `time_window`: `last_#m` (with `#` between 1 and 10080 depending on the monitor type) or `last_#h`(with `#` between 1 and 168 depending on the monitor type) or `last_1d`, or `last_1w` - `space_aggr`: avg, sum, min, or max - `tags`: one or more tags (comma-separated), or * - `key`: a 'key' in key:value tag syntax; defines a separate alert for each tag in the group (multi-alert) - `operator`: <, <=, >, >=, ==, or != - `#`: an integer or decimal number used to set the threshold

If you are using the `_change_` or `_pct_change_` time aggregator, instead use `change_aggr(time_aggr(time_window), timeshift):space_aggr:metric{tags} [by {key}] operator #` with:

- `change_aggr` change, pct_change - `time_aggr` avg, sum, max, min [Learn more](https://docs.datadoghq.com/monitors/create/types/#define-the-conditions) - `time_window` last\_#m (between 1 and 2880 depending on the monitor type), last\_#h (between 1 and 48 depending on the monitor type), or last_#d (1 or 2) - `timeshift` #m_ago (5, 10, 15, or 30), #h_ago (1, 2, or 4), or 1d_ago

Use this to create an outlier monitor using the following query: `avg(last_30m):outliers(avg:system.cpu.user{role:es-events-data} by {host}, 'dbscan', 7) > 0`

**Service Check Query**

Example: `"check".over(tags).last(count).by(group).count_by_status()`

- `check` name of the check, for example `datadog.agent.up` - `tags` one or more quoted tags (comma-separated), or "*". for example: `.over("env:prod", "role:db")`; `over` cannot be blank. - `count` must be at greater than or equal to your max threshold (defined in the `options`). It is limited to 100. For example, if you've specified to notify on 1 critical, 3 ok, and 2 warn statuses, `count` should be at least 3. - `group` must be specified for check monitors. Per-check grouping is already explicitly known for some service checks. For example, Postgres integration monitors are tagged by `db`, `host`, and `port`, and Network monitors by `host`, `instance`, and `url`. See [Service Checks](https://docs.datadoghq.com/api/latest/service-checks/) documentation for more information.

**Event Alert Query**

Example: `events('sources:nagios status:error,warning priority:normal tags: "string query"').rollup("count").last("1h")"`

- `event`, the event query string: - `string_query` free text query to match against event title and text. - `sources` event sources (comma-separated). - `status` event statuses (comma-separated). Valid options: error, warn, and info. - `priority` event priorities (comma-separated). Valid options: low, normal, all. - `host` event reporting host (comma-separated). - `tags` event tags (comma-separated). - `excluded_tags` excluded event tags (comma-separated). - `rollup` the stats roll-up method. `count` is the only supported method now. - `last` the timeframe to roll up the counts. Examples: 45m, 4h. Supported timeframes: m, h and d. This value should not exceed 48 hours.

**NOTE** The Event Alert Query is being deprecated and replaced by the Event V2 Alert Query. For more information, see the [Event Migration guide](https://docs.datadoghq.com/events/guides/migrating_to_new_events_features/).

**Event V2 Alert Query**

Example: `events(query).rollup(rollup_method[, measure]).last(time_window) operator #`

- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - `rollup_method` The stats roll-up method - supports `count`, `avg` and `cardinality`. - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - `time_window` #m (between 1 and 2880), #h (between 1 and 48). - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - `#` an integer or decimal number used to set the threshold.

**Process Alert Query**

Example: `processes(search).over(tags).rollup('count').last(timeframe) operator #`

- `search` free text search string for querying processes. Matching processes match results on the [Live Processes](https://docs.datadoghq.com/infrastructure/process/?tab=linuxwindows) page. - `tags` one or more tags (comma-separated) - `timeframe` the timeframe to roll up the counts. Examples: 10m, 4h. Supported timeframes: s, m, h and d - `operator` <, <=, >, >=, ==, or != - `#` an integer or decimal number used to set the threshold

**Logs Alert Query**

Example: `logs(query).index(index_name).rollup(rollup_method[, measure]).last(time_window) operator #`

- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - `index_name` For multi-index organizations, the log index in which the request is performed. - `rollup_method` The stats roll-up method - supports `count`, `avg` and `cardinality`. - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - `time_window` #m (between 1 and 2880), #h (between 1 and 48). - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - `#` an integer or decimal number used to set the threshold.

**Composite Query**

Example: `12345 && 67890`, where `12345` and `67890` are the IDs of non-composite monitors

* `name` [*required*, *default* = **dynamic, based on query**]: The name of the alert. * `message` [*required*, *default* = **dynamic, based on query**]: A message to include with notifications for this monitor. Email notifications can be sent to specific users by using the same '@username' notation as events. * `tags` [*optional*, *default* = **empty list**]: A list of tags to associate with your monitor. When getting all monitor details via the API, use the `monitor_tags` argument to filter results by these tags. It is only available via the API and isn't visible or editable in the Datadog UI.

**SLO Alert Query**

Example: `error_budget("slo_id").over("time_window") operator #`

- `slo_id`: The alphanumeric SLO ID of the SLO you are configuring the alert for. - `time_window`: The time window of the SLO target you wish to alert on. Valid options: `7d`, `30d`, `90d`. - `operator`: `>=` or `>`

**Audit Alert Query**

Example: `audits(query).rollup(rollup_method[, measure]).last(time_window) operator #`

- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - `rollup_method` The stats roll-up method - supports `count`, `avg` and `cardinality`. - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - `time_window` #m (between 1 and 2880), #h (between 1 and 48). - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - `#` an integer or decimal number used to set the threshold.

**NOTE** Only available on US1-FED and in closed beta on US1, EU, US3, and US5.

**CI Pipelines Alert Query**

Example: `ci-pipelines(query).rollup(rollup_method[, measure]).last(time_window) operator #`

- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - `rollup_method` The stats roll-up method - supports `count`, `avg`, and `cardinality`. - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - `time_window` #m (between 1 and 2880), #h (between 1 and 48). - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - `#` an integer or decimal number used to set the threshold.

**NOTE** CI Pipeline monitors are in alpha on US1, EU, US3 and US5.

**CI Tests Alert Query**

Example: `ci-tests(query).rollup(rollup_method[, measure]).last(time_window) operator #`

- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - `rollup_method` The stats roll-up method - supports `count`, `avg`, and `cardinality`. - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - `time_window` #m (between 1 and 2880), #h (between 1 and 48). - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - `#` an integer or decimal number used to set the threshold.

**NOTE** CI Test monitors are available only in closed beta on US1, EU, US3 and US5.

**Error Tracking Alert Query**

Example(RUM): `error-tracking-rum(query).rollup(rollup_method[, measure]).last(time_window) operator #` Example(APM Traces): `error-tracking-traces(query).rollup(rollup_method[, measure]).last(time_window) operator #`

- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - `rollup_method` The stats roll-up method - supports `count`, `avg`, and `cardinality`. - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - `time_window` #m (between 1 and 2880), #h (between 1 and 48). - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - `#` an integer or decimal number used to set the threshold.

func (*MonitorsApiService) DeleteMonitor ¶

DeleteMonitor Delete a monitor. Delete the specified monitor

func (*MonitorsApiService) GetMonitor ¶

GetMonitor Get a monitor's details. Get details about the specified monitor from your organization.

func (*MonitorsApiService) ListMonitors ¶

ListMonitors Get all monitor details. Get details about the specified monitor from your organization.

func (*MonitorsApiService) SearchMonitorGroups ¶

SearchMonitorGroups Monitors group search. Search and filter your monitor groups details.

func (*MonitorsApiService) SearchMonitors ¶

SearchMonitors Monitors search. Search and filter your monitors details.

func (*MonitorsApiService) UpdateMonitor ¶

func (a *MonitorsApiService) UpdateMonitor(ctx _context.Context, monitorId int64, body MonitorUpdateRequest) (Monitor, *_nethttp.Response, error)

UpdateMonitor Edit a monitor. Edit the specified monitor.

func (*MonitorsApiService) ValidateExistingMonitor ¶ added in v1.12.0

func (a *MonitorsApiService) ValidateExistingMonitor(ctx _context.Context, monitorId int64, body Monitor) (interface{}, *_nethttp.Response, error)

ValidateExistingMonitor Validate an existing monitor. Validate the monitor provided in the request.

func (*MonitorsApiService) ValidateMonitor ¶

func (a *MonitorsApiService) ValidateMonitor(ctx _context.Context, body Monitor) (interface{}, *_nethttp.Response, error)

ValidateMonitor Validate a monitor. Validate the monitor provided in the request.

type MonthlyUsageAttributionBody ¶ added in v1.8.0

type MonthlyUsageAttributionBody struct {
	// Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].
	Month *time.Time `json:"month,omitempty"`
	// The name of the organization.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The source of the usage attribution tag configuration and the selected tags in the format `<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
	TagConfigSource *string `json:"tag_config_source,omitempty"`
	// Tag keys and values.
	//
	// A `null` value here means that the requested tag breakdown cannot be applied because it does not match the [tags
	// configured for usage attribution](https://docs.datadoghq.com/account_management/billing/usage_attribution/#getting-started).
	// In this scenario the API returns the total usage, not broken down by tags.
	Tags map[string][]string `json:"tags,omitempty"`
	// Datetime of the most recent update to the usage values.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Fields in Usage Summary by tag(s).
	Values *MonthlyUsageAttributionValues `json:"values,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonthlyUsageAttributionBody Usage Summary by tag for a given organization.

func NewMonthlyUsageAttributionBody ¶ added in v1.8.0

func NewMonthlyUsageAttributionBody() *MonthlyUsageAttributionBody

NewMonthlyUsageAttributionBody instantiates a new MonthlyUsageAttributionBody 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 NewMonthlyUsageAttributionBodyWithDefaults ¶ added in v1.8.0

func NewMonthlyUsageAttributionBodyWithDefaults() *MonthlyUsageAttributionBody

NewMonthlyUsageAttributionBodyWithDefaults instantiates a new MonthlyUsageAttributionBody 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 (*MonthlyUsageAttributionBody) GetMonth ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetMonth() time.Time

GetMonth returns the Month field value if set, zero value otherwise.

func (*MonthlyUsageAttributionBody) GetMonthOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetMonthOk() (*time.Time, bool)

GetMonthOk returns a tuple with the Month field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionBody) GetOrgName ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*MonthlyUsageAttributionBody) GetOrgNameOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionBody) GetPublicId ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*MonthlyUsageAttributionBody) GetPublicIdOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionBody) GetTagConfigSource ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetTagConfigSource() string

GetTagConfigSource returns the TagConfigSource field value if set, zero value otherwise.

func (*MonthlyUsageAttributionBody) GetTagConfigSourceOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetTagConfigSourceOk() (*string, bool)

GetTagConfigSourceOk returns a tuple with the TagConfigSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionBody) GetTags ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetTags() map[string][]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*MonthlyUsageAttributionBody) GetTagsOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetTagsOk() (*map[string][]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionBody) GetUpdatedAt ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*MonthlyUsageAttributionBody) GetUpdatedAtOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionBody) GetValues ¶ added in v1.8.0

GetValues returns the Values field value if set, zero value otherwise.

func (*MonthlyUsageAttributionBody) GetValuesOk ¶ added in v1.8.0

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionBody) HasMonth ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) HasMonth() bool

HasMonth returns a boolean if a field has been set.

func (*MonthlyUsageAttributionBody) HasOrgName ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*MonthlyUsageAttributionBody) HasPublicId ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*MonthlyUsageAttributionBody) HasTagConfigSource ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) HasTagConfigSource() bool

HasTagConfigSource returns a boolean if a field has been set.

func (*MonthlyUsageAttributionBody) HasTags ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*MonthlyUsageAttributionBody) HasUpdatedAt ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*MonthlyUsageAttributionBody) HasValues ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) HasValues() bool

HasValues returns a boolean if a field has been set.

func (MonthlyUsageAttributionBody) MarshalJSON ¶ added in v1.8.0

func (o MonthlyUsageAttributionBody) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonthlyUsageAttributionBody) SetMonth ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) SetMonth(v time.Time)

SetMonth gets a reference to the given time.Time and assigns it to the Month field.

func (*MonthlyUsageAttributionBody) SetOrgName ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*MonthlyUsageAttributionBody) SetPublicId ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*MonthlyUsageAttributionBody) SetTagConfigSource ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) SetTagConfigSource(v string)

SetTagConfigSource gets a reference to the given string and assigns it to the TagConfigSource field.

func (*MonthlyUsageAttributionBody) SetTags ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) SetTags(v map[string][]string)

SetTags gets a reference to the given map[string][]string and assigns it to the Tags field.

func (*MonthlyUsageAttributionBody) SetUpdatedAt ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*MonthlyUsageAttributionBody) SetValues ¶ added in v1.8.0

SetValues gets a reference to the given MonthlyUsageAttributionValues and assigns it to the Values field.

func (*MonthlyUsageAttributionBody) UnmarshalJSON ¶ added in v1.8.0

func (o *MonthlyUsageAttributionBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonthlyUsageAttributionMetadata ¶ added in v1.8.0

type MonthlyUsageAttributionMetadata struct {
	// An array of available aggregates.
	Aggregates []UsageAttributionAggregatesBody `json:"aggregates,omitempty"`
	// The metadata for the current pagination.
	Pagination *MonthlyUsageAttributionPagination `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonthlyUsageAttributionMetadata The object containing document metadata.

func NewMonthlyUsageAttributionMetadata ¶ added in v1.8.0

func NewMonthlyUsageAttributionMetadata() *MonthlyUsageAttributionMetadata

NewMonthlyUsageAttributionMetadata instantiates a new MonthlyUsageAttributionMetadata 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 NewMonthlyUsageAttributionMetadataWithDefaults ¶ added in v1.8.0

func NewMonthlyUsageAttributionMetadataWithDefaults() *MonthlyUsageAttributionMetadata

NewMonthlyUsageAttributionMetadataWithDefaults instantiates a new MonthlyUsageAttributionMetadata 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 (*MonthlyUsageAttributionMetadata) GetAggregates ¶ added in v1.8.0

GetAggregates returns the Aggregates field value if set, zero value otherwise.

func (*MonthlyUsageAttributionMetadata) GetAggregatesOk ¶ added in v1.8.0

GetAggregatesOk returns a tuple with the Aggregates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionMetadata) GetPagination ¶ added in v1.8.0

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*MonthlyUsageAttributionMetadata) GetPaginationOk ¶ added in v1.8.0

GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionMetadata) HasAggregates ¶ added in v1.8.0

func (o *MonthlyUsageAttributionMetadata) HasAggregates() bool

HasAggregates returns a boolean if a field has been set.

func (*MonthlyUsageAttributionMetadata) HasPagination ¶ added in v1.8.0

func (o *MonthlyUsageAttributionMetadata) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (MonthlyUsageAttributionMetadata) MarshalJSON ¶ added in v1.8.0

func (o MonthlyUsageAttributionMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonthlyUsageAttributionMetadata) SetAggregates ¶ added in v1.8.0

SetAggregates gets a reference to the given []UsageAttributionAggregatesBody and assigns it to the Aggregates field.

func (*MonthlyUsageAttributionMetadata) SetPagination ¶ added in v1.8.0

SetPagination gets a reference to the given MonthlyUsageAttributionPagination and assigns it to the Pagination field.

func (*MonthlyUsageAttributionMetadata) UnmarshalJSON ¶ added in v1.8.0

func (o *MonthlyUsageAttributionMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonthlyUsageAttributionPagination ¶ added in v1.8.0

type MonthlyUsageAttributionPagination struct {
	// The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of the `next_record_id`.
	NextRecordId NullableString `json:"next_record_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonthlyUsageAttributionPagination The metadata for the current pagination.

func NewMonthlyUsageAttributionPagination ¶ added in v1.8.0

func NewMonthlyUsageAttributionPagination() *MonthlyUsageAttributionPagination

NewMonthlyUsageAttributionPagination instantiates a new MonthlyUsageAttributionPagination 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 NewMonthlyUsageAttributionPaginationWithDefaults ¶ added in v1.8.0

func NewMonthlyUsageAttributionPaginationWithDefaults() *MonthlyUsageAttributionPagination

NewMonthlyUsageAttributionPaginationWithDefaults instantiates a new MonthlyUsageAttributionPagination 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 (*MonthlyUsageAttributionPagination) GetNextRecordId ¶ added in v1.8.0

func (o *MonthlyUsageAttributionPagination) GetNextRecordId() string

GetNextRecordId returns the NextRecordId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MonthlyUsageAttributionPagination) GetNextRecordIdOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionPagination) GetNextRecordIdOk() (*string, bool)

GetNextRecordIdOk returns a tuple with the NextRecordId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*MonthlyUsageAttributionPagination) HasNextRecordId ¶ added in v1.8.0

func (o *MonthlyUsageAttributionPagination) HasNextRecordId() bool

HasNextRecordId returns a boolean if a field has been set.

func (MonthlyUsageAttributionPagination) MarshalJSON ¶ added in v1.8.0

func (o MonthlyUsageAttributionPagination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonthlyUsageAttributionPagination) SetNextRecordId ¶ added in v1.8.0

func (o *MonthlyUsageAttributionPagination) SetNextRecordId(v string)

SetNextRecordId gets a reference to the given NullableString and assigns it to the NextRecordId field.

func (*MonthlyUsageAttributionPagination) SetNextRecordIdNil ¶ added in v1.12.0

func (o *MonthlyUsageAttributionPagination) SetNextRecordIdNil()

SetNextRecordIdNil sets the value for NextRecordId to be an explicit nil.

func (*MonthlyUsageAttributionPagination) UnmarshalJSON ¶ added in v1.8.0

func (o *MonthlyUsageAttributionPagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*MonthlyUsageAttributionPagination) UnsetNextRecordId ¶ added in v1.12.0

func (o *MonthlyUsageAttributionPagination) UnsetNextRecordId()

UnsetNextRecordId ensures that no value is present for NextRecordId, not even an explicit nil.

type MonthlyUsageAttributionResponse ¶ added in v1.8.0

type MonthlyUsageAttributionResponse struct {
	// The object containing document metadata.
	Metadata *MonthlyUsageAttributionMetadata `json:"metadata,omitempty"`
	// Get usage summary by tag(s).
	Usage []MonthlyUsageAttributionBody `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonthlyUsageAttributionResponse Response containing the monthly Usage Summary by tag(s).

func NewMonthlyUsageAttributionResponse ¶ added in v1.8.0

func NewMonthlyUsageAttributionResponse() *MonthlyUsageAttributionResponse

NewMonthlyUsageAttributionResponse instantiates a new MonthlyUsageAttributionResponse 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 NewMonthlyUsageAttributionResponseWithDefaults ¶ added in v1.8.0

func NewMonthlyUsageAttributionResponseWithDefaults() *MonthlyUsageAttributionResponse

NewMonthlyUsageAttributionResponseWithDefaults instantiates a new MonthlyUsageAttributionResponse 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 (*MonthlyUsageAttributionResponse) GetMetadata ¶ added in v1.8.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*MonthlyUsageAttributionResponse) GetMetadataOk ¶ added in v1.8.0

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionResponse) GetUsage ¶ added in v1.8.0

GetUsage returns the Usage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionResponse) GetUsageOk ¶ added in v1.8.0

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionResponse) HasMetadata ¶ added in v1.8.0

func (o *MonthlyUsageAttributionResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*MonthlyUsageAttributionResponse) HasUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (MonthlyUsageAttributionResponse) MarshalJSON ¶ added in v1.8.0

func (o MonthlyUsageAttributionResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonthlyUsageAttributionResponse) SetMetadata ¶ added in v1.8.0

SetMetadata gets a reference to the given MonthlyUsageAttributionMetadata and assigns it to the Metadata field.

func (*MonthlyUsageAttributionResponse) SetUsage ¶ added in v1.8.0

SetUsage gets a reference to the given []MonthlyUsageAttributionBody and assigns it to the Usage field.

func (*MonthlyUsageAttributionResponse) UnmarshalJSON ¶ added in v1.8.0

func (o *MonthlyUsageAttributionResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type MonthlyUsageAttributionSupportedMetrics ¶ added in v1.8.0

type MonthlyUsageAttributionSupportedMetrics string

MonthlyUsageAttributionSupportedMetrics Supported metrics for monthly usage attribution requests.

const (
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_USAGE                           MonthlyUsageAttributionSupportedMetrics = "api_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE                      MonthlyUsageAttributionSupportedMetrics = "api_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE                      MonthlyUsageAttributionSupportedMetrics = "apm_host_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE                 MonthlyUsageAttributionSupportedMetrics = "apm_host_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_USAGE                        MonthlyUsageAttributionSupportedMetrics = "appsec_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_PERCENTAGE                   MonthlyUsageAttributionSupportedMetrics = "appsec_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_USAGE                       MonthlyUsageAttributionSupportedMetrics = "browser_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE                  MonthlyUsageAttributionSupportedMetrics = "browser_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE                     MonthlyUsageAttributionSupportedMetrics = "container_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_PERCENTAGE                MonthlyUsageAttributionSupportedMetrics = "container_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_CONTAINERS_PERCENTAGE          MonthlyUsageAttributionSupportedMetrics = "cspm_containers_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_CONTAINERS_USAGE               MonthlyUsageAttributionSupportedMetrics = "cspm_containers_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_HOSTS_PERCENTAGE               MonthlyUsageAttributionSupportedMetrics = "cspm_hosts_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_HOSTS_USAGE                    MonthlyUsageAttributionSupportedMetrics = "cspm_hosts_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_USAGE             MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_PERCENTAGE        MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_PERCENTAGE           MonthlyUsageAttributionSupportedMetrics = "cws_containers_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_USAGE                MonthlyUsageAttributionSupportedMetrics = "cws_containers_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_PERCENTAGE                MonthlyUsageAttributionSupportedMetrics = "cws_hosts_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE                     MonthlyUsageAttributionSupportedMetrics = "cws_hosts_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE                MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE                     MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE              MonthlyUsageAttributionSupportedMetrics = "dbm_queries_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_USAGE                   MonthlyUsageAttributionSupportedMetrics = "dbm_queries_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_USAGE        MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_PERCENTAGE   MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_USAGE       MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_spans_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_PERCENTAGE  MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_spans_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_USAGE      MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_spans_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_spans_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE                       MonthlyUsageAttributionSupportedMetrics = "fargate_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE                  MonthlyUsageAttributionSupportedMetrics = "fargate_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE                     MonthlyUsageAttributionSupportedMetrics = "functions_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_PERCENTAGE                MonthlyUsageAttributionSupportedMetrics = "functions_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_USAGE                  MonthlyUsageAttributionSupportedMetrics = "indexed_logs_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_PERCENTAGE             MonthlyUsageAttributionSupportedMetrics = "indexed_logs_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE                    MonthlyUsageAttributionSupportedMetrics = "infra_host_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE               MonthlyUsageAttributionSupportedMetrics = "infra_host_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_USAGE                   MonthlyUsageAttributionSupportedMetrics = "invocations_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_PERCENTAGE              MonthlyUsageAttributionSupportedMetrics = "invocations_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_USAGE                      MonthlyUsageAttributionSupportedMetrics = "npm_host_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_PERCENTAGE                 MonthlyUsageAttributionSupportedMetrics = "npm_host_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_USAGE            MonthlyUsageAttributionSupportedMetrics = "profiled_container_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_PERCENTAGE       MonthlyUsageAttributionSupportedMetrics = "profiled_container_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_USAGE                 MonthlyUsageAttributionSupportedMetrics = "profiled_host_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_PERCENTAGE            MonthlyUsageAttributionSupportedMetrics = "profiled_host_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_USAGE                          MonthlyUsageAttributionSupportedMetrics = "snmp_usage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_PERCENTAGE                     MonthlyUsageAttributionSupportedMetrics = "snmp_percentage"
	MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ALL                                 MonthlyUsageAttributionSupportedMetrics = "*"
)

List of MonthlyUsageAttributionSupportedMetrics.

func NewMonthlyUsageAttributionSupportedMetricsFromValue ¶ added in v1.8.0

func NewMonthlyUsageAttributionSupportedMetricsFromValue(v string) (*MonthlyUsageAttributionSupportedMetrics, error)

NewMonthlyUsageAttributionSupportedMetricsFromValue returns a pointer to a valid MonthlyUsageAttributionSupportedMetrics for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*MonthlyUsageAttributionSupportedMetrics) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (MonthlyUsageAttributionSupportedMetrics) IsValid ¶ added in v1.8.0

IsValid return true if the value is valid for the enum, false otherwise.

func (MonthlyUsageAttributionSupportedMetrics) Ptr ¶ added in v1.8.0

Ptr returns reference to MonthlyUsageAttributionSupportedMetrics value.

func (*MonthlyUsageAttributionSupportedMetrics) UnmarshalJSON ¶ added in v1.8.0

func (v *MonthlyUsageAttributionSupportedMetrics) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type MonthlyUsageAttributionValues ¶ added in v1.8.0

type MonthlyUsageAttributionValues struct {
	// The percentage of synthetic API test usage by tag(s).
	ApiPercentage *float64 `json:"api_percentage,omitempty"`
	// The synthetic API test usage by tag(s).
	ApiUsage *float64 `json:"api_usage,omitempty"`
	// The percentage of APM host usage by tag(s).
	ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"`
	// The APM host usage by tag(s).
	ApmHostUsage *float64 `json:"apm_host_usage,omitempty"`
	// The percentage of Application Security Monitoring host usage by tag(s).
	AppsecPercentage *float64 `json:"appsec_percentage,omitempty"`
	// The Application Security Monitoring host usage by tag(s).
	AppsecUsage *float64 `json:"appsec_usage,omitempty"`
	// The percentage of synthetic browser test usage by tag(s).
	BrowserPercentage *float64 `json:"browser_percentage,omitempty"`
	// The synthetic browser test usage by tag(s).
	BrowserUsage *float64 `json:"browser_usage,omitempty"`
	// The percentage of container usage by tag(s).
	ContainerPercentage *float64 `json:"container_percentage,omitempty"`
	// The container usage by tag(s).
	ContainerUsage *float64 `json:"container_usage,omitempty"`
	// The percentage of custom metrics usage by tag(s).
	CustomTimeseriesPercentage *float64 `json:"custom_timeseries_percentage,omitempty"`
	// The custom metrics usage by tag(s).
	CustomTimeseriesUsage *float64 `json:"custom_timeseries_usage,omitempty"`
	// The percentage of estimated live indexed logs usage by tag(s). This field is in private beta.
	EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"`
	// The estimated live indexed logs usage by tag(s). This field is in private beta.
	EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"`
	// The percentage of estimated indexed spans usage by tag(s). This field is in private beta.
	EstimatedIndexedSpansPercentage *float64 `json:"estimated_indexed_spans_percentage,omitempty"`
	// The estimated indexed spans usage by tag(s). This field is in private beta.
	EstimatedIndexedSpansUsage *float64 `json:"estimated_indexed_spans_usage,omitempty"`
	// The percentage of estimated ingested spans usage by tag(s). This field is in private beta.
	EstimatedIngestedSpansPercentage *float64 `json:"estimated_ingested_spans_percentage,omitempty"`
	// The estimated ingested spans usage by tag(s). This field is in private beta.
	EstimatedIngestedSpansUsage *float64 `json:"estimated_ingested_spans_usage,omitempty"`
	// The percentage of Fargate usage by tags.
	FargatePercentage *float64 `json:"fargate_percentage,omitempty"`
	// The Fargate usage by tags.
	FargateUsage *float64 `json:"fargate_usage,omitempty"`
	// The percentage of Lambda function usage by tag(s).
	FunctionsPercentage *float64 `json:"functions_percentage,omitempty"`
	// The Lambda function usage by tag(s).
	FunctionsUsage *float64 `json:"functions_usage,omitempty"`
	// The percentage of indexed logs usage by tags.
	IndexedLogsPercentage *float64 `json:"indexed_logs_percentage,omitempty"`
	// The indexed logs usage by tags.
	IndexedLogsUsage *float64 `json:"indexed_logs_usage,omitempty"`
	// The percentage of infrastructure host usage by tag(s).
	InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"`
	// The infrastructure host usage by tag(s).
	InfraHostUsage *float64 `json:"infra_host_usage,omitempty"`
	// The percentage of Lambda invocation usage by tag(s).
	InvocationsPercentage *float64 `json:"invocations_percentage,omitempty"`
	// The Lambda invocation usage by tag(s).
	InvocationsUsage *float64 `json:"invocations_usage,omitempty"`
	// The percentage of network host usage by tag(s).
	NpmHostPercentage *float64 `json:"npm_host_percentage,omitempty"`
	// The network host usage by tag(s).
	NpmHostUsage *float64 `json:"npm_host_usage,omitempty"`
	// The percentage of profiled container usage by tag(s).
	ProfiledContainerPercentage *float64 `json:"profiled_container_percentage,omitempty"`
	// The profiled container usage by tag(s).
	ProfiledContainerUsage *float64 `json:"profiled_container_usage,omitempty"`
	// The percentage of profiled hosts usage by tag(s).
	ProfiledHostPercentage *float64 `json:"profiled_host_percentage,omitempty"`
	// The profiled hosts usage by tag(s).
	ProfiledHostUsage *float64 `json:"profiled_host_usage,omitempty"`
	// The percentage of network device usage by tag(s).
	SnmpPercentage *float64 `json:"snmp_percentage,omitempty"`
	// The network device usage by tag(s).
	SnmpUsage *float64 `json:"snmp_usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MonthlyUsageAttributionValues Fields in Usage Summary by tag(s).

func NewMonthlyUsageAttributionValues ¶ added in v1.8.0

func NewMonthlyUsageAttributionValues() *MonthlyUsageAttributionValues

NewMonthlyUsageAttributionValues instantiates a new MonthlyUsageAttributionValues 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 NewMonthlyUsageAttributionValuesWithDefaults ¶ added in v1.8.0

func NewMonthlyUsageAttributionValuesWithDefaults() *MonthlyUsageAttributionValues

NewMonthlyUsageAttributionValuesWithDefaults instantiates a new MonthlyUsageAttributionValues 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 (*MonthlyUsageAttributionValues) GetApiPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApiPercentage() float64

GetApiPercentage returns the ApiPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetApiPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApiPercentageOk() (*float64, bool)

GetApiPercentageOk returns a tuple with the ApiPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetApiUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApiUsage() float64

GetApiUsage returns the ApiUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetApiUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApiUsageOk() (*float64, bool)

GetApiUsageOk returns a tuple with the ApiUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetApmHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApmHostPercentage() float64

GetApmHostPercentage returns the ApmHostPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetApmHostPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApmHostPercentageOk() (*float64, bool)

GetApmHostPercentageOk returns a tuple with the ApmHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetApmHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApmHostUsage() float64

GetApmHostUsage returns the ApmHostUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetApmHostUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetApmHostUsageOk() (*float64, bool)

GetApmHostUsageOk returns a tuple with the ApmHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetAppsecPercentage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetAppsecPercentage() float64

GetAppsecPercentage returns the AppsecPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetAppsecPercentageOk ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetAppsecPercentageOk() (*float64, bool)

GetAppsecPercentageOk returns a tuple with the AppsecPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetAppsecUsage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetAppsecUsage() float64

GetAppsecUsage returns the AppsecUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetAppsecUsageOk ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetAppsecUsageOk() (*float64, bool)

GetAppsecUsageOk returns a tuple with the AppsecUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetBrowserPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetBrowserPercentage() float64

GetBrowserPercentage returns the BrowserPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetBrowserPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetBrowserPercentageOk() (*float64, bool)

GetBrowserPercentageOk returns a tuple with the BrowserPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetBrowserUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetBrowserUsage() float64

GetBrowserUsage returns the BrowserUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetBrowserUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetBrowserUsageOk() (*float64, bool)

GetBrowserUsageOk returns a tuple with the BrowserUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetContainerPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetContainerPercentage() float64

GetContainerPercentage returns the ContainerPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetContainerPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetContainerPercentageOk() (*float64, bool)

GetContainerPercentageOk returns a tuple with the ContainerPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetContainerUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetContainerUsage() float64

GetContainerUsage returns the ContainerUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetContainerUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetContainerUsageOk() (*float64, bool)

GetContainerUsageOk returns a tuple with the ContainerUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetCustomTimeseriesPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetCustomTimeseriesPercentage() float64

GetCustomTimeseriesPercentage returns the CustomTimeseriesPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetCustomTimeseriesPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetCustomTimeseriesPercentageOk() (*float64, bool)

GetCustomTimeseriesPercentageOk returns a tuple with the CustomTimeseriesPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetCustomTimeseriesUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetCustomTimeseriesUsage() float64

GetCustomTimeseriesUsage returns the CustomTimeseriesUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetCustomTimeseriesUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetCustomTimeseriesUsageOk() (*float64, bool)

GetCustomTimeseriesUsageOk returns a tuple with the CustomTimeseriesUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentage ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentage() float64

GetEstimatedIndexedLogsPercentage returns the EstimatedIndexedLogsPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentageOk ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentageOk() (*float64, bool)

GetEstimatedIndexedLogsPercentageOk returns a tuple with the EstimatedIndexedLogsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsage ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsage() float64

GetEstimatedIndexedLogsUsage returns the EstimatedIndexedLogsUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsageOk ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsageOk() (*float64, bool)

GetEstimatedIndexedLogsUsageOk returns a tuple with the EstimatedIndexedLogsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedSpansPercentage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedSpansPercentage() float64

GetEstimatedIndexedSpansPercentage returns the EstimatedIndexedSpansPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedSpansPercentageOk ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedSpansPercentageOk() (*float64, bool)

GetEstimatedIndexedSpansPercentageOk returns a tuple with the EstimatedIndexedSpansPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedSpansUsage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedSpansUsage() float64

GetEstimatedIndexedSpansUsage returns the EstimatedIndexedSpansUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetEstimatedIndexedSpansUsageOk ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedSpansUsageOk() (*float64, bool)

GetEstimatedIndexedSpansUsageOk returns a tuple with the EstimatedIndexedSpansUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetEstimatedIngestedSpansPercentage ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIngestedSpansPercentage() float64

GetEstimatedIngestedSpansPercentage returns the EstimatedIngestedSpansPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetEstimatedIngestedSpansPercentageOk ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIngestedSpansPercentageOk() (*float64, bool)

GetEstimatedIngestedSpansPercentageOk returns a tuple with the EstimatedIngestedSpansPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetEstimatedIngestedSpansUsage ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIngestedSpansUsage() float64

GetEstimatedIngestedSpansUsage returns the EstimatedIngestedSpansUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetEstimatedIngestedSpansUsageOk ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) GetEstimatedIngestedSpansUsageOk() (*float64, bool)

GetEstimatedIngestedSpansUsageOk returns a tuple with the EstimatedIngestedSpansUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetFargatePercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFargatePercentage() float64

GetFargatePercentage returns the FargatePercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetFargatePercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFargatePercentageOk() (*float64, bool)

GetFargatePercentageOk returns a tuple with the FargatePercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetFargateUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFargateUsage() float64

GetFargateUsage returns the FargateUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetFargateUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFargateUsageOk() (*float64, bool)

GetFargateUsageOk returns a tuple with the FargateUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetFunctionsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFunctionsPercentage() float64

GetFunctionsPercentage returns the FunctionsPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetFunctionsPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFunctionsPercentageOk() (*float64, bool)

GetFunctionsPercentageOk returns a tuple with the FunctionsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetFunctionsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFunctionsUsage() float64

GetFunctionsUsage returns the FunctionsUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetFunctionsUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetFunctionsUsageOk() (*float64, bool)

GetFunctionsUsageOk returns a tuple with the FunctionsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetIndexedLogsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetIndexedLogsPercentage() float64

GetIndexedLogsPercentage returns the IndexedLogsPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetIndexedLogsPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetIndexedLogsPercentageOk() (*float64, bool)

GetIndexedLogsPercentageOk returns a tuple with the IndexedLogsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetIndexedLogsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetIndexedLogsUsage() float64

GetIndexedLogsUsage returns the IndexedLogsUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetIndexedLogsUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetIndexedLogsUsageOk() (*float64, bool)

GetIndexedLogsUsageOk returns a tuple with the IndexedLogsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetInfraHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInfraHostPercentage() float64

GetInfraHostPercentage returns the InfraHostPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetInfraHostPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInfraHostPercentageOk() (*float64, bool)

GetInfraHostPercentageOk returns a tuple with the InfraHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetInfraHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInfraHostUsage() float64

GetInfraHostUsage returns the InfraHostUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetInfraHostUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInfraHostUsageOk() (*float64, bool)

GetInfraHostUsageOk returns a tuple with the InfraHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetInvocationsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInvocationsPercentage() float64

GetInvocationsPercentage returns the InvocationsPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetInvocationsPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInvocationsPercentageOk() (*float64, bool)

GetInvocationsPercentageOk returns a tuple with the InvocationsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetInvocationsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInvocationsUsage() float64

GetInvocationsUsage returns the InvocationsUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetInvocationsUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetInvocationsUsageOk() (*float64, bool)

GetInvocationsUsageOk returns a tuple with the InvocationsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetNpmHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetNpmHostPercentage() float64

GetNpmHostPercentage returns the NpmHostPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetNpmHostPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetNpmHostPercentageOk() (*float64, bool)

GetNpmHostPercentageOk returns a tuple with the NpmHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetNpmHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetNpmHostUsage() float64

GetNpmHostUsage returns the NpmHostUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetNpmHostUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetNpmHostUsageOk() (*float64, bool)

GetNpmHostUsageOk returns a tuple with the NpmHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetProfiledContainerPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledContainerPercentage() float64

GetProfiledContainerPercentage returns the ProfiledContainerPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetProfiledContainerPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledContainerPercentageOk() (*float64, bool)

GetProfiledContainerPercentageOk returns a tuple with the ProfiledContainerPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetProfiledContainerUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledContainerUsage() float64

GetProfiledContainerUsage returns the ProfiledContainerUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetProfiledContainerUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledContainerUsageOk() (*float64, bool)

GetProfiledContainerUsageOk returns a tuple with the ProfiledContainerUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetProfiledHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledHostPercentage() float64

GetProfiledHostPercentage returns the ProfiledHostPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetProfiledHostPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledHostPercentageOk() (*float64, bool)

GetProfiledHostPercentageOk returns a tuple with the ProfiledHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetProfiledHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledHostUsage() float64

GetProfiledHostUsage returns the ProfiledHostUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetProfiledHostUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetProfiledHostUsageOk() (*float64, bool)

GetProfiledHostUsageOk returns a tuple with the ProfiledHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetSnmpPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetSnmpPercentage() float64

GetSnmpPercentage returns the SnmpPercentage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetSnmpPercentageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetSnmpPercentageOk() (*float64, bool)

GetSnmpPercentageOk returns a tuple with the SnmpPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) GetSnmpUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetSnmpUsage() float64

GetSnmpUsage returns the SnmpUsage field value if set, zero value otherwise.

func (*MonthlyUsageAttributionValues) GetSnmpUsageOk ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) GetSnmpUsageOk() (*float64, bool)

GetSnmpUsageOk returns a tuple with the SnmpUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MonthlyUsageAttributionValues) HasApiPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasApiPercentage() bool

HasApiPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasApiUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasApiUsage() bool

HasApiUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasApmHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasApmHostPercentage() bool

HasApmHostPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasApmHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasApmHostUsage() bool

HasApmHostUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasAppsecPercentage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) HasAppsecPercentage() bool

HasAppsecPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasAppsecUsage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) HasAppsecUsage() bool

HasAppsecUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasBrowserPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasBrowserPercentage() bool

HasBrowserPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasBrowserUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasBrowserUsage() bool

HasBrowserUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasContainerPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasContainerPercentage() bool

HasContainerPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasContainerUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasContainerUsage() bool

HasContainerUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasCustomTimeseriesPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasCustomTimeseriesPercentage() bool

HasCustomTimeseriesPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasCustomTimeseriesUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasCustomTimeseriesUsage() bool

HasCustomTimeseriesUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasEstimatedIndexedLogsPercentage ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedLogsPercentage() bool

HasEstimatedIndexedLogsPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasEstimatedIndexedLogsUsage ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedLogsUsage() bool

HasEstimatedIndexedLogsUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasEstimatedIndexedSpansPercentage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedSpansPercentage() bool

HasEstimatedIndexedSpansPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasEstimatedIndexedSpansUsage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedSpansUsage() bool

HasEstimatedIndexedSpansUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasEstimatedIngestedSpansPercentage ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) HasEstimatedIngestedSpansPercentage() bool

HasEstimatedIngestedSpansPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasEstimatedIngestedSpansUsage ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) HasEstimatedIngestedSpansUsage() bool

HasEstimatedIngestedSpansUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasFargatePercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasFargatePercentage() bool

HasFargatePercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasFargateUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasFargateUsage() bool

HasFargateUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasFunctionsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasFunctionsPercentage() bool

HasFunctionsPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasFunctionsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasFunctionsUsage() bool

HasFunctionsUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasIndexedLogsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasIndexedLogsPercentage() bool

HasIndexedLogsPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasIndexedLogsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasIndexedLogsUsage() bool

HasIndexedLogsUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasInfraHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasInfraHostPercentage() bool

HasInfraHostPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasInfraHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasInfraHostUsage() bool

HasInfraHostUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasInvocationsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasInvocationsPercentage() bool

HasInvocationsPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasInvocationsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasInvocationsUsage() bool

HasInvocationsUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasNpmHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasNpmHostPercentage() bool

HasNpmHostPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasNpmHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasNpmHostUsage() bool

HasNpmHostUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasProfiledContainerPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasProfiledContainerPercentage() bool

HasProfiledContainerPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasProfiledContainerUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasProfiledContainerUsage() bool

HasProfiledContainerUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasProfiledHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasProfiledHostPercentage() bool

HasProfiledHostPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasProfiledHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasProfiledHostUsage() bool

HasProfiledHostUsage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasSnmpPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasSnmpPercentage() bool

HasSnmpPercentage returns a boolean if a field has been set.

func (*MonthlyUsageAttributionValues) HasSnmpUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) HasSnmpUsage() bool

HasSnmpUsage returns a boolean if a field has been set.

func (MonthlyUsageAttributionValues) MarshalJSON ¶ added in v1.8.0

func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*MonthlyUsageAttributionValues) SetApiPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetApiPercentage(v float64)

SetApiPercentage gets a reference to the given float64 and assigns it to the ApiPercentage field.

func (*MonthlyUsageAttributionValues) SetApiUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetApiUsage(v float64)

SetApiUsage gets a reference to the given float64 and assigns it to the ApiUsage field.

func (*MonthlyUsageAttributionValues) SetApmHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetApmHostPercentage(v float64)

SetApmHostPercentage gets a reference to the given float64 and assigns it to the ApmHostPercentage field.

func (*MonthlyUsageAttributionValues) SetApmHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetApmHostUsage(v float64)

SetApmHostUsage gets a reference to the given float64 and assigns it to the ApmHostUsage field.

func (*MonthlyUsageAttributionValues) SetAppsecPercentage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) SetAppsecPercentage(v float64)

SetAppsecPercentage gets a reference to the given float64 and assigns it to the AppsecPercentage field.

func (*MonthlyUsageAttributionValues) SetAppsecUsage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) SetAppsecUsage(v float64)

SetAppsecUsage gets a reference to the given float64 and assigns it to the AppsecUsage field.

func (*MonthlyUsageAttributionValues) SetBrowserPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetBrowserPercentage(v float64)

SetBrowserPercentage gets a reference to the given float64 and assigns it to the BrowserPercentage field.

func (*MonthlyUsageAttributionValues) SetBrowserUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetBrowserUsage(v float64)

SetBrowserUsage gets a reference to the given float64 and assigns it to the BrowserUsage field.

func (*MonthlyUsageAttributionValues) SetContainerPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetContainerPercentage(v float64)

SetContainerPercentage gets a reference to the given float64 and assigns it to the ContainerPercentage field.

func (*MonthlyUsageAttributionValues) SetContainerUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetContainerUsage(v float64)

SetContainerUsage gets a reference to the given float64 and assigns it to the ContainerUsage field.

func (*MonthlyUsageAttributionValues) SetCustomTimeseriesPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetCustomTimeseriesPercentage(v float64)

SetCustomTimeseriesPercentage gets a reference to the given float64 and assigns it to the CustomTimeseriesPercentage field.

func (*MonthlyUsageAttributionValues) SetCustomTimeseriesUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetCustomTimeseriesUsage(v float64)

SetCustomTimeseriesUsage gets a reference to the given float64 and assigns it to the CustomTimeseriesUsage field.

func (*MonthlyUsageAttributionValues) SetEstimatedIndexedLogsPercentage ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedLogsPercentage(v float64)

SetEstimatedIndexedLogsPercentage gets a reference to the given float64 and assigns it to the EstimatedIndexedLogsPercentage field.

func (*MonthlyUsageAttributionValues) SetEstimatedIndexedLogsUsage ¶ added in v1.9.0

func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedLogsUsage(v float64)

SetEstimatedIndexedLogsUsage gets a reference to the given float64 and assigns it to the EstimatedIndexedLogsUsage field.

func (*MonthlyUsageAttributionValues) SetEstimatedIndexedSpansPercentage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedSpansPercentage(v float64)

SetEstimatedIndexedSpansPercentage gets a reference to the given float64 and assigns it to the EstimatedIndexedSpansPercentage field.

func (*MonthlyUsageAttributionValues) SetEstimatedIndexedSpansUsage ¶ added in v1.15.0

func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedSpansUsage(v float64)

SetEstimatedIndexedSpansUsage gets a reference to the given float64 and assigns it to the EstimatedIndexedSpansUsage field.

func (*MonthlyUsageAttributionValues) SetEstimatedIngestedSpansPercentage ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) SetEstimatedIngestedSpansPercentage(v float64)

SetEstimatedIngestedSpansPercentage gets a reference to the given float64 and assigns it to the EstimatedIngestedSpansPercentage field.

func (*MonthlyUsageAttributionValues) SetEstimatedIngestedSpansUsage ¶ added in v1.16.0

func (o *MonthlyUsageAttributionValues) SetEstimatedIngestedSpansUsage(v float64)

SetEstimatedIngestedSpansUsage gets a reference to the given float64 and assigns it to the EstimatedIngestedSpansUsage field.

func (*MonthlyUsageAttributionValues) SetFargatePercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetFargatePercentage(v float64)

SetFargatePercentage gets a reference to the given float64 and assigns it to the FargatePercentage field.

func (*MonthlyUsageAttributionValues) SetFargateUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetFargateUsage(v float64)

SetFargateUsage gets a reference to the given float64 and assigns it to the FargateUsage field.

func (*MonthlyUsageAttributionValues) SetFunctionsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetFunctionsPercentage(v float64)

SetFunctionsPercentage gets a reference to the given float64 and assigns it to the FunctionsPercentage field.

func (*MonthlyUsageAttributionValues) SetFunctionsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetFunctionsUsage(v float64)

SetFunctionsUsage gets a reference to the given float64 and assigns it to the FunctionsUsage field.

func (*MonthlyUsageAttributionValues) SetIndexedLogsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetIndexedLogsPercentage(v float64)

SetIndexedLogsPercentage gets a reference to the given float64 and assigns it to the IndexedLogsPercentage field.

func (*MonthlyUsageAttributionValues) SetIndexedLogsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetIndexedLogsUsage(v float64)

SetIndexedLogsUsage gets a reference to the given float64 and assigns it to the IndexedLogsUsage field.

func (*MonthlyUsageAttributionValues) SetInfraHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetInfraHostPercentage(v float64)

SetInfraHostPercentage gets a reference to the given float64 and assigns it to the InfraHostPercentage field.

func (*MonthlyUsageAttributionValues) SetInfraHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetInfraHostUsage(v float64)

SetInfraHostUsage gets a reference to the given float64 and assigns it to the InfraHostUsage field.

func (*MonthlyUsageAttributionValues) SetInvocationsPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetInvocationsPercentage(v float64)

SetInvocationsPercentage gets a reference to the given float64 and assigns it to the InvocationsPercentage field.

func (*MonthlyUsageAttributionValues) SetInvocationsUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetInvocationsUsage(v float64)

SetInvocationsUsage gets a reference to the given float64 and assigns it to the InvocationsUsage field.

func (*MonthlyUsageAttributionValues) SetNpmHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetNpmHostPercentage(v float64)

SetNpmHostPercentage gets a reference to the given float64 and assigns it to the NpmHostPercentage field.

func (*MonthlyUsageAttributionValues) SetNpmHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetNpmHostUsage(v float64)

SetNpmHostUsage gets a reference to the given float64 and assigns it to the NpmHostUsage field.

func (*MonthlyUsageAttributionValues) SetProfiledContainerPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetProfiledContainerPercentage(v float64)

SetProfiledContainerPercentage gets a reference to the given float64 and assigns it to the ProfiledContainerPercentage field.

func (*MonthlyUsageAttributionValues) SetProfiledContainerUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetProfiledContainerUsage(v float64)

SetProfiledContainerUsage gets a reference to the given float64 and assigns it to the ProfiledContainerUsage field.

func (*MonthlyUsageAttributionValues) SetProfiledHostPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetProfiledHostPercentage(v float64)

SetProfiledHostPercentage gets a reference to the given float64 and assigns it to the ProfiledHostPercentage field.

func (*MonthlyUsageAttributionValues) SetProfiledHostUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetProfiledHostUsage(v float64)

SetProfiledHostUsage gets a reference to the given float64 and assigns it to the ProfiledHostUsage field.

func (*MonthlyUsageAttributionValues) SetSnmpPercentage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetSnmpPercentage(v float64)

SetSnmpPercentage gets a reference to the given float64 and assigns it to the SnmpPercentage field.

func (*MonthlyUsageAttributionValues) SetSnmpUsage ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) SetSnmpUsage(v float64)

SetSnmpUsage gets a reference to the given float64 and assigns it to the SnmpUsage field.

func (*MonthlyUsageAttributionValues) UnmarshalJSON ¶ added in v1.8.0

func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NoteWidgetDefinition ¶

type NoteWidgetDefinition struct {
	// Background color of the note.
	BackgroundColor *string `json:"background_color,omitempty"`
	// Content of the note.
	Content string `json:"content"`
	// Size of the text.
	FontSize *string `json:"font_size,omitempty"`
	// Whether to add padding or not.
	HasPadding *bool `json:"has_padding,omitempty"`
	// Whether to show a tick or not.
	ShowTick *bool `json:"show_tick,omitempty"`
	// How to align the text on the widget.
	TextAlign *WidgetTextAlign `json:"text_align,omitempty"`
	// Define how you want to align the text on the widget.
	TickEdge *WidgetTickEdge `json:"tick_edge,omitempty"`
	// Where to position the tick on an edge.
	TickPos *string `json:"tick_pos,omitempty"`
	// Type of the note widget.
	Type NoteWidgetDefinitionType `json:"type"`
	// Vertical alignment.
	VerticalAlign *WidgetVerticalAlign `json:"vertical_align,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NoteWidgetDefinition The notes and links widget is similar to free text widget, but allows for more formatting options.

func NewNoteWidgetDefinition ¶

func NewNoteWidgetDefinition(content string, typeVar NoteWidgetDefinitionType) *NoteWidgetDefinition

NewNoteWidgetDefinition instantiates a new NoteWidgetDefinition 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 NewNoteWidgetDefinitionWithDefaults ¶

func NewNoteWidgetDefinitionWithDefaults() *NoteWidgetDefinition

NewNoteWidgetDefinitionWithDefaults instantiates a new NoteWidgetDefinition 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 (*NoteWidgetDefinition) GetBackgroundColor ¶

func (o *NoteWidgetDefinition) GetBackgroundColor() string

GetBackgroundColor returns the BackgroundColor field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetBackgroundColorOk ¶

func (o *NoteWidgetDefinition) GetBackgroundColorOk() (*string, bool)

GetBackgroundColorOk returns a tuple with the BackgroundColor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetContent ¶

func (o *NoteWidgetDefinition) GetContent() string

GetContent returns the Content field value.

func (*NoteWidgetDefinition) GetContentOk ¶

func (o *NoteWidgetDefinition) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetFontSize ¶

func (o *NoteWidgetDefinition) GetFontSize() string

GetFontSize returns the FontSize field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetFontSizeOk ¶

func (o *NoteWidgetDefinition) GetFontSizeOk() (*string, bool)

GetFontSizeOk returns a tuple with the FontSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetHasPadding ¶

func (o *NoteWidgetDefinition) GetHasPadding() bool

GetHasPadding returns the HasPadding field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetHasPaddingOk ¶

func (o *NoteWidgetDefinition) GetHasPaddingOk() (*bool, bool)

GetHasPaddingOk returns a tuple with the HasPadding field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetShowTick ¶

func (o *NoteWidgetDefinition) GetShowTick() bool

GetShowTick returns the ShowTick field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetShowTickOk ¶

func (o *NoteWidgetDefinition) GetShowTickOk() (*bool, bool)

GetShowTickOk returns a tuple with the ShowTick field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetTextAlign ¶

func (o *NoteWidgetDefinition) GetTextAlign() WidgetTextAlign

GetTextAlign returns the TextAlign field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetTextAlignOk ¶

func (o *NoteWidgetDefinition) GetTextAlignOk() (*WidgetTextAlign, bool)

GetTextAlignOk returns a tuple with the TextAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetTickEdge ¶

func (o *NoteWidgetDefinition) GetTickEdge() WidgetTickEdge

GetTickEdge returns the TickEdge field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetTickEdgeOk ¶

func (o *NoteWidgetDefinition) GetTickEdgeOk() (*WidgetTickEdge, bool)

GetTickEdgeOk returns a tuple with the TickEdge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetTickPos ¶

func (o *NoteWidgetDefinition) GetTickPos() string

GetTickPos returns the TickPos field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetTickPosOk ¶

func (o *NoteWidgetDefinition) GetTickPosOk() (*string, bool)

GetTickPosOk returns a tuple with the TickPos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*NoteWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) GetVerticalAlign ¶

func (o *NoteWidgetDefinition) GetVerticalAlign() WidgetVerticalAlign

GetVerticalAlign returns the VerticalAlign field value if set, zero value otherwise.

func (*NoteWidgetDefinition) GetVerticalAlignOk ¶

func (o *NoteWidgetDefinition) GetVerticalAlignOk() (*WidgetVerticalAlign, bool)

GetVerticalAlignOk returns a tuple with the VerticalAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoteWidgetDefinition) HasBackgroundColor ¶

func (o *NoteWidgetDefinition) HasBackgroundColor() bool

HasBackgroundColor returns a boolean if a field has been set.

func (*NoteWidgetDefinition) HasFontSize ¶

func (o *NoteWidgetDefinition) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*NoteWidgetDefinition) HasHasPadding ¶

func (o *NoteWidgetDefinition) HasHasPadding() bool

HasHasPadding returns a boolean if a field has been set.

func (*NoteWidgetDefinition) HasShowTick ¶

func (o *NoteWidgetDefinition) HasShowTick() bool

HasShowTick returns a boolean if a field has been set.

func (*NoteWidgetDefinition) HasTextAlign ¶

func (o *NoteWidgetDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*NoteWidgetDefinition) HasTickEdge ¶

func (o *NoteWidgetDefinition) HasTickEdge() bool

HasTickEdge returns a boolean if a field has been set.

func (*NoteWidgetDefinition) HasTickPos ¶

func (o *NoteWidgetDefinition) HasTickPos() bool

HasTickPos returns a boolean if a field has been set.

func (*NoteWidgetDefinition) HasVerticalAlign ¶

func (o *NoteWidgetDefinition) HasVerticalAlign() bool

HasVerticalAlign returns a boolean if a field has been set.

func (NoteWidgetDefinition) MarshalJSON ¶

func (o NoteWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NoteWidgetDefinition) SetBackgroundColor ¶

func (o *NoteWidgetDefinition) SetBackgroundColor(v string)

SetBackgroundColor gets a reference to the given string and assigns it to the BackgroundColor field.

func (*NoteWidgetDefinition) SetContent ¶

func (o *NoteWidgetDefinition) SetContent(v string)

SetContent sets field value.

func (*NoteWidgetDefinition) SetFontSize ¶

func (o *NoteWidgetDefinition) SetFontSize(v string)

SetFontSize gets a reference to the given string and assigns it to the FontSize field.

func (*NoteWidgetDefinition) SetHasPadding ¶

func (o *NoteWidgetDefinition) SetHasPadding(v bool)

SetHasPadding gets a reference to the given bool and assigns it to the HasPadding field.

func (*NoteWidgetDefinition) SetShowTick ¶

func (o *NoteWidgetDefinition) SetShowTick(v bool)

SetShowTick gets a reference to the given bool and assigns it to the ShowTick field.

func (*NoteWidgetDefinition) SetTextAlign ¶

func (o *NoteWidgetDefinition) SetTextAlign(v WidgetTextAlign)

SetTextAlign gets a reference to the given WidgetTextAlign and assigns it to the TextAlign field.

func (*NoteWidgetDefinition) SetTickEdge ¶

func (o *NoteWidgetDefinition) SetTickEdge(v WidgetTickEdge)

SetTickEdge gets a reference to the given WidgetTickEdge and assigns it to the TickEdge field.

func (*NoteWidgetDefinition) SetTickPos ¶

func (o *NoteWidgetDefinition) SetTickPos(v string)

SetTickPos gets a reference to the given string and assigns it to the TickPos field.

func (*NoteWidgetDefinition) SetType ¶

SetType sets field value.

func (*NoteWidgetDefinition) SetVerticalAlign ¶

func (o *NoteWidgetDefinition) SetVerticalAlign(v WidgetVerticalAlign)

SetVerticalAlign gets a reference to the given WidgetVerticalAlign and assigns it to the VerticalAlign field.

func (*NoteWidgetDefinition) UnmarshalJSON ¶

func (o *NoteWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NoteWidgetDefinitionType ¶

type NoteWidgetDefinitionType string

NoteWidgetDefinitionType Type of the note widget.

const (
	NOTEWIDGETDEFINITIONTYPE_NOTE NoteWidgetDefinitionType = "note"
)

List of NoteWidgetDefinitionType.

func NewNoteWidgetDefinitionTypeFromValue ¶

func NewNoteWidgetDefinitionTypeFromValue(v string) (*NoteWidgetDefinitionType, error)

NewNoteWidgetDefinitionTypeFromValue returns a pointer to a valid NoteWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*NoteWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

func (v *NoteWidgetDefinitionType) GetAllowedValues() []NoteWidgetDefinitionType

GetAllowedValues reeturns the list of possible values.

func (NoteWidgetDefinitionType) IsValid ¶

func (v NoteWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (NoteWidgetDefinitionType) Ptr ¶

Ptr returns reference to NoteWidgetDefinitionType value.

func (*NoteWidgetDefinitionType) UnmarshalJSON ¶

func (v *NoteWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type NotebookAbsoluteTime ¶

type NotebookAbsoluteTime struct {
	// The end time.
	End time.Time `json:"end"`
	// Indicates whether the timeframe should be shifted to end at the current time.
	Live *bool `json:"live,omitempty"`
	// The start time.
	Start time.Time `json:"start"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookAbsoluteTime Absolute timeframe.

func NewNotebookAbsoluteTime ¶

func NewNotebookAbsoluteTime(end time.Time, start time.Time) *NotebookAbsoluteTime

NewNotebookAbsoluteTime instantiates a new NotebookAbsoluteTime 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 NewNotebookAbsoluteTimeWithDefaults ¶

func NewNotebookAbsoluteTimeWithDefaults() *NotebookAbsoluteTime

NewNotebookAbsoluteTimeWithDefaults instantiates a new NotebookAbsoluteTime 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 (*NotebookAbsoluteTime) GetEnd ¶

func (o *NotebookAbsoluteTime) GetEnd() time.Time

GetEnd returns the End field value.

func (*NotebookAbsoluteTime) GetEndOk ¶

func (o *NotebookAbsoluteTime) GetEndOk() (*time.Time, bool)

GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.

func (*NotebookAbsoluteTime) GetLive ¶

func (o *NotebookAbsoluteTime) GetLive() bool

GetLive returns the Live field value if set, zero value otherwise.

func (*NotebookAbsoluteTime) GetLiveOk ¶

func (o *NotebookAbsoluteTime) GetLiveOk() (*bool, bool)

GetLiveOk returns a tuple with the Live field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAbsoluteTime) GetStart ¶

func (o *NotebookAbsoluteTime) GetStart() time.Time

GetStart returns the Start field value.

func (*NotebookAbsoluteTime) GetStartOk ¶

func (o *NotebookAbsoluteTime) GetStartOk() (*time.Time, bool)

GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.

func (*NotebookAbsoluteTime) HasLive ¶

func (o *NotebookAbsoluteTime) HasLive() bool

HasLive returns a boolean if a field has been set.

func (NotebookAbsoluteTime) MarshalJSON ¶

func (o NotebookAbsoluteTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookAbsoluteTime) SetEnd ¶

func (o *NotebookAbsoluteTime) SetEnd(v time.Time)

SetEnd sets field value.

func (*NotebookAbsoluteTime) SetLive ¶

func (o *NotebookAbsoluteTime) SetLive(v bool)

SetLive gets a reference to the given bool and assigns it to the Live field.

func (*NotebookAbsoluteTime) SetStart ¶

func (o *NotebookAbsoluteTime) SetStart(v time.Time)

SetStart sets field value.

func (*NotebookAbsoluteTime) UnmarshalJSON ¶

func (o *NotebookAbsoluteTime) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookAuthor ¶

type NotebookAuthor struct {
	// Creation time of the user.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Whether the user is disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// Email of the user.
	Email *string `json:"email,omitempty"`
	// Handle of the user.
	Handle *string `json:"handle,omitempty"`
	// URL of the user's icon.
	Icon *string `json:"icon,omitempty"`
	// Name of the user.
	Name NullableString `json:"name,omitempty"`
	// Status of the user.
	Status *string `json:"status,omitempty"`
	// Title of the user.
	Title NullableString `json:"title,omitempty"`
	// Whether the user is verified.
	Verified *bool `json:"verified,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookAuthor Attributes of user object returned by the API.

func NewNotebookAuthor ¶

func NewNotebookAuthor() *NotebookAuthor

NewNotebookAuthor instantiates a new NotebookAuthor 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 NewNotebookAuthorWithDefaults ¶

func NewNotebookAuthorWithDefaults() *NotebookAuthor

NewNotebookAuthorWithDefaults instantiates a new NotebookAuthor 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 (*NotebookAuthor) GetCreatedAt ¶

func (o *NotebookAuthor) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NotebookAuthor) GetCreatedAtOk ¶

func (o *NotebookAuthor) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAuthor) GetDisabled ¶

func (o *NotebookAuthor) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*NotebookAuthor) GetDisabledOk ¶

func (o *NotebookAuthor) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAuthor) GetEmail ¶

func (o *NotebookAuthor) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*NotebookAuthor) GetEmailOk ¶

func (o *NotebookAuthor) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAuthor) GetHandle ¶

func (o *NotebookAuthor) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*NotebookAuthor) GetHandleOk ¶

func (o *NotebookAuthor) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAuthor) GetIcon ¶

func (o *NotebookAuthor) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*NotebookAuthor) GetIconOk ¶

func (o *NotebookAuthor) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAuthor) GetName ¶

func (o *NotebookAuthor) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookAuthor) GetNameOk ¶

func (o *NotebookAuthor) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookAuthor) GetStatus ¶

func (o *NotebookAuthor) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*NotebookAuthor) GetStatusOk ¶

func (o *NotebookAuthor) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAuthor) GetTitle ¶

func (o *NotebookAuthor) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookAuthor) GetTitleOk ¶

func (o *NotebookAuthor) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookAuthor) GetVerified ¶

func (o *NotebookAuthor) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*NotebookAuthor) GetVerifiedOk ¶

func (o *NotebookAuthor) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookAuthor) HasCreatedAt ¶

func (o *NotebookAuthor) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NotebookAuthor) HasDisabled ¶

func (o *NotebookAuthor) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*NotebookAuthor) HasEmail ¶

func (o *NotebookAuthor) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*NotebookAuthor) HasHandle ¶

func (o *NotebookAuthor) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*NotebookAuthor) HasIcon ¶

func (o *NotebookAuthor) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*NotebookAuthor) HasName ¶

func (o *NotebookAuthor) HasName() bool

HasName returns a boolean if a field has been set.

func (*NotebookAuthor) HasStatus ¶

func (o *NotebookAuthor) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*NotebookAuthor) HasTitle ¶

func (o *NotebookAuthor) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*NotebookAuthor) HasVerified ¶

func (o *NotebookAuthor) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (NotebookAuthor) MarshalJSON ¶

func (o NotebookAuthor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookAuthor) SetCreatedAt ¶

func (o *NotebookAuthor) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NotebookAuthor) SetDisabled ¶

func (o *NotebookAuthor) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*NotebookAuthor) SetEmail ¶

func (o *NotebookAuthor) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*NotebookAuthor) SetHandle ¶

func (o *NotebookAuthor) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*NotebookAuthor) SetIcon ¶

func (o *NotebookAuthor) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*NotebookAuthor) SetName ¶

func (o *NotebookAuthor) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*NotebookAuthor) SetNameNil ¶ added in v1.5.0

func (o *NotebookAuthor) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil.

func (*NotebookAuthor) SetStatus ¶

func (o *NotebookAuthor) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*NotebookAuthor) SetTitle ¶

func (o *NotebookAuthor) SetTitle(v string)

SetTitle gets a reference to the given NullableString and assigns it to the Title field.

func (*NotebookAuthor) SetTitleNil ¶ added in v1.5.0

func (o *NotebookAuthor) SetTitleNil()

SetTitleNil sets the value for Title to be an explicit nil.

func (*NotebookAuthor) SetVerified ¶

func (o *NotebookAuthor) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (*NotebookAuthor) UnmarshalJSON ¶ added in v1.3.0

func (o *NotebookAuthor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*NotebookAuthor) UnsetName ¶ added in v1.5.0

func (o *NotebookAuthor) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil.

func (*NotebookAuthor) UnsetTitle ¶ added in v1.5.0

func (o *NotebookAuthor) UnsetTitle()

UnsetTitle ensures that no value is present for Title, not even an explicit nil.

type NotebookCellCreateRequest ¶

type NotebookCellCreateRequest struct {
	// The attributes of a notebook cell in create cell request. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`,
	// `log_stream`. [More information on each graph visualization type.](https://docs.datadoghq.com/dashboards/widgets/)
	Attributes NotebookCellCreateRequestAttributes `json:"attributes"`
	// Type of the Notebook Cell resource.
	Type NotebookCellResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject map[string]interface{} `json:-`
}

NotebookCellCreateRequest The description of a notebook cell create request.

func NewNotebookCellCreateRequest ¶

func NewNotebookCellCreateRequest(attributes NotebookCellCreateRequestAttributes, typeVar NotebookCellResourceType) *NotebookCellCreateRequest

NewNotebookCellCreateRequest instantiates a new NotebookCellCreateRequest 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 NewNotebookCellCreateRequestWithDefaults ¶

func NewNotebookCellCreateRequestWithDefaults() *NotebookCellCreateRequest

NewNotebookCellCreateRequestWithDefaults instantiates a new NotebookCellCreateRequest 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 (*NotebookCellCreateRequest) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*NotebookCellCreateRequest) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*NotebookCellCreateRequest) GetType ¶

GetType returns the Type field value.

func (*NotebookCellCreateRequest) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebookCellCreateRequest) MarshalJSON ¶

func (o NotebookCellCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookCellCreateRequest) SetAttributes ¶

SetAttributes sets field value.

func (*NotebookCellCreateRequest) SetType ¶

SetType sets field value.

func (*NotebookCellCreateRequest) UnmarshalJSON ¶

func (o *NotebookCellCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookCellCreateRequestAttributes ¶

type NotebookCellCreateRequestAttributes struct {
	NotebookMarkdownCellAttributes     *NotebookMarkdownCellAttributes
	NotebookTimeseriesCellAttributes   *NotebookTimeseriesCellAttributes
	NotebookToplistCellAttributes      *NotebookToplistCellAttributes
	NotebookHeatMapCellAttributes      *NotebookHeatMapCellAttributes
	NotebookDistributionCellAttributes *NotebookDistributionCellAttributes
	NotebookLogStreamCellAttributes    *NotebookLogStreamCellAttributes

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

NotebookCellCreateRequestAttributes - The attributes of a notebook cell in create cell request. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`, `log_stream`. [More information on each graph visualization type.](https://docs.datadoghq.com/dashboards/widgets/)

func NotebookDistributionCellAttributesAsNotebookCellCreateRequestAttributes ¶

func NotebookDistributionCellAttributesAsNotebookCellCreateRequestAttributes(v *NotebookDistributionCellAttributes) NotebookCellCreateRequestAttributes

NotebookDistributionCellAttributesAsNotebookCellCreateRequestAttributes is a convenience function that returns NotebookDistributionCellAttributes wrapped in NotebookCellCreateRequestAttributes.

func NotebookHeatMapCellAttributesAsNotebookCellCreateRequestAttributes ¶

func NotebookHeatMapCellAttributesAsNotebookCellCreateRequestAttributes(v *NotebookHeatMapCellAttributes) NotebookCellCreateRequestAttributes

NotebookHeatMapCellAttributesAsNotebookCellCreateRequestAttributes is a convenience function that returns NotebookHeatMapCellAttributes wrapped in NotebookCellCreateRequestAttributes.

func NotebookLogStreamCellAttributesAsNotebookCellCreateRequestAttributes ¶

func NotebookLogStreamCellAttributesAsNotebookCellCreateRequestAttributes(v *NotebookLogStreamCellAttributes) NotebookCellCreateRequestAttributes

NotebookLogStreamCellAttributesAsNotebookCellCreateRequestAttributes is a convenience function that returns NotebookLogStreamCellAttributes wrapped in NotebookCellCreateRequestAttributes.

func NotebookMarkdownCellAttributesAsNotebookCellCreateRequestAttributes ¶

func NotebookMarkdownCellAttributesAsNotebookCellCreateRequestAttributes(v *NotebookMarkdownCellAttributes) NotebookCellCreateRequestAttributes

NotebookMarkdownCellAttributesAsNotebookCellCreateRequestAttributes is a convenience function that returns NotebookMarkdownCellAttributes wrapped in NotebookCellCreateRequestAttributes.

func NotebookTimeseriesCellAttributesAsNotebookCellCreateRequestAttributes ¶

func NotebookTimeseriesCellAttributesAsNotebookCellCreateRequestAttributes(v *NotebookTimeseriesCellAttributes) NotebookCellCreateRequestAttributes

NotebookTimeseriesCellAttributesAsNotebookCellCreateRequestAttributes is a convenience function that returns NotebookTimeseriesCellAttributes wrapped in NotebookCellCreateRequestAttributes.

func NotebookToplistCellAttributesAsNotebookCellCreateRequestAttributes ¶

func NotebookToplistCellAttributesAsNotebookCellCreateRequestAttributes(v *NotebookToplistCellAttributes) NotebookCellCreateRequestAttributes

NotebookToplistCellAttributesAsNotebookCellCreateRequestAttributes is a convenience function that returns NotebookToplistCellAttributes wrapped in NotebookCellCreateRequestAttributes.

func (*NotebookCellCreateRequestAttributes) GetActualInstance ¶

func (obj *NotebookCellCreateRequestAttributes) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (NotebookCellCreateRequestAttributes) MarshalJSON ¶

func (obj NotebookCellCreateRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*NotebookCellCreateRequestAttributes) UnmarshalJSON ¶

func (obj *NotebookCellCreateRequestAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type NotebookCellResourceType ¶

type NotebookCellResourceType string

NotebookCellResourceType Type of the Notebook Cell resource.

const (
	NOTEBOOKCELLRESOURCETYPE_NOTEBOOK_CELLS NotebookCellResourceType = "notebook_cells"
)

List of NotebookCellResourceType.

func NewNotebookCellResourceTypeFromValue ¶

func NewNotebookCellResourceTypeFromValue(v string) (*NotebookCellResourceType, error)

NewNotebookCellResourceTypeFromValue returns a pointer to a valid NotebookCellResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*NotebookCellResourceType) GetAllowedValues ¶ added in v1.1.0

func (v *NotebookCellResourceType) GetAllowedValues() []NotebookCellResourceType

GetAllowedValues reeturns the list of possible values.

func (NotebookCellResourceType) IsValid ¶

func (v NotebookCellResourceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (NotebookCellResourceType) Ptr ¶

Ptr returns reference to NotebookCellResourceType value.

func (*NotebookCellResourceType) UnmarshalJSON ¶

func (v *NotebookCellResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type NotebookCellResponse ¶

type NotebookCellResponse struct {
	// The attributes of a notebook cell response. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`,
	// `log_stream`. [More information on each graph visualization type.](https://docs.datadoghq.com/dashboards/widgets/)
	Attributes NotebookCellResponseAttributes `json:"attributes"`
	// Notebook cell ID.
	Id string `json:"id"`
	// Type of the Notebook Cell resource.
	Type NotebookCellResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookCellResponse The description of a notebook cell response.

func NewNotebookCellResponse ¶

func NewNotebookCellResponse(attributes NotebookCellResponseAttributes, id string, typeVar NotebookCellResourceType) *NotebookCellResponse

NewNotebookCellResponse instantiates a new NotebookCellResponse 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 NewNotebookCellResponseWithDefaults ¶

func NewNotebookCellResponseWithDefaults() *NotebookCellResponse

NewNotebookCellResponseWithDefaults instantiates a new NotebookCellResponse 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 (*NotebookCellResponse) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*NotebookCellResponse) GetAttributesOk ¶

func (o *NotebookCellResponse) GetAttributesOk() (*NotebookCellResponseAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*NotebookCellResponse) GetId ¶

func (o *NotebookCellResponse) GetId() string

GetId returns the Id field value.

func (*NotebookCellResponse) GetIdOk ¶

func (o *NotebookCellResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NotebookCellResponse) GetType ¶

GetType returns the Type field value.

func (*NotebookCellResponse) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebookCellResponse) MarshalJSON ¶

func (o NotebookCellResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookCellResponse) SetAttributes ¶

SetAttributes sets field value.

func (*NotebookCellResponse) SetId ¶

func (o *NotebookCellResponse) SetId(v string)

SetId sets field value.

func (*NotebookCellResponse) SetType ¶

SetType sets field value.

func (*NotebookCellResponse) UnmarshalJSON ¶

func (o *NotebookCellResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookCellResponseAttributes ¶

type NotebookCellResponseAttributes struct {
	NotebookMarkdownCellAttributes     *NotebookMarkdownCellAttributes
	NotebookTimeseriesCellAttributes   *NotebookTimeseriesCellAttributes
	NotebookToplistCellAttributes      *NotebookToplistCellAttributes
	NotebookHeatMapCellAttributes      *NotebookHeatMapCellAttributes
	NotebookDistributionCellAttributes *NotebookDistributionCellAttributes
	NotebookLogStreamCellAttributes    *NotebookLogStreamCellAttributes

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

NotebookCellResponseAttributes - The attributes of a notebook cell response. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`, `log_stream`. [More information on each graph visualization type.](https://docs.datadoghq.com/dashboards/widgets/)

func NotebookDistributionCellAttributesAsNotebookCellResponseAttributes ¶

func NotebookDistributionCellAttributesAsNotebookCellResponseAttributes(v *NotebookDistributionCellAttributes) NotebookCellResponseAttributes

NotebookDistributionCellAttributesAsNotebookCellResponseAttributes is a convenience function that returns NotebookDistributionCellAttributes wrapped in NotebookCellResponseAttributes.

func NotebookHeatMapCellAttributesAsNotebookCellResponseAttributes ¶

func NotebookHeatMapCellAttributesAsNotebookCellResponseAttributes(v *NotebookHeatMapCellAttributes) NotebookCellResponseAttributes

NotebookHeatMapCellAttributesAsNotebookCellResponseAttributes is a convenience function that returns NotebookHeatMapCellAttributes wrapped in NotebookCellResponseAttributes.

func NotebookLogStreamCellAttributesAsNotebookCellResponseAttributes ¶

func NotebookLogStreamCellAttributesAsNotebookCellResponseAttributes(v *NotebookLogStreamCellAttributes) NotebookCellResponseAttributes

NotebookLogStreamCellAttributesAsNotebookCellResponseAttributes is a convenience function that returns NotebookLogStreamCellAttributes wrapped in NotebookCellResponseAttributes.

func NotebookMarkdownCellAttributesAsNotebookCellResponseAttributes ¶

func NotebookMarkdownCellAttributesAsNotebookCellResponseAttributes(v *NotebookMarkdownCellAttributes) NotebookCellResponseAttributes

NotebookMarkdownCellAttributesAsNotebookCellResponseAttributes is a convenience function that returns NotebookMarkdownCellAttributes wrapped in NotebookCellResponseAttributes.

func NotebookTimeseriesCellAttributesAsNotebookCellResponseAttributes ¶

func NotebookTimeseriesCellAttributesAsNotebookCellResponseAttributes(v *NotebookTimeseriesCellAttributes) NotebookCellResponseAttributes

NotebookTimeseriesCellAttributesAsNotebookCellResponseAttributes is a convenience function that returns NotebookTimeseriesCellAttributes wrapped in NotebookCellResponseAttributes.

func NotebookToplistCellAttributesAsNotebookCellResponseAttributes ¶

func NotebookToplistCellAttributesAsNotebookCellResponseAttributes(v *NotebookToplistCellAttributes) NotebookCellResponseAttributes

NotebookToplistCellAttributesAsNotebookCellResponseAttributes is a convenience function that returns NotebookToplistCellAttributes wrapped in NotebookCellResponseAttributes.

func (*NotebookCellResponseAttributes) GetActualInstance ¶

func (obj *NotebookCellResponseAttributes) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (NotebookCellResponseAttributes) MarshalJSON ¶

func (obj NotebookCellResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*NotebookCellResponseAttributes) UnmarshalJSON ¶

func (obj *NotebookCellResponseAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type NotebookCellTime ¶

type NotebookCellTime struct {
	NotebookRelativeTime *NotebookRelativeTime
	NotebookAbsoluteTime *NotebookAbsoluteTime

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

NotebookCellTime - Timeframe for the notebook cell. When 'null', the notebook global time is used.

func NotebookAbsoluteTimeAsNotebookCellTime ¶

func NotebookAbsoluteTimeAsNotebookCellTime(v *NotebookAbsoluteTime) NotebookCellTime

NotebookAbsoluteTimeAsNotebookCellTime is a convenience function that returns NotebookAbsoluteTime wrapped in NotebookCellTime.

func NotebookRelativeTimeAsNotebookCellTime ¶

func NotebookRelativeTimeAsNotebookCellTime(v *NotebookRelativeTime) NotebookCellTime

NotebookRelativeTimeAsNotebookCellTime is a convenience function that returns NotebookRelativeTime wrapped in NotebookCellTime.

func (*NotebookCellTime) GetActualInstance ¶

func (obj *NotebookCellTime) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (NotebookCellTime) MarshalJSON ¶

func (obj NotebookCellTime) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*NotebookCellTime) UnmarshalJSON ¶

func (obj *NotebookCellTime) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type NotebookCellUpdateRequest ¶

type NotebookCellUpdateRequest struct {
	// The attributes of a notebook cell in update cell request. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`,
	// `log_stream`. [More information on each graph visualization type.](https://docs.datadoghq.com/dashboards/widgets/)
	Attributes NotebookCellUpdateRequestAttributes `json:"attributes"`
	// Notebook cell ID.
	Id string `json:"id"`
	// Type of the Notebook Cell resource.
	Type NotebookCellResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookCellUpdateRequest The description of a notebook cell update request.

func NewNotebookCellUpdateRequest ¶

func NewNotebookCellUpdateRequest(attributes NotebookCellUpdateRequestAttributes, id string, typeVar NotebookCellResourceType) *NotebookCellUpdateRequest

NewNotebookCellUpdateRequest instantiates a new NotebookCellUpdateRequest 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 NewNotebookCellUpdateRequestWithDefaults ¶

func NewNotebookCellUpdateRequestWithDefaults() *NotebookCellUpdateRequest

NewNotebookCellUpdateRequestWithDefaults instantiates a new NotebookCellUpdateRequest 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 (*NotebookCellUpdateRequest) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*NotebookCellUpdateRequest) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*NotebookCellUpdateRequest) GetId ¶

func (o *NotebookCellUpdateRequest) GetId() string

GetId returns the Id field value.

func (*NotebookCellUpdateRequest) GetIdOk ¶

func (o *NotebookCellUpdateRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NotebookCellUpdateRequest) GetType ¶

GetType returns the Type field value.

func (*NotebookCellUpdateRequest) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebookCellUpdateRequest) MarshalJSON ¶

func (o NotebookCellUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookCellUpdateRequest) SetAttributes ¶

SetAttributes sets field value.

func (*NotebookCellUpdateRequest) SetId ¶

func (o *NotebookCellUpdateRequest) SetId(v string)

SetId sets field value.

func (*NotebookCellUpdateRequest) SetType ¶

SetType sets field value.

func (*NotebookCellUpdateRequest) UnmarshalJSON ¶

func (o *NotebookCellUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookCellUpdateRequestAttributes ¶

type NotebookCellUpdateRequestAttributes struct {
	NotebookMarkdownCellAttributes     *NotebookMarkdownCellAttributes
	NotebookTimeseriesCellAttributes   *NotebookTimeseriesCellAttributes
	NotebookToplistCellAttributes      *NotebookToplistCellAttributes
	NotebookHeatMapCellAttributes      *NotebookHeatMapCellAttributes
	NotebookDistributionCellAttributes *NotebookDistributionCellAttributes
	NotebookLogStreamCellAttributes    *NotebookLogStreamCellAttributes

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

NotebookCellUpdateRequestAttributes - The attributes of a notebook cell in update cell request. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`, `log_stream`. [More information on each graph visualization type.](https://docs.datadoghq.com/dashboards/widgets/)

func NotebookDistributionCellAttributesAsNotebookCellUpdateRequestAttributes ¶

func NotebookDistributionCellAttributesAsNotebookCellUpdateRequestAttributes(v *NotebookDistributionCellAttributes) NotebookCellUpdateRequestAttributes

NotebookDistributionCellAttributesAsNotebookCellUpdateRequestAttributes is a convenience function that returns NotebookDistributionCellAttributes wrapped in NotebookCellUpdateRequestAttributes.

func NotebookHeatMapCellAttributesAsNotebookCellUpdateRequestAttributes ¶

func NotebookHeatMapCellAttributesAsNotebookCellUpdateRequestAttributes(v *NotebookHeatMapCellAttributes) NotebookCellUpdateRequestAttributes

NotebookHeatMapCellAttributesAsNotebookCellUpdateRequestAttributes is a convenience function that returns NotebookHeatMapCellAttributes wrapped in NotebookCellUpdateRequestAttributes.

func NotebookLogStreamCellAttributesAsNotebookCellUpdateRequestAttributes ¶

func NotebookLogStreamCellAttributesAsNotebookCellUpdateRequestAttributes(v *NotebookLogStreamCellAttributes) NotebookCellUpdateRequestAttributes

NotebookLogStreamCellAttributesAsNotebookCellUpdateRequestAttributes is a convenience function that returns NotebookLogStreamCellAttributes wrapped in NotebookCellUpdateRequestAttributes.

func NotebookMarkdownCellAttributesAsNotebookCellUpdateRequestAttributes ¶

func NotebookMarkdownCellAttributesAsNotebookCellUpdateRequestAttributes(v *NotebookMarkdownCellAttributes) NotebookCellUpdateRequestAttributes

NotebookMarkdownCellAttributesAsNotebookCellUpdateRequestAttributes is a convenience function that returns NotebookMarkdownCellAttributes wrapped in NotebookCellUpdateRequestAttributes.

func NotebookTimeseriesCellAttributesAsNotebookCellUpdateRequestAttributes ¶

func NotebookTimeseriesCellAttributesAsNotebookCellUpdateRequestAttributes(v *NotebookTimeseriesCellAttributes) NotebookCellUpdateRequestAttributes

NotebookTimeseriesCellAttributesAsNotebookCellUpdateRequestAttributes is a convenience function that returns NotebookTimeseriesCellAttributes wrapped in NotebookCellUpdateRequestAttributes.

func NotebookToplistCellAttributesAsNotebookCellUpdateRequestAttributes ¶

func NotebookToplistCellAttributesAsNotebookCellUpdateRequestAttributes(v *NotebookToplistCellAttributes) NotebookCellUpdateRequestAttributes

NotebookToplistCellAttributesAsNotebookCellUpdateRequestAttributes is a convenience function that returns NotebookToplistCellAttributes wrapped in NotebookCellUpdateRequestAttributes.

func (*NotebookCellUpdateRequestAttributes) GetActualInstance ¶

func (obj *NotebookCellUpdateRequestAttributes) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (NotebookCellUpdateRequestAttributes) MarshalJSON ¶

func (obj NotebookCellUpdateRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*NotebookCellUpdateRequestAttributes) UnmarshalJSON ¶

func (obj *NotebookCellUpdateRequestAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type NotebookCreateData ¶

type NotebookCreateData struct {
	// The data attributes of a notebook.
	Attributes NotebookCreateDataAttributes `json:"attributes"`
	// Type of the Notebook resource.
	Type NotebookResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookCreateData The data for a notebook create request.

func NewNotebookCreateData ¶

func NewNotebookCreateData(attributes NotebookCreateDataAttributes, typeVar NotebookResourceType) *NotebookCreateData

NewNotebookCreateData instantiates a new NotebookCreateData 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 NewNotebookCreateDataWithDefaults ¶

func NewNotebookCreateDataWithDefaults() *NotebookCreateData

NewNotebookCreateDataWithDefaults instantiates a new NotebookCreateData 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 (*NotebookCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*NotebookCreateData) GetAttributesOk ¶

func (o *NotebookCreateData) GetAttributesOk() (*NotebookCreateDataAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*NotebookCreateData) GetType ¶

GetType returns the Type field value.

func (*NotebookCreateData) GetTypeOk ¶

func (o *NotebookCreateData) GetTypeOk() (*NotebookResourceType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebookCreateData) MarshalJSON ¶

func (o NotebookCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookCreateData) SetAttributes ¶

SetAttributes sets field value.

func (*NotebookCreateData) SetType ¶

SetType sets field value.

func (*NotebookCreateData) UnmarshalJSON ¶

func (o *NotebookCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookCreateDataAttributes ¶

type NotebookCreateDataAttributes struct {
	// List of cells to display in the notebook.
	Cells []NotebookCellCreateRequest `json:"cells"`
	// Metadata associated with the notebook.
	Metadata *NotebookMetadata `json:"metadata,omitempty"`
	// The name of the notebook.
	Name string `json:"name"`
	// Publication status of the notebook. For now, always "published".
	Status *NotebookStatus `json:"status,omitempty"`
	// Notebook global timeframe.
	Time NotebookGlobalTime `json:"time"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookCreateDataAttributes The data attributes of a notebook.

func NewNotebookCreateDataAttributes ¶

func NewNotebookCreateDataAttributes(cells []NotebookCellCreateRequest, name string, time NotebookGlobalTime) *NotebookCreateDataAttributes

NewNotebookCreateDataAttributes instantiates a new NotebookCreateDataAttributes 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 NewNotebookCreateDataAttributesWithDefaults ¶

func NewNotebookCreateDataAttributesWithDefaults() *NotebookCreateDataAttributes

NewNotebookCreateDataAttributesWithDefaults instantiates a new NotebookCreateDataAttributes 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 (*NotebookCreateDataAttributes) GetCells ¶

GetCells returns the Cells field value.

func (*NotebookCreateDataAttributes) GetCellsOk ¶

GetCellsOk returns a tuple with the Cells field value and a boolean to check if the value has been set.

func (*NotebookCreateDataAttributes) GetMetadata ¶ added in v1.5.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*NotebookCreateDataAttributes) GetMetadataOk ¶ added in v1.5.0

func (o *NotebookCreateDataAttributes) GetMetadataOk() (*NotebookMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookCreateDataAttributes) GetName ¶

func (o *NotebookCreateDataAttributes) GetName() string

GetName returns the Name field value.

func (*NotebookCreateDataAttributes) GetNameOk ¶

func (o *NotebookCreateDataAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NotebookCreateDataAttributes) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*NotebookCreateDataAttributes) GetStatusOk ¶

func (o *NotebookCreateDataAttributes) GetStatusOk() (*NotebookStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookCreateDataAttributes) GetTime ¶

GetTime returns the Time field value.

func (*NotebookCreateDataAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*NotebookCreateDataAttributes) HasMetadata ¶ added in v1.5.0

func (o *NotebookCreateDataAttributes) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*NotebookCreateDataAttributes) HasStatus ¶

func (o *NotebookCreateDataAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NotebookCreateDataAttributes) MarshalJSON ¶

func (o NotebookCreateDataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookCreateDataAttributes) SetCells ¶

SetCells sets field value.

func (*NotebookCreateDataAttributes) SetMetadata ¶ added in v1.5.0

SetMetadata gets a reference to the given NotebookMetadata and assigns it to the Metadata field.

func (*NotebookCreateDataAttributes) SetName ¶

func (o *NotebookCreateDataAttributes) SetName(v string)

SetName sets field value.

func (*NotebookCreateDataAttributes) SetStatus ¶

SetStatus gets a reference to the given NotebookStatus and assigns it to the Status field.

func (*NotebookCreateDataAttributes) SetTime ¶

SetTime sets field value.

func (*NotebookCreateDataAttributes) UnmarshalJSON ¶

func (o *NotebookCreateDataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookCreateRequest ¶

type NotebookCreateRequest struct {
	// The data for a notebook create request.
	Data NotebookCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookCreateRequest The description of a notebook create request.

func NewNotebookCreateRequest ¶

func NewNotebookCreateRequest(data NotebookCreateData) *NotebookCreateRequest

NewNotebookCreateRequest instantiates a new NotebookCreateRequest 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 NewNotebookCreateRequestWithDefaults ¶

func NewNotebookCreateRequestWithDefaults() *NotebookCreateRequest

NewNotebookCreateRequestWithDefaults instantiates a new NotebookCreateRequest 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 (*NotebookCreateRequest) GetData ¶

GetData returns the Data field value.

func (*NotebookCreateRequest) GetDataOk ¶

func (o *NotebookCreateRequest) GetDataOk() (*NotebookCreateData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (NotebookCreateRequest) MarshalJSON ¶

func (o NotebookCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookCreateRequest) SetData ¶

SetData sets field value.

func (*NotebookCreateRequest) UnmarshalJSON ¶

func (o *NotebookCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookDistributionCellAttributes ¶

type NotebookDistributionCellAttributes struct {
	// The Distribution visualization is another way of showing metrics
	// aggregated across one or several tags, such as hosts.
	// Unlike the heat map, a distribution graph’s x-axis is quantity rather than time.
	Definition DistributionWidgetDefinition `json:"definition"`
	// The size of the graph.
	GraphSize *NotebookGraphSize `json:"graph_size,omitempty"`
	// Object describing how to split the graph to display multiple visualizations per request.
	SplitBy *NotebookSplitBy `json:"split_by,omitempty"`
	// Timeframe for the notebook cell. When 'null', the notebook global time is used.
	Time NullableNotebookCellTime `json:"time,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookDistributionCellAttributes The attributes of a notebook `distribution` cell.

func NewNotebookDistributionCellAttributes ¶

func NewNotebookDistributionCellAttributes(definition DistributionWidgetDefinition) *NotebookDistributionCellAttributes

NewNotebookDistributionCellAttributes instantiates a new NotebookDistributionCellAttributes 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 NewNotebookDistributionCellAttributesWithDefaults ¶

func NewNotebookDistributionCellAttributesWithDefaults() *NotebookDistributionCellAttributes

NewNotebookDistributionCellAttributesWithDefaults instantiates a new NotebookDistributionCellAttributes 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 (*NotebookDistributionCellAttributes) GetDefinition ¶

GetDefinition returns the Definition field value.

func (*NotebookDistributionCellAttributes) GetDefinitionOk ¶

GetDefinitionOk returns a tuple with the Definition field value and a boolean to check if the value has been set.

func (*NotebookDistributionCellAttributes) GetGraphSize ¶

GetGraphSize returns the GraphSize field value if set, zero value otherwise.

func (*NotebookDistributionCellAttributes) GetGraphSizeOk ¶

GetGraphSizeOk returns a tuple with the GraphSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookDistributionCellAttributes) GetSplitBy ¶

GetSplitBy returns the SplitBy field value if set, zero value otherwise.

func (*NotebookDistributionCellAttributes) GetSplitByOk ¶

GetSplitByOk returns a tuple with the SplitBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookDistributionCellAttributes) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookDistributionCellAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookDistributionCellAttributes) HasGraphSize ¶

func (o *NotebookDistributionCellAttributes) HasGraphSize() bool

HasGraphSize returns a boolean if a field has been set.

func (*NotebookDistributionCellAttributes) HasSplitBy ¶

func (o *NotebookDistributionCellAttributes) HasSplitBy() bool

HasSplitBy returns a boolean if a field has been set.

func (*NotebookDistributionCellAttributes) HasTime ¶

HasTime returns a boolean if a field has been set.

func (NotebookDistributionCellAttributes) MarshalJSON ¶

func (o NotebookDistributionCellAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookDistributionCellAttributes) SetDefinition ¶

SetDefinition sets field value.

func (*NotebookDistributionCellAttributes) SetGraphSize ¶

SetGraphSize gets a reference to the given NotebookGraphSize and assigns it to the GraphSize field.

func (*NotebookDistributionCellAttributes) SetSplitBy ¶

SetSplitBy gets a reference to the given NotebookSplitBy and assigns it to the SplitBy field.

func (*NotebookDistributionCellAttributes) SetTime ¶

SetTime gets a reference to the given NullableNotebookCellTime and assigns it to the Time field.

func (*NotebookDistributionCellAttributes) SetTimeNil ¶

func (o *NotebookDistributionCellAttributes) SetTimeNil()

SetTimeNil sets the value for Time to be an explicit nil.

func (*NotebookDistributionCellAttributes) UnmarshalJSON ¶

func (o *NotebookDistributionCellAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*NotebookDistributionCellAttributes) UnsetTime ¶

func (o *NotebookDistributionCellAttributes) UnsetTime()

UnsetTime ensures that no value is present for Time, not even an explicit nil.

type NotebookGlobalTime ¶

type NotebookGlobalTime struct {
	NotebookRelativeTime *NotebookRelativeTime
	NotebookAbsoluteTime *NotebookAbsoluteTime

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

NotebookGlobalTime - Notebook global timeframe.

func NotebookAbsoluteTimeAsNotebookGlobalTime ¶

func NotebookAbsoluteTimeAsNotebookGlobalTime(v *NotebookAbsoluteTime) NotebookGlobalTime

NotebookAbsoluteTimeAsNotebookGlobalTime is a convenience function that returns NotebookAbsoluteTime wrapped in NotebookGlobalTime.

func NotebookRelativeTimeAsNotebookGlobalTime ¶

func NotebookRelativeTimeAsNotebookGlobalTime(v *NotebookRelativeTime) NotebookGlobalTime

NotebookRelativeTimeAsNotebookGlobalTime is a convenience function that returns NotebookRelativeTime wrapped in NotebookGlobalTime.

func (*NotebookGlobalTime) GetActualInstance ¶

func (obj *NotebookGlobalTime) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (NotebookGlobalTime) MarshalJSON ¶

func (obj NotebookGlobalTime) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*NotebookGlobalTime) UnmarshalJSON ¶

func (obj *NotebookGlobalTime) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type NotebookGraphSize ¶

type NotebookGraphSize string

NotebookGraphSize The size of the graph.

const (
	NOTEBOOKGRAPHSIZE_EXTRA_SMALL NotebookGraphSize = "xs"
	NOTEBOOKGRAPHSIZE_SMALL       NotebookGraphSize = "s"
	NOTEBOOKGRAPHSIZE_MEDIUM      NotebookGraphSize = "m"
	NOTEBOOKGRAPHSIZE_LARGE       NotebookGraphSize = "l"
	NOTEBOOKGRAPHSIZE_EXTRA_LARGE NotebookGraphSize = "xl"
)

List of NotebookGraphSize.

func NewNotebookGraphSizeFromValue ¶

func NewNotebookGraphSizeFromValue(v string) (*NotebookGraphSize, error)

NewNotebookGraphSizeFromValue returns a pointer to a valid NotebookGraphSize for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*NotebookGraphSize) GetAllowedValues ¶ added in v1.1.0

func (v *NotebookGraphSize) GetAllowedValues() []NotebookGraphSize

GetAllowedValues reeturns the list of possible values.

func (NotebookGraphSize) IsValid ¶

func (v NotebookGraphSize) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (NotebookGraphSize) Ptr ¶

Ptr returns reference to NotebookGraphSize value.

func (*NotebookGraphSize) UnmarshalJSON ¶

func (v *NotebookGraphSize) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type NotebookHeatMapCellAttributes ¶

type NotebookHeatMapCellAttributes struct {
	// The heat map visualization shows metrics aggregated across many tags, such as hosts. The more hosts that have a particular value, the darker that square is.
	Definition HeatMapWidgetDefinition `json:"definition"`
	// The size of the graph.
	GraphSize *NotebookGraphSize `json:"graph_size,omitempty"`
	// Object describing how to split the graph to display multiple visualizations per request.
	SplitBy *NotebookSplitBy `json:"split_by,omitempty"`
	// Timeframe for the notebook cell. When 'null', the notebook global time is used.
	Time NullableNotebookCellTime `json:"time,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookHeatMapCellAttributes The attributes of a notebook `heatmap` cell.

func NewNotebookHeatMapCellAttributes ¶

func NewNotebookHeatMapCellAttributes(definition HeatMapWidgetDefinition) *NotebookHeatMapCellAttributes

NewNotebookHeatMapCellAttributes instantiates a new NotebookHeatMapCellAttributes 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 NewNotebookHeatMapCellAttributesWithDefaults ¶

func NewNotebookHeatMapCellAttributesWithDefaults() *NotebookHeatMapCellAttributes

NewNotebookHeatMapCellAttributesWithDefaults instantiates a new NotebookHeatMapCellAttributes 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 (*NotebookHeatMapCellAttributes) GetDefinition ¶

GetDefinition returns the Definition field value.

func (*NotebookHeatMapCellAttributes) GetDefinitionOk ¶

GetDefinitionOk returns a tuple with the Definition field value and a boolean to check if the value has been set.

func (*NotebookHeatMapCellAttributes) GetGraphSize ¶

GetGraphSize returns the GraphSize field value if set, zero value otherwise.

func (*NotebookHeatMapCellAttributes) GetGraphSizeOk ¶

func (o *NotebookHeatMapCellAttributes) GetGraphSizeOk() (*NotebookGraphSize, bool)

GetGraphSizeOk returns a tuple with the GraphSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookHeatMapCellAttributes) GetSplitBy ¶

GetSplitBy returns the SplitBy field value if set, zero value otherwise.

func (*NotebookHeatMapCellAttributes) GetSplitByOk ¶

func (o *NotebookHeatMapCellAttributes) GetSplitByOk() (*NotebookSplitBy, bool)

GetSplitByOk returns a tuple with the SplitBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookHeatMapCellAttributes) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookHeatMapCellAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookHeatMapCellAttributes) HasGraphSize ¶

func (o *NotebookHeatMapCellAttributes) HasGraphSize() bool

HasGraphSize returns a boolean if a field has been set.

func (*NotebookHeatMapCellAttributes) HasSplitBy ¶

func (o *NotebookHeatMapCellAttributes) HasSplitBy() bool

HasSplitBy returns a boolean if a field has been set.

func (*NotebookHeatMapCellAttributes) HasTime ¶

func (o *NotebookHeatMapCellAttributes) HasTime() bool

HasTime returns a boolean if a field has been set.

func (NotebookHeatMapCellAttributes) MarshalJSON ¶

func (o NotebookHeatMapCellAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookHeatMapCellAttributes) SetDefinition ¶

SetDefinition sets field value.

func (*NotebookHeatMapCellAttributes) SetGraphSize ¶

SetGraphSize gets a reference to the given NotebookGraphSize and assigns it to the GraphSize field.

func (*NotebookHeatMapCellAttributes) SetSplitBy ¶

SetSplitBy gets a reference to the given NotebookSplitBy and assigns it to the SplitBy field.

func (*NotebookHeatMapCellAttributes) SetTime ¶

SetTime gets a reference to the given NullableNotebookCellTime and assigns it to the Time field.

func (*NotebookHeatMapCellAttributes) SetTimeNil ¶

func (o *NotebookHeatMapCellAttributes) SetTimeNil()

SetTimeNil sets the value for Time to be an explicit nil.

func (*NotebookHeatMapCellAttributes) UnmarshalJSON ¶

func (o *NotebookHeatMapCellAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*NotebookHeatMapCellAttributes) UnsetTime ¶

func (o *NotebookHeatMapCellAttributes) UnsetTime()

UnsetTime ensures that no value is present for Time, not even an explicit nil.

type NotebookLogStreamCellAttributes ¶

type NotebookLogStreamCellAttributes struct {
	// The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.
	Definition LogStreamWidgetDefinition `json:"definition"`
	// The size of the graph.
	GraphSize *NotebookGraphSize `json:"graph_size,omitempty"`
	// Timeframe for the notebook cell. When 'null', the notebook global time is used.
	Time NullableNotebookCellTime `json:"time,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookLogStreamCellAttributes The attributes of a notebook `log_stream` cell.

func NewNotebookLogStreamCellAttributes ¶

func NewNotebookLogStreamCellAttributes(definition LogStreamWidgetDefinition) *NotebookLogStreamCellAttributes

NewNotebookLogStreamCellAttributes instantiates a new NotebookLogStreamCellAttributes 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 NewNotebookLogStreamCellAttributesWithDefaults ¶

func NewNotebookLogStreamCellAttributesWithDefaults() *NotebookLogStreamCellAttributes

NewNotebookLogStreamCellAttributesWithDefaults instantiates a new NotebookLogStreamCellAttributes 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 (*NotebookLogStreamCellAttributes) GetDefinition ¶

GetDefinition returns the Definition field value.

func (*NotebookLogStreamCellAttributes) GetDefinitionOk ¶

GetDefinitionOk returns a tuple with the Definition field value and a boolean to check if the value has been set.

func (*NotebookLogStreamCellAttributes) GetGraphSize ¶

GetGraphSize returns the GraphSize field value if set, zero value otherwise.

func (*NotebookLogStreamCellAttributes) GetGraphSizeOk ¶

func (o *NotebookLogStreamCellAttributes) GetGraphSizeOk() (*NotebookGraphSize, bool)

GetGraphSizeOk returns a tuple with the GraphSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookLogStreamCellAttributes) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookLogStreamCellAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookLogStreamCellAttributes) HasGraphSize ¶

func (o *NotebookLogStreamCellAttributes) HasGraphSize() bool

HasGraphSize returns a boolean if a field has been set.

func (*NotebookLogStreamCellAttributes) HasTime ¶

HasTime returns a boolean if a field has been set.

func (NotebookLogStreamCellAttributes) MarshalJSON ¶

func (o NotebookLogStreamCellAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookLogStreamCellAttributes) SetDefinition ¶

SetDefinition sets field value.

func (*NotebookLogStreamCellAttributes) SetGraphSize ¶

SetGraphSize gets a reference to the given NotebookGraphSize and assigns it to the GraphSize field.

func (*NotebookLogStreamCellAttributes) SetTime ¶

SetTime gets a reference to the given NullableNotebookCellTime and assigns it to the Time field.

func (*NotebookLogStreamCellAttributes) SetTimeNil ¶

func (o *NotebookLogStreamCellAttributes) SetTimeNil()

SetTimeNil sets the value for Time to be an explicit nil.

func (*NotebookLogStreamCellAttributes) UnmarshalJSON ¶

func (o *NotebookLogStreamCellAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*NotebookLogStreamCellAttributes) UnsetTime ¶

func (o *NotebookLogStreamCellAttributes) UnsetTime()

UnsetTime ensures that no value is present for Time, not even an explicit nil.

type NotebookMarkdownCellAttributes ¶

type NotebookMarkdownCellAttributes struct {
	// Text in a notebook is formatted with [Markdown](https://daringfireball.net/projects/markdown/), which enables the use of headings, subheadings, links, images, lists, and code blocks.
	Definition NotebookMarkdownCellDefinition `json:"definition"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookMarkdownCellAttributes The attributes of a notebook `markdown` cell.

func NewNotebookMarkdownCellAttributes ¶

func NewNotebookMarkdownCellAttributes(definition NotebookMarkdownCellDefinition) *NotebookMarkdownCellAttributes

NewNotebookMarkdownCellAttributes instantiates a new NotebookMarkdownCellAttributes 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 NewNotebookMarkdownCellAttributesWithDefaults ¶

func NewNotebookMarkdownCellAttributesWithDefaults() *NotebookMarkdownCellAttributes

NewNotebookMarkdownCellAttributesWithDefaults instantiates a new NotebookMarkdownCellAttributes 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 (*NotebookMarkdownCellAttributes) GetDefinition ¶

GetDefinition returns the Definition field value.

func (*NotebookMarkdownCellAttributes) GetDefinitionOk ¶

GetDefinitionOk returns a tuple with the Definition field value and a boolean to check if the value has been set.

func (NotebookMarkdownCellAttributes) MarshalJSON ¶

func (o NotebookMarkdownCellAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookMarkdownCellAttributes) SetDefinition ¶

SetDefinition sets field value.

func (*NotebookMarkdownCellAttributes) UnmarshalJSON ¶

func (o *NotebookMarkdownCellAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookMarkdownCellDefinition ¶

type NotebookMarkdownCellDefinition struct {
	// The markdown content.
	Text string `json:"text"`
	// Type of the markdown cell.
	Type NotebookMarkdownCellDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookMarkdownCellDefinition Text in a notebook is formatted with [Markdown](https://daringfireball.net/projects/markdown/), which enables the use of headings, subheadings, links, images, lists, and code blocks.

func NewNotebookMarkdownCellDefinition ¶

func NewNotebookMarkdownCellDefinition(text string, typeVar NotebookMarkdownCellDefinitionType) *NotebookMarkdownCellDefinition

NewNotebookMarkdownCellDefinition instantiates a new NotebookMarkdownCellDefinition 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 NewNotebookMarkdownCellDefinitionWithDefaults ¶

func NewNotebookMarkdownCellDefinitionWithDefaults() *NotebookMarkdownCellDefinition

NewNotebookMarkdownCellDefinitionWithDefaults instantiates a new NotebookMarkdownCellDefinition 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 (*NotebookMarkdownCellDefinition) GetText ¶

GetText returns the Text field value.

func (*NotebookMarkdownCellDefinition) GetTextOk ¶

func (o *NotebookMarkdownCellDefinition) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*NotebookMarkdownCellDefinition) GetType ¶

GetType returns the Type field value.

func (*NotebookMarkdownCellDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebookMarkdownCellDefinition) MarshalJSON ¶

func (o NotebookMarkdownCellDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookMarkdownCellDefinition) SetText ¶

func (o *NotebookMarkdownCellDefinition) SetText(v string)

SetText sets field value.

func (*NotebookMarkdownCellDefinition) SetType ¶

SetType sets field value.

func (*NotebookMarkdownCellDefinition) UnmarshalJSON ¶

func (o *NotebookMarkdownCellDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookMarkdownCellDefinitionType ¶

type NotebookMarkdownCellDefinitionType string

NotebookMarkdownCellDefinitionType Type of the markdown cell.

const (
	NOTEBOOKMARKDOWNCELLDEFINITIONTYPE_MARKDOWN NotebookMarkdownCellDefinitionType = "markdown"
)

List of NotebookMarkdownCellDefinitionType.

func NewNotebookMarkdownCellDefinitionTypeFromValue ¶

func NewNotebookMarkdownCellDefinitionTypeFromValue(v string) (*NotebookMarkdownCellDefinitionType, error)

NewNotebookMarkdownCellDefinitionTypeFromValue returns a pointer to a valid NotebookMarkdownCellDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*NotebookMarkdownCellDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (NotebookMarkdownCellDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (NotebookMarkdownCellDefinitionType) Ptr ¶

Ptr returns reference to NotebookMarkdownCellDefinitionType value.

func (*NotebookMarkdownCellDefinitionType) UnmarshalJSON ¶

func (v *NotebookMarkdownCellDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type NotebookMetadata ¶ added in v1.5.0

type NotebookMetadata struct {
	// Whether or not the notebook is a template.
	IsTemplate *bool `json:"is_template,omitempty"`
	// Whether or not the notebook takes snapshot image backups of the notebook's fixed-time graphs.
	TakeSnapshots *bool `json:"take_snapshots,omitempty"`
	// Metadata type of the notebook.
	Type NullableNotebookMetadataType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookMetadata Metadata associated with the notebook.

func NewNotebookMetadata ¶ added in v1.5.0

func NewNotebookMetadata() *NotebookMetadata

NewNotebookMetadata instantiates a new NotebookMetadata 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 NewNotebookMetadataWithDefaults ¶ added in v1.5.0

func NewNotebookMetadataWithDefaults() *NotebookMetadata

NewNotebookMetadataWithDefaults instantiates a new NotebookMetadata 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 (*NotebookMetadata) GetIsTemplate ¶ added in v1.5.0

func (o *NotebookMetadata) GetIsTemplate() bool

GetIsTemplate returns the IsTemplate field value if set, zero value otherwise.

func (*NotebookMetadata) GetIsTemplateOk ¶ added in v1.5.0

func (o *NotebookMetadata) GetIsTemplateOk() (*bool, bool)

GetIsTemplateOk returns a tuple with the IsTemplate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookMetadata) GetTakeSnapshots ¶ added in v1.5.0

func (o *NotebookMetadata) GetTakeSnapshots() bool

GetTakeSnapshots returns the TakeSnapshots field value if set, zero value otherwise.

func (*NotebookMetadata) GetTakeSnapshotsOk ¶ added in v1.5.0

func (o *NotebookMetadata) GetTakeSnapshotsOk() (*bool, bool)

GetTakeSnapshotsOk returns a tuple with the TakeSnapshots field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookMetadata) GetType ¶ added in v1.5.0

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookMetadata) GetTypeOk ¶ added in v1.5.0

func (o *NotebookMetadata) GetTypeOk() (*NotebookMetadataType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookMetadata) HasIsTemplate ¶ added in v1.5.0

func (o *NotebookMetadata) HasIsTemplate() bool

HasIsTemplate returns a boolean if a field has been set.

func (*NotebookMetadata) HasTakeSnapshots ¶ added in v1.5.0

func (o *NotebookMetadata) HasTakeSnapshots() bool

HasTakeSnapshots returns a boolean if a field has been set.

func (*NotebookMetadata) HasType ¶ added in v1.5.0

func (o *NotebookMetadata) HasType() bool

HasType returns a boolean if a field has been set.

func (NotebookMetadata) MarshalJSON ¶ added in v1.5.0

func (o NotebookMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookMetadata) SetIsTemplate ¶ added in v1.5.0

func (o *NotebookMetadata) SetIsTemplate(v bool)

SetIsTemplate gets a reference to the given bool and assigns it to the IsTemplate field.

func (*NotebookMetadata) SetTakeSnapshots ¶ added in v1.5.0

func (o *NotebookMetadata) SetTakeSnapshots(v bool)

SetTakeSnapshots gets a reference to the given bool and assigns it to the TakeSnapshots field.

func (*NotebookMetadata) SetType ¶ added in v1.5.0

func (o *NotebookMetadata) SetType(v NotebookMetadataType)

SetType gets a reference to the given NullableNotebookMetadataType and assigns it to the Type field.

func (*NotebookMetadata) SetTypeNil ¶ added in v1.5.0

func (o *NotebookMetadata) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil.

func (*NotebookMetadata) UnmarshalJSON ¶ added in v1.5.0

func (o *NotebookMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*NotebookMetadata) UnsetType ¶ added in v1.5.0

func (o *NotebookMetadata) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil.

type NotebookMetadataType ¶ added in v1.5.0

type NotebookMetadataType string

NotebookMetadataType Metadata type of the notebook.

const (
	NOTEBOOKMETADATATYPE_POSTMORTEM    NotebookMetadataType = "postmortem"
	NOTEBOOKMETADATATYPE_RUNBOOK       NotebookMetadataType = "runbook"
	NOTEBOOKMETADATATYPE_INVESTIGATION NotebookMetadataType = "investigation"
	NOTEBOOKMETADATATYPE_DOCUMENTATION NotebookMetadataType = "documentation"
	NOTEBOOKMETADATATYPE_REPORT        NotebookMetadataType = "report"
)

List of NotebookMetadataType.

func NewNotebookMetadataTypeFromValue ¶ added in v1.5.0

func NewNotebookMetadataTypeFromValue(v string) (*NotebookMetadataType, error)

NewNotebookMetadataTypeFromValue returns a pointer to a valid NotebookMetadataType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*NotebookMetadataType) GetAllowedValues ¶ added in v1.5.0

func (v *NotebookMetadataType) GetAllowedValues() []NotebookMetadataType

GetAllowedValues reeturns the list of possible values.

func (NotebookMetadataType) IsValid ¶ added in v1.5.0

func (v NotebookMetadataType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (NotebookMetadataType) Ptr ¶ added in v1.5.0

Ptr returns reference to NotebookMetadataType value.

func (*NotebookMetadataType) UnmarshalJSON ¶ added in v1.5.0

func (v *NotebookMetadataType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type NotebookRelativeTime ¶

type NotebookRelativeTime struct {
	// The available timeframes depend on the widget you are using.
	LiveSpan WidgetLiveSpan `json:"live_span"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookRelativeTime Relative timeframe.

func NewNotebookRelativeTime ¶

func NewNotebookRelativeTime(liveSpan WidgetLiveSpan) *NotebookRelativeTime

NewNotebookRelativeTime instantiates a new NotebookRelativeTime 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 NewNotebookRelativeTimeWithDefaults ¶

func NewNotebookRelativeTimeWithDefaults() *NotebookRelativeTime

NewNotebookRelativeTimeWithDefaults instantiates a new NotebookRelativeTime 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 (*NotebookRelativeTime) GetLiveSpan ¶

func (o *NotebookRelativeTime) GetLiveSpan() WidgetLiveSpan

GetLiveSpan returns the LiveSpan field value.

func (*NotebookRelativeTime) GetLiveSpanOk ¶

func (o *NotebookRelativeTime) GetLiveSpanOk() (*WidgetLiveSpan, bool)

GetLiveSpanOk returns a tuple with the LiveSpan field value and a boolean to check if the value has been set.

func (NotebookRelativeTime) MarshalJSON ¶

func (o NotebookRelativeTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookRelativeTime) SetLiveSpan ¶

func (o *NotebookRelativeTime) SetLiveSpan(v WidgetLiveSpan)

SetLiveSpan sets field value.

func (*NotebookRelativeTime) UnmarshalJSON ¶

func (o *NotebookRelativeTime) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookResourceType ¶

type NotebookResourceType string

NotebookResourceType Type of the Notebook resource.

const (
	NOTEBOOKRESOURCETYPE_NOTEBOOKS NotebookResourceType = "notebooks"
)

List of NotebookResourceType.

func NewNotebookResourceTypeFromValue ¶

func NewNotebookResourceTypeFromValue(v string) (*NotebookResourceType, error)

NewNotebookResourceTypeFromValue returns a pointer to a valid NotebookResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*NotebookResourceType) GetAllowedValues ¶ added in v1.1.0

func (v *NotebookResourceType) GetAllowedValues() []NotebookResourceType

GetAllowedValues reeturns the list of possible values.

func (NotebookResourceType) IsValid ¶

func (v NotebookResourceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (NotebookResourceType) Ptr ¶

Ptr returns reference to NotebookResourceType value.

func (*NotebookResourceType) UnmarshalJSON ¶

func (v *NotebookResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type NotebookResponse ¶

type NotebookResponse struct {
	// The data for a notebook.
	Data *NotebookResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookResponse The description of a notebook response.

func NewNotebookResponse ¶

func NewNotebookResponse() *NotebookResponse

NewNotebookResponse instantiates a new NotebookResponse 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 NewNotebookResponseWithDefaults ¶

func NewNotebookResponseWithDefaults() *NotebookResponse

NewNotebookResponseWithDefaults instantiates a new NotebookResponse 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 (*NotebookResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*NotebookResponse) GetDataOk ¶

func (o *NotebookResponse) GetDataOk() (*NotebookResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookResponse) HasData ¶

func (o *NotebookResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (NotebookResponse) MarshalJSON ¶

func (o NotebookResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookResponse) SetData ¶

func (o *NotebookResponse) SetData(v NotebookResponseData)

SetData gets a reference to the given NotebookResponseData and assigns it to the Data field.

func (*NotebookResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *NotebookResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookResponseData ¶

type NotebookResponseData struct {
	// The attributes of a notebook.
	Attributes NotebookResponseDataAttributes `json:"attributes"`
	// Unique notebook ID, assigned when you create the notebook.
	Id int64 `json:"id"`
	// Type of the Notebook resource.
	Type NotebookResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookResponseData The data for a notebook.

func NewNotebookResponseData ¶

func NewNotebookResponseData(attributes NotebookResponseDataAttributes, id int64, typeVar NotebookResourceType) *NotebookResponseData

NewNotebookResponseData instantiates a new NotebookResponseData 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 NewNotebookResponseDataWithDefaults ¶

func NewNotebookResponseDataWithDefaults() *NotebookResponseData

NewNotebookResponseDataWithDefaults instantiates a new NotebookResponseData 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 (*NotebookResponseData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*NotebookResponseData) GetAttributesOk ¶

func (o *NotebookResponseData) GetAttributesOk() (*NotebookResponseDataAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*NotebookResponseData) GetId ¶

func (o *NotebookResponseData) GetId() int64

GetId returns the Id field value.

func (*NotebookResponseData) GetIdOk ¶

func (o *NotebookResponseData) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NotebookResponseData) GetType ¶

GetType returns the Type field value.

func (*NotebookResponseData) GetTypeOk ¶

func (o *NotebookResponseData) GetTypeOk() (*NotebookResourceType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebookResponseData) MarshalJSON ¶

func (o NotebookResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookResponseData) SetAttributes ¶

SetAttributes sets field value.

func (*NotebookResponseData) SetId ¶

func (o *NotebookResponseData) SetId(v int64)

SetId sets field value.

func (*NotebookResponseData) SetType ¶

SetType sets field value.

func (*NotebookResponseData) UnmarshalJSON ¶

func (o *NotebookResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookResponseDataAttributes ¶

type NotebookResponseDataAttributes struct {
	// Attributes of user object returned by the API.
	Author *NotebookAuthor `json:"author,omitempty"`
	// List of cells to display in the notebook.
	Cells []NotebookCellResponse `json:"cells"`
	// UTC time stamp for when the notebook was created.
	Created *time.Time `json:"created,omitempty"`
	// Metadata associated with the notebook.
	Metadata *NotebookMetadata `json:"metadata,omitempty"`
	// UTC time stamp for when the notebook was last modified.
	Modified *time.Time `json:"modified,omitempty"`
	// The name of the notebook.
	Name string `json:"name"`
	// Publication status of the notebook. For now, always "published".
	Status *NotebookStatus `json:"status,omitempty"`
	// Notebook global timeframe.
	Time NotebookGlobalTime `json:"time"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookResponseDataAttributes The attributes of a notebook.

func NewNotebookResponseDataAttributes ¶

func NewNotebookResponseDataAttributes(cells []NotebookCellResponse, name string, time NotebookGlobalTime) *NotebookResponseDataAttributes

NewNotebookResponseDataAttributes instantiates a new NotebookResponseDataAttributes 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 NewNotebookResponseDataAttributesWithDefaults ¶

func NewNotebookResponseDataAttributesWithDefaults() *NotebookResponseDataAttributes

NewNotebookResponseDataAttributesWithDefaults instantiates a new NotebookResponseDataAttributes 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 (*NotebookResponseDataAttributes) GetAuthor ¶

GetAuthor returns the Author field value if set, zero value otherwise.

func (*NotebookResponseDataAttributes) GetAuthorOk ¶

func (o *NotebookResponseDataAttributes) GetAuthorOk() (*NotebookAuthor, bool)

GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookResponseDataAttributes) GetCells ¶

GetCells returns the Cells field value.

func (*NotebookResponseDataAttributes) GetCellsOk ¶

GetCellsOk returns a tuple with the Cells field value and a boolean to check if the value has been set.

func (*NotebookResponseDataAttributes) GetCreated ¶

func (o *NotebookResponseDataAttributes) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*NotebookResponseDataAttributes) GetCreatedOk ¶

func (o *NotebookResponseDataAttributes) GetCreatedOk() (*time.Time, 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 (*NotebookResponseDataAttributes) GetMetadata ¶ added in v1.5.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*NotebookResponseDataAttributes) GetMetadataOk ¶ added in v1.5.0

func (o *NotebookResponseDataAttributes) GetMetadataOk() (*NotebookMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookResponseDataAttributes) GetModified ¶

func (o *NotebookResponseDataAttributes) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*NotebookResponseDataAttributes) GetModifiedOk ¶

func (o *NotebookResponseDataAttributes) GetModifiedOk() (*time.Time, bool)

GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookResponseDataAttributes) GetName ¶

GetName returns the Name field value.

func (*NotebookResponseDataAttributes) GetNameOk ¶

func (o *NotebookResponseDataAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NotebookResponseDataAttributes) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*NotebookResponseDataAttributes) GetStatusOk ¶

func (o *NotebookResponseDataAttributes) GetStatusOk() (*NotebookStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookResponseDataAttributes) GetTime ¶

GetTime returns the Time field value.

func (*NotebookResponseDataAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*NotebookResponseDataAttributes) HasAuthor ¶

func (o *NotebookResponseDataAttributes) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*NotebookResponseDataAttributes) HasCreated ¶

func (o *NotebookResponseDataAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*NotebookResponseDataAttributes) HasMetadata ¶ added in v1.5.0

func (o *NotebookResponseDataAttributes) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*NotebookResponseDataAttributes) HasModified ¶

func (o *NotebookResponseDataAttributes) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*NotebookResponseDataAttributes) HasStatus ¶

func (o *NotebookResponseDataAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NotebookResponseDataAttributes) MarshalJSON ¶

func (o NotebookResponseDataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookResponseDataAttributes) SetAuthor ¶

SetAuthor gets a reference to the given NotebookAuthor and assigns it to the Author field.

func (*NotebookResponseDataAttributes) SetCells ¶

SetCells sets field value.

func (*NotebookResponseDataAttributes) SetCreated ¶

func (o *NotebookResponseDataAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*NotebookResponseDataAttributes) SetMetadata ¶ added in v1.5.0

SetMetadata gets a reference to the given NotebookMetadata and assigns it to the Metadata field.

func (*NotebookResponseDataAttributes) SetModified ¶

func (o *NotebookResponseDataAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*NotebookResponseDataAttributes) SetName ¶

func (o *NotebookResponseDataAttributes) SetName(v string)

SetName sets field value.

func (*NotebookResponseDataAttributes) SetStatus ¶

SetStatus gets a reference to the given NotebookStatus and assigns it to the Status field.

func (*NotebookResponseDataAttributes) SetTime ¶

SetTime sets field value.

func (*NotebookResponseDataAttributes) UnmarshalJSON ¶

func (o *NotebookResponseDataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookSplitBy ¶

type NotebookSplitBy struct {
	// Keys to split on.
	Keys []string `json:"keys"`
	// Tags to split on.
	Tags []string `json:"tags"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookSplitBy Object describing how to split the graph to display multiple visualizations per request.

func NewNotebookSplitBy ¶

func NewNotebookSplitBy(keys []string, tags []string) *NotebookSplitBy

NewNotebookSplitBy instantiates a new NotebookSplitBy 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 NewNotebookSplitByWithDefaults ¶

func NewNotebookSplitByWithDefaults() *NotebookSplitBy

NewNotebookSplitByWithDefaults instantiates a new NotebookSplitBy 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 (*NotebookSplitBy) GetKeys ¶

func (o *NotebookSplitBy) GetKeys() []string

GetKeys returns the Keys field value.

func (*NotebookSplitBy) GetKeysOk ¶

func (o *NotebookSplitBy) GetKeysOk() (*[]string, bool)

GetKeysOk returns a tuple with the Keys field value and a boolean to check if the value has been set.

func (*NotebookSplitBy) GetTags ¶

func (o *NotebookSplitBy) GetTags() []string

GetTags returns the Tags field value.

func (*NotebookSplitBy) GetTagsOk ¶

func (o *NotebookSplitBy) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (NotebookSplitBy) MarshalJSON ¶

func (o NotebookSplitBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookSplitBy) SetKeys ¶

func (o *NotebookSplitBy) SetKeys(v []string)

SetKeys sets field value.

func (*NotebookSplitBy) SetTags ¶

func (o *NotebookSplitBy) SetTags(v []string)

SetTags sets field value.

func (*NotebookSplitBy) UnmarshalJSON ¶

func (o *NotebookSplitBy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookStatus ¶

type NotebookStatus string

NotebookStatus Publication status of the notebook. For now, always "published".

const (
	NOTEBOOKSTATUS_PUBLISHED NotebookStatus = "published"
)

List of NotebookStatus.

func NewNotebookStatusFromValue ¶

func NewNotebookStatusFromValue(v string) (*NotebookStatus, error)

NewNotebookStatusFromValue returns a pointer to a valid NotebookStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*NotebookStatus) GetAllowedValues ¶ added in v1.1.0

func (v *NotebookStatus) GetAllowedValues() []NotebookStatus

GetAllowedValues reeturns the list of possible values.

func (NotebookStatus) IsValid ¶

func (v NotebookStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (NotebookStatus) Ptr ¶

func (v NotebookStatus) Ptr() *NotebookStatus

Ptr returns reference to NotebookStatus value.

func (*NotebookStatus) UnmarshalJSON ¶

func (v *NotebookStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type NotebookTimeseriesCellAttributes ¶

type NotebookTimeseriesCellAttributes struct {
	// The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time.
	Definition TimeseriesWidgetDefinition `json:"definition"`
	// The size of the graph.
	GraphSize *NotebookGraphSize `json:"graph_size,omitempty"`
	// Object describing how to split the graph to display multiple visualizations per request.
	SplitBy *NotebookSplitBy `json:"split_by,omitempty"`
	// Timeframe for the notebook cell. When 'null', the notebook global time is used.
	Time NullableNotebookCellTime `json:"time,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookTimeseriesCellAttributes The attributes of a notebook `timeseries` cell.

func NewNotebookTimeseriesCellAttributes ¶

func NewNotebookTimeseriesCellAttributes(definition TimeseriesWidgetDefinition) *NotebookTimeseriesCellAttributes

NewNotebookTimeseriesCellAttributes instantiates a new NotebookTimeseriesCellAttributes 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 NewNotebookTimeseriesCellAttributesWithDefaults ¶

func NewNotebookTimeseriesCellAttributesWithDefaults() *NotebookTimeseriesCellAttributes

NewNotebookTimeseriesCellAttributesWithDefaults instantiates a new NotebookTimeseriesCellAttributes 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 (*NotebookTimeseriesCellAttributes) GetDefinition ¶

GetDefinition returns the Definition field value.

func (*NotebookTimeseriesCellAttributes) GetDefinitionOk ¶

GetDefinitionOk returns a tuple with the Definition field value and a boolean to check if the value has been set.

func (*NotebookTimeseriesCellAttributes) GetGraphSize ¶

GetGraphSize returns the GraphSize field value if set, zero value otherwise.

func (*NotebookTimeseriesCellAttributes) GetGraphSizeOk ¶

GetGraphSizeOk returns a tuple with the GraphSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookTimeseriesCellAttributes) GetSplitBy ¶

GetSplitBy returns the SplitBy field value if set, zero value otherwise.

func (*NotebookTimeseriesCellAttributes) GetSplitByOk ¶

GetSplitByOk returns a tuple with the SplitBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookTimeseriesCellAttributes) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookTimeseriesCellAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookTimeseriesCellAttributes) HasGraphSize ¶

func (o *NotebookTimeseriesCellAttributes) HasGraphSize() bool

HasGraphSize returns a boolean if a field has been set.

func (*NotebookTimeseriesCellAttributes) HasSplitBy ¶

func (o *NotebookTimeseriesCellAttributes) HasSplitBy() bool

HasSplitBy returns a boolean if a field has been set.

func (*NotebookTimeseriesCellAttributes) HasTime ¶

HasTime returns a boolean if a field has been set.

func (NotebookTimeseriesCellAttributes) MarshalJSON ¶

func (o NotebookTimeseriesCellAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookTimeseriesCellAttributes) SetDefinition ¶

SetDefinition sets field value.

func (*NotebookTimeseriesCellAttributes) SetGraphSize ¶

SetGraphSize gets a reference to the given NotebookGraphSize and assigns it to the GraphSize field.

func (*NotebookTimeseriesCellAttributes) SetSplitBy ¶

SetSplitBy gets a reference to the given NotebookSplitBy and assigns it to the SplitBy field.

func (*NotebookTimeseriesCellAttributes) SetTime ¶

SetTime gets a reference to the given NullableNotebookCellTime and assigns it to the Time field.

func (*NotebookTimeseriesCellAttributes) SetTimeNil ¶

func (o *NotebookTimeseriesCellAttributes) SetTimeNil()

SetTimeNil sets the value for Time to be an explicit nil.

func (*NotebookTimeseriesCellAttributes) UnmarshalJSON ¶

func (o *NotebookTimeseriesCellAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*NotebookTimeseriesCellAttributes) UnsetTime ¶

func (o *NotebookTimeseriesCellAttributes) UnsetTime()

UnsetTime ensures that no value is present for Time, not even an explicit nil.

type NotebookToplistCellAttributes ¶

type NotebookToplistCellAttributes struct {
	// The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc.
	Definition ToplistWidgetDefinition `json:"definition"`
	// The size of the graph.
	GraphSize *NotebookGraphSize `json:"graph_size,omitempty"`
	// Object describing how to split the graph to display multiple visualizations per request.
	SplitBy *NotebookSplitBy `json:"split_by,omitempty"`
	// Timeframe for the notebook cell. When 'null', the notebook global time is used.
	Time NullableNotebookCellTime `json:"time,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookToplistCellAttributes The attributes of a notebook `toplist` cell.

func NewNotebookToplistCellAttributes ¶

func NewNotebookToplistCellAttributes(definition ToplistWidgetDefinition) *NotebookToplistCellAttributes

NewNotebookToplistCellAttributes instantiates a new NotebookToplistCellAttributes 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 NewNotebookToplistCellAttributesWithDefaults ¶

func NewNotebookToplistCellAttributesWithDefaults() *NotebookToplistCellAttributes

NewNotebookToplistCellAttributesWithDefaults instantiates a new NotebookToplistCellAttributes 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 (*NotebookToplistCellAttributes) GetDefinition ¶

GetDefinition returns the Definition field value.

func (*NotebookToplistCellAttributes) GetDefinitionOk ¶

GetDefinitionOk returns a tuple with the Definition field value and a boolean to check if the value has been set.

func (*NotebookToplistCellAttributes) GetGraphSize ¶

GetGraphSize returns the GraphSize field value if set, zero value otherwise.

func (*NotebookToplistCellAttributes) GetGraphSizeOk ¶

func (o *NotebookToplistCellAttributes) GetGraphSizeOk() (*NotebookGraphSize, bool)

GetGraphSizeOk returns a tuple with the GraphSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookToplistCellAttributes) GetSplitBy ¶

GetSplitBy returns the SplitBy field value if set, zero value otherwise.

func (*NotebookToplistCellAttributes) GetSplitByOk ¶

func (o *NotebookToplistCellAttributes) GetSplitByOk() (*NotebookSplitBy, bool)

GetSplitByOk returns a tuple with the SplitBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookToplistCellAttributes) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NotebookToplistCellAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*NotebookToplistCellAttributes) HasGraphSize ¶

func (o *NotebookToplistCellAttributes) HasGraphSize() bool

HasGraphSize returns a boolean if a field has been set.

func (*NotebookToplistCellAttributes) HasSplitBy ¶

func (o *NotebookToplistCellAttributes) HasSplitBy() bool

HasSplitBy returns a boolean if a field has been set.

func (*NotebookToplistCellAttributes) HasTime ¶

func (o *NotebookToplistCellAttributes) HasTime() bool

HasTime returns a boolean if a field has been set.

func (NotebookToplistCellAttributes) MarshalJSON ¶

func (o NotebookToplistCellAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookToplistCellAttributes) SetDefinition ¶

SetDefinition sets field value.

func (*NotebookToplistCellAttributes) SetGraphSize ¶

SetGraphSize gets a reference to the given NotebookGraphSize and assigns it to the GraphSize field.

func (*NotebookToplistCellAttributes) SetSplitBy ¶

SetSplitBy gets a reference to the given NotebookSplitBy and assigns it to the SplitBy field.

func (*NotebookToplistCellAttributes) SetTime ¶

SetTime gets a reference to the given NullableNotebookCellTime and assigns it to the Time field.

func (*NotebookToplistCellAttributes) SetTimeNil ¶

func (o *NotebookToplistCellAttributes) SetTimeNil()

SetTimeNil sets the value for Time to be an explicit nil.

func (*NotebookToplistCellAttributes) UnmarshalJSON ¶

func (o *NotebookToplistCellAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*NotebookToplistCellAttributes) UnsetTime ¶

func (o *NotebookToplistCellAttributes) UnsetTime()

UnsetTime ensures that no value is present for Time, not even an explicit nil.

type NotebookUpdateCell ¶

type NotebookUpdateCell struct {
	NotebookCellCreateRequest *NotebookCellCreateRequest
	NotebookCellUpdateRequest *NotebookCellUpdateRequest

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

NotebookUpdateCell - Updating a notebook can either insert new cell(s) or update existing cell(s) by including the cell `id`. To delete existing cell(s), simply omit it from the list of cells.

func NotebookCellCreateRequestAsNotebookUpdateCell ¶

func NotebookCellCreateRequestAsNotebookUpdateCell(v *NotebookCellCreateRequest) NotebookUpdateCell

NotebookCellCreateRequestAsNotebookUpdateCell is a convenience function that returns NotebookCellCreateRequest wrapped in NotebookUpdateCell.

func NotebookCellUpdateRequestAsNotebookUpdateCell ¶

func NotebookCellUpdateRequestAsNotebookUpdateCell(v *NotebookCellUpdateRequest) NotebookUpdateCell

NotebookCellUpdateRequestAsNotebookUpdateCell is a convenience function that returns NotebookCellUpdateRequest wrapped in NotebookUpdateCell.

func (*NotebookUpdateCell) GetActualInstance ¶

func (obj *NotebookUpdateCell) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (NotebookUpdateCell) MarshalJSON ¶

func (obj NotebookUpdateCell) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*NotebookUpdateCell) UnmarshalJSON ¶

func (obj *NotebookUpdateCell) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type NotebookUpdateData ¶

type NotebookUpdateData struct {
	// The data attributes of a notebook.
	Attributes NotebookUpdateDataAttributes `json:"attributes"`
	// Type of the Notebook resource.
	Type NotebookResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookUpdateData The data for a notebook update request.

func NewNotebookUpdateData ¶

func NewNotebookUpdateData(attributes NotebookUpdateDataAttributes, typeVar NotebookResourceType) *NotebookUpdateData

NewNotebookUpdateData instantiates a new NotebookUpdateData 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 NewNotebookUpdateDataWithDefaults ¶

func NewNotebookUpdateDataWithDefaults() *NotebookUpdateData

NewNotebookUpdateDataWithDefaults instantiates a new NotebookUpdateData 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 (*NotebookUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*NotebookUpdateData) GetAttributesOk ¶

func (o *NotebookUpdateData) GetAttributesOk() (*NotebookUpdateDataAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*NotebookUpdateData) GetType ¶

GetType returns the Type field value.

func (*NotebookUpdateData) GetTypeOk ¶

func (o *NotebookUpdateData) GetTypeOk() (*NotebookResourceType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebookUpdateData) MarshalJSON ¶

func (o NotebookUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookUpdateData) SetAttributes ¶

SetAttributes sets field value.

func (*NotebookUpdateData) SetType ¶

SetType sets field value.

func (*NotebookUpdateData) UnmarshalJSON ¶

func (o *NotebookUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookUpdateDataAttributes ¶

type NotebookUpdateDataAttributes struct {
	// List of cells to display in the notebook.
	Cells []NotebookUpdateCell `json:"cells"`
	// Metadata associated with the notebook.
	Metadata *NotebookMetadata `json:"metadata,omitempty"`
	// The name of the notebook.
	Name string `json:"name"`
	// Publication status of the notebook. For now, always "published".
	Status *NotebookStatus `json:"status,omitempty"`
	// Notebook global timeframe.
	Time NotebookGlobalTime `json:"time"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookUpdateDataAttributes The data attributes of a notebook.

func NewNotebookUpdateDataAttributes ¶

func NewNotebookUpdateDataAttributes(cells []NotebookUpdateCell, name string, time NotebookGlobalTime) *NotebookUpdateDataAttributes

NewNotebookUpdateDataAttributes instantiates a new NotebookUpdateDataAttributes 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 NewNotebookUpdateDataAttributesWithDefaults ¶

func NewNotebookUpdateDataAttributesWithDefaults() *NotebookUpdateDataAttributes

NewNotebookUpdateDataAttributesWithDefaults instantiates a new NotebookUpdateDataAttributes 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 (*NotebookUpdateDataAttributes) GetCells ¶

GetCells returns the Cells field value.

func (*NotebookUpdateDataAttributes) GetCellsOk ¶

GetCellsOk returns a tuple with the Cells field value and a boolean to check if the value has been set.

func (*NotebookUpdateDataAttributes) GetMetadata ¶ added in v1.5.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*NotebookUpdateDataAttributes) GetMetadataOk ¶ added in v1.5.0

func (o *NotebookUpdateDataAttributes) GetMetadataOk() (*NotebookMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookUpdateDataAttributes) GetName ¶

func (o *NotebookUpdateDataAttributes) GetName() string

GetName returns the Name field value.

func (*NotebookUpdateDataAttributes) GetNameOk ¶

func (o *NotebookUpdateDataAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NotebookUpdateDataAttributes) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*NotebookUpdateDataAttributes) GetStatusOk ¶

func (o *NotebookUpdateDataAttributes) GetStatusOk() (*NotebookStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebookUpdateDataAttributes) GetTime ¶

GetTime returns the Time field value.

func (*NotebookUpdateDataAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*NotebookUpdateDataAttributes) HasMetadata ¶ added in v1.5.0

func (o *NotebookUpdateDataAttributes) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*NotebookUpdateDataAttributes) HasStatus ¶

func (o *NotebookUpdateDataAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NotebookUpdateDataAttributes) MarshalJSON ¶

func (o NotebookUpdateDataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookUpdateDataAttributes) SetCells ¶

SetCells sets field value.

func (*NotebookUpdateDataAttributes) SetMetadata ¶ added in v1.5.0

SetMetadata gets a reference to the given NotebookMetadata and assigns it to the Metadata field.

func (*NotebookUpdateDataAttributes) SetName ¶

func (o *NotebookUpdateDataAttributes) SetName(v string)

SetName sets field value.

func (*NotebookUpdateDataAttributes) SetStatus ¶

SetStatus gets a reference to the given NotebookStatus and assigns it to the Status field.

func (*NotebookUpdateDataAttributes) SetTime ¶

SetTime sets field value.

func (*NotebookUpdateDataAttributes) UnmarshalJSON ¶

func (o *NotebookUpdateDataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebookUpdateRequest ¶

type NotebookUpdateRequest struct {
	// The data for a notebook update request.
	Data NotebookUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebookUpdateRequest The description of a notebook update request.

func NewNotebookUpdateRequest ¶

func NewNotebookUpdateRequest(data NotebookUpdateData) *NotebookUpdateRequest

NewNotebookUpdateRequest instantiates a new NotebookUpdateRequest 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 NewNotebookUpdateRequestWithDefaults ¶

func NewNotebookUpdateRequestWithDefaults() *NotebookUpdateRequest

NewNotebookUpdateRequestWithDefaults instantiates a new NotebookUpdateRequest 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 (*NotebookUpdateRequest) GetData ¶

GetData returns the Data field value.

func (*NotebookUpdateRequest) GetDataOk ¶

func (o *NotebookUpdateRequest) GetDataOk() (*NotebookUpdateData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (NotebookUpdateRequest) MarshalJSON ¶

func (o NotebookUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebookUpdateRequest) SetData ¶

SetData sets field value.

func (*NotebookUpdateRequest) UnmarshalJSON ¶

func (o *NotebookUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebooksApiService ¶

type NotebooksApiService service

NotebooksApiService NotebooksApi service.

func (*NotebooksApiService) CreateNotebook ¶

CreateNotebook Create a notebook. Create a notebook using the specified options.

func (*NotebooksApiService) DeleteNotebook ¶

func (a *NotebooksApiService) DeleteNotebook(ctx _context.Context, notebookId int64) (*_nethttp.Response, error)

DeleteNotebook Delete a notebook. Delete a notebook using the specified ID.

func (*NotebooksApiService) GetNotebook ¶

func (a *NotebooksApiService) GetNotebook(ctx _context.Context, notebookId int64) (NotebookResponse, *_nethttp.Response, error)

GetNotebook Get a notebook. Get a notebook using the specified notebook ID.

func (*NotebooksApiService) ListNotebooks ¶

ListNotebooks Get all notebooks. Get all notebooks. This can also be used to search for notebooks with a particular `query` in the notebook `name` or author `handle`.

func (*NotebooksApiService) UpdateNotebook ¶

UpdateNotebook Update a notebook. Update a notebook using the specified ID.

type NotebooksResponse ¶

type NotebooksResponse struct {
	// List of notebook definitions.
	Data []NotebooksResponseData `json:"data,omitempty"`
	// Searches metadata returned by the API.
	Meta *NotebooksResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebooksResponse Notebooks get all response.

func NewNotebooksResponse ¶

func NewNotebooksResponse() *NotebooksResponse

NewNotebooksResponse instantiates a new NotebooksResponse 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 NewNotebooksResponseWithDefaults ¶

func NewNotebooksResponseWithDefaults() *NotebooksResponse

NewNotebooksResponseWithDefaults instantiates a new NotebooksResponse 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 (*NotebooksResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*NotebooksResponse) GetDataOk ¶

func (o *NotebooksResponse) GetDataOk() (*[]NotebooksResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*NotebooksResponse) GetMetaOk ¶

func (o *NotebooksResponse) GetMetaOk() (*NotebooksResponseMeta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponse) HasData ¶

func (o *NotebooksResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*NotebooksResponse) HasMeta ¶

func (o *NotebooksResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (NotebooksResponse) MarshalJSON ¶

func (o NotebooksResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebooksResponse) SetData ¶

func (o *NotebooksResponse) SetData(v []NotebooksResponseData)

SetData gets a reference to the given []NotebooksResponseData and assigns it to the Data field.

func (*NotebooksResponse) SetMeta ¶

SetMeta gets a reference to the given NotebooksResponseMeta and assigns it to the Meta field.

func (*NotebooksResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *NotebooksResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebooksResponseData ¶

type NotebooksResponseData struct {
	// The attributes of a notebook in get all response.
	Attributes NotebooksResponseDataAttributes `json:"attributes"`
	// Unique notebook ID, assigned when you create the notebook.
	Id int64 `json:"id"`
	// Type of the Notebook resource.
	Type NotebookResourceType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebooksResponseData The data for a notebook in get all response.

func NewNotebooksResponseData ¶

func NewNotebooksResponseData(attributes NotebooksResponseDataAttributes, id int64, typeVar NotebookResourceType) *NotebooksResponseData

NewNotebooksResponseData instantiates a new NotebooksResponseData 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 NewNotebooksResponseDataWithDefaults ¶

func NewNotebooksResponseDataWithDefaults() *NotebooksResponseData

NewNotebooksResponseDataWithDefaults instantiates a new NotebooksResponseData 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 (*NotebooksResponseData) GetAttributes ¶

GetAttributes returns the Attributes field value.

func (*NotebooksResponseData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*NotebooksResponseData) GetId ¶

func (o *NotebooksResponseData) GetId() int64

GetId returns the Id field value.

func (*NotebooksResponseData) GetIdOk ¶

func (o *NotebooksResponseData) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NotebooksResponseData) GetType ¶

GetType returns the Type field value.

func (*NotebooksResponseData) GetTypeOk ¶

func (o *NotebooksResponseData) GetTypeOk() (*NotebookResourceType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NotebooksResponseData) MarshalJSON ¶

func (o NotebooksResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebooksResponseData) SetAttributes ¶

SetAttributes sets field value.

func (*NotebooksResponseData) SetId ¶

func (o *NotebooksResponseData) SetId(v int64)

SetId sets field value.

func (*NotebooksResponseData) SetType ¶

SetType sets field value.

func (*NotebooksResponseData) UnmarshalJSON ¶

func (o *NotebooksResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebooksResponseDataAttributes ¶

type NotebooksResponseDataAttributes struct {
	// Attributes of user object returned by the API.
	Author *NotebookAuthor `json:"author,omitempty"`
	// List of cells to display in the notebook.
	Cells []NotebookCellResponse `json:"cells,omitempty"`
	// UTC time stamp for when the notebook was created.
	Created *time.Time `json:"created,omitempty"`
	// Metadata associated with the notebook.
	Metadata *NotebookMetadata `json:"metadata,omitempty"`
	// UTC time stamp for when the notebook was last modified.
	Modified *time.Time `json:"modified,omitempty"`
	// The name of the notebook.
	Name string `json:"name"`
	// Publication status of the notebook. For now, always "published".
	Status *NotebookStatus `json:"status,omitempty"`
	// Notebook global timeframe.
	Time *NotebookGlobalTime `json:"time,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebooksResponseDataAttributes The attributes of a notebook in get all response.

func NewNotebooksResponseDataAttributes ¶

func NewNotebooksResponseDataAttributes(name string) *NotebooksResponseDataAttributes

NewNotebooksResponseDataAttributes instantiates a new NotebooksResponseDataAttributes 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 NewNotebooksResponseDataAttributesWithDefaults ¶

func NewNotebooksResponseDataAttributesWithDefaults() *NotebooksResponseDataAttributes

NewNotebooksResponseDataAttributesWithDefaults instantiates a new NotebooksResponseDataAttributes 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 (*NotebooksResponseDataAttributes) GetAuthor ¶

GetAuthor returns the Author field value if set, zero value otherwise.

func (*NotebooksResponseDataAttributes) GetAuthorOk ¶

GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponseDataAttributes) GetCells ¶

GetCells returns the Cells field value if set, zero value otherwise.

func (*NotebooksResponseDataAttributes) GetCellsOk ¶

GetCellsOk returns a tuple with the Cells field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponseDataAttributes) GetCreated ¶

func (o *NotebooksResponseDataAttributes) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*NotebooksResponseDataAttributes) GetCreatedOk ¶

func (o *NotebooksResponseDataAttributes) GetCreatedOk() (*time.Time, 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 (*NotebooksResponseDataAttributes) GetMetadata ¶ added in v1.5.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*NotebooksResponseDataAttributes) GetMetadataOk ¶ added in v1.5.0

func (o *NotebooksResponseDataAttributes) GetMetadataOk() (*NotebookMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponseDataAttributes) GetModified ¶

func (o *NotebooksResponseDataAttributes) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*NotebooksResponseDataAttributes) GetModifiedOk ¶

func (o *NotebooksResponseDataAttributes) GetModifiedOk() (*time.Time, bool)

GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponseDataAttributes) GetName ¶

GetName returns the Name field value.

func (*NotebooksResponseDataAttributes) GetNameOk ¶

func (o *NotebooksResponseDataAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NotebooksResponseDataAttributes) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*NotebooksResponseDataAttributes) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponseDataAttributes) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*NotebooksResponseDataAttributes) GetTimeOk ¶

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponseDataAttributes) HasAuthor ¶

func (o *NotebooksResponseDataAttributes) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*NotebooksResponseDataAttributes) HasCells ¶

func (o *NotebooksResponseDataAttributes) HasCells() bool

HasCells returns a boolean if a field has been set.

func (*NotebooksResponseDataAttributes) HasCreated ¶

func (o *NotebooksResponseDataAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*NotebooksResponseDataAttributes) HasMetadata ¶ added in v1.5.0

func (o *NotebooksResponseDataAttributes) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*NotebooksResponseDataAttributes) HasModified ¶

func (o *NotebooksResponseDataAttributes) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*NotebooksResponseDataAttributes) HasStatus ¶

func (o *NotebooksResponseDataAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*NotebooksResponseDataAttributes) HasTime ¶

HasTime returns a boolean if a field has been set.

func (NotebooksResponseDataAttributes) MarshalJSON ¶

func (o NotebooksResponseDataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebooksResponseDataAttributes) SetAuthor ¶

SetAuthor gets a reference to the given NotebookAuthor and assigns it to the Author field.

func (*NotebooksResponseDataAttributes) SetCells ¶

SetCells gets a reference to the given []NotebookCellResponse and assigns it to the Cells field.

func (*NotebooksResponseDataAttributes) SetCreated ¶

func (o *NotebooksResponseDataAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*NotebooksResponseDataAttributes) SetMetadata ¶ added in v1.5.0

SetMetadata gets a reference to the given NotebookMetadata and assigns it to the Metadata field.

func (*NotebooksResponseDataAttributes) SetModified ¶

func (o *NotebooksResponseDataAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*NotebooksResponseDataAttributes) SetName ¶

SetName sets field value.

func (*NotebooksResponseDataAttributes) SetStatus ¶

SetStatus gets a reference to the given NotebookStatus and assigns it to the Status field.

func (*NotebooksResponseDataAttributes) SetTime ¶

SetTime gets a reference to the given NotebookGlobalTime and assigns it to the Time field.

func (*NotebooksResponseDataAttributes) UnmarshalJSON ¶

func (o *NotebooksResponseDataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebooksResponseMeta ¶

type NotebooksResponseMeta struct {
	// Pagination metadata returned by the API.
	Page *NotebooksResponsePage `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebooksResponseMeta Searches metadata returned by the API.

func NewNotebooksResponseMeta ¶

func NewNotebooksResponseMeta() *NotebooksResponseMeta

NewNotebooksResponseMeta instantiates a new NotebooksResponseMeta 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 NewNotebooksResponseMetaWithDefaults ¶

func NewNotebooksResponseMetaWithDefaults() *NotebooksResponseMeta

NewNotebooksResponseMetaWithDefaults instantiates a new NotebooksResponseMeta 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 (*NotebooksResponseMeta) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*NotebooksResponseMeta) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponseMeta) HasPage ¶

func (o *NotebooksResponseMeta) HasPage() bool

HasPage returns a boolean if a field has been set.

func (NotebooksResponseMeta) MarshalJSON ¶

func (o NotebooksResponseMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebooksResponseMeta) SetPage ¶

SetPage gets a reference to the given NotebooksResponsePage and assigns it to the Page field.

func (*NotebooksResponseMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *NotebooksResponseMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NotebooksResponsePage ¶

type NotebooksResponsePage struct {
	// The total number of notebooks that would be returned if the request was not filtered by `start` and `count` parameters.
	TotalCount *int64 `json:"total_count,omitempty"`
	// The total number of notebooks returned.
	TotalFilteredCount *int64 `json:"total_filtered_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NotebooksResponsePage Pagination metadata returned by the API.

func NewNotebooksResponsePage ¶

func NewNotebooksResponsePage() *NotebooksResponsePage

NewNotebooksResponsePage instantiates a new NotebooksResponsePage 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 NewNotebooksResponsePageWithDefaults ¶

func NewNotebooksResponsePageWithDefaults() *NotebooksResponsePage

NewNotebooksResponsePageWithDefaults instantiates a new NotebooksResponsePage 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 (*NotebooksResponsePage) GetTotalCount ¶

func (o *NotebooksResponsePage) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*NotebooksResponsePage) GetTotalCountOk ¶

func (o *NotebooksResponsePage) GetTotalCountOk() (*int64, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponsePage) GetTotalFilteredCount ¶

func (o *NotebooksResponsePage) GetTotalFilteredCount() int64

GetTotalFilteredCount returns the TotalFilteredCount field value if set, zero value otherwise.

func (*NotebooksResponsePage) GetTotalFilteredCountOk ¶

func (o *NotebooksResponsePage) GetTotalFilteredCountOk() (*int64, bool)

GetTotalFilteredCountOk returns a tuple with the TotalFilteredCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotebooksResponsePage) HasTotalCount ¶

func (o *NotebooksResponsePage) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*NotebooksResponsePage) HasTotalFilteredCount ¶

func (o *NotebooksResponsePage) HasTotalFilteredCount() bool

HasTotalFilteredCount returns a boolean if a field has been set.

func (NotebooksResponsePage) MarshalJSON ¶

func (o NotebooksResponsePage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*NotebooksResponsePage) SetTotalCount ¶

func (o *NotebooksResponsePage) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*NotebooksResponsePage) SetTotalFilteredCount ¶

func (o *NotebooksResponsePage) SetTotalFilteredCount(v int64)

SetTotalFilteredCount gets a reference to the given int64 and assigns it to the TotalFilteredCount field.

func (*NotebooksResponsePage) UnmarshalJSON ¶ added in v1.3.0

func (o *NotebooksResponsePage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type NullableAWSNamespace ¶

type NullableAWSNamespace struct {
	// contains filtered or unexported fields
}

NullableAWSNamespace handles when a null is used for AWSNamespace.

func NewNullableAWSNamespace ¶

func NewNullableAWSNamespace(val *AWSNamespace) *NullableAWSNamespace

NewNullableAWSNamespace initializes the struct as if Set has been called.

func (NullableAWSNamespace) Get ¶

Get returns the associated value.

func (NullableAWSNamespace) IsSet ¶

func (v NullableAWSNamespace) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAWSNamespace) MarshalJSON ¶

func (v NullableAWSNamespace) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAWSNamespace) Set ¶

func (v *NullableAWSNamespace) Set(val *AWSNamespace)

Set changes the value and indicates it's been called.

func (*NullableAWSNamespace) UnmarshalJSON ¶

func (v *NullableAWSNamespace) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAWSNamespace) Unset ¶

func (v *NullableAWSNamespace) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAccessRole ¶

type NullableAccessRole struct {
	// contains filtered or unexported fields
}

NullableAccessRole handles when a null is used for AccessRole.

func NewNullableAccessRole ¶

func NewNullableAccessRole(val *AccessRole) *NullableAccessRole

NewNullableAccessRole initializes the struct as if Set has been called.

func (NullableAccessRole) Get ¶

func (v NullableAccessRole) Get() *AccessRole

Get returns the associated value.

func (NullableAccessRole) IsSet ¶

func (v NullableAccessRole) IsSet() bool

IsSet returns whether Set has been called.

func (NullableAccessRole) MarshalJSON ¶

func (v NullableAccessRole) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAccessRole) Set ¶

func (v *NullableAccessRole) Set(val *AccessRole)

Set changes the value and indicates it's been called.

func (*NullableAccessRole) UnmarshalJSON ¶

func (v *NullableAccessRole) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAccessRole) Unset ¶

func (v *NullableAccessRole) Unset()

Unset sets the value to nil and resets the set flag.

type NullableAlertGraphWidgetDefinitionType ¶

type NullableAlertGraphWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableAlertGraphWidgetDefinitionType handles when a null is used for AlertGraphWidgetDefinitionType.

func NewNullableAlertGraphWidgetDefinitionType ¶

func NewNullableAlertGraphWidgetDefinitionType(val *AlertGraphWidgetDefinitionType) *NullableAlertGraphWidgetDefinitionType

NewNullableAlertGraphWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableAlertGraphWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableAlertGraphWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableAlertGraphWidgetDefinitionType) MarshalJSON ¶

func (v NullableAlertGraphWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAlertGraphWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAlertGraphWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableAlertGraphWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAlertGraphWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableAlertValueWidgetDefinitionType ¶

type NullableAlertValueWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableAlertValueWidgetDefinitionType handles when a null is used for AlertValueWidgetDefinitionType.

func NewNullableAlertValueWidgetDefinitionType ¶

func NewNullableAlertValueWidgetDefinitionType(val *AlertValueWidgetDefinitionType) *NullableAlertValueWidgetDefinitionType

NewNullableAlertValueWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableAlertValueWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableAlertValueWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableAlertValueWidgetDefinitionType) MarshalJSON ¶

func (v NullableAlertValueWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableAlertValueWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableAlertValueWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableAlertValueWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableAlertValueWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableApmStatsQueryRowType ¶

type NullableApmStatsQueryRowType struct {
	// contains filtered or unexported fields
}

NullableApmStatsQueryRowType handles when a null is used for ApmStatsQueryRowType.

func NewNullableApmStatsQueryRowType ¶

func NewNullableApmStatsQueryRowType(val *ApmStatsQueryRowType) *NullableApmStatsQueryRowType

NewNullableApmStatsQueryRowType initializes the struct as if Set has been called.

func (NullableApmStatsQueryRowType) Get ¶

Get returns the associated value.

func (NullableApmStatsQueryRowType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableApmStatsQueryRowType) MarshalJSON ¶

func (v NullableApmStatsQueryRowType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableApmStatsQueryRowType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableApmStatsQueryRowType) UnmarshalJSON ¶

func (v *NullableApmStatsQueryRowType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableApmStatsQueryRowType) Unset ¶

func (v *NullableApmStatsQueryRowType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableBool ¶

type NullableBool struct {
	// contains filtered or unexported fields
}

NullableBool is a struct to hold a nullable boolean value.

func NewNullableBool ¶

func NewNullableBool(val *bool) *NullableBool

NewNullableBool instantiates a new nullable bool.

func (NullableBool) Get ¶

func (v NullableBool) Get() *bool

Get returns the value associated with the nullable bool.

func (NullableBool) IsSet ¶

func (v NullableBool) IsSet() bool

IsSet returns true if the value has been set.

func (NullableBool) MarshalJSON ¶

func (v NullableBool) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableBool) Set ¶

func (v *NullableBool) Set(val *bool)

Set sets the value associated with the nullable bool.

func (*NullableBool) UnmarshalJSON ¶

func (v *NullableBool) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableBool) Unset ¶

func (v *NullableBool) Unset()

Unset resets fields of the nullable bool.

type NullableChangeWidgetDefinitionType ¶

type NullableChangeWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableChangeWidgetDefinitionType handles when a null is used for ChangeWidgetDefinitionType.

func NewNullableChangeWidgetDefinitionType ¶

func NewNullableChangeWidgetDefinitionType(val *ChangeWidgetDefinitionType) *NullableChangeWidgetDefinitionType

NewNullableChangeWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableChangeWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableChangeWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableChangeWidgetDefinitionType) MarshalJSON ¶

func (v NullableChangeWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableChangeWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableChangeWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableChangeWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableChangeWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableCheckStatusWidgetDefinitionType ¶

type NullableCheckStatusWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableCheckStatusWidgetDefinitionType handles when a null is used for CheckStatusWidgetDefinitionType.

func NewNullableCheckStatusWidgetDefinitionType ¶

func NewNullableCheckStatusWidgetDefinitionType(val *CheckStatusWidgetDefinitionType) *NullableCheckStatusWidgetDefinitionType

NewNullableCheckStatusWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableCheckStatusWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableCheckStatusWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableCheckStatusWidgetDefinitionType) MarshalJSON ¶

func (v NullableCheckStatusWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableCheckStatusWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableCheckStatusWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableCheckStatusWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableCheckStatusWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableContentEncoding ¶

type NullableContentEncoding struct {
	// contains filtered or unexported fields
}

NullableContentEncoding handles when a null is used for ContentEncoding.

func NewNullableContentEncoding ¶

func NewNullableContentEncoding(val *ContentEncoding) *NullableContentEncoding

NewNullableContentEncoding initializes the struct as if Set has been called.

func (NullableContentEncoding) Get ¶

Get returns the associated value.

func (NullableContentEncoding) IsSet ¶

func (v NullableContentEncoding) IsSet() bool

IsSet returns whether Set has been called.

func (NullableContentEncoding) MarshalJSON ¶

func (v NullableContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableContentEncoding) Set ¶

Set changes the value and indicates it's been called.

func (*NullableContentEncoding) UnmarshalJSON ¶

func (v *NullableContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableContentEncoding) Unset ¶

func (v *NullableContentEncoding) Unset()

Unset sets the value to nil and resets the set flag.

type NullableDashboardLayoutType ¶

type NullableDashboardLayoutType struct {
	// contains filtered or unexported fields
}

NullableDashboardLayoutType handles when a null is used for DashboardLayoutType.

func NewNullableDashboardLayoutType ¶

func NewNullableDashboardLayoutType(val *DashboardLayoutType) *NullableDashboardLayoutType

NewNullableDashboardLayoutType initializes the struct as if Set has been called.

func (NullableDashboardLayoutType) Get ¶

Get returns the associated value.

func (NullableDashboardLayoutType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableDashboardLayoutType) MarshalJSON ¶

func (v NullableDashboardLayoutType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDashboardLayoutType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableDashboardLayoutType) UnmarshalJSON ¶

func (v *NullableDashboardLayoutType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDashboardLayoutType) Unset ¶

func (v *NullableDashboardLayoutType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableDashboardReflowType ¶

type NullableDashboardReflowType struct {
	// contains filtered or unexported fields
}

NullableDashboardReflowType handles when a null is used for DashboardReflowType.

func NewNullableDashboardReflowType ¶

func NewNullableDashboardReflowType(val *DashboardReflowType) *NullableDashboardReflowType

NewNullableDashboardReflowType initializes the struct as if Set has been called.

func (NullableDashboardReflowType) Get ¶

Get returns the associated value.

func (NullableDashboardReflowType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableDashboardReflowType) MarshalJSON ¶

func (v NullableDashboardReflowType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDashboardReflowType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableDashboardReflowType) UnmarshalJSON ¶

func (v *NullableDashboardReflowType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDashboardReflowType) Unset ¶

func (v *NullableDashboardReflowType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableDashboardResourceType ¶ added in v1.3.0

type NullableDashboardResourceType struct {
	// contains filtered or unexported fields
}

NullableDashboardResourceType handles when a null is used for DashboardResourceType.

func NewNullableDashboardResourceType ¶ added in v1.3.0

func NewNullableDashboardResourceType(val *DashboardResourceType) *NullableDashboardResourceType

NewNullableDashboardResourceType initializes the struct as if Set has been called.

func (NullableDashboardResourceType) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableDashboardResourceType) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableDashboardResourceType) MarshalJSON ¶ added in v1.3.0

func (v NullableDashboardResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDashboardResourceType) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableDashboardResourceType) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableDashboardResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDashboardResourceType) Unset ¶ added in v1.3.0

func (v *NullableDashboardResourceType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableDistributionPointItem ¶ added in v1.15.0

type NullableDistributionPointItem struct {
	// contains filtered or unexported fields
}

NullableDistributionPointItem handles when a null is used for DistributionPointItem.

func NewNullableDistributionPointItem ¶ added in v1.15.0

func NewNullableDistributionPointItem(val *DistributionPointItem) *NullableDistributionPointItem

NewNullableDistributionPointItem initializes the struct as if Set has been called.

func (NullableDistributionPointItem) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableDistributionPointItem) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableDistributionPointItem) MarshalJSON ¶ added in v1.15.0

func (v NullableDistributionPointItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDistributionPointItem) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableDistributionPointItem) UnmarshalJSON ¶ added in v1.15.0

func (v *NullableDistributionPointItem) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDistributionPointItem) Unset ¶ added in v1.15.0

func (v *NullableDistributionPointItem) Unset()

Unset sets the value to nil and resets the set flag/

type NullableDistributionPointsContentEncoding ¶ added in v1.15.0

type NullableDistributionPointsContentEncoding struct {
	// contains filtered or unexported fields
}

NullableDistributionPointsContentEncoding handles when a null is used for DistributionPointsContentEncoding.

func NewNullableDistributionPointsContentEncoding ¶ added in v1.15.0

func NewNullableDistributionPointsContentEncoding(val *DistributionPointsContentEncoding) *NullableDistributionPointsContentEncoding

NewNullableDistributionPointsContentEncoding initializes the struct as if Set has been called.

func (NullableDistributionPointsContentEncoding) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableDistributionPointsContentEncoding) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableDistributionPointsContentEncoding) MarshalJSON ¶ added in v1.15.0

MarshalJSON serializes the associated value.

func (*NullableDistributionPointsContentEncoding) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableDistributionPointsContentEncoding) UnmarshalJSON ¶ added in v1.15.0

func (v *NullableDistributionPointsContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDistributionPointsContentEncoding) Unset ¶ added in v1.15.0

Unset sets the value to nil and resets the set flag.

type NullableDistributionPointsType ¶ added in v1.15.0

type NullableDistributionPointsType struct {
	// contains filtered or unexported fields
}

NullableDistributionPointsType handles when a null is used for DistributionPointsType.

func NewNullableDistributionPointsType ¶ added in v1.15.0

func NewNullableDistributionPointsType(val *DistributionPointsType) *NullableDistributionPointsType

NewNullableDistributionPointsType initializes the struct as if Set has been called.

func (NullableDistributionPointsType) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableDistributionPointsType) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableDistributionPointsType) MarshalJSON ¶ added in v1.15.0

func (v NullableDistributionPointsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDistributionPointsType) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableDistributionPointsType) UnmarshalJSON ¶ added in v1.15.0

func (v *NullableDistributionPointsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDistributionPointsType) Unset ¶ added in v1.15.0

func (v *NullableDistributionPointsType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableDistributionWidgetDefinitionType ¶

type NullableDistributionWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableDistributionWidgetDefinitionType handles when a null is used for DistributionWidgetDefinitionType.

func NewNullableDistributionWidgetDefinitionType ¶

func NewNullableDistributionWidgetDefinitionType(val *DistributionWidgetDefinitionType) *NullableDistributionWidgetDefinitionType

NewNullableDistributionWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableDistributionWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableDistributionWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableDistributionWidgetDefinitionType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableDistributionWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableDistributionWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableDistributionWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDistributionWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableDistributionWidgetHistogramRequestQuery ¶ added in v1.15.0

type NullableDistributionWidgetHistogramRequestQuery struct {
	// contains filtered or unexported fields
}

NullableDistributionWidgetHistogramRequestQuery handles when a null is used for DistributionWidgetHistogramRequestQuery.

func NewNullableDistributionWidgetHistogramRequestQuery ¶ added in v1.15.0

func NewNullableDistributionWidgetHistogramRequestQuery(val *DistributionWidgetHistogramRequestQuery) *NullableDistributionWidgetHistogramRequestQuery

NewNullableDistributionWidgetHistogramRequestQuery initializes the struct as if Set has been called.

func (NullableDistributionWidgetHistogramRequestQuery) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableDistributionWidgetHistogramRequestQuery) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableDistributionWidgetHistogramRequestQuery) MarshalJSON ¶ added in v1.15.0

MarshalJSON serializes the associated value.

func (*NullableDistributionWidgetHistogramRequestQuery) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableDistributionWidgetHistogramRequestQuery) UnmarshalJSON ¶ added in v1.15.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDistributionWidgetHistogramRequestQuery) Unset ¶ added in v1.15.0

Unset sets the value to nil and resets the set flag/

type NullableDistributionWidgetHistogramRequestType ¶ added in v1.15.0

type NullableDistributionWidgetHistogramRequestType struct {
	// contains filtered or unexported fields
}

NullableDistributionWidgetHistogramRequestType handles when a null is used for DistributionWidgetHistogramRequestType.

func NewNullableDistributionWidgetHistogramRequestType ¶ added in v1.15.0

func NewNullableDistributionWidgetHistogramRequestType(val *DistributionWidgetHistogramRequestType) *NullableDistributionWidgetHistogramRequestType

NewNullableDistributionWidgetHistogramRequestType initializes the struct as if Set has been called.

func (NullableDistributionWidgetHistogramRequestType) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableDistributionWidgetHistogramRequestType) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableDistributionWidgetHistogramRequestType) MarshalJSON ¶ added in v1.15.0

MarshalJSON serializes the associated value.

func (*NullableDistributionWidgetHistogramRequestType) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableDistributionWidgetHistogramRequestType) UnmarshalJSON ¶ added in v1.15.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDistributionWidgetHistogramRequestType) Unset ¶ added in v1.15.0

Unset sets the value to nil and resets the set flag.

type NullableDowntimeChild ¶

type NullableDowntimeChild struct {
	// contains filtered or unexported fields
}

NullableDowntimeChild handles when a null is used for DowntimeChild.

func NewNullableDowntimeChild ¶

func NewNullableDowntimeChild(val *DowntimeChild) *NullableDowntimeChild

NewNullableDowntimeChild initializes the struct as if Set has been called.

func (NullableDowntimeChild) Get ¶

Get returns the associated value.

func (NullableDowntimeChild) IsSet ¶

func (v NullableDowntimeChild) IsSet() bool

IsSet returns whether Set has been called.

func (NullableDowntimeChild) MarshalJSON ¶

func (v NullableDowntimeChild) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDowntimeChild) Set ¶

func (v *NullableDowntimeChild) Set(val *DowntimeChild)

Set changes the value and indicates it's been called.

func (*NullableDowntimeChild) UnmarshalJSON ¶

func (v *NullableDowntimeChild) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDowntimeChild) Unset ¶

func (v *NullableDowntimeChild) Unset()

Unset sets the value to nil and resets the set flag/

type NullableDowntimeRecurrence ¶

type NullableDowntimeRecurrence struct {
	// contains filtered or unexported fields
}

NullableDowntimeRecurrence handles when a null is used for DowntimeRecurrence.

func NewNullableDowntimeRecurrence ¶

func NewNullableDowntimeRecurrence(val *DowntimeRecurrence) *NullableDowntimeRecurrence

NewNullableDowntimeRecurrence initializes the struct as if Set has been called.

func (NullableDowntimeRecurrence) Get ¶

Get returns the associated value.

func (NullableDowntimeRecurrence) IsSet ¶

func (v NullableDowntimeRecurrence) IsSet() bool

IsSet returns whether Set has been called.

func (NullableDowntimeRecurrence) MarshalJSON ¶

func (v NullableDowntimeRecurrence) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableDowntimeRecurrence) Set ¶

Set changes the value and indicates it's been called.

func (*NullableDowntimeRecurrence) UnmarshalJSON ¶

func (v *NullableDowntimeRecurrence) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableDowntimeRecurrence) Unset ¶

func (v *NullableDowntimeRecurrence) Unset()

Unset sets the value to nil and resets the set flag/

type NullableEventAlertType ¶

type NullableEventAlertType struct {
	// contains filtered or unexported fields
}

NullableEventAlertType handles when a null is used for EventAlertType.

func NewNullableEventAlertType ¶

func NewNullableEventAlertType(val *EventAlertType) *NullableEventAlertType

NewNullableEventAlertType initializes the struct as if Set has been called.

func (NullableEventAlertType) Get ¶

Get returns the associated value.

func (NullableEventAlertType) IsSet ¶

func (v NullableEventAlertType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventAlertType) MarshalJSON ¶

func (v NullableEventAlertType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventAlertType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableEventAlertType) UnmarshalJSON ¶

func (v *NullableEventAlertType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventAlertType) Unset ¶

func (v *NullableEventAlertType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventPriority ¶

type NullableEventPriority struct {
	// contains filtered or unexported fields
}

NullableEventPriority handles when a null is used for EventPriority.

func NewNullableEventPriority ¶

func NewNullableEventPriority(val *EventPriority) *NullableEventPriority

NewNullableEventPriority initializes the struct as if Set has been called.

func (NullableEventPriority) Get ¶

Get returns the associated value.

func (NullableEventPriority) IsSet ¶

func (v NullableEventPriority) IsSet() bool

IsSet returns whether Set has been called.

func (NullableEventPriority) MarshalJSON ¶

func (v NullableEventPriority) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventPriority) Set ¶

func (v *NullableEventPriority) Set(val *EventPriority)

Set changes the value and indicates it's been called.

func (*NullableEventPriority) UnmarshalJSON ¶

func (v *NullableEventPriority) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventPriority) Unset ¶

func (v *NullableEventPriority) Unset()

Unset sets the value to nil and resets the set flag.

type NullableEventStreamWidgetDefinitionType ¶

type NullableEventStreamWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableEventStreamWidgetDefinitionType handles when a null is used for EventStreamWidgetDefinitionType.

func NewNullableEventStreamWidgetDefinitionType ¶

func NewNullableEventStreamWidgetDefinitionType(val *EventStreamWidgetDefinitionType) *NullableEventStreamWidgetDefinitionType

NewNullableEventStreamWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableEventStreamWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableEventStreamWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableEventStreamWidgetDefinitionType) MarshalJSON ¶

func (v NullableEventStreamWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableEventStreamWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableEventStreamWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableEventStreamWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventStreamWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableEventTimelineWidgetDefinitionType ¶

type NullableEventTimelineWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableEventTimelineWidgetDefinitionType handles when a null is used for EventTimelineWidgetDefinitionType.

func NewNullableEventTimelineWidgetDefinitionType ¶

func NewNullableEventTimelineWidgetDefinitionType(val *EventTimelineWidgetDefinitionType) *NullableEventTimelineWidgetDefinitionType

NewNullableEventTimelineWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableEventTimelineWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableEventTimelineWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableEventTimelineWidgetDefinitionType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableEventTimelineWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableEventTimelineWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableEventTimelineWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableEventTimelineWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFloat32 ¶

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

NullableFloat32 is a struct to hold a nullable float32 value.

func NewNullableFloat32 ¶

func NewNullableFloat32(val *float32) *NullableFloat32

NewNullableFloat32 instantiates a new nullable float32.

func (NullableFloat32) Get ¶

func (v NullableFloat32) Get() *float32

Get returns the value associated with the nullable float32.

func (NullableFloat32) IsSet ¶

func (v NullableFloat32) IsSet() bool

IsSet returns true if the value has been set.

func (NullableFloat32) MarshalJSON ¶

func (v NullableFloat32) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFloat32) Set ¶

func (v *NullableFloat32) Set(val *float32)

Set sets the value associated with the nullable float32.

func (*NullableFloat32) UnmarshalJSON ¶

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableFloat32) Unset ¶

func (v *NullableFloat32) Unset()

Unset resets fields of the nullable float32.

type NullableFloat64 ¶

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

NullableFloat64 is a struct to hold a nullable float64 value.

func NewNullableFloat64 ¶

func NewNullableFloat64(val *float64) *NullableFloat64

NewNullableFloat64 instantiates a new nullable float64.

func (NullableFloat64) Get ¶

func (v NullableFloat64) Get() *float64

Get returns the value associated with the nullable float64.

func (NullableFloat64) IsSet ¶

func (v NullableFloat64) IsSet() bool

IsSet returns true if the value has been set.

func (NullableFloat64) MarshalJSON ¶

func (v NullableFloat64) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFloat64) Set ¶

func (v *NullableFloat64) Set(val *float64)

Set sets the value associated with the nullable float64.

func (*NullableFloat64) UnmarshalJSON ¶

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableFloat64) Unset ¶

func (v *NullableFloat64) Unset()

Unset resets fields of the nullable float64.

type NullableFormulaAndFunctionApmDependencyStatName ¶ added in v1.4.0

type NullableFormulaAndFunctionApmDependencyStatName struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionApmDependencyStatName handles when a null is used for FormulaAndFunctionApmDependencyStatName.

func NewNullableFormulaAndFunctionApmDependencyStatName ¶ added in v1.4.0

func NewNullableFormulaAndFunctionApmDependencyStatName(val *FormulaAndFunctionApmDependencyStatName) *NullableFormulaAndFunctionApmDependencyStatName

NewNullableFormulaAndFunctionApmDependencyStatName initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionApmDependencyStatName) Get ¶ added in v1.4.0

Get returns the associated value.

func (NullableFormulaAndFunctionApmDependencyStatName) IsSet ¶ added in v1.4.0

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionApmDependencyStatName) MarshalJSON ¶ added in v1.4.0

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionApmDependencyStatName) Set ¶ added in v1.4.0

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionApmDependencyStatName) UnmarshalJSON ¶ added in v1.4.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionApmDependencyStatName) Unset ¶ added in v1.4.0

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionApmDependencyStatsDataSource ¶ added in v1.4.0

type NullableFormulaAndFunctionApmDependencyStatsDataSource struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionApmDependencyStatsDataSource handles when a null is used for FormulaAndFunctionApmDependencyStatsDataSource.

func NewNullableFormulaAndFunctionApmDependencyStatsDataSource ¶ added in v1.4.0

func NewNullableFormulaAndFunctionApmDependencyStatsDataSource(val *FormulaAndFunctionApmDependencyStatsDataSource) *NullableFormulaAndFunctionApmDependencyStatsDataSource

NewNullableFormulaAndFunctionApmDependencyStatsDataSource initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionApmDependencyStatsDataSource) Get ¶ added in v1.4.0

Get returns the associated value.

func (NullableFormulaAndFunctionApmDependencyStatsDataSource) IsSet ¶ added in v1.4.0

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionApmDependencyStatsDataSource) MarshalJSON ¶ added in v1.4.0

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionApmDependencyStatsDataSource) Set ¶ added in v1.4.0

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionApmDependencyStatsDataSource) UnmarshalJSON ¶ added in v1.4.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionApmDependencyStatsDataSource) Unset ¶ added in v1.4.0

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionApmResourceStatName ¶ added in v1.4.0

type NullableFormulaAndFunctionApmResourceStatName struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionApmResourceStatName handles when a null is used for FormulaAndFunctionApmResourceStatName.

func NewNullableFormulaAndFunctionApmResourceStatName ¶ added in v1.4.0

func NewNullableFormulaAndFunctionApmResourceStatName(val *FormulaAndFunctionApmResourceStatName) *NullableFormulaAndFunctionApmResourceStatName

NewNullableFormulaAndFunctionApmResourceStatName initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionApmResourceStatName) Get ¶ added in v1.4.0

Get returns the associated value.

func (NullableFormulaAndFunctionApmResourceStatName) IsSet ¶ added in v1.4.0

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionApmResourceStatName) MarshalJSON ¶ added in v1.4.0

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionApmResourceStatName) Set ¶ added in v1.4.0

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionApmResourceStatName) UnmarshalJSON ¶ added in v1.4.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionApmResourceStatName) Unset ¶ added in v1.4.0

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionApmResourceStatsDataSource ¶ added in v1.4.0

type NullableFormulaAndFunctionApmResourceStatsDataSource struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionApmResourceStatsDataSource handles when a null is used for FormulaAndFunctionApmResourceStatsDataSource.

func NewNullableFormulaAndFunctionApmResourceStatsDataSource ¶ added in v1.4.0

func NewNullableFormulaAndFunctionApmResourceStatsDataSource(val *FormulaAndFunctionApmResourceStatsDataSource) *NullableFormulaAndFunctionApmResourceStatsDataSource

NewNullableFormulaAndFunctionApmResourceStatsDataSource initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionApmResourceStatsDataSource) Get ¶ added in v1.4.0

Get returns the associated value.

func (NullableFormulaAndFunctionApmResourceStatsDataSource) IsSet ¶ added in v1.4.0

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionApmResourceStatsDataSource) MarshalJSON ¶ added in v1.4.0

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionApmResourceStatsDataSource) Set ¶ added in v1.4.0

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionApmResourceStatsDataSource) UnmarshalJSON ¶ added in v1.4.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionApmResourceStatsDataSource) Unset ¶ added in v1.4.0

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionEventAggregation ¶

type NullableFormulaAndFunctionEventAggregation struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionEventAggregation handles when a null is used for FormulaAndFunctionEventAggregation.

func NewNullableFormulaAndFunctionEventAggregation ¶

func NewNullableFormulaAndFunctionEventAggregation(val *FormulaAndFunctionEventAggregation) *NullableFormulaAndFunctionEventAggregation

NewNullableFormulaAndFunctionEventAggregation initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionEventAggregation) Get ¶

Get returns the associated value.

func (NullableFormulaAndFunctionEventAggregation) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionEventAggregation) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionEventAggregation) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionEventAggregation) UnmarshalJSON ¶

func (v *NullableFormulaAndFunctionEventAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionEventAggregation) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionEventsDataSource ¶

type NullableFormulaAndFunctionEventsDataSource struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionEventsDataSource handles when a null is used for FormulaAndFunctionEventsDataSource.

func NewNullableFormulaAndFunctionEventsDataSource ¶

func NewNullableFormulaAndFunctionEventsDataSource(val *FormulaAndFunctionEventsDataSource) *NullableFormulaAndFunctionEventsDataSource

NewNullableFormulaAndFunctionEventsDataSource initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionEventsDataSource) Get ¶

Get returns the associated value.

func (NullableFormulaAndFunctionEventsDataSource) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionEventsDataSource) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionEventsDataSource) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionEventsDataSource) UnmarshalJSON ¶

func (v *NullableFormulaAndFunctionEventsDataSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionEventsDataSource) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionMetricAggregation ¶

type NullableFormulaAndFunctionMetricAggregation struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionMetricAggregation handles when a null is used for FormulaAndFunctionMetricAggregation.

func NewNullableFormulaAndFunctionMetricAggregation ¶

func NewNullableFormulaAndFunctionMetricAggregation(val *FormulaAndFunctionMetricAggregation) *NullableFormulaAndFunctionMetricAggregation

NewNullableFormulaAndFunctionMetricAggregation initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionMetricAggregation) Get ¶

Get returns the associated value.

func (NullableFormulaAndFunctionMetricAggregation) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionMetricAggregation) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionMetricAggregation) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionMetricAggregation) UnmarshalJSON ¶

func (v *NullableFormulaAndFunctionMetricAggregation) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionMetricAggregation) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionMetricDataSource ¶

type NullableFormulaAndFunctionMetricDataSource struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionMetricDataSource handles when a null is used for FormulaAndFunctionMetricDataSource.

func NewNullableFormulaAndFunctionMetricDataSource ¶

func NewNullableFormulaAndFunctionMetricDataSource(val *FormulaAndFunctionMetricDataSource) *NullableFormulaAndFunctionMetricDataSource

NewNullableFormulaAndFunctionMetricDataSource initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionMetricDataSource) Get ¶

Get returns the associated value.

func (NullableFormulaAndFunctionMetricDataSource) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionMetricDataSource) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionMetricDataSource) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionMetricDataSource) UnmarshalJSON ¶

func (v *NullableFormulaAndFunctionMetricDataSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionMetricDataSource) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionProcessQueryDataSource ¶

type NullableFormulaAndFunctionProcessQueryDataSource struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionProcessQueryDataSource handles when a null is used for FormulaAndFunctionProcessQueryDataSource.

func NewNullableFormulaAndFunctionProcessQueryDataSource ¶

func NewNullableFormulaAndFunctionProcessQueryDataSource(val *FormulaAndFunctionProcessQueryDataSource) *NullableFormulaAndFunctionProcessQueryDataSource

NewNullableFormulaAndFunctionProcessQueryDataSource initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionProcessQueryDataSource) Get ¶

Get returns the associated value.

func (NullableFormulaAndFunctionProcessQueryDataSource) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionProcessQueryDataSource) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionProcessQueryDataSource) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionProcessQueryDataSource) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionProcessQueryDataSource) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFormulaAndFunctionQueryDefinition ¶

type NullableFormulaAndFunctionQueryDefinition struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionQueryDefinition handles when a null is used for FormulaAndFunctionQueryDefinition.

func NewNullableFormulaAndFunctionQueryDefinition ¶

func NewNullableFormulaAndFunctionQueryDefinition(val *FormulaAndFunctionQueryDefinition) *NullableFormulaAndFunctionQueryDefinition

NewNullableFormulaAndFunctionQueryDefinition initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionQueryDefinition) Get ¶

Get returns the associated value.

func (NullableFormulaAndFunctionQueryDefinition) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionQueryDefinition) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionQueryDefinition) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionQueryDefinition) UnmarshalJSON ¶

func (v *NullableFormulaAndFunctionQueryDefinition) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionQueryDefinition) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableFormulaAndFunctionResponseFormat ¶

type NullableFormulaAndFunctionResponseFormat struct {
	// contains filtered or unexported fields
}

NullableFormulaAndFunctionResponseFormat handles when a null is used for FormulaAndFunctionResponseFormat.

func NewNullableFormulaAndFunctionResponseFormat ¶

func NewNullableFormulaAndFunctionResponseFormat(val *FormulaAndFunctionResponseFormat) *NullableFormulaAndFunctionResponseFormat

NewNullableFormulaAndFunctionResponseFormat initializes the struct as if Set has been called.

func (NullableFormulaAndFunctionResponseFormat) Get ¶

Get returns the associated value.

func (NullableFormulaAndFunctionResponseFormat) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFormulaAndFunctionResponseFormat) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableFormulaAndFunctionResponseFormat) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFormulaAndFunctionResponseFormat) UnmarshalJSON ¶

func (v *NullableFormulaAndFunctionResponseFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFormulaAndFunctionResponseFormat) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFreeTextWidgetDefinitionType ¶

type NullableFreeTextWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableFreeTextWidgetDefinitionType handles when a null is used for FreeTextWidgetDefinitionType.

func NewNullableFreeTextWidgetDefinitionType ¶

func NewNullableFreeTextWidgetDefinitionType(val *FreeTextWidgetDefinitionType) *NullableFreeTextWidgetDefinitionType

NewNullableFreeTextWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableFreeTextWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableFreeTextWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableFreeTextWidgetDefinitionType) MarshalJSON ¶

func (v NullableFreeTextWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFreeTextWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableFreeTextWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableFreeTextWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFreeTextWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableFunnelRequestType ¶ added in v1.5.0

type NullableFunnelRequestType struct {
	// contains filtered or unexported fields
}

NullableFunnelRequestType handles when a null is used for FunnelRequestType.

func NewNullableFunnelRequestType ¶ added in v1.5.0

func NewNullableFunnelRequestType(val *FunnelRequestType) *NullableFunnelRequestType

NewNullableFunnelRequestType initializes the struct as if Set has been called.

func (NullableFunnelRequestType) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableFunnelRequestType) IsSet ¶ added in v1.5.0

func (v NullableFunnelRequestType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableFunnelRequestType) MarshalJSON ¶ added in v1.5.0

func (v NullableFunnelRequestType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFunnelRequestType) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableFunnelRequestType) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableFunnelRequestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFunnelRequestType) Unset ¶ added in v1.5.0

func (v *NullableFunnelRequestType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableFunnelSource ¶ added in v1.5.0

type NullableFunnelSource struct {
	// contains filtered or unexported fields
}

NullableFunnelSource handles when a null is used for FunnelSource.

func NewNullableFunnelSource ¶ added in v1.5.0

func NewNullableFunnelSource(val *FunnelSource) *NullableFunnelSource

NewNullableFunnelSource initializes the struct as if Set has been called.

func (NullableFunnelSource) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableFunnelSource) IsSet ¶ added in v1.5.0

func (v NullableFunnelSource) IsSet() bool

IsSet returns whether Set has been called.

func (NullableFunnelSource) MarshalJSON ¶ added in v1.5.0

func (v NullableFunnelSource) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFunnelSource) Set ¶ added in v1.5.0

func (v *NullableFunnelSource) Set(val *FunnelSource)

Set changes the value and indicates it's been called.

func (*NullableFunnelSource) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableFunnelSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFunnelSource) Unset ¶ added in v1.5.0

func (v *NullableFunnelSource) Unset()

Unset sets the value to nil and resets the set flag.

type NullableFunnelWidgetDefinitionType ¶ added in v1.5.0

type NullableFunnelWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableFunnelWidgetDefinitionType handles when a null is used for FunnelWidgetDefinitionType.

func NewNullableFunnelWidgetDefinitionType ¶ added in v1.5.0

func NewNullableFunnelWidgetDefinitionType(val *FunnelWidgetDefinitionType) *NullableFunnelWidgetDefinitionType

NewNullableFunnelWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableFunnelWidgetDefinitionType) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableFunnelWidgetDefinitionType) IsSet ¶ added in v1.5.0

IsSet returns whether Set has been called.

func (NullableFunnelWidgetDefinitionType) MarshalJSON ¶ added in v1.5.0

func (v NullableFunnelWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableFunnelWidgetDefinitionType) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableFunnelWidgetDefinitionType) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableFunnelWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableFunnelWidgetDefinitionType) Unset ¶ added in v1.5.0

Unset sets the value to nil and resets the set flag.

type NullableGeomapWidgetDefinitionType ¶

type NullableGeomapWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableGeomapWidgetDefinitionType handles when a null is used for GeomapWidgetDefinitionType.

func NewNullableGeomapWidgetDefinitionType ¶

func NewNullableGeomapWidgetDefinitionType(val *GeomapWidgetDefinitionType) *NullableGeomapWidgetDefinitionType

NewNullableGeomapWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableGeomapWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableGeomapWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableGeomapWidgetDefinitionType) MarshalJSON ¶

func (v NullableGeomapWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableGeomapWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableGeomapWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableGeomapWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableGeomapWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableGroupWidgetDefinitionType ¶

type NullableGroupWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableGroupWidgetDefinitionType handles when a null is used for GroupWidgetDefinitionType.

func NewNullableGroupWidgetDefinitionType ¶

func NewNullableGroupWidgetDefinitionType(val *GroupWidgetDefinitionType) *NullableGroupWidgetDefinitionType

NewNullableGroupWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableGroupWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableGroupWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableGroupWidgetDefinitionType) MarshalJSON ¶

func (v NullableGroupWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableGroupWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableGroupWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableGroupWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableGroupWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableHTTPMethod ¶

type NullableHTTPMethod struct {
	// contains filtered or unexported fields
}

NullableHTTPMethod handles when a null is used for HTTPMethod.

func NewNullableHTTPMethod ¶

func NewNullableHTTPMethod(val *HTTPMethod) *NullableHTTPMethod

NewNullableHTTPMethod initializes the struct as if Set has been called.

func (NullableHTTPMethod) Get ¶

func (v NullableHTTPMethod) Get() *HTTPMethod

Get returns the associated value.

func (NullableHTTPMethod) IsSet ¶

func (v NullableHTTPMethod) IsSet() bool

IsSet returns whether Set has been called.

func (NullableHTTPMethod) MarshalJSON ¶

func (v NullableHTTPMethod) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableHTTPMethod) Set ¶

func (v *NullableHTTPMethod) Set(val *HTTPMethod)

Set changes the value and indicates it's been called.

func (*NullableHTTPMethod) UnmarshalJSON ¶

func (v *NullableHTTPMethod) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableHTTPMethod) Unset ¶

func (v *NullableHTTPMethod) Unset()

Unset sets the value to nil and resets the set flag.

type NullableHeatMapWidgetDefinitionType ¶

type NullableHeatMapWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableHeatMapWidgetDefinitionType handles when a null is used for HeatMapWidgetDefinitionType.

func NewNullableHeatMapWidgetDefinitionType ¶

func NewNullableHeatMapWidgetDefinitionType(val *HeatMapWidgetDefinitionType) *NullableHeatMapWidgetDefinitionType

NewNullableHeatMapWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableHeatMapWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableHeatMapWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableHeatMapWidgetDefinitionType) MarshalJSON ¶

func (v NullableHeatMapWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableHeatMapWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableHeatMapWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableHeatMapWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableHeatMapWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableHostMapWidgetDefinitionType ¶

type NullableHostMapWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableHostMapWidgetDefinitionType handles when a null is used for HostMapWidgetDefinitionType.

func NewNullableHostMapWidgetDefinitionType ¶

func NewNullableHostMapWidgetDefinitionType(val *HostMapWidgetDefinitionType) *NullableHostMapWidgetDefinitionType

NewNullableHostMapWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableHostMapWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableHostMapWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableHostMapWidgetDefinitionType) MarshalJSON ¶

func (v NullableHostMapWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableHostMapWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableHostMapWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableHostMapWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableHostMapWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableHourlyUsageAttributionUsageType ¶ added in v1.8.0

type NullableHourlyUsageAttributionUsageType struct {
	// contains filtered or unexported fields
}

NullableHourlyUsageAttributionUsageType handles when a null is used for HourlyUsageAttributionUsageType.

func NewNullableHourlyUsageAttributionUsageType ¶ added in v1.8.0

func NewNullableHourlyUsageAttributionUsageType(val *HourlyUsageAttributionUsageType) *NullableHourlyUsageAttributionUsageType

NewNullableHourlyUsageAttributionUsageType initializes the struct as if Set has been called.

func (NullableHourlyUsageAttributionUsageType) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableHourlyUsageAttributionUsageType) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableHourlyUsageAttributionUsageType) MarshalJSON ¶ added in v1.8.0

func (v NullableHourlyUsageAttributionUsageType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableHourlyUsageAttributionUsageType) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableHourlyUsageAttributionUsageType) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableHourlyUsageAttributionUsageType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableHourlyUsageAttributionUsageType) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableIFrameWidgetDefinitionType ¶

type NullableIFrameWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableIFrameWidgetDefinitionType handles when a null is used for IFrameWidgetDefinitionType.

func NewNullableIFrameWidgetDefinitionType ¶

func NewNullableIFrameWidgetDefinitionType(val *IFrameWidgetDefinitionType) *NullableIFrameWidgetDefinitionType

NewNullableIFrameWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableIFrameWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableIFrameWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableIFrameWidgetDefinitionType) MarshalJSON ¶

func (v NullableIFrameWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableIFrameWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableIFrameWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableIFrameWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableIFrameWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableImageWidgetDefinitionType ¶

type NullableImageWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableImageWidgetDefinitionType handles when a null is used for ImageWidgetDefinitionType.

func NewNullableImageWidgetDefinitionType ¶

func NewNullableImageWidgetDefinitionType(val *ImageWidgetDefinitionType) *NullableImageWidgetDefinitionType

NewNullableImageWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableImageWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableImageWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableImageWidgetDefinitionType) MarshalJSON ¶

func (v NullableImageWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableImageWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableImageWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableImageWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableImageWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableInt ¶

type NullableInt struct {
	// contains filtered or unexported fields
}

NullableInt is a struct to hold a nullable int value.

func NewNullableInt ¶

func NewNullableInt(val *int) *NullableInt

NewNullableInt instantiates a new nullable int.

func (NullableInt) Get ¶

func (v NullableInt) Get() *int

Get returns the value associated with the nullable int.

func (NullableInt) IsSet ¶

func (v NullableInt) IsSet() bool

IsSet returns true if the value has been set.

func (NullableInt) MarshalJSON ¶

func (v NullableInt) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableInt) Set ¶

func (v *NullableInt) Set(val *int)

Set sets the value associated with the nullable int.

func (*NullableInt) UnmarshalJSON ¶

func (v *NullableInt) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableInt) Unset ¶

func (v *NullableInt) Unset()

Unset resets fields of the nullable int.

type NullableInt32 ¶

type NullableInt32 struct {
	// contains filtered or unexported fields
}

NullableInt32 is a struct to hold a nullable int32 value.

func NewNullableInt32 ¶

func NewNullableInt32(val *int32) *NullableInt32

NewNullableInt32 instantiates a new nullable int32.

func (NullableInt32) Get ¶

func (v NullableInt32) Get() *int32

Get returns the value associated with the nullable int32.

func (NullableInt32) IsSet ¶

func (v NullableInt32) IsSet() bool

IsSet returns true if the value has been set.

func (NullableInt32) MarshalJSON ¶

func (v NullableInt32) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableInt32) Set ¶

func (v *NullableInt32) Set(val *int32)

Set sets the value associated with the nullable int32.

func (*NullableInt32) UnmarshalJSON ¶

func (v *NullableInt32) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableInt32) Unset ¶

func (v *NullableInt32) Unset()

Unset resets fields of the nullable int32.

type NullableInt64 ¶

type NullableInt64 struct {
	// contains filtered or unexported fields
}

NullableInt64 is a struct to hold a nullable int64 value.

func NewNullableInt64 ¶

func NewNullableInt64(val *int64) *NullableInt64

NewNullableInt64 instantiates a new nullable int64.

func (NullableInt64) Get ¶

func (v NullableInt64) Get() *int64

Get returns the value associated with the nullable int64.

func (NullableInt64) IsSet ¶

func (v NullableInt64) IsSet() bool

IsSet returns true if the value has been set.

func (NullableInt64) MarshalJSON ¶

func (v NullableInt64) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableInt64) Set ¶

func (v *NullableInt64) Set(val *int64)

Set sets the value associated with the nullable int64.

func (*NullableInt64) UnmarshalJSON ¶

func (v *NullableInt64) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableInt64) Unset ¶

func (v *NullableInt64) Unset()

Unset resets fields of the nullable int64.

type NullableListStreamColumnWidth ¶ added in v1.3.0

type NullableListStreamColumnWidth struct {
	// contains filtered or unexported fields
}

NullableListStreamColumnWidth handles when a null is used for ListStreamColumnWidth.

func NewNullableListStreamColumnWidth ¶ added in v1.3.0

func NewNullableListStreamColumnWidth(val *ListStreamColumnWidth) *NullableListStreamColumnWidth

NewNullableListStreamColumnWidth initializes the struct as if Set has been called.

func (NullableListStreamColumnWidth) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableListStreamColumnWidth) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableListStreamColumnWidth) MarshalJSON ¶ added in v1.3.0

func (v NullableListStreamColumnWidth) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableListStreamColumnWidth) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableListStreamColumnWidth) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableListStreamColumnWidth) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableListStreamColumnWidth) Unset ¶ added in v1.3.0

func (v *NullableListStreamColumnWidth) Unset()

Unset sets the value to nil and resets the set flag.

type NullableListStreamResponseFormat ¶ added in v1.3.0

type NullableListStreamResponseFormat struct {
	// contains filtered or unexported fields
}

NullableListStreamResponseFormat handles when a null is used for ListStreamResponseFormat.

func NewNullableListStreamResponseFormat ¶ added in v1.3.0

func NewNullableListStreamResponseFormat(val *ListStreamResponseFormat) *NullableListStreamResponseFormat

NewNullableListStreamResponseFormat initializes the struct as if Set has been called.

func (NullableListStreamResponseFormat) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableListStreamResponseFormat) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableListStreamResponseFormat) MarshalJSON ¶ added in v1.3.0

func (v NullableListStreamResponseFormat) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableListStreamResponseFormat) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableListStreamResponseFormat) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableListStreamResponseFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableListStreamResponseFormat) Unset ¶ added in v1.3.0

Unset sets the value to nil and resets the set flag.

type NullableListStreamSource ¶ added in v1.3.0

type NullableListStreamSource struct {
	// contains filtered or unexported fields
}

NullableListStreamSource handles when a null is used for ListStreamSource.

func NewNullableListStreamSource ¶ added in v1.3.0

func NewNullableListStreamSource(val *ListStreamSource) *NullableListStreamSource

NewNullableListStreamSource initializes the struct as if Set has been called.

func (NullableListStreamSource) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableListStreamSource) IsSet ¶ added in v1.3.0

func (v NullableListStreamSource) IsSet() bool

IsSet returns whether Set has been called.

func (NullableListStreamSource) MarshalJSON ¶ added in v1.3.0

func (v NullableListStreamSource) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableListStreamSource) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableListStreamSource) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableListStreamSource) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableListStreamSource) Unset ¶ added in v1.3.0

func (v *NullableListStreamSource) Unset()

Unset sets the value to nil and resets the set flag.

type NullableListStreamWidgetDefinitionType ¶ added in v1.3.0

type NullableListStreamWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableListStreamWidgetDefinitionType handles when a null is used for ListStreamWidgetDefinitionType.

func NewNullableListStreamWidgetDefinitionType ¶ added in v1.3.0

func NewNullableListStreamWidgetDefinitionType(val *ListStreamWidgetDefinitionType) *NullableListStreamWidgetDefinitionType

NewNullableListStreamWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableListStreamWidgetDefinitionType) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableListStreamWidgetDefinitionType) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableListStreamWidgetDefinitionType) MarshalJSON ¶ added in v1.3.0

func (v NullableListStreamWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableListStreamWidgetDefinitionType) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableListStreamWidgetDefinitionType) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableListStreamWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableListStreamWidgetDefinitionType) Unset ¶ added in v1.3.0

Unset sets the value to nil and resets the set flag.

type NullableLogStreamWidgetDefinitionType ¶

type NullableLogStreamWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableLogStreamWidgetDefinitionType handles when a null is used for LogStreamWidgetDefinitionType.

func NewNullableLogStreamWidgetDefinitionType ¶

func NewNullableLogStreamWidgetDefinitionType(val *LogStreamWidgetDefinitionType) *NullableLogStreamWidgetDefinitionType

NewNullableLogStreamWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableLogStreamWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableLogStreamWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogStreamWidgetDefinitionType) MarshalJSON ¶

func (v NullableLogStreamWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogStreamWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogStreamWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableLogStreamWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogStreamWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsArithmeticProcessorType ¶

type NullableLogsArithmeticProcessorType struct {
	// contains filtered or unexported fields
}

NullableLogsArithmeticProcessorType handles when a null is used for LogsArithmeticProcessorType.

func NewNullableLogsArithmeticProcessorType ¶

func NewNullableLogsArithmeticProcessorType(val *LogsArithmeticProcessorType) *NullableLogsArithmeticProcessorType

NewNullableLogsArithmeticProcessorType initializes the struct as if Set has been called.

func (NullableLogsArithmeticProcessorType) Get ¶

Get returns the associated value.

func (NullableLogsArithmeticProcessorType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsArithmeticProcessorType) MarshalJSON ¶

func (v NullableLogsArithmeticProcessorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsArithmeticProcessorType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsArithmeticProcessorType) UnmarshalJSON ¶

func (v *NullableLogsArithmeticProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsArithmeticProcessorType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsAttributeRemapperType ¶

type NullableLogsAttributeRemapperType struct {
	// contains filtered or unexported fields
}

NullableLogsAttributeRemapperType handles when a null is used for LogsAttributeRemapperType.

func NewNullableLogsAttributeRemapperType ¶

func NewNullableLogsAttributeRemapperType(val *LogsAttributeRemapperType) *NullableLogsAttributeRemapperType

NewNullableLogsAttributeRemapperType initializes the struct as if Set has been called.

func (NullableLogsAttributeRemapperType) Get ¶

Get returns the associated value.

func (NullableLogsAttributeRemapperType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsAttributeRemapperType) MarshalJSON ¶

func (v NullableLogsAttributeRemapperType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsAttributeRemapperType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsAttributeRemapperType) UnmarshalJSON ¶

func (v *NullableLogsAttributeRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsAttributeRemapperType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsCategoryProcessorType ¶

type NullableLogsCategoryProcessorType struct {
	// contains filtered or unexported fields
}

NullableLogsCategoryProcessorType handles when a null is used for LogsCategoryProcessorType.

func NewNullableLogsCategoryProcessorType ¶

func NewNullableLogsCategoryProcessorType(val *LogsCategoryProcessorType) *NullableLogsCategoryProcessorType

NewNullableLogsCategoryProcessorType initializes the struct as if Set has been called.

func (NullableLogsCategoryProcessorType) Get ¶

Get returns the associated value.

func (NullableLogsCategoryProcessorType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsCategoryProcessorType) MarshalJSON ¶

func (v NullableLogsCategoryProcessorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsCategoryProcessorType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsCategoryProcessorType) UnmarshalJSON ¶

func (v *NullableLogsCategoryProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsCategoryProcessorType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsDateRemapperType ¶

type NullableLogsDateRemapperType struct {
	// contains filtered or unexported fields
}

NullableLogsDateRemapperType handles when a null is used for LogsDateRemapperType.

func NewNullableLogsDateRemapperType ¶

func NewNullableLogsDateRemapperType(val *LogsDateRemapperType) *NullableLogsDateRemapperType

NewNullableLogsDateRemapperType initializes the struct as if Set has been called.

func (NullableLogsDateRemapperType) Get ¶

Get returns the associated value.

func (NullableLogsDateRemapperType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsDateRemapperType) MarshalJSON ¶

func (v NullableLogsDateRemapperType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsDateRemapperType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsDateRemapperType) UnmarshalJSON ¶

func (v *NullableLogsDateRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsDateRemapperType) Unset ¶

func (v *NullableLogsDateRemapperType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsGeoIPParserType ¶

type NullableLogsGeoIPParserType struct {
	// contains filtered or unexported fields
}

NullableLogsGeoIPParserType handles when a null is used for LogsGeoIPParserType.

func NewNullableLogsGeoIPParserType ¶

func NewNullableLogsGeoIPParserType(val *LogsGeoIPParserType) *NullableLogsGeoIPParserType

NewNullableLogsGeoIPParserType initializes the struct as if Set has been called.

func (NullableLogsGeoIPParserType) Get ¶

Get returns the associated value.

func (NullableLogsGeoIPParserType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsGeoIPParserType) MarshalJSON ¶

func (v NullableLogsGeoIPParserType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsGeoIPParserType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsGeoIPParserType) UnmarshalJSON ¶

func (v *NullableLogsGeoIPParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsGeoIPParserType) Unset ¶

func (v *NullableLogsGeoIPParserType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsGrokParserType ¶

type NullableLogsGrokParserType struct {
	// contains filtered or unexported fields
}

NullableLogsGrokParserType handles when a null is used for LogsGrokParserType.

func NewNullableLogsGrokParserType ¶

func NewNullableLogsGrokParserType(val *LogsGrokParserType) *NullableLogsGrokParserType

NewNullableLogsGrokParserType initializes the struct as if Set has been called.

func (NullableLogsGrokParserType) Get ¶

Get returns the associated value.

func (NullableLogsGrokParserType) IsSet ¶

func (v NullableLogsGrokParserType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsGrokParserType) MarshalJSON ¶

func (v NullableLogsGrokParserType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsGrokParserType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsGrokParserType) UnmarshalJSON ¶

func (v *NullableLogsGrokParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsGrokParserType) Unset ¶

func (v *NullableLogsGrokParserType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsLookupProcessorType ¶

type NullableLogsLookupProcessorType struct {
	// contains filtered or unexported fields
}

NullableLogsLookupProcessorType handles when a null is used for LogsLookupProcessorType.

func NewNullableLogsLookupProcessorType ¶

func NewNullableLogsLookupProcessorType(val *LogsLookupProcessorType) *NullableLogsLookupProcessorType

NewNullableLogsLookupProcessorType initializes the struct as if Set has been called.

func (NullableLogsLookupProcessorType) Get ¶

Get returns the associated value.

func (NullableLogsLookupProcessorType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsLookupProcessorType) MarshalJSON ¶

func (v NullableLogsLookupProcessorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsLookupProcessorType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsLookupProcessorType) UnmarshalJSON ¶

func (v *NullableLogsLookupProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsLookupProcessorType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsMessageRemapperType ¶

type NullableLogsMessageRemapperType struct {
	// contains filtered or unexported fields
}

NullableLogsMessageRemapperType handles when a null is used for LogsMessageRemapperType.

func NewNullableLogsMessageRemapperType ¶

func NewNullableLogsMessageRemapperType(val *LogsMessageRemapperType) *NullableLogsMessageRemapperType

NewNullableLogsMessageRemapperType initializes the struct as if Set has been called.

func (NullableLogsMessageRemapperType) Get ¶

Get returns the associated value.

func (NullableLogsMessageRemapperType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsMessageRemapperType) MarshalJSON ¶

func (v NullableLogsMessageRemapperType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsMessageRemapperType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsMessageRemapperType) UnmarshalJSON ¶

func (v *NullableLogsMessageRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsMessageRemapperType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsPipelineProcessorType ¶

type NullableLogsPipelineProcessorType struct {
	// contains filtered or unexported fields
}

NullableLogsPipelineProcessorType handles when a null is used for LogsPipelineProcessorType.

func NewNullableLogsPipelineProcessorType ¶

func NewNullableLogsPipelineProcessorType(val *LogsPipelineProcessorType) *NullableLogsPipelineProcessorType

NewNullableLogsPipelineProcessorType initializes the struct as if Set has been called.

func (NullableLogsPipelineProcessorType) Get ¶

Get returns the associated value.

func (NullableLogsPipelineProcessorType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsPipelineProcessorType) MarshalJSON ¶

func (v NullableLogsPipelineProcessorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsPipelineProcessorType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsPipelineProcessorType) UnmarshalJSON ¶

func (v *NullableLogsPipelineProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsPipelineProcessorType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsProcessor ¶

type NullableLogsProcessor struct {
	// contains filtered or unexported fields
}

NullableLogsProcessor handles when a null is used for LogsProcessor.

func NewNullableLogsProcessor ¶

func NewNullableLogsProcessor(val *LogsProcessor) *NullableLogsProcessor

NewNullableLogsProcessor initializes the struct as if Set has been called.

func (NullableLogsProcessor) Get ¶

Get returns the associated value.

func (NullableLogsProcessor) IsSet ¶

func (v NullableLogsProcessor) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsProcessor) MarshalJSON ¶

func (v NullableLogsProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsProcessor) Set ¶

func (v *NullableLogsProcessor) Set(val *LogsProcessor)

Set changes the value and indicates it's been called.

func (*NullableLogsProcessor) UnmarshalJSON ¶

func (v *NullableLogsProcessor) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsProcessor) Unset ¶

func (v *NullableLogsProcessor) Unset()

Unset sets the value to nil and resets the set flag/

type NullableLogsServiceRemapperType ¶

type NullableLogsServiceRemapperType struct {
	// contains filtered or unexported fields
}

NullableLogsServiceRemapperType handles when a null is used for LogsServiceRemapperType.

func NewNullableLogsServiceRemapperType ¶

func NewNullableLogsServiceRemapperType(val *LogsServiceRemapperType) *NullableLogsServiceRemapperType

NewNullableLogsServiceRemapperType initializes the struct as if Set has been called.

func (NullableLogsServiceRemapperType) Get ¶

Get returns the associated value.

func (NullableLogsServiceRemapperType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsServiceRemapperType) MarshalJSON ¶

func (v NullableLogsServiceRemapperType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsServiceRemapperType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsServiceRemapperType) UnmarshalJSON ¶

func (v *NullableLogsServiceRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsServiceRemapperType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsSort ¶

type NullableLogsSort struct {
	// contains filtered or unexported fields
}

NullableLogsSort handles when a null is used for LogsSort.

func NewNullableLogsSort ¶

func NewNullableLogsSort(val *LogsSort) *NullableLogsSort

NewNullableLogsSort initializes the struct as if Set has been called.

func (NullableLogsSort) Get ¶

func (v NullableLogsSort) Get() *LogsSort

Get returns the associated value.

func (NullableLogsSort) IsSet ¶

func (v NullableLogsSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsSort) MarshalJSON ¶

func (v NullableLogsSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsSort) Set ¶

func (v *NullableLogsSort) Set(val *LogsSort)

Set changes the value and indicates it's been called.

func (*NullableLogsSort) UnmarshalJSON ¶

func (v *NullableLogsSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsSort) Unset ¶

func (v *NullableLogsSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsStatusRemapperType ¶

type NullableLogsStatusRemapperType struct {
	// contains filtered or unexported fields
}

NullableLogsStatusRemapperType handles when a null is used for LogsStatusRemapperType.

func NewNullableLogsStatusRemapperType ¶

func NewNullableLogsStatusRemapperType(val *LogsStatusRemapperType) *NullableLogsStatusRemapperType

NewNullableLogsStatusRemapperType initializes the struct as if Set has been called.

func (NullableLogsStatusRemapperType) Get ¶

Get returns the associated value.

func (NullableLogsStatusRemapperType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsStatusRemapperType) MarshalJSON ¶

func (v NullableLogsStatusRemapperType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsStatusRemapperType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsStatusRemapperType) UnmarshalJSON ¶

func (v *NullableLogsStatusRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsStatusRemapperType) Unset ¶

func (v *NullableLogsStatusRemapperType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsStringBuilderProcessorType ¶

type NullableLogsStringBuilderProcessorType struct {
	// contains filtered or unexported fields
}

NullableLogsStringBuilderProcessorType handles when a null is used for LogsStringBuilderProcessorType.

func NewNullableLogsStringBuilderProcessorType ¶

func NewNullableLogsStringBuilderProcessorType(val *LogsStringBuilderProcessorType) *NullableLogsStringBuilderProcessorType

NewNullableLogsStringBuilderProcessorType initializes the struct as if Set has been called.

func (NullableLogsStringBuilderProcessorType) Get ¶

Get returns the associated value.

func (NullableLogsStringBuilderProcessorType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsStringBuilderProcessorType) MarshalJSON ¶

func (v NullableLogsStringBuilderProcessorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsStringBuilderProcessorType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsStringBuilderProcessorType) UnmarshalJSON ¶

func (v *NullableLogsStringBuilderProcessorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsStringBuilderProcessorType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableLogsTraceRemapperType ¶

type NullableLogsTraceRemapperType struct {
	// contains filtered or unexported fields
}

NullableLogsTraceRemapperType handles when a null is used for LogsTraceRemapperType.

func NewNullableLogsTraceRemapperType ¶

func NewNullableLogsTraceRemapperType(val *LogsTraceRemapperType) *NullableLogsTraceRemapperType

NewNullableLogsTraceRemapperType initializes the struct as if Set has been called.

func (NullableLogsTraceRemapperType) Get ¶

Get returns the associated value.

func (NullableLogsTraceRemapperType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsTraceRemapperType) MarshalJSON ¶

func (v NullableLogsTraceRemapperType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsTraceRemapperType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsTraceRemapperType) UnmarshalJSON ¶

func (v *NullableLogsTraceRemapperType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsTraceRemapperType) Unset ¶

func (v *NullableLogsTraceRemapperType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsURLParserType ¶

type NullableLogsURLParserType struct {
	// contains filtered or unexported fields
}

NullableLogsURLParserType handles when a null is used for LogsURLParserType.

func NewNullableLogsURLParserType ¶

func NewNullableLogsURLParserType(val *LogsURLParserType) *NullableLogsURLParserType

NewNullableLogsURLParserType initializes the struct as if Set has been called.

func (NullableLogsURLParserType) Get ¶

Get returns the associated value.

func (NullableLogsURLParserType) IsSet ¶

func (v NullableLogsURLParserType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableLogsURLParserType) MarshalJSON ¶

func (v NullableLogsURLParserType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsURLParserType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsURLParserType) UnmarshalJSON ¶

func (v *NullableLogsURLParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsURLParserType) Unset ¶

func (v *NullableLogsURLParserType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableLogsUserAgentParserType ¶

type NullableLogsUserAgentParserType struct {
	// contains filtered or unexported fields
}

NullableLogsUserAgentParserType handles when a null is used for LogsUserAgentParserType.

func NewNullableLogsUserAgentParserType ¶

func NewNullableLogsUserAgentParserType(val *LogsUserAgentParserType) *NullableLogsUserAgentParserType

NewNullableLogsUserAgentParserType initializes the struct as if Set has been called.

func (NullableLogsUserAgentParserType) Get ¶

Get returns the associated value.

func (NullableLogsUserAgentParserType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableLogsUserAgentParserType) MarshalJSON ¶

func (v NullableLogsUserAgentParserType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableLogsUserAgentParserType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableLogsUserAgentParserType) UnmarshalJSON ¶

func (v *NullableLogsUserAgentParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableLogsUserAgentParserType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMetricContentEncoding ¶ added in v1.5.0

type NullableMetricContentEncoding struct {
	// contains filtered or unexported fields
}

NullableMetricContentEncoding handles when a null is used for MetricContentEncoding.

func NewNullableMetricContentEncoding ¶ added in v1.5.0

func NewNullableMetricContentEncoding(val *MetricContentEncoding) *NullableMetricContentEncoding

NewNullableMetricContentEncoding initializes the struct as if Set has been called.

func (NullableMetricContentEncoding) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableMetricContentEncoding) IsSet ¶ added in v1.5.0

IsSet returns whether Set has been called.

func (NullableMetricContentEncoding) MarshalJSON ¶ added in v1.5.0

func (v NullableMetricContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricContentEncoding) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableMetricContentEncoding) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableMetricContentEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricContentEncoding) Unset ¶ added in v1.5.0

func (v *NullableMetricContentEncoding) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMetricsQueryUnit ¶

type NullableMetricsQueryUnit struct {
	// contains filtered or unexported fields
}

NullableMetricsQueryUnit handles when a null is used for MetricsQueryUnit.

func NewNullableMetricsQueryUnit ¶

func NewNullableMetricsQueryUnit(val *MetricsQueryUnit) *NullableMetricsQueryUnit

NewNullableMetricsQueryUnit initializes the struct as if Set has been called.

func (NullableMetricsQueryUnit) Get ¶

Get returns the associated value.

func (NullableMetricsQueryUnit) IsSet ¶

func (v NullableMetricsQueryUnit) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMetricsQueryUnit) MarshalJSON ¶

func (v NullableMetricsQueryUnit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMetricsQueryUnit) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMetricsQueryUnit) UnmarshalJSON ¶

func (v *NullableMetricsQueryUnit) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMetricsQueryUnit) Unset ¶

func (v *NullableMetricsQueryUnit) Unset()

Unset sets the value to nil and resets the set flag/

type NullableMonitorDeviceID ¶

type NullableMonitorDeviceID struct {
	// contains filtered or unexported fields
}

NullableMonitorDeviceID handles when a null is used for MonitorDeviceID.

func NewNullableMonitorDeviceID ¶

func NewNullableMonitorDeviceID(val *MonitorDeviceID) *NullableMonitorDeviceID

NewNullableMonitorDeviceID initializes the struct as if Set has been called.

func (NullableMonitorDeviceID) Get ¶

Get returns the associated value.

func (NullableMonitorDeviceID) IsSet ¶

func (v NullableMonitorDeviceID) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMonitorDeviceID) MarshalJSON ¶

func (v NullableMonitorDeviceID) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorDeviceID) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMonitorDeviceID) UnmarshalJSON ¶

func (v *NullableMonitorDeviceID) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorDeviceID) Unset ¶

func (v *NullableMonitorDeviceID) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMonitorFormulaAndFunctionEventAggregation ¶ added in v1.9.0

type NullableMonitorFormulaAndFunctionEventAggregation struct {
	// contains filtered or unexported fields
}

NullableMonitorFormulaAndFunctionEventAggregation handles when a null is used for MonitorFormulaAndFunctionEventAggregation.

func NewNullableMonitorFormulaAndFunctionEventAggregation ¶ added in v1.9.0

func NewNullableMonitorFormulaAndFunctionEventAggregation(val *MonitorFormulaAndFunctionEventAggregation) *NullableMonitorFormulaAndFunctionEventAggregation

NewNullableMonitorFormulaAndFunctionEventAggregation initializes the struct as if Set has been called.

func (NullableMonitorFormulaAndFunctionEventAggregation) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableMonitorFormulaAndFunctionEventAggregation) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableMonitorFormulaAndFunctionEventAggregation) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the associated value.

func (*NullableMonitorFormulaAndFunctionEventAggregation) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableMonitorFormulaAndFunctionEventAggregation) UnmarshalJSON ¶ added in v1.9.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorFormulaAndFunctionEventAggregation) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag.

type NullableMonitorFormulaAndFunctionEventsDataSource ¶ added in v1.9.0

type NullableMonitorFormulaAndFunctionEventsDataSource struct {
	// contains filtered or unexported fields
}

NullableMonitorFormulaAndFunctionEventsDataSource handles when a null is used for MonitorFormulaAndFunctionEventsDataSource.

func NewNullableMonitorFormulaAndFunctionEventsDataSource ¶ added in v1.9.0

func NewNullableMonitorFormulaAndFunctionEventsDataSource(val *MonitorFormulaAndFunctionEventsDataSource) *NullableMonitorFormulaAndFunctionEventsDataSource

NewNullableMonitorFormulaAndFunctionEventsDataSource initializes the struct as if Set has been called.

func (NullableMonitorFormulaAndFunctionEventsDataSource) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableMonitorFormulaAndFunctionEventsDataSource) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableMonitorFormulaAndFunctionEventsDataSource) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the associated value.

func (*NullableMonitorFormulaAndFunctionEventsDataSource) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableMonitorFormulaAndFunctionEventsDataSource) UnmarshalJSON ¶ added in v1.9.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorFormulaAndFunctionEventsDataSource) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag.

type NullableMonitorFormulaAndFunctionQueryDefinition ¶ added in v1.9.0

type NullableMonitorFormulaAndFunctionQueryDefinition struct {
	// contains filtered or unexported fields
}

NullableMonitorFormulaAndFunctionQueryDefinition handles when a null is used for MonitorFormulaAndFunctionQueryDefinition.

func NewNullableMonitorFormulaAndFunctionQueryDefinition ¶ added in v1.9.0

func NewNullableMonitorFormulaAndFunctionQueryDefinition(val *MonitorFormulaAndFunctionQueryDefinition) *NullableMonitorFormulaAndFunctionQueryDefinition

NewNullableMonitorFormulaAndFunctionQueryDefinition initializes the struct as if Set has been called.

func (NullableMonitorFormulaAndFunctionQueryDefinition) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableMonitorFormulaAndFunctionQueryDefinition) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableMonitorFormulaAndFunctionQueryDefinition) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the associated value.

func (*NullableMonitorFormulaAndFunctionQueryDefinition) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableMonitorFormulaAndFunctionQueryDefinition) UnmarshalJSON ¶ added in v1.9.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorFormulaAndFunctionQueryDefinition) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag/

type NullableMonitorOverallStates ¶

type NullableMonitorOverallStates struct {
	// contains filtered or unexported fields
}

NullableMonitorOverallStates handles when a null is used for MonitorOverallStates.

func NewNullableMonitorOverallStates ¶

func NewNullableMonitorOverallStates(val *MonitorOverallStates) *NullableMonitorOverallStates

NewNullableMonitorOverallStates initializes the struct as if Set has been called.

func (NullableMonitorOverallStates) Get ¶

Get returns the associated value.

func (NullableMonitorOverallStates) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMonitorOverallStates) MarshalJSON ¶

func (v NullableMonitorOverallStates) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorOverallStates) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMonitorOverallStates) UnmarshalJSON ¶

func (v *NullableMonitorOverallStates) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorOverallStates) Unset ¶

func (v *NullableMonitorOverallStates) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMonitorRenotifyStatusType ¶ added in v1.5.0

type NullableMonitorRenotifyStatusType struct {
	// contains filtered or unexported fields
}

NullableMonitorRenotifyStatusType handles when a null is used for MonitorRenotifyStatusType.

func NewNullableMonitorRenotifyStatusType ¶ added in v1.5.0

func NewNullableMonitorRenotifyStatusType(val *MonitorRenotifyStatusType) *NullableMonitorRenotifyStatusType

NewNullableMonitorRenotifyStatusType initializes the struct as if Set has been called.

func (NullableMonitorRenotifyStatusType) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableMonitorRenotifyStatusType) IsSet ¶ added in v1.5.0

IsSet returns whether Set has been called.

func (NullableMonitorRenotifyStatusType) MarshalJSON ¶ added in v1.5.0

func (v NullableMonitorRenotifyStatusType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorRenotifyStatusType) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableMonitorRenotifyStatusType) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableMonitorRenotifyStatusType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorRenotifyStatusType) Unset ¶ added in v1.5.0

Unset sets the value to nil and resets the set flag.

type NullableMonitorSummaryWidgetDefinitionType ¶

type NullableMonitorSummaryWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableMonitorSummaryWidgetDefinitionType handles when a null is used for MonitorSummaryWidgetDefinitionType.

func NewNullableMonitorSummaryWidgetDefinitionType ¶

func NewNullableMonitorSummaryWidgetDefinitionType(val *MonitorSummaryWidgetDefinitionType) *NullableMonitorSummaryWidgetDefinitionType

NewNullableMonitorSummaryWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableMonitorSummaryWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableMonitorSummaryWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableMonitorSummaryWidgetDefinitionType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableMonitorSummaryWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableMonitorSummaryWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableMonitorSummaryWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorSummaryWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableMonitorType ¶

type NullableMonitorType struct {
	// contains filtered or unexported fields
}

NullableMonitorType handles when a null is used for MonitorType.

func NewNullableMonitorType ¶

func NewNullableMonitorType(val *MonitorType) *NullableMonitorType

NewNullableMonitorType initializes the struct as if Set has been called.

func (NullableMonitorType) Get ¶

Get returns the associated value.

func (NullableMonitorType) IsSet ¶

func (v NullableMonitorType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableMonitorType) MarshalJSON ¶

func (v NullableMonitorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableMonitorType) Set ¶

func (v *NullableMonitorType) Set(val *MonitorType)

Set changes the value and indicates it's been called.

func (*NullableMonitorType) UnmarshalJSON ¶

func (v *NullableMonitorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonitorType) Unset ¶

func (v *NullableMonitorType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableMonthlyUsageAttributionSupportedMetrics ¶ added in v1.8.0

type NullableMonthlyUsageAttributionSupportedMetrics struct {
	// contains filtered or unexported fields
}

NullableMonthlyUsageAttributionSupportedMetrics handles when a null is used for MonthlyUsageAttributionSupportedMetrics.

func NewNullableMonthlyUsageAttributionSupportedMetrics ¶ added in v1.8.0

func NewNullableMonthlyUsageAttributionSupportedMetrics(val *MonthlyUsageAttributionSupportedMetrics) *NullableMonthlyUsageAttributionSupportedMetrics

NewNullableMonthlyUsageAttributionSupportedMetrics initializes the struct as if Set has been called.

func (NullableMonthlyUsageAttributionSupportedMetrics) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableMonthlyUsageAttributionSupportedMetrics) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableMonthlyUsageAttributionSupportedMetrics) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the associated value.

func (*NullableMonthlyUsageAttributionSupportedMetrics) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableMonthlyUsageAttributionSupportedMetrics) UnmarshalJSON ¶ added in v1.8.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableMonthlyUsageAttributionSupportedMetrics) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableNoteWidgetDefinitionType ¶

type NullableNoteWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableNoteWidgetDefinitionType handles when a null is used for NoteWidgetDefinitionType.

func NewNullableNoteWidgetDefinitionType ¶

func NewNullableNoteWidgetDefinitionType(val *NoteWidgetDefinitionType) *NullableNoteWidgetDefinitionType

NewNullableNoteWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableNoteWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableNoteWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNoteWidgetDefinitionType) MarshalJSON ¶

func (v NullableNoteWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNoteWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNoteWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableNoteWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNoteWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableNotebookCellCreateRequestAttributes ¶

type NullableNotebookCellCreateRequestAttributes struct {
	// contains filtered or unexported fields
}

NullableNotebookCellCreateRequestAttributes handles when a null is used for NotebookCellCreateRequestAttributes.

func NewNullableNotebookCellCreateRequestAttributes ¶

func NewNullableNotebookCellCreateRequestAttributes(val *NotebookCellCreateRequestAttributes) *NullableNotebookCellCreateRequestAttributes

NewNullableNotebookCellCreateRequestAttributes initializes the struct as if Set has been called.

func (NullableNotebookCellCreateRequestAttributes) Get ¶

Get returns the associated value.

func (NullableNotebookCellCreateRequestAttributes) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNotebookCellCreateRequestAttributes) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableNotebookCellCreateRequestAttributes) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookCellCreateRequestAttributes) UnmarshalJSON ¶

func (v *NullableNotebookCellCreateRequestAttributes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookCellCreateRequestAttributes) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableNotebookCellResourceType ¶

type NullableNotebookCellResourceType struct {
	// contains filtered or unexported fields
}

NullableNotebookCellResourceType handles when a null is used for NotebookCellResourceType.

func NewNullableNotebookCellResourceType ¶

func NewNullableNotebookCellResourceType(val *NotebookCellResourceType) *NullableNotebookCellResourceType

NewNullableNotebookCellResourceType initializes the struct as if Set has been called.

func (NullableNotebookCellResourceType) Get ¶

Get returns the associated value.

func (NullableNotebookCellResourceType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNotebookCellResourceType) MarshalJSON ¶

func (v NullableNotebookCellResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookCellResourceType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookCellResourceType) UnmarshalJSON ¶

func (v *NullableNotebookCellResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookCellResourceType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableNotebookCellResponseAttributes ¶

type NullableNotebookCellResponseAttributes struct {
	// contains filtered or unexported fields
}

NullableNotebookCellResponseAttributes handles when a null is used for NotebookCellResponseAttributes.

func NewNullableNotebookCellResponseAttributes ¶

func NewNullableNotebookCellResponseAttributes(val *NotebookCellResponseAttributes) *NullableNotebookCellResponseAttributes

NewNullableNotebookCellResponseAttributes initializes the struct as if Set has been called.

func (NullableNotebookCellResponseAttributes) Get ¶

Get returns the associated value.

func (NullableNotebookCellResponseAttributes) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNotebookCellResponseAttributes) MarshalJSON ¶

func (v NullableNotebookCellResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookCellResponseAttributes) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookCellResponseAttributes) UnmarshalJSON ¶

func (v *NullableNotebookCellResponseAttributes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookCellResponseAttributes) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableNotebookCellTime ¶

type NullableNotebookCellTime struct {
	// contains filtered or unexported fields
}

NullableNotebookCellTime handles when a null is used for NotebookCellTime.

func NewNullableNotebookCellTime ¶

func NewNullableNotebookCellTime(val *NotebookCellTime) *NullableNotebookCellTime

NewNullableNotebookCellTime initializes the struct as if Set has been called.

func (NullableNotebookCellTime) Get ¶

Get returns the associated value.

func (NullableNotebookCellTime) IsSet ¶

func (v NullableNotebookCellTime) IsSet() bool

IsSet returns whether Set has been called.

func (NullableNotebookCellTime) MarshalJSON ¶

func (v NullableNotebookCellTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookCellTime) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookCellTime) UnmarshalJSON ¶

func (v *NullableNotebookCellTime) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookCellTime) Unset ¶

func (v *NullableNotebookCellTime) Unset()

Unset sets the value to nil and resets the set flag/

type NullableNotebookCellUpdateRequestAttributes ¶

type NullableNotebookCellUpdateRequestAttributes struct {
	// contains filtered or unexported fields
}

NullableNotebookCellUpdateRequestAttributes handles when a null is used for NotebookCellUpdateRequestAttributes.

func NewNullableNotebookCellUpdateRequestAttributes ¶

func NewNullableNotebookCellUpdateRequestAttributes(val *NotebookCellUpdateRequestAttributes) *NullableNotebookCellUpdateRequestAttributes

NewNullableNotebookCellUpdateRequestAttributes initializes the struct as if Set has been called.

func (NullableNotebookCellUpdateRequestAttributes) Get ¶

Get returns the associated value.

func (NullableNotebookCellUpdateRequestAttributes) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNotebookCellUpdateRequestAttributes) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableNotebookCellUpdateRequestAttributes) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookCellUpdateRequestAttributes) UnmarshalJSON ¶

func (v *NullableNotebookCellUpdateRequestAttributes) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookCellUpdateRequestAttributes) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableNotebookGlobalTime ¶

type NullableNotebookGlobalTime struct {
	// contains filtered or unexported fields
}

NullableNotebookGlobalTime handles when a null is used for NotebookGlobalTime.

func NewNullableNotebookGlobalTime ¶

func NewNullableNotebookGlobalTime(val *NotebookGlobalTime) *NullableNotebookGlobalTime

NewNullableNotebookGlobalTime initializes the struct as if Set has been called.

func (NullableNotebookGlobalTime) Get ¶

Get returns the associated value.

func (NullableNotebookGlobalTime) IsSet ¶

func (v NullableNotebookGlobalTime) IsSet() bool

IsSet returns whether Set has been called.

func (NullableNotebookGlobalTime) MarshalJSON ¶

func (v NullableNotebookGlobalTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookGlobalTime) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookGlobalTime) UnmarshalJSON ¶

func (v *NullableNotebookGlobalTime) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookGlobalTime) Unset ¶

func (v *NullableNotebookGlobalTime) Unset()

Unset sets the value to nil and resets the set flag/

type NullableNotebookGraphSize ¶

type NullableNotebookGraphSize struct {
	// contains filtered or unexported fields
}

NullableNotebookGraphSize handles when a null is used for NotebookGraphSize.

func NewNullableNotebookGraphSize ¶

func NewNullableNotebookGraphSize(val *NotebookGraphSize) *NullableNotebookGraphSize

NewNullableNotebookGraphSize initializes the struct as if Set has been called.

func (NullableNotebookGraphSize) Get ¶

Get returns the associated value.

func (NullableNotebookGraphSize) IsSet ¶

func (v NullableNotebookGraphSize) IsSet() bool

IsSet returns whether Set has been called.

func (NullableNotebookGraphSize) MarshalJSON ¶

func (v NullableNotebookGraphSize) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookGraphSize) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookGraphSize) UnmarshalJSON ¶

func (v *NullableNotebookGraphSize) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookGraphSize) Unset ¶

func (v *NullableNotebookGraphSize) Unset()

Unset sets the value to nil and resets the set flag.

type NullableNotebookMarkdownCellDefinitionType ¶

type NullableNotebookMarkdownCellDefinitionType struct {
	// contains filtered or unexported fields
}

NullableNotebookMarkdownCellDefinitionType handles when a null is used for NotebookMarkdownCellDefinitionType.

func NewNullableNotebookMarkdownCellDefinitionType ¶

func NewNullableNotebookMarkdownCellDefinitionType(val *NotebookMarkdownCellDefinitionType) *NullableNotebookMarkdownCellDefinitionType

NewNullableNotebookMarkdownCellDefinitionType initializes the struct as if Set has been called.

func (NullableNotebookMarkdownCellDefinitionType) Get ¶

Get returns the associated value.

func (NullableNotebookMarkdownCellDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNotebookMarkdownCellDefinitionType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableNotebookMarkdownCellDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookMarkdownCellDefinitionType) UnmarshalJSON ¶

func (v *NullableNotebookMarkdownCellDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookMarkdownCellDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableNotebookMetadataType ¶ added in v1.5.0

type NullableNotebookMetadataType struct {
	// contains filtered or unexported fields
}

NullableNotebookMetadataType handles when a null is used for NotebookMetadataType.

func NewNullableNotebookMetadataType ¶ added in v1.5.0

func NewNullableNotebookMetadataType(val *NotebookMetadataType) *NullableNotebookMetadataType

NewNullableNotebookMetadataType initializes the struct as if Set has been called.

func (NullableNotebookMetadataType) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableNotebookMetadataType) IsSet ¶ added in v1.5.0

IsSet returns whether Set has been called.

func (NullableNotebookMetadataType) MarshalJSON ¶ added in v1.5.0

func (v NullableNotebookMetadataType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookMetadataType) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableNotebookMetadataType) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableNotebookMetadataType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookMetadataType) Unset ¶ added in v1.5.0

func (v *NullableNotebookMetadataType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableNotebookRelativeTime ¶

type NullableNotebookRelativeTime struct {
	// contains filtered or unexported fields
}

NullableNotebookRelativeTime handles when a null is used for NotebookRelativeTime.

func NewNullableNotebookRelativeTime ¶

func NewNullableNotebookRelativeTime(val *NotebookRelativeTime) *NullableNotebookRelativeTime

NewNullableNotebookRelativeTime initializes the struct as if Set has been called.

func (NullableNotebookRelativeTime) Get ¶

Get returns the associated value.

func (NullableNotebookRelativeTime) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNotebookRelativeTime) MarshalJSON ¶

func (v NullableNotebookRelativeTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookRelativeTime) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookRelativeTime) UnmarshalJSON ¶

func (v *NullableNotebookRelativeTime) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookRelativeTime) Unset ¶

func (v *NullableNotebookRelativeTime) Unset()

Unset sets the value to nil and resets the set flag/

type NullableNotebookResourceType ¶

type NullableNotebookResourceType struct {
	// contains filtered or unexported fields
}

NullableNotebookResourceType handles when a null is used for NotebookResourceType.

func NewNullableNotebookResourceType ¶

func NewNullableNotebookResourceType(val *NotebookResourceType) *NullableNotebookResourceType

NewNullableNotebookResourceType initializes the struct as if Set has been called.

func (NullableNotebookResourceType) Get ¶

Get returns the associated value.

func (NullableNotebookResourceType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableNotebookResourceType) MarshalJSON ¶

func (v NullableNotebookResourceType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookResourceType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookResourceType) UnmarshalJSON ¶

func (v *NullableNotebookResourceType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookResourceType) Unset ¶

func (v *NullableNotebookResourceType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableNotebookStatus ¶

type NullableNotebookStatus struct {
	// contains filtered or unexported fields
}

NullableNotebookStatus handles when a null is used for NotebookStatus.

func NewNullableNotebookStatus ¶

func NewNullableNotebookStatus(val *NotebookStatus) *NullableNotebookStatus

NewNullableNotebookStatus initializes the struct as if Set has been called.

func (NullableNotebookStatus) Get ¶

Get returns the associated value.

func (NullableNotebookStatus) IsSet ¶

func (v NullableNotebookStatus) IsSet() bool

IsSet returns whether Set has been called.

func (NullableNotebookStatus) MarshalJSON ¶

func (v NullableNotebookStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookStatus) UnmarshalJSON ¶

func (v *NullableNotebookStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookStatus) Unset ¶

func (v *NullableNotebookStatus) Unset()

Unset sets the value to nil and resets the set flag.

type NullableNotebookUpdateCell ¶

type NullableNotebookUpdateCell struct {
	// contains filtered or unexported fields
}

NullableNotebookUpdateCell handles when a null is used for NotebookUpdateCell.

func NewNullableNotebookUpdateCell ¶

func NewNullableNotebookUpdateCell(val *NotebookUpdateCell) *NullableNotebookUpdateCell

NewNullableNotebookUpdateCell initializes the struct as if Set has been called.

func (NullableNotebookUpdateCell) Get ¶

Get returns the associated value.

func (NullableNotebookUpdateCell) IsSet ¶

func (v NullableNotebookUpdateCell) IsSet() bool

IsSet returns whether Set has been called.

func (NullableNotebookUpdateCell) MarshalJSON ¶

func (v NullableNotebookUpdateCell) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableNotebookUpdateCell) Set ¶

Set changes the value and indicates it's been called.

func (*NullableNotebookUpdateCell) UnmarshalJSON ¶

func (v *NullableNotebookUpdateCell) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableNotebookUpdateCell) Unset ¶

func (v *NullableNotebookUpdateCell) Unset()

Unset sets the value to nil and resets the set flag/

type NullableQuerySortOrder ¶

type NullableQuerySortOrder struct {
	// contains filtered or unexported fields
}

NullableQuerySortOrder handles when a null is used for QuerySortOrder.

func NewNullableQuerySortOrder ¶

func NewNullableQuerySortOrder(val *QuerySortOrder) *NullableQuerySortOrder

NewNullableQuerySortOrder initializes the struct as if Set has been called.

func (NullableQuerySortOrder) Get ¶

Get returns the associated value.

func (NullableQuerySortOrder) IsSet ¶

func (v NullableQuerySortOrder) IsSet() bool

IsSet returns whether Set has been called.

func (NullableQuerySortOrder) MarshalJSON ¶

func (v NullableQuerySortOrder) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableQuerySortOrder) Set ¶

Set changes the value and indicates it's been called.

func (*NullableQuerySortOrder) UnmarshalJSON ¶

func (v *NullableQuerySortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableQuerySortOrder) Unset ¶

func (v *NullableQuerySortOrder) Unset()

Unset sets the value to nil and resets the set flag.

type NullableQueryValueWidgetDefinitionType ¶

type NullableQueryValueWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableQueryValueWidgetDefinitionType handles when a null is used for QueryValueWidgetDefinitionType.

func NewNullableQueryValueWidgetDefinitionType ¶

func NewNullableQueryValueWidgetDefinitionType(val *QueryValueWidgetDefinitionType) *NullableQueryValueWidgetDefinitionType

NewNullableQueryValueWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableQueryValueWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableQueryValueWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableQueryValueWidgetDefinitionType) MarshalJSON ¶

func (v NullableQueryValueWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableQueryValueWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableQueryValueWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableQueryValueWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableQueryValueWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSLOCorrectionCategory ¶

type NullableSLOCorrectionCategory struct {
	// contains filtered or unexported fields
}

NullableSLOCorrectionCategory handles when a null is used for SLOCorrectionCategory.

func NewNullableSLOCorrectionCategory ¶

func NewNullableSLOCorrectionCategory(val *SLOCorrectionCategory) *NullableSLOCorrectionCategory

NewNullableSLOCorrectionCategory initializes the struct as if Set has been called.

func (NullableSLOCorrectionCategory) Get ¶

Get returns the associated value.

func (NullableSLOCorrectionCategory) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSLOCorrectionCategory) MarshalJSON ¶

func (v NullableSLOCorrectionCategory) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSLOCorrectionCategory) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSLOCorrectionCategory) UnmarshalJSON ¶

func (v *NullableSLOCorrectionCategory) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOCorrectionCategory) Unset ¶

func (v *NullableSLOCorrectionCategory) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSLOCorrectionResponseAttributesModifier ¶ added in v1.7.0

type NullableSLOCorrectionResponseAttributesModifier struct {
	// contains filtered or unexported fields
}

NullableSLOCorrectionResponseAttributesModifier handles when a null is used for SLOCorrectionResponseAttributesModifier.

func NewNullableSLOCorrectionResponseAttributesModifier ¶ added in v1.7.0

func NewNullableSLOCorrectionResponseAttributesModifier(val *SLOCorrectionResponseAttributesModifier) *NullableSLOCorrectionResponseAttributesModifier

NewNullableSLOCorrectionResponseAttributesModifier initializes the struct as if Set has been called.

func (NullableSLOCorrectionResponseAttributesModifier) Get ¶ added in v1.7.0

Get returns the associated value.

func (NullableSLOCorrectionResponseAttributesModifier) IsSet ¶ added in v1.7.0

IsSet returns whether Set has been called.

func (NullableSLOCorrectionResponseAttributesModifier) MarshalJSON ¶ added in v1.7.0

MarshalJSON serializes the associated value.

func (*NullableSLOCorrectionResponseAttributesModifier) Set ¶ added in v1.7.0

Set changes the value and indicates it's been called.

func (*NullableSLOCorrectionResponseAttributesModifier) UnmarshalJSON ¶ added in v1.7.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOCorrectionResponseAttributesModifier) Unset ¶ added in v1.7.0

Unset sets the value to nil and resets the set flag/

type NullableSLOCorrectionType ¶

type NullableSLOCorrectionType struct {
	// contains filtered or unexported fields
}

NullableSLOCorrectionType handles when a null is used for SLOCorrectionType.

func NewNullableSLOCorrectionType ¶

func NewNullableSLOCorrectionType(val *SLOCorrectionType) *NullableSLOCorrectionType

NewNullableSLOCorrectionType initializes the struct as if Set has been called.

func (NullableSLOCorrectionType) Get ¶

Get returns the associated value.

func (NullableSLOCorrectionType) IsSet ¶

func (v NullableSLOCorrectionType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSLOCorrectionType) MarshalJSON ¶

func (v NullableSLOCorrectionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSLOCorrectionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSLOCorrectionType) UnmarshalJSON ¶

func (v *NullableSLOCorrectionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOCorrectionType) Unset ¶

func (v *NullableSLOCorrectionType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSLOErrorTimeframe ¶

type NullableSLOErrorTimeframe struct {
	// contains filtered or unexported fields
}

NullableSLOErrorTimeframe handles when a null is used for SLOErrorTimeframe.

func NewNullableSLOErrorTimeframe ¶

func NewNullableSLOErrorTimeframe(val *SLOErrorTimeframe) *NullableSLOErrorTimeframe

NewNullableSLOErrorTimeframe initializes the struct as if Set has been called.

func (NullableSLOErrorTimeframe) Get ¶

Get returns the associated value.

func (NullableSLOErrorTimeframe) IsSet ¶

func (v NullableSLOErrorTimeframe) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSLOErrorTimeframe) MarshalJSON ¶

func (v NullableSLOErrorTimeframe) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSLOErrorTimeframe) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSLOErrorTimeframe) UnmarshalJSON ¶

func (v *NullableSLOErrorTimeframe) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOErrorTimeframe) Unset ¶

func (v *NullableSLOErrorTimeframe) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSLOHistoryMetricsSeriesMetadataUnit ¶

type NullableSLOHistoryMetricsSeriesMetadataUnit struct {
	// contains filtered or unexported fields
}

NullableSLOHistoryMetricsSeriesMetadataUnit handles when a null is used for SLOHistoryMetricsSeriesMetadataUnit.

func NewNullableSLOHistoryMetricsSeriesMetadataUnit ¶

func NewNullableSLOHistoryMetricsSeriesMetadataUnit(val *SLOHistoryMetricsSeriesMetadataUnit) *NullableSLOHistoryMetricsSeriesMetadataUnit

NewNullableSLOHistoryMetricsSeriesMetadataUnit initializes the struct as if Set has been called.

func (NullableSLOHistoryMetricsSeriesMetadataUnit) Get ¶

Get returns the associated value.

func (NullableSLOHistoryMetricsSeriesMetadataUnit) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSLOHistoryMetricsSeriesMetadataUnit) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSLOHistoryMetricsSeriesMetadataUnit) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSLOHistoryMetricsSeriesMetadataUnit) UnmarshalJSON ¶

func (v *NullableSLOHistoryMetricsSeriesMetadataUnit) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOHistoryMetricsSeriesMetadataUnit) Unset ¶

Unset sets the value to nil and resets the set flag/

type NullableSLOTimeframe ¶

type NullableSLOTimeframe struct {
	// contains filtered or unexported fields
}

NullableSLOTimeframe handles when a null is used for SLOTimeframe.

func NewNullableSLOTimeframe ¶

func NewNullableSLOTimeframe(val *SLOTimeframe) *NullableSLOTimeframe

NewNullableSLOTimeframe initializes the struct as if Set has been called.

func (NullableSLOTimeframe) Get ¶

Get returns the associated value.

func (NullableSLOTimeframe) IsSet ¶

func (v NullableSLOTimeframe) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSLOTimeframe) MarshalJSON ¶

func (v NullableSLOTimeframe) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSLOTimeframe) Set ¶

func (v *NullableSLOTimeframe) Set(val *SLOTimeframe)

Set changes the value and indicates it's been called.

func (*NullableSLOTimeframe) UnmarshalJSON ¶

func (v *NullableSLOTimeframe) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOTimeframe) Unset ¶

func (v *NullableSLOTimeframe) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSLOType ¶

type NullableSLOType struct {
	// contains filtered or unexported fields
}

NullableSLOType handles when a null is used for SLOType.

func NewNullableSLOType ¶

func NewNullableSLOType(val *SLOType) *NullableSLOType

NewNullableSLOType initializes the struct as if Set has been called.

func (NullableSLOType) Get ¶

func (v NullableSLOType) Get() *SLOType

Get returns the associated value.

func (NullableSLOType) IsSet ¶

func (v NullableSLOType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSLOType) MarshalJSON ¶

func (v NullableSLOType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSLOType) Set ¶

func (v *NullableSLOType) Set(val *SLOType)

Set changes the value and indicates it's been called.

func (*NullableSLOType) UnmarshalJSON ¶

func (v *NullableSLOType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOType) Unset ¶

func (v *NullableSLOType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSLOTypeNumeric ¶

type NullableSLOTypeNumeric struct {
	// contains filtered or unexported fields
}

NullableSLOTypeNumeric handles when a null is used for SLOTypeNumeric.

func NewNullableSLOTypeNumeric ¶

func NewNullableSLOTypeNumeric(val *SLOTypeNumeric) *NullableSLOTypeNumeric

NewNullableSLOTypeNumeric initializes the struct as if Set has been called.

func (NullableSLOTypeNumeric) Get ¶

Get returns the associated value.

func (NullableSLOTypeNumeric) IsSet ¶

func (v NullableSLOTypeNumeric) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSLOTypeNumeric) MarshalJSON ¶

func (v NullableSLOTypeNumeric) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSLOTypeNumeric) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSLOTypeNumeric) UnmarshalJSON ¶

func (v *NullableSLOTypeNumeric) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOTypeNumeric) Unset ¶

func (v *NullableSLOTypeNumeric) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSLOWidgetDefinitionType ¶

type NullableSLOWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableSLOWidgetDefinitionType handles when a null is used for SLOWidgetDefinitionType.

func NewNullableSLOWidgetDefinitionType ¶

func NewNullableSLOWidgetDefinitionType(val *SLOWidgetDefinitionType) *NullableSLOWidgetDefinitionType

NewNullableSLOWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableSLOWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableSLOWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSLOWidgetDefinitionType) MarshalJSON ¶

func (v NullableSLOWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSLOWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSLOWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableSLOWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSLOWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableScatterPlotWidgetDefinitionType ¶

type NullableScatterPlotWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableScatterPlotWidgetDefinitionType handles when a null is used for ScatterPlotWidgetDefinitionType.

func NewNullableScatterPlotWidgetDefinitionType ¶

func NewNullableScatterPlotWidgetDefinitionType(val *ScatterPlotWidgetDefinitionType) *NullableScatterPlotWidgetDefinitionType

NewNullableScatterPlotWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableScatterPlotWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableScatterPlotWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableScatterPlotWidgetDefinitionType) MarshalJSON ¶

func (v NullableScatterPlotWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableScatterPlotWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableScatterPlotWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableScatterPlotWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableScatterPlotWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableScatterplotDimension ¶ added in v1.5.0

type NullableScatterplotDimension struct {
	// contains filtered or unexported fields
}

NullableScatterplotDimension handles when a null is used for ScatterplotDimension.

func NewNullableScatterplotDimension ¶ added in v1.5.0

func NewNullableScatterplotDimension(val *ScatterplotDimension) *NullableScatterplotDimension

NewNullableScatterplotDimension initializes the struct as if Set has been called.

func (NullableScatterplotDimension) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableScatterplotDimension) IsSet ¶ added in v1.5.0

IsSet returns whether Set has been called.

func (NullableScatterplotDimension) MarshalJSON ¶ added in v1.5.0

func (v NullableScatterplotDimension) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableScatterplotDimension) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableScatterplotDimension) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableScatterplotDimension) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableScatterplotDimension) Unset ¶ added in v1.5.0

func (v *NullableScatterplotDimension) Unset()

Unset sets the value to nil and resets the set flag.

type NullableScatterplotWidgetAggregator ¶ added in v1.3.0

type NullableScatterplotWidgetAggregator struct {
	// contains filtered or unexported fields
}

NullableScatterplotWidgetAggregator handles when a null is used for ScatterplotWidgetAggregator.

func NewNullableScatterplotWidgetAggregator ¶ added in v1.3.0

func NewNullableScatterplotWidgetAggregator(val *ScatterplotWidgetAggregator) *NullableScatterplotWidgetAggregator

NewNullableScatterplotWidgetAggregator initializes the struct as if Set has been called.

func (NullableScatterplotWidgetAggregator) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableScatterplotWidgetAggregator) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableScatterplotWidgetAggregator) MarshalJSON ¶ added in v1.3.0

func (v NullableScatterplotWidgetAggregator) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableScatterplotWidgetAggregator) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableScatterplotWidgetAggregator) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableScatterplotWidgetAggregator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableScatterplotWidgetAggregator) Unset ¶ added in v1.3.0

Unset sets the value to nil and resets the set flag.

type NullableServiceCheckStatus ¶

type NullableServiceCheckStatus struct {
	// contains filtered or unexported fields
}

NullableServiceCheckStatus handles when a null is used for ServiceCheckStatus.

func NewNullableServiceCheckStatus ¶

func NewNullableServiceCheckStatus(val *ServiceCheckStatus) *NullableServiceCheckStatus

NewNullableServiceCheckStatus initializes the struct as if Set has been called.

func (NullableServiceCheckStatus) Get ¶

Get returns the associated value.

func (NullableServiceCheckStatus) IsSet ¶

func (v NullableServiceCheckStatus) IsSet() bool

IsSet returns whether Set has been called.

func (NullableServiceCheckStatus) MarshalJSON ¶

func (v NullableServiceCheckStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceCheckStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableServiceCheckStatus) UnmarshalJSON ¶

func (v *NullableServiceCheckStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceCheckStatus) Unset ¶

func (v *NullableServiceCheckStatus) Unset()

Unset sets the value to nil and resets the set flag.

type NullableServiceMapWidgetDefinitionType ¶

type NullableServiceMapWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableServiceMapWidgetDefinitionType handles when a null is used for ServiceMapWidgetDefinitionType.

func NewNullableServiceMapWidgetDefinitionType ¶

func NewNullableServiceMapWidgetDefinitionType(val *ServiceMapWidgetDefinitionType) *NullableServiceMapWidgetDefinitionType

NewNullableServiceMapWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableServiceMapWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableServiceMapWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableServiceMapWidgetDefinitionType) MarshalJSON ¶

func (v NullableServiceMapWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableServiceMapWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableServiceMapWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableServiceMapWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceMapWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableServiceSummaryWidgetDefinitionType ¶

type NullableServiceSummaryWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableServiceSummaryWidgetDefinitionType handles when a null is used for ServiceSummaryWidgetDefinitionType.

func NewNullableServiceSummaryWidgetDefinitionType ¶

func NewNullableServiceSummaryWidgetDefinitionType(val *ServiceSummaryWidgetDefinitionType) *NullableServiceSummaryWidgetDefinitionType

NewNullableServiceSummaryWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableServiceSummaryWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableServiceSummaryWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableServiceSummaryWidgetDefinitionType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableServiceSummaryWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableServiceSummaryWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableServiceSummaryWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableServiceSummaryWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSignalArchiveReason ¶ added in v1.15.0

type NullableSignalArchiveReason struct {
	// contains filtered or unexported fields
}

NullableSignalArchiveReason handles when a null is used for SignalArchiveReason.

func NewNullableSignalArchiveReason ¶ added in v1.15.0

func NewNullableSignalArchiveReason(val *SignalArchiveReason) *NullableSignalArchiveReason

NewNullableSignalArchiveReason initializes the struct as if Set has been called.

func (NullableSignalArchiveReason) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableSignalArchiveReason) IsSet ¶ added in v1.15.0

IsSet returns whether Set has been called.

func (NullableSignalArchiveReason) MarshalJSON ¶ added in v1.15.0

func (v NullableSignalArchiveReason) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSignalArchiveReason) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableSignalArchiveReason) UnmarshalJSON ¶ added in v1.15.0

func (v *NullableSignalArchiveReason) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSignalArchiveReason) Unset ¶ added in v1.15.0

func (v *NullableSignalArchiveReason) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSignalTriageState ¶ added in v1.15.0

type NullableSignalTriageState struct {
	// contains filtered or unexported fields
}

NullableSignalTriageState handles when a null is used for SignalTriageState.

func NewNullableSignalTriageState ¶ added in v1.15.0

func NewNullableSignalTriageState(val *SignalTriageState) *NullableSignalTriageState

NewNullableSignalTriageState initializes the struct as if Set has been called.

func (NullableSignalTriageState) Get ¶ added in v1.15.0

Get returns the associated value.

func (NullableSignalTriageState) IsSet ¶ added in v1.15.0

func (v NullableSignalTriageState) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSignalTriageState) MarshalJSON ¶ added in v1.15.0

func (v NullableSignalTriageState) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSignalTriageState) Set ¶ added in v1.15.0

Set changes the value and indicates it's been called.

func (*NullableSignalTriageState) UnmarshalJSON ¶ added in v1.15.0

func (v *NullableSignalTriageState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSignalTriageState) Unset ¶ added in v1.15.0

func (v *NullableSignalTriageState) Unset()

Unset sets the value to nil and resets the set flag.

type NullableString ¶

type NullableString struct {
	// contains filtered or unexported fields
}

NullableString is a struct to hold a nullable string value.

func NewNullableString ¶

func NewNullableString(val *string) *NullableString

NewNullableString instantiates a new nullable string.

func (NullableString) Get ¶

func (v NullableString) Get() *string

Get returns the value associated with the nullable string.

func (NullableString) IsSet ¶

func (v NullableString) IsSet() bool

IsSet returns true if the value has been set.

func (NullableString) MarshalJSON ¶

func (v NullableString) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableString) Set ¶

func (v *NullableString) Set(val *string)

Set sets the value associated with the nullable string.

func (*NullableString) UnmarshalJSON ¶

func (v *NullableString) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableString) Unset ¶

func (v *NullableString) Unset()

Unset resets fields of the nullable string.

type NullableSunburstWidgetDefinitionType ¶ added in v1.8.0

type NullableSunburstWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableSunburstWidgetDefinitionType handles when a null is used for SunburstWidgetDefinitionType.

func NewNullableSunburstWidgetDefinitionType ¶ added in v1.8.0

func NewNullableSunburstWidgetDefinitionType(val *SunburstWidgetDefinitionType) *NullableSunburstWidgetDefinitionType

NewNullableSunburstWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableSunburstWidgetDefinitionType) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableSunburstWidgetDefinitionType) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableSunburstWidgetDefinitionType) MarshalJSON ¶ added in v1.8.0

func (v NullableSunburstWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSunburstWidgetDefinitionType) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableSunburstWidgetDefinitionType) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableSunburstWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSunburstWidgetDefinitionType) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableSunburstWidgetLegend ¶ added in v1.8.0

type NullableSunburstWidgetLegend struct {
	// contains filtered or unexported fields
}

NullableSunburstWidgetLegend handles when a null is used for SunburstWidgetLegend.

func NewNullableSunburstWidgetLegend ¶ added in v1.8.0

func NewNullableSunburstWidgetLegend(val *SunburstWidgetLegend) *NullableSunburstWidgetLegend

NewNullableSunburstWidgetLegend initializes the struct as if Set has been called.

func (NullableSunburstWidgetLegend) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableSunburstWidgetLegend) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableSunburstWidgetLegend) MarshalJSON ¶ added in v1.8.0

func (v NullableSunburstWidgetLegend) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSunburstWidgetLegend) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableSunburstWidgetLegend) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableSunburstWidgetLegend) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSunburstWidgetLegend) Unset ¶ added in v1.8.0

func (v *NullableSunburstWidgetLegend) Unset()

Unset sets the value to nil and resets the set flag/

type NullableSunburstWidgetLegendInlineAutomaticType ¶ added in v1.8.0

type NullableSunburstWidgetLegendInlineAutomaticType struct {
	// contains filtered or unexported fields
}

NullableSunburstWidgetLegendInlineAutomaticType handles when a null is used for SunburstWidgetLegendInlineAutomaticType.

func NewNullableSunburstWidgetLegendInlineAutomaticType ¶ added in v1.8.0

func NewNullableSunburstWidgetLegendInlineAutomaticType(val *SunburstWidgetLegendInlineAutomaticType) *NullableSunburstWidgetLegendInlineAutomaticType

NewNullableSunburstWidgetLegendInlineAutomaticType initializes the struct as if Set has been called.

func (NullableSunburstWidgetLegendInlineAutomaticType) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableSunburstWidgetLegendInlineAutomaticType) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableSunburstWidgetLegendInlineAutomaticType) MarshalJSON ¶ added in v1.8.0

MarshalJSON serializes the associated value.

func (*NullableSunburstWidgetLegendInlineAutomaticType) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableSunburstWidgetLegendInlineAutomaticType) UnmarshalJSON ¶ added in v1.8.0

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSunburstWidgetLegendInlineAutomaticType) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableSunburstWidgetLegendTableType ¶ added in v1.8.0

type NullableSunburstWidgetLegendTableType struct {
	// contains filtered or unexported fields
}

NullableSunburstWidgetLegendTableType handles when a null is used for SunburstWidgetLegendTableType.

func NewNullableSunburstWidgetLegendTableType ¶ added in v1.8.0

func NewNullableSunburstWidgetLegendTableType(val *SunburstWidgetLegendTableType) *NullableSunburstWidgetLegendTableType

NewNullableSunburstWidgetLegendTableType initializes the struct as if Set has been called.

func (NullableSunburstWidgetLegendTableType) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableSunburstWidgetLegendTableType) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableSunburstWidgetLegendTableType) MarshalJSON ¶ added in v1.8.0

func (v NullableSunburstWidgetLegendTableType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSunburstWidgetLegendTableType) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableSunburstWidgetLegendTableType) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableSunburstWidgetLegendTableType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSunburstWidgetLegendTableType) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsAPIStepSubtype ¶

type NullableSyntheticsAPIStepSubtype struct {
	// contains filtered or unexported fields
}

NullableSyntheticsAPIStepSubtype handles when a null is used for SyntheticsAPIStepSubtype.

func NewNullableSyntheticsAPIStepSubtype ¶

func NewNullableSyntheticsAPIStepSubtype(val *SyntheticsAPIStepSubtype) *NullableSyntheticsAPIStepSubtype

NewNullableSyntheticsAPIStepSubtype initializes the struct as if Set has been called.

func (NullableSyntheticsAPIStepSubtype) Get ¶

Get returns the associated value.

func (NullableSyntheticsAPIStepSubtype) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsAPIStepSubtype) MarshalJSON ¶

func (v NullableSyntheticsAPIStepSubtype) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsAPIStepSubtype) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsAPIStepSubtype) UnmarshalJSON ¶

func (v *NullableSyntheticsAPIStepSubtype) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsAPIStepSubtype) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsAPITestType ¶

type NullableSyntheticsAPITestType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsAPITestType handles when a null is used for SyntheticsAPITestType.

func NewNullableSyntheticsAPITestType ¶

func NewNullableSyntheticsAPITestType(val *SyntheticsAPITestType) *NullableSyntheticsAPITestType

NewNullableSyntheticsAPITestType initializes the struct as if Set has been called.

func (NullableSyntheticsAPITestType) Get ¶

Get returns the associated value.

func (NullableSyntheticsAPITestType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsAPITestType) MarshalJSON ¶

func (v NullableSyntheticsAPITestType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsAPITestType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsAPITestType) UnmarshalJSON ¶

func (v *NullableSyntheticsAPITestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsAPITestType) Unset ¶

func (v *NullableSyntheticsAPITestType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsApiTestFailureCode ¶ added in v1.9.0

type NullableSyntheticsApiTestFailureCode struct {
	// contains filtered or unexported fields
}

NullableSyntheticsApiTestFailureCode handles when a null is used for SyntheticsApiTestFailureCode.

func NewNullableSyntheticsApiTestFailureCode ¶ added in v1.9.0

func NewNullableSyntheticsApiTestFailureCode(val *SyntheticsApiTestFailureCode) *NullableSyntheticsApiTestFailureCode

NewNullableSyntheticsApiTestFailureCode initializes the struct as if Set has been called.

func (NullableSyntheticsApiTestFailureCode) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableSyntheticsApiTestFailureCode) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableSyntheticsApiTestFailureCode) MarshalJSON ¶ added in v1.9.0

func (v NullableSyntheticsApiTestFailureCode) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsApiTestFailureCode) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableSyntheticsApiTestFailureCode) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableSyntheticsApiTestFailureCode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsApiTestFailureCode) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsAssertion ¶

type NullableSyntheticsAssertion struct {
	// contains filtered or unexported fields
}

NullableSyntheticsAssertion handles when a null is used for SyntheticsAssertion.

func NewNullableSyntheticsAssertion ¶

func NewNullableSyntheticsAssertion(val *SyntheticsAssertion) *NullableSyntheticsAssertion

NewNullableSyntheticsAssertion initializes the struct as if Set has been called.

func (NullableSyntheticsAssertion) Get ¶

Get returns the associated value.

func (NullableSyntheticsAssertion) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsAssertion) MarshalJSON ¶

func (v NullableSyntheticsAssertion) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsAssertion) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsAssertion) UnmarshalJSON ¶

func (v *NullableSyntheticsAssertion) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsAssertion) Unset ¶

func (v *NullableSyntheticsAssertion) Unset()

Unset sets the value to nil and resets the set flag/

type NullableSyntheticsAssertionJSONPathOperator ¶

type NullableSyntheticsAssertionJSONPathOperator struct {
	// contains filtered or unexported fields
}

NullableSyntheticsAssertionJSONPathOperator handles when a null is used for SyntheticsAssertionJSONPathOperator.

func NewNullableSyntheticsAssertionJSONPathOperator ¶

func NewNullableSyntheticsAssertionJSONPathOperator(val *SyntheticsAssertionJSONPathOperator) *NullableSyntheticsAssertionJSONPathOperator

NewNullableSyntheticsAssertionJSONPathOperator initializes the struct as if Set has been called.

func (NullableSyntheticsAssertionJSONPathOperator) Get ¶

Get returns the associated value.

func (NullableSyntheticsAssertionJSONPathOperator) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsAssertionJSONPathOperator) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSyntheticsAssertionJSONPathOperator) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsAssertionJSONPathOperator) UnmarshalJSON ¶

func (v *NullableSyntheticsAssertionJSONPathOperator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsAssertionJSONPathOperator) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsAssertionOperator ¶

type NullableSyntheticsAssertionOperator struct {
	// contains filtered or unexported fields
}

NullableSyntheticsAssertionOperator handles when a null is used for SyntheticsAssertionOperator.

func NewNullableSyntheticsAssertionOperator ¶

func NewNullableSyntheticsAssertionOperator(val *SyntheticsAssertionOperator) *NullableSyntheticsAssertionOperator

NewNullableSyntheticsAssertionOperator initializes the struct as if Set has been called.

func (NullableSyntheticsAssertionOperator) Get ¶

Get returns the associated value.

func (NullableSyntheticsAssertionOperator) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsAssertionOperator) MarshalJSON ¶

func (v NullableSyntheticsAssertionOperator) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsAssertionOperator) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsAssertionOperator) UnmarshalJSON ¶

func (v *NullableSyntheticsAssertionOperator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsAssertionOperator) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsAssertionType ¶

type NullableSyntheticsAssertionType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsAssertionType handles when a null is used for SyntheticsAssertionType.

func NewNullableSyntheticsAssertionType ¶

func NewNullableSyntheticsAssertionType(val *SyntheticsAssertionType) *NullableSyntheticsAssertionType

NewNullableSyntheticsAssertionType initializes the struct as if Set has been called.

func (NullableSyntheticsAssertionType) Get ¶

Get returns the associated value.

func (NullableSyntheticsAssertionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsAssertionType) MarshalJSON ¶

func (v NullableSyntheticsAssertionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsAssertionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsAssertionType) UnmarshalJSON ¶

func (v *NullableSyntheticsAssertionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsAssertionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsBasicAuth ¶

type NullableSyntheticsBasicAuth struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBasicAuth handles when a null is used for SyntheticsBasicAuth.

func NewNullableSyntheticsBasicAuth ¶

func NewNullableSyntheticsBasicAuth(val *SyntheticsBasicAuth) *NullableSyntheticsBasicAuth

NewNullableSyntheticsBasicAuth initializes the struct as if Set has been called.

func (NullableSyntheticsBasicAuth) Get ¶

Get returns the associated value.

func (NullableSyntheticsBasicAuth) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsBasicAuth) MarshalJSON ¶

func (v NullableSyntheticsBasicAuth) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBasicAuth) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBasicAuth) UnmarshalJSON ¶

func (v *NullableSyntheticsBasicAuth) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBasicAuth) Unset ¶

func (v *NullableSyntheticsBasicAuth) Unset()

Unset sets the value to nil and resets the set flag/

type NullableSyntheticsBasicAuthNTLMType ¶ added in v1.8.0

type NullableSyntheticsBasicAuthNTLMType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBasicAuthNTLMType handles when a null is used for SyntheticsBasicAuthNTLMType.

func NewNullableSyntheticsBasicAuthNTLMType ¶ added in v1.8.0

func NewNullableSyntheticsBasicAuthNTLMType(val *SyntheticsBasicAuthNTLMType) *NullableSyntheticsBasicAuthNTLMType

NewNullableSyntheticsBasicAuthNTLMType initializes the struct as if Set has been called.

func (NullableSyntheticsBasicAuthNTLMType) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableSyntheticsBasicAuthNTLMType) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableSyntheticsBasicAuthNTLMType) MarshalJSON ¶ added in v1.8.0

func (v NullableSyntheticsBasicAuthNTLMType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBasicAuthNTLMType) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBasicAuthNTLMType) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableSyntheticsBasicAuthNTLMType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBasicAuthNTLMType) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsBasicAuthSigv4Type ¶ added in v1.8.0

type NullableSyntheticsBasicAuthSigv4Type struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBasicAuthSigv4Type handles when a null is used for SyntheticsBasicAuthSigv4Type.

func NewNullableSyntheticsBasicAuthSigv4Type ¶ added in v1.8.0

func NewNullableSyntheticsBasicAuthSigv4Type(val *SyntheticsBasicAuthSigv4Type) *NullableSyntheticsBasicAuthSigv4Type

NewNullableSyntheticsBasicAuthSigv4Type initializes the struct as if Set has been called.

func (NullableSyntheticsBasicAuthSigv4Type) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableSyntheticsBasicAuthSigv4Type) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableSyntheticsBasicAuthSigv4Type) MarshalJSON ¶ added in v1.8.0

func (v NullableSyntheticsBasicAuthSigv4Type) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBasicAuthSigv4Type) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBasicAuthSigv4Type) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableSyntheticsBasicAuthSigv4Type) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBasicAuthSigv4Type) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsBasicAuthWebType ¶ added in v1.8.0

type NullableSyntheticsBasicAuthWebType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBasicAuthWebType handles when a null is used for SyntheticsBasicAuthWebType.

func NewNullableSyntheticsBasicAuthWebType ¶ added in v1.8.0

func NewNullableSyntheticsBasicAuthWebType(val *SyntheticsBasicAuthWebType) *NullableSyntheticsBasicAuthWebType

NewNullableSyntheticsBasicAuthWebType initializes the struct as if Set has been called.

func (NullableSyntheticsBasicAuthWebType) Get ¶ added in v1.8.0

Get returns the associated value.

func (NullableSyntheticsBasicAuthWebType) IsSet ¶ added in v1.8.0

IsSet returns whether Set has been called.

func (NullableSyntheticsBasicAuthWebType) MarshalJSON ¶ added in v1.8.0

func (v NullableSyntheticsBasicAuthWebType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBasicAuthWebType) Set ¶ added in v1.8.0

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBasicAuthWebType) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableSyntheticsBasicAuthWebType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBasicAuthWebType) Unset ¶ added in v1.8.0

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsBrowserErrorType ¶

type NullableSyntheticsBrowserErrorType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBrowserErrorType handles when a null is used for SyntheticsBrowserErrorType.

func NewNullableSyntheticsBrowserErrorType ¶

func NewNullableSyntheticsBrowserErrorType(val *SyntheticsBrowserErrorType) *NullableSyntheticsBrowserErrorType

NewNullableSyntheticsBrowserErrorType initializes the struct as if Set has been called.

func (NullableSyntheticsBrowserErrorType) Get ¶

Get returns the associated value.

func (NullableSyntheticsBrowserErrorType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsBrowserErrorType) MarshalJSON ¶

func (v NullableSyntheticsBrowserErrorType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBrowserErrorType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBrowserErrorType) UnmarshalJSON ¶

func (v *NullableSyntheticsBrowserErrorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBrowserErrorType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsBrowserTestFailureCode ¶ added in v1.9.0

type NullableSyntheticsBrowserTestFailureCode struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBrowserTestFailureCode handles when a null is used for SyntheticsBrowserTestFailureCode.

func NewNullableSyntheticsBrowserTestFailureCode ¶ added in v1.9.0

func NewNullableSyntheticsBrowserTestFailureCode(val *SyntheticsBrowserTestFailureCode) *NullableSyntheticsBrowserTestFailureCode

NewNullableSyntheticsBrowserTestFailureCode initializes the struct as if Set has been called.

func (NullableSyntheticsBrowserTestFailureCode) Get ¶ added in v1.9.0

Get returns the associated value.

func (NullableSyntheticsBrowserTestFailureCode) IsSet ¶ added in v1.9.0

IsSet returns whether Set has been called.

func (NullableSyntheticsBrowserTestFailureCode) MarshalJSON ¶ added in v1.9.0

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBrowserTestFailureCode) Set ¶ added in v1.9.0

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBrowserTestFailureCode) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableSyntheticsBrowserTestFailureCode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBrowserTestFailureCode) Unset ¶ added in v1.9.0

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsBrowserTestType ¶

type NullableSyntheticsBrowserTestType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBrowserTestType handles when a null is used for SyntheticsBrowserTestType.

func NewNullableSyntheticsBrowserTestType ¶

func NewNullableSyntheticsBrowserTestType(val *SyntheticsBrowserTestType) *NullableSyntheticsBrowserTestType

NewNullableSyntheticsBrowserTestType initializes the struct as if Set has been called.

func (NullableSyntheticsBrowserTestType) Get ¶

Get returns the associated value.

func (NullableSyntheticsBrowserTestType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsBrowserTestType) MarshalJSON ¶

func (v NullableSyntheticsBrowserTestType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBrowserTestType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBrowserTestType) UnmarshalJSON ¶

func (v *NullableSyntheticsBrowserTestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBrowserTestType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsBrowserVariableType ¶

type NullableSyntheticsBrowserVariableType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsBrowserVariableType handles when a null is used for SyntheticsBrowserVariableType.

func NewNullableSyntheticsBrowserVariableType ¶

func NewNullableSyntheticsBrowserVariableType(val *SyntheticsBrowserVariableType) *NullableSyntheticsBrowserVariableType

NewNullableSyntheticsBrowserVariableType initializes the struct as if Set has been called.

func (NullableSyntheticsBrowserVariableType) Get ¶

Get returns the associated value.

func (NullableSyntheticsBrowserVariableType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsBrowserVariableType) MarshalJSON ¶

func (v NullableSyntheticsBrowserVariableType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsBrowserVariableType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsBrowserVariableType) UnmarshalJSON ¶

func (v *NullableSyntheticsBrowserVariableType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsBrowserVariableType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsCheckType ¶

type NullableSyntheticsCheckType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsCheckType handles when a null is used for SyntheticsCheckType.

func NewNullableSyntheticsCheckType ¶

func NewNullableSyntheticsCheckType(val *SyntheticsCheckType) *NullableSyntheticsCheckType

NewNullableSyntheticsCheckType initializes the struct as if Set has been called.

func (NullableSyntheticsCheckType) Get ¶

Get returns the associated value.

func (NullableSyntheticsCheckType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsCheckType) MarshalJSON ¶

func (v NullableSyntheticsCheckType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsCheckType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsCheckType) UnmarshalJSON ¶

func (v *NullableSyntheticsCheckType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsCheckType) Unset ¶

func (v *NullableSyntheticsCheckType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsConfigVariableType ¶

type NullableSyntheticsConfigVariableType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsConfigVariableType handles when a null is used for SyntheticsConfigVariableType.

func NewNullableSyntheticsConfigVariableType ¶

func NewNullableSyntheticsConfigVariableType(val *SyntheticsConfigVariableType) *NullableSyntheticsConfigVariableType

NewNullableSyntheticsConfigVariableType initializes the struct as if Set has been called.

func (NullableSyntheticsConfigVariableType) Get ¶

Get returns the associated value.

func (NullableSyntheticsConfigVariableType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsConfigVariableType) MarshalJSON ¶

func (v NullableSyntheticsConfigVariableType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsConfigVariableType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsConfigVariableType) UnmarshalJSON ¶

func (v *NullableSyntheticsConfigVariableType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsConfigVariableType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsDeviceID ¶

type NullableSyntheticsDeviceID struct {
	// contains filtered or unexported fields
}

NullableSyntheticsDeviceID handles when a null is used for SyntheticsDeviceID.

func NewNullableSyntheticsDeviceID ¶

func NewNullableSyntheticsDeviceID(val *SyntheticsDeviceID) *NullableSyntheticsDeviceID

NewNullableSyntheticsDeviceID initializes the struct as if Set has been called.

func (NullableSyntheticsDeviceID) Get ¶

Get returns the associated value.

func (NullableSyntheticsDeviceID) IsSet ¶

func (v NullableSyntheticsDeviceID) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSyntheticsDeviceID) MarshalJSON ¶

func (v NullableSyntheticsDeviceID) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsDeviceID) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsDeviceID) UnmarshalJSON ¶

func (v *NullableSyntheticsDeviceID) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsDeviceID) Unset ¶

func (v *NullableSyntheticsDeviceID) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsGlobalVariableParseTestOptionsType ¶

type NullableSyntheticsGlobalVariableParseTestOptionsType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsGlobalVariableParseTestOptionsType handles when a null is used for SyntheticsGlobalVariableParseTestOptionsType.

func NewNullableSyntheticsGlobalVariableParseTestOptionsType ¶

func NewNullableSyntheticsGlobalVariableParseTestOptionsType(val *SyntheticsGlobalVariableParseTestOptionsType) *NullableSyntheticsGlobalVariableParseTestOptionsType

NewNullableSyntheticsGlobalVariableParseTestOptionsType initializes the struct as if Set has been called.

func (NullableSyntheticsGlobalVariableParseTestOptionsType) Get ¶

Get returns the associated value.

func (NullableSyntheticsGlobalVariableParseTestOptionsType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsGlobalVariableParseTestOptionsType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSyntheticsGlobalVariableParseTestOptionsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsGlobalVariableParseTestOptionsType) UnmarshalJSON ¶

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsGlobalVariableParseTestOptionsType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsGlobalVariableParserType ¶

type NullableSyntheticsGlobalVariableParserType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsGlobalVariableParserType handles when a null is used for SyntheticsGlobalVariableParserType.

func NewNullableSyntheticsGlobalVariableParserType ¶

func NewNullableSyntheticsGlobalVariableParserType(val *SyntheticsGlobalVariableParserType) *NullableSyntheticsGlobalVariableParserType

NewNullableSyntheticsGlobalVariableParserType initializes the struct as if Set has been called.

func (NullableSyntheticsGlobalVariableParserType) Get ¶

Get returns the associated value.

func (NullableSyntheticsGlobalVariableParserType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsGlobalVariableParserType) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableSyntheticsGlobalVariableParserType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsGlobalVariableParserType) UnmarshalJSON ¶

func (v *NullableSyntheticsGlobalVariableParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsGlobalVariableParserType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsPlayingTab ¶

type NullableSyntheticsPlayingTab struct {
	// contains filtered or unexported fields
}

NullableSyntheticsPlayingTab handles when a null is used for SyntheticsPlayingTab.

func NewNullableSyntheticsPlayingTab ¶

func NewNullableSyntheticsPlayingTab(val *SyntheticsPlayingTab) *NullableSyntheticsPlayingTab

NewNullableSyntheticsPlayingTab initializes the struct as if Set has been called.

func (NullableSyntheticsPlayingTab) Get ¶

Get returns the associated value.

func (NullableSyntheticsPlayingTab) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsPlayingTab) MarshalJSON ¶

func (v NullableSyntheticsPlayingTab) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsPlayingTab) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsPlayingTab) UnmarshalJSON ¶

func (v *NullableSyntheticsPlayingTab) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsPlayingTab) Unset ¶

func (v *NullableSyntheticsPlayingTab) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsStatus ¶ added in v1.5.0

type NullableSyntheticsStatus struct {
	// contains filtered or unexported fields
}

NullableSyntheticsStatus handles when a null is used for SyntheticsStatus.

func NewNullableSyntheticsStatus ¶ added in v1.5.0

func NewNullableSyntheticsStatus(val *SyntheticsStatus) *NullableSyntheticsStatus

NewNullableSyntheticsStatus initializes the struct as if Set has been called.

func (NullableSyntheticsStatus) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableSyntheticsStatus) IsSet ¶ added in v1.5.0

func (v NullableSyntheticsStatus) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSyntheticsStatus) MarshalJSON ¶ added in v1.5.0

func (v NullableSyntheticsStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsStatus) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableSyntheticsStatus) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableSyntheticsStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsStatus) Unset ¶ added in v1.5.0

func (v *NullableSyntheticsStatus) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsStepType ¶

type NullableSyntheticsStepType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsStepType handles when a null is used for SyntheticsStepType.

func NewNullableSyntheticsStepType ¶

func NewNullableSyntheticsStepType(val *SyntheticsStepType) *NullableSyntheticsStepType

NewNullableSyntheticsStepType initializes the struct as if Set has been called.

func (NullableSyntheticsStepType) Get ¶

Get returns the associated value.

func (NullableSyntheticsStepType) IsSet ¶

func (v NullableSyntheticsStepType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableSyntheticsStepType) MarshalJSON ¶

func (v NullableSyntheticsStepType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsStepType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsStepType) UnmarshalJSON ¶

func (v *NullableSyntheticsStepType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsStepType) Unset ¶

func (v *NullableSyntheticsStepType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsTestDetailsSubType ¶

type NullableSyntheticsTestDetailsSubType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsTestDetailsSubType handles when a null is used for SyntheticsTestDetailsSubType.

func NewNullableSyntheticsTestDetailsSubType ¶

func NewNullableSyntheticsTestDetailsSubType(val *SyntheticsTestDetailsSubType) *NullableSyntheticsTestDetailsSubType

NewNullableSyntheticsTestDetailsSubType initializes the struct as if Set has been called.

func (NullableSyntheticsTestDetailsSubType) Get ¶

Get returns the associated value.

func (NullableSyntheticsTestDetailsSubType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsTestDetailsSubType) MarshalJSON ¶

func (v NullableSyntheticsTestDetailsSubType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsTestDetailsSubType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsTestDetailsSubType) UnmarshalJSON ¶

func (v *NullableSyntheticsTestDetailsSubType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsTestDetailsSubType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsTestDetailsType ¶

type NullableSyntheticsTestDetailsType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsTestDetailsType handles when a null is used for SyntheticsTestDetailsType.

func NewNullableSyntheticsTestDetailsType ¶

func NewNullableSyntheticsTestDetailsType(val *SyntheticsTestDetailsType) *NullableSyntheticsTestDetailsType

NewNullableSyntheticsTestDetailsType initializes the struct as if Set has been called.

func (NullableSyntheticsTestDetailsType) Get ¶

Get returns the associated value.

func (NullableSyntheticsTestDetailsType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsTestDetailsType) MarshalJSON ¶

func (v NullableSyntheticsTestDetailsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsTestDetailsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsTestDetailsType) UnmarshalJSON ¶

func (v *NullableSyntheticsTestDetailsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsTestDetailsType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsTestExecutionRule ¶ added in v1.5.0

type NullableSyntheticsTestExecutionRule struct {
	// contains filtered or unexported fields
}

NullableSyntheticsTestExecutionRule handles when a null is used for SyntheticsTestExecutionRule.

func NewNullableSyntheticsTestExecutionRule ¶ added in v1.5.0

func NewNullableSyntheticsTestExecutionRule(val *SyntheticsTestExecutionRule) *NullableSyntheticsTestExecutionRule

NewNullableSyntheticsTestExecutionRule initializes the struct as if Set has been called.

func (NullableSyntheticsTestExecutionRule) Get ¶ added in v1.5.0

Get returns the associated value.

func (NullableSyntheticsTestExecutionRule) IsSet ¶ added in v1.5.0

IsSet returns whether Set has been called.

func (NullableSyntheticsTestExecutionRule) MarshalJSON ¶ added in v1.5.0

func (v NullableSyntheticsTestExecutionRule) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsTestExecutionRule) Set ¶ added in v1.5.0

Set changes the value and indicates it's been called.

func (*NullableSyntheticsTestExecutionRule) UnmarshalJSON ¶ added in v1.5.0

func (v *NullableSyntheticsTestExecutionRule) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsTestExecutionRule) Unset ¶ added in v1.5.0

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsTestMonitorStatus ¶

type NullableSyntheticsTestMonitorStatus struct {
	// contains filtered or unexported fields
}

NullableSyntheticsTestMonitorStatus handles when a null is used for SyntheticsTestMonitorStatus.

func NewNullableSyntheticsTestMonitorStatus ¶

func NewNullableSyntheticsTestMonitorStatus(val *SyntheticsTestMonitorStatus) *NullableSyntheticsTestMonitorStatus

NewNullableSyntheticsTestMonitorStatus initializes the struct as if Set has been called.

func (NullableSyntheticsTestMonitorStatus) Get ¶

Get returns the associated value.

func (NullableSyntheticsTestMonitorStatus) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsTestMonitorStatus) MarshalJSON ¶

func (v NullableSyntheticsTestMonitorStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsTestMonitorStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsTestMonitorStatus) UnmarshalJSON ¶

func (v *NullableSyntheticsTestMonitorStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsTestMonitorStatus) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsTestPauseStatus ¶

type NullableSyntheticsTestPauseStatus struct {
	// contains filtered or unexported fields
}

NullableSyntheticsTestPauseStatus handles when a null is used for SyntheticsTestPauseStatus.

func NewNullableSyntheticsTestPauseStatus ¶

func NewNullableSyntheticsTestPauseStatus(val *SyntheticsTestPauseStatus) *NullableSyntheticsTestPauseStatus

NewNullableSyntheticsTestPauseStatus initializes the struct as if Set has been called.

func (NullableSyntheticsTestPauseStatus) Get ¶

Get returns the associated value.

func (NullableSyntheticsTestPauseStatus) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsTestPauseStatus) MarshalJSON ¶

func (v NullableSyntheticsTestPauseStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsTestPauseStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsTestPauseStatus) UnmarshalJSON ¶

func (v *NullableSyntheticsTestPauseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsTestPauseStatus) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsTestProcessStatus ¶

type NullableSyntheticsTestProcessStatus struct {
	// contains filtered or unexported fields
}

NullableSyntheticsTestProcessStatus handles when a null is used for SyntheticsTestProcessStatus.

func NewNullableSyntheticsTestProcessStatus ¶

func NewNullableSyntheticsTestProcessStatus(val *SyntheticsTestProcessStatus) *NullableSyntheticsTestProcessStatus

NewNullableSyntheticsTestProcessStatus initializes the struct as if Set has been called.

func (NullableSyntheticsTestProcessStatus) Get ¶

Get returns the associated value.

func (NullableSyntheticsTestProcessStatus) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsTestProcessStatus) MarshalJSON ¶

func (v NullableSyntheticsTestProcessStatus) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsTestProcessStatus) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsTestProcessStatus) UnmarshalJSON ¶

func (v *NullableSyntheticsTestProcessStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsTestProcessStatus) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableSyntheticsWarningType ¶

type NullableSyntheticsWarningType struct {
	// contains filtered or unexported fields
}

NullableSyntheticsWarningType handles when a null is used for SyntheticsWarningType.

func NewNullableSyntheticsWarningType ¶

func NewNullableSyntheticsWarningType(val *SyntheticsWarningType) *NullableSyntheticsWarningType

NewNullableSyntheticsWarningType initializes the struct as if Set has been called.

func (NullableSyntheticsWarningType) Get ¶

Get returns the associated value.

func (NullableSyntheticsWarningType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableSyntheticsWarningType) MarshalJSON ¶

func (v NullableSyntheticsWarningType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableSyntheticsWarningType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableSyntheticsWarningType) UnmarshalJSON ¶

func (v *NullableSyntheticsWarningType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableSyntheticsWarningType) Unset ¶

func (v *NullableSyntheticsWarningType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableTableWidgetCellDisplayMode ¶

type NullableTableWidgetCellDisplayMode struct {
	// contains filtered or unexported fields
}

NullableTableWidgetCellDisplayMode handles when a null is used for TableWidgetCellDisplayMode.

func NewNullableTableWidgetCellDisplayMode ¶

func NewNullableTableWidgetCellDisplayMode(val *TableWidgetCellDisplayMode) *NullableTableWidgetCellDisplayMode

NewNullableTableWidgetCellDisplayMode initializes the struct as if Set has been called.

func (NullableTableWidgetCellDisplayMode) Get ¶

Get returns the associated value.

func (NullableTableWidgetCellDisplayMode) IsSet ¶

IsSet returns whether Set has been called.

func (NullableTableWidgetCellDisplayMode) MarshalJSON ¶

func (v NullableTableWidgetCellDisplayMode) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTableWidgetCellDisplayMode) Set ¶

Set changes the value and indicates it's been called.

func (*NullableTableWidgetCellDisplayMode) UnmarshalJSON ¶

func (v *NullableTableWidgetCellDisplayMode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTableWidgetCellDisplayMode) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableTableWidgetDefinitionType ¶

type NullableTableWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableTableWidgetDefinitionType handles when a null is used for TableWidgetDefinitionType.

func NewNullableTableWidgetDefinitionType ¶

func NewNullableTableWidgetDefinitionType(val *TableWidgetDefinitionType) *NullableTableWidgetDefinitionType

NewNullableTableWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableTableWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableTableWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableTableWidgetDefinitionType) MarshalJSON ¶

func (v NullableTableWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTableWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableTableWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableTableWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTableWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableTableWidgetHasSearchBar ¶

type NullableTableWidgetHasSearchBar struct {
	// contains filtered or unexported fields
}

NullableTableWidgetHasSearchBar handles when a null is used for TableWidgetHasSearchBar.

func NewNullableTableWidgetHasSearchBar ¶

func NewNullableTableWidgetHasSearchBar(val *TableWidgetHasSearchBar) *NullableTableWidgetHasSearchBar

NewNullableTableWidgetHasSearchBar initializes the struct as if Set has been called.

func (NullableTableWidgetHasSearchBar) Get ¶

Get returns the associated value.

func (NullableTableWidgetHasSearchBar) IsSet ¶

IsSet returns whether Set has been called.

func (NullableTableWidgetHasSearchBar) MarshalJSON ¶

func (v NullableTableWidgetHasSearchBar) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTableWidgetHasSearchBar) Set ¶

Set changes the value and indicates it's been called.

func (*NullableTableWidgetHasSearchBar) UnmarshalJSON ¶

func (v *NullableTableWidgetHasSearchBar) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTableWidgetHasSearchBar) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableTargetFormatType ¶

type NullableTargetFormatType struct {
	// contains filtered or unexported fields
}

NullableTargetFormatType handles when a null is used for TargetFormatType.

func NewNullableTargetFormatType ¶

func NewNullableTargetFormatType(val *TargetFormatType) *NullableTargetFormatType

NewNullableTargetFormatType initializes the struct as if Set has been called.

func (NullableTargetFormatType) Get ¶

Get returns the associated value.

func (NullableTargetFormatType) IsSet ¶

func (v NullableTargetFormatType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableTargetFormatType) MarshalJSON ¶

func (v NullableTargetFormatType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTargetFormatType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableTargetFormatType) UnmarshalJSON ¶

func (v *NullableTargetFormatType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTargetFormatType) Unset ¶

func (v *NullableTargetFormatType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableTime ¶

type NullableTime struct {
	// contains filtered or unexported fields
}

NullableTime is a struct to hold a nullable Time value.

func NewNullableTime ¶

func NewNullableTime(val *time.Time) *NullableTime

NewNullableTime instantiates a new nullable Time.

func (NullableTime) Get ¶

func (v NullableTime) Get() *time.Time

Get returns the value associated with the nullable Time.

func (NullableTime) IsSet ¶

func (v NullableTime) IsSet() bool

IsSet returns true if the value has been set.

func (NullableTime) MarshalJSON ¶

func (v NullableTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTime) Set ¶

func (v *NullableTime) Set(val *time.Time)

Set sets the value associated with the nullable Time.

func (*NullableTime) UnmarshalJSON ¶

func (v *NullableTime) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes to the associated value.

func (*NullableTime) Unset ¶

func (v *NullableTime) Unset()

Unset resets fields of the nullable Time.

type NullableTimeseriesBackgroundType ¶ added in v1.12.0

type NullableTimeseriesBackgroundType struct {
	// contains filtered or unexported fields
}

NullableTimeseriesBackgroundType handles when a null is used for TimeseriesBackgroundType.

func NewNullableTimeseriesBackgroundType ¶ added in v1.12.0

func NewNullableTimeseriesBackgroundType(val *TimeseriesBackgroundType) *NullableTimeseriesBackgroundType

NewNullableTimeseriesBackgroundType initializes the struct as if Set has been called.

func (NullableTimeseriesBackgroundType) Get ¶ added in v1.12.0

Get returns the associated value.

func (NullableTimeseriesBackgroundType) IsSet ¶ added in v1.12.0

IsSet returns whether Set has been called.

func (NullableTimeseriesBackgroundType) MarshalJSON ¶ added in v1.12.0

func (v NullableTimeseriesBackgroundType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTimeseriesBackgroundType) Set ¶ added in v1.12.0

Set changes the value and indicates it's been called.

func (*NullableTimeseriesBackgroundType) UnmarshalJSON ¶ added in v1.12.0

func (v *NullableTimeseriesBackgroundType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTimeseriesBackgroundType) Unset ¶ added in v1.12.0

Unset sets the value to nil and resets the set flag.

type NullableTimeseriesWidgetDefinitionType ¶

type NullableTimeseriesWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableTimeseriesWidgetDefinitionType handles when a null is used for TimeseriesWidgetDefinitionType.

func NewNullableTimeseriesWidgetDefinitionType ¶

func NewNullableTimeseriesWidgetDefinitionType(val *TimeseriesWidgetDefinitionType) *NullableTimeseriesWidgetDefinitionType

NewNullableTimeseriesWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableTimeseriesWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableTimeseriesWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableTimeseriesWidgetDefinitionType) MarshalJSON ¶

func (v NullableTimeseriesWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTimeseriesWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableTimeseriesWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableTimeseriesWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTimeseriesWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableTimeseriesWidgetLegendColumn ¶

type NullableTimeseriesWidgetLegendColumn struct {
	// contains filtered or unexported fields
}

NullableTimeseriesWidgetLegendColumn handles when a null is used for TimeseriesWidgetLegendColumn.

func NewNullableTimeseriesWidgetLegendColumn ¶

func NewNullableTimeseriesWidgetLegendColumn(val *TimeseriesWidgetLegendColumn) *NullableTimeseriesWidgetLegendColumn

NewNullableTimeseriesWidgetLegendColumn initializes the struct as if Set has been called.

func (NullableTimeseriesWidgetLegendColumn) Get ¶

Get returns the associated value.

func (NullableTimeseriesWidgetLegendColumn) IsSet ¶

IsSet returns whether Set has been called.

func (NullableTimeseriesWidgetLegendColumn) MarshalJSON ¶

func (v NullableTimeseriesWidgetLegendColumn) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTimeseriesWidgetLegendColumn) Set ¶

Set changes the value and indicates it's been called.

func (*NullableTimeseriesWidgetLegendColumn) UnmarshalJSON ¶

func (v *NullableTimeseriesWidgetLegendColumn) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTimeseriesWidgetLegendColumn) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableTimeseriesWidgetLegendLayout ¶

type NullableTimeseriesWidgetLegendLayout struct {
	// contains filtered or unexported fields
}

NullableTimeseriesWidgetLegendLayout handles when a null is used for TimeseriesWidgetLegendLayout.

func NewNullableTimeseriesWidgetLegendLayout ¶

func NewNullableTimeseriesWidgetLegendLayout(val *TimeseriesWidgetLegendLayout) *NullableTimeseriesWidgetLegendLayout

NewNullableTimeseriesWidgetLegendLayout initializes the struct as if Set has been called.

func (NullableTimeseriesWidgetLegendLayout) Get ¶

Get returns the associated value.

func (NullableTimeseriesWidgetLegendLayout) IsSet ¶

IsSet returns whether Set has been called.

func (NullableTimeseriesWidgetLegendLayout) MarshalJSON ¶

func (v NullableTimeseriesWidgetLegendLayout) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTimeseriesWidgetLegendLayout) Set ¶

Set changes the value and indicates it's been called.

func (*NullableTimeseriesWidgetLegendLayout) UnmarshalJSON ¶

func (v *NullableTimeseriesWidgetLegendLayout) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTimeseriesWidgetLegendLayout) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableToplistWidgetDefinitionType ¶

type NullableToplistWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableToplistWidgetDefinitionType handles when a null is used for ToplistWidgetDefinitionType.

func NewNullableToplistWidgetDefinitionType ¶

func NewNullableToplistWidgetDefinitionType(val *ToplistWidgetDefinitionType) *NullableToplistWidgetDefinitionType

NewNullableToplistWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableToplistWidgetDefinitionType) Get ¶

Get returns the associated value.

func (NullableToplistWidgetDefinitionType) IsSet ¶

IsSet returns whether Set has been called.

func (NullableToplistWidgetDefinitionType) MarshalJSON ¶

func (v NullableToplistWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableToplistWidgetDefinitionType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableToplistWidgetDefinitionType) UnmarshalJSON ¶

func (v *NullableToplistWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableToplistWidgetDefinitionType) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableTreeMapColorBy ¶ added in v1.2.0

type NullableTreeMapColorBy struct {
	// contains filtered or unexported fields
}

NullableTreeMapColorBy handles when a null is used for TreeMapColorBy.

func NewNullableTreeMapColorBy ¶ added in v1.2.0

func NewNullableTreeMapColorBy(val *TreeMapColorBy) *NullableTreeMapColorBy

NewNullableTreeMapColorBy initializes the struct as if Set has been called.

func (NullableTreeMapColorBy) Get ¶ added in v1.2.0

Get returns the associated value.

func (NullableTreeMapColorBy) IsSet ¶ added in v1.2.0

func (v NullableTreeMapColorBy) IsSet() bool

IsSet returns whether Set has been called.

func (NullableTreeMapColorBy) MarshalJSON ¶ added in v1.2.0

func (v NullableTreeMapColorBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTreeMapColorBy) Set ¶ added in v1.2.0

Set changes the value and indicates it's been called.

func (*NullableTreeMapColorBy) UnmarshalJSON ¶ added in v1.2.0

func (v *NullableTreeMapColorBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTreeMapColorBy) Unset ¶ added in v1.2.0

func (v *NullableTreeMapColorBy) Unset()

Unset sets the value to nil and resets the set flag.

type NullableTreeMapGroupBy ¶ added in v1.2.0

type NullableTreeMapGroupBy struct {
	// contains filtered or unexported fields
}

NullableTreeMapGroupBy handles when a null is used for TreeMapGroupBy.

func NewNullableTreeMapGroupBy ¶ added in v1.2.0

func NewNullableTreeMapGroupBy(val *TreeMapGroupBy) *NullableTreeMapGroupBy

NewNullableTreeMapGroupBy initializes the struct as if Set has been called.

func (NullableTreeMapGroupBy) Get ¶ added in v1.2.0

Get returns the associated value.

func (NullableTreeMapGroupBy) IsSet ¶ added in v1.2.0

func (v NullableTreeMapGroupBy) IsSet() bool

IsSet returns whether Set has been called.

func (NullableTreeMapGroupBy) MarshalJSON ¶ added in v1.2.0

func (v NullableTreeMapGroupBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTreeMapGroupBy) Set ¶ added in v1.2.0

Set changes the value and indicates it's been called.

func (*NullableTreeMapGroupBy) UnmarshalJSON ¶ added in v1.2.0

func (v *NullableTreeMapGroupBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTreeMapGroupBy) Unset ¶ added in v1.2.0

func (v *NullableTreeMapGroupBy) Unset()

Unset sets the value to nil and resets the set flag.

type NullableTreeMapSizeBy ¶ added in v1.2.0

type NullableTreeMapSizeBy struct {
	// contains filtered or unexported fields
}

NullableTreeMapSizeBy handles when a null is used for TreeMapSizeBy.

func NewNullableTreeMapSizeBy ¶ added in v1.2.0

func NewNullableTreeMapSizeBy(val *TreeMapSizeBy) *NullableTreeMapSizeBy

NewNullableTreeMapSizeBy initializes the struct as if Set has been called.

func (NullableTreeMapSizeBy) Get ¶ added in v1.2.0

Get returns the associated value.

func (NullableTreeMapSizeBy) IsSet ¶ added in v1.2.0

func (v NullableTreeMapSizeBy) IsSet() bool

IsSet returns whether Set has been called.

func (NullableTreeMapSizeBy) MarshalJSON ¶ added in v1.2.0

func (v NullableTreeMapSizeBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTreeMapSizeBy) Set ¶ added in v1.2.0

func (v *NullableTreeMapSizeBy) Set(val *TreeMapSizeBy)

Set changes the value and indicates it's been called.

func (*NullableTreeMapSizeBy) UnmarshalJSON ¶ added in v1.2.0

func (v *NullableTreeMapSizeBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTreeMapSizeBy) Unset ¶ added in v1.2.0

func (v *NullableTreeMapSizeBy) Unset()

Unset sets the value to nil and resets the set flag.

type NullableTreeMapWidgetDefinitionType ¶ added in v1.2.0

type NullableTreeMapWidgetDefinitionType struct {
	// contains filtered or unexported fields
}

NullableTreeMapWidgetDefinitionType handles when a null is used for TreeMapWidgetDefinitionType.

func NewNullableTreeMapWidgetDefinitionType ¶ added in v1.2.0

func NewNullableTreeMapWidgetDefinitionType(val *TreeMapWidgetDefinitionType) *NullableTreeMapWidgetDefinitionType

NewNullableTreeMapWidgetDefinitionType initializes the struct as if Set has been called.

func (NullableTreeMapWidgetDefinitionType) Get ¶ added in v1.2.0

Get returns the associated value.

func (NullableTreeMapWidgetDefinitionType) IsSet ¶ added in v1.2.0

IsSet returns whether Set has been called.

func (NullableTreeMapWidgetDefinitionType) MarshalJSON ¶ added in v1.2.0

func (v NullableTreeMapWidgetDefinitionType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableTreeMapWidgetDefinitionType) Set ¶ added in v1.2.0

Set changes the value and indicates it's been called.

func (*NullableTreeMapWidgetDefinitionType) UnmarshalJSON ¶ added in v1.2.0

func (v *NullableTreeMapWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableTreeMapWidgetDefinitionType) Unset ¶ added in v1.2.0

Unset sets the value to nil and resets the set flag.

type NullableUsageAttributionSort ¶

type NullableUsageAttributionSort struct {
	// contains filtered or unexported fields
}

NullableUsageAttributionSort handles when a null is used for UsageAttributionSort.

func NewNullableUsageAttributionSort ¶

func NewNullableUsageAttributionSort(val *UsageAttributionSort) *NullableUsageAttributionSort

NewNullableUsageAttributionSort initializes the struct as if Set has been called.

func (NullableUsageAttributionSort) Get ¶

Get returns the associated value.

func (NullableUsageAttributionSort) IsSet ¶

IsSet returns whether Set has been called.

func (NullableUsageAttributionSort) MarshalJSON ¶

func (v NullableUsageAttributionSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsageAttributionSort) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUsageAttributionSort) UnmarshalJSON ¶

func (v *NullableUsageAttributionSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageAttributionSort) Unset ¶

func (v *NullableUsageAttributionSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableUsageAttributionSupportedMetrics ¶

type NullableUsageAttributionSupportedMetrics struct {
	// contains filtered or unexported fields
}

NullableUsageAttributionSupportedMetrics handles when a null is used for UsageAttributionSupportedMetrics.

func NewNullableUsageAttributionSupportedMetrics ¶

func NewNullableUsageAttributionSupportedMetrics(val *UsageAttributionSupportedMetrics) *NullableUsageAttributionSupportedMetrics

NewNullableUsageAttributionSupportedMetrics initializes the struct as if Set has been called.

func (NullableUsageAttributionSupportedMetrics) Get ¶

Get returns the associated value.

func (NullableUsageAttributionSupportedMetrics) IsSet ¶

IsSet returns whether Set has been called.

func (NullableUsageAttributionSupportedMetrics) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableUsageAttributionSupportedMetrics) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUsageAttributionSupportedMetrics) UnmarshalJSON ¶

func (v *NullableUsageAttributionSupportedMetrics) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageAttributionSupportedMetrics) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableUsageMetricCategory ¶

type NullableUsageMetricCategory struct {
	// contains filtered or unexported fields
}

NullableUsageMetricCategory handles when a null is used for UsageMetricCategory.

func NewNullableUsageMetricCategory ¶

func NewNullableUsageMetricCategory(val *UsageMetricCategory) *NullableUsageMetricCategory

NewNullableUsageMetricCategory initializes the struct as if Set has been called.

func (NullableUsageMetricCategory) Get ¶

Get returns the associated value.

func (NullableUsageMetricCategory) IsSet ¶

IsSet returns whether Set has been called.

func (NullableUsageMetricCategory) MarshalJSON ¶

func (v NullableUsageMetricCategory) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsageMetricCategory) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUsageMetricCategory) UnmarshalJSON ¶

func (v *NullableUsageMetricCategory) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageMetricCategory) Unset ¶

func (v *NullableUsageMetricCategory) Unset()

Unset sets the value to nil and resets the set flag.

type NullableUsageReportsType ¶

type NullableUsageReportsType struct {
	// contains filtered or unexported fields
}

NullableUsageReportsType handles when a null is used for UsageReportsType.

func NewNullableUsageReportsType ¶

func NewNullableUsageReportsType(val *UsageReportsType) *NullableUsageReportsType

NewNullableUsageReportsType initializes the struct as if Set has been called.

func (NullableUsageReportsType) Get ¶

Get returns the associated value.

func (NullableUsageReportsType) IsSet ¶

func (v NullableUsageReportsType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableUsageReportsType) MarshalJSON ¶

func (v NullableUsageReportsType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsageReportsType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUsageReportsType) UnmarshalJSON ¶

func (v *NullableUsageReportsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageReportsType) Unset ¶

func (v *NullableUsageReportsType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableUsageSort ¶

type NullableUsageSort struct {
	// contains filtered or unexported fields
}

NullableUsageSort handles when a null is used for UsageSort.

func NewNullableUsageSort ¶

func NewNullableUsageSort(val *UsageSort) *NullableUsageSort

NewNullableUsageSort initializes the struct as if Set has been called.

func (NullableUsageSort) Get ¶

func (v NullableUsageSort) Get() *UsageSort

Get returns the associated value.

func (NullableUsageSort) IsSet ¶

func (v NullableUsageSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableUsageSort) MarshalJSON ¶

func (v NullableUsageSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsageSort) Set ¶

func (v *NullableUsageSort) Set(val *UsageSort)

Set changes the value and indicates it's been called.

func (*NullableUsageSort) UnmarshalJSON ¶

func (v *NullableUsageSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageSort) Unset ¶

func (v *NullableUsageSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableUsageSortDirection ¶

type NullableUsageSortDirection struct {
	// contains filtered or unexported fields
}

NullableUsageSortDirection handles when a null is used for UsageSortDirection.

func NewNullableUsageSortDirection ¶

func NewNullableUsageSortDirection(val *UsageSortDirection) *NullableUsageSortDirection

NewNullableUsageSortDirection initializes the struct as if Set has been called.

func (NullableUsageSortDirection) Get ¶

Get returns the associated value.

func (NullableUsageSortDirection) IsSet ¶

func (v NullableUsageSortDirection) IsSet() bool

IsSet returns whether Set has been called.

func (NullableUsageSortDirection) MarshalJSON ¶

func (v NullableUsageSortDirection) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableUsageSortDirection) Set ¶

Set changes the value and indicates it's been called.

func (*NullableUsageSortDirection) UnmarshalJSON ¶

func (v *NullableUsageSortDirection) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableUsageSortDirection) Unset ¶

func (v *NullableUsageSortDirection) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWebhooksIntegrationEncoding ¶ added in v1.3.0

type NullableWebhooksIntegrationEncoding struct {
	// contains filtered or unexported fields
}

NullableWebhooksIntegrationEncoding handles when a null is used for WebhooksIntegrationEncoding.

func NewNullableWebhooksIntegrationEncoding ¶ added in v1.3.0

func NewNullableWebhooksIntegrationEncoding(val *WebhooksIntegrationEncoding) *NullableWebhooksIntegrationEncoding

NewNullableWebhooksIntegrationEncoding initializes the struct as if Set has been called.

func (NullableWebhooksIntegrationEncoding) Get ¶ added in v1.3.0

Get returns the associated value.

func (NullableWebhooksIntegrationEncoding) IsSet ¶ added in v1.3.0

IsSet returns whether Set has been called.

func (NullableWebhooksIntegrationEncoding) MarshalJSON ¶ added in v1.3.0

func (v NullableWebhooksIntegrationEncoding) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWebhooksIntegrationEncoding) Set ¶ added in v1.3.0

Set changes the value and indicates it's been called.

func (*NullableWebhooksIntegrationEncoding) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableWebhooksIntegrationEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWebhooksIntegrationEncoding) Unset ¶ added in v1.3.0

Unset sets the value to nil and resets the set flag.

type NullableWidgetAggregator ¶

type NullableWidgetAggregator struct {
	// contains filtered or unexported fields
}

NullableWidgetAggregator handles when a null is used for WidgetAggregator.

func NewNullableWidgetAggregator ¶

func NewNullableWidgetAggregator(val *WidgetAggregator) *NullableWidgetAggregator

NewNullableWidgetAggregator initializes the struct as if Set has been called.

func (NullableWidgetAggregator) Get ¶

Get returns the associated value.

func (NullableWidgetAggregator) IsSet ¶

func (v NullableWidgetAggregator) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetAggregator) MarshalJSON ¶

func (v NullableWidgetAggregator) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetAggregator) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetAggregator) UnmarshalJSON ¶

func (v *NullableWidgetAggregator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetAggregator) Unset ¶

func (v *NullableWidgetAggregator) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetChangeType ¶

type NullableWidgetChangeType struct {
	// contains filtered or unexported fields
}

NullableWidgetChangeType handles when a null is used for WidgetChangeType.

func NewNullableWidgetChangeType ¶

func NewNullableWidgetChangeType(val *WidgetChangeType) *NullableWidgetChangeType

NewNullableWidgetChangeType initializes the struct as if Set has been called.

func (NullableWidgetChangeType) Get ¶

Get returns the associated value.

func (NullableWidgetChangeType) IsSet ¶

func (v NullableWidgetChangeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetChangeType) MarshalJSON ¶

func (v NullableWidgetChangeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetChangeType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetChangeType) UnmarshalJSON ¶

func (v *NullableWidgetChangeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetChangeType) Unset ¶

func (v *NullableWidgetChangeType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetColorPreference ¶

type NullableWidgetColorPreference struct {
	// contains filtered or unexported fields
}

NullableWidgetColorPreference handles when a null is used for WidgetColorPreference.

func NewNullableWidgetColorPreference ¶

func NewNullableWidgetColorPreference(val *WidgetColorPreference) *NullableWidgetColorPreference

NewNullableWidgetColorPreference initializes the struct as if Set has been called.

func (NullableWidgetColorPreference) Get ¶

Get returns the associated value.

func (NullableWidgetColorPreference) IsSet ¶

IsSet returns whether Set has been called.

func (NullableWidgetColorPreference) MarshalJSON ¶

func (v NullableWidgetColorPreference) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetColorPreference) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetColorPreference) UnmarshalJSON ¶

func (v *NullableWidgetColorPreference) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetColorPreference) Unset ¶

func (v *NullableWidgetColorPreference) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetComparator ¶

type NullableWidgetComparator struct {
	// contains filtered or unexported fields
}

NullableWidgetComparator handles when a null is used for WidgetComparator.

func NewNullableWidgetComparator ¶

func NewNullableWidgetComparator(val *WidgetComparator) *NullableWidgetComparator

NewNullableWidgetComparator initializes the struct as if Set has been called.

func (NullableWidgetComparator) Get ¶

Get returns the associated value.

func (NullableWidgetComparator) IsSet ¶

func (v NullableWidgetComparator) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetComparator) MarshalJSON ¶

func (v NullableWidgetComparator) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetComparator) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetComparator) UnmarshalJSON ¶

func (v *NullableWidgetComparator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetComparator) Unset ¶

func (v *NullableWidgetComparator) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetCompareTo ¶

type NullableWidgetCompareTo struct {
	// contains filtered or unexported fields
}

NullableWidgetCompareTo handles when a null is used for WidgetCompareTo.

func NewNullableWidgetCompareTo ¶

func NewNullableWidgetCompareTo(val *WidgetCompareTo) *NullableWidgetCompareTo

NewNullableWidgetCompareTo initializes the struct as if Set has been called.

func (NullableWidgetCompareTo) Get ¶

Get returns the associated value.

func (NullableWidgetCompareTo) IsSet ¶

func (v NullableWidgetCompareTo) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetCompareTo) MarshalJSON ¶

func (v NullableWidgetCompareTo) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetCompareTo) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetCompareTo) UnmarshalJSON ¶

func (v *NullableWidgetCompareTo) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetCompareTo) Unset ¶

func (v *NullableWidgetCompareTo) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetDefinition ¶

type NullableWidgetDefinition struct {
	// contains filtered or unexported fields
}

NullableWidgetDefinition handles when a null is used for WidgetDefinition.

func NewNullableWidgetDefinition ¶

func NewNullableWidgetDefinition(val *WidgetDefinition) *NullableWidgetDefinition

NewNullableWidgetDefinition initializes the struct as if Set has been called.

func (NullableWidgetDefinition) Get ¶

Get returns the associated value.

func (NullableWidgetDefinition) IsSet ¶

func (v NullableWidgetDefinition) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetDefinition) MarshalJSON ¶

func (v NullableWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetDefinition) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetDefinition) UnmarshalJSON ¶

func (v *NullableWidgetDefinition) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetDefinition) Unset ¶

func (v *NullableWidgetDefinition) Unset()

Unset sets the value to nil and resets the set flag/

type NullableWidgetDisplayType ¶

type NullableWidgetDisplayType struct {
	// contains filtered or unexported fields
}

NullableWidgetDisplayType handles when a null is used for WidgetDisplayType.

func NewNullableWidgetDisplayType ¶

func NewNullableWidgetDisplayType(val *WidgetDisplayType) *NullableWidgetDisplayType

NewNullableWidgetDisplayType initializes the struct as if Set has been called.

func (NullableWidgetDisplayType) Get ¶

Get returns the associated value.

func (NullableWidgetDisplayType) IsSet ¶

func (v NullableWidgetDisplayType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetDisplayType) MarshalJSON ¶

func (v NullableWidgetDisplayType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetDisplayType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetDisplayType) UnmarshalJSON ¶

func (v *NullableWidgetDisplayType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetDisplayType) Unset ¶

func (v *NullableWidgetDisplayType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetEventSize ¶

type NullableWidgetEventSize struct {
	// contains filtered or unexported fields
}

NullableWidgetEventSize handles when a null is used for WidgetEventSize.

func NewNullableWidgetEventSize ¶

func NewNullableWidgetEventSize(val *WidgetEventSize) *NullableWidgetEventSize

NewNullableWidgetEventSize initializes the struct as if Set has been called.

func (NullableWidgetEventSize) Get ¶

Get returns the associated value.

func (NullableWidgetEventSize) IsSet ¶

func (v NullableWidgetEventSize) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetEventSize) MarshalJSON ¶

func (v NullableWidgetEventSize) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetEventSize) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetEventSize) UnmarshalJSON ¶

func (v *NullableWidgetEventSize) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetEventSize) Unset ¶

func (v *NullableWidgetEventSize) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetGrouping ¶

type NullableWidgetGrouping struct {
	// contains filtered or unexported fields
}

NullableWidgetGrouping handles when a null is used for WidgetGrouping.

func NewNullableWidgetGrouping ¶

func NewNullableWidgetGrouping(val *WidgetGrouping) *NullableWidgetGrouping

NewNullableWidgetGrouping initializes the struct as if Set has been called.

func (NullableWidgetGrouping) Get ¶

Get returns the associated value.

func (NullableWidgetGrouping) IsSet ¶

func (v NullableWidgetGrouping) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetGrouping) MarshalJSON ¶

func (v NullableWidgetGrouping) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetGrouping) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetGrouping) UnmarshalJSON ¶

func (v *NullableWidgetGrouping) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetGrouping) Unset ¶

func (v *NullableWidgetGrouping) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetHorizontalAlign ¶

type NullableWidgetHorizontalAlign struct {
	// contains filtered or unexported fields
}

NullableWidgetHorizontalAlign handles when a null is used for WidgetHorizontalAlign.

func NewNullableWidgetHorizontalAlign ¶

func NewNullableWidgetHorizontalAlign(val *WidgetHorizontalAlign) *NullableWidgetHorizontalAlign

NewNullableWidgetHorizontalAlign initializes the struct as if Set has been called.

func (NullableWidgetHorizontalAlign) Get ¶

Get returns the associated value.

func (NullableWidgetHorizontalAlign) IsSet ¶

IsSet returns whether Set has been called.

func (NullableWidgetHorizontalAlign) MarshalJSON ¶

func (v NullableWidgetHorizontalAlign) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetHorizontalAlign) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetHorizontalAlign) UnmarshalJSON ¶

func (v *NullableWidgetHorizontalAlign) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetHorizontalAlign) Unset ¶

func (v *NullableWidgetHorizontalAlign) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetImageSizing ¶

type NullableWidgetImageSizing struct {
	// contains filtered or unexported fields
}

NullableWidgetImageSizing handles when a null is used for WidgetImageSizing.

func NewNullableWidgetImageSizing ¶

func NewNullableWidgetImageSizing(val *WidgetImageSizing) *NullableWidgetImageSizing

NewNullableWidgetImageSizing initializes the struct as if Set has been called.

func (NullableWidgetImageSizing) Get ¶

Get returns the associated value.

func (NullableWidgetImageSizing) IsSet ¶

func (v NullableWidgetImageSizing) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetImageSizing) MarshalJSON ¶

func (v NullableWidgetImageSizing) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetImageSizing) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetImageSizing) UnmarshalJSON ¶

func (v *NullableWidgetImageSizing) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetImageSizing) Unset ¶

func (v *NullableWidgetImageSizing) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetLayoutType ¶

type NullableWidgetLayoutType struct {
	// contains filtered or unexported fields
}

NullableWidgetLayoutType handles when a null is used for WidgetLayoutType.

func NewNullableWidgetLayoutType ¶

func NewNullableWidgetLayoutType(val *WidgetLayoutType) *NullableWidgetLayoutType

NewNullableWidgetLayoutType initializes the struct as if Set has been called.

func (NullableWidgetLayoutType) Get ¶

Get returns the associated value.

func (NullableWidgetLayoutType) IsSet ¶

func (v NullableWidgetLayoutType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetLayoutType) MarshalJSON ¶

func (v NullableWidgetLayoutType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetLayoutType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetLayoutType) UnmarshalJSON ¶

func (v *NullableWidgetLayoutType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetLayoutType) Unset ¶

func (v *NullableWidgetLayoutType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetLineType ¶

type NullableWidgetLineType struct {
	// contains filtered or unexported fields
}

NullableWidgetLineType handles when a null is used for WidgetLineType.

func NewNullableWidgetLineType ¶

func NewNullableWidgetLineType(val *WidgetLineType) *NullableWidgetLineType

NewNullableWidgetLineType initializes the struct as if Set has been called.

func (NullableWidgetLineType) Get ¶

Get returns the associated value.

func (NullableWidgetLineType) IsSet ¶

func (v NullableWidgetLineType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetLineType) MarshalJSON ¶

func (v NullableWidgetLineType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetLineType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetLineType) UnmarshalJSON ¶

func (v *NullableWidgetLineType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetLineType) Unset ¶

func (v *NullableWidgetLineType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetLineWidth ¶

type NullableWidgetLineWidth struct {
	// contains filtered or unexported fields
}

NullableWidgetLineWidth handles when a null is used for WidgetLineWidth.

func NewNullableWidgetLineWidth ¶

func NewNullableWidgetLineWidth(val *WidgetLineWidth) *NullableWidgetLineWidth

NewNullableWidgetLineWidth initializes the struct as if Set has been called.

func (NullableWidgetLineWidth) Get ¶

Get returns the associated value.

func (NullableWidgetLineWidth) IsSet ¶

func (v NullableWidgetLineWidth) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetLineWidth) MarshalJSON ¶

func (v NullableWidgetLineWidth) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetLineWidth) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetLineWidth) UnmarshalJSON ¶

func (v *NullableWidgetLineWidth) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetLineWidth) Unset ¶

func (v *NullableWidgetLineWidth) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetLiveSpan ¶

type NullableWidgetLiveSpan struct {
	// contains filtered or unexported fields
}

NullableWidgetLiveSpan handles when a null is used for WidgetLiveSpan.

func NewNullableWidgetLiveSpan ¶

func NewNullableWidgetLiveSpan(val *WidgetLiveSpan) *NullableWidgetLiveSpan

NewNullableWidgetLiveSpan initializes the struct as if Set has been called.

func (NullableWidgetLiveSpan) Get ¶

Get returns the associated value.

func (NullableWidgetLiveSpan) IsSet ¶

func (v NullableWidgetLiveSpan) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetLiveSpan) MarshalJSON ¶

func (v NullableWidgetLiveSpan) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetLiveSpan) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetLiveSpan) UnmarshalJSON ¶

func (v *NullableWidgetLiveSpan) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetLiveSpan) Unset ¶

func (v *NullableWidgetLiveSpan) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetMargin ¶

type NullableWidgetMargin struct {
	// contains filtered or unexported fields
}

NullableWidgetMargin handles when a null is used for WidgetMargin.

func NewNullableWidgetMargin ¶

func NewNullableWidgetMargin(val *WidgetMargin) *NullableWidgetMargin

NewNullableWidgetMargin initializes the struct as if Set has been called.

func (NullableWidgetMargin) Get ¶

Get returns the associated value.

func (NullableWidgetMargin) IsSet ¶

func (v NullableWidgetMargin) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetMargin) MarshalJSON ¶

func (v NullableWidgetMargin) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetMargin) Set ¶

func (v *NullableWidgetMargin) Set(val *WidgetMargin)

Set changes the value and indicates it's been called.

func (*NullableWidgetMargin) UnmarshalJSON ¶

func (v *NullableWidgetMargin) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetMargin) Unset ¶

func (v *NullableWidgetMargin) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetMessageDisplay ¶

type NullableWidgetMessageDisplay struct {
	// contains filtered or unexported fields
}

NullableWidgetMessageDisplay handles when a null is used for WidgetMessageDisplay.

func NewNullableWidgetMessageDisplay ¶

func NewNullableWidgetMessageDisplay(val *WidgetMessageDisplay) *NullableWidgetMessageDisplay

NewNullableWidgetMessageDisplay initializes the struct as if Set has been called.

func (NullableWidgetMessageDisplay) Get ¶

Get returns the associated value.

func (NullableWidgetMessageDisplay) IsSet ¶

IsSet returns whether Set has been called.

func (NullableWidgetMessageDisplay) MarshalJSON ¶

func (v NullableWidgetMessageDisplay) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetMessageDisplay) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetMessageDisplay) UnmarshalJSON ¶

func (v *NullableWidgetMessageDisplay) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetMessageDisplay) Unset ¶

func (v *NullableWidgetMessageDisplay) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetMonitorSummaryDisplayFormat ¶

type NullableWidgetMonitorSummaryDisplayFormat struct {
	// contains filtered or unexported fields
}

NullableWidgetMonitorSummaryDisplayFormat handles when a null is used for WidgetMonitorSummaryDisplayFormat.

func NewNullableWidgetMonitorSummaryDisplayFormat ¶

func NewNullableWidgetMonitorSummaryDisplayFormat(val *WidgetMonitorSummaryDisplayFormat) *NullableWidgetMonitorSummaryDisplayFormat

NewNullableWidgetMonitorSummaryDisplayFormat initializes the struct as if Set has been called.

func (NullableWidgetMonitorSummaryDisplayFormat) Get ¶

Get returns the associated value.

func (NullableWidgetMonitorSummaryDisplayFormat) IsSet ¶

IsSet returns whether Set has been called.

func (NullableWidgetMonitorSummaryDisplayFormat) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableWidgetMonitorSummaryDisplayFormat) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetMonitorSummaryDisplayFormat) UnmarshalJSON ¶

func (v *NullableWidgetMonitorSummaryDisplayFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetMonitorSummaryDisplayFormat) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableWidgetMonitorSummarySort ¶

type NullableWidgetMonitorSummarySort struct {
	// contains filtered or unexported fields
}

NullableWidgetMonitorSummarySort handles when a null is used for WidgetMonitorSummarySort.

func NewNullableWidgetMonitorSummarySort ¶

func NewNullableWidgetMonitorSummarySort(val *WidgetMonitorSummarySort) *NullableWidgetMonitorSummarySort

NewNullableWidgetMonitorSummarySort initializes the struct as if Set has been called.

func (NullableWidgetMonitorSummarySort) Get ¶

Get returns the associated value.

func (NullableWidgetMonitorSummarySort) IsSet ¶

IsSet returns whether Set has been called.

func (NullableWidgetMonitorSummarySort) MarshalJSON ¶

func (v NullableWidgetMonitorSummarySort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetMonitorSummarySort) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetMonitorSummarySort) UnmarshalJSON ¶

func (v *NullableWidgetMonitorSummarySort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetMonitorSummarySort) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableWidgetNodeType ¶

type NullableWidgetNodeType struct {
	// contains filtered or unexported fields
}

NullableWidgetNodeType handles when a null is used for WidgetNodeType.

func NewNullableWidgetNodeType ¶

func NewNullableWidgetNodeType(val *WidgetNodeType) *NullableWidgetNodeType

NewNullableWidgetNodeType initializes the struct as if Set has been called.

func (NullableWidgetNodeType) Get ¶

Get returns the associated value.

func (NullableWidgetNodeType) IsSet ¶

func (v NullableWidgetNodeType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetNodeType) MarshalJSON ¶

func (v NullableWidgetNodeType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetNodeType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetNodeType) UnmarshalJSON ¶

func (v *NullableWidgetNodeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetNodeType) Unset ¶

func (v *NullableWidgetNodeType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetOrderBy ¶

type NullableWidgetOrderBy struct {
	// contains filtered or unexported fields
}

NullableWidgetOrderBy handles when a null is used for WidgetOrderBy.

func NewNullableWidgetOrderBy ¶

func NewNullableWidgetOrderBy(val *WidgetOrderBy) *NullableWidgetOrderBy

NewNullableWidgetOrderBy initializes the struct as if Set has been called.

func (NullableWidgetOrderBy) Get ¶

Get returns the associated value.

func (NullableWidgetOrderBy) IsSet ¶

func (v NullableWidgetOrderBy) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetOrderBy) MarshalJSON ¶

func (v NullableWidgetOrderBy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetOrderBy) Set ¶

func (v *NullableWidgetOrderBy) Set(val *WidgetOrderBy)

Set changes the value and indicates it's been called.

func (*NullableWidgetOrderBy) UnmarshalJSON ¶

func (v *NullableWidgetOrderBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetOrderBy) Unset ¶

func (v *NullableWidgetOrderBy) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetPalette ¶

type NullableWidgetPalette struct {
	// contains filtered or unexported fields
}

NullableWidgetPalette handles when a null is used for WidgetPalette.

func NewNullableWidgetPalette ¶

func NewNullableWidgetPalette(val *WidgetPalette) *NullableWidgetPalette

NewNullableWidgetPalette initializes the struct as if Set has been called.

func (NullableWidgetPalette) Get ¶

Get returns the associated value.

func (NullableWidgetPalette) IsSet ¶

func (v NullableWidgetPalette) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetPalette) MarshalJSON ¶

func (v NullableWidgetPalette) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetPalette) Set ¶

func (v *NullableWidgetPalette) Set(val *WidgetPalette)

Set changes the value and indicates it's been called.

func (*NullableWidgetPalette) UnmarshalJSON ¶

func (v *NullableWidgetPalette) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetPalette) Unset ¶

func (v *NullableWidgetPalette) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetServiceSummaryDisplayFormat ¶

type NullableWidgetServiceSummaryDisplayFormat struct {
	// contains filtered or unexported fields
}

NullableWidgetServiceSummaryDisplayFormat handles when a null is used for WidgetServiceSummaryDisplayFormat.

func NewNullableWidgetServiceSummaryDisplayFormat ¶

func NewNullableWidgetServiceSummaryDisplayFormat(val *WidgetServiceSummaryDisplayFormat) *NullableWidgetServiceSummaryDisplayFormat

NewNullableWidgetServiceSummaryDisplayFormat initializes the struct as if Set has been called.

func (NullableWidgetServiceSummaryDisplayFormat) Get ¶

Get returns the associated value.

func (NullableWidgetServiceSummaryDisplayFormat) IsSet ¶

IsSet returns whether Set has been called.

func (NullableWidgetServiceSummaryDisplayFormat) MarshalJSON ¶

MarshalJSON serializes the associated value.

func (*NullableWidgetServiceSummaryDisplayFormat) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetServiceSummaryDisplayFormat) UnmarshalJSON ¶

func (v *NullableWidgetServiceSummaryDisplayFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetServiceSummaryDisplayFormat) Unset ¶

Unset sets the value to nil and resets the set flag.

type NullableWidgetSizeFormat ¶

type NullableWidgetSizeFormat struct {
	// contains filtered or unexported fields
}

NullableWidgetSizeFormat handles when a null is used for WidgetSizeFormat.

func NewNullableWidgetSizeFormat ¶

func NewNullableWidgetSizeFormat(val *WidgetSizeFormat) *NullableWidgetSizeFormat

NewNullableWidgetSizeFormat initializes the struct as if Set has been called.

func (NullableWidgetSizeFormat) Get ¶

Get returns the associated value.

func (NullableWidgetSizeFormat) IsSet ¶

func (v NullableWidgetSizeFormat) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetSizeFormat) MarshalJSON ¶

func (v NullableWidgetSizeFormat) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetSizeFormat) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetSizeFormat) UnmarshalJSON ¶

func (v *NullableWidgetSizeFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetSizeFormat) Unset ¶

func (v *NullableWidgetSizeFormat) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetSort ¶

type NullableWidgetSort struct {
	// contains filtered or unexported fields
}

NullableWidgetSort handles when a null is used for WidgetSort.

func NewNullableWidgetSort ¶

func NewNullableWidgetSort(val *WidgetSort) *NullableWidgetSort

NewNullableWidgetSort initializes the struct as if Set has been called.

func (NullableWidgetSort) Get ¶

func (v NullableWidgetSort) Get() *WidgetSort

Get returns the associated value.

func (NullableWidgetSort) IsSet ¶

func (v NullableWidgetSort) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetSort) MarshalJSON ¶

func (v NullableWidgetSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetSort) Set ¶

func (v *NullableWidgetSort) Set(val *WidgetSort)

Set changes the value and indicates it's been called.

func (*NullableWidgetSort) UnmarshalJSON ¶

func (v *NullableWidgetSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetSort) Unset ¶

func (v *NullableWidgetSort) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetSummaryType ¶

type NullableWidgetSummaryType struct {
	// contains filtered or unexported fields
}

NullableWidgetSummaryType handles when a null is used for WidgetSummaryType.

func NewNullableWidgetSummaryType ¶

func NewNullableWidgetSummaryType(val *WidgetSummaryType) *NullableWidgetSummaryType

NewNullableWidgetSummaryType initializes the struct as if Set has been called.

func (NullableWidgetSummaryType) Get ¶

Get returns the associated value.

func (NullableWidgetSummaryType) IsSet ¶

func (v NullableWidgetSummaryType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetSummaryType) MarshalJSON ¶

func (v NullableWidgetSummaryType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetSummaryType) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetSummaryType) UnmarshalJSON ¶

func (v *NullableWidgetSummaryType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetSummaryType) Unset ¶

func (v *NullableWidgetSummaryType) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetTextAlign ¶

type NullableWidgetTextAlign struct {
	// contains filtered or unexported fields
}

NullableWidgetTextAlign handles when a null is used for WidgetTextAlign.

func NewNullableWidgetTextAlign ¶

func NewNullableWidgetTextAlign(val *WidgetTextAlign) *NullableWidgetTextAlign

NewNullableWidgetTextAlign initializes the struct as if Set has been called.

func (NullableWidgetTextAlign) Get ¶

Get returns the associated value.

func (NullableWidgetTextAlign) IsSet ¶

func (v NullableWidgetTextAlign) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetTextAlign) MarshalJSON ¶

func (v NullableWidgetTextAlign) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetTextAlign) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetTextAlign) UnmarshalJSON ¶

func (v *NullableWidgetTextAlign) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetTextAlign) Unset ¶

func (v *NullableWidgetTextAlign) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetTickEdge ¶

type NullableWidgetTickEdge struct {
	// contains filtered or unexported fields
}

NullableWidgetTickEdge handles when a null is used for WidgetTickEdge.

func NewNullableWidgetTickEdge ¶

func NewNullableWidgetTickEdge(val *WidgetTickEdge) *NullableWidgetTickEdge

NewNullableWidgetTickEdge initializes the struct as if Set has been called.

func (NullableWidgetTickEdge) Get ¶

Get returns the associated value.

func (NullableWidgetTickEdge) IsSet ¶

func (v NullableWidgetTickEdge) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetTickEdge) MarshalJSON ¶

func (v NullableWidgetTickEdge) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetTickEdge) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetTickEdge) UnmarshalJSON ¶

func (v *NullableWidgetTickEdge) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetTickEdge) Unset ¶

func (v *NullableWidgetTickEdge) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetTimeWindows ¶

type NullableWidgetTimeWindows struct {
	// contains filtered or unexported fields
}

NullableWidgetTimeWindows handles when a null is used for WidgetTimeWindows.

func NewNullableWidgetTimeWindows ¶

func NewNullableWidgetTimeWindows(val *WidgetTimeWindows) *NullableWidgetTimeWindows

NewNullableWidgetTimeWindows initializes the struct as if Set has been called.

func (NullableWidgetTimeWindows) Get ¶

Get returns the associated value.

func (NullableWidgetTimeWindows) IsSet ¶

func (v NullableWidgetTimeWindows) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetTimeWindows) MarshalJSON ¶

func (v NullableWidgetTimeWindows) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetTimeWindows) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetTimeWindows) UnmarshalJSON ¶

func (v *NullableWidgetTimeWindows) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetTimeWindows) Unset ¶

func (v *NullableWidgetTimeWindows) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetVerticalAlign ¶

type NullableWidgetVerticalAlign struct {
	// contains filtered or unexported fields
}

NullableWidgetVerticalAlign handles when a null is used for WidgetVerticalAlign.

func NewNullableWidgetVerticalAlign ¶

func NewNullableWidgetVerticalAlign(val *WidgetVerticalAlign) *NullableWidgetVerticalAlign

NewNullableWidgetVerticalAlign initializes the struct as if Set has been called.

func (NullableWidgetVerticalAlign) Get ¶

Get returns the associated value.

func (NullableWidgetVerticalAlign) IsSet ¶

IsSet returns whether Set has been called.

func (NullableWidgetVerticalAlign) MarshalJSON ¶

func (v NullableWidgetVerticalAlign) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetVerticalAlign) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetVerticalAlign) UnmarshalJSON ¶

func (v *NullableWidgetVerticalAlign) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetVerticalAlign) Unset ¶

func (v *NullableWidgetVerticalAlign) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetViewMode ¶

type NullableWidgetViewMode struct {
	// contains filtered or unexported fields
}

NullableWidgetViewMode handles when a null is used for WidgetViewMode.

func NewNullableWidgetViewMode ¶

func NewNullableWidgetViewMode(val *WidgetViewMode) *NullableWidgetViewMode

NewNullableWidgetViewMode initializes the struct as if Set has been called.

func (NullableWidgetViewMode) Get ¶

Get returns the associated value.

func (NullableWidgetViewMode) IsSet ¶

func (v NullableWidgetViewMode) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetViewMode) MarshalJSON ¶

func (v NullableWidgetViewMode) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetViewMode) Set ¶

Set changes the value and indicates it's been called.

func (*NullableWidgetViewMode) UnmarshalJSON ¶

func (v *NullableWidgetViewMode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetViewMode) Unset ¶

func (v *NullableWidgetViewMode) Unset()

Unset sets the value to nil and resets the set flag.

type NullableWidgetVizType ¶

type NullableWidgetVizType struct {
	// contains filtered or unexported fields
}

NullableWidgetVizType handles when a null is used for WidgetVizType.

func NewNullableWidgetVizType ¶

func NewNullableWidgetVizType(val *WidgetVizType) *NullableWidgetVizType

NewNullableWidgetVizType initializes the struct as if Set has been called.

func (NullableWidgetVizType) Get ¶

Get returns the associated value.

func (NullableWidgetVizType) IsSet ¶

func (v NullableWidgetVizType) IsSet() bool

IsSet returns whether Set has been called.

func (NullableWidgetVizType) MarshalJSON ¶

func (v NullableWidgetVizType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the associated value.

func (*NullableWidgetVizType) Set ¶

func (v *NullableWidgetVizType) Set(val *WidgetVizType)

Set changes the value and indicates it's been called.

func (*NullableWidgetVizType) UnmarshalJSON ¶

func (v *NullableWidgetVizType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.

func (*NullableWidgetVizType) Unset ¶

func (v *NullableWidgetVizType) Unset()

Unset sets the value to nil and resets the set flag.

type OrgDowngradedResponse ¶ added in v1.15.0

type OrgDowngradedResponse struct {
	// Information pertaining to the downgraded child organization.
	Message *string `json:"message,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrgDowngradedResponse Status of downgrade

func NewOrgDowngradedResponse ¶ added in v1.15.0

func NewOrgDowngradedResponse() *OrgDowngradedResponse

NewOrgDowngradedResponse instantiates a new OrgDowngradedResponse 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 NewOrgDowngradedResponseWithDefaults ¶ added in v1.15.0

func NewOrgDowngradedResponseWithDefaults() *OrgDowngradedResponse

NewOrgDowngradedResponseWithDefaults instantiates a new OrgDowngradedResponse 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 (*OrgDowngradedResponse) GetMessage ¶ added in v1.15.0

func (o *OrgDowngradedResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*OrgDowngradedResponse) GetMessageOk ¶ added in v1.15.0

func (o *OrgDowngradedResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrgDowngradedResponse) HasMessage ¶ added in v1.15.0

func (o *OrgDowngradedResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (OrgDowngradedResponse) MarshalJSON ¶ added in v1.15.0

func (o OrgDowngradedResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrgDowngradedResponse) SetMessage ¶ added in v1.15.0

func (o *OrgDowngradedResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*OrgDowngradedResponse) UnmarshalJSON ¶ added in v1.15.0

func (o *OrgDowngradedResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Organization ¶

type Organization struct {
	// A JSON array of billing type.
	// Deprecated
	Billing *OrganizationBilling `json:"billing,omitempty"`
	// Date of the organization creation.
	Created *string `json:"created,omitempty"`
	// Description of the organization.
	Description *string `json:"description,omitempty"`
	// The name of the new child-organization, limited to 32 characters.
	Name *string `json:"name,omitempty"`
	// The `public_id` of the organization you are operating within.
	PublicId *string `json:"public_id,omitempty"`
	// A JSON array of settings.
	Settings *OrganizationSettings `json:"settings,omitempty"`
	// Subscription definition.
	// Deprecated
	Subscription *OrganizationSubscription `json:"subscription,omitempty"`
	// Only available for MSP customers. Allows child organizations to be created on a trial plan.
	Trial *bool `json:"trial,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Organization Create, edit, and manage organizations.

func NewOrganization ¶

func NewOrganization() *Organization

NewOrganization instantiates a new Organization 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 NewOrganizationWithDefaults ¶

func NewOrganizationWithDefaults() *Organization

NewOrganizationWithDefaults instantiates a new Organization 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 (*Organization) GetBilling ¶

func (o *Organization) GetBilling() OrganizationBilling

GetBilling returns the Billing field value if set, zero value otherwise. Deprecated

func (*Organization) GetBillingOk ¶

func (o *Organization) GetBillingOk() (*OrganizationBilling, bool)

GetBillingOk returns a tuple with the Billing field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*Organization) GetCreated ¶

func (o *Organization) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*Organization) GetCreatedOk ¶

func (o *Organization) GetCreatedOk() (*string, 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 (*Organization) GetDescription ¶

func (o *Organization) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Organization) GetDescriptionOk ¶

func (o *Organization) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetName ¶

func (o *Organization) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Organization) GetNameOk ¶

func (o *Organization) 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 (*Organization) GetPublicId ¶

func (o *Organization) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*Organization) GetPublicIdOk ¶

func (o *Organization) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetSettings ¶

func (o *Organization) GetSettings() OrganizationSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*Organization) GetSettingsOk ¶

func (o *Organization) GetSettingsOk() (*OrganizationSettings, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetSubscription ¶

func (o *Organization) GetSubscription() OrganizationSubscription

GetSubscription returns the Subscription field value if set, zero value otherwise. Deprecated

func (*Organization) GetSubscriptionOk ¶

func (o *Organization) GetSubscriptionOk() (*OrganizationSubscription, bool)

GetSubscriptionOk returns a tuple with the Subscription field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*Organization) GetTrial ¶ added in v1.15.0

func (o *Organization) GetTrial() bool

GetTrial returns the Trial field value if set, zero value otherwise.

func (*Organization) GetTrialOk ¶ added in v1.15.0

func (o *Organization) GetTrialOk() (*bool, bool)

GetTrialOk returns a tuple with the Trial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) HasBilling ¶

func (o *Organization) HasBilling() bool

HasBilling returns a boolean if a field has been set.

func (*Organization) HasCreated ¶

func (o *Organization) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*Organization) HasDescription ¶

func (o *Organization) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Organization) HasName ¶

func (o *Organization) HasName() bool

HasName returns a boolean if a field has been set.

func (*Organization) HasPublicId ¶

func (o *Organization) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*Organization) HasSettings ¶

func (o *Organization) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*Organization) HasSubscription ¶

func (o *Organization) HasSubscription() bool

HasSubscription returns a boolean if a field has been set.

func (*Organization) HasTrial ¶ added in v1.15.0

func (o *Organization) HasTrial() bool

HasTrial returns a boolean if a field has been set.

func (Organization) MarshalJSON ¶

func (o Organization) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Organization) SetBilling ¶

func (o *Organization) SetBilling(v OrganizationBilling)

SetBilling gets a reference to the given OrganizationBilling and assigns it to the Billing field. Deprecated

func (*Organization) SetCreated ¶

func (o *Organization) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*Organization) SetDescription ¶

func (o *Organization) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Organization) SetName ¶

func (o *Organization) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Organization) SetPublicId ¶

func (o *Organization) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*Organization) SetSettings ¶

func (o *Organization) SetSettings(v OrganizationSettings)

SetSettings gets a reference to the given OrganizationSettings and assigns it to the Settings field.

func (*Organization) SetSubscription ¶

func (o *Organization) SetSubscription(v OrganizationSubscription)

SetSubscription gets a reference to the given OrganizationSubscription and assigns it to the Subscription field. Deprecated

func (*Organization) SetTrial ¶ added in v1.15.0

func (o *Organization) SetTrial(v bool)

SetTrial gets a reference to the given bool and assigns it to the Trial field.

func (*Organization) UnmarshalJSON ¶ added in v1.3.0

func (o *Organization) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationBilling ¶

type OrganizationBilling struct {
	// The type of billing. Only `parent_billing` is supported.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationBilling A JSON array of billing type.

func NewOrganizationBilling ¶

func NewOrganizationBilling() *OrganizationBilling

NewOrganizationBilling instantiates a new OrganizationBilling 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 NewOrganizationBillingWithDefaults ¶

func NewOrganizationBillingWithDefaults() *OrganizationBilling

NewOrganizationBillingWithDefaults instantiates a new OrganizationBilling 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 (*OrganizationBilling) GetType ¶

func (o *OrganizationBilling) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*OrganizationBilling) GetTypeOk ¶

func (o *OrganizationBilling) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationBilling) HasType ¶

func (o *OrganizationBilling) HasType() bool

HasType returns a boolean if a field has been set.

func (OrganizationBilling) MarshalJSON ¶

func (o OrganizationBilling) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationBilling) SetType ¶

func (o *OrganizationBilling) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*OrganizationBilling) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationBilling) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationCreateBody ¶

type OrganizationCreateBody struct {
	// A JSON array of billing type.
	// Deprecated
	Billing *OrganizationBilling `json:"billing,omitempty"`
	// The name of the new child-organization, limited to 32 characters.
	Name string `json:"name"`
	// Subscription definition.
	// Deprecated
	Subscription *OrganizationSubscription `json:"subscription,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationCreateBody Object describing an organization to create.

func NewOrganizationCreateBody ¶

func NewOrganizationCreateBody(name string) *OrganizationCreateBody

NewOrganizationCreateBody instantiates a new OrganizationCreateBody 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 NewOrganizationCreateBodyWithDefaults ¶

func NewOrganizationCreateBodyWithDefaults() *OrganizationCreateBody

NewOrganizationCreateBodyWithDefaults instantiates a new OrganizationCreateBody 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 (*OrganizationCreateBody) GetBilling ¶

GetBilling returns the Billing field value if set, zero value otherwise. Deprecated

func (*OrganizationCreateBody) GetBillingOk ¶

func (o *OrganizationCreateBody) GetBillingOk() (*OrganizationBilling, bool)

GetBillingOk returns a tuple with the Billing field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*OrganizationCreateBody) GetName ¶

func (o *OrganizationCreateBody) GetName() string

GetName returns the Name field value.

func (*OrganizationCreateBody) GetNameOk ¶

func (o *OrganizationCreateBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*OrganizationCreateBody) GetSubscription ¶

func (o *OrganizationCreateBody) GetSubscription() OrganizationSubscription

GetSubscription returns the Subscription field value if set, zero value otherwise. Deprecated

func (*OrganizationCreateBody) GetSubscriptionOk ¶

func (o *OrganizationCreateBody) GetSubscriptionOk() (*OrganizationSubscription, bool)

GetSubscriptionOk returns a tuple with the Subscription field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*OrganizationCreateBody) HasBilling ¶

func (o *OrganizationCreateBody) HasBilling() bool

HasBilling returns a boolean if a field has been set.

func (*OrganizationCreateBody) HasSubscription ¶

func (o *OrganizationCreateBody) HasSubscription() bool

HasSubscription returns a boolean if a field has been set.

func (OrganizationCreateBody) MarshalJSON ¶

func (o OrganizationCreateBody) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationCreateBody) SetBilling ¶

SetBilling gets a reference to the given OrganizationBilling and assigns it to the Billing field. Deprecated

func (*OrganizationCreateBody) SetName ¶

func (o *OrganizationCreateBody) SetName(v string)

SetName sets field value.

func (*OrganizationCreateBody) SetSubscription ¶

func (o *OrganizationCreateBody) SetSubscription(v OrganizationSubscription)

SetSubscription gets a reference to the given OrganizationSubscription and assigns it to the Subscription field. Deprecated

func (*OrganizationCreateBody) UnmarshalJSON ¶

func (o *OrganizationCreateBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationCreateResponse ¶

type OrganizationCreateResponse struct {
	// Datadog API key.
	ApiKey *ApiKey `json:"api_key,omitempty"`
	// An application key with its associated metadata.
	ApplicationKey *ApplicationKey `json:"application_key,omitempty"`
	// Create, edit, and manage organizations.
	Org *Organization `json:"org,omitempty"`
	// Create, edit, and disable users.
	User *User `json:"user,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationCreateResponse Response object for an organization creation.

func NewOrganizationCreateResponse ¶

func NewOrganizationCreateResponse() *OrganizationCreateResponse

NewOrganizationCreateResponse instantiates a new OrganizationCreateResponse 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 NewOrganizationCreateResponseWithDefaults ¶

func NewOrganizationCreateResponseWithDefaults() *OrganizationCreateResponse

NewOrganizationCreateResponseWithDefaults instantiates a new OrganizationCreateResponse 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 (*OrganizationCreateResponse) GetApiKey ¶

func (o *OrganizationCreateResponse) GetApiKey() ApiKey

GetApiKey returns the ApiKey field value if set, zero value otherwise.

func (*OrganizationCreateResponse) GetApiKeyOk ¶

func (o *OrganizationCreateResponse) GetApiKeyOk() (*ApiKey, bool)

GetApiKeyOk returns a tuple with the ApiKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationCreateResponse) GetApplicationKey ¶

func (o *OrganizationCreateResponse) GetApplicationKey() ApplicationKey

GetApplicationKey returns the ApplicationKey field value if set, zero value otherwise.

func (*OrganizationCreateResponse) GetApplicationKeyOk ¶

func (o *OrganizationCreateResponse) GetApplicationKeyOk() (*ApplicationKey, bool)

GetApplicationKeyOk returns a tuple with the ApplicationKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationCreateResponse) GetOrg ¶

GetOrg returns the Org field value if set, zero value otherwise.

func (*OrganizationCreateResponse) GetOrgOk ¶

func (o *OrganizationCreateResponse) GetOrgOk() (*Organization, bool)

GetOrgOk returns a tuple with the Org field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationCreateResponse) GetUser ¶

func (o *OrganizationCreateResponse) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*OrganizationCreateResponse) GetUserOk ¶

func (o *OrganizationCreateResponse) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationCreateResponse) HasApiKey ¶

func (o *OrganizationCreateResponse) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

func (*OrganizationCreateResponse) HasApplicationKey ¶

func (o *OrganizationCreateResponse) HasApplicationKey() bool

HasApplicationKey returns a boolean if a field has been set.

func (*OrganizationCreateResponse) HasOrg ¶

func (o *OrganizationCreateResponse) HasOrg() bool

HasOrg returns a boolean if a field has been set.

func (*OrganizationCreateResponse) HasUser ¶

func (o *OrganizationCreateResponse) HasUser() bool

HasUser returns a boolean if a field has been set.

func (OrganizationCreateResponse) MarshalJSON ¶

func (o OrganizationCreateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationCreateResponse) SetApiKey ¶

func (o *OrganizationCreateResponse) SetApiKey(v ApiKey)

SetApiKey gets a reference to the given ApiKey and assigns it to the ApiKey field.

func (*OrganizationCreateResponse) SetApplicationKey ¶

func (o *OrganizationCreateResponse) SetApplicationKey(v ApplicationKey)

SetApplicationKey gets a reference to the given ApplicationKey and assigns it to the ApplicationKey field.

func (*OrganizationCreateResponse) SetOrg ¶

SetOrg gets a reference to the given Organization and assigns it to the Org field.

func (*OrganizationCreateResponse) SetUser ¶

func (o *OrganizationCreateResponse) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*OrganizationCreateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationCreateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationListResponse ¶

type OrganizationListResponse struct {
	// Array of organization objects.
	Orgs []Organization `json:"orgs,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationListResponse Response with the list of organizations.

func NewOrganizationListResponse ¶

func NewOrganizationListResponse() *OrganizationListResponse

NewOrganizationListResponse instantiates a new OrganizationListResponse 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 NewOrganizationListResponseWithDefaults ¶

func NewOrganizationListResponseWithDefaults() *OrganizationListResponse

NewOrganizationListResponseWithDefaults instantiates a new OrganizationListResponse 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 (*OrganizationListResponse) GetOrgs ¶

func (o *OrganizationListResponse) GetOrgs() []Organization

GetOrgs returns the Orgs field value if set, zero value otherwise.

func (*OrganizationListResponse) GetOrgsOk ¶

func (o *OrganizationListResponse) GetOrgsOk() (*[]Organization, bool)

GetOrgsOk returns a tuple with the Orgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationListResponse) HasOrgs ¶

func (o *OrganizationListResponse) HasOrgs() bool

HasOrgs returns a boolean if a field has been set.

func (OrganizationListResponse) MarshalJSON ¶

func (o OrganizationListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationListResponse) SetOrgs ¶

func (o *OrganizationListResponse) SetOrgs(v []Organization)

SetOrgs gets a reference to the given []Organization and assigns it to the Orgs field.

func (*OrganizationListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationResponse ¶

type OrganizationResponse struct {
	// Create, edit, and manage organizations.
	Org *Organization `json:"org,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationResponse Response with an organization.

func NewOrganizationResponse ¶

func NewOrganizationResponse() *OrganizationResponse

NewOrganizationResponse instantiates a new OrganizationResponse 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 NewOrganizationResponseWithDefaults ¶

func NewOrganizationResponseWithDefaults() *OrganizationResponse

NewOrganizationResponseWithDefaults instantiates a new OrganizationResponse 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 (*OrganizationResponse) GetOrg ¶

func (o *OrganizationResponse) GetOrg() Organization

GetOrg returns the Org field value if set, zero value otherwise.

func (*OrganizationResponse) GetOrgOk ¶

func (o *OrganizationResponse) GetOrgOk() (*Organization, bool)

GetOrgOk returns a tuple with the Org field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationResponse) HasOrg ¶

func (o *OrganizationResponse) HasOrg() bool

HasOrg returns a boolean if a field has been set.

func (OrganizationResponse) MarshalJSON ¶

func (o OrganizationResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationResponse) SetOrg ¶

func (o *OrganizationResponse) SetOrg(v Organization)

SetOrg gets a reference to the given Organization and assigns it to the Org field.

func (*OrganizationResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationSettings ¶

type OrganizationSettings struct {
	// Whether or not the organization users can share widgets outside of Datadog.
	PrivateWidgetShare *bool `json:"private_widget_share,omitempty"`
	// Set the boolean property enabled to enable or disable single sign on with SAML.
	// See the SAML documentation for more information about all SAML settings.
	Saml *OrganizationSettingsSaml `json:"saml,omitempty"`
	// The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).
	SamlAutocreateAccessRole *AccessRole `json:"saml_autocreate_access_role,omitempty"`
	// Has two properties, `enabled` (boolean) and `domains`, which is a list of domains without the @ symbol.
	SamlAutocreateUsersDomains *OrganizationSettingsSamlAutocreateUsersDomains `json:"saml_autocreate_users_domains,omitempty"`
	// Whether or not SAML can be enabled for this organization.
	SamlCanBeEnabled *bool `json:"saml_can_be_enabled,omitempty"`
	// Identity provider endpoint for SAML authentication.
	SamlIdpEndpoint *string `json:"saml_idp_endpoint,omitempty"`
	// Has one property enabled (boolean).
	SamlIdpInitiatedLogin *OrganizationSettingsSamlIdpInitiatedLogin `json:"saml_idp_initiated_login,omitempty"`
	// Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
	SamlIdpMetadataUploaded *bool `json:"saml_idp_metadata_uploaded,omitempty"`
	// URL for SAML logging.
	SamlLoginUrl *string `json:"saml_login_url,omitempty"`
	// Has one property enabled (boolean).
	SamlStrictMode *OrganizationSettingsSamlStrictMode `json:"saml_strict_mode,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationSettings A JSON array of settings.

func NewOrganizationSettings ¶

func NewOrganizationSettings() *OrganizationSettings

NewOrganizationSettings instantiates a new OrganizationSettings 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 NewOrganizationSettingsWithDefaults ¶

func NewOrganizationSettingsWithDefaults() *OrganizationSettings

NewOrganizationSettingsWithDefaults instantiates a new OrganizationSettings 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 (*OrganizationSettings) GetPrivateWidgetShare ¶

func (o *OrganizationSettings) GetPrivateWidgetShare() bool

GetPrivateWidgetShare returns the PrivateWidgetShare field value if set, zero value otherwise.

func (*OrganizationSettings) GetPrivateWidgetShareOk ¶

func (o *OrganizationSettings) GetPrivateWidgetShareOk() (*bool, bool)

GetPrivateWidgetShareOk returns a tuple with the PrivateWidgetShare field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSaml ¶

GetSaml returns the Saml field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlAutocreateAccessRole ¶

func (o *OrganizationSettings) GetSamlAutocreateAccessRole() AccessRole

GetSamlAutocreateAccessRole returns the SamlAutocreateAccessRole field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlAutocreateAccessRoleOk ¶

func (o *OrganizationSettings) GetSamlAutocreateAccessRoleOk() (*AccessRole, bool)

GetSamlAutocreateAccessRoleOk returns a tuple with the SamlAutocreateAccessRole field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlAutocreateUsersDomains ¶

func (o *OrganizationSettings) GetSamlAutocreateUsersDomains() OrganizationSettingsSamlAutocreateUsersDomains

GetSamlAutocreateUsersDomains returns the SamlAutocreateUsersDomains field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlAutocreateUsersDomainsOk ¶

func (o *OrganizationSettings) GetSamlAutocreateUsersDomainsOk() (*OrganizationSettingsSamlAutocreateUsersDomains, bool)

GetSamlAutocreateUsersDomainsOk returns a tuple with the SamlAutocreateUsersDomains field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlCanBeEnabled ¶

func (o *OrganizationSettings) GetSamlCanBeEnabled() bool

GetSamlCanBeEnabled returns the SamlCanBeEnabled field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlCanBeEnabledOk ¶

func (o *OrganizationSettings) GetSamlCanBeEnabledOk() (*bool, bool)

GetSamlCanBeEnabledOk returns a tuple with the SamlCanBeEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlIdpEndpoint ¶

func (o *OrganizationSettings) GetSamlIdpEndpoint() string

GetSamlIdpEndpoint returns the SamlIdpEndpoint field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlIdpEndpointOk ¶

func (o *OrganizationSettings) GetSamlIdpEndpointOk() (*string, bool)

GetSamlIdpEndpointOk returns a tuple with the SamlIdpEndpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlIdpInitiatedLogin ¶

GetSamlIdpInitiatedLogin returns the SamlIdpInitiatedLogin field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlIdpInitiatedLoginOk ¶

func (o *OrganizationSettings) GetSamlIdpInitiatedLoginOk() (*OrganizationSettingsSamlIdpInitiatedLogin, bool)

GetSamlIdpInitiatedLoginOk returns a tuple with the SamlIdpInitiatedLogin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlIdpMetadataUploaded ¶

func (o *OrganizationSettings) GetSamlIdpMetadataUploaded() bool

GetSamlIdpMetadataUploaded returns the SamlIdpMetadataUploaded field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlIdpMetadataUploadedOk ¶

func (o *OrganizationSettings) GetSamlIdpMetadataUploadedOk() (*bool, bool)

GetSamlIdpMetadataUploadedOk returns a tuple with the SamlIdpMetadataUploaded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlLoginUrl ¶

func (o *OrganizationSettings) GetSamlLoginUrl() string

GetSamlLoginUrl returns the SamlLoginUrl field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlLoginUrlOk ¶

func (o *OrganizationSettings) GetSamlLoginUrlOk() (*string, bool)

GetSamlLoginUrlOk returns a tuple with the SamlLoginUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlOk ¶

GetSamlOk returns a tuple with the Saml field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) GetSamlStrictMode ¶

GetSamlStrictMode returns the SamlStrictMode field value if set, zero value otherwise.

func (*OrganizationSettings) GetSamlStrictModeOk ¶

func (o *OrganizationSettings) GetSamlStrictModeOk() (*OrganizationSettingsSamlStrictMode, bool)

GetSamlStrictModeOk returns a tuple with the SamlStrictMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettings) HasPrivateWidgetShare ¶

func (o *OrganizationSettings) HasPrivateWidgetShare() bool

HasPrivateWidgetShare returns a boolean if a field has been set.

func (*OrganizationSettings) HasSaml ¶

func (o *OrganizationSettings) HasSaml() bool

HasSaml returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlAutocreateAccessRole ¶

func (o *OrganizationSettings) HasSamlAutocreateAccessRole() bool

HasSamlAutocreateAccessRole returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlAutocreateUsersDomains ¶

func (o *OrganizationSettings) HasSamlAutocreateUsersDomains() bool

HasSamlAutocreateUsersDomains returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlCanBeEnabled ¶

func (o *OrganizationSettings) HasSamlCanBeEnabled() bool

HasSamlCanBeEnabled returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlIdpEndpoint ¶

func (o *OrganizationSettings) HasSamlIdpEndpoint() bool

HasSamlIdpEndpoint returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlIdpInitiatedLogin ¶

func (o *OrganizationSettings) HasSamlIdpInitiatedLogin() bool

HasSamlIdpInitiatedLogin returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlIdpMetadataUploaded ¶

func (o *OrganizationSettings) HasSamlIdpMetadataUploaded() bool

HasSamlIdpMetadataUploaded returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlLoginUrl ¶

func (o *OrganizationSettings) HasSamlLoginUrl() bool

HasSamlLoginUrl returns a boolean if a field has been set.

func (*OrganizationSettings) HasSamlStrictMode ¶

func (o *OrganizationSettings) HasSamlStrictMode() bool

HasSamlStrictMode returns a boolean if a field has been set.

func (OrganizationSettings) MarshalJSON ¶

func (o OrganizationSettings) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationSettings) SetPrivateWidgetShare ¶

func (o *OrganizationSettings) SetPrivateWidgetShare(v bool)

SetPrivateWidgetShare gets a reference to the given bool and assigns it to the PrivateWidgetShare field.

func (*OrganizationSettings) SetSaml ¶

SetSaml gets a reference to the given OrganizationSettingsSaml and assigns it to the Saml field.

func (*OrganizationSettings) SetSamlAutocreateAccessRole ¶

func (o *OrganizationSettings) SetSamlAutocreateAccessRole(v AccessRole)

SetSamlAutocreateAccessRole gets a reference to the given AccessRole and assigns it to the SamlAutocreateAccessRole field.

func (*OrganizationSettings) SetSamlAutocreateUsersDomains ¶

func (o *OrganizationSettings) SetSamlAutocreateUsersDomains(v OrganizationSettingsSamlAutocreateUsersDomains)

SetSamlAutocreateUsersDomains gets a reference to the given OrganizationSettingsSamlAutocreateUsersDomains and assigns it to the SamlAutocreateUsersDomains field.

func (*OrganizationSettings) SetSamlCanBeEnabled ¶

func (o *OrganizationSettings) SetSamlCanBeEnabled(v bool)

SetSamlCanBeEnabled gets a reference to the given bool and assigns it to the SamlCanBeEnabled field.

func (*OrganizationSettings) SetSamlIdpEndpoint ¶

func (o *OrganizationSettings) SetSamlIdpEndpoint(v string)

SetSamlIdpEndpoint gets a reference to the given string and assigns it to the SamlIdpEndpoint field.

func (*OrganizationSettings) SetSamlIdpInitiatedLogin ¶

func (o *OrganizationSettings) SetSamlIdpInitiatedLogin(v OrganizationSettingsSamlIdpInitiatedLogin)

SetSamlIdpInitiatedLogin gets a reference to the given OrganizationSettingsSamlIdpInitiatedLogin and assigns it to the SamlIdpInitiatedLogin field.

func (*OrganizationSettings) SetSamlIdpMetadataUploaded ¶

func (o *OrganizationSettings) SetSamlIdpMetadataUploaded(v bool)

SetSamlIdpMetadataUploaded gets a reference to the given bool and assigns it to the SamlIdpMetadataUploaded field.

func (*OrganizationSettings) SetSamlLoginUrl ¶

func (o *OrganizationSettings) SetSamlLoginUrl(v string)

SetSamlLoginUrl gets a reference to the given string and assigns it to the SamlLoginUrl field.

func (*OrganizationSettings) SetSamlStrictMode ¶

SetSamlStrictMode gets a reference to the given OrganizationSettingsSamlStrictMode and assigns it to the SamlStrictMode field.

func (*OrganizationSettings) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationSettings) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationSettingsSaml ¶

type OrganizationSettingsSaml struct {
	// Whether or not SAML is enabled for this organization.
	Enabled *bool `json:"enabled,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationSettingsSaml Set the boolean property enabled to enable or disable single sign on with SAML. See the SAML documentation for more information about all SAML settings.

func NewOrganizationSettingsSaml ¶

func NewOrganizationSettingsSaml() *OrganizationSettingsSaml

NewOrganizationSettingsSaml instantiates a new OrganizationSettingsSaml 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 NewOrganizationSettingsSamlWithDefaults ¶

func NewOrganizationSettingsSamlWithDefaults() *OrganizationSettingsSaml

NewOrganizationSettingsSamlWithDefaults instantiates a new OrganizationSettingsSaml 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 (*OrganizationSettingsSaml) GetEnabled ¶

func (o *OrganizationSettingsSaml) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*OrganizationSettingsSaml) GetEnabledOk ¶

func (o *OrganizationSettingsSaml) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettingsSaml) HasEnabled ¶

func (o *OrganizationSettingsSaml) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (OrganizationSettingsSaml) MarshalJSON ¶

func (o OrganizationSettingsSaml) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationSettingsSaml) SetEnabled ¶

func (o *OrganizationSettingsSaml) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*OrganizationSettingsSaml) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationSettingsSaml) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationSettingsSamlAutocreateUsersDomains ¶

type OrganizationSettingsSamlAutocreateUsersDomains struct {
	// List of domains where the SAML automated user creation is enabled.
	Domains []string `json:"domains,omitempty"`
	// Whether or not the automated user creation based on SAML domain is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationSettingsSamlAutocreateUsersDomains Has two properties, `enabled` (boolean) and `domains`, which is a list of domains without the @ symbol.

func NewOrganizationSettingsSamlAutocreateUsersDomains ¶

func NewOrganizationSettingsSamlAutocreateUsersDomains() *OrganizationSettingsSamlAutocreateUsersDomains

NewOrganizationSettingsSamlAutocreateUsersDomains instantiates a new OrganizationSettingsSamlAutocreateUsersDomains 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 NewOrganizationSettingsSamlAutocreateUsersDomainsWithDefaults ¶

func NewOrganizationSettingsSamlAutocreateUsersDomainsWithDefaults() *OrganizationSettingsSamlAutocreateUsersDomains

NewOrganizationSettingsSamlAutocreateUsersDomainsWithDefaults instantiates a new OrganizationSettingsSamlAutocreateUsersDomains 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 (*OrganizationSettingsSamlAutocreateUsersDomains) GetDomains ¶

GetDomains returns the Domains field value if set, zero value otherwise.

func (*OrganizationSettingsSamlAutocreateUsersDomains) GetDomainsOk ¶

GetDomainsOk returns a tuple with the Domains field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettingsSamlAutocreateUsersDomains) GetEnabled ¶

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*OrganizationSettingsSamlAutocreateUsersDomains) GetEnabledOk ¶

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettingsSamlAutocreateUsersDomains) HasDomains ¶

HasDomains returns a boolean if a field has been set.

func (*OrganizationSettingsSamlAutocreateUsersDomains) HasEnabled ¶

HasEnabled returns a boolean if a field has been set.

func (OrganizationSettingsSamlAutocreateUsersDomains) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*OrganizationSettingsSamlAutocreateUsersDomains) SetDomains ¶

SetDomains gets a reference to the given []string and assigns it to the Domains field.

func (*OrganizationSettingsSamlAutocreateUsersDomains) SetEnabled ¶

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*OrganizationSettingsSamlAutocreateUsersDomains) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationSettingsSamlAutocreateUsersDomains) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationSettingsSamlIdpInitiatedLogin ¶

type OrganizationSettingsSamlIdpInitiatedLogin struct {
	// Whether SAML IdP initiated login is enabled, learn more
	// in the [SAML documentation](https://docs.datadoghq.com/account_management/saml/#idp-initiated-login).
	Enabled *bool `json:"enabled,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationSettingsSamlIdpInitiatedLogin Has one property enabled (boolean).

func NewOrganizationSettingsSamlIdpInitiatedLogin ¶

func NewOrganizationSettingsSamlIdpInitiatedLogin() *OrganizationSettingsSamlIdpInitiatedLogin

NewOrganizationSettingsSamlIdpInitiatedLogin instantiates a new OrganizationSettingsSamlIdpInitiatedLogin 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 NewOrganizationSettingsSamlIdpInitiatedLoginWithDefaults ¶

func NewOrganizationSettingsSamlIdpInitiatedLoginWithDefaults() *OrganizationSettingsSamlIdpInitiatedLogin

NewOrganizationSettingsSamlIdpInitiatedLoginWithDefaults instantiates a new OrganizationSettingsSamlIdpInitiatedLogin 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 (*OrganizationSettingsSamlIdpInitiatedLogin) GetEnabled ¶

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*OrganizationSettingsSamlIdpInitiatedLogin) GetEnabledOk ¶

func (o *OrganizationSettingsSamlIdpInitiatedLogin) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettingsSamlIdpInitiatedLogin) HasEnabled ¶

HasEnabled returns a boolean if a field has been set.

func (OrganizationSettingsSamlIdpInitiatedLogin) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*OrganizationSettingsSamlIdpInitiatedLogin) SetEnabled ¶

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*OrganizationSettingsSamlIdpInitiatedLogin) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationSettingsSamlIdpInitiatedLogin) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationSettingsSamlStrictMode ¶

type OrganizationSettingsSamlStrictMode struct {
	// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
	// Learn more on the [SAML Strict documentation](https://docs.datadoghq.com/account_management/saml/#saml-strict).
	Enabled *bool `json:"enabled,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationSettingsSamlStrictMode Has one property enabled (boolean).

func NewOrganizationSettingsSamlStrictMode ¶

func NewOrganizationSettingsSamlStrictMode() *OrganizationSettingsSamlStrictMode

NewOrganizationSettingsSamlStrictMode instantiates a new OrganizationSettingsSamlStrictMode 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 NewOrganizationSettingsSamlStrictModeWithDefaults ¶

func NewOrganizationSettingsSamlStrictModeWithDefaults() *OrganizationSettingsSamlStrictMode

NewOrganizationSettingsSamlStrictModeWithDefaults instantiates a new OrganizationSettingsSamlStrictMode 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 (*OrganizationSettingsSamlStrictMode) GetEnabled ¶

func (o *OrganizationSettingsSamlStrictMode) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*OrganizationSettingsSamlStrictMode) GetEnabledOk ¶

func (o *OrganizationSettingsSamlStrictMode) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSettingsSamlStrictMode) HasEnabled ¶

func (o *OrganizationSettingsSamlStrictMode) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (OrganizationSettingsSamlStrictMode) MarshalJSON ¶

func (o OrganizationSettingsSamlStrictMode) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationSettingsSamlStrictMode) SetEnabled ¶

func (o *OrganizationSettingsSamlStrictMode) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*OrganizationSettingsSamlStrictMode) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationSettingsSamlStrictMode) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationSubscription ¶

type OrganizationSubscription struct {
	// The subscription type. Types available are `trial`, `free`, and `pro`.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

OrganizationSubscription Subscription definition.

func NewOrganizationSubscription ¶

func NewOrganizationSubscription() *OrganizationSubscription

NewOrganizationSubscription instantiates a new OrganizationSubscription 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 NewOrganizationSubscriptionWithDefaults ¶

func NewOrganizationSubscriptionWithDefaults() *OrganizationSubscription

NewOrganizationSubscriptionWithDefaults instantiates a new OrganizationSubscription 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 (*OrganizationSubscription) GetType ¶

func (o *OrganizationSubscription) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*OrganizationSubscription) GetTypeOk ¶

func (o *OrganizationSubscription) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationSubscription) HasType ¶

func (o *OrganizationSubscription) HasType() bool

HasType returns a boolean if a field has been set.

func (OrganizationSubscription) MarshalJSON ¶

func (o OrganizationSubscription) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*OrganizationSubscription) SetType ¶

func (o *OrganizationSubscription) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*OrganizationSubscription) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationSubscription) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type OrganizationsApiService ¶

type OrganizationsApiService service

OrganizationsApiService OrganizationsApi service.

func (*OrganizationsApiService) CreateChildOrg ¶

CreateChildOrg Create a child organization. Create a child organization.

This endpoint requires the [multi-organization account](https://docs.datadoghq.com/account_management/multi_organization/) feature and must be enabled by [contacting support](https://docs.datadoghq.com/help/).

Once a new child organization is created, you can interact with it by using the `org.public_id`, `api_key.key`, and `application_key.hash` provided in the response.

func (*OrganizationsApiService) DowngradeOrg ¶ added in v1.15.0

DowngradeOrg Spin-off Child Organization. Only available for MSP customers. Removes a child organization from the hierarchy of the master organization and places the child organization on a 30-day trial.

func (*OrganizationsApiService) GetOrg ¶

GetOrg Get organization information. Get organization information.

func (*OrganizationsApiService) ListOrgs ¶

ListOrgs List your managed organizations. This endpoint returns data on your top-level organization.

func (*OrganizationsApiService) UpdateOrg ¶

UpdateOrg Update your organization. Update your organization.

func (*OrganizationsApiService) UploadIdPForOrg ¶

func (a *OrganizationsApiService) UploadIdPForOrg(ctx _context.Context, publicId string, idpFile *os.File) (IdpResponse, *_nethttp.Response, error)

UploadIdPForOrg Upload IdP metadata. There are a couple of options for updating the Identity Provider (IdP) metadata from your SAML IdP.

* **Multipart Form-Data**: Post the IdP metadata file using a form post.

* **XML Body:** Post the IdP metadata file as the body of the request.

type PagerDutyIntegrationApiService ¶

type PagerDutyIntegrationApiService service

PagerDutyIntegrationApiService PagerDutyIntegrationApi service.

func (*PagerDutyIntegrationApiService) CreatePagerDutyIntegrationService ¶

func (a *PagerDutyIntegrationApiService) CreatePagerDutyIntegrationService(ctx _context.Context, body PagerDutyService) (PagerDutyServiceName, *_nethttp.Response, error)

CreatePagerDutyIntegrationService Create a new service object. Create a new service object in the PagerDuty integration.

func (*PagerDutyIntegrationApiService) DeletePagerDutyIntegrationService ¶

func (a *PagerDutyIntegrationApiService) DeletePagerDutyIntegrationService(ctx _context.Context, serviceName string) (*_nethttp.Response, error)

DeletePagerDutyIntegrationService Delete a single service object. Delete a single service object in the Datadog-PagerDuty integration.

func (*PagerDutyIntegrationApiService) GetPagerDutyIntegrationService ¶

func (a *PagerDutyIntegrationApiService) GetPagerDutyIntegrationService(ctx _context.Context, serviceName string) (PagerDutyServiceName, *_nethttp.Response, error)

GetPagerDutyIntegrationService Get a single service object. Get service name in the Datadog-PagerDuty integration.

func (*PagerDutyIntegrationApiService) UpdatePagerDutyIntegrationService ¶

func (a *PagerDutyIntegrationApiService) UpdatePagerDutyIntegrationService(ctx _context.Context, serviceName string, body PagerDutyServiceKey) (*_nethttp.Response, error)

UpdatePagerDutyIntegrationService Update a single service object. Update a single service object in the Datadog-PagerDuty integration.

type PagerDutyService ¶

type PagerDutyService struct {
	// Your service key in PagerDuty.
	ServiceKey string `json:"service_key"`
	// Your service name associated with a service key in PagerDuty.
	ServiceName string `json:"service_name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PagerDutyService The PagerDuty service that is available for integration with Datadog.

func NewPagerDutyService ¶

func NewPagerDutyService(serviceKey string, serviceName string) *PagerDutyService

NewPagerDutyService instantiates a new PagerDutyService 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 NewPagerDutyServiceWithDefaults ¶

func NewPagerDutyServiceWithDefaults() *PagerDutyService

NewPagerDutyServiceWithDefaults instantiates a new PagerDutyService 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 (*PagerDutyService) GetServiceKey ¶

func (o *PagerDutyService) GetServiceKey() string

GetServiceKey returns the ServiceKey field value.

func (*PagerDutyService) GetServiceKeyOk ¶

func (o *PagerDutyService) GetServiceKeyOk() (*string, bool)

GetServiceKeyOk returns a tuple with the ServiceKey field value and a boolean to check if the value has been set.

func (*PagerDutyService) GetServiceName ¶

func (o *PagerDutyService) GetServiceName() string

GetServiceName returns the ServiceName field value.

func (*PagerDutyService) GetServiceNameOk ¶

func (o *PagerDutyService) GetServiceNameOk() (*string, bool)

GetServiceNameOk returns a tuple with the ServiceName field value and a boolean to check if the value has been set.

func (PagerDutyService) MarshalJSON ¶

func (o PagerDutyService) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PagerDutyService) SetServiceKey ¶

func (o *PagerDutyService) SetServiceKey(v string)

SetServiceKey sets field value.

func (*PagerDutyService) SetServiceName ¶

func (o *PagerDutyService) SetServiceName(v string)

SetServiceName sets field value.

func (*PagerDutyService) UnmarshalJSON ¶

func (o *PagerDutyService) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PagerDutyServiceKey ¶

type PagerDutyServiceKey struct {
	// Your service key in PagerDuty.
	ServiceKey string `json:"service_key"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PagerDutyServiceKey PagerDuty service object key.

func NewPagerDutyServiceKey ¶

func NewPagerDutyServiceKey(serviceKey string) *PagerDutyServiceKey

NewPagerDutyServiceKey instantiates a new PagerDutyServiceKey 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 NewPagerDutyServiceKeyWithDefaults ¶

func NewPagerDutyServiceKeyWithDefaults() *PagerDutyServiceKey

NewPagerDutyServiceKeyWithDefaults instantiates a new PagerDutyServiceKey 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 (*PagerDutyServiceKey) GetServiceKey ¶

func (o *PagerDutyServiceKey) GetServiceKey() string

GetServiceKey returns the ServiceKey field value.

func (*PagerDutyServiceKey) GetServiceKeyOk ¶

func (o *PagerDutyServiceKey) GetServiceKeyOk() (*string, bool)

GetServiceKeyOk returns a tuple with the ServiceKey field value and a boolean to check if the value has been set.

func (PagerDutyServiceKey) MarshalJSON ¶

func (o PagerDutyServiceKey) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PagerDutyServiceKey) SetServiceKey ¶

func (o *PagerDutyServiceKey) SetServiceKey(v string)

SetServiceKey sets field value.

func (*PagerDutyServiceKey) UnmarshalJSON ¶

func (o *PagerDutyServiceKey) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type PagerDutyServiceName ¶

type PagerDutyServiceName struct {
	// Your service name associated service key in PagerDuty.
	ServiceName string `json:"service_name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PagerDutyServiceName PagerDuty service object name.

func NewPagerDutyServiceName ¶

func NewPagerDutyServiceName(serviceName string) *PagerDutyServiceName

NewPagerDutyServiceName instantiates a new PagerDutyServiceName 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 NewPagerDutyServiceNameWithDefaults ¶

func NewPagerDutyServiceNameWithDefaults() *PagerDutyServiceName

NewPagerDutyServiceNameWithDefaults instantiates a new PagerDutyServiceName 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 (*PagerDutyServiceName) GetServiceName ¶

func (o *PagerDutyServiceName) GetServiceName() string

GetServiceName returns the ServiceName field value.

func (*PagerDutyServiceName) GetServiceNameOk ¶

func (o *PagerDutyServiceName) GetServiceNameOk() (*string, bool)

GetServiceNameOk returns a tuple with the ServiceName field value and a boolean to check if the value has been set.

func (PagerDutyServiceName) MarshalJSON ¶

func (o PagerDutyServiceName) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*PagerDutyServiceName) SetServiceName ¶

func (o *PagerDutyServiceName) SetServiceName(v string)

SetServiceName sets field value.

func (*PagerDutyServiceName) UnmarshalJSON ¶

func (o *PagerDutyServiceName) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type Pagination ¶ added in v1.2.0

type Pagination struct {
	// Total count.
	TotalCount *int64 `json:"total_count,omitempty"`
	// Total count of elements matched by the filter.
	TotalFilteredCount *int64 `json:"total_filtered_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Pagination Pagination object.

func NewPagination ¶ added in v1.2.0

func NewPagination() *Pagination

NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶ added in v1.2.0

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetTotalCount ¶ added in v1.2.0

func (o *Pagination) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*Pagination) GetTotalCountOk ¶ added in v1.2.0

func (o *Pagination) GetTotalCountOk() (*int64, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) GetTotalFilteredCount ¶ added in v1.2.0

func (o *Pagination) GetTotalFilteredCount() int64

GetTotalFilteredCount returns the TotalFilteredCount field value if set, zero value otherwise.

func (*Pagination) GetTotalFilteredCountOk ¶ added in v1.2.0

func (o *Pagination) GetTotalFilteredCountOk() (*int64, bool)

GetTotalFilteredCountOk returns a tuple with the TotalFilteredCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) HasTotalCount ¶ added in v1.2.0

func (o *Pagination) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*Pagination) HasTotalFilteredCount ¶ added in v1.2.0

func (o *Pagination) HasTotalFilteredCount() bool

HasTotalFilteredCount returns a boolean if a field has been set.

func (Pagination) MarshalJSON ¶ added in v1.2.0

func (o Pagination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Pagination) SetTotalCount ¶ added in v1.2.0

func (o *Pagination) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*Pagination) SetTotalFilteredCount ¶ added in v1.2.0

func (o *Pagination) SetTotalFilteredCount(v int64)

SetTotalFilteredCount gets a reference to the given int64 and assigns it to the TotalFilteredCount field.

func (*Pagination) UnmarshalJSON ¶ added in v1.3.0

func (o *Pagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ProcessQueryDefinition ¶

type ProcessQueryDefinition struct {
	// List of processes.
	FilterBy []string `json:"filter_by,omitempty"`
	// Max number of items in the filter list.
	Limit *int64 `json:"limit,omitempty"`
	// Your chosen metric.
	Metric string `json:"metric"`
	// Your chosen search term.
	SearchBy *string `json:"search_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ProcessQueryDefinition The process query to use in the widget.

func NewProcessQueryDefinition ¶

func NewProcessQueryDefinition(metric string) *ProcessQueryDefinition

NewProcessQueryDefinition instantiates a new ProcessQueryDefinition 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 NewProcessQueryDefinitionWithDefaults ¶

func NewProcessQueryDefinitionWithDefaults() *ProcessQueryDefinition

NewProcessQueryDefinitionWithDefaults instantiates a new ProcessQueryDefinition 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 (*ProcessQueryDefinition) GetFilterBy ¶

func (o *ProcessQueryDefinition) GetFilterBy() []string

GetFilterBy returns the FilterBy field value if set, zero value otherwise.

func (*ProcessQueryDefinition) GetFilterByOk ¶

func (o *ProcessQueryDefinition) GetFilterByOk() (*[]string, bool)

GetFilterByOk returns a tuple with the FilterBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessQueryDefinition) GetLimit ¶

func (o *ProcessQueryDefinition) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*ProcessQueryDefinition) GetLimitOk ¶

func (o *ProcessQueryDefinition) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessQueryDefinition) GetMetric ¶

func (o *ProcessQueryDefinition) GetMetric() string

GetMetric returns the Metric field value.

func (*ProcessQueryDefinition) GetMetricOk ¶

func (o *ProcessQueryDefinition) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value and a boolean to check if the value has been set.

func (*ProcessQueryDefinition) GetSearchBy ¶

func (o *ProcessQueryDefinition) GetSearchBy() string

GetSearchBy returns the SearchBy field value if set, zero value otherwise.

func (*ProcessQueryDefinition) GetSearchByOk ¶

func (o *ProcessQueryDefinition) GetSearchByOk() (*string, bool)

GetSearchByOk returns a tuple with the SearchBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProcessQueryDefinition) HasFilterBy ¶

func (o *ProcessQueryDefinition) HasFilterBy() bool

HasFilterBy returns a boolean if a field has been set.

func (*ProcessQueryDefinition) HasLimit ¶

func (o *ProcessQueryDefinition) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*ProcessQueryDefinition) HasSearchBy ¶

func (o *ProcessQueryDefinition) HasSearchBy() bool

HasSearchBy returns a boolean if a field has been set.

func (ProcessQueryDefinition) MarshalJSON ¶

func (o ProcessQueryDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ProcessQueryDefinition) SetFilterBy ¶

func (o *ProcessQueryDefinition) SetFilterBy(v []string)

SetFilterBy gets a reference to the given []string and assigns it to the FilterBy field.

func (*ProcessQueryDefinition) SetLimit ¶

func (o *ProcessQueryDefinition) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*ProcessQueryDefinition) SetMetric ¶

func (o *ProcessQueryDefinition) SetMetric(v string)

SetMetric sets field value.

func (*ProcessQueryDefinition) SetSearchBy ¶

func (o *ProcessQueryDefinition) SetSearchBy(v string)

SetSearchBy gets a reference to the given string and assigns it to the SearchBy field.

func (*ProcessQueryDefinition) UnmarshalJSON ¶

func (o *ProcessQueryDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type QuerySortOrder ¶

type QuerySortOrder string

QuerySortOrder Direction of sort.

const (
	QUERYSORTORDER_ASC  QuerySortOrder = "asc"
	QUERYSORTORDER_DESC QuerySortOrder = "desc"
)

List of QuerySortOrder.

func NewQuerySortOrderFromValue ¶

func NewQuerySortOrderFromValue(v string) (*QuerySortOrder, error)

NewQuerySortOrderFromValue returns a pointer to a valid QuerySortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*QuerySortOrder) GetAllowedValues ¶ added in v1.1.0

func (v *QuerySortOrder) GetAllowedValues() []QuerySortOrder

GetAllowedValues reeturns the list of possible values.

func (QuerySortOrder) IsValid ¶

func (v QuerySortOrder) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (QuerySortOrder) Ptr ¶

func (v QuerySortOrder) Ptr() *QuerySortOrder

Ptr returns reference to QuerySortOrder value.

func (*QuerySortOrder) UnmarshalJSON ¶

func (v *QuerySortOrder) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type QueryValueWidgetDefinition ¶

type QueryValueWidgetDefinition struct {
	// Whether to use auto-scaling or not.
	Autoscale *bool `json:"autoscale,omitempty"`
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// Display a unit of your choice on the widget.
	CustomUnit *string `json:"custom_unit,omitempty"`
	// Number of decimals to show. If not defined, the widget uses the raw value.
	Precision *int64 `json:"precision,omitempty"`
	// Widget definition.
	Requests []QueryValueWidgetRequest `json:"requests"`
	// How to align the text on the widget.
	TextAlign *WidgetTextAlign `json:"text_align,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Set a timeseries on the widget background.
	TimeseriesBackground *TimeseriesBackground `json:"timeseries_background,omitempty"`
	// Title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the query value widget.
	Type QueryValueWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

QueryValueWidgetDefinition Query values display the current value of a given metric, APM, or log query.

func NewQueryValueWidgetDefinition ¶

func NewQueryValueWidgetDefinition(requests []QueryValueWidgetRequest, typeVar QueryValueWidgetDefinitionType) *QueryValueWidgetDefinition

NewQueryValueWidgetDefinition instantiates a new QueryValueWidgetDefinition 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 NewQueryValueWidgetDefinitionWithDefaults ¶

func NewQueryValueWidgetDefinitionWithDefaults() *QueryValueWidgetDefinition

NewQueryValueWidgetDefinitionWithDefaults instantiates a new QueryValueWidgetDefinition 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 (*QueryValueWidgetDefinition) GetAutoscale ¶

func (o *QueryValueWidgetDefinition) GetAutoscale() bool

GetAutoscale returns the Autoscale field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetAutoscaleOk ¶

func (o *QueryValueWidgetDefinition) GetAutoscaleOk() (*bool, bool)

GetAutoscaleOk returns a tuple with the Autoscale field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *QueryValueWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetCustomLinksOk ¶

func (o *QueryValueWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetCustomUnit ¶

func (o *QueryValueWidgetDefinition) GetCustomUnit() string

GetCustomUnit returns the CustomUnit field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetCustomUnitOk ¶

func (o *QueryValueWidgetDefinition) GetCustomUnitOk() (*string, bool)

GetCustomUnitOk returns a tuple with the CustomUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetPrecision ¶

func (o *QueryValueWidgetDefinition) GetPrecision() int64

GetPrecision returns the Precision field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetPrecisionOk ¶

func (o *QueryValueWidgetDefinition) GetPrecisionOk() (*int64, bool)

GetPrecisionOk returns a tuple with the Precision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetRequests ¶

GetRequests returns the Requests field value.

func (*QueryValueWidgetDefinition) GetRequestsOk ¶

func (o *QueryValueWidgetDefinition) GetRequestsOk() (*[]QueryValueWidgetRequest, bool)

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetTextAlign ¶

func (o *QueryValueWidgetDefinition) GetTextAlign() WidgetTextAlign

GetTextAlign returns the TextAlign field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetTextAlignOk ¶

func (o *QueryValueWidgetDefinition) GetTextAlignOk() (*WidgetTextAlign, bool)

GetTextAlignOk returns a tuple with the TextAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetTimeOk ¶

func (o *QueryValueWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetTimeseriesBackground ¶ added in v1.12.0

func (o *QueryValueWidgetDefinition) GetTimeseriesBackground() TimeseriesBackground

GetTimeseriesBackground returns the TimeseriesBackground field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetTimeseriesBackgroundOk ¶ added in v1.12.0

func (o *QueryValueWidgetDefinition) GetTimeseriesBackgroundOk() (*TimeseriesBackground, bool)

GetTimeseriesBackgroundOk returns a tuple with the TimeseriesBackground field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetTitle ¶

func (o *QueryValueWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetTitleAlign ¶

func (o *QueryValueWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetTitleAlignOk ¶

func (o *QueryValueWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetTitleOk ¶

func (o *QueryValueWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetTitleSize ¶

func (o *QueryValueWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*QueryValueWidgetDefinition) GetTitleSizeOk ¶

func (o *QueryValueWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*QueryValueWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*QueryValueWidgetDefinition) HasAutoscale ¶

func (o *QueryValueWidgetDefinition) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (o *QueryValueWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasCustomUnit ¶

func (o *QueryValueWidgetDefinition) HasCustomUnit() bool

HasCustomUnit returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasPrecision ¶

func (o *QueryValueWidgetDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasTextAlign ¶

func (o *QueryValueWidgetDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasTime ¶

func (o *QueryValueWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasTimeseriesBackground ¶ added in v1.12.0

func (o *QueryValueWidgetDefinition) HasTimeseriesBackground() bool

HasTimeseriesBackground returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasTitle ¶

func (o *QueryValueWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasTitleAlign ¶

func (o *QueryValueWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*QueryValueWidgetDefinition) HasTitleSize ¶

func (o *QueryValueWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (QueryValueWidgetDefinition) MarshalJSON ¶

func (o QueryValueWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*QueryValueWidgetDefinition) SetAutoscale ¶

func (o *QueryValueWidgetDefinition) SetAutoscale(v bool)

SetAutoscale gets a reference to the given bool and assigns it to the Autoscale field.

func (o *QueryValueWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*QueryValueWidgetDefinition) SetCustomUnit ¶

func (o *QueryValueWidgetDefinition) SetCustomUnit(v string)

SetCustomUnit gets a reference to the given string and assigns it to the CustomUnit field.

func (*QueryValueWidgetDefinition) SetPrecision ¶

func (o *QueryValueWidgetDefinition) SetPrecision(v int64)

SetPrecision gets a reference to the given int64 and assigns it to the Precision field.

func (*QueryValueWidgetDefinition) SetRequests ¶

SetRequests sets field value.

func (*QueryValueWidgetDefinition) SetTextAlign ¶

func (o *QueryValueWidgetDefinition) SetTextAlign(v WidgetTextAlign)

SetTextAlign gets a reference to the given WidgetTextAlign and assigns it to the TextAlign field.

func (*QueryValueWidgetDefinition) SetTime ¶

func (o *QueryValueWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*QueryValueWidgetDefinition) SetTimeseriesBackground ¶ added in v1.12.0

func (o *QueryValueWidgetDefinition) SetTimeseriesBackground(v TimeseriesBackground)

SetTimeseriesBackground gets a reference to the given TimeseriesBackground and assigns it to the TimeseriesBackground field.

func (*QueryValueWidgetDefinition) SetTitle ¶

func (o *QueryValueWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*QueryValueWidgetDefinition) SetTitleAlign ¶

func (o *QueryValueWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*QueryValueWidgetDefinition) SetTitleSize ¶

func (o *QueryValueWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*QueryValueWidgetDefinition) SetType ¶

SetType sets field value.

func (*QueryValueWidgetDefinition) UnmarshalJSON ¶

func (o *QueryValueWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type QueryValueWidgetDefinitionType ¶

type QueryValueWidgetDefinitionType string

QueryValueWidgetDefinitionType Type of the query value widget.

const (
	QUERYVALUEWIDGETDEFINITIONTYPE_QUERY_VALUE QueryValueWidgetDefinitionType = "query_value"
)

List of QueryValueWidgetDefinitionType.

func NewQueryValueWidgetDefinitionTypeFromValue ¶

func NewQueryValueWidgetDefinitionTypeFromValue(v string) (*QueryValueWidgetDefinitionType, error)

NewQueryValueWidgetDefinitionTypeFromValue returns a pointer to a valid QueryValueWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*QueryValueWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (QueryValueWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (QueryValueWidgetDefinitionType) Ptr ¶

Ptr returns reference to QueryValueWidgetDefinitionType value.

func (*QueryValueWidgetDefinitionType) UnmarshalJSON ¶

func (v *QueryValueWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type QueryValueWidgetRequest ¶

type QueryValueWidgetRequest struct {
	// Aggregator used for the request.
	Aggregator *WidgetAggregator `json:"aggregator,omitempty"`
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The log query.
	AuditQuery *LogQueryDefinition `json:"audit_query,omitempty"`
	// List of conditional formats.
	ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// TODO.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

QueryValueWidgetRequest Updated query value widget.

func NewQueryValueWidgetRequest ¶

func NewQueryValueWidgetRequest() *QueryValueWidgetRequest

NewQueryValueWidgetRequest instantiates a new QueryValueWidgetRequest 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 NewQueryValueWidgetRequestWithDefaults ¶

func NewQueryValueWidgetRequestWithDefaults() *QueryValueWidgetRequest

NewQueryValueWidgetRequestWithDefaults instantiates a new QueryValueWidgetRequest 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 (*QueryValueWidgetRequest) GetAggregator ¶

func (o *QueryValueWidgetRequest) GetAggregator() WidgetAggregator

GetAggregator returns the Aggregator field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetAggregatorOk ¶

func (o *QueryValueWidgetRequest) GetAggregatorOk() (*WidgetAggregator, bool)

GetAggregatorOk returns a tuple with the Aggregator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetApmQuery ¶

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetApmQueryOk ¶

func (o *QueryValueWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

GetApmQueryOk returns a tuple with the ApmQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetAuditQuery ¶ added in v1.3.0

func (o *QueryValueWidgetRequest) GetAuditQuery() LogQueryDefinition

GetAuditQuery returns the AuditQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetAuditQueryOk ¶ added in v1.3.0

func (o *QueryValueWidgetRequest) GetAuditQueryOk() (*LogQueryDefinition, bool)

GetAuditQueryOk returns a tuple with the AuditQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetConditionalFormats ¶

func (o *QueryValueWidgetRequest) GetConditionalFormats() []WidgetConditionalFormat

GetConditionalFormats returns the ConditionalFormats field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetConditionalFormatsOk ¶

func (o *QueryValueWidgetRequest) GetConditionalFormatsOk() (*[]WidgetConditionalFormat, bool)

GetConditionalFormatsOk returns a tuple with the ConditionalFormats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetEventQuery ¶

func (o *QueryValueWidgetRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetEventQueryOk ¶

func (o *QueryValueWidgetRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

GetEventQueryOk returns a tuple with the EventQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetFormulas ¶

func (o *QueryValueWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetFormulasOk ¶

func (o *QueryValueWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetLogQuery ¶

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetLogQueryOk ¶

func (o *QueryValueWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

GetLogQueryOk returns a tuple with the LogQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetNetworkQuery ¶

func (o *QueryValueWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetNetworkQueryOk ¶

func (o *QueryValueWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

GetNetworkQueryOk returns a tuple with the NetworkQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetProcessQuery ¶

func (o *QueryValueWidgetRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetProcessQueryOk ¶

func (o *QueryValueWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetProfileMetricsQuery ¶

func (o *QueryValueWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetProfileMetricsQueryOk ¶

func (o *QueryValueWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

GetProfileMetricsQueryOk returns a tuple with the ProfileMetricsQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetQ ¶

func (o *QueryValueWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetQOk ¶

func (o *QueryValueWidgetRequest) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetResponseFormat ¶

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetResponseFormatOk ¶

func (o *QueryValueWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetRumQuery ¶

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetRumQueryOk ¶

func (o *QueryValueWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

GetRumQueryOk returns a tuple with the RumQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) GetSecurityQuery ¶

func (o *QueryValueWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*QueryValueWidgetRequest) GetSecurityQueryOk ¶

func (o *QueryValueWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QueryValueWidgetRequest) HasAggregator ¶

func (o *QueryValueWidgetRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasApmQuery ¶

func (o *QueryValueWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasAuditQuery ¶ added in v1.3.0

func (o *QueryValueWidgetRequest) HasAuditQuery() bool

HasAuditQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasConditionalFormats ¶

func (o *QueryValueWidgetRequest) HasConditionalFormats() bool

HasConditionalFormats returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasEventQuery ¶

func (o *QueryValueWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasFormulas ¶

func (o *QueryValueWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasLogQuery ¶

func (o *QueryValueWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasNetworkQuery ¶

func (o *QueryValueWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasProcessQuery ¶

func (o *QueryValueWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasProfileMetricsQuery ¶

func (o *QueryValueWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasQ ¶

func (o *QueryValueWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasQueries ¶

func (o *QueryValueWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasResponseFormat ¶

func (o *QueryValueWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasRumQuery ¶

func (o *QueryValueWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*QueryValueWidgetRequest) HasSecurityQuery ¶

func (o *QueryValueWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (QueryValueWidgetRequest) MarshalJSON ¶

func (o QueryValueWidgetRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*QueryValueWidgetRequest) SetAggregator ¶

func (o *QueryValueWidgetRequest) SetAggregator(v WidgetAggregator)

SetAggregator gets a reference to the given WidgetAggregator and assigns it to the Aggregator field.

func (*QueryValueWidgetRequest) SetApmQuery ¶

func (o *QueryValueWidgetRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*QueryValueWidgetRequest) SetAuditQuery ¶ added in v1.3.0

func (o *QueryValueWidgetRequest) SetAuditQuery(v LogQueryDefinition)

SetAuditQuery gets a reference to the given LogQueryDefinition and assigns it to the AuditQuery field.

func (*QueryValueWidgetRequest) SetConditionalFormats ¶

func (o *QueryValueWidgetRequest) SetConditionalFormats(v []WidgetConditionalFormat)

SetConditionalFormats gets a reference to the given []WidgetConditionalFormat and assigns it to the ConditionalFormats field.

func (*QueryValueWidgetRequest) SetEventQuery ¶

func (o *QueryValueWidgetRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*QueryValueWidgetRequest) SetFormulas ¶

func (o *QueryValueWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*QueryValueWidgetRequest) SetLogQuery ¶

func (o *QueryValueWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*QueryValueWidgetRequest) SetNetworkQuery ¶

func (o *QueryValueWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*QueryValueWidgetRequest) SetProcessQuery ¶

func (o *QueryValueWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*QueryValueWidgetRequest) SetProfileMetricsQuery ¶

func (o *QueryValueWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*QueryValueWidgetRequest) SetQ ¶

func (o *QueryValueWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*QueryValueWidgetRequest) SetQueries ¶

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*QueryValueWidgetRequest) SetResponseFormat ¶

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*QueryValueWidgetRequest) SetRumQuery ¶

func (o *QueryValueWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*QueryValueWidgetRequest) SetSecurityQuery ¶

func (o *QueryValueWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*QueryValueWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *QueryValueWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ResponseMetaAttributes ¶ added in v1.2.0

type ResponseMetaAttributes struct {
	// Pagination object.
	Page *Pagination `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ResponseMetaAttributes Object describing meta attributes of response.

func NewResponseMetaAttributes ¶ added in v1.2.0

func NewResponseMetaAttributes() *ResponseMetaAttributes

NewResponseMetaAttributes instantiates a new ResponseMetaAttributes 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 NewResponseMetaAttributesWithDefaults ¶ added in v1.2.0

func NewResponseMetaAttributesWithDefaults() *ResponseMetaAttributes

NewResponseMetaAttributesWithDefaults instantiates a new ResponseMetaAttributes 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 (*ResponseMetaAttributes) GetPage ¶ added in v1.2.0

func (o *ResponseMetaAttributes) GetPage() Pagination

GetPage returns the Page field value if set, zero value otherwise.

func (*ResponseMetaAttributes) GetPageOk ¶ added in v1.2.0

func (o *ResponseMetaAttributes) GetPageOk() (*Pagination, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResponseMetaAttributes) HasPage ¶ added in v1.2.0

func (o *ResponseMetaAttributes) HasPage() bool

HasPage returns a boolean if a field has been set.

func (ResponseMetaAttributes) MarshalJSON ¶ added in v1.2.0

func (o ResponseMetaAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ResponseMetaAttributes) SetPage ¶ added in v1.2.0

func (o *ResponseMetaAttributes) SetPage(v Pagination)

SetPage gets a reference to the given Pagination and assigns it to the Page field.

func (*ResponseMetaAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *ResponseMetaAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOBulkDeleteError ¶

type SLOBulkDeleteError struct {
	// The ID of the service level objective object associated with
	// this error.
	Id string `json:"id"`
	// The error message.
	Message string `json:"message"`
	// The timeframe of the threshold associated with this error
	// or "all" if all thresholds are affected.
	Timeframe SLOErrorTimeframe `json:"timeframe"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOBulkDeleteError Object describing the error.

func NewSLOBulkDeleteError ¶

func NewSLOBulkDeleteError(id string, message string, timeframe SLOErrorTimeframe) *SLOBulkDeleteError

NewSLOBulkDeleteError instantiates a new SLOBulkDeleteError 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 NewSLOBulkDeleteErrorWithDefaults ¶

func NewSLOBulkDeleteErrorWithDefaults() *SLOBulkDeleteError

NewSLOBulkDeleteErrorWithDefaults instantiates a new SLOBulkDeleteError 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 (*SLOBulkDeleteError) GetId ¶

func (o *SLOBulkDeleteError) GetId() string

GetId returns the Id field value.

func (*SLOBulkDeleteError) GetIdOk ¶

func (o *SLOBulkDeleteError) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SLOBulkDeleteError) GetMessage ¶

func (o *SLOBulkDeleteError) GetMessage() string

GetMessage returns the Message field value.

func (*SLOBulkDeleteError) GetMessageOk ¶

func (o *SLOBulkDeleteError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SLOBulkDeleteError) GetTimeframe ¶

func (o *SLOBulkDeleteError) GetTimeframe() SLOErrorTimeframe

GetTimeframe returns the Timeframe field value.

func (*SLOBulkDeleteError) GetTimeframeOk ¶

func (o *SLOBulkDeleteError) GetTimeframeOk() (*SLOErrorTimeframe, bool)

GetTimeframeOk returns a tuple with the Timeframe field value and a boolean to check if the value has been set.

func (SLOBulkDeleteError) MarshalJSON ¶

func (o SLOBulkDeleteError) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOBulkDeleteError) SetId ¶

func (o *SLOBulkDeleteError) SetId(v string)

SetId sets field value.

func (*SLOBulkDeleteError) SetMessage ¶

func (o *SLOBulkDeleteError) SetMessage(v string)

SetMessage sets field value.

func (*SLOBulkDeleteError) SetTimeframe ¶

func (o *SLOBulkDeleteError) SetTimeframe(v SLOErrorTimeframe)

SetTimeframe sets field value.

func (*SLOBulkDeleteError) UnmarshalJSON ¶

func (o *SLOBulkDeleteError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOBulkDeleteResponse ¶

type SLOBulkDeleteResponse struct {
	// An array of service level objective objects.
	Data *SLOBulkDeleteResponseData `json:"data,omitempty"`
	// Array of errors object returned.
	Errors []SLOBulkDeleteError `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOBulkDeleteResponse The bulk partial delete service level objective object endpoint response.

This endpoint operates on multiple service level objective objects, so it may be partially successful. In such cases, the "data" and "error" fields in this response indicate which deletions succeeded and failed.

func NewSLOBulkDeleteResponse ¶

func NewSLOBulkDeleteResponse() *SLOBulkDeleteResponse

NewSLOBulkDeleteResponse instantiates a new SLOBulkDeleteResponse 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 NewSLOBulkDeleteResponseWithDefaults ¶

func NewSLOBulkDeleteResponseWithDefaults() *SLOBulkDeleteResponse

NewSLOBulkDeleteResponseWithDefaults instantiates a new SLOBulkDeleteResponse 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 (*SLOBulkDeleteResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SLOBulkDeleteResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOBulkDeleteResponse) GetErrors ¶

func (o *SLOBulkDeleteResponse) GetErrors() []SLOBulkDeleteError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*SLOBulkDeleteResponse) GetErrorsOk ¶

func (o *SLOBulkDeleteResponse) GetErrorsOk() (*[]SLOBulkDeleteError, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOBulkDeleteResponse) HasData ¶

func (o *SLOBulkDeleteResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SLOBulkDeleteResponse) HasErrors ¶

func (o *SLOBulkDeleteResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (SLOBulkDeleteResponse) MarshalJSON ¶

func (o SLOBulkDeleteResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOBulkDeleteResponse) SetData ¶

SetData gets a reference to the given SLOBulkDeleteResponseData and assigns it to the Data field.

func (*SLOBulkDeleteResponse) SetErrors ¶

func (o *SLOBulkDeleteResponse) SetErrors(v []SLOBulkDeleteError)

SetErrors gets a reference to the given []SLOBulkDeleteError and assigns it to the Errors field.

func (*SLOBulkDeleteResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOBulkDeleteResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOBulkDeleteResponseData ¶

type SLOBulkDeleteResponseData struct {
	// An array of service level objective object IDs that indicates
	// which objects that were completely deleted.
	Deleted []string `json:"deleted,omitempty"`
	// An array of service level objective object IDs that indicates
	// which objects that were modified (objects for which at least one
	// threshold was deleted, but that were not completely deleted).
	Updated []string `json:"updated,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOBulkDeleteResponseData An array of service level objective objects.

func NewSLOBulkDeleteResponseData ¶

func NewSLOBulkDeleteResponseData() *SLOBulkDeleteResponseData

NewSLOBulkDeleteResponseData instantiates a new SLOBulkDeleteResponseData 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 NewSLOBulkDeleteResponseDataWithDefaults ¶

func NewSLOBulkDeleteResponseDataWithDefaults() *SLOBulkDeleteResponseData

NewSLOBulkDeleteResponseDataWithDefaults instantiates a new SLOBulkDeleteResponseData 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 (*SLOBulkDeleteResponseData) GetDeleted ¶

func (o *SLOBulkDeleteResponseData) GetDeleted() []string

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*SLOBulkDeleteResponseData) GetDeletedOk ¶

func (o *SLOBulkDeleteResponseData) GetDeletedOk() (*[]string, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOBulkDeleteResponseData) GetUpdated ¶

func (o *SLOBulkDeleteResponseData) GetUpdated() []string

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*SLOBulkDeleteResponseData) GetUpdatedOk ¶

func (o *SLOBulkDeleteResponseData) GetUpdatedOk() (*[]string, bool)

GetUpdatedOk returns a tuple with the Updated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOBulkDeleteResponseData) HasDeleted ¶

func (o *SLOBulkDeleteResponseData) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*SLOBulkDeleteResponseData) HasUpdated ¶

func (o *SLOBulkDeleteResponseData) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (SLOBulkDeleteResponseData) MarshalJSON ¶

func (o SLOBulkDeleteResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOBulkDeleteResponseData) SetDeleted ¶

func (o *SLOBulkDeleteResponseData) SetDeleted(v []string)

SetDeleted gets a reference to the given []string and assigns it to the Deleted field.

func (*SLOBulkDeleteResponseData) SetUpdated ¶

func (o *SLOBulkDeleteResponseData) SetUpdated(v []string)

SetUpdated gets a reference to the given []string and assigns it to the Updated field.

func (*SLOBulkDeleteResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOBulkDeleteResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrection ¶

type SLOCorrection struct {
	// The attribute object associated with the SLO correction.
	Attributes *SLOCorrectionResponseAttributes `json:"attributes,omitempty"`
	// The ID of the SLO correction.
	Id *string `json:"id,omitempty"`
	// SLO correction resource type.
	Type *SLOCorrectionType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrection The response object of a list of SLO corrections.

func NewSLOCorrection ¶

func NewSLOCorrection() *SLOCorrection

NewSLOCorrection instantiates a new SLOCorrection 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 NewSLOCorrectionWithDefaults ¶

func NewSLOCorrectionWithDefaults() *SLOCorrection

NewSLOCorrectionWithDefaults instantiates a new SLOCorrection 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 (*SLOCorrection) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SLOCorrection) GetAttributesOk ¶

func (o *SLOCorrection) GetAttributesOk() (*SLOCorrectionResponseAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrection) GetId ¶

func (o *SLOCorrection) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SLOCorrection) GetIdOk ¶

func (o *SLOCorrection) 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 (*SLOCorrection) GetType ¶

func (o *SLOCorrection) GetType() SLOCorrectionType

GetType returns the Type field value if set, zero value otherwise.

func (*SLOCorrection) GetTypeOk ¶

func (o *SLOCorrection) GetTypeOk() (*SLOCorrectionType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrection) HasAttributes ¶

func (o *SLOCorrection) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SLOCorrection) HasId ¶

func (o *SLOCorrection) HasId() bool

HasId returns a boolean if a field has been set.

func (*SLOCorrection) HasType ¶

func (o *SLOCorrection) HasType() bool

HasType returns a boolean if a field has been set.

func (SLOCorrection) MarshalJSON ¶

func (o SLOCorrection) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrection) SetAttributes ¶

func (o *SLOCorrection) SetAttributes(v SLOCorrectionResponseAttributes)

SetAttributes gets a reference to the given SLOCorrectionResponseAttributes and assigns it to the Attributes field.

func (*SLOCorrection) SetId ¶

func (o *SLOCorrection) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SLOCorrection) SetType ¶

func (o *SLOCorrection) SetType(v SLOCorrectionType)

SetType gets a reference to the given SLOCorrectionType and assigns it to the Type field.

func (*SLOCorrection) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrection) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionCategory ¶

type SLOCorrectionCategory string

SLOCorrectionCategory Category the SLO correction belongs to.

const (
	SLOCORRECTIONCATEGORY_SCHEDULED_MAINTENANCE  SLOCorrectionCategory = "Scheduled Maintenance"
	SLOCORRECTIONCATEGORY_OUTSIDE_BUSINESS_HOURS SLOCorrectionCategory = "Outside Business Hours"
	SLOCORRECTIONCATEGORY_DEPLOYMENT             SLOCorrectionCategory = "Deployment"
	SLOCORRECTIONCATEGORY_OTHER                  SLOCorrectionCategory = "Other"
)

List of SLOCorrectionCategory.

func NewSLOCorrectionCategoryFromValue ¶

func NewSLOCorrectionCategoryFromValue(v string) (*SLOCorrectionCategory, error)

NewSLOCorrectionCategoryFromValue returns a pointer to a valid SLOCorrectionCategory for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SLOCorrectionCategory) GetAllowedValues ¶ added in v1.1.0

func (v *SLOCorrectionCategory) GetAllowedValues() []SLOCorrectionCategory

GetAllowedValues reeturns the list of possible values.

func (SLOCorrectionCategory) IsValid ¶

func (v SLOCorrectionCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SLOCorrectionCategory) Ptr ¶

Ptr returns reference to SLOCorrectionCategory value.

func (*SLOCorrectionCategory) UnmarshalJSON ¶

func (v *SLOCorrectionCategory) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SLOCorrectionCreateData ¶

type SLOCorrectionCreateData struct {
	// The attribute object associated with the SLO correction to be created.
	Attributes *SLOCorrectionCreateRequestAttributes `json:"attributes,omitempty"`
	// SLO correction resource type.
	Type SLOCorrectionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionCreateData The data object associated with the SLO correction to be created.

func NewSLOCorrectionCreateData ¶

func NewSLOCorrectionCreateData(typeVar SLOCorrectionType) *SLOCorrectionCreateData

NewSLOCorrectionCreateData instantiates a new SLOCorrectionCreateData 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 NewSLOCorrectionCreateDataWithDefaults ¶

func NewSLOCorrectionCreateDataWithDefaults() *SLOCorrectionCreateData

NewSLOCorrectionCreateDataWithDefaults instantiates a new SLOCorrectionCreateData 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 (*SLOCorrectionCreateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SLOCorrectionCreateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionCreateData) GetType ¶

GetType returns the Type field value.

func (*SLOCorrectionCreateData) GetTypeOk ¶

func (o *SLOCorrectionCreateData) GetTypeOk() (*SLOCorrectionType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SLOCorrectionCreateData) HasAttributes ¶

func (o *SLOCorrectionCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (SLOCorrectionCreateData) MarshalJSON ¶

func (o SLOCorrectionCreateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionCreateData) SetAttributes ¶

SetAttributes gets a reference to the given SLOCorrectionCreateRequestAttributes and assigns it to the Attributes field.

func (*SLOCorrectionCreateData) SetType ¶

SetType sets field value.

func (*SLOCorrectionCreateData) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionCreateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionCreateRequest ¶

type SLOCorrectionCreateRequest struct {
	// The data object associated with the SLO correction to be created.
	Data *SLOCorrectionCreateData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionCreateRequest An object that defines a correction to be applied to an SLO.

func NewSLOCorrectionCreateRequest ¶

func NewSLOCorrectionCreateRequest() *SLOCorrectionCreateRequest

NewSLOCorrectionCreateRequest instantiates a new SLOCorrectionCreateRequest 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 NewSLOCorrectionCreateRequestWithDefaults ¶

func NewSLOCorrectionCreateRequestWithDefaults() *SLOCorrectionCreateRequest

NewSLOCorrectionCreateRequestWithDefaults instantiates a new SLOCorrectionCreateRequest 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 (*SLOCorrectionCreateRequest) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SLOCorrectionCreateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequest) HasData ¶

func (o *SLOCorrectionCreateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (SLOCorrectionCreateRequest) MarshalJSON ¶

func (o SLOCorrectionCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionCreateRequest) SetData ¶

SetData gets a reference to the given SLOCorrectionCreateData and assigns it to the Data field.

func (*SLOCorrectionCreateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionCreateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionCreateRequestAttributes ¶

type SLOCorrectionCreateRequestAttributes struct {
	// Category the SLO correction belongs to.
	Category SLOCorrectionCategory `json:"category"`
	// Description of the correction being made.
	Description *string `json:"description,omitempty"`
	// Length of time (in seconds) for a specified `rrule` recurring SLO correction.
	Duration *int64 `json:"duration,omitempty"`
	// Ending time of the correction in epoch seconds.
	End *int64 `json:"end,omitempty"`
	// The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
	// are `FREQ`, `INTERVAL`, `COUNT` and `UNTIL`.
	Rrule *string `json:"rrule,omitempty"`
	// ID of the SLO that this correction applies to.
	SloId string `json:"slo_id"`
	// Starting time of the correction in epoch seconds.
	Start int64 `json:"start"`
	// The timezone to display in the UI for the correction times (defaults to "UTC").
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionCreateRequestAttributes The attribute object associated with the SLO correction to be created.

func NewSLOCorrectionCreateRequestAttributes ¶

func NewSLOCorrectionCreateRequestAttributes(category SLOCorrectionCategory, sloId string, start int64) *SLOCorrectionCreateRequestAttributes

NewSLOCorrectionCreateRequestAttributes instantiates a new SLOCorrectionCreateRequestAttributes 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 NewSLOCorrectionCreateRequestAttributesWithDefaults ¶

func NewSLOCorrectionCreateRequestAttributesWithDefaults() *SLOCorrectionCreateRequestAttributes

NewSLOCorrectionCreateRequestAttributesWithDefaults instantiates a new SLOCorrectionCreateRequestAttributes 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 (*SLOCorrectionCreateRequestAttributes) GetCategory ¶

GetCategory returns the Category field value.

func (*SLOCorrectionCreateRequestAttributes) GetCategoryOk ¶

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) GetDescription ¶

func (o *SLOCorrectionCreateRequestAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SLOCorrectionCreateRequestAttributes) GetDescriptionOk ¶

func (o *SLOCorrectionCreateRequestAttributes) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) GetDuration ¶ added in v1.6.0

GetDuration returns the Duration field value if set, zero value otherwise.

func (*SLOCorrectionCreateRequestAttributes) GetDurationOk ¶ added in v1.6.0

func (o *SLOCorrectionCreateRequestAttributes) GetDurationOk() (*int64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) GetEnd ¶

GetEnd returns the End field value if set, zero value otherwise.

func (*SLOCorrectionCreateRequestAttributes) GetEndOk ¶

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) GetRrule ¶ added in v1.6.0

GetRrule returns the Rrule field value if set, zero value otherwise.

func (*SLOCorrectionCreateRequestAttributes) GetRruleOk ¶ added in v1.6.0

func (o *SLOCorrectionCreateRequestAttributes) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) GetSloId ¶

GetSloId returns the SloId field value.

func (*SLOCorrectionCreateRequestAttributes) GetSloIdOk ¶

func (o *SLOCorrectionCreateRequestAttributes) GetSloIdOk() (*string, bool)

GetSloIdOk returns a tuple with the SloId field value and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) GetStart ¶

GetStart returns the Start field value.

func (*SLOCorrectionCreateRequestAttributes) GetStartOk ¶

func (o *SLOCorrectionCreateRequestAttributes) GetStartOk() (*int64, bool)

GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) GetTimezone ¶

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*SLOCorrectionCreateRequestAttributes) GetTimezoneOk ¶

func (o *SLOCorrectionCreateRequestAttributes) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionCreateRequestAttributes) HasDescription ¶

func (o *SLOCorrectionCreateRequestAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SLOCorrectionCreateRequestAttributes) HasDuration ¶ added in v1.6.0

func (o *SLOCorrectionCreateRequestAttributes) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*SLOCorrectionCreateRequestAttributes) HasEnd ¶ added in v1.6.0

HasEnd returns a boolean if a field has been set.

func (*SLOCorrectionCreateRequestAttributes) HasRrule ¶ added in v1.6.0

HasRrule returns a boolean if a field has been set.

func (*SLOCorrectionCreateRequestAttributes) HasTimezone ¶

func (o *SLOCorrectionCreateRequestAttributes) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (SLOCorrectionCreateRequestAttributes) MarshalJSON ¶

func (o SLOCorrectionCreateRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionCreateRequestAttributes) SetCategory ¶

SetCategory sets field value.

func (*SLOCorrectionCreateRequestAttributes) SetDescription ¶

func (o *SLOCorrectionCreateRequestAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SLOCorrectionCreateRequestAttributes) SetDuration ¶ added in v1.6.0

func (o *SLOCorrectionCreateRequestAttributes) SetDuration(v int64)

SetDuration gets a reference to the given int64 and assigns it to the Duration field.

func (*SLOCorrectionCreateRequestAttributes) SetEnd ¶

SetEnd gets a reference to the given int64 and assigns it to the End field.

func (*SLOCorrectionCreateRequestAttributes) SetRrule ¶ added in v1.6.0

SetRrule gets a reference to the given string and assigns it to the Rrule field.

func (*SLOCorrectionCreateRequestAttributes) SetSloId ¶

SetSloId sets field value.

func (*SLOCorrectionCreateRequestAttributes) SetStart ¶

SetStart sets field value.

func (*SLOCorrectionCreateRequestAttributes) SetTimezone ¶

func (o *SLOCorrectionCreateRequestAttributes) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*SLOCorrectionCreateRequestAttributes) UnmarshalJSON ¶

func (o *SLOCorrectionCreateRequestAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionListResponse ¶

type SLOCorrectionListResponse struct {
	// The list of of SLO corrections objects.
	Data []SLOCorrection `json:"data,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionListResponse A list of SLO correction objects.

func NewSLOCorrectionListResponse ¶

func NewSLOCorrectionListResponse() *SLOCorrectionListResponse

NewSLOCorrectionListResponse instantiates a new SLOCorrectionListResponse 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 NewSLOCorrectionListResponseWithDefaults ¶

func NewSLOCorrectionListResponseWithDefaults() *SLOCorrectionListResponse

NewSLOCorrectionListResponseWithDefaults instantiates a new SLOCorrectionListResponse 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 (*SLOCorrectionListResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SLOCorrectionListResponse) GetDataOk ¶

func (o *SLOCorrectionListResponse) GetDataOk() (*[]SLOCorrection, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionListResponse) GetMeta ¶ added in v1.2.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SLOCorrectionListResponse) GetMetaOk ¶ added in v1.2.0

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionListResponse) HasData ¶

func (o *SLOCorrectionListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SLOCorrectionListResponse) HasMeta ¶ added in v1.2.0

func (o *SLOCorrectionListResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (SLOCorrectionListResponse) MarshalJSON ¶

func (o SLOCorrectionListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionListResponse) SetData ¶

func (o *SLOCorrectionListResponse) SetData(v []SLOCorrection)

SetData gets a reference to the given []SLOCorrection and assigns it to the Data field.

func (*SLOCorrectionListResponse) SetMeta ¶ added in v1.2.0

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*SLOCorrectionListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionResponse ¶

type SLOCorrectionResponse struct {
	// The response object of a list of SLO corrections.
	Data *SLOCorrection `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionResponse The response object of an SLO correction.

func NewSLOCorrectionResponse ¶

func NewSLOCorrectionResponse() *SLOCorrectionResponse

NewSLOCorrectionResponse instantiates a new SLOCorrectionResponse 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 NewSLOCorrectionResponseWithDefaults ¶

func NewSLOCorrectionResponseWithDefaults() *SLOCorrectionResponse

NewSLOCorrectionResponseWithDefaults instantiates a new SLOCorrectionResponse 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 (*SLOCorrectionResponse) GetData ¶

func (o *SLOCorrectionResponse) GetData() SLOCorrection

GetData returns the Data field value if set, zero value otherwise.

func (*SLOCorrectionResponse) GetDataOk ¶

func (o *SLOCorrectionResponse) GetDataOk() (*SLOCorrection, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponse) HasData ¶

func (o *SLOCorrectionResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (SLOCorrectionResponse) MarshalJSON ¶

func (o SLOCorrectionResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionResponse) SetData ¶

func (o *SLOCorrectionResponse) SetData(v SLOCorrection)

SetData gets a reference to the given SLOCorrection and assigns it to the Data field.

func (*SLOCorrectionResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionResponseAttributes ¶

type SLOCorrectionResponseAttributes struct {
	// Category the SLO correction belongs to.
	Category *SLOCorrectionCategory `json:"category,omitempty"`
	// The epoch timestamp of when the correction was created at.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Object describing the creator of the shared element.
	Creator *Creator `json:"creator,omitempty"`
	// Description of the correction being made.
	Description *string `json:"description,omitempty"`
	// Length of time (in seconds) for a specified `rrule` recurring SLO correction.
	Duration NullableInt64 `json:"duration,omitempty"`
	// Ending time of the correction in epoch seconds.
	End *int64 `json:"end,omitempty"`
	// The epoch timestamp of when the correction was modified at.
	ModifiedAt *int64 `json:"modified_at,omitempty"`
	// Modifier of the object.
	Modifier NullableSLOCorrectionResponseAttributesModifier `json:"modifier,omitempty"`
	// The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
	// are `FREQ`, `INTERVAL`, `COUNT`, and `UNTIL`.
	Rrule NullableString `json:"rrule,omitempty"`
	// ID of the SLO that this correction applies to.
	SloId *string `json:"slo_id,omitempty"`
	// Starting time of the correction in epoch seconds.
	Start *int64 `json:"start,omitempty"`
	// The timezone to display in the UI for the correction times (defaults to "UTC").
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionResponseAttributes The attribute object associated with the SLO correction.

func NewSLOCorrectionResponseAttributes ¶

func NewSLOCorrectionResponseAttributes() *SLOCorrectionResponseAttributes

NewSLOCorrectionResponseAttributes instantiates a new SLOCorrectionResponseAttributes 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 NewSLOCorrectionResponseAttributesWithDefaults ¶

func NewSLOCorrectionResponseAttributesWithDefaults() *SLOCorrectionResponseAttributes

NewSLOCorrectionResponseAttributesWithDefaults instantiates a new SLOCorrectionResponseAttributes 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 (*SLOCorrectionResponseAttributes) GetCategory ¶

GetCategory returns the Category field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetCategoryOk ¶

GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) GetCreatedAt ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetCreatedAtOk ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) GetCreator ¶

func (o *SLOCorrectionResponseAttributes) GetCreator() Creator

GetCreator returns the Creator field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetCreatorOk ¶

func (o *SLOCorrectionResponseAttributes) GetCreatorOk() (*Creator, 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 (*SLOCorrectionResponseAttributes) GetDescription ¶

func (o *SLOCorrectionResponseAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetDescriptionOk ¶

func (o *SLOCorrectionResponseAttributes) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) GetDuration ¶ added in v1.6.0

func (o *SLOCorrectionResponseAttributes) GetDuration() int64

GetDuration returns the Duration field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SLOCorrectionResponseAttributes) GetDurationOk ¶ added in v1.6.0

func (o *SLOCorrectionResponseAttributes) GetDurationOk() (*int64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SLOCorrectionResponseAttributes) GetEnd ¶

GetEnd returns the End field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetEndOk ¶

func (o *SLOCorrectionResponseAttributes) GetEndOk() (*int64, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) GetModifiedAt ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) GetModifiedAt() int64

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetModifiedAtOk ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) GetModifiedAtOk() (*int64, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) GetModifier ¶ added in v1.7.0

GetModifier returns the Modifier field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SLOCorrectionResponseAttributes) GetModifierOk ¶ added in v1.7.0

GetModifierOk returns a tuple with the Modifier field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SLOCorrectionResponseAttributes) GetRrule ¶ added in v1.6.0

GetRrule returns the Rrule field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SLOCorrectionResponseAttributes) GetRruleOk ¶ added in v1.6.0

func (o *SLOCorrectionResponseAttributes) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SLOCorrectionResponseAttributes) GetSloId ¶

GetSloId returns the SloId field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetSloIdOk ¶

func (o *SLOCorrectionResponseAttributes) GetSloIdOk() (*string, bool)

GetSloIdOk returns a tuple with the SloId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) GetStart ¶

func (o *SLOCorrectionResponseAttributes) GetStart() int64

GetStart returns the Start field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetStartOk ¶

func (o *SLOCorrectionResponseAttributes) GetStartOk() (*int64, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) GetTimezone ¶

func (o *SLOCorrectionResponseAttributes) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributes) GetTimezoneOk ¶

func (o *SLOCorrectionResponseAttributes) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributes) HasCategory ¶

func (o *SLOCorrectionResponseAttributes) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasCreatedAt ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasCreator ¶

func (o *SLOCorrectionResponseAttributes) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasDescription ¶

func (o *SLOCorrectionResponseAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasDuration ¶ added in v1.6.0

func (o *SLOCorrectionResponseAttributes) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasEnd ¶

HasEnd returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasModifiedAt ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasModifier ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) HasModifier() bool

HasModifier returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasRrule ¶ added in v1.6.0

func (o *SLOCorrectionResponseAttributes) HasRrule() bool

HasRrule returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasSloId ¶

func (o *SLOCorrectionResponseAttributes) HasSloId() bool

HasSloId returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasStart ¶

func (o *SLOCorrectionResponseAttributes) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributes) HasTimezone ¶

func (o *SLOCorrectionResponseAttributes) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (SLOCorrectionResponseAttributes) MarshalJSON ¶

func (o SLOCorrectionResponseAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionResponseAttributes) SetCategory ¶

SetCategory gets a reference to the given SLOCorrectionCategory and assigns it to the Category field.

func (*SLOCorrectionResponseAttributes) SetCreatedAt ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*SLOCorrectionResponseAttributes) SetCreator ¶

func (o *SLOCorrectionResponseAttributes) SetCreator(v Creator)

SetCreator gets a reference to the given Creator and assigns it to the Creator field.

func (*SLOCorrectionResponseAttributes) SetDescription ¶

func (o *SLOCorrectionResponseAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SLOCorrectionResponseAttributes) SetDuration ¶ added in v1.6.0

func (o *SLOCorrectionResponseAttributes) SetDuration(v int64)

SetDuration gets a reference to the given NullableInt64 and assigns it to the Duration field.

func (*SLOCorrectionResponseAttributes) SetDurationNil ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) SetDurationNil()

SetDurationNil sets the value for Duration to be an explicit nil.

func (*SLOCorrectionResponseAttributes) SetEnd ¶

SetEnd gets a reference to the given int64 and assigns it to the End field.

func (*SLOCorrectionResponseAttributes) SetModifiedAt ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) SetModifiedAt(v int64)

SetModifiedAt gets a reference to the given int64 and assigns it to the ModifiedAt field.

func (*SLOCorrectionResponseAttributes) SetModifier ¶ added in v1.7.0

SetModifier gets a reference to the given NullableSLOCorrectionResponseAttributesModifier and assigns it to the Modifier field.

func (*SLOCorrectionResponseAttributes) SetModifierNil ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) SetModifierNil()

SetModifierNil sets the value for Modifier to be an explicit nil.

func (*SLOCorrectionResponseAttributes) SetRrule ¶ added in v1.6.0

func (o *SLOCorrectionResponseAttributes) SetRrule(v string)

SetRrule gets a reference to the given NullableString and assigns it to the Rrule field.

func (*SLOCorrectionResponseAttributes) SetRruleNil ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) SetRruleNil()

SetRruleNil sets the value for Rrule to be an explicit nil.

func (*SLOCorrectionResponseAttributes) SetSloId ¶

func (o *SLOCorrectionResponseAttributes) SetSloId(v string)

SetSloId gets a reference to the given string and assigns it to the SloId field.

func (*SLOCorrectionResponseAttributes) SetStart ¶

func (o *SLOCorrectionResponseAttributes) SetStart(v int64)

SetStart gets a reference to the given int64 and assigns it to the Start field.

func (*SLOCorrectionResponseAttributes) SetTimezone ¶

func (o *SLOCorrectionResponseAttributes) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*SLOCorrectionResponseAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*SLOCorrectionResponseAttributes) UnsetDuration ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) UnsetDuration()

UnsetDuration ensures that no value is present for Duration, not even an explicit nil.

func (*SLOCorrectionResponseAttributes) UnsetModifier ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) UnsetModifier()

UnsetModifier ensures that no value is present for Modifier, not even an explicit nil.

func (*SLOCorrectionResponseAttributes) UnsetRrule ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributes) UnsetRrule()

UnsetRrule ensures that no value is present for Rrule, not even an explicit nil.

type SLOCorrectionResponseAttributesModifier ¶ added in v1.7.0

type SLOCorrectionResponseAttributesModifier struct {
	// Email of the Modifier.
	Email *string `json:"email,omitempty"`
	// Handle of the Modifier.
	Handle *string `json:"handle,omitempty"`
	// Name of the Modifier.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionResponseAttributesModifier Modifier of the object.

func NewSLOCorrectionResponseAttributesModifier ¶ added in v1.7.0

func NewSLOCorrectionResponseAttributesModifier() *SLOCorrectionResponseAttributesModifier

NewSLOCorrectionResponseAttributesModifier instantiates a new SLOCorrectionResponseAttributesModifier 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 NewSLOCorrectionResponseAttributesModifierWithDefaults ¶ added in v1.7.0

func NewSLOCorrectionResponseAttributesModifierWithDefaults() *SLOCorrectionResponseAttributesModifier

NewSLOCorrectionResponseAttributesModifierWithDefaults instantiates a new SLOCorrectionResponseAttributesModifier 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 (*SLOCorrectionResponseAttributesModifier) GetEmail ¶ added in v1.7.0

GetEmail returns the Email field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributesModifier) GetEmailOk ¶ added in v1.7.0

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributesModifier) GetHandle ¶ added in v1.7.0

GetHandle returns the Handle field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributesModifier) GetHandleOk ¶ added in v1.7.0

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionResponseAttributesModifier) GetName ¶ added in v1.7.0

GetName returns the Name field value if set, zero value otherwise.

func (*SLOCorrectionResponseAttributesModifier) GetNameOk ¶ added in v1.7.0

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 (*SLOCorrectionResponseAttributesModifier) HasEmail ¶ added in v1.7.0

HasEmail returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributesModifier) HasHandle ¶ added in v1.7.0

HasHandle returns a boolean if a field has been set.

func (*SLOCorrectionResponseAttributesModifier) HasName ¶ added in v1.7.0

HasName returns a boolean if a field has been set.

func (SLOCorrectionResponseAttributesModifier) MarshalJSON ¶ added in v1.7.0

func (o SLOCorrectionResponseAttributesModifier) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionResponseAttributesModifier) SetEmail ¶ added in v1.7.0

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*SLOCorrectionResponseAttributesModifier) SetHandle ¶ added in v1.7.0

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*SLOCorrectionResponseAttributesModifier) SetName ¶ added in v1.7.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SLOCorrectionResponseAttributesModifier) UnmarshalJSON ¶ added in v1.7.0

func (o *SLOCorrectionResponseAttributesModifier) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionType ¶

type SLOCorrectionType string

SLOCorrectionType SLO correction resource type.

const (
	SLOCORRECTIONTYPE_CORRECTION SLOCorrectionType = "correction"
)

List of SLOCorrectionType.

func NewSLOCorrectionTypeFromValue ¶

func NewSLOCorrectionTypeFromValue(v string) (*SLOCorrectionType, error)

NewSLOCorrectionTypeFromValue returns a pointer to a valid SLOCorrectionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SLOCorrectionType) GetAllowedValues ¶ added in v1.1.0

func (v *SLOCorrectionType) GetAllowedValues() []SLOCorrectionType

GetAllowedValues reeturns the list of possible values.

func (SLOCorrectionType) IsValid ¶

func (v SLOCorrectionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SLOCorrectionType) Ptr ¶

Ptr returns reference to SLOCorrectionType value.

func (*SLOCorrectionType) UnmarshalJSON ¶

func (v *SLOCorrectionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SLOCorrectionUpdateData ¶

type SLOCorrectionUpdateData struct {
	// The attribute object associated with the SLO correction to be updated.
	Attributes *SLOCorrectionUpdateRequestAttributes `json:"attributes,omitempty"`
	// SLO correction resource type.
	Type *SLOCorrectionType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionUpdateData The data object associated with the SLO correction to be updated.

func NewSLOCorrectionUpdateData ¶

func NewSLOCorrectionUpdateData() *SLOCorrectionUpdateData

NewSLOCorrectionUpdateData instantiates a new SLOCorrectionUpdateData 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 NewSLOCorrectionUpdateDataWithDefaults ¶

func NewSLOCorrectionUpdateDataWithDefaults() *SLOCorrectionUpdateData

NewSLOCorrectionUpdateDataWithDefaults instantiates a new SLOCorrectionUpdateData 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 (*SLOCorrectionUpdateData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SLOCorrectionUpdateData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateData) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*SLOCorrectionUpdateData) GetTypeOk ¶

func (o *SLOCorrectionUpdateData) GetTypeOk() (*SLOCorrectionType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateData) HasAttributes ¶

func (o *SLOCorrectionUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SLOCorrectionUpdateData) HasType ¶

func (o *SLOCorrectionUpdateData) HasType() bool

HasType returns a boolean if a field has been set.

func (SLOCorrectionUpdateData) MarshalJSON ¶

func (o SLOCorrectionUpdateData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionUpdateData) SetAttributes ¶

SetAttributes gets a reference to the given SLOCorrectionUpdateRequestAttributes and assigns it to the Attributes field.

func (*SLOCorrectionUpdateData) SetType ¶

SetType gets a reference to the given SLOCorrectionType and assigns it to the Type field.

func (*SLOCorrectionUpdateData) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionUpdateData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionUpdateRequest ¶

type SLOCorrectionUpdateRequest struct {
	// The data object associated with the SLO correction to be updated.
	Data *SLOCorrectionUpdateData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionUpdateRequest An object that defines a correction to be applied to an SLO.

func NewSLOCorrectionUpdateRequest ¶

func NewSLOCorrectionUpdateRequest() *SLOCorrectionUpdateRequest

NewSLOCorrectionUpdateRequest instantiates a new SLOCorrectionUpdateRequest 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 NewSLOCorrectionUpdateRequestWithDefaults ¶

func NewSLOCorrectionUpdateRequestWithDefaults() *SLOCorrectionUpdateRequest

NewSLOCorrectionUpdateRequestWithDefaults instantiates a new SLOCorrectionUpdateRequest 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 (*SLOCorrectionUpdateRequest) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequest) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequest) HasData ¶

func (o *SLOCorrectionUpdateRequest) HasData() bool

HasData returns a boolean if a field has been set.

func (SLOCorrectionUpdateRequest) MarshalJSON ¶

func (o SLOCorrectionUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionUpdateRequest) SetData ¶

SetData gets a reference to the given SLOCorrectionUpdateData and assigns it to the Data field.

func (*SLOCorrectionUpdateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOCorrectionUpdateRequestAttributes ¶

type SLOCorrectionUpdateRequestAttributes struct {
	// Category the SLO correction belongs to.
	Category *SLOCorrectionCategory `json:"category,omitempty"`
	// Description of the correction being made.
	Description *string `json:"description,omitempty"`
	// Length of time (in seconds) for a specified `rrule` recurring SLO correction.
	Duration *int64 `json:"duration,omitempty"`
	// Ending time of the correction in epoch seconds.
	End *int64 `json:"end,omitempty"`
	// The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
	// are `FREQ`, `INTERVAL`, `COUNT`, and `UNTIL`.
	Rrule *string `json:"rrule,omitempty"`
	// Starting time of the correction in epoch seconds.
	Start *int64 `json:"start,omitempty"`
	// The timezone to display in the UI for the correction times (defaults to "UTC").
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOCorrectionUpdateRequestAttributes The attribute object associated with the SLO correction to be updated.

func NewSLOCorrectionUpdateRequestAttributes ¶

func NewSLOCorrectionUpdateRequestAttributes() *SLOCorrectionUpdateRequestAttributes

NewSLOCorrectionUpdateRequestAttributes instantiates a new SLOCorrectionUpdateRequestAttributes 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 NewSLOCorrectionUpdateRequestAttributesWithDefaults ¶

func NewSLOCorrectionUpdateRequestAttributesWithDefaults() *SLOCorrectionUpdateRequestAttributes

NewSLOCorrectionUpdateRequestAttributesWithDefaults instantiates a new SLOCorrectionUpdateRequestAttributes 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 (*SLOCorrectionUpdateRequestAttributes) GetCategory ¶

GetCategory returns the Category field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequestAttributes) GetCategoryOk ¶

GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequestAttributes) GetDescription ¶

func (o *SLOCorrectionUpdateRequestAttributes) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequestAttributes) GetDescriptionOk ¶

func (o *SLOCorrectionUpdateRequestAttributes) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequestAttributes) GetDuration ¶ added in v1.6.0

GetDuration returns the Duration field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequestAttributes) GetDurationOk ¶ added in v1.6.0

func (o *SLOCorrectionUpdateRequestAttributes) GetDurationOk() (*int64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequestAttributes) GetEnd ¶

GetEnd returns the End field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequestAttributes) GetEndOk ¶

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequestAttributes) GetRrule ¶ added in v1.6.0

GetRrule returns the Rrule field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequestAttributes) GetRruleOk ¶ added in v1.6.0

func (o *SLOCorrectionUpdateRequestAttributes) GetRruleOk() (*string, bool)

GetRruleOk returns a tuple with the Rrule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequestAttributes) GetStart ¶

GetStart returns the Start field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequestAttributes) GetStartOk ¶

func (o *SLOCorrectionUpdateRequestAttributes) GetStartOk() (*int64, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequestAttributes) GetTimezone ¶

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*SLOCorrectionUpdateRequestAttributes) GetTimezoneOk ¶

func (o *SLOCorrectionUpdateRequestAttributes) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOCorrectionUpdateRequestAttributes) HasCategory ¶

func (o *SLOCorrectionUpdateRequestAttributes) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*SLOCorrectionUpdateRequestAttributes) HasDescription ¶

func (o *SLOCorrectionUpdateRequestAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SLOCorrectionUpdateRequestAttributes) HasDuration ¶ added in v1.6.0

func (o *SLOCorrectionUpdateRequestAttributes) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*SLOCorrectionUpdateRequestAttributes) HasEnd ¶

HasEnd returns a boolean if a field has been set.

func (*SLOCorrectionUpdateRequestAttributes) HasRrule ¶ added in v1.6.0

HasRrule returns a boolean if a field has been set.

func (*SLOCorrectionUpdateRequestAttributes) HasStart ¶

HasStart returns a boolean if a field has been set.

func (*SLOCorrectionUpdateRequestAttributes) HasTimezone ¶

func (o *SLOCorrectionUpdateRequestAttributes) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (SLOCorrectionUpdateRequestAttributes) MarshalJSON ¶

func (o SLOCorrectionUpdateRequestAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOCorrectionUpdateRequestAttributes) SetCategory ¶

SetCategory gets a reference to the given SLOCorrectionCategory and assigns it to the Category field.

func (*SLOCorrectionUpdateRequestAttributes) SetDescription ¶

func (o *SLOCorrectionUpdateRequestAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SLOCorrectionUpdateRequestAttributes) SetDuration ¶ added in v1.6.0

func (o *SLOCorrectionUpdateRequestAttributes) SetDuration(v int64)

SetDuration gets a reference to the given int64 and assigns it to the Duration field.

func (*SLOCorrectionUpdateRequestAttributes) SetEnd ¶

SetEnd gets a reference to the given int64 and assigns it to the End field.

func (*SLOCorrectionUpdateRequestAttributes) SetRrule ¶ added in v1.6.0

SetRrule gets a reference to the given string and assigns it to the Rrule field.

func (*SLOCorrectionUpdateRequestAttributes) SetStart ¶

SetStart gets a reference to the given int64 and assigns it to the Start field.

func (*SLOCorrectionUpdateRequestAttributes) SetTimezone ¶

func (o *SLOCorrectionUpdateRequestAttributes) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*SLOCorrectionUpdateRequestAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOCorrectionUpdateRequestAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLODeleteResponse ¶

type SLODeleteResponse struct {
	// An array containing the ID of the deleted service level objective object.
	Data []string `json:"data,omitempty"`
	// An dictionary containing the ID of the SLO as key and a deletion error as value.
	Errors map[string]string `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLODeleteResponse A response list of all service level objective deleted.

func NewSLODeleteResponse ¶

func NewSLODeleteResponse() *SLODeleteResponse

NewSLODeleteResponse instantiates a new SLODeleteResponse 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 NewSLODeleteResponseWithDefaults ¶

func NewSLODeleteResponseWithDefaults() *SLODeleteResponse

NewSLODeleteResponseWithDefaults instantiates a new SLODeleteResponse 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 (*SLODeleteResponse) GetData ¶

func (o *SLODeleteResponse) GetData() []string

GetData returns the Data field value if set, zero value otherwise.

func (*SLODeleteResponse) GetDataOk ¶

func (o *SLODeleteResponse) GetDataOk() (*[]string, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLODeleteResponse) GetErrors ¶

func (o *SLODeleteResponse) GetErrors() map[string]string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*SLODeleteResponse) GetErrorsOk ¶

func (o *SLODeleteResponse) GetErrorsOk() (*map[string]string, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLODeleteResponse) HasData ¶

func (o *SLODeleteResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SLODeleteResponse) HasErrors ¶

func (o *SLODeleteResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (SLODeleteResponse) MarshalJSON ¶

func (o SLODeleteResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLODeleteResponse) SetData ¶

func (o *SLODeleteResponse) SetData(v []string)

SetData gets a reference to the given []string and assigns it to the Data field.

func (*SLODeleteResponse) SetErrors ¶

func (o *SLODeleteResponse) SetErrors(v map[string]string)

SetErrors gets a reference to the given map[string]string and assigns it to the Errors field.

func (*SLODeleteResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SLODeleteResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOErrorTimeframe ¶

type SLOErrorTimeframe string

SLOErrorTimeframe The timeframe of the threshold associated with this error or "all" if all thresholds are affected.

const (
	SLOERRORTIMEFRAME_SEVEN_DAYS  SLOErrorTimeframe = "7d"
	SLOERRORTIMEFRAME_THIRTY_DAYS SLOErrorTimeframe = "30d"
	SLOERRORTIMEFRAME_NINETY_DAYS SLOErrorTimeframe = "90d"
	SLOERRORTIMEFRAME_ALL         SLOErrorTimeframe = "all"
)

List of SLOErrorTimeframe.

func NewSLOErrorTimeframeFromValue ¶

func NewSLOErrorTimeframeFromValue(v string) (*SLOErrorTimeframe, error)

NewSLOErrorTimeframeFromValue returns a pointer to a valid SLOErrorTimeframe for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SLOErrorTimeframe) GetAllowedValues ¶ added in v1.1.0

func (v *SLOErrorTimeframe) GetAllowedValues() []SLOErrorTimeframe

GetAllowedValues reeturns the list of possible values.

func (SLOErrorTimeframe) IsValid ¶

func (v SLOErrorTimeframe) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SLOErrorTimeframe) Ptr ¶

Ptr returns reference to SLOErrorTimeframe value.

func (*SLOErrorTimeframe) UnmarshalJSON ¶

func (v *SLOErrorTimeframe) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SLOHistoryMetrics ¶

type SLOHistoryMetrics struct {
	// A representation of `metric` based SLO time series for the provided queries.
	// This is the same response type from `batch_query` endpoint.
	Denominator SLOHistoryMetricsSeries `json:"denominator"`
	// The aggregated query interval for the series data. It's implicit based on the query time window.
	Interval int64 `json:"interval"`
	// Optional message if there are specific query issues/warnings.
	Message *string `json:"message,omitempty"`
	// A representation of `metric` based SLO time series for the provided queries.
	// This is the same response type from `batch_query` endpoint.
	Numerator SLOHistoryMetricsSeries `json:"numerator"`
	// The combined numerator and denominator query CSV.
	Query string `json:"query"`
	// The series result type. This mimics `batch_query` response type.
	ResType string `json:"res_type"`
	// The series response version type. This mimics `batch_query` response type.
	RespVersion int64 `json:"resp_version"`
	// An array of query timestamps in EPOCH milliseconds.
	Times []float64 `json:"times"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryMetrics A `metric` based SLO history response.

This is not included in responses for `monitor` based SLOs.

func NewSLOHistoryMetrics ¶

func NewSLOHistoryMetrics(denominator SLOHistoryMetricsSeries, interval int64, numerator SLOHistoryMetricsSeries, query string, resType string, respVersion int64, times []float64) *SLOHistoryMetrics

NewSLOHistoryMetrics instantiates a new SLOHistoryMetrics 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 NewSLOHistoryMetricsWithDefaults ¶

func NewSLOHistoryMetricsWithDefaults() *SLOHistoryMetrics

NewSLOHistoryMetricsWithDefaults instantiates a new SLOHistoryMetrics 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 (*SLOHistoryMetrics) GetDenominator ¶

func (o *SLOHistoryMetrics) GetDenominator() SLOHistoryMetricsSeries

GetDenominator returns the Denominator field value.

func (*SLOHistoryMetrics) GetDenominatorOk ¶

func (o *SLOHistoryMetrics) GetDenominatorOk() (*SLOHistoryMetricsSeries, bool)

GetDenominatorOk returns a tuple with the Denominator field value and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) GetInterval ¶

func (o *SLOHistoryMetrics) GetInterval() int64

GetInterval returns the Interval field value.

func (*SLOHistoryMetrics) GetIntervalOk ¶

func (o *SLOHistoryMetrics) GetIntervalOk() (*int64, bool)

GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) GetMessage ¶

func (o *SLOHistoryMetrics) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SLOHistoryMetrics) GetMessageOk ¶

func (o *SLOHistoryMetrics) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) GetNumerator ¶

func (o *SLOHistoryMetrics) GetNumerator() SLOHistoryMetricsSeries

GetNumerator returns the Numerator field value.

func (*SLOHistoryMetrics) GetNumeratorOk ¶

func (o *SLOHistoryMetrics) GetNumeratorOk() (*SLOHistoryMetricsSeries, bool)

GetNumeratorOk returns a tuple with the Numerator field value and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) GetQuery ¶

func (o *SLOHistoryMetrics) GetQuery() string

GetQuery returns the Query field value.

func (*SLOHistoryMetrics) GetQueryOk ¶

func (o *SLOHistoryMetrics) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) GetResType ¶

func (o *SLOHistoryMetrics) GetResType() string

GetResType returns the ResType field value.

func (*SLOHistoryMetrics) GetResTypeOk ¶

func (o *SLOHistoryMetrics) GetResTypeOk() (*string, bool)

GetResTypeOk returns a tuple with the ResType field value and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) GetRespVersion ¶

func (o *SLOHistoryMetrics) GetRespVersion() int64

GetRespVersion returns the RespVersion field value.

func (*SLOHistoryMetrics) GetRespVersionOk ¶

func (o *SLOHistoryMetrics) GetRespVersionOk() (*int64, bool)

GetRespVersionOk returns a tuple with the RespVersion field value and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) GetTimes ¶

func (o *SLOHistoryMetrics) GetTimes() []float64

GetTimes returns the Times field value.

func (*SLOHistoryMetrics) GetTimesOk ¶

func (o *SLOHistoryMetrics) GetTimesOk() (*[]float64, bool)

GetTimesOk returns a tuple with the Times field value and a boolean to check if the value has been set.

func (*SLOHistoryMetrics) HasMessage ¶

func (o *SLOHistoryMetrics) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (SLOHistoryMetrics) MarshalJSON ¶

func (o SLOHistoryMetrics) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryMetrics) SetDenominator ¶

func (o *SLOHistoryMetrics) SetDenominator(v SLOHistoryMetricsSeries)

SetDenominator sets field value.

func (*SLOHistoryMetrics) SetInterval ¶

func (o *SLOHistoryMetrics) SetInterval(v int64)

SetInterval sets field value.

func (*SLOHistoryMetrics) SetMessage ¶

func (o *SLOHistoryMetrics) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SLOHistoryMetrics) SetNumerator ¶

func (o *SLOHistoryMetrics) SetNumerator(v SLOHistoryMetricsSeries)

SetNumerator sets field value.

func (*SLOHistoryMetrics) SetQuery ¶

func (o *SLOHistoryMetrics) SetQuery(v string)

SetQuery sets field value.

func (*SLOHistoryMetrics) SetResType ¶

func (o *SLOHistoryMetrics) SetResType(v string)

SetResType sets field value.

func (*SLOHistoryMetrics) SetRespVersion ¶

func (o *SLOHistoryMetrics) SetRespVersion(v int64)

SetRespVersion sets field value.

func (*SLOHistoryMetrics) SetTimes ¶

func (o *SLOHistoryMetrics) SetTimes(v []float64)

SetTimes sets field value.

func (*SLOHistoryMetrics) UnmarshalJSON ¶

func (o *SLOHistoryMetrics) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistoryMetricsSeries ¶

type SLOHistoryMetricsSeries struct {
	// Count of submitted metrics.
	Count int64 `json:"count"`
	// Query metadata.
	Metadata *SLOHistoryMetricsSeriesMetadata `json:"metadata,omitempty"`
	// Total sum of the query.
	Sum float64 `json:"sum"`
	// The query values for each metric.
	Values []float64 `json:"values"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryMetricsSeries A representation of `metric` based SLO time series for the provided queries. This is the same response type from `batch_query` endpoint.

func NewSLOHistoryMetricsSeries ¶

func NewSLOHistoryMetricsSeries(count int64, sum float64, values []float64) *SLOHistoryMetricsSeries

NewSLOHistoryMetricsSeries instantiates a new SLOHistoryMetricsSeries 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 NewSLOHistoryMetricsSeriesWithDefaults ¶

func NewSLOHistoryMetricsSeriesWithDefaults() *SLOHistoryMetricsSeries

NewSLOHistoryMetricsSeriesWithDefaults instantiates a new SLOHistoryMetricsSeries 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 (*SLOHistoryMetricsSeries) GetCount ¶

func (o *SLOHistoryMetricsSeries) GetCount() int64

GetCount returns the Count field value.

func (*SLOHistoryMetricsSeries) GetCountOk ¶

func (o *SLOHistoryMetricsSeries) GetCountOk() (*int64, bool)

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeries) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeries) GetMetadataOk ¶

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeries) GetSum ¶

func (o *SLOHistoryMetricsSeries) GetSum() float64

GetSum returns the Sum field value.

func (*SLOHistoryMetricsSeries) GetSumOk ¶

func (o *SLOHistoryMetricsSeries) GetSumOk() (*float64, bool)

GetSumOk returns a tuple with the Sum field value and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeries) GetValues ¶

func (o *SLOHistoryMetricsSeries) GetValues() []float64

GetValues returns the Values field value.

func (*SLOHistoryMetricsSeries) GetValuesOk ¶

func (o *SLOHistoryMetricsSeries) GetValuesOk() (*[]float64, bool)

GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeries) HasMetadata ¶ added in v1.4.0

func (o *SLOHistoryMetricsSeries) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (SLOHistoryMetricsSeries) MarshalJSON ¶

func (o SLOHistoryMetricsSeries) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryMetricsSeries) SetCount ¶

func (o *SLOHistoryMetricsSeries) SetCount(v int64)

SetCount sets field value.

func (*SLOHistoryMetricsSeries) SetMetadata ¶

SetMetadata gets a reference to the given SLOHistoryMetricsSeriesMetadata and assigns it to the Metadata field.

func (*SLOHistoryMetricsSeries) SetSum ¶

func (o *SLOHistoryMetricsSeries) SetSum(v float64)

SetSum sets field value.

func (*SLOHistoryMetricsSeries) SetValues ¶

func (o *SLOHistoryMetricsSeries) SetValues(v []float64)

SetValues sets field value.

func (*SLOHistoryMetricsSeries) UnmarshalJSON ¶

func (o *SLOHistoryMetricsSeries) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistoryMetricsSeriesMetadata ¶

type SLOHistoryMetricsSeriesMetadata struct {
	// Query aggregator function.
	Aggr *string `json:"aggr,omitempty"`
	// Query expression.
	Expression *string `json:"expression,omitempty"`
	// Query metric used.
	Metric *string `json:"metric,omitempty"`
	// Query index from original combined query.
	QueryIndex *int64 `json:"query_index,omitempty"`
	// Query scope.
	Scope *string `json:"scope,omitempty"`
	// An array of metric units that contains up to two unit objects.
	// For example, bytes represents one unit object and bytes per second represents two unit objects.
	// If a metric query only has one unit object, the second array element is null.
	Unit []SLOHistoryMetricsSeriesMetadataUnit `json:"unit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryMetricsSeriesMetadata Query metadata.

func NewSLOHistoryMetricsSeriesMetadata ¶

func NewSLOHistoryMetricsSeriesMetadata() *SLOHistoryMetricsSeriesMetadata

NewSLOHistoryMetricsSeriesMetadata instantiates a new SLOHistoryMetricsSeriesMetadata 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 NewSLOHistoryMetricsSeriesMetadataWithDefaults ¶

func NewSLOHistoryMetricsSeriesMetadataWithDefaults() *SLOHistoryMetricsSeriesMetadata

NewSLOHistoryMetricsSeriesMetadataWithDefaults instantiates a new SLOHistoryMetricsSeriesMetadata 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 (*SLOHistoryMetricsSeriesMetadata) GetAggr ¶

GetAggr returns the Aggr field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadata) GetAggrOk ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetAggrOk() (*string, bool)

GetAggrOk returns a tuple with the Aggr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeriesMetadata) GetExpression ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetExpression() string

GetExpression returns the Expression field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadata) GetExpressionOk ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetExpressionOk() (*string, bool)

GetExpressionOk returns a tuple with the Expression field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeriesMetadata) GetMetric ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadata) GetMetricOk ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeriesMetadata) GetQueryIndex ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetQueryIndex() int64

GetQueryIndex returns the QueryIndex field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadata) GetQueryIndexOk ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetQueryIndexOk() (*int64, bool)

GetQueryIndexOk returns a tuple with the QueryIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeriesMetadata) GetScope ¶

GetScope returns the Scope field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadata) GetScopeOk ¶

func (o *SLOHistoryMetricsSeriesMetadata) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeriesMetadata) GetUnit ¶

GetUnit returns the Unit field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SLOHistoryMetricsSeriesMetadata) GetUnitOk ¶

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SLOHistoryMetricsSeriesMetadata) HasAggr ¶

HasAggr returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadata) HasExpression ¶

func (o *SLOHistoryMetricsSeriesMetadata) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadata) HasMetric ¶

func (o *SLOHistoryMetricsSeriesMetadata) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadata) HasQueryIndex ¶

func (o *SLOHistoryMetricsSeriesMetadata) HasQueryIndex() bool

HasQueryIndex returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadata) HasScope ¶

func (o *SLOHistoryMetricsSeriesMetadata) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadata) HasUnit ¶

HasUnit returns a boolean if a field has been set.

func (SLOHistoryMetricsSeriesMetadata) MarshalJSON ¶

func (o SLOHistoryMetricsSeriesMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryMetricsSeriesMetadata) SetAggr ¶

SetAggr gets a reference to the given string and assigns it to the Aggr field.

func (*SLOHistoryMetricsSeriesMetadata) SetExpression ¶

func (o *SLOHistoryMetricsSeriesMetadata) SetExpression(v string)

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*SLOHistoryMetricsSeriesMetadata) SetMetric ¶

func (o *SLOHistoryMetricsSeriesMetadata) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*SLOHistoryMetricsSeriesMetadata) SetQueryIndex ¶

func (o *SLOHistoryMetricsSeriesMetadata) SetQueryIndex(v int64)

SetQueryIndex gets a reference to the given int64 and assigns it to the QueryIndex field.

func (*SLOHistoryMetricsSeriesMetadata) SetScope ¶

func (o *SLOHistoryMetricsSeriesMetadata) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*SLOHistoryMetricsSeriesMetadata) SetUnit ¶

SetUnit gets a reference to the given []SLOHistoryMetricsSeriesMetadataUnit and assigns it to the Unit field.

func (*SLOHistoryMetricsSeriesMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOHistoryMetricsSeriesMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistoryMetricsSeriesMetadataUnit ¶

type SLOHistoryMetricsSeriesMetadataUnit struct {
	// The family of metric unit, for example `bytes` is the family for `kibibyte`, `byte`, and `bit` units.
	Family *string `json:"family,omitempty"`
	// The ID of the metric unit.
	Id *int64 `json:"id,omitempty"`
	// The unit of the metric, for instance `byte`.
	Name *string `json:"name,omitempty"`
	// The plural Unit of metric, for instance `bytes`.
	Plural NullableString `json:"plural,omitempty"`
	// The scale factor of metric unit, for instance `1.0`.
	ScaleFactor *float64 `json:"scale_factor,omitempty"`
	// A shorter and abbreviated version of the metric unit, for instance `B`.
	ShortName NullableString `json:"short_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryMetricsSeriesMetadataUnit An Object of metric units.

func NewSLOHistoryMetricsSeriesMetadataUnit ¶

func NewSLOHistoryMetricsSeriesMetadataUnit() *SLOHistoryMetricsSeriesMetadataUnit

NewSLOHistoryMetricsSeriesMetadataUnit instantiates a new SLOHistoryMetricsSeriesMetadataUnit 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 NewSLOHistoryMetricsSeriesMetadataUnitWithDefaults ¶

func NewSLOHistoryMetricsSeriesMetadataUnitWithDefaults() *SLOHistoryMetricsSeriesMetadataUnit

NewSLOHistoryMetricsSeriesMetadataUnitWithDefaults instantiates a new SLOHistoryMetricsSeriesMetadataUnit 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 (*SLOHistoryMetricsSeriesMetadataUnit) GetFamily ¶

GetFamily returns the Family field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadataUnit) GetFamilyOk ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) GetFamilyOk() (*string, bool)

GetFamilyOk returns a tuple with the Family field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeriesMetadataUnit) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadataUnit) GetIdOk ¶

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 (*SLOHistoryMetricsSeriesMetadataUnit) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadataUnit) GetNameOk ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) 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 (*SLOHistoryMetricsSeriesMetadataUnit) GetPlural ¶

GetPlural returns the Plural field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SLOHistoryMetricsSeriesMetadataUnit) GetPluralOk ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) GetPluralOk() (*string, bool)

GetPluralOk returns a tuple with the Plural field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SLOHistoryMetricsSeriesMetadataUnit) GetScaleFactor ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) GetScaleFactor() float64

GetScaleFactor returns the ScaleFactor field value if set, zero value otherwise.

func (*SLOHistoryMetricsSeriesMetadataUnit) GetScaleFactorOk ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) GetScaleFactorOk() (*float64, bool)

GetScaleFactorOk returns a tuple with the ScaleFactor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMetricsSeriesMetadataUnit) GetShortName ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) GetShortName() string

GetShortName returns the ShortName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SLOHistoryMetricsSeriesMetadataUnit) GetShortNameOk ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) GetShortNameOk() (*string, bool)

GetShortNameOk returns a tuple with the ShortName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SLOHistoryMetricsSeriesMetadataUnit) HasFamily ¶

HasFamily returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadataUnit) HasId ¶

HasId returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadataUnit) HasName ¶

HasName returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadataUnit) HasPlural ¶

HasPlural returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadataUnit) HasScaleFactor ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) HasScaleFactor() bool

HasScaleFactor returns a boolean if a field has been set.

func (*SLOHistoryMetricsSeriesMetadataUnit) HasShortName ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) HasShortName() bool

HasShortName returns a boolean if a field has been set.

func (SLOHistoryMetricsSeriesMetadataUnit) MarshalJSON ¶

func (o SLOHistoryMetricsSeriesMetadataUnit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetFamily ¶

SetFamily gets a reference to the given string and assigns it to the Family field.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetId ¶

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetPlural ¶

SetPlural gets a reference to the given NullableString and assigns it to the Plural field.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetPluralNil ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) SetPluralNil()

SetPluralNil sets the value for Plural to be an explicit nil.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetScaleFactor ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) SetScaleFactor(v float64)

SetScaleFactor gets a reference to the given float64 and assigns it to the ScaleFactor field.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetShortName ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) SetShortName(v string)

SetShortName gets a reference to the given NullableString and assigns it to the ShortName field.

func (*SLOHistoryMetricsSeriesMetadataUnit) SetShortNameNil ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) SetShortNameNil()

SetShortNameNil sets the value for ShortName to be an explicit nil.

func (*SLOHistoryMetricsSeriesMetadataUnit) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOHistoryMetricsSeriesMetadataUnit) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*SLOHistoryMetricsSeriesMetadataUnit) UnsetPlural ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) UnsetPlural()

UnsetPlural ensures that no value is present for Plural, not even an explicit nil.

func (*SLOHistoryMetricsSeriesMetadataUnit) UnsetShortName ¶

func (o *SLOHistoryMetricsSeriesMetadataUnit) UnsetShortName()

UnsetShortName ensures that no value is present for ShortName, not even an explicit nil.

type SLOHistoryMonitor ¶ added in v1.4.0

type SLOHistoryMonitor struct {
	// A mapping of threshold `timeframe` to the remaining error budget.
	ErrorBudgetRemaining map[string]float64 `json:"error_budget_remaining,omitempty"`
	// An array of error objects returned while querying the history data for the service level objective.
	Errors []SLOHistoryResponseErrorWithType `json:"errors,omitempty"`
	// For groups in a grouped SLO, this is the group name.
	Group *string `json:"group,omitempty"`
	// For `monitor` based SLOs, this includes the aggregated history as arrays that include time series and uptime data where `0=monitor` is in `OK` state and `1=monitor` is in `alert` state.
	History [][]float64 `json:"history,omitempty"`
	// For `monitor` based SLOs, this is the last modified timestamp in epoch seconds of the monitor.
	MonitorModified *int64 `json:"monitor_modified,omitempty"`
	// For `monitor` based SLOs, this describes the type of monitor.
	MonitorType *string `json:"monitor_type,omitempty"`
	// For groups in a grouped SLO, this is the group name. For monitors in a multi-monitor SLO, this is the monitor name.
	Name *string `json:"name,omitempty"`
	// The amount of decimal places the SLI value is accurate to for the given from `&&` to timestamp. Use `span_precision` instead.
	// Deprecated
	Precision *float64 `json:"precision,omitempty"`
	// For `monitor` based SLOs, when `true` this indicates that a replay is in progress to give an accurate uptime
	// calculation.
	Preview *bool `json:"preview,omitempty"`
	// The current SLI value of the SLO over the history window.
	SliValue *float64 `json:"sli_value,omitempty"`
	// The amount of decimal places the SLI value is accurate to for the given from `&&` to timestamp.
	SpanPrecision *float64 `json:"span_precision,omitempty"`
	// Use `sli_value` instead.
	// Deprecated
	Uptime *float64 `json:"uptime,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryMonitor An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.

func NewSLOHistoryMonitor ¶ added in v1.4.0

func NewSLOHistoryMonitor() *SLOHistoryMonitor

NewSLOHistoryMonitor instantiates a new SLOHistoryMonitor 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 NewSLOHistoryMonitorWithDefaults ¶ added in v1.4.0

func NewSLOHistoryMonitorWithDefaults() *SLOHistoryMonitor

NewSLOHistoryMonitorWithDefaults instantiates a new SLOHistoryMonitor 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 (*SLOHistoryMonitor) GetErrorBudgetRemaining ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetErrorBudgetRemaining() map[string]float64

GetErrorBudgetRemaining returns the ErrorBudgetRemaining field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetErrorBudgetRemainingOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetErrorBudgetRemainingOk() (*map[string]float64, bool)

GetErrorBudgetRemainingOk returns a tuple with the ErrorBudgetRemaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetErrors ¶ added in v1.4.0

GetErrors returns the Errors field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetErrorsOk ¶ added in v1.4.0

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetGroup ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetGroupOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetHistory ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetHistory() [][]float64

GetHistory returns the History field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetHistoryOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetHistoryOk() (*[][]float64, bool)

GetHistoryOk returns a tuple with the History field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetMonitorModified ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetMonitorModified() int64

GetMonitorModified returns the MonitorModified field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetMonitorModifiedOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetMonitorModifiedOk() (*int64, bool)

GetMonitorModifiedOk returns a tuple with the MonitorModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetMonitorType ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetMonitorType() string

GetMonitorType returns the MonitorType field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetMonitorTypeOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetMonitorTypeOk() (*string, bool)

GetMonitorTypeOk returns a tuple with the MonitorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetName ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetNameOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) 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 (*SLOHistoryMonitor) GetPrecision ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetPrecision() float64

GetPrecision returns the Precision field value if set, zero value otherwise. Deprecated

func (*SLOHistoryMonitor) GetPrecisionOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetPrecisionOk() (*float64, bool)

GetPrecisionOk returns a tuple with the Precision field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*SLOHistoryMonitor) GetPreview ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetPreview() bool

GetPreview returns the Preview field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetPreviewOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetPreviewOk() (*bool, bool)

GetPreviewOk returns a tuple with the Preview field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetSliValue ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetSliValue() float64

GetSliValue returns the SliValue field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetSliValueOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetSliValueOk() (*float64, bool)

GetSliValueOk returns a tuple with the SliValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetSpanPrecision ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetSpanPrecision() float64

GetSpanPrecision returns the SpanPrecision field value if set, zero value otherwise.

func (*SLOHistoryMonitor) GetSpanPrecisionOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetSpanPrecisionOk() (*float64, bool)

GetSpanPrecisionOk returns a tuple with the SpanPrecision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryMonitor) GetUptime ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetUptime() float64

GetUptime returns the Uptime field value if set, zero value otherwise. Deprecated

func (*SLOHistoryMonitor) GetUptimeOk ¶ added in v1.4.0

func (o *SLOHistoryMonitor) GetUptimeOk() (*float64, bool)

GetUptimeOk returns a tuple with the Uptime field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*SLOHistoryMonitor) HasErrorBudgetRemaining ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasErrorBudgetRemaining() bool

HasErrorBudgetRemaining returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasErrors ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasGroup ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasHistory ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasHistory() bool

HasHistory returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasMonitorModified ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasMonitorModified() bool

HasMonitorModified returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasMonitorType ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasMonitorType() bool

HasMonitorType returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasName ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasName() bool

HasName returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasPrecision ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasPreview ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasPreview() bool

HasPreview returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasSliValue ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasSliValue() bool

HasSliValue returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasSpanPrecision ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasSpanPrecision() bool

HasSpanPrecision returns a boolean if a field has been set.

func (*SLOHistoryMonitor) HasUptime ¶ added in v1.4.0

func (o *SLOHistoryMonitor) HasUptime() bool

HasUptime returns a boolean if a field has been set.

func (SLOHistoryMonitor) MarshalJSON ¶ added in v1.4.0

func (o SLOHistoryMonitor) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryMonitor) SetErrorBudgetRemaining ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetErrorBudgetRemaining(v map[string]float64)

SetErrorBudgetRemaining gets a reference to the given map[string]float64 and assigns it to the ErrorBudgetRemaining field.

func (*SLOHistoryMonitor) SetErrors ¶ added in v1.4.0

SetErrors gets a reference to the given []SLOHistoryResponseErrorWithType and assigns it to the Errors field.

func (*SLOHistoryMonitor) SetGroup ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*SLOHistoryMonitor) SetHistory ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetHistory(v [][]float64)

SetHistory gets a reference to the given [][]float64 and assigns it to the History field.

func (*SLOHistoryMonitor) SetMonitorModified ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetMonitorModified(v int64)

SetMonitorModified gets a reference to the given int64 and assigns it to the MonitorModified field.

func (*SLOHistoryMonitor) SetMonitorType ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetMonitorType(v string)

SetMonitorType gets a reference to the given string and assigns it to the MonitorType field.

func (*SLOHistoryMonitor) SetName ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SLOHistoryMonitor) SetPrecision ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetPrecision(v float64)

SetPrecision gets a reference to the given float64 and assigns it to the Precision field. Deprecated

func (*SLOHistoryMonitor) SetPreview ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetPreview(v bool)

SetPreview gets a reference to the given bool and assigns it to the Preview field.

func (*SLOHistoryMonitor) SetSliValue ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetSliValue(v float64)

SetSliValue gets a reference to the given float64 and assigns it to the SliValue field.

func (*SLOHistoryMonitor) SetSpanPrecision ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetSpanPrecision(v float64)

SetSpanPrecision gets a reference to the given float64 and assigns it to the SpanPrecision field.

func (*SLOHistoryMonitor) SetUptime ¶ added in v1.4.0

func (o *SLOHistoryMonitor) SetUptime(v float64)

SetUptime gets a reference to the given float64 and assigns it to the Uptime field. Deprecated

func (*SLOHistoryMonitor) UnmarshalJSON ¶ added in v1.4.0

func (o *SLOHistoryMonitor) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistoryResponse ¶

type SLOHistoryResponse struct {
	// An array of service level objective objects.
	Data *SLOHistoryResponseData `json:"data,omitempty"`
	// A list of errors while querying the history data for the service level objective.
	Errors []SLOHistoryResponseError `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryResponse A service level objective history response.

func NewSLOHistoryResponse ¶

func NewSLOHistoryResponse() *SLOHistoryResponse

NewSLOHistoryResponse instantiates a new SLOHistoryResponse 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 NewSLOHistoryResponseWithDefaults ¶

func NewSLOHistoryResponseWithDefaults() *SLOHistoryResponse

NewSLOHistoryResponseWithDefaults instantiates a new SLOHistoryResponse 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 (*SLOHistoryResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*SLOHistoryResponse) GetDataOk ¶

func (o *SLOHistoryResponse) GetDataOk() (*SLOHistoryResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponse) GetErrors ¶

GetErrors returns the Errors field value if set, zero value otherwise.

func (*SLOHistoryResponse) GetErrorsOk ¶

func (o *SLOHistoryResponse) GetErrorsOk() (*[]SLOHistoryResponseError, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponse) HasData ¶

func (o *SLOHistoryResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SLOHistoryResponse) HasErrors ¶

func (o *SLOHistoryResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (SLOHistoryResponse) MarshalJSON ¶

func (o SLOHistoryResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryResponse) SetData ¶

SetData gets a reference to the given SLOHistoryResponseData and assigns it to the Data field.

func (*SLOHistoryResponse) SetErrors ¶

func (o *SLOHistoryResponse) SetErrors(v []SLOHistoryResponseError)

SetErrors gets a reference to the given []SLOHistoryResponseError and assigns it to the Errors field.

func (*SLOHistoryResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOHistoryResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistoryResponseData ¶

type SLOHistoryResponseData struct {
	// The `from` timestamp in epoch seconds.
	FromTs *int64 `json:"from_ts,omitempty"`
	// For `metric` based SLOs where the query includes a group-by clause, this represents the list of grouping parameters.
	//
	// This is not included in responses for `monitor` based SLOs.
	GroupBy []string `json:"group_by,omitempty"`
	// For grouped SLOs, this represents SLI data for specific groups.
	//
	// This is not included in the responses for `metric` based SLOs.
	Groups []SLOHistoryMonitor `json:"groups,omitempty"`
	// For multi-monitor SLOs, this represents SLI data for specific monitors.
	//
	// This is not included in the responses for `metric` based SLOs.
	Monitors []SLOHistoryMonitor `json:"monitors,omitempty"`
	// An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value.
	// This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.
	Overall *SLOHistorySLIData `json:"overall,omitempty"`
	// A `metric` based SLO history response.
	//
	// This is not included in responses for `monitor` based SLOs.
	Series *SLOHistoryMetrics `json:"series,omitempty"`
	// mapping of string timeframe to the SLO threshold.
	Thresholds map[string]SLOThreshold `json:"thresholds,omitempty"`
	// The `to` timestamp in epoch seconds.
	ToTs *int64 `json:"to_ts,omitempty"`
	// The type of the service level objective.
	Type *SLOType `json:"type,omitempty"`
	// A numeric representation of the type of the service level objective (`0` for
	// monitor, `1` for metric). Always included in service level objective responses.
	// Ignored in create/update requests.
	TypeId *SLOTypeNumeric `json:"type_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryResponseData An array of service level objective objects.

func NewSLOHistoryResponseData ¶

func NewSLOHistoryResponseData() *SLOHistoryResponseData

NewSLOHistoryResponseData instantiates a new SLOHistoryResponseData 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 NewSLOHistoryResponseDataWithDefaults ¶

func NewSLOHistoryResponseDataWithDefaults() *SLOHistoryResponseData

NewSLOHistoryResponseDataWithDefaults instantiates a new SLOHistoryResponseData 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 (*SLOHistoryResponseData) GetFromTs ¶

func (o *SLOHistoryResponseData) GetFromTs() int64

GetFromTs returns the FromTs field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetFromTsOk ¶

func (o *SLOHistoryResponseData) GetFromTsOk() (*int64, bool)

GetFromTsOk returns a tuple with the FromTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetGroupBy ¶

func (o *SLOHistoryResponseData) GetGroupBy() []string

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetGroupByOk ¶

func (o *SLOHistoryResponseData) GetGroupByOk() (*[]string, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetGroups ¶

func (o *SLOHistoryResponseData) GetGroups() []SLOHistoryMonitor

GetGroups returns the Groups field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetGroupsOk ¶

func (o *SLOHistoryResponseData) GetGroupsOk() (*[]SLOHistoryMonitor, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetMonitors ¶

func (o *SLOHistoryResponseData) GetMonitors() []SLOHistoryMonitor

GetMonitors returns the Monitors field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetMonitorsOk ¶

func (o *SLOHistoryResponseData) GetMonitorsOk() (*[]SLOHistoryMonitor, bool)

GetMonitorsOk returns a tuple with the Monitors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetOverall ¶

func (o *SLOHistoryResponseData) GetOverall() SLOHistorySLIData

GetOverall returns the Overall field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetOverallOk ¶

func (o *SLOHistoryResponseData) GetOverallOk() (*SLOHistorySLIData, bool)

GetOverallOk returns a tuple with the Overall field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetSeries ¶

GetSeries returns the Series field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetSeriesOk ¶

func (o *SLOHistoryResponseData) GetSeriesOk() (*SLOHistoryMetrics, bool)

GetSeriesOk returns a tuple with the Series field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetThresholds ¶

func (o *SLOHistoryResponseData) GetThresholds() map[string]SLOThreshold

GetThresholds returns the Thresholds field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetThresholdsOk ¶

func (o *SLOHistoryResponseData) GetThresholdsOk() (*map[string]SLOThreshold, bool)

GetThresholdsOk returns a tuple with the Thresholds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetToTs ¶

func (o *SLOHistoryResponseData) GetToTs() int64

GetToTs returns the ToTs field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetToTsOk ¶

func (o *SLOHistoryResponseData) GetToTsOk() (*int64, bool)

GetToTsOk returns a tuple with the ToTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetType ¶

func (o *SLOHistoryResponseData) GetType() SLOType

GetType returns the Type field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetTypeId ¶

func (o *SLOHistoryResponseData) GetTypeId() SLOTypeNumeric

GetTypeId returns the TypeId field value if set, zero value otherwise.

func (*SLOHistoryResponseData) GetTypeIdOk ¶

func (o *SLOHistoryResponseData) GetTypeIdOk() (*SLOTypeNumeric, bool)

GetTypeIdOk returns a tuple with the TypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) GetTypeOk ¶

func (o *SLOHistoryResponseData) GetTypeOk() (*SLOType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseData) HasFromTs ¶

func (o *SLOHistoryResponseData) HasFromTs() bool

HasFromTs returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasGroupBy ¶

func (o *SLOHistoryResponseData) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasGroups ¶

func (o *SLOHistoryResponseData) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasMonitors ¶

func (o *SLOHistoryResponseData) HasMonitors() bool

HasMonitors returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasOverall ¶

func (o *SLOHistoryResponseData) HasOverall() bool

HasOverall returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasSeries ¶

func (o *SLOHistoryResponseData) HasSeries() bool

HasSeries returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasThresholds ¶

func (o *SLOHistoryResponseData) HasThresholds() bool

HasThresholds returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasToTs ¶

func (o *SLOHistoryResponseData) HasToTs() bool

HasToTs returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasType ¶

func (o *SLOHistoryResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (*SLOHistoryResponseData) HasTypeId ¶

func (o *SLOHistoryResponseData) HasTypeId() bool

HasTypeId returns a boolean if a field has been set.

func (SLOHistoryResponseData) MarshalJSON ¶

func (o SLOHistoryResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryResponseData) SetFromTs ¶

func (o *SLOHistoryResponseData) SetFromTs(v int64)

SetFromTs gets a reference to the given int64 and assigns it to the FromTs field.

func (*SLOHistoryResponseData) SetGroupBy ¶

func (o *SLOHistoryResponseData) SetGroupBy(v []string)

SetGroupBy gets a reference to the given []string and assigns it to the GroupBy field.

func (*SLOHistoryResponseData) SetGroups ¶

func (o *SLOHistoryResponseData) SetGroups(v []SLOHistoryMonitor)

SetGroups gets a reference to the given []SLOHistoryMonitor and assigns it to the Groups field.

func (*SLOHistoryResponseData) SetMonitors ¶

func (o *SLOHistoryResponseData) SetMonitors(v []SLOHistoryMonitor)

SetMonitors gets a reference to the given []SLOHistoryMonitor and assigns it to the Monitors field.

func (*SLOHistoryResponseData) SetOverall ¶

func (o *SLOHistoryResponseData) SetOverall(v SLOHistorySLIData)

SetOverall gets a reference to the given SLOHistorySLIData and assigns it to the Overall field.

func (*SLOHistoryResponseData) SetSeries ¶

func (o *SLOHistoryResponseData) SetSeries(v SLOHistoryMetrics)

SetSeries gets a reference to the given SLOHistoryMetrics and assigns it to the Series field.

func (*SLOHistoryResponseData) SetThresholds ¶

func (o *SLOHistoryResponseData) SetThresholds(v map[string]SLOThreshold)

SetThresholds gets a reference to the given map[string]SLOThreshold and assigns it to the Thresholds field.

func (*SLOHistoryResponseData) SetToTs ¶

func (o *SLOHistoryResponseData) SetToTs(v int64)

SetToTs gets a reference to the given int64 and assigns it to the ToTs field.

func (*SLOHistoryResponseData) SetType ¶

func (o *SLOHistoryResponseData) SetType(v SLOType)

SetType gets a reference to the given SLOType and assigns it to the Type field.

func (*SLOHistoryResponseData) SetTypeId ¶

func (o *SLOHistoryResponseData) SetTypeId(v SLOTypeNumeric)

SetTypeId gets a reference to the given SLOTypeNumeric and assigns it to the TypeId field.

func (*SLOHistoryResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOHistoryResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistoryResponseError ¶

type SLOHistoryResponseError struct {
	// Human readable error.
	Error *string `json:"error,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryResponseError A list of errors while querying the history data for the service level objective.

func NewSLOHistoryResponseError ¶

func NewSLOHistoryResponseError() *SLOHistoryResponseError

NewSLOHistoryResponseError instantiates a new SLOHistoryResponseError 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 NewSLOHistoryResponseErrorWithDefaults ¶

func NewSLOHistoryResponseErrorWithDefaults() *SLOHistoryResponseError

NewSLOHistoryResponseErrorWithDefaults instantiates a new SLOHistoryResponseError 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 (*SLOHistoryResponseError) GetError ¶

func (o *SLOHistoryResponseError) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*SLOHistoryResponseError) GetErrorOk ¶

func (o *SLOHistoryResponseError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistoryResponseError) HasError ¶

func (o *SLOHistoryResponseError) HasError() bool

HasError returns a boolean if a field has been set.

func (SLOHistoryResponseError) MarshalJSON ¶

func (o SLOHistoryResponseError) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryResponseError) SetError ¶

func (o *SLOHistoryResponseError) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*SLOHistoryResponseError) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOHistoryResponseError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistoryResponseErrorWithType ¶ added in v1.4.0

type SLOHistoryResponseErrorWithType struct {
	// A message with more details about the error.
	ErrorMessage string `json:"error_message"`
	// Type of the error.
	ErrorType string `json:"error_type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistoryResponseErrorWithType An object describing the error with error type and error message.

func NewSLOHistoryResponseErrorWithType ¶ added in v1.4.0

func NewSLOHistoryResponseErrorWithType(errorMessage string, errorType string) *SLOHistoryResponseErrorWithType

NewSLOHistoryResponseErrorWithType instantiates a new SLOHistoryResponseErrorWithType 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 NewSLOHistoryResponseErrorWithTypeWithDefaults ¶ added in v1.4.0

func NewSLOHistoryResponseErrorWithTypeWithDefaults() *SLOHistoryResponseErrorWithType

NewSLOHistoryResponseErrorWithTypeWithDefaults instantiates a new SLOHistoryResponseErrorWithType 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 (*SLOHistoryResponseErrorWithType) GetErrorMessage ¶ added in v1.4.0

func (o *SLOHistoryResponseErrorWithType) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value.

func (*SLOHistoryResponseErrorWithType) GetErrorMessageOk ¶ added in v1.4.0

func (o *SLOHistoryResponseErrorWithType) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value and a boolean to check if the value has been set.

func (*SLOHistoryResponseErrorWithType) GetErrorType ¶ added in v1.4.0

func (o *SLOHistoryResponseErrorWithType) GetErrorType() string

GetErrorType returns the ErrorType field value.

func (*SLOHistoryResponseErrorWithType) GetErrorTypeOk ¶ added in v1.4.0

func (o *SLOHistoryResponseErrorWithType) GetErrorTypeOk() (*string, bool)

GetErrorTypeOk returns a tuple with the ErrorType field value and a boolean to check if the value has been set.

func (SLOHistoryResponseErrorWithType) MarshalJSON ¶ added in v1.4.0

func (o SLOHistoryResponseErrorWithType) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistoryResponseErrorWithType) SetErrorMessage ¶ added in v1.4.0

func (o *SLOHistoryResponseErrorWithType) SetErrorMessage(v string)

SetErrorMessage sets field value.

func (*SLOHistoryResponseErrorWithType) SetErrorType ¶ added in v1.4.0

func (o *SLOHistoryResponseErrorWithType) SetErrorType(v string)

SetErrorType sets field value.

func (*SLOHistoryResponseErrorWithType) UnmarshalJSON ¶ added in v1.4.0

func (o *SLOHistoryResponseErrorWithType) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOHistorySLIData ¶

type SLOHistorySLIData struct {
	// A mapping of threshold `timeframe` to the remaining error budget.
	ErrorBudgetRemaining map[string]float64 `json:"error_budget_remaining,omitempty"`
	// An array of error objects returned while querying the history data for the service level objective.
	Errors []SLOHistoryResponseErrorWithType `json:"errors,omitempty"`
	// For groups in a grouped SLO, this is the group name.
	Group *string `json:"group,omitempty"`
	// For `monitor` based SLOs, this includes the aggregated history as arrays that include time series and uptime data where `0=monitor` is in `OK` state and `1=monitor` is in `alert` state.
	History [][]float64 `json:"history,omitempty"`
	// For `monitor` based SLOs, this is the last modified timestamp in epoch seconds of the monitor.
	MonitorModified *int64 `json:"monitor_modified,omitempty"`
	// For `monitor` based SLOs, this describes the type of monitor.
	MonitorType *string `json:"monitor_type,omitempty"`
	// For groups in a grouped SLO, this is the group name. For monitors in a multi-monitor SLO, this is the monitor name.
	Name *string `json:"name,omitempty"`
	// A mapping of threshold `timeframe` to number of accurate decimals, regardless of the from && to timestamp.
	Precision map[string]float64 `json:"precision,omitempty"`
	// For `monitor` based SLOs, when `true` this indicates that a replay is in progress to give an accurate uptime
	// calculation.
	Preview *bool `json:"preview,omitempty"`
	// The current SLI value of the SLO over the history window.
	SliValue *float64 `json:"sli_value,omitempty"`
	// The amount of decimal places the SLI value is accurate to for the given from `&&` to timestamp.
	SpanPrecision *float64 `json:"span_precision,omitempty"`
	// Use `sli_value` instead.
	// Deprecated
	Uptime *float64 `json:"uptime,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOHistorySLIData An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.

func NewSLOHistorySLIData ¶

func NewSLOHistorySLIData() *SLOHistorySLIData

NewSLOHistorySLIData instantiates a new SLOHistorySLIData 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 NewSLOHistorySLIDataWithDefaults ¶

func NewSLOHistorySLIDataWithDefaults() *SLOHistorySLIData

NewSLOHistorySLIDataWithDefaults instantiates a new SLOHistorySLIData 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 (*SLOHistorySLIData) GetErrorBudgetRemaining ¶

func (o *SLOHistorySLIData) GetErrorBudgetRemaining() map[string]float64

GetErrorBudgetRemaining returns the ErrorBudgetRemaining field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetErrorBudgetRemainingOk ¶

func (o *SLOHistorySLIData) GetErrorBudgetRemainingOk() (*map[string]float64, bool)

GetErrorBudgetRemainingOk returns a tuple with the ErrorBudgetRemaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetErrors ¶

GetErrors returns the Errors field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetErrorsOk ¶

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetGroup ¶

func (o *SLOHistorySLIData) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetGroupOk ¶

func (o *SLOHistorySLIData) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetHistory ¶

func (o *SLOHistorySLIData) GetHistory() [][]float64

GetHistory returns the History field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetHistoryOk ¶

func (o *SLOHistorySLIData) GetHistoryOk() (*[][]float64, bool)

GetHistoryOk returns a tuple with the History field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetMonitorModified ¶

func (o *SLOHistorySLIData) GetMonitorModified() int64

GetMonitorModified returns the MonitorModified field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetMonitorModifiedOk ¶

func (o *SLOHistorySLIData) GetMonitorModifiedOk() (*int64, bool)

GetMonitorModifiedOk returns a tuple with the MonitorModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetMonitorType ¶

func (o *SLOHistorySLIData) GetMonitorType() string

GetMonitorType returns the MonitorType field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetMonitorTypeOk ¶

func (o *SLOHistorySLIData) GetMonitorTypeOk() (*string, bool)

GetMonitorTypeOk returns a tuple with the MonitorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetName ¶

func (o *SLOHistorySLIData) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetNameOk ¶

func (o *SLOHistorySLIData) 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 (*SLOHistorySLIData) GetPrecision ¶

func (o *SLOHistorySLIData) GetPrecision() map[string]float64

GetPrecision returns the Precision field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetPrecisionOk ¶

func (o *SLOHistorySLIData) GetPrecisionOk() (*map[string]float64, bool)

GetPrecisionOk returns a tuple with the Precision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetPreview ¶

func (o *SLOHistorySLIData) GetPreview() bool

GetPreview returns the Preview field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetPreviewOk ¶

func (o *SLOHistorySLIData) GetPreviewOk() (*bool, bool)

GetPreviewOk returns a tuple with the Preview field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetSliValue ¶

func (o *SLOHistorySLIData) GetSliValue() float64

GetSliValue returns the SliValue field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetSliValueOk ¶

func (o *SLOHistorySLIData) GetSliValueOk() (*float64, bool)

GetSliValueOk returns a tuple with the SliValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetSpanPrecision ¶

func (o *SLOHistorySLIData) GetSpanPrecision() float64

GetSpanPrecision returns the SpanPrecision field value if set, zero value otherwise.

func (*SLOHistorySLIData) GetSpanPrecisionOk ¶

func (o *SLOHistorySLIData) GetSpanPrecisionOk() (*float64, bool)

GetSpanPrecisionOk returns a tuple with the SpanPrecision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOHistorySLIData) GetUptime ¶

func (o *SLOHistorySLIData) GetUptime() float64

GetUptime returns the Uptime field value if set, zero value otherwise. Deprecated

func (*SLOHistorySLIData) GetUptimeOk ¶

func (o *SLOHistorySLIData) GetUptimeOk() (*float64, bool)

GetUptimeOk returns a tuple with the Uptime field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*SLOHistorySLIData) HasErrorBudgetRemaining ¶

func (o *SLOHistorySLIData) HasErrorBudgetRemaining() bool

HasErrorBudgetRemaining returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasErrors ¶

func (o *SLOHistorySLIData) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasGroup ¶

func (o *SLOHistorySLIData) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasHistory ¶

func (o *SLOHistorySLIData) HasHistory() bool

HasHistory returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasMonitorModified ¶

func (o *SLOHistorySLIData) HasMonitorModified() bool

HasMonitorModified returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasMonitorType ¶

func (o *SLOHistorySLIData) HasMonitorType() bool

HasMonitorType returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasName ¶

func (o *SLOHistorySLIData) HasName() bool

HasName returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasPrecision ¶

func (o *SLOHistorySLIData) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasPreview ¶

func (o *SLOHistorySLIData) HasPreview() bool

HasPreview returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasSliValue ¶

func (o *SLOHistorySLIData) HasSliValue() bool

HasSliValue returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasSpanPrecision ¶

func (o *SLOHistorySLIData) HasSpanPrecision() bool

HasSpanPrecision returns a boolean if a field has been set.

func (*SLOHistorySLIData) HasUptime ¶

func (o *SLOHistorySLIData) HasUptime() bool

HasUptime returns a boolean if a field has been set.

func (SLOHistorySLIData) MarshalJSON ¶

func (o SLOHistorySLIData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOHistorySLIData) SetErrorBudgetRemaining ¶

func (o *SLOHistorySLIData) SetErrorBudgetRemaining(v map[string]float64)

SetErrorBudgetRemaining gets a reference to the given map[string]float64 and assigns it to the ErrorBudgetRemaining field.

func (*SLOHistorySLIData) SetErrors ¶

SetErrors gets a reference to the given []SLOHistoryResponseErrorWithType and assigns it to the Errors field.

func (*SLOHistorySLIData) SetGroup ¶

func (o *SLOHistorySLIData) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*SLOHistorySLIData) SetHistory ¶

func (o *SLOHistorySLIData) SetHistory(v [][]float64)

SetHistory gets a reference to the given [][]float64 and assigns it to the History field.

func (*SLOHistorySLIData) SetMonitorModified ¶

func (o *SLOHistorySLIData) SetMonitorModified(v int64)

SetMonitorModified gets a reference to the given int64 and assigns it to the MonitorModified field.

func (*SLOHistorySLIData) SetMonitorType ¶

func (o *SLOHistorySLIData) SetMonitorType(v string)

SetMonitorType gets a reference to the given string and assigns it to the MonitorType field.

func (*SLOHistorySLIData) SetName ¶

func (o *SLOHistorySLIData) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SLOHistorySLIData) SetPrecision ¶

func (o *SLOHistorySLIData) SetPrecision(v map[string]float64)

SetPrecision gets a reference to the given map[string]float64 and assigns it to the Precision field.

func (*SLOHistorySLIData) SetPreview ¶

func (o *SLOHistorySLIData) SetPreview(v bool)

SetPreview gets a reference to the given bool and assigns it to the Preview field.

func (*SLOHistorySLIData) SetSliValue ¶

func (o *SLOHistorySLIData) SetSliValue(v float64)

SetSliValue gets a reference to the given float64 and assigns it to the SliValue field.

func (*SLOHistorySLIData) SetSpanPrecision ¶

func (o *SLOHistorySLIData) SetSpanPrecision(v float64)

SetSpanPrecision gets a reference to the given float64 and assigns it to the SpanPrecision field.

func (*SLOHistorySLIData) SetUptime ¶

func (o *SLOHistorySLIData) SetUptime(v float64)

SetUptime gets a reference to the given float64 and assigns it to the Uptime field. Deprecated

func (*SLOHistorySLIData) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOHistorySLIData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOListResponse ¶

type SLOListResponse struct {
	// An array of service level objective objects.
	Data []ServiceLevelObjective `json:"data,omitempty"`
	// An array of error messages. Each endpoint documents how/whether this field is
	// used.
	Errors []string `json:"errors,omitempty"`
	// The metadata object containing additional information about the list of SLOs.
	Metadata *SLOListResponseMetadata `json:"metadata,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOListResponse A response with one or more service level objective.

func NewSLOListResponse ¶

func NewSLOListResponse() *SLOListResponse

NewSLOListResponse instantiates a new SLOListResponse 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 NewSLOListResponseWithDefaults ¶

func NewSLOListResponseWithDefaults() *SLOListResponse

NewSLOListResponseWithDefaults instantiates a new SLOListResponse 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 (*SLOListResponse) GetData ¶

func (o *SLOListResponse) GetData() []ServiceLevelObjective

GetData returns the Data field value if set, zero value otherwise.

func (*SLOListResponse) GetDataOk ¶

func (o *SLOListResponse) GetDataOk() (*[]ServiceLevelObjective, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOListResponse) GetErrors ¶

func (o *SLOListResponse) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*SLOListResponse) GetErrorsOk ¶

func (o *SLOListResponse) GetErrorsOk() (*[]string, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOListResponse) GetMetadata ¶

func (o *SLOListResponse) GetMetadata() SLOListResponseMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SLOListResponse) GetMetadataOk ¶

func (o *SLOListResponse) GetMetadataOk() (*SLOListResponseMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOListResponse) HasData ¶

func (o *SLOListResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SLOListResponse) HasErrors ¶

func (o *SLOListResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*SLOListResponse) HasMetadata ¶

func (o *SLOListResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (SLOListResponse) MarshalJSON ¶

func (o SLOListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOListResponse) SetData ¶

func (o *SLOListResponse) SetData(v []ServiceLevelObjective)

SetData gets a reference to the given []ServiceLevelObjective and assigns it to the Data field.

func (*SLOListResponse) SetErrors ¶

func (o *SLOListResponse) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*SLOListResponse) SetMetadata ¶

func (o *SLOListResponse) SetMetadata(v SLOListResponseMetadata)

SetMetadata gets a reference to the given SLOListResponseMetadata and assigns it to the Metadata field.

func (*SLOListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOListResponseMetadata ¶

type SLOListResponseMetadata struct {
	// The object containing information about the pages of the list of SLOs.
	Page *SLOListResponseMetadataPage `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOListResponseMetadata The metadata object containing additional information about the list of SLOs.

func NewSLOListResponseMetadata ¶

func NewSLOListResponseMetadata() *SLOListResponseMetadata

NewSLOListResponseMetadata instantiates a new SLOListResponseMetadata 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 NewSLOListResponseMetadataWithDefaults ¶

func NewSLOListResponseMetadataWithDefaults() *SLOListResponseMetadata

NewSLOListResponseMetadataWithDefaults instantiates a new SLOListResponseMetadata 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 (*SLOListResponseMetadata) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*SLOListResponseMetadata) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOListResponseMetadata) HasPage ¶

func (o *SLOListResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (SLOListResponseMetadata) MarshalJSON ¶

func (o SLOListResponseMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOListResponseMetadata) SetPage ¶

SetPage gets a reference to the given SLOListResponseMetadataPage and assigns it to the Page field.

func (*SLOListResponseMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOListResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOListResponseMetadataPage ¶

type SLOListResponseMetadataPage struct {
	// The total number of resources that could be retrieved ignoring the parameters and filters in the request.
	TotalCount *int64 `json:"total_count,omitempty"`
	// The total number of resources that match the parameters and filters in the request. This attribute can be used by a client to determine the total number of pages.
	TotalFilteredCount *int64 `json:"total_filtered_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOListResponseMetadataPage The object containing information about the pages of the list of SLOs.

func NewSLOListResponseMetadataPage ¶

func NewSLOListResponseMetadataPage() *SLOListResponseMetadataPage

NewSLOListResponseMetadataPage instantiates a new SLOListResponseMetadataPage 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 NewSLOListResponseMetadataPageWithDefaults ¶

func NewSLOListResponseMetadataPageWithDefaults() *SLOListResponseMetadataPage

NewSLOListResponseMetadataPageWithDefaults instantiates a new SLOListResponseMetadataPage 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 (*SLOListResponseMetadataPage) GetTotalCount ¶

func (o *SLOListResponseMetadataPage) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*SLOListResponseMetadataPage) GetTotalCountOk ¶

func (o *SLOListResponseMetadataPage) GetTotalCountOk() (*int64, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOListResponseMetadataPage) GetTotalFilteredCount ¶

func (o *SLOListResponseMetadataPage) GetTotalFilteredCount() int64

GetTotalFilteredCount returns the TotalFilteredCount field value if set, zero value otherwise.

func (*SLOListResponseMetadataPage) GetTotalFilteredCountOk ¶

func (o *SLOListResponseMetadataPage) GetTotalFilteredCountOk() (*int64, bool)

GetTotalFilteredCountOk returns a tuple with the TotalFilteredCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOListResponseMetadataPage) HasTotalCount ¶

func (o *SLOListResponseMetadataPage) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (*SLOListResponseMetadataPage) HasTotalFilteredCount ¶

func (o *SLOListResponseMetadataPage) HasTotalFilteredCount() bool

HasTotalFilteredCount returns a boolean if a field has been set.

func (SLOListResponseMetadataPage) MarshalJSON ¶

func (o SLOListResponseMetadataPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOListResponseMetadataPage) SetTotalCount ¶

func (o *SLOListResponseMetadataPage) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*SLOListResponseMetadataPage) SetTotalFilteredCount ¶

func (o *SLOListResponseMetadataPage) SetTotalFilteredCount(v int64)

SetTotalFilteredCount gets a reference to the given int64 and assigns it to the TotalFilteredCount field.

func (*SLOListResponseMetadataPage) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOListResponseMetadataPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOResponse ¶

type SLOResponse struct {
	// A service level objective object includes a service level indicator, thresholds
	// for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.).
	Data *SLOResponseData `json:"data,omitempty"`
	// An array of error messages. Each endpoint documents how/whether this field is
	// used.
	Errors []string `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOResponse A service level objective response containing a single service level objective.

func NewSLOResponse ¶

func NewSLOResponse() *SLOResponse

NewSLOResponse instantiates a new SLOResponse 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 NewSLOResponseWithDefaults ¶

func NewSLOResponseWithDefaults() *SLOResponse

NewSLOResponseWithDefaults instantiates a new SLOResponse 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 (*SLOResponse) GetData ¶

func (o *SLOResponse) GetData() SLOResponseData

GetData returns the Data field value if set, zero value otherwise.

func (*SLOResponse) GetDataOk ¶

func (o *SLOResponse) GetDataOk() (*SLOResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponse) GetErrors ¶

func (o *SLOResponse) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*SLOResponse) GetErrorsOk ¶

func (o *SLOResponse) GetErrorsOk() (*[]string, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponse) HasData ¶

func (o *SLOResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*SLOResponse) HasErrors ¶

func (o *SLOResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (SLOResponse) MarshalJSON ¶

func (o SLOResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOResponse) SetData ¶

func (o *SLOResponse) SetData(v SLOResponseData)

SetData gets a reference to the given SLOResponseData and assigns it to the Data field.

func (*SLOResponse) SetErrors ¶

func (o *SLOResponse) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (*SLOResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOResponseData ¶

type SLOResponseData struct {
	// A list of SLO monitors IDs that reference this SLO. This field is returned only when `with_configured_alert_ids` parameter is true in query.
	ConfiguredAlertIds []int64 `json:"configured_alert_ids,omitempty"`
	// Creation timestamp (UNIX time in seconds)
	//
	// Always included in service level objective responses.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Object describing the creator of the shared element.
	Creator *Creator `json:"creator,omitempty"`
	// A user-defined description of the service level objective.
	//
	// Always included in service level objective responses (but may be `null`).
	// Optional in create/update requests.
	Description NullableString `json:"description,omitempty"`
	// A list of (up to 20) monitor groups that narrow the scope of a monitor service level objective.
	//
	// Included in service level objective responses if it is not empty. Optional in
	// create/update requests for monitor service level objectives, but may only be
	// used when then length of the `monitor_ids` field is one.
	Groups []string `json:"groups,omitempty"`
	// A unique identifier for the service level objective object.
	//
	// Always included in service level objective responses.
	Id *string `json:"id,omitempty"`
	// Modification timestamp (UNIX time in seconds)
	//
	// Always included in service level objective responses.
	ModifiedAt *int64 `json:"modified_at,omitempty"`
	// A list of monitor ids that defines the scope of a monitor service level
	// objective. **Required if type is `monitor`**.
	MonitorIds []int64 `json:"monitor_ids,omitempty"`
	// The union of monitor tags for all monitors referenced by the `monitor_ids`
	// field.
	// Always included in service level objective responses for monitor service level
	// objectives (but may be empty). Ignored in create/update requests. Does not
	// affect which monitors are included in the service level objective (that is
	// determined entirely by the `monitor_ids` field).
	MonitorTags []string `json:"monitor_tags,omitempty"`
	// The name of the service level objective object.
	Name *string `json:"name,omitempty"`
	// A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator
	// to be used because this will sum up all request counts instead of averaging them, or taking the max or
	// min of all of those requests.
	Query *ServiceLevelObjectiveQuery `json:"query,omitempty"`
	// A list of tags associated with this service level objective.
	// Always included in service level objective responses (but may be empty).
	// Optional in create/update requests.
	Tags []string `json:"tags,omitempty"`
	// The thresholds (timeframes and associated targets) for this service level
	// objective object.
	Thresholds []SLOThreshold `json:"thresholds,omitempty"`
	// The type of the service level objective.
	Type *SLOType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOResponseData A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.).

func NewSLOResponseData ¶

func NewSLOResponseData() *SLOResponseData

NewSLOResponseData instantiates a new SLOResponseData 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 NewSLOResponseDataWithDefaults ¶

func NewSLOResponseDataWithDefaults() *SLOResponseData

NewSLOResponseDataWithDefaults instantiates a new SLOResponseData 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 (*SLOResponseData) GetConfiguredAlertIds ¶

func (o *SLOResponseData) GetConfiguredAlertIds() []int64

GetConfiguredAlertIds returns the ConfiguredAlertIds field value if set, zero value otherwise.

func (*SLOResponseData) GetConfiguredAlertIdsOk ¶

func (o *SLOResponseData) GetConfiguredAlertIdsOk() (*[]int64, bool)

GetConfiguredAlertIdsOk returns a tuple with the ConfiguredAlertIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetCreatedAt ¶

func (o *SLOResponseData) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SLOResponseData) GetCreatedAtOk ¶

func (o *SLOResponseData) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetCreator ¶

func (o *SLOResponseData) GetCreator() Creator

GetCreator returns the Creator field value if set, zero value otherwise.

func (*SLOResponseData) GetCreatorOk ¶

func (o *SLOResponseData) GetCreatorOk() (*Creator, 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 (*SLOResponseData) GetDescription ¶

func (o *SLOResponseData) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SLOResponseData) GetDescriptionOk ¶

func (o *SLOResponseData) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SLOResponseData) GetGroups ¶

func (o *SLOResponseData) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*SLOResponseData) GetGroupsOk ¶

func (o *SLOResponseData) GetGroupsOk() (*[]string, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetId ¶

func (o *SLOResponseData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SLOResponseData) GetIdOk ¶

func (o *SLOResponseData) 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 (*SLOResponseData) GetModifiedAt ¶

func (o *SLOResponseData) GetModifiedAt() int64

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*SLOResponseData) GetModifiedAtOk ¶

func (o *SLOResponseData) GetModifiedAtOk() (*int64, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetMonitorIds ¶

func (o *SLOResponseData) GetMonitorIds() []int64

GetMonitorIds returns the MonitorIds field value if set, zero value otherwise.

func (*SLOResponseData) GetMonitorIdsOk ¶

func (o *SLOResponseData) GetMonitorIdsOk() (*[]int64, bool)

GetMonitorIdsOk returns a tuple with the MonitorIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetMonitorTags ¶

func (o *SLOResponseData) GetMonitorTags() []string

GetMonitorTags returns the MonitorTags field value if set, zero value otherwise.

func (*SLOResponseData) GetMonitorTagsOk ¶

func (o *SLOResponseData) GetMonitorTagsOk() (*[]string, bool)

GetMonitorTagsOk returns a tuple with the MonitorTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetName ¶

func (o *SLOResponseData) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SLOResponseData) GetNameOk ¶

func (o *SLOResponseData) 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 (*SLOResponseData) GetQuery ¶

GetQuery returns the Query field value if set, zero value otherwise.

func (*SLOResponseData) GetQueryOk ¶

func (o *SLOResponseData) GetQueryOk() (*ServiceLevelObjectiveQuery, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetTags ¶

func (o *SLOResponseData) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SLOResponseData) GetTagsOk ¶

func (o *SLOResponseData) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetThresholds ¶

func (o *SLOResponseData) GetThresholds() []SLOThreshold

GetThresholds returns the Thresholds field value if set, zero value otherwise.

func (*SLOResponseData) GetThresholdsOk ¶

func (o *SLOResponseData) GetThresholdsOk() (*[]SLOThreshold, bool)

GetThresholdsOk returns a tuple with the Thresholds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) GetType ¶

func (o *SLOResponseData) GetType() SLOType

GetType returns the Type field value if set, zero value otherwise.

func (*SLOResponseData) GetTypeOk ¶

func (o *SLOResponseData) GetTypeOk() (*SLOType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOResponseData) HasConfiguredAlertIds ¶

func (o *SLOResponseData) HasConfiguredAlertIds() bool

HasConfiguredAlertIds returns a boolean if a field has been set.

func (*SLOResponseData) HasCreatedAt ¶

func (o *SLOResponseData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SLOResponseData) HasCreator ¶

func (o *SLOResponseData) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*SLOResponseData) HasDescription ¶

func (o *SLOResponseData) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SLOResponseData) HasGroups ¶

func (o *SLOResponseData) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*SLOResponseData) HasId ¶

func (o *SLOResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*SLOResponseData) HasModifiedAt ¶

func (o *SLOResponseData) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*SLOResponseData) HasMonitorIds ¶

func (o *SLOResponseData) HasMonitorIds() bool

HasMonitorIds returns a boolean if a field has been set.

func (*SLOResponseData) HasMonitorTags ¶

func (o *SLOResponseData) HasMonitorTags() bool

HasMonitorTags returns a boolean if a field has been set.

func (*SLOResponseData) HasName ¶

func (o *SLOResponseData) HasName() bool

HasName returns a boolean if a field has been set.

func (*SLOResponseData) HasQuery ¶

func (o *SLOResponseData) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*SLOResponseData) HasTags ¶

func (o *SLOResponseData) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SLOResponseData) HasThresholds ¶

func (o *SLOResponseData) HasThresholds() bool

HasThresholds returns a boolean if a field has been set.

func (*SLOResponseData) HasType ¶

func (o *SLOResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (SLOResponseData) MarshalJSON ¶

func (o SLOResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOResponseData) SetConfiguredAlertIds ¶

func (o *SLOResponseData) SetConfiguredAlertIds(v []int64)

SetConfiguredAlertIds gets a reference to the given []int64 and assigns it to the ConfiguredAlertIds field.

func (*SLOResponseData) SetCreatedAt ¶

func (o *SLOResponseData) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*SLOResponseData) SetCreator ¶

func (o *SLOResponseData) SetCreator(v Creator)

SetCreator gets a reference to the given Creator and assigns it to the Creator field.

func (*SLOResponseData) SetDescription ¶

func (o *SLOResponseData) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*SLOResponseData) SetDescriptionNil ¶

func (o *SLOResponseData) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil.

func (*SLOResponseData) SetGroups ¶

func (o *SLOResponseData) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*SLOResponseData) SetId ¶

func (o *SLOResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SLOResponseData) SetModifiedAt ¶

func (o *SLOResponseData) SetModifiedAt(v int64)

SetModifiedAt gets a reference to the given int64 and assigns it to the ModifiedAt field.

func (*SLOResponseData) SetMonitorIds ¶

func (o *SLOResponseData) SetMonitorIds(v []int64)

SetMonitorIds gets a reference to the given []int64 and assigns it to the MonitorIds field.

func (*SLOResponseData) SetMonitorTags ¶

func (o *SLOResponseData) SetMonitorTags(v []string)

SetMonitorTags gets a reference to the given []string and assigns it to the MonitorTags field.

func (*SLOResponseData) SetName ¶

func (o *SLOResponseData) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SLOResponseData) SetQuery ¶

SetQuery gets a reference to the given ServiceLevelObjectiveQuery and assigns it to the Query field.

func (*SLOResponseData) SetTags ¶

func (o *SLOResponseData) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SLOResponseData) SetThresholds ¶

func (o *SLOResponseData) SetThresholds(v []SLOThreshold)

SetThresholds gets a reference to the given []SLOThreshold and assigns it to the Thresholds field.

func (*SLOResponseData) SetType ¶

func (o *SLOResponseData) SetType(v SLOType)

SetType gets a reference to the given SLOType and assigns it to the Type field.

func (*SLOResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *SLOResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*SLOResponseData) UnsetDescription ¶

func (o *SLOResponseData) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil.

type SLOThreshold ¶

type SLOThreshold struct {
	// The target value for the service level indicator within the corresponding
	// timeframe.
	Target float64 `json:"target"`
	// A string representation of the target that indicates its precision.
	// It uses trailing zeros to show significant decimal places (for example `98.00`).
	//
	// Always included in service level objective responses. Ignored in
	// create/update requests.
	TargetDisplay *string `json:"target_display,omitempty"`
	// The SLO time window options.
	Timeframe SLOTimeframe `json:"timeframe"`
	// The warning value for the service level objective.
	Warning *float64 `json:"warning,omitempty"`
	// A string representation of the warning target (see the description of
	// the `target_display` field for details).
	//
	// Included in service level objective responses if a warning target exists.
	// Ignored in create/update requests.
	WarningDisplay *string `json:"warning_display,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOThreshold SLO thresholds (target and optionally warning) for a single time window.

func NewSLOThreshold ¶

func NewSLOThreshold(target float64, timeframe SLOTimeframe) *SLOThreshold

NewSLOThreshold instantiates a new SLOThreshold 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 NewSLOThresholdWithDefaults ¶

func NewSLOThresholdWithDefaults() *SLOThreshold

NewSLOThresholdWithDefaults instantiates a new SLOThreshold 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 (*SLOThreshold) GetTarget ¶

func (o *SLOThreshold) GetTarget() float64

GetTarget returns the Target field value.

func (*SLOThreshold) GetTargetDisplay ¶

func (o *SLOThreshold) GetTargetDisplay() string

GetTargetDisplay returns the TargetDisplay field value if set, zero value otherwise.

func (*SLOThreshold) GetTargetDisplayOk ¶

func (o *SLOThreshold) GetTargetDisplayOk() (*string, bool)

GetTargetDisplayOk returns a tuple with the TargetDisplay field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOThreshold) GetTargetOk ¶

func (o *SLOThreshold) GetTargetOk() (*float64, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*SLOThreshold) GetTimeframe ¶

func (o *SLOThreshold) GetTimeframe() SLOTimeframe

GetTimeframe returns the Timeframe field value.

func (*SLOThreshold) GetTimeframeOk ¶

func (o *SLOThreshold) GetTimeframeOk() (*SLOTimeframe, bool)

GetTimeframeOk returns a tuple with the Timeframe field value and a boolean to check if the value has been set.

func (*SLOThreshold) GetWarning ¶

func (o *SLOThreshold) GetWarning() float64

GetWarning returns the Warning field value if set, zero value otherwise.

func (*SLOThreshold) GetWarningDisplay ¶

func (o *SLOThreshold) GetWarningDisplay() string

GetWarningDisplay returns the WarningDisplay field value if set, zero value otherwise.

func (*SLOThreshold) GetWarningDisplayOk ¶

func (o *SLOThreshold) GetWarningDisplayOk() (*string, bool)

GetWarningDisplayOk returns a tuple with the WarningDisplay field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOThreshold) GetWarningOk ¶

func (o *SLOThreshold) GetWarningOk() (*float64, bool)

GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOThreshold) HasTargetDisplay ¶

func (o *SLOThreshold) HasTargetDisplay() bool

HasTargetDisplay returns a boolean if a field has been set.

func (*SLOThreshold) HasWarning ¶

func (o *SLOThreshold) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (*SLOThreshold) HasWarningDisplay ¶

func (o *SLOThreshold) HasWarningDisplay() bool

HasWarningDisplay returns a boolean if a field has been set.

func (SLOThreshold) MarshalJSON ¶

func (o SLOThreshold) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOThreshold) SetTarget ¶

func (o *SLOThreshold) SetTarget(v float64)

SetTarget sets field value.

func (*SLOThreshold) SetTargetDisplay ¶

func (o *SLOThreshold) SetTargetDisplay(v string)

SetTargetDisplay gets a reference to the given string and assigns it to the TargetDisplay field.

func (*SLOThreshold) SetTimeframe ¶

func (o *SLOThreshold) SetTimeframe(v SLOTimeframe)

SetTimeframe sets field value.

func (*SLOThreshold) SetWarning ¶

func (o *SLOThreshold) SetWarning(v float64)

SetWarning gets a reference to the given float64 and assigns it to the Warning field.

func (*SLOThreshold) SetWarningDisplay ¶

func (o *SLOThreshold) SetWarningDisplay(v string)

SetWarningDisplay gets a reference to the given string and assigns it to the WarningDisplay field.

func (*SLOThreshold) UnmarshalJSON ¶

func (o *SLOThreshold) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOTimeframe ¶

type SLOTimeframe string

SLOTimeframe The SLO time window options.

const (
	SLOTIMEFRAME_SEVEN_DAYS  SLOTimeframe = "7d"
	SLOTIMEFRAME_THIRTY_DAYS SLOTimeframe = "30d"
	SLOTIMEFRAME_NINETY_DAYS SLOTimeframe = "90d"
	SLOTIMEFRAME_CUSTOM      SLOTimeframe = "custom"
)

List of SLOTimeframe.

func NewSLOTimeframeFromValue ¶

func NewSLOTimeframeFromValue(v string) (*SLOTimeframe, error)

NewSLOTimeframeFromValue returns a pointer to a valid SLOTimeframe for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SLOTimeframe) GetAllowedValues ¶ added in v1.1.0

func (v *SLOTimeframe) GetAllowedValues() []SLOTimeframe

GetAllowedValues reeturns the list of possible values.

func (SLOTimeframe) IsValid ¶

func (v SLOTimeframe) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SLOTimeframe) Ptr ¶

func (v SLOTimeframe) Ptr() *SLOTimeframe

Ptr returns reference to SLOTimeframe value.

func (*SLOTimeframe) UnmarshalJSON ¶

func (v *SLOTimeframe) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SLOType ¶

type SLOType string

SLOType The type of the service level objective.

const (
	SLOTYPE_METRIC  SLOType = "metric"
	SLOTYPE_MONITOR SLOType = "monitor"
)

List of SLOType.

func NewSLOTypeFromValue ¶

func NewSLOTypeFromValue(v string) (*SLOType, error)

NewSLOTypeFromValue returns a pointer to a valid SLOType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SLOType) GetAllowedValues ¶ added in v1.1.0

func (v *SLOType) GetAllowedValues() []SLOType

GetAllowedValues reeturns the list of possible values.

func (SLOType) IsValid ¶

func (v SLOType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SLOType) Ptr ¶

func (v SLOType) Ptr() *SLOType

Ptr returns reference to SLOType value.

func (*SLOType) UnmarshalJSON ¶

func (v *SLOType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SLOTypeNumeric ¶

type SLOTypeNumeric int32

SLOTypeNumeric A numeric representation of the type of the service level objective (`0` for monitor, `1` for metric). Always included in service level objective responses. Ignored in create/update requests.

const (
	SLOTYPENUMERIC_MONITOR SLOTypeNumeric = 0
	SLOTYPENUMERIC_METRIC  SLOTypeNumeric = 1
)

List of SLOTypeNumeric.

func NewSLOTypeNumericFromValue ¶

func NewSLOTypeNumericFromValue(v int32) (*SLOTypeNumeric, error)

NewSLOTypeNumericFromValue returns a pointer to a valid SLOTypeNumeric for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SLOTypeNumeric) GetAllowedValues ¶ added in v1.1.0

func (v *SLOTypeNumeric) GetAllowedValues() []SLOTypeNumeric

GetAllowedValues reeturns the list of possible values.

func (SLOTypeNumeric) IsValid ¶

func (v SLOTypeNumeric) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SLOTypeNumeric) Ptr ¶

func (v SLOTypeNumeric) Ptr() *SLOTypeNumeric

Ptr returns reference to SLOTypeNumeric value.

func (*SLOTypeNumeric) UnmarshalJSON ¶

func (v *SLOTypeNumeric) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SLOWidgetDefinition ¶

type SLOWidgetDefinition struct {
	// Defined global time target.
	GlobalTimeTarget *string `json:"global_time_target,omitempty"`
	// Defined error budget.
	ShowErrorBudget *bool `json:"show_error_budget,omitempty"`
	// ID of the SLO displayed.
	SloId *string `json:"slo_id,omitempty"`
	// Times being monitored.
	TimeWindows []WidgetTimeWindows `json:"time_windows,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the SLO widget.
	Type SLOWidgetDefinitionType `json:"type"`
	// Define how you want the SLO to be displayed.
	ViewMode *WidgetViewMode `json:"view_mode,omitempty"`
	// Type of view displayed by the widget.
	ViewType string `json:"view_type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SLOWidgetDefinition Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards.

func NewSLOWidgetDefinition ¶

func NewSLOWidgetDefinition(typeVar SLOWidgetDefinitionType, viewType string) *SLOWidgetDefinition

NewSLOWidgetDefinition instantiates a new SLOWidgetDefinition 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 NewSLOWidgetDefinitionWithDefaults ¶

func NewSLOWidgetDefinitionWithDefaults() *SLOWidgetDefinition

NewSLOWidgetDefinitionWithDefaults instantiates a new SLOWidgetDefinition 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 (*SLOWidgetDefinition) GetGlobalTimeTarget ¶

func (o *SLOWidgetDefinition) GetGlobalTimeTarget() string

GetGlobalTimeTarget returns the GlobalTimeTarget field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetGlobalTimeTargetOk ¶

func (o *SLOWidgetDefinition) GetGlobalTimeTargetOk() (*string, bool)

GetGlobalTimeTargetOk returns a tuple with the GlobalTimeTarget field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetShowErrorBudget ¶

func (o *SLOWidgetDefinition) GetShowErrorBudget() bool

GetShowErrorBudget returns the ShowErrorBudget field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetShowErrorBudgetOk ¶

func (o *SLOWidgetDefinition) GetShowErrorBudgetOk() (*bool, bool)

GetShowErrorBudgetOk returns a tuple with the ShowErrorBudget field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetSloId ¶

func (o *SLOWidgetDefinition) GetSloId() string

GetSloId returns the SloId field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetSloIdOk ¶

func (o *SLOWidgetDefinition) GetSloIdOk() (*string, bool)

GetSloIdOk returns a tuple with the SloId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetTimeWindows ¶

func (o *SLOWidgetDefinition) GetTimeWindows() []WidgetTimeWindows

GetTimeWindows returns the TimeWindows field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetTimeWindowsOk ¶

func (o *SLOWidgetDefinition) GetTimeWindowsOk() (*[]WidgetTimeWindows, bool)

GetTimeWindowsOk returns a tuple with the TimeWindows field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetTitle ¶

func (o *SLOWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetTitleAlign ¶

func (o *SLOWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetTitleAlignOk ¶

func (o *SLOWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetTitleOk ¶

func (o *SLOWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetTitleSize ¶

func (o *SLOWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetTitleSizeOk ¶

func (o *SLOWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*SLOWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetViewMode ¶

func (o *SLOWidgetDefinition) GetViewMode() WidgetViewMode

GetViewMode returns the ViewMode field value if set, zero value otherwise.

func (*SLOWidgetDefinition) GetViewModeOk ¶

func (o *SLOWidgetDefinition) GetViewModeOk() (*WidgetViewMode, bool)

GetViewModeOk returns a tuple with the ViewMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) GetViewType ¶

func (o *SLOWidgetDefinition) GetViewType() string

GetViewType returns the ViewType field value.

func (*SLOWidgetDefinition) GetViewTypeOk ¶

func (o *SLOWidgetDefinition) GetViewTypeOk() (*string, bool)

GetViewTypeOk returns a tuple with the ViewType field value and a boolean to check if the value has been set.

func (*SLOWidgetDefinition) HasGlobalTimeTarget ¶

func (o *SLOWidgetDefinition) HasGlobalTimeTarget() bool

HasGlobalTimeTarget returns a boolean if a field has been set.

func (*SLOWidgetDefinition) HasShowErrorBudget ¶

func (o *SLOWidgetDefinition) HasShowErrorBudget() bool

HasShowErrorBudget returns a boolean if a field has been set.

func (*SLOWidgetDefinition) HasSloId ¶

func (o *SLOWidgetDefinition) HasSloId() bool

HasSloId returns a boolean if a field has been set.

func (*SLOWidgetDefinition) HasTimeWindows ¶

func (o *SLOWidgetDefinition) HasTimeWindows() bool

HasTimeWindows returns a boolean if a field has been set.

func (*SLOWidgetDefinition) HasTitle ¶

func (o *SLOWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*SLOWidgetDefinition) HasTitleAlign ¶

func (o *SLOWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*SLOWidgetDefinition) HasTitleSize ¶

func (o *SLOWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*SLOWidgetDefinition) HasViewMode ¶

func (o *SLOWidgetDefinition) HasViewMode() bool

HasViewMode returns a boolean if a field has been set.

func (SLOWidgetDefinition) MarshalJSON ¶

func (o SLOWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SLOWidgetDefinition) SetGlobalTimeTarget ¶

func (o *SLOWidgetDefinition) SetGlobalTimeTarget(v string)

SetGlobalTimeTarget gets a reference to the given string and assigns it to the GlobalTimeTarget field.

func (*SLOWidgetDefinition) SetShowErrorBudget ¶

func (o *SLOWidgetDefinition) SetShowErrorBudget(v bool)

SetShowErrorBudget gets a reference to the given bool and assigns it to the ShowErrorBudget field.

func (*SLOWidgetDefinition) SetSloId ¶

func (o *SLOWidgetDefinition) SetSloId(v string)

SetSloId gets a reference to the given string and assigns it to the SloId field.

func (*SLOWidgetDefinition) SetTimeWindows ¶

func (o *SLOWidgetDefinition) SetTimeWindows(v []WidgetTimeWindows)

SetTimeWindows gets a reference to the given []WidgetTimeWindows and assigns it to the TimeWindows field.

func (*SLOWidgetDefinition) SetTitle ¶

func (o *SLOWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*SLOWidgetDefinition) SetTitleAlign ¶

func (o *SLOWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*SLOWidgetDefinition) SetTitleSize ¶

func (o *SLOWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*SLOWidgetDefinition) SetType ¶

SetType sets field value.

func (*SLOWidgetDefinition) SetViewMode ¶

func (o *SLOWidgetDefinition) SetViewMode(v WidgetViewMode)

SetViewMode gets a reference to the given WidgetViewMode and assigns it to the ViewMode field.

func (*SLOWidgetDefinition) SetViewType ¶

func (o *SLOWidgetDefinition) SetViewType(v string)

SetViewType sets field value.

func (*SLOWidgetDefinition) UnmarshalJSON ¶

func (o *SLOWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SLOWidgetDefinitionType ¶

type SLOWidgetDefinitionType string

SLOWidgetDefinitionType Type of the SLO widget.

const (
	SLOWIDGETDEFINITIONTYPE_SLO SLOWidgetDefinitionType = "slo"
)

List of SLOWidgetDefinitionType.

func NewSLOWidgetDefinitionTypeFromValue ¶

func NewSLOWidgetDefinitionTypeFromValue(v string) (*SLOWidgetDefinitionType, error)

NewSLOWidgetDefinitionTypeFromValue returns a pointer to a valid SLOWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SLOWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

func (v *SLOWidgetDefinitionType) GetAllowedValues() []SLOWidgetDefinitionType

GetAllowedValues reeturns the list of possible values.

func (SLOWidgetDefinitionType) IsValid ¶

func (v SLOWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SLOWidgetDefinitionType) Ptr ¶

Ptr returns reference to SLOWidgetDefinitionType value.

func (*SLOWidgetDefinitionType) UnmarshalJSON ¶

func (v *SLOWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ScatterPlotRequest ¶

type ScatterPlotRequest struct {
	// Aggregator used for the request.
	Aggregator *ScatterplotWidgetAggregator `json:"aggregator,omitempty"`
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Query definition.
	Q *string `json:"q,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ScatterPlotRequest Updated scatter plot.

func NewScatterPlotRequest ¶

func NewScatterPlotRequest() *ScatterPlotRequest

NewScatterPlotRequest instantiates a new ScatterPlotRequest 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 NewScatterPlotRequestWithDefaults ¶

func NewScatterPlotRequestWithDefaults() *ScatterPlotRequest

NewScatterPlotRequestWithDefaults instantiates a new ScatterPlotRequest 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 (*ScatterPlotRequest) GetAggregator ¶

GetAggregator returns the Aggregator field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetAggregatorOk ¶

func (o *ScatterPlotRequest) GetAggregatorOk() (*ScatterplotWidgetAggregator, bool)

GetAggregatorOk returns a tuple with the Aggregator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetApmQuery ¶

func (o *ScatterPlotRequest) GetApmQuery() LogQueryDefinition

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetApmQueryOk ¶

func (o *ScatterPlotRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

GetApmQueryOk returns a tuple with the ApmQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetEventQuery ¶

func (o *ScatterPlotRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetEventQueryOk ¶

func (o *ScatterPlotRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

GetEventQueryOk returns a tuple with the EventQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetLogQuery ¶

func (o *ScatterPlotRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetLogQueryOk ¶

func (o *ScatterPlotRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

GetLogQueryOk returns a tuple with the LogQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetNetworkQuery ¶

func (o *ScatterPlotRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetNetworkQueryOk ¶

func (o *ScatterPlotRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

GetNetworkQueryOk returns a tuple with the NetworkQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetProcessQuery ¶

func (o *ScatterPlotRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetProcessQueryOk ¶

func (o *ScatterPlotRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetProfileMetricsQuery ¶

func (o *ScatterPlotRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetProfileMetricsQueryOk ¶

func (o *ScatterPlotRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

GetProfileMetricsQueryOk returns a tuple with the ProfileMetricsQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetQ ¶

func (o *ScatterPlotRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetQOk ¶

func (o *ScatterPlotRequest) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetRumQuery ¶

func (o *ScatterPlotRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetRumQueryOk ¶

func (o *ScatterPlotRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

GetRumQueryOk returns a tuple with the RumQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) GetSecurityQuery ¶

func (o *ScatterPlotRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*ScatterPlotRequest) GetSecurityQueryOk ¶

func (o *ScatterPlotRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotRequest) HasAggregator ¶

func (o *ScatterPlotRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasApmQuery ¶

func (o *ScatterPlotRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasEventQuery ¶

func (o *ScatterPlotRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasLogQuery ¶

func (o *ScatterPlotRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasNetworkQuery ¶

func (o *ScatterPlotRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasProcessQuery ¶

func (o *ScatterPlotRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasProfileMetricsQuery ¶

func (o *ScatterPlotRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasQ ¶

func (o *ScatterPlotRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasRumQuery ¶

func (o *ScatterPlotRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ScatterPlotRequest) HasSecurityQuery ¶

func (o *ScatterPlotRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (ScatterPlotRequest) MarshalJSON ¶

func (o ScatterPlotRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScatterPlotRequest) SetAggregator ¶

func (o *ScatterPlotRequest) SetAggregator(v ScatterplotWidgetAggregator)

SetAggregator gets a reference to the given ScatterplotWidgetAggregator and assigns it to the Aggregator field.

func (*ScatterPlotRequest) SetApmQuery ¶

func (o *ScatterPlotRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*ScatterPlotRequest) SetEventQuery ¶

func (o *ScatterPlotRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*ScatterPlotRequest) SetLogQuery ¶

func (o *ScatterPlotRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*ScatterPlotRequest) SetNetworkQuery ¶

func (o *ScatterPlotRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*ScatterPlotRequest) SetProcessQuery ¶

func (o *ScatterPlotRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*ScatterPlotRequest) SetProfileMetricsQuery ¶

func (o *ScatterPlotRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*ScatterPlotRequest) SetQ ¶

func (o *ScatterPlotRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*ScatterPlotRequest) SetRumQuery ¶

func (o *ScatterPlotRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*ScatterPlotRequest) SetSecurityQuery ¶

func (o *ScatterPlotRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*ScatterPlotRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *ScatterPlotRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScatterPlotWidgetDefinition ¶

type ScatterPlotWidgetDefinition struct {
	// List of groups used for colors.
	ColorByGroups []string `json:"color_by_groups,omitempty"`
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// Widget definition.
	Requests ScatterPlotWidgetDefinitionRequests `json:"requests"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the scatter plot widget.
	Type ScatterPlotWidgetDefinitionType `json:"type"`
	// Axis controls for the widget.
	Xaxis *WidgetAxis `json:"xaxis,omitempty"`
	// Axis controls for the widget.
	Yaxis *WidgetAxis `json:"yaxis,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ScatterPlotWidgetDefinition The scatter plot visualization allows you to graph a chosen scope over two different metrics with their respective aggregation.

func NewScatterPlotWidgetDefinition ¶

NewScatterPlotWidgetDefinition instantiates a new ScatterPlotWidgetDefinition 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 NewScatterPlotWidgetDefinitionWithDefaults ¶

func NewScatterPlotWidgetDefinitionWithDefaults() *ScatterPlotWidgetDefinition

NewScatterPlotWidgetDefinitionWithDefaults instantiates a new ScatterPlotWidgetDefinition 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 (*ScatterPlotWidgetDefinition) GetColorByGroups ¶

func (o *ScatterPlotWidgetDefinition) GetColorByGroups() []string

GetColorByGroups returns the ColorByGroups field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetColorByGroupsOk ¶

func (o *ScatterPlotWidgetDefinition) GetColorByGroupsOk() (*[]string, bool)

GetColorByGroupsOk returns a tuple with the ColorByGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ScatterPlotWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetCustomLinksOk ¶

func (o *ScatterPlotWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetRequests ¶

GetRequests returns the Requests field value.

func (*ScatterPlotWidgetDefinition) GetRequestsOk ¶

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetTimeOk ¶

func (o *ScatterPlotWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetTitle ¶

func (o *ScatterPlotWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetTitleAlign ¶

func (o *ScatterPlotWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetTitleAlignOk ¶

func (o *ScatterPlotWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetTitleOk ¶

func (o *ScatterPlotWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetTitleSize ¶

func (o *ScatterPlotWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetTitleSizeOk ¶

func (o *ScatterPlotWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*ScatterPlotWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetXaxis ¶

GetXaxis returns the Xaxis field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetXaxisOk ¶

func (o *ScatterPlotWidgetDefinition) GetXaxisOk() (*WidgetAxis, bool)

GetXaxisOk returns a tuple with the Xaxis field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) GetYaxis ¶

GetYaxis returns the Yaxis field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinition) GetYaxisOk ¶

func (o *ScatterPlotWidgetDefinition) GetYaxisOk() (*WidgetAxis, bool)

GetYaxisOk returns a tuple with the Yaxis field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinition) HasColorByGroups ¶

func (o *ScatterPlotWidgetDefinition) HasColorByGroups() bool

HasColorByGroups returns a boolean if a field has been set.

func (o *ScatterPlotWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinition) HasTime ¶

func (o *ScatterPlotWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinition) HasTitle ¶

func (o *ScatterPlotWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinition) HasTitleAlign ¶

func (o *ScatterPlotWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinition) HasTitleSize ¶

func (o *ScatterPlotWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinition) HasXaxis ¶

func (o *ScatterPlotWidgetDefinition) HasXaxis() bool

HasXaxis returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinition) HasYaxis ¶

func (o *ScatterPlotWidgetDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (ScatterPlotWidgetDefinition) MarshalJSON ¶

func (o ScatterPlotWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScatterPlotWidgetDefinition) SetColorByGroups ¶

func (o *ScatterPlotWidgetDefinition) SetColorByGroups(v []string)

SetColorByGroups gets a reference to the given []string and assigns it to the ColorByGroups field.

func (o *ScatterPlotWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*ScatterPlotWidgetDefinition) SetRequests ¶

SetRequests sets field value.

func (*ScatterPlotWidgetDefinition) SetTime ¶

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*ScatterPlotWidgetDefinition) SetTitle ¶

func (o *ScatterPlotWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ScatterPlotWidgetDefinition) SetTitleAlign ¶

func (o *ScatterPlotWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*ScatterPlotWidgetDefinition) SetTitleSize ¶

func (o *ScatterPlotWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*ScatterPlotWidgetDefinition) SetType ¶

SetType sets field value.

func (*ScatterPlotWidgetDefinition) SetXaxis ¶

func (o *ScatterPlotWidgetDefinition) SetXaxis(v WidgetAxis)

SetXaxis gets a reference to the given WidgetAxis and assigns it to the Xaxis field.

func (*ScatterPlotWidgetDefinition) SetYaxis ¶

func (o *ScatterPlotWidgetDefinition) SetYaxis(v WidgetAxis)

SetYaxis gets a reference to the given WidgetAxis and assigns it to the Yaxis field.

func (*ScatterPlotWidgetDefinition) UnmarshalJSON ¶

func (o *ScatterPlotWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScatterPlotWidgetDefinitionRequests ¶

type ScatterPlotWidgetDefinitionRequests struct {
	// Scatterplot request containing formulas and functions.
	Table *ScatterplotTableRequest `json:"table,omitempty"`
	// Updated scatter plot.
	X *ScatterPlotRequest `json:"x,omitempty"`
	// Updated scatter plot.
	Y *ScatterPlotRequest `json:"y,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ScatterPlotWidgetDefinitionRequests Widget definition.

func NewScatterPlotWidgetDefinitionRequests ¶

func NewScatterPlotWidgetDefinitionRequests() *ScatterPlotWidgetDefinitionRequests

NewScatterPlotWidgetDefinitionRequests instantiates a new ScatterPlotWidgetDefinitionRequests 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 NewScatterPlotWidgetDefinitionRequestsWithDefaults ¶

func NewScatterPlotWidgetDefinitionRequestsWithDefaults() *ScatterPlotWidgetDefinitionRequests

NewScatterPlotWidgetDefinitionRequestsWithDefaults instantiates a new ScatterPlotWidgetDefinitionRequests 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 (*ScatterPlotWidgetDefinitionRequests) GetTable ¶ added in v1.5.0

GetTable returns the Table field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinitionRequests) GetTableOk ¶ added in v1.5.0

GetTableOk returns a tuple with the Table field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinitionRequests) GetX ¶

GetX returns the X field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinitionRequests) GetXOk ¶

GetXOk returns a tuple with the X field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinitionRequests) GetY ¶

GetY returns the Y field value if set, zero value otherwise.

func (*ScatterPlotWidgetDefinitionRequests) GetYOk ¶

GetYOk returns a tuple with the Y field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterPlotWidgetDefinitionRequests) HasTable ¶ added in v1.5.0

HasTable returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinitionRequests) HasX ¶ added in v1.5.0

HasX returns a boolean if a field has been set.

func (*ScatterPlotWidgetDefinitionRequests) HasY ¶ added in v1.5.0

HasY returns a boolean if a field has been set.

func (ScatterPlotWidgetDefinitionRequests) MarshalJSON ¶

func (o ScatterPlotWidgetDefinitionRequests) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScatterPlotWidgetDefinitionRequests) SetTable ¶ added in v1.5.0

SetTable gets a reference to the given ScatterplotTableRequest and assigns it to the Table field.

func (*ScatterPlotWidgetDefinitionRequests) SetX ¶

SetX gets a reference to the given ScatterPlotRequest and assigns it to the X field.

func (*ScatterPlotWidgetDefinitionRequests) SetY ¶

SetY gets a reference to the given ScatterPlotRequest and assigns it to the Y field.

func (*ScatterPlotWidgetDefinitionRequests) UnmarshalJSON ¶

func (o *ScatterPlotWidgetDefinitionRequests) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScatterPlotWidgetDefinitionType ¶

type ScatterPlotWidgetDefinitionType string

ScatterPlotWidgetDefinitionType Type of the scatter plot widget.

const (
	SCATTERPLOTWIDGETDEFINITIONTYPE_SCATTERPLOT ScatterPlotWidgetDefinitionType = "scatterplot"
)

List of ScatterPlotWidgetDefinitionType.

func NewScatterPlotWidgetDefinitionTypeFromValue ¶

func NewScatterPlotWidgetDefinitionTypeFromValue(v string) (*ScatterPlotWidgetDefinitionType, error)

NewScatterPlotWidgetDefinitionTypeFromValue returns a pointer to a valid ScatterPlotWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ScatterPlotWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (ScatterPlotWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (ScatterPlotWidgetDefinitionType) Ptr ¶

Ptr returns reference to ScatterPlotWidgetDefinitionType value.

func (*ScatterPlotWidgetDefinitionType) UnmarshalJSON ¶

func (v *ScatterPlotWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ScatterplotDimension ¶ added in v1.5.0

type ScatterplotDimension string

ScatterplotDimension Dimension of the Scatterplot.

const (
	SCATTERPLOTDIMENSION_X      ScatterplotDimension = "x"
	SCATTERPLOTDIMENSION_Y      ScatterplotDimension = "y"
	SCATTERPLOTDIMENSION_RADIUS ScatterplotDimension = "radius"
	SCATTERPLOTDIMENSION_COLOR  ScatterplotDimension = "color"
)

List of ScatterplotDimension.

func NewScatterplotDimensionFromValue ¶ added in v1.5.0

func NewScatterplotDimensionFromValue(v string) (*ScatterplotDimension, error)

NewScatterplotDimensionFromValue returns a pointer to a valid ScatterplotDimension for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ScatterplotDimension) GetAllowedValues ¶ added in v1.5.0

func (v *ScatterplotDimension) GetAllowedValues() []ScatterplotDimension

GetAllowedValues reeturns the list of possible values.

func (ScatterplotDimension) IsValid ¶ added in v1.5.0

func (v ScatterplotDimension) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ScatterplotDimension) Ptr ¶ added in v1.5.0

Ptr returns reference to ScatterplotDimension value.

func (*ScatterplotDimension) UnmarshalJSON ¶ added in v1.5.0

func (v *ScatterplotDimension) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ScatterplotTableRequest ¶ added in v1.5.0

type ScatterplotTableRequest struct {
	// List of Scatterplot formulas that operate on queries.
	Formulas []ScatterplotWidgetFormula `json:"formulas,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ScatterplotTableRequest Scatterplot request containing formulas and functions.

func NewScatterplotTableRequest ¶ added in v1.5.0

func NewScatterplotTableRequest() *ScatterplotTableRequest

NewScatterplotTableRequest instantiates a new ScatterplotTableRequest 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 NewScatterplotTableRequestWithDefaults ¶ added in v1.5.0

func NewScatterplotTableRequestWithDefaults() *ScatterplotTableRequest

NewScatterplotTableRequestWithDefaults instantiates a new ScatterplotTableRequest 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 (*ScatterplotTableRequest) GetFormulas ¶ added in v1.5.0

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*ScatterplotTableRequest) GetFormulasOk ¶ added in v1.5.0

func (o *ScatterplotTableRequest) GetFormulasOk() (*[]ScatterplotWidgetFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterplotTableRequest) GetQueries ¶ added in v1.5.0

GetQueries returns the Queries field value if set, zero value otherwise.

func (*ScatterplotTableRequest) GetQueriesOk ¶ added in v1.5.0

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterplotTableRequest) GetResponseFormat ¶ added in v1.5.0

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*ScatterplotTableRequest) GetResponseFormatOk ¶ added in v1.5.0

func (o *ScatterplotTableRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterplotTableRequest) HasFormulas ¶ added in v1.5.0

func (o *ScatterplotTableRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*ScatterplotTableRequest) HasQueries ¶ added in v1.5.0

func (o *ScatterplotTableRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*ScatterplotTableRequest) HasResponseFormat ¶ added in v1.5.0

func (o *ScatterplotTableRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (ScatterplotTableRequest) MarshalJSON ¶ added in v1.5.0

func (o ScatterplotTableRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScatterplotTableRequest) SetFormulas ¶ added in v1.5.0

SetFormulas gets a reference to the given []ScatterplotWidgetFormula and assigns it to the Formulas field.

func (*ScatterplotTableRequest) SetQueries ¶ added in v1.5.0

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*ScatterplotTableRequest) SetResponseFormat ¶ added in v1.5.0

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*ScatterplotTableRequest) UnmarshalJSON ¶ added in v1.5.0

func (o *ScatterplotTableRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ScatterplotWidgetAggregator ¶ added in v1.3.0

type ScatterplotWidgetAggregator string

ScatterplotWidgetAggregator Aggregator used for the request.

const (
	SCATTERPLOTWIDGETAGGREGATOR_AVERAGE ScatterplotWidgetAggregator = "avg"
	SCATTERPLOTWIDGETAGGREGATOR_LAST    ScatterplotWidgetAggregator = "last"
	SCATTERPLOTWIDGETAGGREGATOR_MAXIMUM ScatterplotWidgetAggregator = "max"
	SCATTERPLOTWIDGETAGGREGATOR_MINIMUM ScatterplotWidgetAggregator = "min"
	SCATTERPLOTWIDGETAGGREGATOR_SUM     ScatterplotWidgetAggregator = "sum"
)

List of ScatterplotWidgetAggregator.

func NewScatterplotWidgetAggregatorFromValue ¶ added in v1.3.0

func NewScatterplotWidgetAggregatorFromValue(v string) (*ScatterplotWidgetAggregator, error)

NewScatterplotWidgetAggregatorFromValue returns a pointer to a valid ScatterplotWidgetAggregator for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ScatterplotWidgetAggregator) GetAllowedValues ¶ added in v1.3.0

GetAllowedValues reeturns the list of possible values.

func (ScatterplotWidgetAggregator) IsValid ¶ added in v1.3.0

func (v ScatterplotWidgetAggregator) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ScatterplotWidgetAggregator) Ptr ¶ added in v1.3.0

Ptr returns reference to ScatterplotWidgetAggregator value.

func (*ScatterplotWidgetAggregator) UnmarshalJSON ¶ added in v1.3.0

func (v *ScatterplotWidgetAggregator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ScatterplotWidgetFormula ¶ added in v1.5.0

type ScatterplotWidgetFormula struct {
	// Expression alias.
	Alias *string `json:"alias,omitempty"`
	// Dimension of the Scatterplot.
	Dimension ScatterplotDimension `json:"dimension"`
	// String expression built from queries, formulas, and functions.
	Formula string `json:"formula"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ScatterplotWidgetFormula Formula to be used in a Scatterplot widget query.

func NewScatterplotWidgetFormula ¶ added in v1.5.0

func NewScatterplotWidgetFormula(dimension ScatterplotDimension, formula string) *ScatterplotWidgetFormula

NewScatterplotWidgetFormula instantiates a new ScatterplotWidgetFormula 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 NewScatterplotWidgetFormulaWithDefaults ¶ added in v1.5.0

func NewScatterplotWidgetFormulaWithDefaults() *ScatterplotWidgetFormula

NewScatterplotWidgetFormulaWithDefaults instantiates a new ScatterplotWidgetFormula 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 (*ScatterplotWidgetFormula) GetAlias ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*ScatterplotWidgetFormula) GetAliasOk ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScatterplotWidgetFormula) GetDimension ¶ added in v1.5.0

GetDimension returns the Dimension field value.

func (*ScatterplotWidgetFormula) GetDimensionOk ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) GetDimensionOk() (*ScatterplotDimension, bool)

GetDimensionOk returns a tuple with the Dimension field value and a boolean to check if the value has been set.

func (*ScatterplotWidgetFormula) GetFormula ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) GetFormula() string

GetFormula returns the Formula field value.

func (*ScatterplotWidgetFormula) GetFormulaOk ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) GetFormulaOk() (*string, bool)

GetFormulaOk returns a tuple with the Formula field value and a boolean to check if the value has been set.

func (*ScatterplotWidgetFormula) HasAlias ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (ScatterplotWidgetFormula) MarshalJSON ¶ added in v1.5.0

func (o ScatterplotWidgetFormula) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ScatterplotWidgetFormula) SetAlias ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*ScatterplotWidgetFormula) SetDimension ¶ added in v1.5.0

SetDimension sets field value.

func (*ScatterplotWidgetFormula) SetFormula ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) SetFormula(v string)

SetFormula sets field value.

func (*ScatterplotWidgetFormula) UnmarshalJSON ¶ added in v1.5.0

func (o *ScatterplotWidgetFormula) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchMonitorGroupsOptionalParameters ¶

type SearchMonitorGroupsOptionalParameters struct {
	Query   *string
	Page    *int64
	PerPage *int64
	Sort    *string
}

SearchMonitorGroupsOptionalParameters holds optional parameters for SearchMonitorGroups.

func NewSearchMonitorGroupsOptionalParameters ¶

func NewSearchMonitorGroupsOptionalParameters() *SearchMonitorGroupsOptionalParameters

NewSearchMonitorGroupsOptionalParameters creates an empty struct for parameters.

func (*SearchMonitorGroupsOptionalParameters) WithPage ¶

WithPage sets the corresponding parameter name and returns the struct.

func (*SearchMonitorGroupsOptionalParameters) WithPerPage ¶

WithPerPage sets the corresponding parameter name and returns the struct.

func (*SearchMonitorGroupsOptionalParameters) WithQuery ¶

WithQuery sets the corresponding parameter name and returns the struct.

func (*SearchMonitorGroupsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type SearchMonitorsOptionalParameters ¶

type SearchMonitorsOptionalParameters struct {
	Query   *string
	Page    *int64
	PerPage *int64
	Sort    *string
}

SearchMonitorsOptionalParameters holds optional parameters for SearchMonitors.

func NewSearchMonitorsOptionalParameters ¶

func NewSearchMonitorsOptionalParameters() *SearchMonitorsOptionalParameters

NewSearchMonitorsOptionalParameters creates an empty struct for parameters.

func (*SearchMonitorsOptionalParameters) WithPage ¶

WithPage sets the corresponding parameter name and returns the struct.

func (*SearchMonitorsOptionalParameters) WithPerPage ¶

WithPerPage sets the corresponding parameter name and returns the struct.

func (*SearchMonitorsOptionalParameters) WithQuery ¶

WithQuery sets the corresponding parameter name and returns the struct.

func (*SearchMonitorsOptionalParameters) WithSort ¶

WithSort sets the corresponding parameter name and returns the struct.

type SearchSLOOptionalParameters ¶ added in v1.15.0

type SearchSLOOptionalParameters struct {
	Query      *string
	PageSize   *int64
	PageNumber *int64
}

SearchSLOOptionalParameters holds optional parameters for SearchSLO.

func NewSearchSLOOptionalParameters ¶ added in v1.15.0

func NewSearchSLOOptionalParameters() *SearchSLOOptionalParameters

NewSearchSLOOptionalParameters creates an empty struct for parameters.

func (*SearchSLOOptionalParameters) WithPageNumber ¶ added in v1.15.0

func (r *SearchSLOOptionalParameters) WithPageNumber(pageNumber int64) *SearchSLOOptionalParameters

WithPageNumber sets the corresponding parameter name and returns the struct.

func (*SearchSLOOptionalParameters) WithPageSize ¶ added in v1.15.0

WithPageSize sets the corresponding parameter name and returns the struct.

func (*SearchSLOOptionalParameters) WithQuery ¶ added in v1.15.0

WithQuery sets the corresponding parameter name and returns the struct.

type SearchSLOResponse ¶ added in v1.15.0

type SearchSLOResponse struct {
	// Data from search SLO response.
	Data *SearchSLOResponseData `json:"data,omitempty"`
	// Pagination links.
	Links *SearchSLOResponseLinks `json:"links,omitempty"`
	// Searches metadata returned by the API.
	Meta *SearchSLOResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponse A search SLO response containing results from the search query.

func NewSearchSLOResponse ¶ added in v1.15.0

func NewSearchSLOResponse() *SearchSLOResponse

NewSearchSLOResponse instantiates a new SearchSLOResponse 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 NewSearchSLOResponseWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseWithDefaults() *SearchSLOResponse

NewSearchSLOResponseWithDefaults instantiates a new SearchSLOResponse 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 (*SearchSLOResponse) GetData ¶ added in v1.15.0

GetData returns the Data field value if set, zero value otherwise.

func (*SearchSLOResponse) GetDataOk ¶ added in v1.15.0

func (o *SearchSLOResponse) GetDataOk() (*SearchSLOResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*SearchSLOResponse) GetLinksOk ¶ added in v1.15.0

func (o *SearchSLOResponse) GetLinksOk() (*SearchSLOResponseLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponse) GetMeta ¶ added in v1.15.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SearchSLOResponse) GetMetaOk ¶ added in v1.15.0

func (o *SearchSLOResponse) GetMetaOk() (*SearchSLOResponseMeta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponse) HasData ¶ added in v1.15.0

func (o *SearchSLOResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *SearchSLOResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*SearchSLOResponse) HasMeta ¶ added in v1.15.0

func (o *SearchSLOResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (SearchSLOResponse) MarshalJSON ¶ added in v1.15.0

func (o SearchSLOResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponse) SetData ¶ added in v1.15.0

SetData gets a reference to the given SearchSLOResponseData and assigns it to the Data field.

SetLinks gets a reference to the given SearchSLOResponseLinks and assigns it to the Links field.

func (*SearchSLOResponse) SetMeta ¶ added in v1.15.0

SetMeta gets a reference to the given SearchSLOResponseMeta and assigns it to the Meta field.

func (*SearchSLOResponse) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseData ¶ added in v1.15.0

type SearchSLOResponseData struct {
	// Attributes
	Attributes *SearchSLOResponseDataAttributes `json:"attributes,omitempty"`
	// Type of service level objective result.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseData Data from search SLO response.

func NewSearchSLOResponseData ¶ added in v1.15.0

func NewSearchSLOResponseData() *SearchSLOResponseData

NewSearchSLOResponseData instantiates a new SearchSLOResponseData 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 NewSearchSLOResponseDataWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseDataWithDefaults() *SearchSLOResponseData

NewSearchSLOResponseDataWithDefaults instantiates a new SearchSLOResponseData 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 (*SearchSLOResponseData) GetAttributes ¶ added in v1.15.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SearchSLOResponseData) GetAttributesOk ¶ added in v1.15.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseData) GetType ¶ added in v1.15.0

func (o *SearchSLOResponseData) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SearchSLOResponseData) GetTypeOk ¶ added in v1.15.0

func (o *SearchSLOResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseData) HasAttributes ¶ added in v1.15.0

func (o *SearchSLOResponseData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SearchSLOResponseData) HasType ¶ added in v1.15.0

func (o *SearchSLOResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (SearchSLOResponseData) MarshalJSON ¶ added in v1.15.0

func (o SearchSLOResponseData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseData) SetAttributes ¶ added in v1.15.0

SetAttributes gets a reference to the given SearchSLOResponseDataAttributes and assigns it to the Attributes field.

func (*SearchSLOResponseData) SetType ¶ added in v1.15.0

func (o *SearchSLOResponseData) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*SearchSLOResponseData) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseDataAttributes ¶ added in v1.15.0

type SearchSLOResponseDataAttributes struct {
	// Facets
	Facets *SearchSLOResponseDataAttributesFacets `json:"facets,omitempty"`
	// SLOs
	Slo []ServiceLevelObjective `json:"slo,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseDataAttributes Attributes

func NewSearchSLOResponseDataAttributes ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributes() *SearchSLOResponseDataAttributes

NewSearchSLOResponseDataAttributes instantiates a new SearchSLOResponseDataAttributes 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 NewSearchSLOResponseDataAttributesWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributesWithDefaults() *SearchSLOResponseDataAttributes

NewSearchSLOResponseDataAttributesWithDefaults instantiates a new SearchSLOResponseDataAttributes 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 (*SearchSLOResponseDataAttributes) GetFacets ¶ added in v1.15.0

GetFacets returns the Facets field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributes) GetFacetsOk ¶ added in v1.15.0

GetFacetsOk returns a tuple with the Facets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributes) GetSlo ¶ added in v1.15.0

GetSlo returns the Slo field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributes) GetSloOk ¶ added in v1.15.0

GetSloOk returns a tuple with the Slo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributes) HasFacets ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributes) HasFacets() bool

HasFacets returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributes) HasSlo ¶ added in v1.15.0

HasSlo returns a boolean if a field has been set.

func (SearchSLOResponseDataAttributes) MarshalJSON ¶ added in v1.15.0

func (o SearchSLOResponseDataAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseDataAttributes) SetFacets ¶ added in v1.15.0

SetFacets gets a reference to the given SearchSLOResponseDataAttributesFacets and assigns it to the Facets field.

func (*SearchSLOResponseDataAttributes) SetSlo ¶ added in v1.15.0

SetSlo gets a reference to the given []ServiceLevelObjective and assigns it to the Slo field.

func (*SearchSLOResponseDataAttributes) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseDataAttributesFacets ¶ added in v1.15.0

type SearchSLOResponseDataAttributesFacets struct {
	// All tags associated with an SLO.
	AllTags []SearchSLOResponseDataAttributesFacetsObjectString `json:"all_tags,omitempty"`
	// Creator of an SLO.
	CreatorName []SearchSLOResponseDataAttributesFacetsObjectString `json:"creator_name,omitempty"`
	// Tags with the `env` tag key.
	EnvTags []SearchSLOResponseDataAttributesFacetsObjectString `json:"env_tags,omitempty"`
	// Tags with the `service` tag key.
	ServiceTags []SearchSLOResponseDataAttributesFacetsObjectString `json:"service_tags,omitempty"`
	// Type of SLO.
	SloType []SearchSLOResponseDataAttributesFacetsObjectInt `json:"slo_type,omitempty"`
	// SLO Target
	Target []SearchSLOResponseDataAttributesFacetsObjectInt `json:"target,omitempty"`
	// Tags with the `team` tag key.
	TeamTags []SearchSLOResponseDataAttributesFacetsObjectString `json:"team_tags,omitempty"`
	// Timeframes of SLOs.
	Timeframe []SearchSLOResponseDataAttributesFacetsObjectString `json:"timeframe,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseDataAttributesFacets Facets

func NewSearchSLOResponseDataAttributesFacets ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributesFacets() *SearchSLOResponseDataAttributesFacets

NewSearchSLOResponseDataAttributesFacets instantiates a new SearchSLOResponseDataAttributesFacets 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 NewSearchSLOResponseDataAttributesFacetsWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributesFacetsWithDefaults() *SearchSLOResponseDataAttributesFacets

NewSearchSLOResponseDataAttributesFacetsWithDefaults instantiates a new SearchSLOResponseDataAttributesFacets 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 (*SearchSLOResponseDataAttributesFacets) GetAllTags ¶ added in v1.15.0

GetAllTags returns the AllTags field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetAllTagsOk ¶ added in v1.15.0

GetAllTagsOk returns a tuple with the AllTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributesFacets) GetCreatorName ¶ added in v1.15.0

GetCreatorName returns the CreatorName field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetCreatorNameOk ¶ added in v1.15.0

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 (*SearchSLOResponseDataAttributesFacets) GetEnvTags ¶ added in v1.15.0

GetEnvTags returns the EnvTags field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetEnvTagsOk ¶ added in v1.15.0

GetEnvTagsOk returns a tuple with the EnvTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributesFacets) GetServiceTags ¶ added in v1.15.0

GetServiceTags returns the ServiceTags field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetServiceTagsOk ¶ added in v1.15.0

GetServiceTagsOk returns a tuple with the ServiceTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributesFacets) GetSloType ¶ added in v1.15.0

GetSloType returns the SloType field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetSloTypeOk ¶ added in v1.15.0

GetSloTypeOk returns a tuple with the SloType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributesFacets) GetTarget ¶ added in v1.15.0

GetTarget returns the Target field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetTargetOk ¶ added in v1.15.0

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributesFacets) GetTeamTags ¶ added in v1.15.0

GetTeamTags returns the TeamTags field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetTeamTagsOk ¶ added in v1.15.0

GetTeamTagsOk returns a tuple with the TeamTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributesFacets) GetTimeframe ¶ added in v1.15.0

GetTimeframe returns the Timeframe field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacets) GetTimeframeOk ¶ added in v1.15.0

GetTimeframeOk returns a tuple with the Timeframe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseDataAttributesFacets) HasAllTags ¶ added in v1.15.0

HasAllTags returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacets) HasCreatorName ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributesFacets) HasCreatorName() bool

HasCreatorName returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacets) HasEnvTags ¶ added in v1.15.0

HasEnvTags returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacets) HasServiceTags ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributesFacets) HasServiceTags() bool

HasServiceTags returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacets) HasSloType ¶ added in v1.15.0

HasSloType returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacets) HasTarget ¶ added in v1.15.0

HasTarget returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacets) HasTeamTags ¶ added in v1.15.0

HasTeamTags returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacets) HasTimeframe ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributesFacets) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (SearchSLOResponseDataAttributesFacets) MarshalJSON ¶ added in v1.15.0

func (o SearchSLOResponseDataAttributesFacets) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseDataAttributesFacets) SetAllTags ¶ added in v1.15.0

SetAllTags gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectString and assigns it to the AllTags field.

func (*SearchSLOResponseDataAttributesFacets) SetCreatorName ¶ added in v1.15.0

SetCreatorName gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectString and assigns it to the CreatorName field.

func (*SearchSLOResponseDataAttributesFacets) SetEnvTags ¶ added in v1.15.0

SetEnvTags gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectString and assigns it to the EnvTags field.

func (*SearchSLOResponseDataAttributesFacets) SetServiceTags ¶ added in v1.15.0

SetServiceTags gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectString and assigns it to the ServiceTags field.

func (*SearchSLOResponseDataAttributesFacets) SetSloType ¶ added in v1.15.0

SetSloType gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectInt and assigns it to the SloType field.

func (*SearchSLOResponseDataAttributesFacets) SetTarget ¶ added in v1.15.0

SetTarget gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectInt and assigns it to the Target field.

func (*SearchSLOResponseDataAttributesFacets) SetTeamTags ¶ added in v1.15.0

SetTeamTags gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectString and assigns it to the TeamTags field.

func (*SearchSLOResponseDataAttributesFacets) SetTimeframe ¶ added in v1.15.0

SetTimeframe gets a reference to the given []SearchSLOResponseDataAttributesFacetsObjectString and assigns it to the Timeframe field.

func (*SearchSLOResponseDataAttributesFacets) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributesFacets) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseDataAttributesFacetsObjectInt ¶ added in v1.15.0

type SearchSLOResponseDataAttributesFacetsObjectInt struct {
	// Count
	Count *int64 `json:"count,omitempty"`
	// Facet
	Name *float64 `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseDataAttributesFacetsObjectInt Facet

func NewSearchSLOResponseDataAttributesFacetsObjectInt ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributesFacetsObjectInt() *SearchSLOResponseDataAttributesFacetsObjectInt

NewSearchSLOResponseDataAttributesFacetsObjectInt instantiates a new SearchSLOResponseDataAttributesFacetsObjectInt 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 NewSearchSLOResponseDataAttributesFacetsObjectIntWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributesFacetsObjectIntWithDefaults() *SearchSLOResponseDataAttributesFacetsObjectInt

NewSearchSLOResponseDataAttributesFacetsObjectIntWithDefaults instantiates a new SearchSLOResponseDataAttributesFacetsObjectInt 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 (*SearchSLOResponseDataAttributesFacetsObjectInt) GetCount ¶ added in v1.15.0

GetCount returns the Count field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacetsObjectInt) GetCountOk ¶ added in v1.15.0

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 (*SearchSLOResponseDataAttributesFacetsObjectInt) GetName ¶ added in v1.15.0

GetName returns the Name field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacetsObjectInt) GetNameOk ¶ added in v1.15.0

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 (*SearchSLOResponseDataAttributesFacetsObjectInt) HasCount ¶ added in v1.15.0

HasCount returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacetsObjectInt) HasName ¶ added in v1.15.0

HasName returns a boolean if a field has been set.

func (SearchSLOResponseDataAttributesFacetsObjectInt) MarshalJSON ¶ added in v1.15.0

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseDataAttributesFacetsObjectInt) SetCount ¶ added in v1.15.0

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*SearchSLOResponseDataAttributesFacetsObjectInt) SetName ¶ added in v1.15.0

SetName gets a reference to the given float64 and assigns it to the Name field.

func (*SearchSLOResponseDataAttributesFacetsObjectInt) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributesFacetsObjectInt) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseDataAttributesFacetsObjectString ¶ added in v1.15.0

type SearchSLOResponseDataAttributesFacetsObjectString struct {
	// Count
	Count *int64 `json:"count,omitempty"`
	// Facet
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseDataAttributesFacetsObjectString Facet

func NewSearchSLOResponseDataAttributesFacetsObjectString ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributesFacetsObjectString() *SearchSLOResponseDataAttributesFacetsObjectString

NewSearchSLOResponseDataAttributesFacetsObjectString instantiates a new SearchSLOResponseDataAttributesFacetsObjectString 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 NewSearchSLOResponseDataAttributesFacetsObjectStringWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseDataAttributesFacetsObjectStringWithDefaults() *SearchSLOResponseDataAttributesFacetsObjectString

NewSearchSLOResponseDataAttributesFacetsObjectStringWithDefaults instantiates a new SearchSLOResponseDataAttributesFacetsObjectString 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 (*SearchSLOResponseDataAttributesFacetsObjectString) GetCount ¶ added in v1.15.0

GetCount returns the Count field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacetsObjectString) GetCountOk ¶ added in v1.15.0

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 (*SearchSLOResponseDataAttributesFacetsObjectString) GetName ¶ added in v1.15.0

GetName returns the Name field value if set, zero value otherwise.

func (*SearchSLOResponseDataAttributesFacetsObjectString) GetNameOk ¶ added in v1.15.0

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 (*SearchSLOResponseDataAttributesFacetsObjectString) HasCount ¶ added in v1.15.0

HasCount returns a boolean if a field has been set.

func (*SearchSLOResponseDataAttributesFacetsObjectString) HasName ¶ added in v1.15.0

HasName returns a boolean if a field has been set.

func (SearchSLOResponseDataAttributesFacetsObjectString) MarshalJSON ¶ added in v1.15.0

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseDataAttributesFacetsObjectString) SetCount ¶ added in v1.15.0

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*SearchSLOResponseDataAttributesFacetsObjectString) SetName ¶ added in v1.15.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SearchSLOResponseDataAttributesFacetsObjectString) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseDataAttributesFacetsObjectString) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseLinks struct {
	// Link to last page.
	First *string `json:"first,omitempty"`
	// Link to first page.
	Last *string `json:"last,omitempty"`
	// Link to the next page.
	Next *string `json:"next,omitempty"`
	// Link to previous page.
	Prev *string `json:"prev,omitempty"`
	// Link to current page.
	Self *string `json:"self,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseLinks Pagination links.

func NewSearchSLOResponseLinks() *SearchSLOResponseLinks

NewSearchSLOResponseLinks instantiates a new SearchSLOResponseLinks 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 NewSearchSLOResponseLinksWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseLinksWithDefaults() *SearchSLOResponseLinks

NewSearchSLOResponseLinksWithDefaults instantiates a new SearchSLOResponseLinks 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 (*SearchSLOResponseLinks) GetFirst ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetFirst() string

GetFirst returns the First field value if set, zero value otherwise.

func (*SearchSLOResponseLinks) GetFirstOk ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetFirstOk() (*string, bool)

GetFirstOk returns a tuple with the First field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseLinks) GetLast ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetLast() string

GetLast returns the Last field value if set, zero value otherwise.

func (*SearchSLOResponseLinks) GetLastOk ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetLastOk() (*string, bool)

GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseLinks) GetNext ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*SearchSLOResponseLinks) GetNextOk ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseLinks) GetPrev ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetPrev() string

GetPrev returns the Prev field value if set, zero value otherwise.

func (*SearchSLOResponseLinks) GetPrevOk ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetPrevOk() (*string, bool)

GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseLinks) GetSelf ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*SearchSLOResponseLinks) GetSelfOk ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) GetSelfOk() (*string, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseLinks) HasFirst ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) HasFirst() bool

HasFirst returns a boolean if a field has been set.

func (*SearchSLOResponseLinks) HasLast ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) HasLast() bool

HasLast returns a boolean if a field has been set.

func (*SearchSLOResponseLinks) HasNext ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*SearchSLOResponseLinks) HasPrev ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*SearchSLOResponseLinks) HasSelf ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (SearchSLOResponseLinks) MarshalJSON ¶ added in v1.15.0

func (o SearchSLOResponseLinks) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseLinks) SetFirst ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) SetFirst(v string)

SetFirst gets a reference to the given string and assigns it to the First field.

func (*SearchSLOResponseLinks) SetLast ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) SetLast(v string)

SetLast gets a reference to the given string and assigns it to the Last field.

func (*SearchSLOResponseLinks) SetNext ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*SearchSLOResponseLinks) SetPrev ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) SetPrev(v string)

SetPrev gets a reference to the given string and assigns it to the Prev field.

func (*SearchSLOResponseLinks) SetSelf ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

func (*SearchSLOResponseLinks) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseLinks) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseMeta ¶ added in v1.15.0

type SearchSLOResponseMeta struct {
	// Pagination metadata returned by the API.
	Pagination *SearchSLOResponseMetaPage `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseMeta Searches metadata returned by the API.

func NewSearchSLOResponseMeta ¶ added in v1.15.0

func NewSearchSLOResponseMeta() *SearchSLOResponseMeta

NewSearchSLOResponseMeta instantiates a new SearchSLOResponseMeta 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 NewSearchSLOResponseMetaWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseMetaWithDefaults() *SearchSLOResponseMeta

NewSearchSLOResponseMetaWithDefaults instantiates a new SearchSLOResponseMeta 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 (*SearchSLOResponseMeta) GetPagination ¶ added in v1.15.0

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*SearchSLOResponseMeta) GetPaginationOk ¶ added in v1.15.0

func (o *SearchSLOResponseMeta) GetPaginationOk() (*SearchSLOResponseMetaPage, bool)

GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMeta) HasPagination ¶ added in v1.15.0

func (o *SearchSLOResponseMeta) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (SearchSLOResponseMeta) MarshalJSON ¶ added in v1.15.0

func (o SearchSLOResponseMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseMeta) SetPagination ¶ added in v1.15.0

SetPagination gets a reference to the given SearchSLOResponseMetaPage and assigns it to the Pagination field.

func (*SearchSLOResponseMeta) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SearchSLOResponseMetaPage ¶ added in v1.15.0

type SearchSLOResponseMetaPage struct {
	// The first number.
	FirstNumber *int64 `json:"first_number,omitempty"`
	// The last number.
	LastNumber *int64 `json:"last_number,omitempty"`
	// The next number.
	NextNumber *int64 `json:"next_number,omitempty"`
	// The page number.
	Number *int64 `json:"number,omitempty"`
	// The previous page number.
	PrevNumber *int64 `json:"prev_number,omitempty"`
	// The size of the response.
	Size *int64 `json:"size,omitempty"`
	// The total number of SLOs in the response.
	Total *int64 `json:"total,omitempty"`
	// Type of pagination.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SearchSLOResponseMetaPage Pagination metadata returned by the API.

func NewSearchSLOResponseMetaPage ¶ added in v1.15.0

func NewSearchSLOResponseMetaPage() *SearchSLOResponseMetaPage

NewSearchSLOResponseMetaPage instantiates a new SearchSLOResponseMetaPage 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 NewSearchSLOResponseMetaPageWithDefaults ¶ added in v1.15.0

func NewSearchSLOResponseMetaPageWithDefaults() *SearchSLOResponseMetaPage

NewSearchSLOResponseMetaPageWithDefaults instantiates a new SearchSLOResponseMetaPage 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 (*SearchSLOResponseMetaPage) GetFirstNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetFirstNumber() int64

GetFirstNumber returns the FirstNumber field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetFirstNumberOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetFirstNumberOk() (*int64, bool)

GetFirstNumberOk returns a tuple with the FirstNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) GetLastNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetLastNumber() int64

GetLastNumber returns the LastNumber field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetLastNumberOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetLastNumberOk() (*int64, bool)

GetLastNumberOk returns a tuple with the LastNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) GetNextNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetNextNumber() int64

GetNextNumber returns the NextNumber field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetNextNumberOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetNextNumberOk() (*int64, bool)

GetNextNumberOk returns a tuple with the NextNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) GetNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetNumber() int64

GetNumber returns the Number field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetNumberOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetNumberOk() (*int64, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) GetPrevNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetPrevNumber() int64

GetPrevNumber returns the PrevNumber field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetPrevNumberOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetPrevNumberOk() (*int64, bool)

GetPrevNumberOk returns a tuple with the PrevNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) GetSize ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetSizeOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) GetTotal ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetTotalOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetTotalOk() (*int64, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) GetType ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SearchSLOResponseMetaPage) GetTypeOk ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSLOResponseMetaPage) HasFirstNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasFirstNumber() bool

HasFirstNumber returns a boolean if a field has been set.

func (*SearchSLOResponseMetaPage) HasLastNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasLastNumber() bool

HasLastNumber returns a boolean if a field has been set.

func (*SearchSLOResponseMetaPage) HasNextNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasNextNumber() bool

HasNextNumber returns a boolean if a field has been set.

func (*SearchSLOResponseMetaPage) HasNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*SearchSLOResponseMetaPage) HasPrevNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasPrevNumber() bool

HasPrevNumber returns a boolean if a field has been set.

func (*SearchSLOResponseMetaPage) HasSize ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*SearchSLOResponseMetaPage) HasTotal ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*SearchSLOResponseMetaPage) HasType ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) HasType() bool

HasType returns a boolean if a field has been set.

func (SearchSLOResponseMetaPage) MarshalJSON ¶ added in v1.15.0

func (o SearchSLOResponseMetaPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SearchSLOResponseMetaPage) SetFirstNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetFirstNumber(v int64)

SetFirstNumber gets a reference to the given int64 and assigns it to the FirstNumber field.

func (*SearchSLOResponseMetaPage) SetLastNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetLastNumber(v int64)

SetLastNumber gets a reference to the given int64 and assigns it to the LastNumber field.

func (*SearchSLOResponseMetaPage) SetNextNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetNextNumber(v int64)

SetNextNumber gets a reference to the given int64 and assigns it to the NextNumber field.

func (*SearchSLOResponseMetaPage) SetNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetNumber(v int64)

SetNumber gets a reference to the given int64 and assigns it to the Number field.

func (*SearchSLOResponseMetaPage) SetPrevNumber ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetPrevNumber(v int64)

SetPrevNumber gets a reference to the given int64 and assigns it to the PrevNumber field.

func (*SearchSLOResponseMetaPage) SetSize ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*SearchSLOResponseMetaPage) SetTotal ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (*SearchSLOResponseMetaPage) SetType ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*SearchSLOResponseMetaPage) UnmarshalJSON ¶ added in v1.15.0

func (o *SearchSLOResponseMetaPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SecurityMonitoringApiService ¶ added in v1.15.0

type SecurityMonitoringApiService service

SecurityMonitoringApiService SecurityMonitoringApi service.

func (*SecurityMonitoringApiService) AddSecurityMonitoringSignalToIncident ¶ added in v1.15.0

func (a *SecurityMonitoringApiService) AddSecurityMonitoringSignalToIncident(ctx _context.Context, signalId string, body AddSignalToIncidentRequest) (SuccessfulSignalUpdateResponse, *_nethttp.Response, error)

AddSecurityMonitoringSignalToIncident Add a security signal to an incident. Add a security signal to an incident. This makes it possible to search for signals by incident within the signal explorer and to view the signals on the incident timeline.

func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalAssignee ¶ added in v1.15.0

EditSecurityMonitoringSignalAssignee Modify the triage assignee of a security signal. Modify the triage assignee of a security signal.

func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalState ¶ added in v1.15.0

EditSecurityMonitoringSignalState Change the triage state of a security signal. Change the triage state of a security signal.

type Series ¶

type Series struct {
	// The name of the host that produced the metric.
	Host *string `json:"host,omitempty"`
	// If the type of the metric is rate or count, define the corresponding interval.
	Interval NullableInt64 `json:"interval,omitempty"`
	// The name of the timeseries.
	Metric string `json:"metric"`
	// Points relating to a metric. All points must be tuples with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.
	Points [][]*float64 `json:"points"`
	// A list of tags associated with the metric.
	Tags []string `json:"tags,omitempty"`
	// The type of the metric. Valid types are "",`count`, `gauge`, and `rate`.
	Type *string `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Series A metric to submit to Datadog. See [Datadog metrics](https://docs.datadoghq.com/developers/metrics/#custom-metrics-properties).

func NewSeries ¶

func NewSeries(metric string, points [][]*float64) *Series

NewSeries instantiates a new Series 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 NewSeriesWithDefaults ¶

func NewSeriesWithDefaults() *Series

NewSeriesWithDefaults instantiates a new Series 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 (*Series) GetHost ¶

func (o *Series) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*Series) GetHostOk ¶

func (o *Series) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Series) GetInterval ¶

func (o *Series) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Series) GetIntervalOk ¶

func (o *Series) GetIntervalOk() (*int64, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*Series) GetMetric ¶

func (o *Series) GetMetric() string

GetMetric returns the Metric field value.

func (*Series) GetMetricOk ¶

func (o *Series) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value and a boolean to check if the value has been set.

func (*Series) GetPoints ¶

func (o *Series) GetPoints() [][]*float64

GetPoints returns the Points field value.

func (*Series) GetPointsOk ¶

func (o *Series) GetPointsOk() (*[][]*float64, bool)

GetPointsOk returns a tuple with the Points field value and a boolean to check if the value has been set.

func (*Series) GetTags ¶

func (o *Series) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Series) GetTagsOk ¶

func (o *Series) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Series) GetType ¶

func (o *Series) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Series) GetTypeOk ¶

func (o *Series) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Series) HasHost ¶

func (o *Series) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*Series) HasInterval ¶

func (o *Series) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*Series) HasTags ¶

func (o *Series) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Series) HasType ¶

func (o *Series) HasType() bool

HasType returns a boolean if a field has been set.

func (Series) MarshalJSON ¶

func (o Series) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Series) SetHost ¶

func (o *Series) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*Series) SetInterval ¶

func (o *Series) SetInterval(v int64)

SetInterval gets a reference to the given NullableInt64 and assigns it to the Interval field.

func (*Series) SetIntervalNil ¶

func (o *Series) SetIntervalNil()

SetIntervalNil sets the value for Interval to be an explicit nil.

func (*Series) SetMetric ¶

func (o *Series) SetMetric(v string)

SetMetric sets field value.

func (*Series) SetPoints ¶

func (o *Series) SetPoints(v [][]*float64)

SetPoints sets field value.

func (*Series) SetTags ¶

func (o *Series) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Series) SetType ¶

func (o *Series) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Series) UnmarshalJSON ¶

func (o *Series) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*Series) UnsetInterval ¶

func (o *Series) UnsetInterval()

UnsetInterval ensures that no value is present for Interval, not even an explicit nil.

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 ServiceCheck ¶

type ServiceCheck struct {
	// The check.
	Check string `json:"check"`
	// The host name correlated with the check.
	HostName string `json:"host_name"`
	// Message containing check status.
	Message *string `json:"message,omitempty"`
	// The status of a service check.
	Status ServiceCheckStatus `json:"status"`
	// Tags related to a check.
	Tags []string `json:"tags"`
	// Time of check.
	Timestamp *int64 `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceCheck An object containing service check and status.

func NewServiceCheck ¶

func NewServiceCheck(check string, hostName string, status ServiceCheckStatus, tags []string) *ServiceCheck

NewServiceCheck instantiates a new ServiceCheck 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 NewServiceCheckWithDefaults ¶

func NewServiceCheckWithDefaults() *ServiceCheck

NewServiceCheckWithDefaults instantiates a new ServiceCheck 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 (*ServiceCheck) GetCheck ¶

func (o *ServiceCheck) GetCheck() string

GetCheck returns the Check field value.

func (*ServiceCheck) GetCheckOk ¶

func (o *ServiceCheck) GetCheckOk() (*string, bool)

GetCheckOk returns a tuple with the Check field value and a boolean to check if the value has been set.

func (*ServiceCheck) GetHostName ¶

func (o *ServiceCheck) GetHostName() string

GetHostName returns the HostName field value.

func (*ServiceCheck) GetHostNameOk ¶

func (o *ServiceCheck) GetHostNameOk() (*string, bool)

GetHostNameOk returns a tuple with the HostName field value and a boolean to check if the value has been set.

func (*ServiceCheck) GetMessage ¶

func (o *ServiceCheck) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ServiceCheck) GetMessageOk ¶

func (o *ServiceCheck) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceCheck) GetStatus ¶

func (o *ServiceCheck) GetStatus() ServiceCheckStatus

GetStatus returns the Status field value.

func (*ServiceCheck) GetStatusOk ¶

func (o *ServiceCheck) GetStatusOk() (*ServiceCheckStatus, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*ServiceCheck) GetTags ¶

func (o *ServiceCheck) GetTags() []string

GetTags returns the Tags field value.

func (*ServiceCheck) GetTagsOk ¶

func (o *ServiceCheck) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*ServiceCheck) GetTimestamp ¶

func (o *ServiceCheck) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ServiceCheck) GetTimestampOk ¶

func (o *ServiceCheck) GetTimestampOk() (*int64, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceCheck) HasMessage ¶

func (o *ServiceCheck) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ServiceCheck) HasTimestamp ¶

func (o *ServiceCheck) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (ServiceCheck) MarshalJSON ¶

func (o ServiceCheck) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceCheck) SetCheck ¶

func (o *ServiceCheck) SetCheck(v string)

SetCheck sets field value.

func (*ServiceCheck) SetHostName ¶

func (o *ServiceCheck) SetHostName(v string)

SetHostName sets field value.

func (*ServiceCheck) SetMessage ¶

func (o *ServiceCheck) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ServiceCheck) SetStatus ¶

func (o *ServiceCheck) SetStatus(v ServiceCheckStatus)

SetStatus sets field value.

func (*ServiceCheck) SetTags ¶

func (o *ServiceCheck) SetTags(v []string)

SetTags sets field value.

func (*ServiceCheck) SetTimestamp ¶

func (o *ServiceCheck) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

func (*ServiceCheck) UnmarshalJSON ¶

func (o *ServiceCheck) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceCheckStatus ¶

type ServiceCheckStatus int32

ServiceCheckStatus The status of a service check.

const (
	SERVICECHECKSTATUS_OK       ServiceCheckStatus = 0
	SERVICECHECKSTATUS_WARNING  ServiceCheckStatus = 1
	SERVICECHECKSTATUS_CRITICAL ServiceCheckStatus = 2
	SERVICECHECKSTATUS_UNKNOWN  ServiceCheckStatus = 3
)

List of ServiceCheckStatus.

func NewServiceCheckStatusFromValue ¶

func NewServiceCheckStatusFromValue(v int32) (*ServiceCheckStatus, error)

NewServiceCheckStatusFromValue returns a pointer to a valid ServiceCheckStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceCheckStatus) GetAllowedValues ¶ added in v1.1.0

func (v *ServiceCheckStatus) GetAllowedValues() []ServiceCheckStatus

GetAllowedValues reeturns the list of possible values.

func (ServiceCheckStatus) IsValid ¶

func (v ServiceCheckStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceCheckStatus) Ptr ¶

Ptr returns reference to ServiceCheckStatus value.

func (*ServiceCheckStatus) UnmarshalJSON ¶

func (v *ServiceCheckStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceChecksApiService ¶

type ServiceChecksApiService service

ServiceChecksApiService ServiceChecksApi service.

func (*ServiceChecksApiService) SubmitServiceCheck ¶

SubmitServiceCheck Submit a Service Check. Submit a list of Service Checks.

**Notes**: - A valid API key is required. - Service checks can be submitted up to 10 minutes in the past.

type ServiceLevelObjective ¶

type ServiceLevelObjective struct {
	// Creation timestamp (UNIX time in seconds)
	//
	// Always included in service level objective responses.
	CreatedAt *int64 `json:"created_at,omitempty"`
	// Object describing the creator of the shared element.
	Creator *Creator `json:"creator,omitempty"`
	// A user-defined description of the service level objective.
	//
	// Always included in service level objective responses (but may be `null`).
	// Optional in create/update requests.
	Description NullableString `json:"description,omitempty"`
	// A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective.
	//
	// Included in service level objective responses if it is not empty. Optional in
	// create/update requests for monitor service level objectives, but may only be
	// used when then length of the `monitor_ids` field is one.
	Groups []string `json:"groups,omitempty"`
	// A unique identifier for the service level objective object.
	//
	// Always included in service level objective responses.
	Id *string `json:"id,omitempty"`
	// Modification timestamp (UNIX time in seconds)
	//
	// Always included in service level objective responses.
	ModifiedAt *int64 `json:"modified_at,omitempty"`
	// A list of monitor ids that defines the scope of a monitor service level
	// objective. **Required if type is `monitor`**.
	MonitorIds []int64 `json:"monitor_ids,omitempty"`
	// The union of monitor tags for all monitors referenced by the `monitor_ids`
	// field.
	// Always included in service level objective responses for monitor-based service level
	// objectives (but may be empty). Ignored in create/update requests. Does not
	// affect which monitors are included in the service level objective (that is
	// determined entirely by the `monitor_ids` field).
	MonitorTags []string `json:"monitor_tags,omitempty"`
	// The name of the service level objective object.
	Name string `json:"name"`
	// A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator
	// to be used because this will sum up all request counts instead of averaging them, or taking the max or
	// min of all of those requests.
	Query *ServiceLevelObjectiveQuery `json:"query,omitempty"`
	// A list of tags associated with this service level objective.
	// Always included in service level objective responses (but may be empty).
	// Optional in create/update requests.
	Tags []string `json:"tags,omitempty"`
	// The thresholds (timeframes and associated targets) for this service level
	// objective object.
	Thresholds []SLOThreshold `json:"thresholds"`
	// The type of the service level objective.
	Type SLOType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceLevelObjective A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.).

func NewServiceLevelObjective ¶

func NewServiceLevelObjective(name string, thresholds []SLOThreshold, typeVar SLOType) *ServiceLevelObjective

NewServiceLevelObjective instantiates a new ServiceLevelObjective 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 NewServiceLevelObjectiveWithDefaults ¶

func NewServiceLevelObjectiveWithDefaults() *ServiceLevelObjective

NewServiceLevelObjectiveWithDefaults instantiates a new ServiceLevelObjective 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 (*ServiceLevelObjective) GetCreatedAt ¶

func (o *ServiceLevelObjective) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetCreatedAtOk ¶

func (o *ServiceLevelObjective) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetCreator ¶

func (o *ServiceLevelObjective) GetCreator() Creator

GetCreator returns the Creator field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetCreatorOk ¶

func (o *ServiceLevelObjective) GetCreatorOk() (*Creator, 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 (*ServiceLevelObjective) GetDescription ¶

func (o *ServiceLevelObjective) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ServiceLevelObjective) GetDescriptionOk ¶

func (o *ServiceLevelObjective) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*ServiceLevelObjective) GetGroups ¶

func (o *ServiceLevelObjective) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetGroupsOk ¶

func (o *ServiceLevelObjective) GetGroupsOk() (*[]string, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetId ¶

func (o *ServiceLevelObjective) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetIdOk ¶

func (o *ServiceLevelObjective) 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 (*ServiceLevelObjective) GetModifiedAt ¶

func (o *ServiceLevelObjective) GetModifiedAt() int64

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetModifiedAtOk ¶

func (o *ServiceLevelObjective) GetModifiedAtOk() (*int64, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetMonitorIds ¶

func (o *ServiceLevelObjective) GetMonitorIds() []int64

GetMonitorIds returns the MonitorIds field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetMonitorIdsOk ¶

func (o *ServiceLevelObjective) GetMonitorIdsOk() (*[]int64, bool)

GetMonitorIdsOk returns a tuple with the MonitorIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetMonitorTags ¶

func (o *ServiceLevelObjective) GetMonitorTags() []string

GetMonitorTags returns the MonitorTags field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetMonitorTagsOk ¶

func (o *ServiceLevelObjective) GetMonitorTagsOk() (*[]string, bool)

GetMonitorTagsOk returns a tuple with the MonitorTags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetName ¶

func (o *ServiceLevelObjective) GetName() string

GetName returns the Name field value.

func (*ServiceLevelObjective) GetNameOk ¶

func (o *ServiceLevelObjective) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetQuery ¶

GetQuery returns the Query field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetQueryOk ¶

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetTags ¶

func (o *ServiceLevelObjective) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ServiceLevelObjective) GetTagsOk ¶

func (o *ServiceLevelObjective) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetThresholds ¶

func (o *ServiceLevelObjective) GetThresholds() []SLOThreshold

GetThresholds returns the Thresholds field value.

func (*ServiceLevelObjective) GetThresholdsOk ¶

func (o *ServiceLevelObjective) GetThresholdsOk() (*[]SLOThreshold, bool)

GetThresholdsOk returns a tuple with the Thresholds field value and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetType ¶

func (o *ServiceLevelObjective) GetType() SLOType

GetType returns the Type field value.

func (*ServiceLevelObjective) GetTypeOk ¶

func (o *ServiceLevelObjective) GetTypeOk() (*SLOType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceLevelObjective) HasCreatedAt ¶

func (o *ServiceLevelObjective) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasCreator ¶

func (o *ServiceLevelObjective) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasDescription ¶

func (o *ServiceLevelObjective) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasGroups ¶

func (o *ServiceLevelObjective) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasId ¶

func (o *ServiceLevelObjective) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasModifiedAt ¶

func (o *ServiceLevelObjective) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasMonitorIds ¶

func (o *ServiceLevelObjective) HasMonitorIds() bool

HasMonitorIds returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasMonitorTags ¶

func (o *ServiceLevelObjective) HasMonitorTags() bool

HasMonitorTags returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasQuery ¶

func (o *ServiceLevelObjective) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasTags ¶

func (o *ServiceLevelObjective) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ServiceLevelObjective) MarshalJSON ¶

func (o ServiceLevelObjective) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceLevelObjective) SetCreatedAt ¶

func (o *ServiceLevelObjective) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*ServiceLevelObjective) SetCreator ¶

func (o *ServiceLevelObjective) SetCreator(v Creator)

SetCreator gets a reference to the given Creator and assigns it to the Creator field.

func (*ServiceLevelObjective) SetDescription ¶

func (o *ServiceLevelObjective) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ServiceLevelObjective) SetDescriptionNil ¶

func (o *ServiceLevelObjective) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil.

func (*ServiceLevelObjective) SetGroups ¶

func (o *ServiceLevelObjective) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*ServiceLevelObjective) SetId ¶

func (o *ServiceLevelObjective) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ServiceLevelObjective) SetModifiedAt ¶

func (o *ServiceLevelObjective) SetModifiedAt(v int64)

SetModifiedAt gets a reference to the given int64 and assigns it to the ModifiedAt field.

func (*ServiceLevelObjective) SetMonitorIds ¶

func (o *ServiceLevelObjective) SetMonitorIds(v []int64)

SetMonitorIds gets a reference to the given []int64 and assigns it to the MonitorIds field.

func (*ServiceLevelObjective) SetMonitorTags ¶

func (o *ServiceLevelObjective) SetMonitorTags(v []string)

SetMonitorTags gets a reference to the given []string and assigns it to the MonitorTags field.

func (*ServiceLevelObjective) SetName ¶

func (o *ServiceLevelObjective) SetName(v string)

SetName sets field value.

func (*ServiceLevelObjective) SetQuery ¶

SetQuery gets a reference to the given ServiceLevelObjectiveQuery and assigns it to the Query field.

func (*ServiceLevelObjective) SetTags ¶

func (o *ServiceLevelObjective) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ServiceLevelObjective) SetThresholds ¶

func (o *ServiceLevelObjective) SetThresholds(v []SLOThreshold)

SetThresholds sets field value.

func (*ServiceLevelObjective) SetType ¶

func (o *ServiceLevelObjective) SetType(v SLOType)

SetType sets field value.

func (*ServiceLevelObjective) UnmarshalJSON ¶

func (o *ServiceLevelObjective) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*ServiceLevelObjective) UnsetDescription ¶

func (o *ServiceLevelObjective) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil.

type ServiceLevelObjectiveCorrectionsApiService ¶

type ServiceLevelObjectiveCorrectionsApiService service

ServiceLevelObjectiveCorrectionsApiService ServiceLevelObjectiveCorrectionsApi service.

func (*ServiceLevelObjectiveCorrectionsApiService) CreateSLOCorrection ¶

CreateSLOCorrection Create an SLO correction. Create an SLO Correction.

func (*ServiceLevelObjectiveCorrectionsApiService) DeleteSLOCorrection ¶

func (a *ServiceLevelObjectiveCorrectionsApiService) DeleteSLOCorrection(ctx _context.Context, sloCorrectionId string) (*_nethttp.Response, error)

DeleteSLOCorrection Delete an SLO correction. Permanently delete the specified SLO correction object.

func (*ServiceLevelObjectiveCorrectionsApiService) GetSLOCorrection ¶

GetSLOCorrection Get an SLO correction for an SLO. Get an SLO correction.

func (*ServiceLevelObjectiveCorrectionsApiService) ListSLOCorrection ¶

ListSLOCorrection Get all SLO corrections. Get all Service Level Objective corrections.

func (*ServiceLevelObjectiveCorrectionsApiService) UpdateSLOCorrection ¶

UpdateSLOCorrection Update an SLO correction. Update the specified SLO correction object.

type ServiceLevelObjectiveQuery ¶

type ServiceLevelObjectiveQuery struct {
	// A Datadog metric query for total (valid) events.
	Denominator string `json:"denominator"`
	// A Datadog metric query for good events.
	Numerator string `json:"numerator"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceLevelObjectiveQuery A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.

func NewServiceLevelObjectiveQuery ¶

func NewServiceLevelObjectiveQuery(denominator string, numerator string) *ServiceLevelObjectiveQuery

NewServiceLevelObjectiveQuery instantiates a new ServiceLevelObjectiveQuery 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 NewServiceLevelObjectiveQueryWithDefaults ¶

func NewServiceLevelObjectiveQueryWithDefaults() *ServiceLevelObjectiveQuery

NewServiceLevelObjectiveQueryWithDefaults instantiates a new ServiceLevelObjectiveQuery 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 (*ServiceLevelObjectiveQuery) GetDenominator ¶

func (o *ServiceLevelObjectiveQuery) GetDenominator() string

GetDenominator returns the Denominator field value.

func (*ServiceLevelObjectiveQuery) GetDenominatorOk ¶

func (o *ServiceLevelObjectiveQuery) GetDenominatorOk() (*string, bool)

GetDenominatorOk returns a tuple with the Denominator field value and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveQuery) GetNumerator ¶

func (o *ServiceLevelObjectiveQuery) GetNumerator() string

GetNumerator returns the Numerator field value.

func (*ServiceLevelObjectiveQuery) GetNumeratorOk ¶

func (o *ServiceLevelObjectiveQuery) GetNumeratorOk() (*string, bool)

GetNumeratorOk returns a tuple with the Numerator field value and a boolean to check if the value has been set.

func (ServiceLevelObjectiveQuery) MarshalJSON ¶

func (o ServiceLevelObjectiveQuery) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceLevelObjectiveQuery) SetDenominator ¶

func (o *ServiceLevelObjectiveQuery) SetDenominator(v string)

SetDenominator sets field value.

func (*ServiceLevelObjectiveQuery) SetNumerator ¶

func (o *ServiceLevelObjectiveQuery) SetNumerator(v string)

SetNumerator sets field value.

func (*ServiceLevelObjectiveQuery) UnmarshalJSON ¶

func (o *ServiceLevelObjectiveQuery) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceLevelObjectiveRequest ¶

type ServiceLevelObjectiveRequest struct {
	// A user-defined description of the service level objective.
	//
	// Always included in service level objective responses (but may be `null`).
	// Optional in create/update requests.
	Description NullableString `json:"description,omitempty"`
	// A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective.
	//
	// Included in service level objective responses if it is not empty. Optional in
	// create/update requests for monitor service level objectives, but may only be
	// used when then length of the `monitor_ids` field is one.
	Groups []string `json:"groups,omitempty"`
	// A list of monitor IDs that defines the scope of a monitor service level
	// objective. **Required if type is `monitor`**.
	MonitorIds []int64 `json:"monitor_ids,omitempty"`
	// The name of the service level objective object.
	Name string `json:"name"`
	// A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator
	// to be used because this will sum up all request counts instead of averaging them, or taking the max or
	// min of all of those requests.
	Query *ServiceLevelObjectiveQuery `json:"query,omitempty"`
	// A list of tags associated with this service level objective.
	// Always included in service level objective responses (but may be empty).
	// Optional in create/update requests.
	Tags []string `json:"tags,omitempty"`
	// The thresholds (timeframes and associated targets) for this service level
	// objective object.
	Thresholds []SLOThreshold `json:"thresholds"`
	// The type of the service level objective.
	Type SLOType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceLevelObjectiveRequest A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.).

func NewServiceLevelObjectiveRequest ¶

func NewServiceLevelObjectiveRequest(name string, thresholds []SLOThreshold, typeVar SLOType) *ServiceLevelObjectiveRequest

NewServiceLevelObjectiveRequest instantiates a new ServiceLevelObjectiveRequest 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 NewServiceLevelObjectiveRequestWithDefaults ¶

func NewServiceLevelObjectiveRequestWithDefaults() *ServiceLevelObjectiveRequest

NewServiceLevelObjectiveRequestWithDefaults instantiates a new ServiceLevelObjectiveRequest 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 (*ServiceLevelObjectiveRequest) GetDescription ¶

func (o *ServiceLevelObjectiveRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ServiceLevelObjectiveRequest) GetDescriptionOk ¶

func (o *ServiceLevelObjectiveRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*ServiceLevelObjectiveRequest) GetGroups ¶

func (o *ServiceLevelObjectiveRequest) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*ServiceLevelObjectiveRequest) GetGroupsOk ¶

func (o *ServiceLevelObjectiveRequest) GetGroupsOk() (*[]string, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveRequest) GetMonitorIds ¶

func (o *ServiceLevelObjectiveRequest) GetMonitorIds() []int64

GetMonitorIds returns the MonitorIds field value if set, zero value otherwise.

func (*ServiceLevelObjectiveRequest) GetMonitorIdsOk ¶

func (o *ServiceLevelObjectiveRequest) GetMonitorIdsOk() (*[]int64, bool)

GetMonitorIdsOk returns a tuple with the MonitorIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveRequest) GetName ¶

func (o *ServiceLevelObjectiveRequest) GetName() string

GetName returns the Name field value.

func (*ServiceLevelObjectiveRequest) GetNameOk ¶

func (o *ServiceLevelObjectiveRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveRequest) GetQuery ¶

GetQuery returns the Query field value if set, zero value otherwise.

func (*ServiceLevelObjectiveRequest) GetQueryOk ¶

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveRequest) GetTags ¶

func (o *ServiceLevelObjectiveRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ServiceLevelObjectiveRequest) GetTagsOk ¶

func (o *ServiceLevelObjectiveRequest) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveRequest) GetThresholds ¶

func (o *ServiceLevelObjectiveRequest) GetThresholds() []SLOThreshold

GetThresholds returns the Thresholds field value.

func (*ServiceLevelObjectiveRequest) GetThresholdsOk ¶

func (o *ServiceLevelObjectiveRequest) GetThresholdsOk() (*[]SLOThreshold, bool)

GetThresholdsOk returns a tuple with the Thresholds field value and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveRequest) GetType ¶

GetType returns the Type field value.

func (*ServiceLevelObjectiveRequest) GetTypeOk ¶

func (o *ServiceLevelObjectiveRequest) GetTypeOk() (*SLOType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveRequest) HasDescription ¶

func (o *ServiceLevelObjectiveRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServiceLevelObjectiveRequest) HasGroups ¶

func (o *ServiceLevelObjectiveRequest) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*ServiceLevelObjectiveRequest) HasMonitorIds ¶

func (o *ServiceLevelObjectiveRequest) HasMonitorIds() bool

HasMonitorIds returns a boolean if a field has been set.

func (*ServiceLevelObjectiveRequest) HasQuery ¶

func (o *ServiceLevelObjectiveRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ServiceLevelObjectiveRequest) HasTags ¶

func (o *ServiceLevelObjectiveRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ServiceLevelObjectiveRequest) MarshalJSON ¶

func (o ServiceLevelObjectiveRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceLevelObjectiveRequest) SetDescription ¶

func (o *ServiceLevelObjectiveRequest) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ServiceLevelObjectiveRequest) SetDescriptionNil ¶

func (o *ServiceLevelObjectiveRequest) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil.

func (*ServiceLevelObjectiveRequest) SetGroups ¶

func (o *ServiceLevelObjectiveRequest) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*ServiceLevelObjectiveRequest) SetMonitorIds ¶

func (o *ServiceLevelObjectiveRequest) SetMonitorIds(v []int64)

SetMonitorIds gets a reference to the given []int64 and assigns it to the MonitorIds field.

func (*ServiceLevelObjectiveRequest) SetName ¶

func (o *ServiceLevelObjectiveRequest) SetName(v string)

SetName sets field value.

func (*ServiceLevelObjectiveRequest) SetQuery ¶

SetQuery gets a reference to the given ServiceLevelObjectiveQuery and assigns it to the Query field.

func (*ServiceLevelObjectiveRequest) SetTags ¶

func (o *ServiceLevelObjectiveRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ServiceLevelObjectiveRequest) SetThresholds ¶

func (o *ServiceLevelObjectiveRequest) SetThresholds(v []SLOThreshold)

SetThresholds sets field value.

func (*ServiceLevelObjectiveRequest) SetType ¶

func (o *ServiceLevelObjectiveRequest) SetType(v SLOType)

SetType sets field value.

func (*ServiceLevelObjectiveRequest) UnmarshalJSON ¶

func (o *ServiceLevelObjectiveRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*ServiceLevelObjectiveRequest) UnsetDescription ¶

func (o *ServiceLevelObjectiveRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil.

type ServiceLevelObjectivesApiService ¶

type ServiceLevelObjectivesApiService service

ServiceLevelObjectivesApiService ServiceLevelObjectivesApi service.

func (*ServiceLevelObjectivesApiService) CheckCanDeleteSLO ¶

CheckCanDeleteSLO Check if SLOs can be safely deleted. Check if an SLO can be safely deleted. For example, assure an SLO can be deleted without disrupting a dashboard.

func (*ServiceLevelObjectivesApiService) CreateSLO ¶

CreateSLO Create an SLO object. Create a service level objective object.

func (*ServiceLevelObjectivesApiService) DeleteSLO ¶

DeleteSLO Delete an SLO. Permanently delete the specified service level objective object.

If an SLO is used in a dashboard, the `DELETE /v1/slo/` endpoint returns a 409 conflict error because the SLO is referenced in a dashboard.

func (*ServiceLevelObjectivesApiService) DeleteSLOTimeframeInBulk ¶

DeleteSLOTimeframeInBulk Bulk Delete SLO Timeframes. Delete (or partially delete) multiple service level objective objects.

This endpoint facilitates deletion of one or more thresholds for one or more service level objective objects. If all thresholds are deleted, the service level objective object is deleted as well.

func (*ServiceLevelObjectivesApiService) GetSLO ¶

GetSLO Get an SLO's details. Get a service level objective object.

func (*ServiceLevelObjectivesApiService) GetSLOCorrections ¶ added in v1.7.0

GetSLOCorrections Get Corrections For an SLO. Get corrections applied to an SLO

func (*ServiceLevelObjectivesApiService) GetSLOHistory ¶

GetSLOHistory Get an SLO's history. Get a specific SLO’s history, regardless of its SLO type.

The detailed history data is structured according to the source data type. For example, metric data is included for event SLOs that use the metric source, and monitor SLO types include the monitor transition history.

**Note:** There are different response formats for event based and time based SLOs. Examples of both are shown.

func (*ServiceLevelObjectivesApiService) ListSLOs ¶

ListSLOs Get all SLOs. Get a list of service level objective objects for your organization.

func (*ServiceLevelObjectivesApiService) SearchSLO ¶ added in v1.15.0

SearchSLO Search for SLOs. Get a list of service level objective objects for your organization.

func (*ServiceLevelObjectivesApiService) UpdateSLO ¶

UpdateSLO Update an SLO. Update the specified service level objective object.

type ServiceMapWidgetDefinition ¶

type ServiceMapWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// Your environment and primary tag (or * if enabled for your account).
	Filters []string `json:"filters"`
	// The ID of the service you want to map.
	Service string `json:"service"`
	// The title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the service map widget.
	Type ServiceMapWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceMapWidgetDefinition This widget displays a map of a service to all of the services that call it, and all of the services that it calls.

func NewServiceMapWidgetDefinition ¶

func NewServiceMapWidgetDefinition(filters []string, service string, typeVar ServiceMapWidgetDefinitionType) *ServiceMapWidgetDefinition

NewServiceMapWidgetDefinition instantiates a new ServiceMapWidgetDefinition 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 NewServiceMapWidgetDefinitionWithDefaults ¶

func NewServiceMapWidgetDefinitionWithDefaults() *ServiceMapWidgetDefinition

NewServiceMapWidgetDefinitionWithDefaults instantiates a new ServiceMapWidgetDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (o *ServiceMapWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*ServiceMapWidgetDefinition) GetCustomLinksOk ¶

func (o *ServiceMapWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceMapWidgetDefinition) GetFilters ¶

func (o *ServiceMapWidgetDefinition) GetFilters() []string

GetFilters returns the Filters field value.

func (*ServiceMapWidgetDefinition) GetFiltersOk ¶

func (o *ServiceMapWidgetDefinition) GetFiltersOk() (*[]string, bool)

GetFiltersOk returns a tuple with the Filters field value and a boolean to check if the value has been set.

func (*ServiceMapWidgetDefinition) GetService ¶

func (o *ServiceMapWidgetDefinition) GetService() string

GetService returns the Service field value.

func (*ServiceMapWidgetDefinition) GetServiceOk ¶

func (o *ServiceMapWidgetDefinition) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.

func (*ServiceMapWidgetDefinition) GetTitle ¶

func (o *ServiceMapWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ServiceMapWidgetDefinition) GetTitleAlign ¶

func (o *ServiceMapWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*ServiceMapWidgetDefinition) GetTitleAlignOk ¶

func (o *ServiceMapWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceMapWidgetDefinition) GetTitleOk ¶

func (o *ServiceMapWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceMapWidgetDefinition) GetTitleSize ¶

func (o *ServiceMapWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*ServiceMapWidgetDefinition) GetTitleSizeOk ¶

func (o *ServiceMapWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceMapWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*ServiceMapWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *ServiceMapWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*ServiceMapWidgetDefinition) HasTitle ¶

func (o *ServiceMapWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ServiceMapWidgetDefinition) HasTitleAlign ¶

func (o *ServiceMapWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ServiceMapWidgetDefinition) HasTitleSize ¶

func (o *ServiceMapWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (ServiceMapWidgetDefinition) MarshalJSON ¶

func (o ServiceMapWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (o *ServiceMapWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*ServiceMapWidgetDefinition) SetFilters ¶

func (o *ServiceMapWidgetDefinition) SetFilters(v []string)

SetFilters sets field value.

func (*ServiceMapWidgetDefinition) SetService ¶

func (o *ServiceMapWidgetDefinition) SetService(v string)

SetService sets field value.

func (*ServiceMapWidgetDefinition) SetTitle ¶

func (o *ServiceMapWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ServiceMapWidgetDefinition) SetTitleAlign ¶

func (o *ServiceMapWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*ServiceMapWidgetDefinition) SetTitleSize ¶

func (o *ServiceMapWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*ServiceMapWidgetDefinition) SetType ¶

SetType sets field value.

func (*ServiceMapWidgetDefinition) UnmarshalJSON ¶

func (o *ServiceMapWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceMapWidgetDefinitionType ¶

type ServiceMapWidgetDefinitionType string

ServiceMapWidgetDefinitionType Type of the service map widget.

const (
	SERVICEMAPWIDGETDEFINITIONTYPE_SERVICEMAP ServiceMapWidgetDefinitionType = "servicemap"
)

List of ServiceMapWidgetDefinitionType.

func NewServiceMapWidgetDefinitionTypeFromValue ¶

func NewServiceMapWidgetDefinitionTypeFromValue(v string) (*ServiceMapWidgetDefinitionType, error)

NewServiceMapWidgetDefinitionTypeFromValue returns a pointer to a valid ServiceMapWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceMapWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (ServiceMapWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceMapWidgetDefinitionType) Ptr ¶

Ptr returns reference to ServiceMapWidgetDefinitionType value.

func (*ServiceMapWidgetDefinitionType) UnmarshalJSON ¶

func (v *ServiceMapWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ServiceSummaryWidgetDefinition ¶

type ServiceSummaryWidgetDefinition struct {
	// Number of columns to display.
	DisplayFormat *WidgetServiceSummaryDisplayFormat `json:"display_format,omitempty"`
	// APM environment.
	Env string `json:"env"`
	// APM service.
	Service string `json:"service"`
	// Whether to show the latency breakdown or not.
	ShowBreakdown *bool `json:"show_breakdown,omitempty"`
	// Whether to show the latency distribution or not.
	ShowDistribution *bool `json:"show_distribution,omitempty"`
	// Whether to show the error metrics or not.
	ShowErrors *bool `json:"show_errors,omitempty"`
	// Whether to show the hits metrics or not.
	ShowHits *bool `json:"show_hits,omitempty"`
	// Whether to show the latency metrics or not.
	ShowLatency *bool `json:"show_latency,omitempty"`
	// Whether to show the resource list or not.
	ShowResourceList *bool `json:"show_resource_list,omitempty"`
	// Size of the widget.
	SizeFormat *WidgetSizeFormat `json:"size_format,omitempty"`
	// APM span name.
	SpanName string `json:"span_name"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of the widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the service summary widget.
	Type ServiceSummaryWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceSummaryWidgetDefinition The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards.

func NewServiceSummaryWidgetDefinition ¶

func NewServiceSummaryWidgetDefinition(env string, service string, spanName string, typeVar ServiceSummaryWidgetDefinitionType) *ServiceSummaryWidgetDefinition

NewServiceSummaryWidgetDefinition instantiates a new ServiceSummaryWidgetDefinition 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 NewServiceSummaryWidgetDefinitionWithDefaults ¶

func NewServiceSummaryWidgetDefinitionWithDefaults() *ServiceSummaryWidgetDefinition

NewServiceSummaryWidgetDefinitionWithDefaults instantiates a new ServiceSummaryWidgetDefinition 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 (*ServiceSummaryWidgetDefinition) GetDisplayFormat ¶

GetDisplayFormat returns the DisplayFormat field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetDisplayFormatOk ¶

GetDisplayFormatOk returns a tuple with the DisplayFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetEnv ¶

GetEnv returns the Env field value.

func (*ServiceSummaryWidgetDefinition) GetEnvOk ¶

func (o *ServiceSummaryWidgetDefinition) GetEnvOk() (*string, bool)

GetEnvOk returns a tuple with the Env field value and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetService ¶

func (o *ServiceSummaryWidgetDefinition) GetService() string

GetService returns the Service field value.

func (*ServiceSummaryWidgetDefinition) GetServiceOk ¶

func (o *ServiceSummaryWidgetDefinition) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetShowBreakdown ¶

func (o *ServiceSummaryWidgetDefinition) GetShowBreakdown() bool

GetShowBreakdown returns the ShowBreakdown field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetShowBreakdownOk ¶

func (o *ServiceSummaryWidgetDefinition) GetShowBreakdownOk() (*bool, bool)

GetShowBreakdownOk returns a tuple with the ShowBreakdown field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetShowDistribution ¶

func (o *ServiceSummaryWidgetDefinition) GetShowDistribution() bool

GetShowDistribution returns the ShowDistribution field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetShowDistributionOk ¶

func (o *ServiceSummaryWidgetDefinition) GetShowDistributionOk() (*bool, bool)

GetShowDistributionOk returns a tuple with the ShowDistribution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetShowErrors ¶

func (o *ServiceSummaryWidgetDefinition) GetShowErrors() bool

GetShowErrors returns the ShowErrors field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetShowErrorsOk ¶

func (o *ServiceSummaryWidgetDefinition) GetShowErrorsOk() (*bool, bool)

GetShowErrorsOk returns a tuple with the ShowErrors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetShowHits ¶

func (o *ServiceSummaryWidgetDefinition) GetShowHits() bool

GetShowHits returns the ShowHits field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetShowHitsOk ¶

func (o *ServiceSummaryWidgetDefinition) GetShowHitsOk() (*bool, bool)

GetShowHitsOk returns a tuple with the ShowHits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetShowLatency ¶

func (o *ServiceSummaryWidgetDefinition) GetShowLatency() bool

GetShowLatency returns the ShowLatency field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetShowLatencyOk ¶

func (o *ServiceSummaryWidgetDefinition) GetShowLatencyOk() (*bool, bool)

GetShowLatencyOk returns a tuple with the ShowLatency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetShowResourceList ¶

func (o *ServiceSummaryWidgetDefinition) GetShowResourceList() bool

GetShowResourceList returns the ShowResourceList field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetShowResourceListOk ¶

func (o *ServiceSummaryWidgetDefinition) GetShowResourceListOk() (*bool, bool)

GetShowResourceListOk returns a tuple with the ShowResourceList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetSizeFormat ¶

GetSizeFormat returns the SizeFormat field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetSizeFormatOk ¶

func (o *ServiceSummaryWidgetDefinition) GetSizeFormatOk() (*WidgetSizeFormat, bool)

GetSizeFormatOk returns a tuple with the SizeFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetSpanName ¶

func (o *ServiceSummaryWidgetDefinition) GetSpanName() string

GetSpanName returns the SpanName field value.

func (*ServiceSummaryWidgetDefinition) GetSpanNameOk ¶

func (o *ServiceSummaryWidgetDefinition) GetSpanNameOk() (*string, bool)

GetSpanNameOk returns a tuple with the SpanName field value and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetTimeOk ¶

func (o *ServiceSummaryWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetTitle ¶

func (o *ServiceSummaryWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetTitleAlign ¶

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetTitleAlignOk ¶

func (o *ServiceSummaryWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetTitleOk ¶

func (o *ServiceSummaryWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetTitleSize ¶

func (o *ServiceSummaryWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*ServiceSummaryWidgetDefinition) GetTitleSizeOk ¶

func (o *ServiceSummaryWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*ServiceSummaryWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceSummaryWidgetDefinition) HasDisplayFormat ¶

func (o *ServiceSummaryWidgetDefinition) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasShowBreakdown ¶

func (o *ServiceSummaryWidgetDefinition) HasShowBreakdown() bool

HasShowBreakdown returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasShowDistribution ¶

func (o *ServiceSummaryWidgetDefinition) HasShowDistribution() bool

HasShowDistribution returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasShowErrors ¶

func (o *ServiceSummaryWidgetDefinition) HasShowErrors() bool

HasShowErrors returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasShowHits ¶

func (o *ServiceSummaryWidgetDefinition) HasShowHits() bool

HasShowHits returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasShowLatency ¶

func (o *ServiceSummaryWidgetDefinition) HasShowLatency() bool

HasShowLatency returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasShowResourceList ¶

func (o *ServiceSummaryWidgetDefinition) HasShowResourceList() bool

HasShowResourceList returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasSizeFormat ¶

func (o *ServiceSummaryWidgetDefinition) HasSizeFormat() bool

HasSizeFormat returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasTime ¶

func (o *ServiceSummaryWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasTitle ¶

func (o *ServiceSummaryWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasTitleAlign ¶

func (o *ServiceSummaryWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ServiceSummaryWidgetDefinition) HasTitleSize ¶

func (o *ServiceSummaryWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (ServiceSummaryWidgetDefinition) MarshalJSON ¶

func (o ServiceSummaryWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ServiceSummaryWidgetDefinition) SetDisplayFormat ¶

SetDisplayFormat gets a reference to the given WidgetServiceSummaryDisplayFormat and assigns it to the DisplayFormat field.

func (*ServiceSummaryWidgetDefinition) SetEnv ¶

SetEnv sets field value.

func (*ServiceSummaryWidgetDefinition) SetService ¶

func (o *ServiceSummaryWidgetDefinition) SetService(v string)

SetService sets field value.

func (*ServiceSummaryWidgetDefinition) SetShowBreakdown ¶

func (o *ServiceSummaryWidgetDefinition) SetShowBreakdown(v bool)

SetShowBreakdown gets a reference to the given bool and assigns it to the ShowBreakdown field.

func (*ServiceSummaryWidgetDefinition) SetShowDistribution ¶

func (o *ServiceSummaryWidgetDefinition) SetShowDistribution(v bool)

SetShowDistribution gets a reference to the given bool and assigns it to the ShowDistribution field.

func (*ServiceSummaryWidgetDefinition) SetShowErrors ¶

func (o *ServiceSummaryWidgetDefinition) SetShowErrors(v bool)

SetShowErrors gets a reference to the given bool and assigns it to the ShowErrors field.

func (*ServiceSummaryWidgetDefinition) SetShowHits ¶

func (o *ServiceSummaryWidgetDefinition) SetShowHits(v bool)

SetShowHits gets a reference to the given bool and assigns it to the ShowHits field.

func (*ServiceSummaryWidgetDefinition) SetShowLatency ¶

func (o *ServiceSummaryWidgetDefinition) SetShowLatency(v bool)

SetShowLatency gets a reference to the given bool and assigns it to the ShowLatency field.

func (*ServiceSummaryWidgetDefinition) SetShowResourceList ¶

func (o *ServiceSummaryWidgetDefinition) SetShowResourceList(v bool)

SetShowResourceList gets a reference to the given bool and assigns it to the ShowResourceList field.

func (*ServiceSummaryWidgetDefinition) SetSizeFormat ¶

SetSizeFormat gets a reference to the given WidgetSizeFormat and assigns it to the SizeFormat field.

func (*ServiceSummaryWidgetDefinition) SetSpanName ¶

func (o *ServiceSummaryWidgetDefinition) SetSpanName(v string)

SetSpanName sets field value.

func (*ServiceSummaryWidgetDefinition) SetTime ¶

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*ServiceSummaryWidgetDefinition) SetTitle ¶

func (o *ServiceSummaryWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ServiceSummaryWidgetDefinition) SetTitleAlign ¶

func (o *ServiceSummaryWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*ServiceSummaryWidgetDefinition) SetTitleSize ¶

func (o *ServiceSummaryWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*ServiceSummaryWidgetDefinition) SetType ¶

SetType sets field value.

func (*ServiceSummaryWidgetDefinition) UnmarshalJSON ¶

func (o *ServiceSummaryWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ServiceSummaryWidgetDefinitionType ¶

type ServiceSummaryWidgetDefinitionType string

ServiceSummaryWidgetDefinitionType Type of the service summary widget.

const (
	SERVICESUMMARYWIDGETDEFINITIONTYPE_TRACE_SERVICE ServiceSummaryWidgetDefinitionType = "trace_service"
)

List of ServiceSummaryWidgetDefinitionType.

func NewServiceSummaryWidgetDefinitionTypeFromValue ¶

func NewServiceSummaryWidgetDefinitionTypeFromValue(v string) (*ServiceSummaryWidgetDefinitionType, error)

NewServiceSummaryWidgetDefinitionTypeFromValue returns a pointer to a valid ServiceSummaryWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ServiceSummaryWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (ServiceSummaryWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (ServiceSummaryWidgetDefinitionType) Ptr ¶

Ptr returns reference to ServiceSummaryWidgetDefinitionType value.

func (*ServiceSummaryWidgetDefinitionType) UnmarshalJSON ¶

func (v *ServiceSummaryWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SignalArchiveReason ¶ added in v1.15.0

type SignalArchiveReason string

SignalArchiveReason Reason why a signal has been archived.

const (
	SIGNALARCHIVEREASON_NONE                   SignalArchiveReason = "none"
	SIGNALARCHIVEREASON_FALSE_POSITIVE         SignalArchiveReason = "false_positive"
	SIGNALARCHIVEREASON_TESTING_OR_MAINTENANCE SignalArchiveReason = "testing_or_maintenance"
	SIGNALARCHIVEREASON_OTHER                  SignalArchiveReason = "other"
)

List of SignalArchiveReason.

func NewSignalArchiveReasonFromValue ¶ added in v1.15.0

func NewSignalArchiveReasonFromValue(v string) (*SignalArchiveReason, error)

NewSignalArchiveReasonFromValue returns a pointer to a valid SignalArchiveReason for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SignalArchiveReason) GetAllowedValues ¶ added in v1.15.0

func (v *SignalArchiveReason) GetAllowedValues() []SignalArchiveReason

GetAllowedValues reeturns the list of possible values.

func (SignalArchiveReason) IsValid ¶ added in v1.15.0

func (v SignalArchiveReason) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SignalArchiveReason) Ptr ¶ added in v1.15.0

Ptr returns reference to SignalArchiveReason value.

func (*SignalArchiveReason) UnmarshalJSON ¶ added in v1.15.0

func (v *SignalArchiveReason) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SignalAssigneeUpdateRequest ¶ added in v1.15.0

type SignalAssigneeUpdateRequest struct {
	// The UUID of the user being assigned. Use empty string to return signal to unassigned.
	Assignee string `json:"assignee"`
	// Version of the updated signal. If server side version is higher, update will be rejected.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SignalAssigneeUpdateRequest Attributes describing an assignee update operation over a security signal.

func NewSignalAssigneeUpdateRequest ¶ added in v1.15.0

func NewSignalAssigneeUpdateRequest(assignee string) *SignalAssigneeUpdateRequest

NewSignalAssigneeUpdateRequest instantiates a new SignalAssigneeUpdateRequest 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 NewSignalAssigneeUpdateRequestWithDefaults ¶ added in v1.15.0

func NewSignalAssigneeUpdateRequestWithDefaults() *SignalAssigneeUpdateRequest

NewSignalAssigneeUpdateRequestWithDefaults instantiates a new SignalAssigneeUpdateRequest 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 (*SignalAssigneeUpdateRequest) GetAssignee ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) GetAssignee() string

GetAssignee returns the Assignee field value.

func (*SignalAssigneeUpdateRequest) GetAssigneeOk ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) GetAssigneeOk() (*string, bool)

GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.

func (*SignalAssigneeUpdateRequest) GetVersion ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SignalAssigneeUpdateRequest) GetVersionOk ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) 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 (*SignalAssigneeUpdateRequest) HasVersion ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SignalAssigneeUpdateRequest) MarshalJSON ¶ added in v1.15.0

func (o SignalAssigneeUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SignalAssigneeUpdateRequest) SetAssignee ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) SetAssignee(v string)

SetAssignee sets field value.

func (*SignalAssigneeUpdateRequest) SetVersion ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SignalAssigneeUpdateRequest) UnmarshalJSON ¶ added in v1.15.0

func (o *SignalAssigneeUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SignalStateUpdateRequest ¶ added in v1.15.0

type SignalStateUpdateRequest struct {
	// Optional comment to explain why a signal is being archived.
	ArchiveComment *string `json:"archiveComment,omitempty"`
	// Reason why a signal has been archived.
	ArchiveReason *SignalArchiveReason `json:"archiveReason,omitempty"`
	// The new triage state of the signal.
	State SignalTriageState `json:"state"`
	// Version of the updated signal. If server side version is higher, update will be rejected.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SignalStateUpdateRequest Attributes describing the change of state for a given state.

func NewSignalStateUpdateRequest ¶ added in v1.15.0

func NewSignalStateUpdateRequest(state SignalTriageState) *SignalStateUpdateRequest

NewSignalStateUpdateRequest instantiates a new SignalStateUpdateRequest 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 NewSignalStateUpdateRequestWithDefaults ¶ added in v1.15.0

func NewSignalStateUpdateRequestWithDefaults() *SignalStateUpdateRequest

NewSignalStateUpdateRequestWithDefaults instantiates a new SignalStateUpdateRequest 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 (*SignalStateUpdateRequest) GetArchiveComment ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) GetArchiveComment() string

GetArchiveComment returns the ArchiveComment field value if set, zero value otherwise.

func (*SignalStateUpdateRequest) GetArchiveCommentOk ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) GetArchiveCommentOk() (*string, bool)

GetArchiveCommentOk returns a tuple with the ArchiveComment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignalStateUpdateRequest) GetArchiveReason ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) GetArchiveReason() SignalArchiveReason

GetArchiveReason returns the ArchiveReason field value if set, zero value otherwise.

func (*SignalStateUpdateRequest) GetArchiveReasonOk ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) GetArchiveReasonOk() (*SignalArchiveReason, bool)

GetArchiveReasonOk returns a tuple with the ArchiveReason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignalStateUpdateRequest) GetState ¶ added in v1.15.0

GetState returns the State field value.

func (*SignalStateUpdateRequest) GetStateOk ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) GetStateOk() (*SignalTriageState, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*SignalStateUpdateRequest) GetVersion ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SignalStateUpdateRequest) GetVersionOk ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) 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 (*SignalStateUpdateRequest) HasArchiveComment ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) HasArchiveComment() bool

HasArchiveComment returns a boolean if a field has been set.

func (*SignalStateUpdateRequest) HasArchiveReason ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) HasArchiveReason() bool

HasArchiveReason returns a boolean if a field has been set.

func (*SignalStateUpdateRequest) HasVersion ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SignalStateUpdateRequest) MarshalJSON ¶ added in v1.15.0

func (o SignalStateUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SignalStateUpdateRequest) SetArchiveComment ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) SetArchiveComment(v string)

SetArchiveComment gets a reference to the given string and assigns it to the ArchiveComment field.

func (*SignalStateUpdateRequest) SetArchiveReason ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) SetArchiveReason(v SignalArchiveReason)

SetArchiveReason gets a reference to the given SignalArchiveReason and assigns it to the ArchiveReason field.

func (*SignalStateUpdateRequest) SetState ¶ added in v1.15.0

SetState sets field value.

func (*SignalStateUpdateRequest) SetVersion ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SignalStateUpdateRequest) UnmarshalJSON ¶ added in v1.15.0

func (o *SignalStateUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SignalTriageState ¶ added in v1.15.0

type SignalTriageState string

SignalTriageState The new triage state of the signal.

const (
	SIGNALTRIAGESTATE_OPEN         SignalTriageState = "open"
	SIGNALTRIAGESTATE_ARCHIVED     SignalTriageState = "archived"
	SIGNALTRIAGESTATE_UNDER_REVIEW SignalTriageState = "under_review"
)

List of SignalTriageState.

func NewSignalTriageStateFromValue ¶ added in v1.15.0

func NewSignalTriageStateFromValue(v string) (*SignalTriageState, error)

NewSignalTriageStateFromValue returns a pointer to a valid SignalTriageState for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SignalTriageState) GetAllowedValues ¶ added in v1.15.0

func (v *SignalTriageState) GetAllowedValues() []SignalTriageState

GetAllowedValues reeturns the list of possible values.

func (SignalTriageState) IsValid ¶ added in v1.15.0

func (v SignalTriageState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SignalTriageState) Ptr ¶ added in v1.15.0

Ptr returns reference to SignalTriageState value.

func (*SignalTriageState) UnmarshalJSON ¶ added in v1.15.0

func (v *SignalTriageState) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SlackIntegrationApiService ¶

type SlackIntegrationApiService service

SlackIntegrationApiService SlackIntegrationApi service.

func (*SlackIntegrationApiService) CreateSlackIntegrationChannel ¶

func (a *SlackIntegrationApiService) CreateSlackIntegrationChannel(ctx _context.Context, accountName string, body SlackIntegrationChannel) (SlackIntegrationChannel, *_nethttp.Response, error)

CreateSlackIntegrationChannel Create a Slack integration channel. Add a channel to your Datadog-Slack integration.

func (*SlackIntegrationApiService) GetSlackIntegrationChannel ¶

func (a *SlackIntegrationApiService) GetSlackIntegrationChannel(ctx _context.Context, accountName string, channelName string) (SlackIntegrationChannel, *_nethttp.Response, error)

GetSlackIntegrationChannel Get a Slack integration channel. Get a channel configured for your Datadog-Slack integration.

func (*SlackIntegrationApiService) GetSlackIntegrationChannels ¶

func (a *SlackIntegrationApiService) GetSlackIntegrationChannels(ctx _context.Context, accountName string) ([]SlackIntegrationChannel, *_nethttp.Response, error)

GetSlackIntegrationChannels Get all channels in a Slack integration. Get a list of all channels configured for your Datadog-Slack integration.

func (*SlackIntegrationApiService) RemoveSlackIntegrationChannel ¶

func (a *SlackIntegrationApiService) RemoveSlackIntegrationChannel(ctx _context.Context, accountName string, channelName string) (*_nethttp.Response, error)

RemoveSlackIntegrationChannel Remove a Slack integration channel. Remove a channel from your Datadog-Slack integration.

func (*SlackIntegrationApiService) UpdateSlackIntegrationChannel ¶

func (a *SlackIntegrationApiService) UpdateSlackIntegrationChannel(ctx _context.Context, accountName string, channelName string, body SlackIntegrationChannel) (SlackIntegrationChannel, *_nethttp.Response, error)

UpdateSlackIntegrationChannel Update a Slack integration channel. Update a channel used in your Datadog-Slack integration.

type SlackIntegrationChannel ¶

type SlackIntegrationChannel struct {
	// Configuration options for what is shown in an alert event message.
	Display *SlackIntegrationChannelDisplay `json:"display,omitempty"`
	// Your channel name.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SlackIntegrationChannel The Slack channel configuration.

func NewSlackIntegrationChannel ¶

func NewSlackIntegrationChannel() *SlackIntegrationChannel

NewSlackIntegrationChannel instantiates a new SlackIntegrationChannel 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 NewSlackIntegrationChannelWithDefaults ¶

func NewSlackIntegrationChannelWithDefaults() *SlackIntegrationChannel

NewSlackIntegrationChannelWithDefaults instantiates a new SlackIntegrationChannel 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 (*SlackIntegrationChannel) GetDisplay ¶

GetDisplay returns the Display field value if set, zero value otherwise.

func (*SlackIntegrationChannel) GetDisplayOk ¶

GetDisplayOk returns a tuple with the Display field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlackIntegrationChannel) GetName ¶

func (o *SlackIntegrationChannel) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SlackIntegrationChannel) GetNameOk ¶

func (o *SlackIntegrationChannel) 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 (*SlackIntegrationChannel) HasDisplay ¶

func (o *SlackIntegrationChannel) HasDisplay() bool

HasDisplay returns a boolean if a field has been set.

func (*SlackIntegrationChannel) HasName ¶

func (o *SlackIntegrationChannel) HasName() bool

HasName returns a boolean if a field has been set.

func (SlackIntegrationChannel) MarshalJSON ¶

func (o SlackIntegrationChannel) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SlackIntegrationChannel) SetDisplay ¶

SetDisplay gets a reference to the given SlackIntegrationChannelDisplay and assigns it to the Display field.

func (*SlackIntegrationChannel) SetName ¶

func (o *SlackIntegrationChannel) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SlackIntegrationChannel) UnmarshalJSON ¶ added in v1.3.0

func (o *SlackIntegrationChannel) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SlackIntegrationChannelDisplay ¶

type SlackIntegrationChannelDisplay struct {
	// Show the main body of the alert event.
	Message *bool `json:"message,omitempty"`
	// Show the list of @-handles in the alert event.
	Notified *bool `json:"notified,omitempty"`
	// Show the alert event's snapshot image.
	Snapshot *bool `json:"snapshot,omitempty"`
	// Show the scopes on which the monitor alerted.
	Tags *bool `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SlackIntegrationChannelDisplay Configuration options for what is shown in an alert event message.

func NewSlackIntegrationChannelDisplay ¶

func NewSlackIntegrationChannelDisplay() *SlackIntegrationChannelDisplay

NewSlackIntegrationChannelDisplay instantiates a new SlackIntegrationChannelDisplay 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 NewSlackIntegrationChannelDisplayWithDefaults ¶

func NewSlackIntegrationChannelDisplayWithDefaults() *SlackIntegrationChannelDisplay

NewSlackIntegrationChannelDisplayWithDefaults instantiates a new SlackIntegrationChannelDisplay 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 (*SlackIntegrationChannelDisplay) GetMessage ¶

func (o *SlackIntegrationChannelDisplay) GetMessage() bool

GetMessage returns the Message field value if set, zero value otherwise.

func (*SlackIntegrationChannelDisplay) GetMessageOk ¶

func (o *SlackIntegrationChannelDisplay) GetMessageOk() (*bool, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlackIntegrationChannelDisplay) GetNotified ¶

func (o *SlackIntegrationChannelDisplay) GetNotified() bool

GetNotified returns the Notified field value if set, zero value otherwise.

func (*SlackIntegrationChannelDisplay) GetNotifiedOk ¶

func (o *SlackIntegrationChannelDisplay) GetNotifiedOk() (*bool, bool)

GetNotifiedOk returns a tuple with the Notified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlackIntegrationChannelDisplay) GetSnapshot ¶

func (o *SlackIntegrationChannelDisplay) GetSnapshot() bool

GetSnapshot returns the Snapshot field value if set, zero value otherwise.

func (*SlackIntegrationChannelDisplay) GetSnapshotOk ¶

func (o *SlackIntegrationChannelDisplay) GetSnapshotOk() (*bool, bool)

GetSnapshotOk returns a tuple with the Snapshot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlackIntegrationChannelDisplay) GetTags ¶

func (o *SlackIntegrationChannelDisplay) GetTags() bool

GetTags returns the Tags field value if set, zero value otherwise.

func (*SlackIntegrationChannelDisplay) GetTagsOk ¶

func (o *SlackIntegrationChannelDisplay) GetTagsOk() (*bool, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SlackIntegrationChannelDisplay) HasMessage ¶

func (o *SlackIntegrationChannelDisplay) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SlackIntegrationChannelDisplay) HasNotified ¶

func (o *SlackIntegrationChannelDisplay) HasNotified() bool

HasNotified returns a boolean if a field has been set.

func (*SlackIntegrationChannelDisplay) HasSnapshot ¶

func (o *SlackIntegrationChannelDisplay) HasSnapshot() bool

HasSnapshot returns a boolean if a field has been set.

func (*SlackIntegrationChannelDisplay) HasTags ¶

func (o *SlackIntegrationChannelDisplay) HasTags() bool

HasTags returns a boolean if a field has been set.

func (SlackIntegrationChannelDisplay) MarshalJSON ¶

func (o SlackIntegrationChannelDisplay) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SlackIntegrationChannelDisplay) SetMessage ¶

func (o *SlackIntegrationChannelDisplay) SetMessage(v bool)

SetMessage gets a reference to the given bool and assigns it to the Message field.

func (*SlackIntegrationChannelDisplay) SetNotified ¶

func (o *SlackIntegrationChannelDisplay) SetNotified(v bool)

SetNotified gets a reference to the given bool and assigns it to the Notified field.

func (*SlackIntegrationChannelDisplay) SetSnapshot ¶

func (o *SlackIntegrationChannelDisplay) SetSnapshot(v bool)

SetSnapshot gets a reference to the given bool and assigns it to the Snapshot field.

func (*SlackIntegrationChannelDisplay) SetTags ¶

func (o *SlackIntegrationChannelDisplay) SetTags(v bool)

SetTags gets a reference to the given bool and assigns it to the Tags field.

func (*SlackIntegrationChannelDisplay) UnmarshalJSON ¶ added in v1.3.0

func (o *SlackIntegrationChannelDisplay) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SnapshotsApiService ¶

type SnapshotsApiService service

SnapshotsApiService SnapshotsApi service.

func (*SnapshotsApiService) GetGraphSnapshot ¶

GetGraphSnapshot Take graph snapshots. Take graph snapshots. **Note**: When a snapshot is created, there is some delay before it is available.

type SubmitDistributionPointsOptionalParameters ¶ added in v1.15.0

type SubmitDistributionPointsOptionalParameters struct {
	ContentEncoding *DistributionPointsContentEncoding
}

SubmitDistributionPointsOptionalParameters holds optional parameters for SubmitDistributionPoints.

func NewSubmitDistributionPointsOptionalParameters ¶ added in v1.15.0

func NewSubmitDistributionPointsOptionalParameters() *SubmitDistributionPointsOptionalParameters

NewSubmitDistributionPointsOptionalParameters creates an empty struct for parameters.

func (*SubmitDistributionPointsOptionalParameters) WithContentEncoding ¶ added in v1.15.0

WithContentEncoding sets the corresponding parameter name and returns the struct.

type SubmitLogOptionalParameters ¶

type SubmitLogOptionalParameters struct {
	ContentEncoding *ContentEncoding
	Ddtags          *string
}

SubmitLogOptionalParameters holds optional parameters for SubmitLog.

func NewSubmitLogOptionalParameters ¶

func NewSubmitLogOptionalParameters() *SubmitLogOptionalParameters

NewSubmitLogOptionalParameters creates an empty struct for parameters.

func (*SubmitLogOptionalParameters) WithContentEncoding ¶

func (r *SubmitLogOptionalParameters) WithContentEncoding(contentEncoding ContentEncoding) *SubmitLogOptionalParameters

WithContentEncoding sets the corresponding parameter name and returns the struct.

func (*SubmitLogOptionalParameters) WithDdtags ¶

WithDdtags sets the corresponding parameter name and returns the struct.

type SubmitMetricsOptionalParameters ¶ added in v1.5.0

type SubmitMetricsOptionalParameters struct {
	ContentEncoding *MetricContentEncoding
}

SubmitMetricsOptionalParameters holds optional parameters for SubmitMetrics.

func NewSubmitMetricsOptionalParameters ¶ added in v1.5.0

func NewSubmitMetricsOptionalParameters() *SubmitMetricsOptionalParameters

NewSubmitMetricsOptionalParameters creates an empty struct for parameters.

func (*SubmitMetricsOptionalParameters) WithContentEncoding ¶ added in v1.5.0

WithContentEncoding sets the corresponding parameter name and returns the struct.

type SuccessfulSignalUpdateResponse ¶ added in v1.15.0

type SuccessfulSignalUpdateResponse struct {
	// Status of the response.
	Status *string `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SuccessfulSignalUpdateResponse Updated signal data following a successfully performed update.

func NewSuccessfulSignalUpdateResponse ¶ added in v1.15.0

func NewSuccessfulSignalUpdateResponse() *SuccessfulSignalUpdateResponse

NewSuccessfulSignalUpdateResponse instantiates a new SuccessfulSignalUpdateResponse 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 NewSuccessfulSignalUpdateResponseWithDefaults ¶ added in v1.15.0

func NewSuccessfulSignalUpdateResponseWithDefaults() *SuccessfulSignalUpdateResponse

NewSuccessfulSignalUpdateResponseWithDefaults instantiates a new SuccessfulSignalUpdateResponse 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 (*SuccessfulSignalUpdateResponse) GetStatus ¶ added in v1.15.0

func (o *SuccessfulSignalUpdateResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*SuccessfulSignalUpdateResponse) GetStatusOk ¶ added in v1.15.0

func (o *SuccessfulSignalUpdateResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SuccessfulSignalUpdateResponse) HasStatus ¶ added in v1.15.0

func (o *SuccessfulSignalUpdateResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SuccessfulSignalUpdateResponse) MarshalJSON ¶ added in v1.15.0

func (o SuccessfulSignalUpdateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SuccessfulSignalUpdateResponse) SetStatus ¶ added in v1.15.0

func (o *SuccessfulSignalUpdateResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*SuccessfulSignalUpdateResponse) UnmarshalJSON ¶ added in v1.15.0

func (o *SuccessfulSignalUpdateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SunburstWidgetDefinition ¶ added in v1.8.0

type SunburstWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// Show the total value in this widget.
	HideTotal *bool `json:"hide_total,omitempty"`
	// Configuration of the legend.
	Legend *SunburstWidgetLegend `json:"legend,omitempty"`
	// List of sunburst widget requests.
	Requests []SunburstWidgetRequest `json:"requests"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the Sunburst widget.
	Type SunburstWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SunburstWidgetDefinition Sunbursts are spot on to highlight how groups contribute to the total of a query.

func NewSunburstWidgetDefinition ¶ added in v1.8.0

func NewSunburstWidgetDefinition(requests []SunburstWidgetRequest, typeVar SunburstWidgetDefinitionType) *SunburstWidgetDefinition

NewSunburstWidgetDefinition instantiates a new SunburstWidgetDefinition 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 NewSunburstWidgetDefinitionWithDefaults ¶ added in v1.8.0

func NewSunburstWidgetDefinitionWithDefaults() *SunburstWidgetDefinition

NewSunburstWidgetDefinitionWithDefaults instantiates a new SunburstWidgetDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (o *SunburstWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*SunburstWidgetDefinition) GetCustomLinksOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetHideTotal ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetHideTotal() bool

GetHideTotal returns the HideTotal field value if set, zero value otherwise.

func (*SunburstWidgetDefinition) GetHideTotalOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetHideTotalOk() (*bool, bool)

GetHideTotalOk returns a tuple with the HideTotal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetLegend ¶ added in v1.8.0

GetLegend returns the Legend field value if set, zero value otherwise.

func (*SunburstWidgetDefinition) GetLegendOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetLegendOk() (*SunburstWidgetLegend, bool)

GetLegendOk returns a tuple with the Legend field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetRequests ¶ added in v1.8.0

GetRequests returns the Requests field value.

func (*SunburstWidgetDefinition) GetRequestsOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetRequestsOk() (*[]SunburstWidgetRequest, bool)

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetTime ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*SunburstWidgetDefinition) GetTimeOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetTitle ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*SunburstWidgetDefinition) GetTitleAlign ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*SunburstWidgetDefinition) GetTitleAlignOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetTitleOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetTitleSize ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*SunburstWidgetDefinition) GetTitleSizeOk ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetDefinition) GetType ¶ added in v1.8.0

GetType returns the Type field value.

func (*SunburstWidgetDefinition) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *SunburstWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*SunburstWidgetDefinition) HasHideTotal ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) HasHideTotal() bool

HasHideTotal returns a boolean if a field has been set.

func (*SunburstWidgetDefinition) HasLegend ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) HasLegend() bool

HasLegend returns a boolean if a field has been set.

func (*SunburstWidgetDefinition) HasTime ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*SunburstWidgetDefinition) HasTitle ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*SunburstWidgetDefinition) HasTitleAlign ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*SunburstWidgetDefinition) HasTitleSize ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (SunburstWidgetDefinition) MarshalJSON ¶ added in v1.8.0

func (o SunburstWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (o *SunburstWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*SunburstWidgetDefinition) SetHideTotal ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) SetHideTotal(v bool)

SetHideTotal gets a reference to the given bool and assigns it to the HideTotal field.

func (*SunburstWidgetDefinition) SetLegend ¶ added in v1.8.0

SetLegend gets a reference to the given SunburstWidgetLegend and assigns it to the Legend field.

func (*SunburstWidgetDefinition) SetRequests ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) SetRequests(v []SunburstWidgetRequest)

SetRequests sets field value.

func (*SunburstWidgetDefinition) SetTime ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*SunburstWidgetDefinition) SetTitle ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*SunburstWidgetDefinition) SetTitleAlign ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*SunburstWidgetDefinition) SetTitleSize ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*SunburstWidgetDefinition) SetType ¶ added in v1.8.0

SetType sets field value.

func (*SunburstWidgetDefinition) UnmarshalJSON ¶ added in v1.8.0

func (o *SunburstWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SunburstWidgetDefinitionType ¶ added in v1.8.0

type SunburstWidgetDefinitionType string

SunburstWidgetDefinitionType Type of the Sunburst widget.

const (
	SUNBURSTWIDGETDEFINITIONTYPE_SUNBURST SunburstWidgetDefinitionType = "sunburst"
)

List of SunburstWidgetDefinitionType.

func NewSunburstWidgetDefinitionTypeFromValue ¶ added in v1.8.0

func NewSunburstWidgetDefinitionTypeFromValue(v string) (*SunburstWidgetDefinitionType, error)

NewSunburstWidgetDefinitionTypeFromValue returns a pointer to a valid SunburstWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SunburstWidgetDefinitionType) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (SunburstWidgetDefinitionType) IsValid ¶ added in v1.8.0

func (v SunburstWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SunburstWidgetDefinitionType) Ptr ¶ added in v1.8.0

Ptr returns reference to SunburstWidgetDefinitionType value.

func (*SunburstWidgetDefinitionType) UnmarshalJSON ¶ added in v1.8.0

func (v *SunburstWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SunburstWidgetLegend ¶ added in v1.8.0

type SunburstWidgetLegend struct {
	SunburstWidgetLegendTable           *SunburstWidgetLegendTable
	SunburstWidgetLegendInlineAutomatic *SunburstWidgetLegendInlineAutomatic

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

SunburstWidgetLegend - Configuration of the legend.

func SunburstWidgetLegendInlineAutomaticAsSunburstWidgetLegend ¶ added in v1.8.0

func SunburstWidgetLegendInlineAutomaticAsSunburstWidgetLegend(v *SunburstWidgetLegendInlineAutomatic) SunburstWidgetLegend

SunburstWidgetLegendInlineAutomaticAsSunburstWidgetLegend is a convenience function that returns SunburstWidgetLegendInlineAutomatic wrapped in SunburstWidgetLegend.

func SunburstWidgetLegendTableAsSunburstWidgetLegend ¶ added in v1.8.0

func SunburstWidgetLegendTableAsSunburstWidgetLegend(v *SunburstWidgetLegendTable) SunburstWidgetLegend

SunburstWidgetLegendTableAsSunburstWidgetLegend is a convenience function that returns SunburstWidgetLegendTable wrapped in SunburstWidgetLegend.

func (*SunburstWidgetLegend) GetActualInstance ¶ added in v1.8.0

func (obj *SunburstWidgetLegend) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (SunburstWidgetLegend) MarshalJSON ¶ added in v1.8.0

func (obj SunburstWidgetLegend) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*SunburstWidgetLegend) UnmarshalJSON ¶ added in v1.8.0

func (obj *SunburstWidgetLegend) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type SunburstWidgetLegendInlineAutomatic ¶ added in v1.8.0

type SunburstWidgetLegendInlineAutomatic struct {
	// Whether to hide the percentages of the groups.
	HidePercent *bool `json:"hide_percent,omitempty"`
	// Whether to hide the values of the groups.
	HideValue *bool `json:"hide_value,omitempty"`
	// Whether to show the legend inline or let it be automatically generated.
	Type SunburstWidgetLegendInlineAutomaticType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SunburstWidgetLegendInlineAutomatic Configuration of inline or automatic legends.

func NewSunburstWidgetLegendInlineAutomatic ¶ added in v1.8.0

func NewSunburstWidgetLegendInlineAutomatic(typeVar SunburstWidgetLegendInlineAutomaticType) *SunburstWidgetLegendInlineAutomatic

NewSunburstWidgetLegendInlineAutomatic instantiates a new SunburstWidgetLegendInlineAutomatic 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 NewSunburstWidgetLegendInlineAutomaticWithDefaults ¶ added in v1.8.0

func NewSunburstWidgetLegendInlineAutomaticWithDefaults() *SunburstWidgetLegendInlineAutomatic

NewSunburstWidgetLegendInlineAutomaticWithDefaults instantiates a new SunburstWidgetLegendInlineAutomatic 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 (*SunburstWidgetLegendInlineAutomatic) GetHidePercent ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) GetHidePercent() bool

GetHidePercent returns the HidePercent field value if set, zero value otherwise.

func (*SunburstWidgetLegendInlineAutomatic) GetHidePercentOk ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) GetHidePercentOk() (*bool, bool)

GetHidePercentOk returns a tuple with the HidePercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetLegendInlineAutomatic) GetHideValue ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) GetHideValue() bool

GetHideValue returns the HideValue field value if set, zero value otherwise.

func (*SunburstWidgetLegendInlineAutomatic) GetHideValueOk ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) GetHideValueOk() (*bool, bool)

GetHideValueOk returns a tuple with the HideValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetLegendInlineAutomatic) GetType ¶ added in v1.8.0

GetType returns the Type field value.

func (*SunburstWidgetLegendInlineAutomatic) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SunburstWidgetLegendInlineAutomatic) HasHidePercent ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) HasHidePercent() bool

HasHidePercent returns a boolean if a field has been set.

func (*SunburstWidgetLegendInlineAutomatic) HasHideValue ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) HasHideValue() bool

HasHideValue returns a boolean if a field has been set.

func (SunburstWidgetLegendInlineAutomatic) MarshalJSON ¶ added in v1.8.0

func (o SunburstWidgetLegendInlineAutomatic) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SunburstWidgetLegendInlineAutomatic) SetHidePercent ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) SetHidePercent(v bool)

SetHidePercent gets a reference to the given bool and assigns it to the HidePercent field.

func (*SunburstWidgetLegendInlineAutomatic) SetHideValue ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) SetHideValue(v bool)

SetHideValue gets a reference to the given bool and assigns it to the HideValue field.

func (*SunburstWidgetLegendInlineAutomatic) SetType ¶ added in v1.8.0

SetType sets field value.

func (*SunburstWidgetLegendInlineAutomatic) UnmarshalJSON ¶ added in v1.8.0

func (o *SunburstWidgetLegendInlineAutomatic) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SunburstWidgetLegendInlineAutomaticType ¶ added in v1.8.0

type SunburstWidgetLegendInlineAutomaticType string

SunburstWidgetLegendInlineAutomaticType Whether to show the legend inline or let it be automatically generated.

const (
	SUNBURSTWIDGETLEGENDINLINEAUTOMATICTYPE_INLINE    SunburstWidgetLegendInlineAutomaticType = "inline"
	SUNBURSTWIDGETLEGENDINLINEAUTOMATICTYPE_AUTOMATIC SunburstWidgetLegendInlineAutomaticType = "automatic"
)

List of SunburstWidgetLegendInlineAutomaticType.

func NewSunburstWidgetLegendInlineAutomaticTypeFromValue ¶ added in v1.8.0

func NewSunburstWidgetLegendInlineAutomaticTypeFromValue(v string) (*SunburstWidgetLegendInlineAutomaticType, error)

NewSunburstWidgetLegendInlineAutomaticTypeFromValue returns a pointer to a valid SunburstWidgetLegendInlineAutomaticType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SunburstWidgetLegendInlineAutomaticType) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (SunburstWidgetLegendInlineAutomaticType) IsValid ¶ added in v1.8.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SunburstWidgetLegendInlineAutomaticType) Ptr ¶ added in v1.8.0

Ptr returns reference to SunburstWidgetLegendInlineAutomaticType value.

func (*SunburstWidgetLegendInlineAutomaticType) UnmarshalJSON ¶ added in v1.8.0

func (v *SunburstWidgetLegendInlineAutomaticType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SunburstWidgetLegendTable ¶ added in v1.8.0

type SunburstWidgetLegendTable struct {
	// Whether or not to show a table legend.
	Type SunburstWidgetLegendTableType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SunburstWidgetLegendTable Configuration of table-based legend.

func NewSunburstWidgetLegendTable ¶ added in v1.8.0

func NewSunburstWidgetLegendTable(typeVar SunburstWidgetLegendTableType) *SunburstWidgetLegendTable

NewSunburstWidgetLegendTable instantiates a new SunburstWidgetLegendTable 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 NewSunburstWidgetLegendTableWithDefaults ¶ added in v1.8.0

func NewSunburstWidgetLegendTableWithDefaults() *SunburstWidgetLegendTable

NewSunburstWidgetLegendTableWithDefaults instantiates a new SunburstWidgetLegendTable 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 (*SunburstWidgetLegendTable) GetType ¶ added in v1.8.0

GetType returns the Type field value.

func (*SunburstWidgetLegendTable) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (SunburstWidgetLegendTable) MarshalJSON ¶ added in v1.8.0

func (o SunburstWidgetLegendTable) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SunburstWidgetLegendTable) SetType ¶ added in v1.8.0

SetType sets field value.

func (*SunburstWidgetLegendTable) UnmarshalJSON ¶ added in v1.8.0

func (o *SunburstWidgetLegendTable) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SunburstWidgetLegendTableType ¶ added in v1.8.0

type SunburstWidgetLegendTableType string

SunburstWidgetLegendTableType Whether or not to show a table legend.

const (
	SUNBURSTWIDGETLEGENDTABLETYPE_TABLE SunburstWidgetLegendTableType = "table"
	SUNBURSTWIDGETLEGENDTABLETYPE_NONE  SunburstWidgetLegendTableType = "none"
)

List of SunburstWidgetLegendTableType.

func NewSunburstWidgetLegendTableTypeFromValue ¶ added in v1.8.0

func NewSunburstWidgetLegendTableTypeFromValue(v string) (*SunburstWidgetLegendTableType, error)

NewSunburstWidgetLegendTableTypeFromValue returns a pointer to a valid SunburstWidgetLegendTableType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SunburstWidgetLegendTableType) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (SunburstWidgetLegendTableType) IsValid ¶ added in v1.8.0

func (v SunburstWidgetLegendTableType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SunburstWidgetLegendTableType) Ptr ¶ added in v1.8.0

Ptr returns reference to SunburstWidgetLegendTableType value.

func (*SunburstWidgetLegendTableType) UnmarshalJSON ¶ added in v1.8.0

func (v *SunburstWidgetLegendTableType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SunburstWidgetRequest ¶ added in v1.8.0

type SunburstWidgetRequest struct {
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The log query.
	AuditQuery *LogQueryDefinition `json:"audit_query,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Widget query.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SunburstWidgetRequest Request definition of sunburst widget.

func NewSunburstWidgetRequest ¶ added in v1.8.0

func NewSunburstWidgetRequest() *SunburstWidgetRequest

NewSunburstWidgetRequest instantiates a new SunburstWidgetRequest 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 NewSunburstWidgetRequestWithDefaults ¶ added in v1.8.0

func NewSunburstWidgetRequestWithDefaults() *SunburstWidgetRequest

NewSunburstWidgetRequestWithDefaults instantiates a new SunburstWidgetRequest 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 (*SunburstWidgetRequest) GetApmQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetApmQuery() LogQueryDefinition

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetApmQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

GetApmQueryOk returns a tuple with the ApmQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetAuditQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetAuditQuery() LogQueryDefinition

GetAuditQuery returns the AuditQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetAuditQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetAuditQueryOk() (*LogQueryDefinition, bool)

GetAuditQueryOk returns a tuple with the AuditQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetEventQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetEventQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

GetEventQueryOk returns a tuple with the EventQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetFormulas ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetFormulasOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetLogQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetLogQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

GetLogQueryOk returns a tuple with the LogQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetNetworkQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetNetworkQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

GetNetworkQueryOk returns a tuple with the NetworkQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetProcessQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetProcessQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetProfileMetricsQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetProfileMetricsQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

GetProfileMetricsQueryOk returns a tuple with the ProfileMetricsQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetQ ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetQOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetQueries ¶ added in v1.8.0

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetQueriesOk ¶ added in v1.8.0

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetResponseFormat ¶ added in v1.8.0

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetResponseFormatOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetRumQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetRumQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

GetRumQueryOk returns a tuple with the RumQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) GetSecurityQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*SunburstWidgetRequest) GetSecurityQueryOk ¶ added in v1.8.0

func (o *SunburstWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SunburstWidgetRequest) HasApmQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasAuditQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasAuditQuery() bool

HasAuditQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasEventQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasFormulas ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasLogQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasNetworkQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasProcessQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasProfileMetricsQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasQ ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasQueries ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasResponseFormat ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasRumQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*SunburstWidgetRequest) HasSecurityQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (SunburstWidgetRequest) MarshalJSON ¶ added in v1.8.0

func (o SunburstWidgetRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SunburstWidgetRequest) SetApmQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*SunburstWidgetRequest) SetAuditQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetAuditQuery(v LogQueryDefinition)

SetAuditQuery gets a reference to the given LogQueryDefinition and assigns it to the AuditQuery field.

func (*SunburstWidgetRequest) SetEventQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*SunburstWidgetRequest) SetFormulas ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*SunburstWidgetRequest) SetLogQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*SunburstWidgetRequest) SetNetworkQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*SunburstWidgetRequest) SetProcessQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*SunburstWidgetRequest) SetProfileMetricsQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*SunburstWidgetRequest) SetQ ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*SunburstWidgetRequest) SetQueries ¶ added in v1.8.0

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*SunburstWidgetRequest) SetResponseFormat ¶ added in v1.8.0

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*SunburstWidgetRequest) SetRumQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*SunburstWidgetRequest) SetSecurityQuery ¶ added in v1.8.0

func (o *SunburstWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*SunburstWidgetRequest) UnmarshalJSON ¶ added in v1.8.0

func (o *SunburstWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPIStep ¶

type SyntheticsAPIStep struct {
	// Determines whether or not to continue with test if this step fails.
	AllowFailure *bool `json:"allowFailure,omitempty"`
	// Array of assertions used for the test.
	Assertions []SyntheticsAssertion `json:"assertions"`
	// Array of values to parse and save as variables from the response.
	ExtractedValues []SyntheticsParsingOptions `json:"extractedValues,omitempty"`
	// Determines whether or not to consider the entire test as failed if this step fails.
	// Can be used only if `allowFailure` is `true`.
	IsCritical *bool `json:"isCritical,omitempty"`
	// The name of the step.
	Name string `json:"name"`
	// Object describing the Synthetic test request.
	Request SyntheticsTestRequest `json:"request"`
	// Object describing the retry strategy to apply to a Synthetic test.
	Retry *SyntheticsTestOptionsRetry `json:"retry,omitempty"`
	// The subtype of the Synthetic multistep API test step, currently only supporting `http`.
	Subtype SyntheticsAPIStepSubtype `json:"subtype"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPIStep The steps used in a Synthetics multistep API test.

func NewSyntheticsAPIStep ¶

func NewSyntheticsAPIStep(assertions []SyntheticsAssertion, name string, request SyntheticsTestRequest, subtype SyntheticsAPIStepSubtype) *SyntheticsAPIStep

NewSyntheticsAPIStep instantiates a new SyntheticsAPIStep 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 NewSyntheticsAPIStepWithDefaults ¶

func NewSyntheticsAPIStepWithDefaults() *SyntheticsAPIStep

NewSyntheticsAPIStepWithDefaults instantiates a new SyntheticsAPIStep 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 (*SyntheticsAPIStep) GetAllowFailure ¶

func (o *SyntheticsAPIStep) GetAllowFailure() bool

GetAllowFailure returns the AllowFailure field value if set, zero value otherwise.

func (*SyntheticsAPIStep) GetAllowFailureOk ¶

func (o *SyntheticsAPIStep) GetAllowFailureOk() (*bool, bool)

GetAllowFailureOk returns a tuple with the AllowFailure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) GetAssertions ¶

func (o *SyntheticsAPIStep) GetAssertions() []SyntheticsAssertion

GetAssertions returns the Assertions field value.

func (*SyntheticsAPIStep) GetAssertionsOk ¶

func (o *SyntheticsAPIStep) GetAssertionsOk() (*[]SyntheticsAssertion, bool)

GetAssertionsOk returns a tuple with the Assertions field value and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) GetExtractedValues ¶

func (o *SyntheticsAPIStep) GetExtractedValues() []SyntheticsParsingOptions

GetExtractedValues returns the ExtractedValues field value if set, zero value otherwise.

func (*SyntheticsAPIStep) GetExtractedValuesOk ¶

func (o *SyntheticsAPIStep) GetExtractedValuesOk() (*[]SyntheticsParsingOptions, bool)

GetExtractedValuesOk returns a tuple with the ExtractedValues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) GetIsCritical ¶

func (o *SyntheticsAPIStep) GetIsCritical() bool

GetIsCritical returns the IsCritical field value if set, zero value otherwise.

func (*SyntheticsAPIStep) GetIsCriticalOk ¶

func (o *SyntheticsAPIStep) GetIsCriticalOk() (*bool, bool)

GetIsCriticalOk returns a tuple with the IsCritical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) GetName ¶

func (o *SyntheticsAPIStep) GetName() string

GetName returns the Name field value.

func (*SyntheticsAPIStep) GetNameOk ¶

func (o *SyntheticsAPIStep) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) GetRequest ¶

func (o *SyntheticsAPIStep) GetRequest() SyntheticsTestRequest

GetRequest returns the Request field value.

func (*SyntheticsAPIStep) GetRequestOk ¶

func (o *SyntheticsAPIStep) GetRequestOk() (*SyntheticsTestRequest, bool)

GetRequestOk returns a tuple with the Request field value and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) GetRetry ¶ added in v1.8.0

GetRetry returns the Retry field value if set, zero value otherwise.

func (*SyntheticsAPIStep) GetRetryOk ¶ added in v1.8.0

GetRetryOk returns a tuple with the Retry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) GetSubtype ¶

GetSubtype returns the Subtype field value.

func (*SyntheticsAPIStep) GetSubtypeOk ¶

func (o *SyntheticsAPIStep) GetSubtypeOk() (*SyntheticsAPIStepSubtype, bool)

GetSubtypeOk returns a tuple with the Subtype field value and a boolean to check if the value has been set.

func (*SyntheticsAPIStep) HasAllowFailure ¶

func (o *SyntheticsAPIStep) HasAllowFailure() bool

HasAllowFailure returns a boolean if a field has been set.

func (*SyntheticsAPIStep) HasExtractedValues ¶

func (o *SyntheticsAPIStep) HasExtractedValues() bool

HasExtractedValues returns a boolean if a field has been set.

func (*SyntheticsAPIStep) HasIsCritical ¶

func (o *SyntheticsAPIStep) HasIsCritical() bool

HasIsCritical returns a boolean if a field has been set.

func (*SyntheticsAPIStep) HasRetry ¶ added in v1.8.0

func (o *SyntheticsAPIStep) HasRetry() bool

HasRetry returns a boolean if a field has been set.

func (SyntheticsAPIStep) MarshalJSON ¶

func (o SyntheticsAPIStep) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPIStep) SetAllowFailure ¶

func (o *SyntheticsAPIStep) SetAllowFailure(v bool)

SetAllowFailure gets a reference to the given bool and assigns it to the AllowFailure field.

func (*SyntheticsAPIStep) SetAssertions ¶

func (o *SyntheticsAPIStep) SetAssertions(v []SyntheticsAssertion)

SetAssertions sets field value.

func (*SyntheticsAPIStep) SetExtractedValues ¶

func (o *SyntheticsAPIStep) SetExtractedValues(v []SyntheticsParsingOptions)

SetExtractedValues gets a reference to the given []SyntheticsParsingOptions and assigns it to the ExtractedValues field.

func (*SyntheticsAPIStep) SetIsCritical ¶

func (o *SyntheticsAPIStep) SetIsCritical(v bool)

SetIsCritical gets a reference to the given bool and assigns it to the IsCritical field.

func (*SyntheticsAPIStep) SetName ¶

func (o *SyntheticsAPIStep) SetName(v string)

SetName sets field value.

func (*SyntheticsAPIStep) SetRequest ¶

func (o *SyntheticsAPIStep) SetRequest(v SyntheticsTestRequest)

SetRequest sets field value.

func (*SyntheticsAPIStep) SetRetry ¶ added in v1.8.0

SetRetry gets a reference to the given SyntheticsTestOptionsRetry and assigns it to the Retry field.

func (*SyntheticsAPIStep) SetSubtype ¶

SetSubtype sets field value.

func (*SyntheticsAPIStep) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAPIStep) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPIStepSubtype ¶

type SyntheticsAPIStepSubtype string

SyntheticsAPIStepSubtype The subtype of the Synthetic multistep API test step, currently only supporting `http`.

const (
	SYNTHETICSAPISTEPSUBTYPE_HTTP SyntheticsAPIStepSubtype = "http"
)

List of SyntheticsAPIStepSubtype.

func NewSyntheticsAPIStepSubtypeFromValue ¶

func NewSyntheticsAPIStepSubtypeFromValue(v string) (*SyntheticsAPIStepSubtype, error)

NewSyntheticsAPIStepSubtypeFromValue returns a pointer to a valid SyntheticsAPIStepSubtype for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsAPIStepSubtype) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsAPIStepSubtype) GetAllowedValues() []SyntheticsAPIStepSubtype

GetAllowedValues reeturns the list of possible values.

func (SyntheticsAPIStepSubtype) IsValid ¶

func (v SyntheticsAPIStepSubtype) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsAPIStepSubtype) Ptr ¶

Ptr returns reference to SyntheticsAPIStepSubtype value.

func (*SyntheticsAPIStepSubtype) UnmarshalJSON ¶

func (v *SyntheticsAPIStepSubtype) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITest ¶

type SyntheticsAPITest struct {
	// Configuration object for a Synthetic API test.
	Config SyntheticsAPITestConfig `json:"config"`
	// Array of locations used to run the test.
	Locations []string `json:"locations"`
	// Notification message associated with the test.
	Message string `json:"message"`
	// The associated monitor ID.
	MonitorId *int64 `json:"monitor_id,omitempty"`
	// Name of the test.
	Name string `json:"name"`
	// Object describing the extra options for a Synthetic test.
	Options SyntheticsTestOptions `json:"options"`
	// The public ID for the test.
	PublicId *string `json:"public_id,omitempty"`
	// Define whether you want to start (`live`) or pause (`paused`) a
	// Synthetic test.
	Status *SyntheticsTestPauseStatus `json:"status,omitempty"`
	// The subtype of the Synthetic API test, `http`, `ssl`, `tcp`,
	// `dns`, `icmp`, `udp`, `websocket`, `grpc` or `multi`.
	Subtype *SyntheticsTestDetailsSubType `json:"subtype,omitempty"`
	// Array of tags attached to the test.
	Tags []string `json:"tags,omitempty"`
	// Type of the Synthetic test, `api`.
	Type SyntheticsAPITestType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPITest Object containing details about a Synthetic API test.

func NewSyntheticsAPITest ¶

func NewSyntheticsAPITest(config SyntheticsAPITestConfig, locations []string, message string, name string, options SyntheticsTestOptions, typeVar SyntheticsAPITestType) *SyntheticsAPITest

NewSyntheticsAPITest instantiates a new SyntheticsAPITest 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 NewSyntheticsAPITestWithDefaults ¶

func NewSyntheticsAPITestWithDefaults() *SyntheticsAPITest

NewSyntheticsAPITestWithDefaults instantiates a new SyntheticsAPITest 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 (*SyntheticsAPITest) GetConfig ¶

GetConfig returns the Config field value.

func (*SyntheticsAPITest) GetConfigOk ¶

func (o *SyntheticsAPITest) GetConfigOk() (*SyntheticsAPITestConfig, bool)

GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetLocations ¶

func (o *SyntheticsAPITest) GetLocations() []string

GetLocations returns the Locations field value.

func (*SyntheticsAPITest) GetLocationsOk ¶

func (o *SyntheticsAPITest) GetLocationsOk() (*[]string, bool)

GetLocationsOk returns a tuple with the Locations field value and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetMessage ¶

func (o *SyntheticsAPITest) GetMessage() string

GetMessage returns the Message field value.

func (*SyntheticsAPITest) GetMessageOk ¶

func (o *SyntheticsAPITest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetMonitorId ¶

func (o *SyntheticsAPITest) GetMonitorId() int64

GetMonitorId returns the MonitorId field value if set, zero value otherwise.

func (*SyntheticsAPITest) GetMonitorIdOk ¶

func (o *SyntheticsAPITest) GetMonitorIdOk() (*int64, bool)

GetMonitorIdOk returns a tuple with the MonitorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetName ¶

func (o *SyntheticsAPITest) GetName() string

GetName returns the Name field value.

func (*SyntheticsAPITest) GetNameOk ¶

func (o *SyntheticsAPITest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetOptions ¶

func (o *SyntheticsAPITest) GetOptions() SyntheticsTestOptions

GetOptions returns the Options field value.

func (*SyntheticsAPITest) GetOptionsOk ¶

func (o *SyntheticsAPITest) GetOptionsOk() (*SyntheticsTestOptions, bool)

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetPublicId ¶

func (o *SyntheticsAPITest) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*SyntheticsAPITest) GetPublicIdOk ¶

func (o *SyntheticsAPITest) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsAPITest) GetStatusOk ¶

func (o *SyntheticsAPITest) GetStatusOk() (*SyntheticsTestPauseStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetSubtype ¶

GetSubtype returns the Subtype field value if set, zero value otherwise.

func (*SyntheticsAPITest) GetSubtypeOk ¶

func (o *SyntheticsAPITest) GetSubtypeOk() (*SyntheticsTestDetailsSubType, bool)

GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetTags ¶

func (o *SyntheticsAPITest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SyntheticsAPITest) GetTagsOk ¶

func (o *SyntheticsAPITest) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITest) GetType ¶

GetType returns the Type field value.

func (*SyntheticsAPITest) GetTypeOk ¶

func (o *SyntheticsAPITest) GetTypeOk() (*SyntheticsAPITestType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsAPITest) HasMonitorId ¶

func (o *SyntheticsAPITest) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*SyntheticsAPITest) HasPublicId ¶

func (o *SyntheticsAPITest) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*SyntheticsAPITest) HasStatus ¶

func (o *SyntheticsAPITest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SyntheticsAPITest) HasSubtype ¶

func (o *SyntheticsAPITest) HasSubtype() bool

HasSubtype returns a boolean if a field has been set.

func (*SyntheticsAPITest) HasTags ¶

func (o *SyntheticsAPITest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (SyntheticsAPITest) MarshalJSON ¶

func (o SyntheticsAPITest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPITest) SetConfig ¶

SetConfig sets field value.

func (*SyntheticsAPITest) SetLocations ¶

func (o *SyntheticsAPITest) SetLocations(v []string)

SetLocations sets field value.

func (*SyntheticsAPITest) SetMessage ¶

func (o *SyntheticsAPITest) SetMessage(v string)

SetMessage sets field value.

func (*SyntheticsAPITest) SetMonitorId ¶

func (o *SyntheticsAPITest) SetMonitorId(v int64)

SetMonitorId gets a reference to the given int64 and assigns it to the MonitorId field.

func (*SyntheticsAPITest) SetName ¶

func (o *SyntheticsAPITest) SetName(v string)

SetName sets field value.

func (*SyntheticsAPITest) SetOptions ¶

func (o *SyntheticsAPITest) SetOptions(v SyntheticsTestOptions)

SetOptions sets field value.

func (*SyntheticsAPITest) SetPublicId ¶

func (o *SyntheticsAPITest) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*SyntheticsAPITest) SetStatus ¶

SetStatus gets a reference to the given SyntheticsTestPauseStatus and assigns it to the Status field.

func (*SyntheticsAPITest) SetSubtype ¶

SetSubtype gets a reference to the given SyntheticsTestDetailsSubType and assigns it to the Subtype field.

func (*SyntheticsAPITest) SetTags ¶

func (o *SyntheticsAPITest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SyntheticsAPITest) SetType ¶

SetType sets field value.

func (*SyntheticsAPITest) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAPITest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITestConfig ¶

type SyntheticsAPITestConfig struct {
	// Array of assertions used for the test. Required for single API tests.
	Assertions []SyntheticsAssertion `json:"assertions,omitempty"`
	// Array of variables used for the test.
	ConfigVariables []SyntheticsConfigVariable `json:"configVariables,omitempty"`
	// Object describing the Synthetic test request.
	Request *SyntheticsTestRequest `json:"request,omitempty"`
	// When the test subtype is `multi`, the steps of the test.
	Steps []SyntheticsAPIStep `json:"steps,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPITestConfig Configuration object for a Synthetic API test.

func NewSyntheticsAPITestConfig ¶

func NewSyntheticsAPITestConfig() *SyntheticsAPITestConfig

NewSyntheticsAPITestConfig instantiates a new SyntheticsAPITestConfig 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 NewSyntheticsAPITestConfigWithDefaults ¶

func NewSyntheticsAPITestConfigWithDefaults() *SyntheticsAPITestConfig

NewSyntheticsAPITestConfigWithDefaults instantiates a new SyntheticsAPITestConfig 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 (*SyntheticsAPITestConfig) GetAssertions ¶

func (o *SyntheticsAPITestConfig) GetAssertions() []SyntheticsAssertion

GetAssertions returns the Assertions field value if set, zero value otherwise.

func (*SyntheticsAPITestConfig) GetAssertionsOk ¶

func (o *SyntheticsAPITestConfig) GetAssertionsOk() (*[]SyntheticsAssertion, bool)

GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestConfig) GetConfigVariables ¶

func (o *SyntheticsAPITestConfig) GetConfigVariables() []SyntheticsConfigVariable

GetConfigVariables returns the ConfigVariables field value if set, zero value otherwise.

func (*SyntheticsAPITestConfig) GetConfigVariablesOk ¶

func (o *SyntheticsAPITestConfig) GetConfigVariablesOk() (*[]SyntheticsConfigVariable, bool)

GetConfigVariablesOk returns a tuple with the ConfigVariables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestConfig) GetRequest ¶

GetRequest returns the Request field value if set, zero value otherwise.

func (*SyntheticsAPITestConfig) GetRequestOk ¶

func (o *SyntheticsAPITestConfig) GetRequestOk() (*SyntheticsTestRequest, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestConfig) GetSteps ¶

GetSteps returns the Steps field value if set, zero value otherwise.

func (*SyntheticsAPITestConfig) GetStepsOk ¶

func (o *SyntheticsAPITestConfig) GetStepsOk() (*[]SyntheticsAPIStep, bool)

GetStepsOk returns a tuple with the Steps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestConfig) HasAssertions ¶

func (o *SyntheticsAPITestConfig) HasAssertions() bool

HasAssertions returns a boolean if a field has been set.

func (*SyntheticsAPITestConfig) HasConfigVariables ¶

func (o *SyntheticsAPITestConfig) HasConfigVariables() bool

HasConfigVariables returns a boolean if a field has been set.

func (*SyntheticsAPITestConfig) HasRequest ¶

func (o *SyntheticsAPITestConfig) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*SyntheticsAPITestConfig) HasSteps ¶

func (o *SyntheticsAPITestConfig) HasSteps() bool

HasSteps returns a boolean if a field has been set.

func (SyntheticsAPITestConfig) MarshalJSON ¶

func (o SyntheticsAPITestConfig) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPITestConfig) SetAssertions ¶

func (o *SyntheticsAPITestConfig) SetAssertions(v []SyntheticsAssertion)

SetAssertions gets a reference to the given []SyntheticsAssertion and assigns it to the Assertions field.

func (*SyntheticsAPITestConfig) SetConfigVariables ¶

func (o *SyntheticsAPITestConfig) SetConfigVariables(v []SyntheticsConfigVariable)

SetConfigVariables gets a reference to the given []SyntheticsConfigVariable and assigns it to the ConfigVariables field.

func (*SyntheticsAPITestConfig) SetRequest ¶

SetRequest gets a reference to the given SyntheticsTestRequest and assigns it to the Request field.

func (*SyntheticsAPITestConfig) SetSteps ¶

func (o *SyntheticsAPITestConfig) SetSteps(v []SyntheticsAPIStep)

SetSteps gets a reference to the given []SyntheticsAPIStep and assigns it to the Steps field.

func (*SyntheticsAPITestConfig) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAPITestConfig) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITestResultData ¶

type SyntheticsAPITestResultData struct {
	// Object describing the SSL certificate used for a Synthetic test.
	Cert *SyntheticsSSLCertificate `json:"cert,omitempty"`
	// Status of a Synthetic test.
	EventType *SyntheticsTestProcessStatus `json:"eventType,omitempty"`
	// The API test failure details.
	Failure *SyntheticsApiTestResultFailure `json:"failure,omitempty"`
	// The API test HTTP status code.
	HttpStatusCode *int64 `json:"httpStatusCode,omitempty"`
	// Request header object used for the API test.
	RequestHeaders map[string]interface{} `json:"requestHeaders,omitempty"`
	// Response body returned for the API test.
	ResponseBody *string `json:"responseBody,omitempty"`
	// Response headers returned for the API test.
	ResponseHeaders map[string]interface{} `json:"responseHeaders,omitempty"`
	// Global size in byte of the API test response.
	ResponseSize *int64 `json:"responseSize,omitempty"`
	// Object containing all metrics and their values collected for a Synthetic API test.
	// Learn more about those metrics in [Synthetics documentation](https://docs.datadoghq.com/synthetics/#metrics).
	Timings *SyntheticsTiming `json:"timings,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPITestResultData Object containing results for your Synthetic API test.

func NewSyntheticsAPITestResultData ¶

func NewSyntheticsAPITestResultData() *SyntheticsAPITestResultData

NewSyntheticsAPITestResultData instantiates a new SyntheticsAPITestResultData 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 NewSyntheticsAPITestResultDataWithDefaults ¶

func NewSyntheticsAPITestResultDataWithDefaults() *SyntheticsAPITestResultData

NewSyntheticsAPITestResultDataWithDefaults instantiates a new SyntheticsAPITestResultData 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 (*SyntheticsAPITestResultData) GetCert ¶

GetCert returns the Cert field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetCertOk ¶

GetCertOk returns a tuple with the Cert field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetEventType ¶

GetEventType returns the EventType field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetEventTypeOk ¶

GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetFailure ¶ added in v1.9.0

GetFailure returns the Failure field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetFailureOk ¶ added in v1.9.0

GetFailureOk returns a tuple with the Failure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetHttpStatusCode ¶

func (o *SyntheticsAPITestResultData) GetHttpStatusCode() int64

GetHttpStatusCode returns the HttpStatusCode field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetHttpStatusCodeOk ¶

func (o *SyntheticsAPITestResultData) GetHttpStatusCodeOk() (*int64, bool)

GetHttpStatusCodeOk returns a tuple with the HttpStatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetRequestHeaders ¶

func (o *SyntheticsAPITestResultData) GetRequestHeaders() map[string]interface{}

GetRequestHeaders returns the RequestHeaders field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetRequestHeadersOk ¶

func (o *SyntheticsAPITestResultData) GetRequestHeadersOk() (*map[string]interface{}, bool)

GetRequestHeadersOk returns a tuple with the RequestHeaders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetResponseBody ¶

func (o *SyntheticsAPITestResultData) GetResponseBody() string

GetResponseBody returns the ResponseBody field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetResponseBodyOk ¶

func (o *SyntheticsAPITestResultData) GetResponseBodyOk() (*string, bool)

GetResponseBodyOk returns a tuple with the ResponseBody field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetResponseHeaders ¶

func (o *SyntheticsAPITestResultData) GetResponseHeaders() map[string]interface{}

GetResponseHeaders returns the ResponseHeaders field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetResponseHeadersOk ¶

func (o *SyntheticsAPITestResultData) GetResponseHeadersOk() (*map[string]interface{}, bool)

GetResponseHeadersOk returns a tuple with the ResponseHeaders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetResponseSize ¶

func (o *SyntheticsAPITestResultData) GetResponseSize() int64

GetResponseSize returns the ResponseSize field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetResponseSizeOk ¶

func (o *SyntheticsAPITestResultData) GetResponseSizeOk() (*int64, bool)

GetResponseSizeOk returns a tuple with the ResponseSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) GetTimings ¶

GetTimings returns the Timings field value if set, zero value otherwise.

func (*SyntheticsAPITestResultData) GetTimingsOk ¶

func (o *SyntheticsAPITestResultData) GetTimingsOk() (*SyntheticsTiming, bool)

GetTimingsOk returns a tuple with the Timings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultData) HasCert ¶

func (o *SyntheticsAPITestResultData) HasCert() bool

HasCert returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasEventType ¶

func (o *SyntheticsAPITestResultData) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasFailure ¶ added in v1.9.0

func (o *SyntheticsAPITestResultData) HasFailure() bool

HasFailure returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasHttpStatusCode ¶

func (o *SyntheticsAPITestResultData) HasHttpStatusCode() bool

HasHttpStatusCode returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasRequestHeaders ¶

func (o *SyntheticsAPITestResultData) HasRequestHeaders() bool

HasRequestHeaders returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasResponseBody ¶

func (o *SyntheticsAPITestResultData) HasResponseBody() bool

HasResponseBody returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasResponseHeaders ¶

func (o *SyntheticsAPITestResultData) HasResponseHeaders() bool

HasResponseHeaders returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasResponseSize ¶

func (o *SyntheticsAPITestResultData) HasResponseSize() bool

HasResponseSize returns a boolean if a field has been set.

func (*SyntheticsAPITestResultData) HasTimings ¶

func (o *SyntheticsAPITestResultData) HasTimings() bool

HasTimings returns a boolean if a field has been set.

func (SyntheticsAPITestResultData) MarshalJSON ¶

func (o SyntheticsAPITestResultData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPITestResultData) SetCert ¶

SetCert gets a reference to the given SyntheticsSSLCertificate and assigns it to the Cert field.

func (*SyntheticsAPITestResultData) SetEventType ¶

SetEventType gets a reference to the given SyntheticsTestProcessStatus and assigns it to the EventType field.

func (*SyntheticsAPITestResultData) SetFailure ¶ added in v1.9.0

SetFailure gets a reference to the given SyntheticsApiTestResultFailure and assigns it to the Failure field.

func (*SyntheticsAPITestResultData) SetHttpStatusCode ¶

func (o *SyntheticsAPITestResultData) SetHttpStatusCode(v int64)

SetHttpStatusCode gets a reference to the given int64 and assigns it to the HttpStatusCode field.

func (*SyntheticsAPITestResultData) SetRequestHeaders ¶

func (o *SyntheticsAPITestResultData) SetRequestHeaders(v map[string]interface{})

SetRequestHeaders gets a reference to the given map[string]interface{} and assigns it to the RequestHeaders field.

func (*SyntheticsAPITestResultData) SetResponseBody ¶

func (o *SyntheticsAPITestResultData) SetResponseBody(v string)

SetResponseBody gets a reference to the given string and assigns it to the ResponseBody field.

func (*SyntheticsAPITestResultData) SetResponseHeaders ¶

func (o *SyntheticsAPITestResultData) SetResponseHeaders(v map[string]interface{})

SetResponseHeaders gets a reference to the given map[string]interface{} and assigns it to the ResponseHeaders field.

func (*SyntheticsAPITestResultData) SetResponseSize ¶

func (o *SyntheticsAPITestResultData) SetResponseSize(v int64)

SetResponseSize gets a reference to the given int64 and assigns it to the ResponseSize field.

func (*SyntheticsAPITestResultData) SetTimings ¶

SetTimings gets a reference to the given SyntheticsTiming and assigns it to the Timings field.

func (*SyntheticsAPITestResultData) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAPITestResultData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITestResultFull ¶

type SyntheticsAPITestResultFull struct {
	// Object describing the API test configuration.
	Check *SyntheticsAPITestResultFullCheck `json:"check,omitempty"`
	// When the API test was conducted.
	CheckTime *float64 `json:"check_time,omitempty"`
	// Version of the API test used.
	CheckVersion *int64 `json:"check_version,omitempty"`
	// Locations for which to query the API test results.
	ProbeDc *string `json:"probe_dc,omitempty"`
	// Object containing results for your Synthetic API test.
	Result *SyntheticsAPITestResultData `json:"result,omitempty"`
	// ID of the API test result.
	ResultId *string `json:"result_id,omitempty"`
	// The status of your Synthetic monitor.
	// * `O` for not triggered
	// * `1` for triggered
	// * `2` for no data
	Status *SyntheticsTestMonitorStatus `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPITestResultFull Object returned describing a API test result.

func NewSyntheticsAPITestResultFull ¶

func NewSyntheticsAPITestResultFull() *SyntheticsAPITestResultFull

NewSyntheticsAPITestResultFull instantiates a new SyntheticsAPITestResultFull 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 NewSyntheticsAPITestResultFullWithDefaults ¶

func NewSyntheticsAPITestResultFullWithDefaults() *SyntheticsAPITestResultFull

NewSyntheticsAPITestResultFullWithDefaults instantiates a new SyntheticsAPITestResultFull 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 (*SyntheticsAPITestResultFull) GetCheck ¶

GetCheck returns the Check field value if set, zero value otherwise.

func (*SyntheticsAPITestResultFull) GetCheckOk ¶

GetCheckOk returns a tuple with the Check field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultFull) GetCheckTime ¶

func (o *SyntheticsAPITestResultFull) GetCheckTime() float64

GetCheckTime returns the CheckTime field value if set, zero value otherwise.

func (*SyntheticsAPITestResultFull) GetCheckTimeOk ¶

func (o *SyntheticsAPITestResultFull) GetCheckTimeOk() (*float64, bool)

GetCheckTimeOk returns a tuple with the CheckTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultFull) GetCheckVersion ¶

func (o *SyntheticsAPITestResultFull) GetCheckVersion() int64

GetCheckVersion returns the CheckVersion field value if set, zero value otherwise.

func (*SyntheticsAPITestResultFull) GetCheckVersionOk ¶

func (o *SyntheticsAPITestResultFull) GetCheckVersionOk() (*int64, bool)

GetCheckVersionOk returns a tuple with the CheckVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultFull) GetProbeDc ¶

func (o *SyntheticsAPITestResultFull) GetProbeDc() string

GetProbeDc returns the ProbeDc field value if set, zero value otherwise.

func (*SyntheticsAPITestResultFull) GetProbeDcOk ¶

func (o *SyntheticsAPITestResultFull) GetProbeDcOk() (*string, bool)

GetProbeDcOk returns a tuple with the ProbeDc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultFull) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*SyntheticsAPITestResultFull) GetResultId ¶

func (o *SyntheticsAPITestResultFull) GetResultId() string

GetResultId returns the ResultId field value if set, zero value otherwise.

func (*SyntheticsAPITestResultFull) GetResultIdOk ¶

func (o *SyntheticsAPITestResultFull) GetResultIdOk() (*string, bool)

GetResultIdOk returns a tuple with the ResultId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultFull) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultFull) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsAPITestResultFull) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultFull) HasCheck ¶

func (o *SyntheticsAPITestResultFull) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*SyntheticsAPITestResultFull) HasCheckTime ¶

func (o *SyntheticsAPITestResultFull) HasCheckTime() bool

HasCheckTime returns a boolean if a field has been set.

func (*SyntheticsAPITestResultFull) HasCheckVersion ¶

func (o *SyntheticsAPITestResultFull) HasCheckVersion() bool

HasCheckVersion returns a boolean if a field has been set.

func (*SyntheticsAPITestResultFull) HasProbeDc ¶

func (o *SyntheticsAPITestResultFull) HasProbeDc() bool

HasProbeDc returns a boolean if a field has been set.

func (*SyntheticsAPITestResultFull) HasResult ¶

func (o *SyntheticsAPITestResultFull) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*SyntheticsAPITestResultFull) HasResultId ¶

func (o *SyntheticsAPITestResultFull) HasResultId() bool

HasResultId returns a boolean if a field has been set.

func (*SyntheticsAPITestResultFull) HasStatus ¶

func (o *SyntheticsAPITestResultFull) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SyntheticsAPITestResultFull) MarshalJSON ¶

func (o SyntheticsAPITestResultFull) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPITestResultFull) SetCheck ¶

SetCheck gets a reference to the given SyntheticsAPITestResultFullCheck and assigns it to the Check field.

func (*SyntheticsAPITestResultFull) SetCheckTime ¶

func (o *SyntheticsAPITestResultFull) SetCheckTime(v float64)

SetCheckTime gets a reference to the given float64 and assigns it to the CheckTime field.

func (*SyntheticsAPITestResultFull) SetCheckVersion ¶

func (o *SyntheticsAPITestResultFull) SetCheckVersion(v int64)

SetCheckVersion gets a reference to the given int64 and assigns it to the CheckVersion field.

func (*SyntheticsAPITestResultFull) SetProbeDc ¶

func (o *SyntheticsAPITestResultFull) SetProbeDc(v string)

SetProbeDc gets a reference to the given string and assigns it to the ProbeDc field.

func (*SyntheticsAPITestResultFull) SetResult ¶

SetResult gets a reference to the given SyntheticsAPITestResultData and assigns it to the Result field.

func (*SyntheticsAPITestResultFull) SetResultId ¶

func (o *SyntheticsAPITestResultFull) SetResultId(v string)

SetResultId gets a reference to the given string and assigns it to the ResultId field.

func (*SyntheticsAPITestResultFull) SetStatus ¶

SetStatus gets a reference to the given SyntheticsTestMonitorStatus and assigns it to the Status field.

func (*SyntheticsAPITestResultFull) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAPITestResultFull) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITestResultFullCheck ¶

type SyntheticsAPITestResultFullCheck struct {
	// Configuration object for a Synthetic test.
	Config SyntheticsTestConfig `json:"config"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPITestResultFullCheck Object describing the API test configuration.

func NewSyntheticsAPITestResultFullCheck ¶

func NewSyntheticsAPITestResultFullCheck(config SyntheticsTestConfig) *SyntheticsAPITestResultFullCheck

NewSyntheticsAPITestResultFullCheck instantiates a new SyntheticsAPITestResultFullCheck 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 NewSyntheticsAPITestResultFullCheckWithDefaults ¶

func NewSyntheticsAPITestResultFullCheckWithDefaults() *SyntheticsAPITestResultFullCheck

NewSyntheticsAPITestResultFullCheckWithDefaults instantiates a new SyntheticsAPITestResultFullCheck 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 (*SyntheticsAPITestResultFullCheck) GetConfig ¶

GetConfig returns the Config field value.

func (*SyntheticsAPITestResultFullCheck) GetConfigOk ¶

GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.

func (SyntheticsAPITestResultFullCheck) MarshalJSON ¶

func (o SyntheticsAPITestResultFullCheck) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPITestResultFullCheck) SetConfig ¶

SetConfig sets field value.

func (*SyntheticsAPITestResultFullCheck) UnmarshalJSON ¶

func (o *SyntheticsAPITestResultFullCheck) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITestResultShort ¶

type SyntheticsAPITestResultShort struct {
	// Last time the API test was performed.
	CheckTime *float64 `json:"check_time,omitempty"`
	// Location from which the API test was performed.
	ProbeDc *string `json:"probe_dc,omitempty"`
	// Result of the last API test run.
	Result *SyntheticsAPITestResultShortResult `json:"result,omitempty"`
	// ID of the API test result.
	ResultId *string `json:"result_id,omitempty"`
	// The status of your Synthetic monitor.
	// * `O` for not triggered
	// * `1` for triggered
	// * `2` for no data
	Status *SyntheticsTestMonitorStatus `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPITestResultShort Object with the results of a single Synthetic API test.

func NewSyntheticsAPITestResultShort ¶

func NewSyntheticsAPITestResultShort() *SyntheticsAPITestResultShort

NewSyntheticsAPITestResultShort instantiates a new SyntheticsAPITestResultShort 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 NewSyntheticsAPITestResultShortWithDefaults ¶

func NewSyntheticsAPITestResultShortWithDefaults() *SyntheticsAPITestResultShort

NewSyntheticsAPITestResultShortWithDefaults instantiates a new SyntheticsAPITestResultShort 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 (*SyntheticsAPITestResultShort) GetCheckTime ¶

func (o *SyntheticsAPITestResultShort) GetCheckTime() float64

GetCheckTime returns the CheckTime field value if set, zero value otherwise.

func (*SyntheticsAPITestResultShort) GetCheckTimeOk ¶

func (o *SyntheticsAPITestResultShort) GetCheckTimeOk() (*float64, bool)

GetCheckTimeOk returns a tuple with the CheckTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultShort) GetProbeDc ¶

func (o *SyntheticsAPITestResultShort) GetProbeDc() string

GetProbeDc returns the ProbeDc field value if set, zero value otherwise.

func (*SyntheticsAPITestResultShort) GetProbeDcOk ¶

func (o *SyntheticsAPITestResultShort) GetProbeDcOk() (*string, bool)

GetProbeDcOk returns a tuple with the ProbeDc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultShort) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*SyntheticsAPITestResultShort) GetResultId ¶

func (o *SyntheticsAPITestResultShort) GetResultId() string

GetResultId returns the ResultId field value if set, zero value otherwise.

func (*SyntheticsAPITestResultShort) GetResultIdOk ¶

func (o *SyntheticsAPITestResultShort) GetResultIdOk() (*string, bool)

GetResultIdOk returns a tuple with the ResultId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultShort) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultShort) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsAPITestResultShort) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultShort) HasCheckTime ¶

func (o *SyntheticsAPITestResultShort) HasCheckTime() bool

HasCheckTime returns a boolean if a field has been set.

func (*SyntheticsAPITestResultShort) HasProbeDc ¶

func (o *SyntheticsAPITestResultShort) HasProbeDc() bool

HasProbeDc returns a boolean if a field has been set.

func (*SyntheticsAPITestResultShort) HasResult ¶

func (o *SyntheticsAPITestResultShort) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*SyntheticsAPITestResultShort) HasResultId ¶

func (o *SyntheticsAPITestResultShort) HasResultId() bool

HasResultId returns a boolean if a field has been set.

func (*SyntheticsAPITestResultShort) HasStatus ¶

func (o *SyntheticsAPITestResultShort) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SyntheticsAPITestResultShort) MarshalJSON ¶

func (o SyntheticsAPITestResultShort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPITestResultShort) SetCheckTime ¶

func (o *SyntheticsAPITestResultShort) SetCheckTime(v float64)

SetCheckTime gets a reference to the given float64 and assigns it to the CheckTime field.

func (*SyntheticsAPITestResultShort) SetProbeDc ¶

func (o *SyntheticsAPITestResultShort) SetProbeDc(v string)

SetProbeDc gets a reference to the given string and assigns it to the ProbeDc field.

func (*SyntheticsAPITestResultShort) SetResult ¶

SetResult gets a reference to the given SyntheticsAPITestResultShortResult and assigns it to the Result field.

func (*SyntheticsAPITestResultShort) SetResultId ¶

func (o *SyntheticsAPITestResultShort) SetResultId(v string)

SetResultId gets a reference to the given string and assigns it to the ResultId field.

func (*SyntheticsAPITestResultShort) SetStatus ¶

SetStatus gets a reference to the given SyntheticsTestMonitorStatus and assigns it to the Status field.

func (*SyntheticsAPITestResultShort) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAPITestResultShort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITestResultShortResult ¶

type SyntheticsAPITestResultShortResult struct {
	// Describes if the test run has passed or failed.
	Passed *bool `json:"passed,omitempty"`
	// Object containing all metrics and their values collected for a Synthetic API test.
	// Learn more about those metrics in [Synthetics documentation](https://docs.datadoghq.com/synthetics/#metrics).
	Timings *SyntheticsTiming `json:"timings,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAPITestResultShortResult Result of the last API test run.

func NewSyntheticsAPITestResultShortResult ¶

func NewSyntheticsAPITestResultShortResult() *SyntheticsAPITestResultShortResult

NewSyntheticsAPITestResultShortResult instantiates a new SyntheticsAPITestResultShortResult 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 NewSyntheticsAPITestResultShortResultWithDefaults ¶

func NewSyntheticsAPITestResultShortResultWithDefaults() *SyntheticsAPITestResultShortResult

NewSyntheticsAPITestResultShortResultWithDefaults instantiates a new SyntheticsAPITestResultShortResult 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 (*SyntheticsAPITestResultShortResult) GetPassed ¶

GetPassed returns the Passed field value if set, zero value otherwise.

func (*SyntheticsAPITestResultShortResult) GetPassedOk ¶

func (o *SyntheticsAPITestResultShortResult) GetPassedOk() (*bool, bool)

GetPassedOk returns a tuple with the Passed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultShortResult) GetTimings ¶

GetTimings returns the Timings field value if set, zero value otherwise.

func (*SyntheticsAPITestResultShortResult) GetTimingsOk ¶

GetTimingsOk returns a tuple with the Timings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAPITestResultShortResult) HasPassed ¶

HasPassed returns a boolean if a field has been set.

func (*SyntheticsAPITestResultShortResult) HasTimings ¶

func (o *SyntheticsAPITestResultShortResult) HasTimings() bool

HasTimings returns a boolean if a field has been set.

func (SyntheticsAPITestResultShortResult) MarshalJSON ¶

func (o SyntheticsAPITestResultShortResult) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAPITestResultShortResult) SetPassed ¶

func (o *SyntheticsAPITestResultShortResult) SetPassed(v bool)

SetPassed gets a reference to the given bool and assigns it to the Passed field.

func (*SyntheticsAPITestResultShortResult) SetTimings ¶

SetTimings gets a reference to the given SyntheticsTiming and assigns it to the Timings field.

func (*SyntheticsAPITestResultShortResult) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAPITestResultShortResult) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAPITestType ¶

type SyntheticsAPITestType string

SyntheticsAPITestType Type of the Synthetic test, `api`.

const (
	SYNTHETICSAPITESTTYPE_API SyntheticsAPITestType = "api"
)

List of SyntheticsAPITestType.

func NewSyntheticsAPITestTypeFromValue ¶

func NewSyntheticsAPITestTypeFromValue(v string) (*SyntheticsAPITestType, error)

NewSyntheticsAPITestTypeFromValue returns a pointer to a valid SyntheticsAPITestType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsAPITestType) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsAPITestType) GetAllowedValues() []SyntheticsAPITestType

GetAllowedValues reeturns the list of possible values.

func (SyntheticsAPITestType) IsValid ¶

func (v SyntheticsAPITestType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsAPITestType) Ptr ¶

Ptr returns reference to SyntheticsAPITestType value.

func (*SyntheticsAPITestType) UnmarshalJSON ¶

func (v *SyntheticsAPITestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsApiService ¶

type SyntheticsApiService service

SyntheticsApiService SyntheticsApi service.

func (*SyntheticsApiService) CreateGlobalVariable ¶

CreateGlobalVariable Create a global variable. Create a Synthetics global variable.

func (*SyntheticsApiService) CreatePrivateLocation ¶

CreatePrivateLocation Create a private location. Create a new Synthetics private location.

func (*SyntheticsApiService) CreateSyntheticsAPITest ¶

CreateSyntheticsAPITest Create an API test. Create a Synthetic API test.

func (*SyntheticsApiService) CreateSyntheticsBrowserTest ¶

CreateSyntheticsBrowserTest Create a browser test. Create a Synthetic browser test.

func (*SyntheticsApiService) DeleteGlobalVariable ¶

func (a *SyntheticsApiService) DeleteGlobalVariable(ctx _context.Context, variableId string) (*_nethttp.Response, error)

DeleteGlobalVariable Delete a global variable. Delete a Synthetics global variable.

func (*SyntheticsApiService) DeletePrivateLocation ¶

func (a *SyntheticsApiService) DeletePrivateLocation(ctx _context.Context, locationId string) (*_nethttp.Response, error)

DeletePrivateLocation Delete a private location. Delete a Synthetics private location.

func (*SyntheticsApiService) DeleteTests ¶

DeleteTests Delete tests. Delete multiple Synthetic tests by ID.

func (*SyntheticsApiService) EditGlobalVariable ¶

EditGlobalVariable Edit a global variable. Edit a Synthetics global variable.

func (*SyntheticsApiService) GetAPITest ¶

GetAPITest Get an API test. Get the detailed configuration associated with a Synthetic API test.

func (*SyntheticsApiService) GetAPITestLatestResults ¶

GetAPITestLatestResults Get an API test's latest results summaries. Get the last 50 test results summaries for a given Synthetics API test.

func (*SyntheticsApiService) GetAPITestResult ¶

func (a *SyntheticsApiService) GetAPITestResult(ctx _context.Context, publicId string, resultId string) (SyntheticsAPITestResultFull, *_nethttp.Response, error)

GetAPITestResult Get an API test result. Get a specific full result from a given (API) Synthetic test.

func (*SyntheticsApiService) GetBrowserTest ¶

GetBrowserTest Get a browser test. Get the detailed configuration (including steps) associated with a Synthetic browser test.

func (*SyntheticsApiService) GetBrowserTestLatestResults ¶

GetBrowserTestLatestResults Get a browser test's latest results summaries. Get the last 50 test results summaries for a given Synthetics Browser test.

func (*SyntheticsApiService) GetBrowserTestResult ¶

func (a *SyntheticsApiService) GetBrowserTestResult(ctx _context.Context, publicId string, resultId string) (SyntheticsBrowserTestResultFull, *_nethttp.Response, error)

GetBrowserTestResult Get a browser test result. Get a specific full result from a given (browser) Synthetic test.

func (*SyntheticsApiService) GetGlobalVariable ¶

func (a *SyntheticsApiService) GetGlobalVariable(ctx _context.Context, variableId string) (SyntheticsGlobalVariable, *_nethttp.Response, error)

GetGlobalVariable Get a global variable. Get the detailed configuration of a global variable.

func (*SyntheticsApiService) GetPrivateLocation ¶

func (a *SyntheticsApiService) GetPrivateLocation(ctx _context.Context, locationId string) (SyntheticsPrivateLocation, *_nethttp.Response, error)

GetPrivateLocation Get a private location. Get a Synthetics private location.

func (*SyntheticsApiService) GetSyntheticsCIBatch ¶ added in v1.5.0

func (a *SyntheticsApiService) GetSyntheticsCIBatch(ctx _context.Context, batchId string) (SyntheticsBatchDetails, *_nethttp.Response, error)

GetSyntheticsCIBatch Get details of batch. Get a batch's updated details.

func (*SyntheticsApiService) GetTest ¶

GetTest Get a test configuration. Get the detailed configuration associated with a Synthetics test.

func (*SyntheticsApiService) ListGlobalVariables ¶

ListGlobalVariables Get all global variables. Get the list of all Synthetics global variables.

func (*SyntheticsApiService) ListLocations ¶

ListLocations Get all locations (public and private). Get the list of public and private locations available for Synthetic tests. No arguments required.

func (*SyntheticsApiService) ListTests ¶

ListTests Get the list of all tests. Get the list of all Synthetic tests.

func (*SyntheticsApiService) TriggerCITests ¶

TriggerCITests Trigger tests from CI/CD pipelines. Trigger a set of Synthetics tests for continuous integration.

func (*SyntheticsApiService) TriggerTests ¶ added in v1.7.0

TriggerTests Trigger Synthetics tests. Trigger a set of Synthetics tests.

func (*SyntheticsApiService) UpdateAPITest ¶

UpdateAPITest Edit an API test. Edit the configuration of a Synthetic API test.

func (*SyntheticsApiService) UpdateBrowserTest ¶

UpdateBrowserTest Edit a browser test. Edit the configuration of a Synthetic browser test.

func (*SyntheticsApiService) UpdatePrivateLocation ¶

UpdatePrivateLocation Edit a private location. Edit a Synthetics private location.

func (*SyntheticsApiService) UpdateTestPauseStatus ¶

UpdateTestPauseStatus Pause or start a test. Pause or start a Synthetics test by changing the status.

type SyntheticsApiTestFailureCode ¶ added in v1.9.0

type SyntheticsApiTestFailureCode string

SyntheticsApiTestFailureCode Error code that can be returned by a Synthetic test.

const (
	SYNTHETICSAPITESTFAILURECODE_BODY_TOO_LARGE                       SyntheticsApiTestFailureCode = "BODY_TOO_LARGE"
	SYNTHETICSAPITESTFAILURECODE_DENIED                               SyntheticsApiTestFailureCode = "DENIED"
	SYNTHETICSAPITESTFAILURECODE_TOO_MANY_REDIRECTS                   SyntheticsApiTestFailureCode = "TOO_MANY_REDIRECTS"
	SYNTHETICSAPITESTFAILURECODE_AUTHENTICATION_ERROR                 SyntheticsApiTestFailureCode = "AUTHENTICATION_ERROR"
	SYNTHETICSAPITESTFAILURECODE_DECRYPTION                           SyntheticsApiTestFailureCode = "DECRYPTION"
	SYNTHETICSAPITESTFAILURECODE_INVALID_CHAR_IN_HEADER               SyntheticsApiTestFailureCode = "INVALID_CHAR_IN_HEADER"
	SYNTHETICSAPITESTFAILURECODE_HEADER_TOO_LARGE                     SyntheticsApiTestFailureCode = "HEADER_TOO_LARGE"
	SYNTHETICSAPITESTFAILURECODE_HEADERS_INCOMPATIBLE_CONTENT_LENGTH  SyntheticsApiTestFailureCode = "HEADERS_INCOMPATIBLE_CONTENT_LENGTH"
	SYNTHETICSAPITESTFAILURECODE_INVALID_REQUEST                      SyntheticsApiTestFailureCode = "INVALID_REQUEST"
	SYNTHETICSAPITESTFAILURECODE_REQUIRES_UPDATE                      SyntheticsApiTestFailureCode = "REQUIRES_UPDATE"
	SYNTHETICSAPITESTFAILURECODE_UNESCAPED_CHARACTERS_IN_REQUEST_PATH SyntheticsApiTestFailureCode = "UNESCAPED_CHARACTERS_IN_REQUEST_PATH"
	SYNTHETICSAPITESTFAILURECODE_MALFORMED_RESPONSE                   SyntheticsApiTestFailureCode = "MALFORMED_RESPONSE"
	SYNTHETICSAPITESTFAILURECODE_INCORRECT_ASSERTION                  SyntheticsApiTestFailureCode = "INCORRECT_ASSERTION"
	SYNTHETICSAPITESTFAILURECODE_CONNREFUSED                          SyntheticsApiTestFailureCode = "CONNREFUSED"
	SYNTHETICSAPITESTFAILURECODE_CONNRESET                            SyntheticsApiTestFailureCode = "CONNRESET"
	SYNTHETICSAPITESTFAILURECODE_DNS                                  SyntheticsApiTestFailureCode = "DNS"
	SYNTHETICSAPITESTFAILURECODE_HOSTUNREACH                          SyntheticsApiTestFailureCode = "HOSTUNREACH"
	SYNTHETICSAPITESTFAILURECODE_NETUNREACH                           SyntheticsApiTestFailureCode = "NETUNREACH"
	SYNTHETICSAPITESTFAILURECODE_TIMEOUT                              SyntheticsApiTestFailureCode = "TIMEOUT"
	SYNTHETICSAPITESTFAILURECODE_SSL                                  SyntheticsApiTestFailureCode = "SSL"
	SYNTHETICSAPITESTFAILURECODE_OCSP                                 SyntheticsApiTestFailureCode = "OCSP"
	SYNTHETICSAPITESTFAILURECODE_INVALID_TEST                         SyntheticsApiTestFailureCode = "INVALID_TEST"
	SYNTHETICSAPITESTFAILURECODE_TUNNEL                               SyntheticsApiTestFailureCode = "TUNNEL"
	SYNTHETICSAPITESTFAILURECODE_WEBSOCKET                            SyntheticsApiTestFailureCode = "WEBSOCKET"
	SYNTHETICSAPITESTFAILURECODE_UNKNOWN                              SyntheticsApiTestFailureCode = "UNKNOWN"
	SYNTHETICSAPITESTFAILURECODE_INTERNAL_ERROR                       SyntheticsApiTestFailureCode = "INTERNAL_ERROR"
)

List of SyntheticsApiTestFailureCode.

func NewSyntheticsApiTestFailureCodeFromValue ¶ added in v1.9.0

func NewSyntheticsApiTestFailureCodeFromValue(v string) (*SyntheticsApiTestFailureCode, error)

NewSyntheticsApiTestFailureCodeFromValue returns a pointer to a valid SyntheticsApiTestFailureCode for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsApiTestFailureCode) GetAllowedValues ¶ added in v1.9.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsApiTestFailureCode) IsValid ¶ added in v1.9.0

func (v SyntheticsApiTestFailureCode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsApiTestFailureCode) Ptr ¶ added in v1.9.0

Ptr returns reference to SyntheticsApiTestFailureCode value.

func (*SyntheticsApiTestFailureCode) UnmarshalJSON ¶ added in v1.9.0

func (v *SyntheticsApiTestFailureCode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsApiTestResultFailure ¶ added in v1.9.0

type SyntheticsApiTestResultFailure struct {
	// Error code that can be returned by a Synthetic test.
	Code *SyntheticsApiTestFailureCode `json:"code,omitempty"`
	// The API test error message.
	Message *string `json:"message,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsApiTestResultFailure The API test failure details.

func NewSyntheticsApiTestResultFailure ¶ added in v1.9.0

func NewSyntheticsApiTestResultFailure() *SyntheticsApiTestResultFailure

NewSyntheticsApiTestResultFailure instantiates a new SyntheticsApiTestResultFailure 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 NewSyntheticsApiTestResultFailureWithDefaults ¶ added in v1.9.0

func NewSyntheticsApiTestResultFailureWithDefaults() *SyntheticsApiTestResultFailure

NewSyntheticsApiTestResultFailureWithDefaults instantiates a new SyntheticsApiTestResultFailure 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 (*SyntheticsApiTestResultFailure) GetCode ¶ added in v1.9.0

GetCode returns the Code field value if set, zero value otherwise.

func (*SyntheticsApiTestResultFailure) GetCodeOk ¶ added in v1.9.0

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsApiTestResultFailure) GetMessage ¶ added in v1.9.0

func (o *SyntheticsApiTestResultFailure) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SyntheticsApiTestResultFailure) GetMessageOk ¶ added in v1.9.0

func (o *SyntheticsApiTestResultFailure) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsApiTestResultFailure) HasCode ¶ added in v1.9.0

func (o *SyntheticsApiTestResultFailure) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*SyntheticsApiTestResultFailure) HasMessage ¶ added in v1.9.0

func (o *SyntheticsApiTestResultFailure) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (SyntheticsApiTestResultFailure) MarshalJSON ¶ added in v1.9.0

func (o SyntheticsApiTestResultFailure) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsApiTestResultFailure) SetCode ¶ added in v1.9.0

SetCode gets a reference to the given SyntheticsApiTestFailureCode and assigns it to the Code field.

func (*SyntheticsApiTestResultFailure) SetMessage ¶ added in v1.9.0

func (o *SyntheticsApiTestResultFailure) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SyntheticsApiTestResultFailure) UnmarshalJSON ¶ added in v1.9.0

func (o *SyntheticsApiTestResultFailure) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAssertion ¶

type SyntheticsAssertion struct {
	SyntheticsAssertionTarget         *SyntheticsAssertionTarget
	SyntheticsAssertionJSONPathTarget *SyntheticsAssertionJSONPathTarget

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

SyntheticsAssertion - Object describing the assertions type, their associated operator, which property they apply, and upon which target.

func SyntheticsAssertionJSONPathTargetAsSyntheticsAssertion ¶

func SyntheticsAssertionJSONPathTargetAsSyntheticsAssertion(v *SyntheticsAssertionJSONPathTarget) SyntheticsAssertion

SyntheticsAssertionJSONPathTargetAsSyntheticsAssertion is a convenience function that returns SyntheticsAssertionJSONPathTarget wrapped in SyntheticsAssertion.

func SyntheticsAssertionTargetAsSyntheticsAssertion ¶

func SyntheticsAssertionTargetAsSyntheticsAssertion(v *SyntheticsAssertionTarget) SyntheticsAssertion

SyntheticsAssertionTargetAsSyntheticsAssertion is a convenience function that returns SyntheticsAssertionTarget wrapped in SyntheticsAssertion.

func (*SyntheticsAssertion) GetActualInstance ¶

func (obj *SyntheticsAssertion) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (SyntheticsAssertion) MarshalJSON ¶

func (obj SyntheticsAssertion) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*SyntheticsAssertion) UnmarshalJSON ¶

func (obj *SyntheticsAssertion) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type SyntheticsAssertionJSONPathOperator ¶

type SyntheticsAssertionJSONPathOperator string

SyntheticsAssertionJSONPathOperator Assertion operator to apply.

const (
	SYNTHETICSASSERTIONJSONPATHOPERATOR_VALIDATES_JSON_PATH SyntheticsAssertionJSONPathOperator = "validatesJSONPath"
)

List of SyntheticsAssertionJSONPathOperator.

func NewSyntheticsAssertionJSONPathOperatorFromValue ¶

func NewSyntheticsAssertionJSONPathOperatorFromValue(v string) (*SyntheticsAssertionJSONPathOperator, error)

NewSyntheticsAssertionJSONPathOperatorFromValue returns a pointer to a valid SyntheticsAssertionJSONPathOperator for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsAssertionJSONPathOperator) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsAssertionJSONPathOperator) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsAssertionJSONPathOperator) Ptr ¶

Ptr returns reference to SyntheticsAssertionJSONPathOperator value.

func (*SyntheticsAssertionJSONPathOperator) UnmarshalJSON ¶

func (v *SyntheticsAssertionJSONPathOperator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsAssertionJSONPathTarget ¶

type SyntheticsAssertionJSONPathTarget struct {
	// Assertion operator to apply.
	Operator SyntheticsAssertionJSONPathOperator `json:"operator"`
	// The associated assertion property.
	Property *string `json:"property,omitempty"`
	// Composed target for `validatesJSONPath` operator.
	Target *SyntheticsAssertionJSONPathTargetTarget `json:"target,omitempty"`
	// Type of the assertion.
	Type SyntheticsAssertionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAssertionJSONPathTarget An assertion for the `validatesJSONPath` operator.

func NewSyntheticsAssertionJSONPathTarget ¶

func NewSyntheticsAssertionJSONPathTarget(operator SyntheticsAssertionJSONPathOperator, typeVar SyntheticsAssertionType) *SyntheticsAssertionJSONPathTarget

NewSyntheticsAssertionJSONPathTarget instantiates a new SyntheticsAssertionJSONPathTarget 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 NewSyntheticsAssertionJSONPathTargetWithDefaults ¶

func NewSyntheticsAssertionJSONPathTargetWithDefaults() *SyntheticsAssertionJSONPathTarget

NewSyntheticsAssertionJSONPathTargetWithDefaults instantiates a new SyntheticsAssertionJSONPathTarget 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 (*SyntheticsAssertionJSONPathTarget) GetOperator ¶

GetOperator returns the Operator field value.

func (*SyntheticsAssertionJSONPathTarget) GetOperatorOk ¶

GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.

func (*SyntheticsAssertionJSONPathTarget) GetProperty ¶

func (o *SyntheticsAssertionJSONPathTarget) GetProperty() string

GetProperty returns the Property field value if set, zero value otherwise.

func (*SyntheticsAssertionJSONPathTarget) GetPropertyOk ¶

func (o *SyntheticsAssertionJSONPathTarget) 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 (*SyntheticsAssertionJSONPathTarget) GetTarget ¶

GetTarget returns the Target field value if set, zero value otherwise.

func (*SyntheticsAssertionJSONPathTarget) GetTargetOk ¶

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAssertionJSONPathTarget) GetType ¶

GetType returns the Type field value.

func (*SyntheticsAssertionJSONPathTarget) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsAssertionJSONPathTarget) HasProperty ¶

func (o *SyntheticsAssertionJSONPathTarget) HasProperty() bool

HasProperty returns a boolean if a field has been set.

func (*SyntheticsAssertionJSONPathTarget) HasTarget ¶

func (o *SyntheticsAssertionJSONPathTarget) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (SyntheticsAssertionJSONPathTarget) MarshalJSON ¶

func (o SyntheticsAssertionJSONPathTarget) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAssertionJSONPathTarget) SetOperator ¶

SetOperator sets field value.

func (*SyntheticsAssertionJSONPathTarget) SetProperty ¶

func (o *SyntheticsAssertionJSONPathTarget) SetProperty(v string)

SetProperty gets a reference to the given string and assigns it to the Property field.

func (*SyntheticsAssertionJSONPathTarget) SetTarget ¶

SetTarget gets a reference to the given SyntheticsAssertionJSONPathTargetTarget and assigns it to the Target field.

func (*SyntheticsAssertionJSONPathTarget) SetType ¶

SetType sets field value.

func (*SyntheticsAssertionJSONPathTarget) UnmarshalJSON ¶

func (o *SyntheticsAssertionJSONPathTarget) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAssertionJSONPathTargetTarget ¶

type SyntheticsAssertionJSONPathTargetTarget struct {
	// The JSON path to assert.
	JsonPath *string `json:"jsonPath,omitempty"`
	// The specific operator to use on the path.
	Operator *string `json:"operator,omitempty"`
	// The path target value to compare to.
	TargetValue interface{} `json:"targetValue,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAssertionJSONPathTargetTarget Composed target for `validatesJSONPath` operator.

func NewSyntheticsAssertionJSONPathTargetTarget ¶

func NewSyntheticsAssertionJSONPathTargetTarget() *SyntheticsAssertionJSONPathTargetTarget

NewSyntheticsAssertionJSONPathTargetTarget instantiates a new SyntheticsAssertionJSONPathTargetTarget 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 NewSyntheticsAssertionJSONPathTargetTargetWithDefaults ¶

func NewSyntheticsAssertionJSONPathTargetTargetWithDefaults() *SyntheticsAssertionJSONPathTargetTarget

NewSyntheticsAssertionJSONPathTargetTargetWithDefaults instantiates a new SyntheticsAssertionJSONPathTargetTarget 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 (*SyntheticsAssertionJSONPathTargetTarget) GetJsonPath ¶

GetJsonPath returns the JsonPath field value if set, zero value otherwise.

func (*SyntheticsAssertionJSONPathTargetTarget) GetJsonPathOk ¶

func (o *SyntheticsAssertionJSONPathTargetTarget) GetJsonPathOk() (*string, bool)

GetJsonPathOk returns a tuple with the JsonPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAssertionJSONPathTargetTarget) GetOperator ¶

GetOperator returns the Operator field value if set, zero value otherwise.

func (*SyntheticsAssertionJSONPathTargetTarget) GetOperatorOk ¶

func (o *SyntheticsAssertionJSONPathTargetTarget) GetOperatorOk() (*string, bool)

GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAssertionJSONPathTargetTarget) GetTargetValue ¶

func (o *SyntheticsAssertionJSONPathTargetTarget) GetTargetValue() interface{}

GetTargetValue returns the TargetValue field value if set, zero value otherwise.

func (*SyntheticsAssertionJSONPathTargetTarget) GetTargetValueOk ¶

func (o *SyntheticsAssertionJSONPathTargetTarget) GetTargetValueOk() (*interface{}, bool)

GetTargetValueOk returns a tuple with the TargetValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsAssertionJSONPathTargetTarget) HasJsonPath ¶

HasJsonPath returns a boolean if a field has been set.

func (*SyntheticsAssertionJSONPathTargetTarget) HasOperator ¶

HasOperator returns a boolean if a field has been set.

func (*SyntheticsAssertionJSONPathTargetTarget) HasTargetValue ¶

func (o *SyntheticsAssertionJSONPathTargetTarget) HasTargetValue() bool

HasTargetValue returns a boolean if a field has been set.

func (SyntheticsAssertionJSONPathTargetTarget) MarshalJSON ¶

func (o SyntheticsAssertionJSONPathTargetTarget) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAssertionJSONPathTargetTarget) SetJsonPath ¶

SetJsonPath gets a reference to the given string and assigns it to the JsonPath field.

func (*SyntheticsAssertionJSONPathTargetTarget) SetOperator ¶

SetOperator gets a reference to the given string and assigns it to the Operator field.

func (*SyntheticsAssertionJSONPathTargetTarget) SetTargetValue ¶

func (o *SyntheticsAssertionJSONPathTargetTarget) SetTargetValue(v interface{})

SetTargetValue gets a reference to the given interface{} and assigns it to the TargetValue field.

func (*SyntheticsAssertionJSONPathTargetTarget) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsAssertionJSONPathTargetTarget) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAssertionOperator ¶

type SyntheticsAssertionOperator string

SyntheticsAssertionOperator Assertion operator to apply.

const (
	SYNTHETICSASSERTIONOPERATOR_CONTAINS             SyntheticsAssertionOperator = "contains"
	SYNTHETICSASSERTIONOPERATOR_DOES_NOT_CONTAIN     SyntheticsAssertionOperator = "doesNotContain"
	SYNTHETICSASSERTIONOPERATOR_IS                   SyntheticsAssertionOperator = "is"
	SYNTHETICSASSERTIONOPERATOR_IS_NOT               SyntheticsAssertionOperator = "isNot"
	SYNTHETICSASSERTIONOPERATOR_LESS_THAN            SyntheticsAssertionOperator = "lessThan"
	SYNTHETICSASSERTIONOPERATOR_LESS_THAN_OR_EQUAL   SyntheticsAssertionOperator = "lessThanOrEqual"
	SYNTHETICSASSERTIONOPERATOR_MORE_THAN            SyntheticsAssertionOperator = "moreThan"
	SYNTHETICSASSERTIONOPERATOR_MORE_THAN_OR_EQUAL   SyntheticsAssertionOperator = "moreThanOrEqual"
	SYNTHETICSASSERTIONOPERATOR_MATCHES              SyntheticsAssertionOperator = "matches"
	SYNTHETICSASSERTIONOPERATOR_DOES_NOT_MATCH       SyntheticsAssertionOperator = "doesNotMatch"
	SYNTHETICSASSERTIONOPERATOR_VALIDATES            SyntheticsAssertionOperator = "validates"
	SYNTHETICSASSERTIONOPERATOR_IS_IN_MORE_DAYS_THAN SyntheticsAssertionOperator = "isInMoreThan"
	SYNTHETICSASSERTIONOPERATOR_IS_IN_LESS_DAYS_THAN SyntheticsAssertionOperator = "isInLessThan"
)

List of SyntheticsAssertionOperator.

func NewSyntheticsAssertionOperatorFromValue ¶

func NewSyntheticsAssertionOperatorFromValue(v string) (*SyntheticsAssertionOperator, error)

NewSyntheticsAssertionOperatorFromValue returns a pointer to a valid SyntheticsAssertionOperator for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsAssertionOperator) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsAssertionOperator) IsValid ¶

func (v SyntheticsAssertionOperator) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsAssertionOperator) Ptr ¶

Ptr returns reference to SyntheticsAssertionOperator value.

func (*SyntheticsAssertionOperator) UnmarshalJSON ¶

func (v *SyntheticsAssertionOperator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsAssertionTarget ¶

type SyntheticsAssertionTarget struct {
	// Assertion operator to apply.
	Operator SyntheticsAssertionOperator `json:"operator"`
	// The associated assertion property.
	Property *string `json:"property,omitempty"`
	// Value used by the operator.
	Target interface{} `json:"target"`
	// Type of the assertion.
	Type SyntheticsAssertionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsAssertionTarget An assertion which uses a simple target.

func NewSyntheticsAssertionTarget ¶

func NewSyntheticsAssertionTarget(operator SyntheticsAssertionOperator, target interface{}, typeVar SyntheticsAssertionType) *SyntheticsAssertionTarget

NewSyntheticsAssertionTarget instantiates a new SyntheticsAssertionTarget 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 NewSyntheticsAssertionTargetWithDefaults ¶

func NewSyntheticsAssertionTargetWithDefaults() *SyntheticsAssertionTarget

NewSyntheticsAssertionTargetWithDefaults instantiates a new SyntheticsAssertionTarget 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 (*SyntheticsAssertionTarget) GetOperator ¶

GetOperator returns the Operator field value.

func (*SyntheticsAssertionTarget) GetOperatorOk ¶

GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.

func (*SyntheticsAssertionTarget) GetProperty ¶

func (o *SyntheticsAssertionTarget) GetProperty() string

GetProperty returns the Property field value if set, zero value otherwise.

func (*SyntheticsAssertionTarget) GetPropertyOk ¶

func (o *SyntheticsAssertionTarget) 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 (*SyntheticsAssertionTarget) GetTarget ¶

func (o *SyntheticsAssertionTarget) GetTarget() interface{}

GetTarget returns the Target field value.

func (*SyntheticsAssertionTarget) GetTargetOk ¶

func (o *SyntheticsAssertionTarget) GetTargetOk() (*interface{}, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*SyntheticsAssertionTarget) GetType ¶

GetType returns the Type field value.

func (*SyntheticsAssertionTarget) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsAssertionTarget) HasProperty ¶

func (o *SyntheticsAssertionTarget) HasProperty() bool

HasProperty returns a boolean if a field has been set.

func (SyntheticsAssertionTarget) MarshalJSON ¶

func (o SyntheticsAssertionTarget) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsAssertionTarget) SetOperator ¶

SetOperator sets field value.

func (*SyntheticsAssertionTarget) SetProperty ¶

func (o *SyntheticsAssertionTarget) SetProperty(v string)

SetProperty gets a reference to the given string and assigns it to the Property field.

func (*SyntheticsAssertionTarget) SetTarget ¶

func (o *SyntheticsAssertionTarget) SetTarget(v interface{})

SetTarget sets field value.

func (*SyntheticsAssertionTarget) SetType ¶

SetType sets field value.

func (*SyntheticsAssertionTarget) UnmarshalJSON ¶

func (o *SyntheticsAssertionTarget) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsAssertionType ¶

type SyntheticsAssertionType string

SyntheticsAssertionType Type of the assertion.

const (
	SYNTHETICSASSERTIONTYPE_BODY                    SyntheticsAssertionType = "body"
	SYNTHETICSASSERTIONTYPE_HEADER                  SyntheticsAssertionType = "header"
	SYNTHETICSASSERTIONTYPE_STATUS_CODE             SyntheticsAssertionType = "statusCode"
	SYNTHETICSASSERTIONTYPE_CERTIFICATE             SyntheticsAssertionType = "certificate"
	SYNTHETICSASSERTIONTYPE_RESPONSE_TIME           SyntheticsAssertionType = "responseTime"
	SYNTHETICSASSERTIONTYPE_PROPERTY                SyntheticsAssertionType = "property"
	SYNTHETICSASSERTIONTYPE_RECORD_EVERY            SyntheticsAssertionType = "recordEvery"
	SYNTHETICSASSERTIONTYPE_RECORD_SOME             SyntheticsAssertionType = "recordSome"
	SYNTHETICSASSERTIONTYPE_TLS_VERSION             SyntheticsAssertionType = "tlsVersion"
	SYNTHETICSASSERTIONTYPE_MIN_TLS_VERSION         SyntheticsAssertionType = "minTlsVersion"
	SYNTHETICSASSERTIONTYPE_LATENCY                 SyntheticsAssertionType = "latency"
	SYNTHETICSASSERTIONTYPE_PACKET_LOSS_PERCENTAGE  SyntheticsAssertionType = "packetLossPercentage"
	SYNTHETICSASSERTIONTYPE_PACKETS_RECEIVED        SyntheticsAssertionType = "packetsReceived"
	SYNTHETICSASSERTIONTYPE_NETWORK_HOP             SyntheticsAssertionType = "networkHop"
	SYNTHETICSASSERTIONTYPE_RECEIVED_MESSAGE        SyntheticsAssertionType = "receivedMessage"
	SYNTHETICSASSERTIONTYPE_GRPC_HEALTHCHECK_STATUS SyntheticsAssertionType = "grpcHealthcheckStatus"
	SYNTHETICSASSERTIONTYPE_CONNECTION              SyntheticsAssertionType = "connection"
)

List of SyntheticsAssertionType.

func NewSyntheticsAssertionTypeFromValue ¶

func NewSyntheticsAssertionTypeFromValue(v string) (*SyntheticsAssertionType, error)

NewSyntheticsAssertionTypeFromValue returns a pointer to a valid SyntheticsAssertionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsAssertionType) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsAssertionType) GetAllowedValues() []SyntheticsAssertionType

GetAllowedValues reeturns the list of possible values.

func (SyntheticsAssertionType) IsValid ¶

func (v SyntheticsAssertionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsAssertionType) Ptr ¶

Ptr returns reference to SyntheticsAssertionType value.

func (*SyntheticsAssertionType) UnmarshalJSON ¶

func (v *SyntheticsAssertionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsBasicAuth ¶

type SyntheticsBasicAuth struct {
	SyntheticsBasicAuthWeb   *SyntheticsBasicAuthWeb
	SyntheticsBasicAuthSigv4 *SyntheticsBasicAuthSigv4
	SyntheticsBasicAuthNTLM  *SyntheticsBasicAuthNTLM

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

SyntheticsBasicAuth - Object to handle basic authentication when performing the test.

func SyntheticsBasicAuthNTLMAsSyntheticsBasicAuth ¶ added in v1.8.0

func SyntheticsBasicAuthNTLMAsSyntheticsBasicAuth(v *SyntheticsBasicAuthNTLM) SyntheticsBasicAuth

SyntheticsBasicAuthNTLMAsSyntheticsBasicAuth is a convenience function that returns SyntheticsBasicAuthNTLM wrapped in SyntheticsBasicAuth.

func SyntheticsBasicAuthSigv4AsSyntheticsBasicAuth ¶ added in v1.8.0

func SyntheticsBasicAuthSigv4AsSyntheticsBasicAuth(v *SyntheticsBasicAuthSigv4) SyntheticsBasicAuth

SyntheticsBasicAuthSigv4AsSyntheticsBasicAuth is a convenience function that returns SyntheticsBasicAuthSigv4 wrapped in SyntheticsBasicAuth.

func SyntheticsBasicAuthWebAsSyntheticsBasicAuth ¶ added in v1.8.0

func SyntheticsBasicAuthWebAsSyntheticsBasicAuth(v *SyntheticsBasicAuthWeb) SyntheticsBasicAuth

SyntheticsBasicAuthWebAsSyntheticsBasicAuth is a convenience function that returns SyntheticsBasicAuthWeb wrapped in SyntheticsBasicAuth.

func (*SyntheticsBasicAuth) GetActualInstance ¶ added in v1.8.0

func (obj *SyntheticsBasicAuth) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (SyntheticsBasicAuth) MarshalJSON ¶

func (obj SyntheticsBasicAuth) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*SyntheticsBasicAuth) UnmarshalJSON ¶

func (obj *SyntheticsBasicAuth) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type SyntheticsBasicAuthNTLM ¶ added in v1.8.0

type SyntheticsBasicAuthNTLM struct {
	// Domain for the authentication to use when performing the test.
	Domain *string `json:"domain,omitempty"`
	// Password for the authentication to use when performing the test.
	Password *string `json:"password,omitempty"`
	// The type of authentication to use when performing the test.
	Type SyntheticsBasicAuthNTLMType `json:"type"`
	// Username for the authentication to use when performing the test.
	Username *string `json:"username,omitempty"`
	// Workstation for the authentication to use when performing the test.
	Workstation *string `json:"workstation,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBasicAuthNTLM Object to handle `NTLM` authentication when performing the test.

func NewSyntheticsBasicAuthNTLM ¶ added in v1.8.0

func NewSyntheticsBasicAuthNTLM(typeVar SyntheticsBasicAuthNTLMType) *SyntheticsBasicAuthNTLM

NewSyntheticsBasicAuthNTLM instantiates a new SyntheticsBasicAuthNTLM 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 NewSyntheticsBasicAuthNTLMWithDefaults ¶ added in v1.8.0

func NewSyntheticsBasicAuthNTLMWithDefaults() *SyntheticsBasicAuthNTLM

NewSyntheticsBasicAuthNTLMWithDefaults instantiates a new SyntheticsBasicAuthNTLM 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 (*SyntheticsBasicAuthNTLM) GetDomain ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*SyntheticsBasicAuthNTLM) GetDomainOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthNTLM) GetPassword ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*SyntheticsBasicAuthNTLM) GetPasswordOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthNTLM) GetType ¶ added in v1.8.0

GetType returns the Type field value.

func (*SyntheticsBasicAuthNTLM) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthNTLM) GetUsername ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*SyntheticsBasicAuthNTLM) GetUsernameOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthNTLM) GetWorkstation ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetWorkstation() string

GetWorkstation returns the Workstation field value if set, zero value otherwise.

func (*SyntheticsBasicAuthNTLM) GetWorkstationOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) GetWorkstationOk() (*string, bool)

GetWorkstationOk returns a tuple with the Workstation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthNTLM) HasDomain ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*SyntheticsBasicAuthNTLM) HasPassword ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*SyntheticsBasicAuthNTLM) HasUsername ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (*SyntheticsBasicAuthNTLM) HasWorkstation ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) HasWorkstation() bool

HasWorkstation returns a boolean if a field has been set.

func (SyntheticsBasicAuthNTLM) MarshalJSON ¶ added in v1.8.0

func (o SyntheticsBasicAuthNTLM) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBasicAuthNTLM) SetDomain ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*SyntheticsBasicAuthNTLM) SetPassword ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*SyntheticsBasicAuthNTLM) SetType ¶ added in v1.8.0

SetType sets field value.

func (*SyntheticsBasicAuthNTLM) SetUsername ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (*SyntheticsBasicAuthNTLM) SetWorkstation ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) SetWorkstation(v string)

SetWorkstation gets a reference to the given string and assigns it to the Workstation field.

func (*SyntheticsBasicAuthNTLM) UnmarshalJSON ¶ added in v1.8.0

func (o *SyntheticsBasicAuthNTLM) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBasicAuthNTLMType ¶ added in v1.8.0

type SyntheticsBasicAuthNTLMType string

SyntheticsBasicAuthNTLMType The type of authentication to use when performing the test.

const (
	SYNTHETICSBASICAUTHNTLMTYPE_NTLM SyntheticsBasicAuthNTLMType = "ntlm"
)

List of SyntheticsBasicAuthNTLMType.

func NewSyntheticsBasicAuthNTLMTypeFromValue ¶ added in v1.8.0

func NewSyntheticsBasicAuthNTLMTypeFromValue(v string) (*SyntheticsBasicAuthNTLMType, error)

NewSyntheticsBasicAuthNTLMTypeFromValue returns a pointer to a valid SyntheticsBasicAuthNTLMType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsBasicAuthNTLMType) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsBasicAuthNTLMType) IsValid ¶ added in v1.8.0

func (v SyntheticsBasicAuthNTLMType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsBasicAuthNTLMType) Ptr ¶ added in v1.8.0

Ptr returns reference to SyntheticsBasicAuthNTLMType value.

func (*SyntheticsBasicAuthNTLMType) UnmarshalJSON ¶ added in v1.8.0

func (v *SyntheticsBasicAuthNTLMType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsBasicAuthSigv4 ¶ added in v1.8.0

type SyntheticsBasicAuthSigv4 struct {
	// Access key for the `SIGV4` authentication.
	AccessKey string `json:"accessKey"`
	// Region for the `SIGV4` authentication.
	Region *string `json:"region,omitempty"`
	// Secret key for the `SIGV4` authentication.
	SecretKey string `json:"secretKey"`
	// Service name for the `SIGV4` authentication.
	ServiceName *string `json:"serviceName,omitempty"`
	// Session token for the `SIGV4` authentication.
	SessionToken *string `json:"sessionToken,omitempty"`
	// The type of authentication to use when performing the test.
	Type SyntheticsBasicAuthSigv4Type `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBasicAuthSigv4 Object to handle `SIGV4` authentication when performing the test.

func NewSyntheticsBasicAuthSigv4 ¶ added in v1.8.0

func NewSyntheticsBasicAuthSigv4(accessKey string, secretKey string, typeVar SyntheticsBasicAuthSigv4Type) *SyntheticsBasicAuthSigv4

NewSyntheticsBasicAuthSigv4 instantiates a new SyntheticsBasicAuthSigv4 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 NewSyntheticsBasicAuthSigv4WithDefaults ¶ added in v1.8.0

func NewSyntheticsBasicAuthSigv4WithDefaults() *SyntheticsBasicAuthSigv4

NewSyntheticsBasicAuthSigv4WithDefaults instantiates a new SyntheticsBasicAuthSigv4 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 (*SyntheticsBasicAuthSigv4) GetAccessKey ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetAccessKey() string

GetAccessKey returns the AccessKey field value.

func (*SyntheticsBasicAuthSigv4) GetAccessKeyOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetAccessKeyOk() (*string, bool)

GetAccessKeyOk returns a tuple with the AccessKey field value and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthSigv4) GetRegion ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*SyntheticsBasicAuthSigv4) GetRegionOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthSigv4) GetSecretKey ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetSecretKey() string

GetSecretKey returns the SecretKey field value.

func (*SyntheticsBasicAuthSigv4) GetSecretKeyOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetSecretKeyOk() (*string, bool)

GetSecretKeyOk returns a tuple with the SecretKey field value and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthSigv4) GetServiceName ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetServiceName() string

GetServiceName returns the ServiceName field value if set, zero value otherwise.

func (*SyntheticsBasicAuthSigv4) GetServiceNameOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetServiceNameOk() (*string, bool)

GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthSigv4) GetSessionToken ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetSessionToken() string

GetSessionToken returns the SessionToken field value if set, zero value otherwise.

func (*SyntheticsBasicAuthSigv4) GetSessionTokenOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) GetSessionTokenOk() (*string, bool)

GetSessionTokenOk returns a tuple with the SessionToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthSigv4) GetType ¶ added in v1.8.0

GetType returns the Type field value.

func (*SyntheticsBasicAuthSigv4) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthSigv4) HasRegion ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*SyntheticsBasicAuthSigv4) HasServiceName ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*SyntheticsBasicAuthSigv4) HasSessionToken ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SyntheticsBasicAuthSigv4) MarshalJSON ¶ added in v1.8.0

func (o SyntheticsBasicAuthSigv4) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBasicAuthSigv4) SetAccessKey ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) SetAccessKey(v string)

SetAccessKey sets field value.

func (*SyntheticsBasicAuthSigv4) SetRegion ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*SyntheticsBasicAuthSigv4) SetSecretKey ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) SetSecretKey(v string)

SetSecretKey sets field value.

func (*SyntheticsBasicAuthSigv4) SetServiceName ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) SetServiceName(v string)

SetServiceName gets a reference to the given string and assigns it to the ServiceName field.

func (*SyntheticsBasicAuthSigv4) SetSessionToken ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) SetSessionToken(v string)

SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.

func (*SyntheticsBasicAuthSigv4) SetType ¶ added in v1.8.0

SetType sets field value.

func (*SyntheticsBasicAuthSigv4) UnmarshalJSON ¶ added in v1.8.0

func (o *SyntheticsBasicAuthSigv4) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBasicAuthSigv4Type ¶ added in v1.8.0

type SyntheticsBasicAuthSigv4Type string

SyntheticsBasicAuthSigv4Type The type of authentication to use when performing the test.

const (
	SYNTHETICSBASICAUTHSIGV4TYPE_SIGV4 SyntheticsBasicAuthSigv4Type = "sigv4"
)

List of SyntheticsBasicAuthSigv4Type.

func NewSyntheticsBasicAuthSigv4TypeFromValue ¶ added in v1.8.0

func NewSyntheticsBasicAuthSigv4TypeFromValue(v string) (*SyntheticsBasicAuthSigv4Type, error)

NewSyntheticsBasicAuthSigv4TypeFromValue returns a pointer to a valid SyntheticsBasicAuthSigv4Type for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsBasicAuthSigv4Type) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsBasicAuthSigv4Type) IsValid ¶ added in v1.8.0

func (v SyntheticsBasicAuthSigv4Type) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsBasicAuthSigv4Type) Ptr ¶ added in v1.8.0

Ptr returns reference to SyntheticsBasicAuthSigv4Type value.

func (*SyntheticsBasicAuthSigv4Type) UnmarshalJSON ¶ added in v1.8.0

func (v *SyntheticsBasicAuthSigv4Type) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsBasicAuthWeb ¶ added in v1.8.0

type SyntheticsBasicAuthWeb struct {
	// Password to use for the basic authentication.
	Password string `json:"password"`
	// The type of basic authentication to use when performing the test.
	Type *SyntheticsBasicAuthWebType `json:"type,omitempty"`
	// Username to use for the basic authentication.
	Username string `json:"username"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBasicAuthWeb Object to handle basic authentication when performing the test.

func NewSyntheticsBasicAuthWeb ¶ added in v1.8.0

func NewSyntheticsBasicAuthWeb(password string, username string) *SyntheticsBasicAuthWeb

NewSyntheticsBasicAuthWeb instantiates a new SyntheticsBasicAuthWeb 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 NewSyntheticsBasicAuthWebWithDefaults ¶ added in v1.8.0

func NewSyntheticsBasicAuthWebWithDefaults() *SyntheticsBasicAuthWeb

NewSyntheticsBasicAuthWebWithDefaults instantiates a new SyntheticsBasicAuthWeb 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 (*SyntheticsBasicAuthWeb) GetPassword ¶ added in v1.8.0

func (o *SyntheticsBasicAuthWeb) GetPassword() string

GetPassword returns the Password field value.

func (*SyntheticsBasicAuthWeb) GetPasswordOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthWeb) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthWeb) GetType ¶ added in v1.8.0

GetType returns the Type field value if set, zero value otherwise.

func (*SyntheticsBasicAuthWeb) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthWeb) GetUsername ¶ added in v1.8.0

func (o *SyntheticsBasicAuthWeb) GetUsername() string

GetUsername returns the Username field value.

func (*SyntheticsBasicAuthWeb) GetUsernameOk ¶ added in v1.8.0

func (o *SyntheticsBasicAuthWeb) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (*SyntheticsBasicAuthWeb) HasType ¶ added in v1.12.0

func (o *SyntheticsBasicAuthWeb) HasType() bool

HasType returns a boolean if a field has been set.

func (SyntheticsBasicAuthWeb) MarshalJSON ¶ added in v1.8.0

func (o SyntheticsBasicAuthWeb) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBasicAuthWeb) SetPassword ¶ added in v1.8.0

func (o *SyntheticsBasicAuthWeb) SetPassword(v string)

SetPassword sets field value.

func (*SyntheticsBasicAuthWeb) SetType ¶ added in v1.8.0

SetType gets a reference to the given SyntheticsBasicAuthWebType and assigns it to the Type field.

func (*SyntheticsBasicAuthWeb) SetUsername ¶ added in v1.8.0

func (o *SyntheticsBasicAuthWeb) SetUsername(v string)

SetUsername sets field value.

func (*SyntheticsBasicAuthWeb) UnmarshalJSON ¶ added in v1.8.0

func (o *SyntheticsBasicAuthWeb) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBasicAuthWebType ¶ added in v1.8.0

type SyntheticsBasicAuthWebType string

SyntheticsBasicAuthWebType The type of basic authentication to use when performing the test.

const (
	SYNTHETICSBASICAUTHWEBTYPE_WEB SyntheticsBasicAuthWebType = "web"
)

List of SyntheticsBasicAuthWebType.

func NewSyntheticsBasicAuthWebTypeFromValue ¶ added in v1.8.0

func NewSyntheticsBasicAuthWebTypeFromValue(v string) (*SyntheticsBasicAuthWebType, error)

NewSyntheticsBasicAuthWebTypeFromValue returns a pointer to a valid SyntheticsBasicAuthWebType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsBasicAuthWebType) GetAllowedValues ¶ added in v1.8.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsBasicAuthWebType) IsValid ¶ added in v1.8.0

func (v SyntheticsBasicAuthWebType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsBasicAuthWebType) Ptr ¶ added in v1.8.0

Ptr returns reference to SyntheticsBasicAuthWebType value.

func (*SyntheticsBasicAuthWebType) UnmarshalJSON ¶ added in v1.8.0

func (v *SyntheticsBasicAuthWebType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsBatchDetails ¶ added in v1.5.0

type SyntheticsBatchDetails struct {
	// Wrapper object that contains the details of a batch.
	Data *SyntheticsBatchDetailsData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBatchDetails Details about a batch response.

func NewSyntheticsBatchDetails ¶ added in v1.5.0

func NewSyntheticsBatchDetails() *SyntheticsBatchDetails

NewSyntheticsBatchDetails instantiates a new SyntheticsBatchDetails 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 NewSyntheticsBatchDetailsWithDefaults ¶ added in v1.5.0

func NewSyntheticsBatchDetailsWithDefaults() *SyntheticsBatchDetails

NewSyntheticsBatchDetailsWithDefaults instantiates a new SyntheticsBatchDetails 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 (*SyntheticsBatchDetails) GetData ¶ added in v1.5.0

GetData returns the Data field value if set, zero value otherwise.

func (*SyntheticsBatchDetails) GetDataOk ¶ added in v1.5.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchDetails) HasData ¶ added in v1.5.0

func (o *SyntheticsBatchDetails) HasData() bool

HasData returns a boolean if a field has been set.

func (SyntheticsBatchDetails) MarshalJSON ¶ added in v1.5.0

func (o SyntheticsBatchDetails) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBatchDetails) SetData ¶ added in v1.5.0

SetData gets a reference to the given SyntheticsBatchDetailsData and assigns it to the Data field.

func (*SyntheticsBatchDetails) UnmarshalJSON ¶ added in v1.5.0

func (o *SyntheticsBatchDetails) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBatchDetailsData ¶ added in v1.5.0

type SyntheticsBatchDetailsData struct {
	// Metadata for the Synthetics tests run.
	Metadata *SyntheticsCIBatchMetadata `json:"metadata,omitempty"`
	// List of results for the batch.
	Results []SyntheticsBatchResult `json:"results,omitempty"`
	// Determines whether or not the batch has passed, failed, or is in progress.
	Status *SyntheticsStatus `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBatchDetailsData Wrapper object that contains the details of a batch.

func NewSyntheticsBatchDetailsData ¶ added in v1.5.0

func NewSyntheticsBatchDetailsData() *SyntheticsBatchDetailsData

NewSyntheticsBatchDetailsData instantiates a new SyntheticsBatchDetailsData 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 NewSyntheticsBatchDetailsDataWithDefaults ¶ added in v1.5.0

func NewSyntheticsBatchDetailsDataWithDefaults() *SyntheticsBatchDetailsData

NewSyntheticsBatchDetailsDataWithDefaults instantiates a new SyntheticsBatchDetailsData 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 (*SyntheticsBatchDetailsData) GetMetadata ¶ added in v1.5.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SyntheticsBatchDetailsData) GetMetadataOk ¶ added in v1.5.0

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchDetailsData) GetResults ¶ added in v1.5.0

GetResults returns the Results field value if set, zero value otherwise.

func (*SyntheticsBatchDetailsData) GetResultsOk ¶ added in v1.5.0

func (o *SyntheticsBatchDetailsData) GetResultsOk() (*[]SyntheticsBatchResult, 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 (*SyntheticsBatchDetailsData) GetStatus ¶ added in v1.5.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsBatchDetailsData) GetStatusOk ¶ added in v1.5.0

func (o *SyntheticsBatchDetailsData) GetStatusOk() (*SyntheticsStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchDetailsData) HasMetadata ¶ added in v1.5.0

func (o *SyntheticsBatchDetailsData) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SyntheticsBatchDetailsData) HasResults ¶ added in v1.5.0

func (o *SyntheticsBatchDetailsData) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*SyntheticsBatchDetailsData) HasStatus ¶ added in v1.5.0

func (o *SyntheticsBatchDetailsData) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SyntheticsBatchDetailsData) MarshalJSON ¶ added in v1.5.0

func (o SyntheticsBatchDetailsData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBatchDetailsData) SetMetadata ¶ added in v1.5.0

SetMetadata gets a reference to the given SyntheticsCIBatchMetadata and assigns it to the Metadata field.

func (*SyntheticsBatchDetailsData) SetResults ¶ added in v1.5.0

SetResults gets a reference to the given []SyntheticsBatchResult and assigns it to the Results field.

func (*SyntheticsBatchDetailsData) SetStatus ¶ added in v1.5.0

SetStatus gets a reference to the given SyntheticsStatus and assigns it to the Status field.

func (*SyntheticsBatchDetailsData) UnmarshalJSON ¶ added in v1.5.0

func (o *SyntheticsBatchDetailsData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBatchResult ¶ added in v1.5.0

type SyntheticsBatchResult struct {
	// The device ID.
	Device *SyntheticsDeviceID `json:"device,omitempty"`
	// Total duration in millisecond of the test.
	Duration *float64 `json:"duration,omitempty"`
	// Execution rule for a Synthetics test.
	ExecutionRule *SyntheticsTestExecutionRule `json:"execution_rule,omitempty"`
	// Name of the location.
	Location *string `json:"location,omitempty"`
	// The ID of the result to get.
	ResultId *string `json:"result_id,omitempty"`
	// Number of times this result has been retried.
	Retries *float64 `json:"retries,omitempty"`
	// Determines whether or not the batch has passed, failed, or is in progress.
	Status *SyntheticsStatus `json:"status,omitempty"`
	// Name of the test.
	TestName *string `json:"test_name,omitempty"`
	// The public ID of the Synthetic test.
	TestPublicId *string `json:"test_public_id,omitempty"`
	// Type of the Synthetic test, either `api` or `browser`.
	TestType *SyntheticsTestDetailsType `json:"test_type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBatchResult Object with the results of a Synthetics batch.

func NewSyntheticsBatchResult ¶ added in v1.5.0

func NewSyntheticsBatchResult() *SyntheticsBatchResult

NewSyntheticsBatchResult instantiates a new SyntheticsBatchResult 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 NewSyntheticsBatchResultWithDefaults ¶ added in v1.5.0

func NewSyntheticsBatchResultWithDefaults() *SyntheticsBatchResult

NewSyntheticsBatchResultWithDefaults instantiates a new SyntheticsBatchResult 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 (*SyntheticsBatchResult) GetDevice ¶ added in v1.5.0

GetDevice returns the Device field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetDeviceOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetDeviceOk() (*SyntheticsDeviceID, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetDuration ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetDuration() float64

GetDuration returns the Duration field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetDurationOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetDurationOk() (*float64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetExecutionRule ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetExecutionRule() SyntheticsTestExecutionRule

GetExecutionRule returns the ExecutionRule field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetExecutionRuleOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetExecutionRuleOk() (*SyntheticsTestExecutionRule, bool)

GetExecutionRuleOk returns a tuple with the ExecutionRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetLocation ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetLocationOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetResultId ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetResultId() string

GetResultId returns the ResultId field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetResultIdOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetResultIdOk() (*string, bool)

GetResultIdOk returns a tuple with the ResultId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetRetries ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetRetries() float64

GetRetries returns the Retries field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetRetriesOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetRetriesOk() (*float64, bool)

GetRetriesOk returns a tuple with the Retries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetStatus ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetStatus() SyntheticsStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetStatusOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetStatusOk() (*SyntheticsStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetTestName ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetTestName() string

GetTestName returns the TestName field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetTestNameOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetTestNameOk() (*string, bool)

GetTestNameOk returns a tuple with the TestName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetTestPublicId ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetTestPublicId() string

GetTestPublicId returns the TestPublicId field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetTestPublicIdOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetTestPublicIdOk() (*string, bool)

GetTestPublicIdOk returns a tuple with the TestPublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) GetTestType ¶ added in v1.5.0

GetTestType returns the TestType field value if set, zero value otherwise.

func (*SyntheticsBatchResult) GetTestTypeOk ¶ added in v1.5.0

func (o *SyntheticsBatchResult) GetTestTypeOk() (*SyntheticsTestDetailsType, bool)

GetTestTypeOk returns a tuple with the TestType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBatchResult) HasDevice ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasDuration ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasExecutionRule ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasExecutionRule() bool

HasExecutionRule returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasLocation ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasResultId ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasResultId() bool

HasResultId returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasRetries ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasRetries() bool

HasRetries returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasStatus ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasTestName ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasTestName() bool

HasTestName returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasTestPublicId ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasTestPublicId() bool

HasTestPublicId returns a boolean if a field has been set.

func (*SyntheticsBatchResult) HasTestType ¶ added in v1.5.0

func (o *SyntheticsBatchResult) HasTestType() bool

HasTestType returns a boolean if a field has been set.

func (SyntheticsBatchResult) MarshalJSON ¶ added in v1.5.0

func (o SyntheticsBatchResult) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBatchResult) SetDevice ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetDevice(v SyntheticsDeviceID)

SetDevice gets a reference to the given SyntheticsDeviceID and assigns it to the Device field.

func (*SyntheticsBatchResult) SetDuration ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetDuration(v float64)

SetDuration gets a reference to the given float64 and assigns it to the Duration field.

func (*SyntheticsBatchResult) SetExecutionRule ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetExecutionRule(v SyntheticsTestExecutionRule)

SetExecutionRule gets a reference to the given SyntheticsTestExecutionRule and assigns it to the ExecutionRule field.

func (*SyntheticsBatchResult) SetLocation ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*SyntheticsBatchResult) SetResultId ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetResultId(v string)

SetResultId gets a reference to the given string and assigns it to the ResultId field.

func (*SyntheticsBatchResult) SetRetries ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetRetries(v float64)

SetRetries gets a reference to the given float64 and assigns it to the Retries field.

func (*SyntheticsBatchResult) SetStatus ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetStatus(v SyntheticsStatus)

SetStatus gets a reference to the given SyntheticsStatus and assigns it to the Status field.

func (*SyntheticsBatchResult) SetTestName ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetTestName(v string)

SetTestName gets a reference to the given string and assigns it to the TestName field.

func (*SyntheticsBatchResult) SetTestPublicId ¶ added in v1.5.0

func (o *SyntheticsBatchResult) SetTestPublicId(v string)

SetTestPublicId gets a reference to the given string and assigns it to the TestPublicId field.

func (*SyntheticsBatchResult) SetTestType ¶ added in v1.5.0

SetTestType gets a reference to the given SyntheticsTestDetailsType and assigns it to the TestType field.

func (*SyntheticsBatchResult) UnmarshalJSON ¶ added in v1.5.0

func (o *SyntheticsBatchResult) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserError ¶

type SyntheticsBrowserError struct {
	// Description of the error.
	Description string `json:"description"`
	// Name of the error.
	Name string `json:"name"`
	// Status Code of the error.
	Status *int64 `json:"status,omitempty"`
	// Error type returned by a browser test.
	Type SyntheticsBrowserErrorType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserError Error response object for a browser test.

func NewSyntheticsBrowserError ¶

func NewSyntheticsBrowserError(description string, name string, typeVar SyntheticsBrowserErrorType) *SyntheticsBrowserError

NewSyntheticsBrowserError instantiates a new SyntheticsBrowserError 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 NewSyntheticsBrowserErrorWithDefaults ¶

func NewSyntheticsBrowserErrorWithDefaults() *SyntheticsBrowserError

NewSyntheticsBrowserErrorWithDefaults instantiates a new SyntheticsBrowserError 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 (*SyntheticsBrowserError) GetDescription ¶

func (o *SyntheticsBrowserError) GetDescription() string

GetDescription returns the Description field value.

func (*SyntheticsBrowserError) GetDescriptionOk ¶

func (o *SyntheticsBrowserError) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserError) GetName ¶

func (o *SyntheticsBrowserError) GetName() string

GetName returns the Name field value.

func (*SyntheticsBrowserError) GetNameOk ¶

func (o *SyntheticsBrowserError) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserError) GetStatus ¶ added in v1.3.0

func (o *SyntheticsBrowserError) GetStatus() int64

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsBrowserError) GetStatusOk ¶ added in v1.3.0

func (o *SyntheticsBrowserError) GetStatusOk() (*int64, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserError) GetType ¶

GetType returns the Type field value.

func (*SyntheticsBrowserError) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserError) HasStatus ¶ added in v1.3.0

func (o *SyntheticsBrowserError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SyntheticsBrowserError) MarshalJSON ¶

func (o SyntheticsBrowserError) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserError) SetDescription ¶

func (o *SyntheticsBrowserError) SetDescription(v string)

SetDescription sets field value.

func (*SyntheticsBrowserError) SetName ¶

func (o *SyntheticsBrowserError) SetName(v string)

SetName sets field value.

func (*SyntheticsBrowserError) SetStatus ¶ added in v1.3.0

func (o *SyntheticsBrowserError) SetStatus(v int64)

SetStatus gets a reference to the given int64 and assigns it to the Status field.

func (*SyntheticsBrowserError) SetType ¶

SetType sets field value.

func (*SyntheticsBrowserError) UnmarshalJSON ¶

func (o *SyntheticsBrowserError) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserErrorType ¶

type SyntheticsBrowserErrorType string

SyntheticsBrowserErrorType Error type returned by a browser test.

const (
	SYNTHETICSBROWSERERRORTYPE_NETWORK SyntheticsBrowserErrorType = "network"
	SYNTHETICSBROWSERERRORTYPE_JS      SyntheticsBrowserErrorType = "js"
)

List of SyntheticsBrowserErrorType.

func NewSyntheticsBrowserErrorTypeFromValue ¶

func NewSyntheticsBrowserErrorTypeFromValue(v string) (*SyntheticsBrowserErrorType, error)

NewSyntheticsBrowserErrorTypeFromValue returns a pointer to a valid SyntheticsBrowserErrorType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsBrowserErrorType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsBrowserErrorType) IsValid ¶

func (v SyntheticsBrowserErrorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsBrowserErrorType) Ptr ¶

Ptr returns reference to SyntheticsBrowserErrorType value.

func (*SyntheticsBrowserErrorType) UnmarshalJSON ¶

func (v *SyntheticsBrowserErrorType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTest ¶

type SyntheticsBrowserTest struct {
	// Configuration object for a Synthetic browser test.
	Config SyntheticsBrowserTestConfig `json:"config"`
	// Array of locations used to run the test.
	Locations []string `json:"locations"`
	// Notification message associated with the test. Message can either be text or an empty string.
	Message string `json:"message"`
	// The associated monitor ID.
	MonitorId *int64 `json:"monitor_id,omitempty"`
	// Name of the test.
	Name string `json:"name"`
	// Object describing the extra options for a Synthetic test.
	Options SyntheticsTestOptions `json:"options"`
	// The public ID of the test.
	PublicId *string `json:"public_id,omitempty"`
	// Define whether you want to start (`live`) or pause (`paused`) a
	// Synthetic test.
	Status *SyntheticsTestPauseStatus `json:"status,omitempty"`
	// The steps of the test.
	Steps []SyntheticsStep `json:"steps,omitempty"`
	// Array of tags attached to the test.
	Tags []string `json:"tags,omitempty"`
	// Type of the Synthetic test, `browser`.
	Type SyntheticsBrowserTestType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTest Object containing details about a Synthetic browser test.

func NewSyntheticsBrowserTest ¶

func NewSyntheticsBrowserTest(config SyntheticsBrowserTestConfig, locations []string, message string, name string, options SyntheticsTestOptions, typeVar SyntheticsBrowserTestType) *SyntheticsBrowserTest

NewSyntheticsBrowserTest instantiates a new SyntheticsBrowserTest 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 NewSyntheticsBrowserTestWithDefaults ¶

func NewSyntheticsBrowserTestWithDefaults() *SyntheticsBrowserTest

NewSyntheticsBrowserTestWithDefaults instantiates a new SyntheticsBrowserTest 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 (*SyntheticsBrowserTest) GetConfig ¶

GetConfig returns the Config field value.

func (*SyntheticsBrowserTest) GetConfigOk ¶

GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetLocations ¶

func (o *SyntheticsBrowserTest) GetLocations() []string

GetLocations returns the Locations field value.

func (*SyntheticsBrowserTest) GetLocationsOk ¶

func (o *SyntheticsBrowserTest) GetLocationsOk() (*[]string, bool)

GetLocationsOk returns a tuple with the Locations field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetMessage ¶

func (o *SyntheticsBrowserTest) GetMessage() string

GetMessage returns the Message field value.

func (*SyntheticsBrowserTest) GetMessageOk ¶

func (o *SyntheticsBrowserTest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetMonitorId ¶

func (o *SyntheticsBrowserTest) GetMonitorId() int64

GetMonitorId returns the MonitorId field value if set, zero value otherwise.

func (*SyntheticsBrowserTest) GetMonitorIdOk ¶

func (o *SyntheticsBrowserTest) GetMonitorIdOk() (*int64, bool)

GetMonitorIdOk returns a tuple with the MonitorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetName ¶

func (o *SyntheticsBrowserTest) GetName() string

GetName returns the Name field value.

func (*SyntheticsBrowserTest) GetNameOk ¶

func (o *SyntheticsBrowserTest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetOptions ¶

GetOptions returns the Options field value.

func (*SyntheticsBrowserTest) GetOptionsOk ¶

func (o *SyntheticsBrowserTest) GetOptionsOk() (*SyntheticsTestOptions, bool)

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetPublicId ¶

func (o *SyntheticsBrowserTest) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*SyntheticsBrowserTest) GetPublicIdOk ¶

func (o *SyntheticsBrowserTest) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsBrowserTest) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetSteps ¶

func (o *SyntheticsBrowserTest) GetSteps() []SyntheticsStep

GetSteps returns the Steps field value if set, zero value otherwise.

func (*SyntheticsBrowserTest) GetStepsOk ¶

func (o *SyntheticsBrowserTest) GetStepsOk() (*[]SyntheticsStep, bool)

GetStepsOk returns a tuple with the Steps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetTags ¶

func (o *SyntheticsBrowserTest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SyntheticsBrowserTest) GetTagsOk ¶

func (o *SyntheticsBrowserTest) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) GetType ¶

GetType returns the Type field value.

func (*SyntheticsBrowserTest) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTest) HasMonitorId ¶

func (o *SyntheticsBrowserTest) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*SyntheticsBrowserTest) HasPublicId ¶

func (o *SyntheticsBrowserTest) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*SyntheticsBrowserTest) HasStatus ¶

func (o *SyntheticsBrowserTest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SyntheticsBrowserTest) HasSteps ¶

func (o *SyntheticsBrowserTest) HasSteps() bool

HasSteps returns a boolean if a field has been set.

func (*SyntheticsBrowserTest) HasTags ¶

func (o *SyntheticsBrowserTest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (SyntheticsBrowserTest) MarshalJSON ¶

func (o SyntheticsBrowserTest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTest) SetConfig ¶

SetConfig sets field value.

func (*SyntheticsBrowserTest) SetLocations ¶

func (o *SyntheticsBrowserTest) SetLocations(v []string)

SetLocations sets field value.

func (*SyntheticsBrowserTest) SetMessage ¶

func (o *SyntheticsBrowserTest) SetMessage(v string)

SetMessage sets field value.

func (*SyntheticsBrowserTest) SetMonitorId ¶

func (o *SyntheticsBrowserTest) SetMonitorId(v int64)

SetMonitorId gets a reference to the given int64 and assigns it to the MonitorId field.

func (*SyntheticsBrowserTest) SetName ¶

func (o *SyntheticsBrowserTest) SetName(v string)

SetName sets field value.

func (*SyntheticsBrowserTest) SetOptions ¶

SetOptions sets field value.

func (*SyntheticsBrowserTest) SetPublicId ¶

func (o *SyntheticsBrowserTest) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*SyntheticsBrowserTest) SetStatus ¶

SetStatus gets a reference to the given SyntheticsTestPauseStatus and assigns it to the Status field.

func (*SyntheticsBrowserTest) SetSteps ¶

func (o *SyntheticsBrowserTest) SetSteps(v []SyntheticsStep)

SetSteps gets a reference to the given []SyntheticsStep and assigns it to the Steps field.

func (*SyntheticsBrowserTest) SetTags ¶

func (o *SyntheticsBrowserTest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SyntheticsBrowserTest) SetType ¶

SetType sets field value.

func (*SyntheticsBrowserTest) UnmarshalJSON ¶

func (o *SyntheticsBrowserTest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestConfig ¶

type SyntheticsBrowserTestConfig struct {
	// Array of assertions used for the test.
	Assertions []SyntheticsAssertion `json:"assertions"`
	// Array of variables used for the test.
	ConfigVariables []SyntheticsConfigVariable `json:"configVariables,omitempty"`
	// Object describing the Synthetic test request.
	Request SyntheticsTestRequest `json:"request"`
	// Cookies to be used for the request, using the [Set-Cookie](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) syntax.
	SetCookie *string `json:"setCookie,omitempty"`
	// Array of variables used for the test steps.
	Variables []SyntheticsBrowserVariable `json:"variables,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestConfig Configuration object for a Synthetic browser test.

func NewSyntheticsBrowserTestConfig ¶

func NewSyntheticsBrowserTestConfig(assertions []SyntheticsAssertion, request SyntheticsTestRequest) *SyntheticsBrowserTestConfig

NewSyntheticsBrowserTestConfig instantiates a new SyntheticsBrowserTestConfig 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 NewSyntheticsBrowserTestConfigWithDefaults ¶

func NewSyntheticsBrowserTestConfigWithDefaults() *SyntheticsBrowserTestConfig

NewSyntheticsBrowserTestConfigWithDefaults instantiates a new SyntheticsBrowserTestConfig 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 (*SyntheticsBrowserTestConfig) GetAssertions ¶

func (o *SyntheticsBrowserTestConfig) GetAssertions() []SyntheticsAssertion

GetAssertions returns the Assertions field value.

func (*SyntheticsBrowserTestConfig) GetAssertionsOk ¶

func (o *SyntheticsBrowserTestConfig) GetAssertionsOk() (*[]SyntheticsAssertion, bool)

GetAssertionsOk returns a tuple with the Assertions field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestConfig) GetConfigVariables ¶ added in v1.3.0

func (o *SyntheticsBrowserTestConfig) GetConfigVariables() []SyntheticsConfigVariable

GetConfigVariables returns the ConfigVariables field value if set, zero value otherwise.

func (*SyntheticsBrowserTestConfig) GetConfigVariablesOk ¶ added in v1.3.0

func (o *SyntheticsBrowserTestConfig) GetConfigVariablesOk() (*[]SyntheticsConfigVariable, bool)

GetConfigVariablesOk returns a tuple with the ConfigVariables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestConfig) GetRequest ¶

GetRequest returns the Request field value.

func (*SyntheticsBrowserTestConfig) GetRequestOk ¶

GetRequestOk returns a tuple with the Request field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestConfig) GetSetCookie ¶

func (o *SyntheticsBrowserTestConfig) GetSetCookie() string

GetSetCookie returns the SetCookie field value if set, zero value otherwise.

func (*SyntheticsBrowserTestConfig) GetSetCookieOk ¶

func (o *SyntheticsBrowserTestConfig) GetSetCookieOk() (*string, bool)

GetSetCookieOk returns a tuple with the SetCookie field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestConfig) GetVariables ¶

GetVariables returns the Variables field value if set, zero value otherwise.

func (*SyntheticsBrowserTestConfig) GetVariablesOk ¶

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestConfig) HasConfigVariables ¶ added in v1.3.0

func (o *SyntheticsBrowserTestConfig) HasConfigVariables() bool

HasConfigVariables returns a boolean if a field has been set.

func (*SyntheticsBrowserTestConfig) HasSetCookie ¶

func (o *SyntheticsBrowserTestConfig) HasSetCookie() bool

HasSetCookie returns a boolean if a field has been set.

func (*SyntheticsBrowserTestConfig) HasVariables ¶

func (o *SyntheticsBrowserTestConfig) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (SyntheticsBrowserTestConfig) MarshalJSON ¶

func (o SyntheticsBrowserTestConfig) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestConfig) SetAssertions ¶

func (o *SyntheticsBrowserTestConfig) SetAssertions(v []SyntheticsAssertion)

SetAssertions sets field value.

func (*SyntheticsBrowserTestConfig) SetConfigVariables ¶ added in v1.3.0

func (o *SyntheticsBrowserTestConfig) SetConfigVariables(v []SyntheticsConfigVariable)

SetConfigVariables gets a reference to the given []SyntheticsConfigVariable and assigns it to the ConfigVariables field.

func (*SyntheticsBrowserTestConfig) SetRequest ¶

SetRequest sets field value.

func (*SyntheticsBrowserTestConfig) SetSetCookie ¶

func (o *SyntheticsBrowserTestConfig) SetSetCookie(v string)

SetSetCookie gets a reference to the given string and assigns it to the SetCookie field.

func (*SyntheticsBrowserTestConfig) SetVariables ¶

SetVariables gets a reference to the given []SyntheticsBrowserVariable and assigns it to the Variables field.

func (*SyntheticsBrowserTestConfig) UnmarshalJSON ¶

func (o *SyntheticsBrowserTestConfig) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestFailureCode ¶ added in v1.9.0

type SyntheticsBrowserTestFailureCode string

SyntheticsBrowserTestFailureCode Error code that can be returned by a Synthetic test.

const (
	SYNTHETICSBROWSERTESTFAILURECODE_API_REQUEST_FAILURE          SyntheticsBrowserTestFailureCode = "API_REQUEST_FAILURE"
	SYNTHETICSBROWSERTESTFAILURECODE_ASSERTION_FAILURE            SyntheticsBrowserTestFailureCode = "ASSERTION_FAILURE"
	SYNTHETICSBROWSERTESTFAILURECODE_DOWNLOAD_FILE_TOO_LARGE      SyntheticsBrowserTestFailureCode = "DOWNLOAD_FILE_TOO_LARGE"
	SYNTHETICSBROWSERTESTFAILURECODE_ELEMENT_NOT_INTERACTABLE     SyntheticsBrowserTestFailureCode = "ELEMENT_NOT_INTERACTABLE"
	SYNTHETICSBROWSERTESTFAILURECODE_EMAIL_VARIABLE_NOT_DEFINED   SyntheticsBrowserTestFailureCode = "EMAIL_VARIABLE_NOT_DEFINED"
	SYNTHETICSBROWSERTESTFAILURECODE_EVALUATE_JAVASCRIPT          SyntheticsBrowserTestFailureCode = "EVALUATE_JAVASCRIPT"
	SYNTHETICSBROWSERTESTFAILURECODE_EVALUATE_JAVASCRIPT_CONTEXT  SyntheticsBrowserTestFailureCode = "EVALUATE_JAVASCRIPT_CONTEXT"
	SYNTHETICSBROWSERTESTFAILURECODE_EXTRACT_VARIABLE             SyntheticsBrowserTestFailureCode = "EXTRACT_VARIABLE"
	SYNTHETICSBROWSERTESTFAILURECODE_FORBIDDEN_URL                SyntheticsBrowserTestFailureCode = "FORBIDDEN_URL"
	SYNTHETICSBROWSERTESTFAILURECODE_FRAME_DETACHED               SyntheticsBrowserTestFailureCode = "FRAME_DETACHED"
	SYNTHETICSBROWSERTESTFAILURECODE_INCONSISTENCIES              SyntheticsBrowserTestFailureCode = "INCONSISTENCIES"
	SYNTHETICSBROWSERTESTFAILURECODE_INTERNAL_ERROR               SyntheticsBrowserTestFailureCode = "INTERNAL_ERROR"
	SYNTHETICSBROWSERTESTFAILURECODE_INVALID_TYPE_TEXT_DELAY      SyntheticsBrowserTestFailureCode = "INVALID_TYPE_TEXT_DELAY"
	SYNTHETICSBROWSERTESTFAILURECODE_INVALID_URL                  SyntheticsBrowserTestFailureCode = "INVALID_URL"
	SYNTHETICSBROWSERTESTFAILURECODE_INVALID_VARIABLE_PATTERN     SyntheticsBrowserTestFailureCode = "INVALID_VARIABLE_PATTERN"
	SYNTHETICSBROWSERTESTFAILURECODE_INVISIBLE_ELEMENT            SyntheticsBrowserTestFailureCode = "INVISIBLE_ELEMENT"
	SYNTHETICSBROWSERTESTFAILURECODE_LOCATE_ELEMENT               SyntheticsBrowserTestFailureCode = "LOCATE_ELEMENT"
	SYNTHETICSBROWSERTESTFAILURECODE_NAVIGATE_TO_LINK             SyntheticsBrowserTestFailureCode = "NAVIGATE_TO_LINK"
	SYNTHETICSBROWSERTESTFAILURECODE_OPEN_URL                     SyntheticsBrowserTestFailureCode = "OPEN_URL"
	SYNTHETICSBROWSERTESTFAILURECODE_PRESS_KEY                    SyntheticsBrowserTestFailureCode = "PRESS_KEY"
	SYNTHETICSBROWSERTESTFAILURECODE_SERVER_CERTIFICATE           SyntheticsBrowserTestFailureCode = "SERVER_CERTIFICATE"
	SYNTHETICSBROWSERTESTFAILURECODE_SELECT_OPTION                SyntheticsBrowserTestFailureCode = "SELECT_OPTION"
	SYNTHETICSBROWSERTESTFAILURECODE_STEP_TIMEOUT                 SyntheticsBrowserTestFailureCode = "STEP_TIMEOUT"
	SYNTHETICSBROWSERTESTFAILURECODE_SUB_TEST_NOT_PASSED          SyntheticsBrowserTestFailureCode = "SUB_TEST_NOT_PASSED"
	SYNTHETICSBROWSERTESTFAILURECODE_TEST_TIMEOUT                 SyntheticsBrowserTestFailureCode = "TEST_TIMEOUT"
	SYNTHETICSBROWSERTESTFAILURECODE_TOO_MANY_HTTP_REQUESTS       SyntheticsBrowserTestFailureCode = "TOO_MANY_HTTP_REQUESTS"
	SYNTHETICSBROWSERTESTFAILURECODE_UNAVAILABLE_BROWSER          SyntheticsBrowserTestFailureCode = "UNAVAILABLE_BROWSER"
	SYNTHETICSBROWSERTESTFAILURECODE_UNKNOWN                      SyntheticsBrowserTestFailureCode = "UNKNOWN"
	SYNTHETICSBROWSERTESTFAILURECODE_UNSUPPORTED_AUTH_SCHEMA      SyntheticsBrowserTestFailureCode = "UNSUPPORTED_AUTH_SCHEMA"
	SYNTHETICSBROWSERTESTFAILURECODE_UPLOAD_FILES_ELEMENT_TYPE    SyntheticsBrowserTestFailureCode = "UPLOAD_FILES_ELEMENT_TYPE"
	SYNTHETICSBROWSERTESTFAILURECODE_UPLOAD_FILES_DIALOG          SyntheticsBrowserTestFailureCode = "UPLOAD_FILES_DIALOG"
	SYNTHETICSBROWSERTESTFAILURECODE_UPLOAD_FILES_DYNAMIC_ELEMENT SyntheticsBrowserTestFailureCode = "UPLOAD_FILES_DYNAMIC_ELEMENT"
	SYNTHETICSBROWSERTESTFAILURECODE_UPLOAD_FILES_NAME            SyntheticsBrowserTestFailureCode = "UPLOAD_FILES_NAME"
)

List of SyntheticsBrowserTestFailureCode.

func NewSyntheticsBrowserTestFailureCodeFromValue ¶ added in v1.9.0

func NewSyntheticsBrowserTestFailureCodeFromValue(v string) (*SyntheticsBrowserTestFailureCode, error)

NewSyntheticsBrowserTestFailureCodeFromValue returns a pointer to a valid SyntheticsBrowserTestFailureCode for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsBrowserTestFailureCode) GetAllowedValues ¶ added in v1.9.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsBrowserTestFailureCode) IsValid ¶ added in v1.9.0

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsBrowserTestFailureCode) Ptr ¶ added in v1.9.0

Ptr returns reference to SyntheticsBrowserTestFailureCode value.

func (*SyntheticsBrowserTestFailureCode) UnmarshalJSON ¶ added in v1.9.0

func (v *SyntheticsBrowserTestFailureCode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestResultData ¶

type SyntheticsBrowserTestResultData struct {
	// Type of browser device used for the browser test.
	BrowserType *string `json:"browserType,omitempty"`
	// Browser version used for the browser test.
	BrowserVersion *string `json:"browserVersion,omitempty"`
	// Object describing the device used to perform the Synthetic test.
	Device *SyntheticsDevice `json:"device,omitempty"`
	// Global duration in second of the browser test.
	Duration *float64 `json:"duration,omitempty"`
	// Error returned for the browser test.
	Error *string `json:"error,omitempty"`
	// The browser test failure details.
	Failure *SyntheticsBrowserTestResultFailure `json:"failure,omitempty"`
	// Whether or not the browser test was conducted.
	Passed *bool `json:"passed,omitempty"`
	// The amount of email received during the browser test.
	ReceivedEmailCount *int64 `json:"receivedEmailCount,omitempty"`
	// Starting URL for the browser test.
	StartUrl *string `json:"startUrl,omitempty"`
	// Array containing the different browser test steps.
	StepDetails []SyntheticsStepDetail `json:"stepDetails,omitempty"`
	// Whether or not a thumbnail is associated with the browser test.
	ThumbnailsBucketKey *bool `json:"thumbnailsBucketKey,omitempty"`
	// Time in second to wait before the browser test starts after
	// reaching the start URL.
	TimeToInteractive *float64 `json:"timeToInteractive,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestResultData Object containing results for your Synthetic browser test.

func NewSyntheticsBrowserTestResultData ¶

func NewSyntheticsBrowserTestResultData() *SyntheticsBrowserTestResultData

NewSyntheticsBrowserTestResultData instantiates a new SyntheticsBrowserTestResultData 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 NewSyntheticsBrowserTestResultDataWithDefaults ¶

func NewSyntheticsBrowserTestResultDataWithDefaults() *SyntheticsBrowserTestResultData

NewSyntheticsBrowserTestResultDataWithDefaults instantiates a new SyntheticsBrowserTestResultData 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 (*SyntheticsBrowserTestResultData) GetBrowserType ¶

func (o *SyntheticsBrowserTestResultData) GetBrowserType() string

GetBrowserType returns the BrowserType field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetBrowserTypeOk ¶

func (o *SyntheticsBrowserTestResultData) GetBrowserTypeOk() (*string, bool)

GetBrowserTypeOk returns a tuple with the BrowserType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetBrowserVersion ¶

func (o *SyntheticsBrowserTestResultData) GetBrowserVersion() string

GetBrowserVersion returns the BrowserVersion field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetBrowserVersionOk ¶

func (o *SyntheticsBrowserTestResultData) GetBrowserVersionOk() (*string, bool)

GetBrowserVersionOk returns a tuple with the BrowserVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetDevice ¶

GetDevice returns the Device field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetDeviceOk ¶

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetDuration ¶

func (o *SyntheticsBrowserTestResultData) GetDuration() float64

GetDuration returns the Duration field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetDurationOk ¶

func (o *SyntheticsBrowserTestResultData) GetDurationOk() (*float64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetError ¶

GetError returns the Error field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetErrorOk ¶

func (o *SyntheticsBrowserTestResultData) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetFailure ¶ added in v1.9.0

GetFailure returns the Failure field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetFailureOk ¶ added in v1.9.0

GetFailureOk returns a tuple with the Failure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetPassed ¶

func (o *SyntheticsBrowserTestResultData) GetPassed() bool

GetPassed returns the Passed field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetPassedOk ¶

func (o *SyntheticsBrowserTestResultData) GetPassedOk() (*bool, bool)

GetPassedOk returns a tuple with the Passed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetReceivedEmailCount ¶

func (o *SyntheticsBrowserTestResultData) GetReceivedEmailCount() int64

GetReceivedEmailCount returns the ReceivedEmailCount field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetReceivedEmailCountOk ¶

func (o *SyntheticsBrowserTestResultData) GetReceivedEmailCountOk() (*int64, bool)

GetReceivedEmailCountOk returns a tuple with the ReceivedEmailCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetStartUrl ¶

func (o *SyntheticsBrowserTestResultData) GetStartUrl() string

GetStartUrl returns the StartUrl field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetStartUrlOk ¶

func (o *SyntheticsBrowserTestResultData) GetStartUrlOk() (*string, bool)

GetStartUrlOk returns a tuple with the StartUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetStepDetails ¶

GetStepDetails returns the StepDetails field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetStepDetailsOk ¶

func (o *SyntheticsBrowserTestResultData) GetStepDetailsOk() (*[]SyntheticsStepDetail, bool)

GetStepDetailsOk returns a tuple with the StepDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetThumbnailsBucketKey ¶

func (o *SyntheticsBrowserTestResultData) GetThumbnailsBucketKey() bool

GetThumbnailsBucketKey returns the ThumbnailsBucketKey field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetThumbnailsBucketKeyOk ¶

func (o *SyntheticsBrowserTestResultData) GetThumbnailsBucketKeyOk() (*bool, bool)

GetThumbnailsBucketKeyOk returns a tuple with the ThumbnailsBucketKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) GetTimeToInteractive ¶

func (o *SyntheticsBrowserTestResultData) GetTimeToInteractive() float64

GetTimeToInteractive returns the TimeToInteractive field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultData) GetTimeToInteractiveOk ¶

func (o *SyntheticsBrowserTestResultData) GetTimeToInteractiveOk() (*float64, bool)

GetTimeToInteractiveOk returns a tuple with the TimeToInteractive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultData) HasBrowserType ¶

func (o *SyntheticsBrowserTestResultData) HasBrowserType() bool

HasBrowserType returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasBrowserVersion ¶

func (o *SyntheticsBrowserTestResultData) HasBrowserVersion() bool

HasBrowserVersion returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasDevice ¶

func (o *SyntheticsBrowserTestResultData) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasDuration ¶

func (o *SyntheticsBrowserTestResultData) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasError ¶

func (o *SyntheticsBrowserTestResultData) HasError() bool

HasError returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasFailure ¶ added in v1.9.0

func (o *SyntheticsBrowserTestResultData) HasFailure() bool

HasFailure returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasPassed ¶

func (o *SyntheticsBrowserTestResultData) HasPassed() bool

HasPassed returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasReceivedEmailCount ¶

func (o *SyntheticsBrowserTestResultData) HasReceivedEmailCount() bool

HasReceivedEmailCount returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasStartUrl ¶

func (o *SyntheticsBrowserTestResultData) HasStartUrl() bool

HasStartUrl returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasStepDetails ¶

func (o *SyntheticsBrowserTestResultData) HasStepDetails() bool

HasStepDetails returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasThumbnailsBucketKey ¶

func (o *SyntheticsBrowserTestResultData) HasThumbnailsBucketKey() bool

HasThumbnailsBucketKey returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultData) HasTimeToInteractive ¶

func (o *SyntheticsBrowserTestResultData) HasTimeToInteractive() bool

HasTimeToInteractive returns a boolean if a field has been set.

func (SyntheticsBrowserTestResultData) MarshalJSON ¶

func (o SyntheticsBrowserTestResultData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestResultData) SetBrowserType ¶

func (o *SyntheticsBrowserTestResultData) SetBrowserType(v string)

SetBrowserType gets a reference to the given string and assigns it to the BrowserType field.

func (*SyntheticsBrowserTestResultData) SetBrowserVersion ¶

func (o *SyntheticsBrowserTestResultData) SetBrowserVersion(v string)

SetBrowserVersion gets a reference to the given string and assigns it to the BrowserVersion field.

func (*SyntheticsBrowserTestResultData) SetDevice ¶

SetDevice gets a reference to the given SyntheticsDevice and assigns it to the Device field.

func (*SyntheticsBrowserTestResultData) SetDuration ¶

func (o *SyntheticsBrowserTestResultData) SetDuration(v float64)

SetDuration gets a reference to the given float64 and assigns it to the Duration field.

func (*SyntheticsBrowserTestResultData) SetError ¶

func (o *SyntheticsBrowserTestResultData) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*SyntheticsBrowserTestResultData) SetFailure ¶ added in v1.9.0

SetFailure gets a reference to the given SyntheticsBrowserTestResultFailure and assigns it to the Failure field.

func (*SyntheticsBrowserTestResultData) SetPassed ¶

func (o *SyntheticsBrowserTestResultData) SetPassed(v bool)

SetPassed gets a reference to the given bool and assigns it to the Passed field.

func (*SyntheticsBrowserTestResultData) SetReceivedEmailCount ¶

func (o *SyntheticsBrowserTestResultData) SetReceivedEmailCount(v int64)

SetReceivedEmailCount gets a reference to the given int64 and assigns it to the ReceivedEmailCount field.

func (*SyntheticsBrowserTestResultData) SetStartUrl ¶

func (o *SyntheticsBrowserTestResultData) SetStartUrl(v string)

SetStartUrl gets a reference to the given string and assigns it to the StartUrl field.

func (*SyntheticsBrowserTestResultData) SetStepDetails ¶

SetStepDetails gets a reference to the given []SyntheticsStepDetail and assigns it to the StepDetails field.

func (*SyntheticsBrowserTestResultData) SetThumbnailsBucketKey ¶

func (o *SyntheticsBrowserTestResultData) SetThumbnailsBucketKey(v bool)

SetThumbnailsBucketKey gets a reference to the given bool and assigns it to the ThumbnailsBucketKey field.

func (*SyntheticsBrowserTestResultData) SetTimeToInteractive ¶

func (o *SyntheticsBrowserTestResultData) SetTimeToInteractive(v float64)

SetTimeToInteractive gets a reference to the given float64 and assigns it to the TimeToInteractive field.

func (*SyntheticsBrowserTestResultData) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsBrowserTestResultData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestResultFailure ¶ added in v1.9.0

type SyntheticsBrowserTestResultFailure struct {
	// Error code that can be returned by a Synthetic test.
	Code *SyntheticsBrowserTestFailureCode `json:"code,omitempty"`
	// The browser test error message.
	Message *string `json:"message,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestResultFailure The browser test failure details.

func NewSyntheticsBrowserTestResultFailure ¶ added in v1.9.0

func NewSyntheticsBrowserTestResultFailure() *SyntheticsBrowserTestResultFailure

NewSyntheticsBrowserTestResultFailure instantiates a new SyntheticsBrowserTestResultFailure 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 NewSyntheticsBrowserTestResultFailureWithDefaults ¶ added in v1.9.0

func NewSyntheticsBrowserTestResultFailureWithDefaults() *SyntheticsBrowserTestResultFailure

NewSyntheticsBrowserTestResultFailureWithDefaults instantiates a new SyntheticsBrowserTestResultFailure 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 (*SyntheticsBrowserTestResultFailure) GetCode ¶ added in v1.9.0

GetCode returns the Code field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFailure) GetCodeOk ¶ added in v1.9.0

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFailure) GetMessage ¶ added in v1.9.0

GetMessage returns the Message field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFailure) GetMessageOk ¶ added in v1.9.0

func (o *SyntheticsBrowserTestResultFailure) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFailure) HasCode ¶ added in v1.9.0

HasCode returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultFailure) HasMessage ¶ added in v1.9.0

func (o *SyntheticsBrowserTestResultFailure) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (SyntheticsBrowserTestResultFailure) MarshalJSON ¶ added in v1.9.0

func (o SyntheticsBrowserTestResultFailure) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestResultFailure) SetCode ¶ added in v1.9.0

SetCode gets a reference to the given SyntheticsBrowserTestFailureCode and assigns it to the Code field.

func (*SyntheticsBrowserTestResultFailure) SetMessage ¶ added in v1.9.0

func (o *SyntheticsBrowserTestResultFailure) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SyntheticsBrowserTestResultFailure) UnmarshalJSON ¶ added in v1.9.0

func (o *SyntheticsBrowserTestResultFailure) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestResultFull ¶

type SyntheticsBrowserTestResultFull struct {
	// Object describing the browser test configuration.
	Check *SyntheticsBrowserTestResultFullCheck `json:"check,omitempty"`
	// When the browser test was conducted.
	CheckTime *float64 `json:"check_time,omitempty"`
	// Version of the browser test used.
	CheckVersion *int64 `json:"check_version,omitempty"`
	// Location from which the browser test was performed.
	ProbeDc *string `json:"probe_dc,omitempty"`
	// Object containing results for your Synthetic browser test.
	Result *SyntheticsBrowserTestResultData `json:"result,omitempty"`
	// ID of the browser test result.
	ResultId *string `json:"result_id,omitempty"`
	// The status of your Synthetic monitor.
	// * `O` for not triggered
	// * `1` for triggered
	// * `2` for no data
	Status *SyntheticsTestMonitorStatus `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestResultFull Object returned describing a browser test result.

func NewSyntheticsBrowserTestResultFull ¶

func NewSyntheticsBrowserTestResultFull() *SyntheticsBrowserTestResultFull

NewSyntheticsBrowserTestResultFull instantiates a new SyntheticsBrowserTestResultFull 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 NewSyntheticsBrowserTestResultFullWithDefaults ¶

func NewSyntheticsBrowserTestResultFullWithDefaults() *SyntheticsBrowserTestResultFull

NewSyntheticsBrowserTestResultFullWithDefaults instantiates a new SyntheticsBrowserTestResultFull 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 (*SyntheticsBrowserTestResultFull) GetCheck ¶

GetCheck returns the Check field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFull) GetCheckOk ¶

GetCheckOk returns a tuple with the Check field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFull) GetCheckTime ¶

func (o *SyntheticsBrowserTestResultFull) GetCheckTime() float64

GetCheckTime returns the CheckTime field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFull) GetCheckTimeOk ¶

func (o *SyntheticsBrowserTestResultFull) GetCheckTimeOk() (*float64, bool)

GetCheckTimeOk returns a tuple with the CheckTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFull) GetCheckVersion ¶

func (o *SyntheticsBrowserTestResultFull) GetCheckVersion() int64

GetCheckVersion returns the CheckVersion field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFull) GetCheckVersionOk ¶

func (o *SyntheticsBrowserTestResultFull) GetCheckVersionOk() (*int64, bool)

GetCheckVersionOk returns a tuple with the CheckVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFull) GetProbeDc ¶

func (o *SyntheticsBrowserTestResultFull) GetProbeDc() string

GetProbeDc returns the ProbeDc field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFull) GetProbeDcOk ¶

func (o *SyntheticsBrowserTestResultFull) GetProbeDcOk() (*string, bool)

GetProbeDcOk returns a tuple with the ProbeDc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFull) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFull) GetResultId ¶

func (o *SyntheticsBrowserTestResultFull) GetResultId() string

GetResultId returns the ResultId field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFull) GetResultIdOk ¶

func (o *SyntheticsBrowserTestResultFull) GetResultIdOk() (*string, bool)

GetResultIdOk returns a tuple with the ResultId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFull) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFull) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultFull) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultFull) HasCheck ¶

func (o *SyntheticsBrowserTestResultFull) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultFull) HasCheckTime ¶

func (o *SyntheticsBrowserTestResultFull) HasCheckTime() bool

HasCheckTime returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultFull) HasCheckVersion ¶

func (o *SyntheticsBrowserTestResultFull) HasCheckVersion() bool

HasCheckVersion returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultFull) HasProbeDc ¶

func (o *SyntheticsBrowserTestResultFull) HasProbeDc() bool

HasProbeDc returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultFull) HasResult ¶

func (o *SyntheticsBrowserTestResultFull) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultFull) HasResultId ¶

func (o *SyntheticsBrowserTestResultFull) HasResultId() bool

HasResultId returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultFull) HasStatus ¶

func (o *SyntheticsBrowserTestResultFull) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SyntheticsBrowserTestResultFull) MarshalJSON ¶

func (o SyntheticsBrowserTestResultFull) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestResultFull) SetCheck ¶

SetCheck gets a reference to the given SyntheticsBrowserTestResultFullCheck and assigns it to the Check field.

func (*SyntheticsBrowserTestResultFull) SetCheckTime ¶

func (o *SyntheticsBrowserTestResultFull) SetCheckTime(v float64)

SetCheckTime gets a reference to the given float64 and assigns it to the CheckTime field.

func (*SyntheticsBrowserTestResultFull) SetCheckVersion ¶

func (o *SyntheticsBrowserTestResultFull) SetCheckVersion(v int64)

SetCheckVersion gets a reference to the given int64 and assigns it to the CheckVersion field.

func (*SyntheticsBrowserTestResultFull) SetProbeDc ¶

func (o *SyntheticsBrowserTestResultFull) SetProbeDc(v string)

SetProbeDc gets a reference to the given string and assigns it to the ProbeDc field.

func (*SyntheticsBrowserTestResultFull) SetResult ¶

SetResult gets a reference to the given SyntheticsBrowserTestResultData and assigns it to the Result field.

func (*SyntheticsBrowserTestResultFull) SetResultId ¶

func (o *SyntheticsBrowserTestResultFull) SetResultId(v string)

SetResultId gets a reference to the given string and assigns it to the ResultId field.

func (*SyntheticsBrowserTestResultFull) SetStatus ¶

SetStatus gets a reference to the given SyntheticsTestMonitorStatus and assigns it to the Status field.

func (*SyntheticsBrowserTestResultFull) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsBrowserTestResultFull) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestResultFullCheck ¶

type SyntheticsBrowserTestResultFullCheck struct {
	// Configuration object for a Synthetic test.
	Config SyntheticsTestConfig `json:"config"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestResultFullCheck Object describing the browser test configuration.

func NewSyntheticsBrowserTestResultFullCheck ¶

func NewSyntheticsBrowserTestResultFullCheck(config SyntheticsTestConfig) *SyntheticsBrowserTestResultFullCheck

NewSyntheticsBrowserTestResultFullCheck instantiates a new SyntheticsBrowserTestResultFullCheck 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 NewSyntheticsBrowserTestResultFullCheckWithDefaults ¶

func NewSyntheticsBrowserTestResultFullCheckWithDefaults() *SyntheticsBrowserTestResultFullCheck

NewSyntheticsBrowserTestResultFullCheckWithDefaults instantiates a new SyntheticsBrowserTestResultFullCheck 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 (*SyntheticsBrowserTestResultFullCheck) GetConfig ¶

GetConfig returns the Config field value.

func (*SyntheticsBrowserTestResultFullCheck) GetConfigOk ¶

GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.

func (SyntheticsBrowserTestResultFullCheck) MarshalJSON ¶

func (o SyntheticsBrowserTestResultFullCheck) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestResultFullCheck) SetConfig ¶

SetConfig sets field value.

func (*SyntheticsBrowserTestResultFullCheck) UnmarshalJSON ¶

func (o *SyntheticsBrowserTestResultFullCheck) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestResultShort ¶

type SyntheticsBrowserTestResultShort struct {
	// Last time the browser test was performed.
	CheckTime *float64 `json:"check_time,omitempty"`
	// Location from which the Browser test was performed.
	ProbeDc *string `json:"probe_dc,omitempty"`
	// Object with the result of the last browser test run.
	Result *SyntheticsBrowserTestResultShortResult `json:"result,omitempty"`
	// ID of the browser test result.
	ResultId *string `json:"result_id,omitempty"`
	// The status of your Synthetic monitor.
	// * `O` for not triggered
	// * `1` for triggered
	// * `2` for no data
	Status *SyntheticsTestMonitorStatus `json:"status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestResultShort Object with the results of a single Synthetic browser test.

func NewSyntheticsBrowserTestResultShort ¶

func NewSyntheticsBrowserTestResultShort() *SyntheticsBrowserTestResultShort

NewSyntheticsBrowserTestResultShort instantiates a new SyntheticsBrowserTestResultShort 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 NewSyntheticsBrowserTestResultShortWithDefaults ¶

func NewSyntheticsBrowserTestResultShortWithDefaults() *SyntheticsBrowserTestResultShort

NewSyntheticsBrowserTestResultShortWithDefaults instantiates a new SyntheticsBrowserTestResultShort 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 (*SyntheticsBrowserTestResultShort) GetCheckTime ¶

func (o *SyntheticsBrowserTestResultShort) GetCheckTime() float64

GetCheckTime returns the CheckTime field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShort) GetCheckTimeOk ¶

func (o *SyntheticsBrowserTestResultShort) GetCheckTimeOk() (*float64, bool)

GetCheckTimeOk returns a tuple with the CheckTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShort) GetProbeDc ¶

func (o *SyntheticsBrowserTestResultShort) GetProbeDc() string

GetProbeDc returns the ProbeDc field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShort) GetProbeDcOk ¶

func (o *SyntheticsBrowserTestResultShort) GetProbeDcOk() (*string, bool)

GetProbeDcOk returns a tuple with the ProbeDc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShort) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShort) GetResultId ¶

func (o *SyntheticsBrowserTestResultShort) GetResultId() string

GetResultId returns the ResultId field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShort) GetResultIdOk ¶

func (o *SyntheticsBrowserTestResultShort) GetResultIdOk() (*string, bool)

GetResultIdOk returns a tuple with the ResultId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShort) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShort) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShort) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShort) HasCheckTime ¶

func (o *SyntheticsBrowserTestResultShort) HasCheckTime() bool

HasCheckTime returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShort) HasProbeDc ¶

func (o *SyntheticsBrowserTestResultShort) HasProbeDc() bool

HasProbeDc returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShort) HasResult ¶

func (o *SyntheticsBrowserTestResultShort) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShort) HasResultId ¶

func (o *SyntheticsBrowserTestResultShort) HasResultId() bool

HasResultId returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShort) HasStatus ¶

func (o *SyntheticsBrowserTestResultShort) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SyntheticsBrowserTestResultShort) MarshalJSON ¶

func (o SyntheticsBrowserTestResultShort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestResultShort) SetCheckTime ¶

func (o *SyntheticsBrowserTestResultShort) SetCheckTime(v float64)

SetCheckTime gets a reference to the given float64 and assigns it to the CheckTime field.

func (*SyntheticsBrowserTestResultShort) SetProbeDc ¶

func (o *SyntheticsBrowserTestResultShort) SetProbeDc(v string)

SetProbeDc gets a reference to the given string and assigns it to the ProbeDc field.

func (*SyntheticsBrowserTestResultShort) SetResult ¶

SetResult gets a reference to the given SyntheticsBrowserTestResultShortResult and assigns it to the Result field.

func (*SyntheticsBrowserTestResultShort) SetResultId ¶

func (o *SyntheticsBrowserTestResultShort) SetResultId(v string)

SetResultId gets a reference to the given string and assigns it to the ResultId field.

func (*SyntheticsBrowserTestResultShort) SetStatus ¶

SetStatus gets a reference to the given SyntheticsTestMonitorStatus and assigns it to the Status field.

func (*SyntheticsBrowserTestResultShort) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsBrowserTestResultShort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestResultShortResult ¶

type SyntheticsBrowserTestResultShortResult struct {
	// Object describing the device used to perform the Synthetic test.
	Device *SyntheticsDevice `json:"device,omitempty"`
	// Length in milliseconds of the browser test run.
	Duration *float64 `json:"duration,omitempty"`
	// Amount of errors collected for a single browser test run.
	ErrorCount *int64 `json:"errorCount,omitempty"`
	// Amount of browser test steps completed before failing.
	StepCountCompleted *int64 `json:"stepCountCompleted,omitempty"`
	// Total amount of browser test steps.
	StepCountTotal *int64 `json:"stepCountTotal,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestResultShortResult Object with the result of the last browser test run.

func NewSyntheticsBrowserTestResultShortResult ¶

func NewSyntheticsBrowserTestResultShortResult() *SyntheticsBrowserTestResultShortResult

NewSyntheticsBrowserTestResultShortResult instantiates a new SyntheticsBrowserTestResultShortResult 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 NewSyntheticsBrowserTestResultShortResultWithDefaults ¶

func NewSyntheticsBrowserTestResultShortResultWithDefaults() *SyntheticsBrowserTestResultShortResult

NewSyntheticsBrowserTestResultShortResultWithDefaults instantiates a new SyntheticsBrowserTestResultShortResult 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 (*SyntheticsBrowserTestResultShortResult) GetDevice ¶

GetDevice returns the Device field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShortResult) GetDeviceOk ¶

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShortResult) GetDuration ¶

GetDuration returns the Duration field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShortResult) GetDurationOk ¶

func (o *SyntheticsBrowserTestResultShortResult) GetDurationOk() (*float64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShortResult) GetErrorCount ¶

func (o *SyntheticsBrowserTestResultShortResult) GetErrorCount() int64

GetErrorCount returns the ErrorCount field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShortResult) GetErrorCountOk ¶

func (o *SyntheticsBrowserTestResultShortResult) GetErrorCountOk() (*int64, bool)

GetErrorCountOk returns a tuple with the ErrorCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShortResult) GetStepCountCompleted ¶

func (o *SyntheticsBrowserTestResultShortResult) GetStepCountCompleted() int64

GetStepCountCompleted returns the StepCountCompleted field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShortResult) GetStepCountCompletedOk ¶

func (o *SyntheticsBrowserTestResultShortResult) GetStepCountCompletedOk() (*int64, bool)

GetStepCountCompletedOk returns a tuple with the StepCountCompleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShortResult) GetStepCountTotal ¶

func (o *SyntheticsBrowserTestResultShortResult) GetStepCountTotal() int64

GetStepCountTotal returns the StepCountTotal field value if set, zero value otherwise.

func (*SyntheticsBrowserTestResultShortResult) GetStepCountTotalOk ¶

func (o *SyntheticsBrowserTestResultShortResult) GetStepCountTotalOk() (*int64, bool)

GetStepCountTotalOk returns a tuple with the StepCountTotal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestResultShortResult) HasDevice ¶

HasDevice returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShortResult) HasDuration ¶

HasDuration returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShortResult) HasErrorCount ¶

func (o *SyntheticsBrowserTestResultShortResult) HasErrorCount() bool

HasErrorCount returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShortResult) HasStepCountCompleted ¶

func (o *SyntheticsBrowserTestResultShortResult) HasStepCountCompleted() bool

HasStepCountCompleted returns a boolean if a field has been set.

func (*SyntheticsBrowserTestResultShortResult) HasStepCountTotal ¶

func (o *SyntheticsBrowserTestResultShortResult) HasStepCountTotal() bool

HasStepCountTotal returns a boolean if a field has been set.

func (SyntheticsBrowserTestResultShortResult) MarshalJSON ¶

func (o SyntheticsBrowserTestResultShortResult) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestResultShortResult) SetDevice ¶

SetDevice gets a reference to the given SyntheticsDevice and assigns it to the Device field.

func (*SyntheticsBrowserTestResultShortResult) SetDuration ¶

SetDuration gets a reference to the given float64 and assigns it to the Duration field.

func (*SyntheticsBrowserTestResultShortResult) SetErrorCount ¶

func (o *SyntheticsBrowserTestResultShortResult) SetErrorCount(v int64)

SetErrorCount gets a reference to the given int64 and assigns it to the ErrorCount field.

func (*SyntheticsBrowserTestResultShortResult) SetStepCountCompleted ¶

func (o *SyntheticsBrowserTestResultShortResult) SetStepCountCompleted(v int64)

SetStepCountCompleted gets a reference to the given int64 and assigns it to the StepCountCompleted field.

func (*SyntheticsBrowserTestResultShortResult) SetStepCountTotal ¶

func (o *SyntheticsBrowserTestResultShortResult) SetStepCountTotal(v int64)

SetStepCountTotal gets a reference to the given int64 and assigns it to the StepCountTotal field.

func (*SyntheticsBrowserTestResultShortResult) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsBrowserTestResultShortResult) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestRumSettings ¶ added in v1.15.0

type SyntheticsBrowserTestRumSettings struct {
	// RUM application ID used to collect RUM data for the browser test.
	ApplicationId *string `json:"applicationId,omitempty"`
	// RUM application API key ID used to collect RUM data for the browser test.
	ClientTokenId *int64 `json:"clientTokenId,omitempty"`
	// Determines whether RUM data is collected during test runs.
	IsEnabled bool `json:"isEnabled"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserTestRumSettings The RUM data collection settings for the Synthetic browser test. **Note:** There are 3 ways to format RUM settings:

`{ isEnabled: false }` RUM data is not collected.

`{ isEnabled: true }` RUM data is collected from the Synthetic test's default application.

`{ isEnabled: true, applicationId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", clientTokenId: 12345 }` RUM data is collected using the specified application.

func NewSyntheticsBrowserTestRumSettings ¶ added in v1.15.0

func NewSyntheticsBrowserTestRumSettings(isEnabled bool) *SyntheticsBrowserTestRumSettings

NewSyntheticsBrowserTestRumSettings instantiates a new SyntheticsBrowserTestRumSettings 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 NewSyntheticsBrowserTestRumSettingsWithDefaults ¶ added in v1.15.0

func NewSyntheticsBrowserTestRumSettingsWithDefaults() *SyntheticsBrowserTestRumSettings

NewSyntheticsBrowserTestRumSettingsWithDefaults instantiates a new SyntheticsBrowserTestRumSettings 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 (*SyntheticsBrowserTestRumSettings) GetApplicationId ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) GetApplicationId() string

GetApplicationId returns the ApplicationId field value if set, zero value otherwise.

func (*SyntheticsBrowserTestRumSettings) GetApplicationIdOk ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestRumSettings) GetClientTokenId ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) GetClientTokenId() int64

GetClientTokenId returns the ClientTokenId field value if set, zero value otherwise.

func (*SyntheticsBrowserTestRumSettings) GetClientTokenIdOk ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) GetClientTokenIdOk() (*int64, bool)

GetClientTokenIdOk returns a tuple with the ClientTokenId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestRumSettings) GetIsEnabled ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value.

func (*SyntheticsBrowserTestRumSettings) GetIsEnabledOk ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserTestRumSettings) HasApplicationId ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

func (*SyntheticsBrowserTestRumSettings) HasClientTokenId ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) HasClientTokenId() bool

HasClientTokenId returns a boolean if a field has been set.

func (SyntheticsBrowserTestRumSettings) MarshalJSON ¶ added in v1.15.0

func (o SyntheticsBrowserTestRumSettings) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserTestRumSettings) SetApplicationId ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) SetApplicationId(v string)

SetApplicationId gets a reference to the given string and assigns it to the ApplicationId field.

func (*SyntheticsBrowserTestRumSettings) SetClientTokenId ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) SetClientTokenId(v int64)

SetClientTokenId gets a reference to the given int64 and assigns it to the ClientTokenId field.

func (*SyntheticsBrowserTestRumSettings) SetIsEnabled ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) SetIsEnabled(v bool)

SetIsEnabled sets field value.

func (*SyntheticsBrowserTestRumSettings) UnmarshalJSON ¶ added in v1.15.0

func (o *SyntheticsBrowserTestRumSettings) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserTestType ¶

type SyntheticsBrowserTestType string

SyntheticsBrowserTestType Type of the Synthetic test, `browser`.

const (
	SYNTHETICSBROWSERTESTTYPE_BROWSER SyntheticsBrowserTestType = "browser"
)

List of SyntheticsBrowserTestType.

func NewSyntheticsBrowserTestTypeFromValue ¶

func NewSyntheticsBrowserTestTypeFromValue(v string) (*SyntheticsBrowserTestType, error)

NewSyntheticsBrowserTestTypeFromValue returns a pointer to a valid SyntheticsBrowserTestType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsBrowserTestType) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsBrowserTestType) GetAllowedValues() []SyntheticsBrowserTestType

GetAllowedValues reeturns the list of possible values.

func (SyntheticsBrowserTestType) IsValid ¶

func (v SyntheticsBrowserTestType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsBrowserTestType) Ptr ¶

Ptr returns reference to SyntheticsBrowserTestType value.

func (*SyntheticsBrowserTestType) UnmarshalJSON ¶

func (v *SyntheticsBrowserTestType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserVariable ¶

type SyntheticsBrowserVariable struct {
	// Example for the variable.
	Example *string `json:"example,omitempty"`
	// ID for the variable. Global variables require an ID.
	Id *string `json:"id,omitempty"`
	// Name of the variable.
	Name string `json:"name"`
	// Pattern of the variable.
	Pattern *string `json:"pattern,omitempty"`
	// Type of browser test variable.
	Type SyntheticsBrowserVariableType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsBrowserVariable Object defining a variable that can be used in your browser test. Learn more in the [Browser test Actions documentation](https://docs.datadoghq.com/synthetics/browser_tests/actions#variable).

func NewSyntheticsBrowserVariable ¶

func NewSyntheticsBrowserVariable(name string, typeVar SyntheticsBrowserVariableType) *SyntheticsBrowserVariable

NewSyntheticsBrowserVariable instantiates a new SyntheticsBrowserVariable 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 NewSyntheticsBrowserVariableWithDefaults ¶

func NewSyntheticsBrowserVariableWithDefaults() *SyntheticsBrowserVariable

NewSyntheticsBrowserVariableWithDefaults instantiates a new SyntheticsBrowserVariable 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 (*SyntheticsBrowserVariable) GetExample ¶

func (o *SyntheticsBrowserVariable) GetExample() string

GetExample returns the Example field value if set, zero value otherwise.

func (*SyntheticsBrowserVariable) GetExampleOk ¶

func (o *SyntheticsBrowserVariable) GetExampleOk() (*string, bool)

GetExampleOk returns a tuple with the Example field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserVariable) GetId ¶

func (o *SyntheticsBrowserVariable) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsBrowserVariable) GetIdOk ¶

func (o *SyntheticsBrowserVariable) 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 (*SyntheticsBrowserVariable) GetName ¶

func (o *SyntheticsBrowserVariable) GetName() string

GetName returns the Name field value.

func (*SyntheticsBrowserVariable) GetNameOk ¶

func (o *SyntheticsBrowserVariable) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserVariable) GetPattern ¶

func (o *SyntheticsBrowserVariable) GetPattern() string

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*SyntheticsBrowserVariable) GetPatternOk ¶

func (o *SyntheticsBrowserVariable) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsBrowserVariable) GetType ¶

GetType returns the Type field value.

func (*SyntheticsBrowserVariable) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsBrowserVariable) HasExample ¶

func (o *SyntheticsBrowserVariable) HasExample() bool

HasExample returns a boolean if a field has been set.

func (*SyntheticsBrowserVariable) HasId ¶

func (o *SyntheticsBrowserVariable) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsBrowserVariable) HasPattern ¶

func (o *SyntheticsBrowserVariable) HasPattern() bool

HasPattern returns a boolean if a field has been set.

func (SyntheticsBrowserVariable) MarshalJSON ¶

func (o SyntheticsBrowserVariable) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsBrowserVariable) SetExample ¶

func (o *SyntheticsBrowserVariable) SetExample(v string)

SetExample gets a reference to the given string and assigns it to the Example field.

func (*SyntheticsBrowserVariable) SetId ¶

func (o *SyntheticsBrowserVariable) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SyntheticsBrowserVariable) SetName ¶

func (o *SyntheticsBrowserVariable) SetName(v string)

SetName sets field value.

func (*SyntheticsBrowserVariable) SetPattern ¶

func (o *SyntheticsBrowserVariable) SetPattern(v string)

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*SyntheticsBrowserVariable) SetType ¶

SetType sets field value.

func (*SyntheticsBrowserVariable) UnmarshalJSON ¶

func (o *SyntheticsBrowserVariable) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsBrowserVariableType ¶

type SyntheticsBrowserVariableType string

SyntheticsBrowserVariableType Type of browser test variable.

const (
	SYNTHETICSBROWSERVARIABLETYPE_ELEMENT    SyntheticsBrowserVariableType = "element"
	SYNTHETICSBROWSERVARIABLETYPE_EMAIL      SyntheticsBrowserVariableType = "email"
	SYNTHETICSBROWSERVARIABLETYPE_GLOBAL     SyntheticsBrowserVariableType = "global"
	SYNTHETICSBROWSERVARIABLETYPE_JAVASCRIPT SyntheticsBrowserVariableType = "javascript"
	SYNTHETICSBROWSERVARIABLETYPE_TEXT       SyntheticsBrowserVariableType = "text"
)

List of SyntheticsBrowserVariableType.

func NewSyntheticsBrowserVariableTypeFromValue ¶

func NewSyntheticsBrowserVariableTypeFromValue(v string) (*SyntheticsBrowserVariableType, error)

NewSyntheticsBrowserVariableTypeFromValue returns a pointer to a valid SyntheticsBrowserVariableType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsBrowserVariableType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsBrowserVariableType) IsValid ¶

func (v SyntheticsBrowserVariableType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsBrowserVariableType) Ptr ¶

Ptr returns reference to SyntheticsBrowserVariableType value.

func (*SyntheticsBrowserVariableType) UnmarshalJSON ¶

func (v *SyntheticsBrowserVariableType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsCIBatchMetadata ¶ added in v1.5.0

type SyntheticsCIBatchMetadata struct {
	// Description of the CI provider.
	Ci *SyntheticsCIBatchMetadataCI `json:"ci,omitempty"`
	// Git information.
	Git *SyntheticsCIBatchMetadataGit `json:"git,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCIBatchMetadata Metadata for the Synthetics tests run.

func NewSyntheticsCIBatchMetadata ¶ added in v1.5.0

func NewSyntheticsCIBatchMetadata() *SyntheticsCIBatchMetadata

NewSyntheticsCIBatchMetadata instantiates a new SyntheticsCIBatchMetadata 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 NewSyntheticsCIBatchMetadataWithDefaults ¶ added in v1.5.0

func NewSyntheticsCIBatchMetadataWithDefaults() *SyntheticsCIBatchMetadata

NewSyntheticsCIBatchMetadataWithDefaults instantiates a new SyntheticsCIBatchMetadata 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 (*SyntheticsCIBatchMetadata) GetCi ¶ added in v1.5.0

GetCi returns the Ci field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadata) GetCiOk ¶ added in v1.5.0

GetCiOk returns a tuple with the Ci field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCIBatchMetadata) GetGit ¶ added in v1.5.0

GetGit returns the Git field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadata) GetGitOk ¶ added in v1.5.0

GetGitOk returns a tuple with the Git field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCIBatchMetadata) HasCi ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadata) HasCi() bool

HasCi returns a boolean if a field has been set.

func (*SyntheticsCIBatchMetadata) HasGit ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadata) HasGit() bool

HasGit returns a boolean if a field has been set.

func (SyntheticsCIBatchMetadata) MarshalJSON ¶ added in v1.5.0

func (o SyntheticsCIBatchMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCIBatchMetadata) SetCi ¶ added in v1.5.0

SetCi gets a reference to the given SyntheticsCIBatchMetadataCI and assigns it to the Ci field.

func (*SyntheticsCIBatchMetadata) SetGit ¶ added in v1.5.0

SetGit gets a reference to the given SyntheticsCIBatchMetadataGit and assigns it to the Git field.

func (*SyntheticsCIBatchMetadata) UnmarshalJSON ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsCIBatchMetadataCI ¶ added in v1.5.0

type SyntheticsCIBatchMetadataCI struct {
	// Description of the CI pipeline.
	Pipeline *SyntheticsCIBatchMetadataPipeline `json:"pipeline,omitempty"`
	// Description of the CI provider.
	Provider *SyntheticsCIBatchMetadataProvider `json:"provider,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCIBatchMetadataCI Description of the CI provider.

func NewSyntheticsCIBatchMetadataCI ¶ added in v1.5.0

func NewSyntheticsCIBatchMetadataCI() *SyntheticsCIBatchMetadataCI

NewSyntheticsCIBatchMetadataCI instantiates a new SyntheticsCIBatchMetadataCI 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 NewSyntheticsCIBatchMetadataCIWithDefaults ¶ added in v1.5.0

func NewSyntheticsCIBatchMetadataCIWithDefaults() *SyntheticsCIBatchMetadataCI

NewSyntheticsCIBatchMetadataCIWithDefaults instantiates a new SyntheticsCIBatchMetadataCI 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 (*SyntheticsCIBatchMetadataCI) GetPipeline ¶ added in v1.5.0

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadataCI) GetPipelineOk ¶ added in v1.5.0

GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCIBatchMetadataCI) GetProvider ¶ added in v1.5.0

GetProvider returns the Provider field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadataCI) GetProviderOk ¶ added in v1.5.0

GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCIBatchMetadataCI) HasPipeline ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataCI) HasPipeline() bool

HasPipeline returns a boolean if a field has been set.

func (*SyntheticsCIBatchMetadataCI) HasProvider ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataCI) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (SyntheticsCIBatchMetadataCI) MarshalJSON ¶ added in v1.5.0

func (o SyntheticsCIBatchMetadataCI) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCIBatchMetadataCI) SetPipeline ¶ added in v1.5.0

SetPipeline gets a reference to the given SyntheticsCIBatchMetadataPipeline and assigns it to the Pipeline field.

func (*SyntheticsCIBatchMetadataCI) SetProvider ¶ added in v1.5.0

SetProvider gets a reference to the given SyntheticsCIBatchMetadataProvider and assigns it to the Provider field.

func (*SyntheticsCIBatchMetadataCI) UnmarshalJSON ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataCI) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsCIBatchMetadataGit ¶ added in v1.5.0

type SyntheticsCIBatchMetadataGit struct {
	// Branch name.
	Branch *string `json:"branch,omitempty"`
	// The commit SHA.
	CommitSha *string `json:"commitSha,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCIBatchMetadataGit Git information.

func NewSyntheticsCIBatchMetadataGit ¶ added in v1.5.0

func NewSyntheticsCIBatchMetadataGit() *SyntheticsCIBatchMetadataGit

NewSyntheticsCIBatchMetadataGit instantiates a new SyntheticsCIBatchMetadataGit 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 NewSyntheticsCIBatchMetadataGitWithDefaults ¶ added in v1.5.0

func NewSyntheticsCIBatchMetadataGitWithDefaults() *SyntheticsCIBatchMetadataGit

NewSyntheticsCIBatchMetadataGitWithDefaults instantiates a new SyntheticsCIBatchMetadataGit 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 (*SyntheticsCIBatchMetadataGit) GetBranch ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) GetBranch() string

GetBranch returns the Branch field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadataGit) GetBranchOk ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) GetBranchOk() (*string, bool)

GetBranchOk returns a tuple with the Branch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCIBatchMetadataGit) GetCommitSha ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) GetCommitSha() string

GetCommitSha returns the CommitSha field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadataGit) GetCommitShaOk ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) GetCommitShaOk() (*string, bool)

GetCommitShaOk returns a tuple with the CommitSha field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCIBatchMetadataGit) HasBranch ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*SyntheticsCIBatchMetadataGit) HasCommitSha ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) HasCommitSha() bool

HasCommitSha returns a boolean if a field has been set.

func (SyntheticsCIBatchMetadataGit) MarshalJSON ¶ added in v1.5.0

func (o SyntheticsCIBatchMetadataGit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCIBatchMetadataGit) SetBranch ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) SetBranch(v string)

SetBranch gets a reference to the given string and assigns it to the Branch field.

func (*SyntheticsCIBatchMetadataGit) SetCommitSha ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) SetCommitSha(v string)

SetCommitSha gets a reference to the given string and assigns it to the CommitSha field.

func (*SyntheticsCIBatchMetadataGit) UnmarshalJSON ¶ added in v1.5.0

func (o *SyntheticsCIBatchMetadataGit) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsCIBatchMetadataPipeline ¶ added in v1.6.0

type SyntheticsCIBatchMetadataPipeline struct {
	// URL of the pipeline.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCIBatchMetadataPipeline Description of the CI pipeline.

func NewSyntheticsCIBatchMetadataPipeline ¶ added in v1.6.0

func NewSyntheticsCIBatchMetadataPipeline() *SyntheticsCIBatchMetadataPipeline

NewSyntheticsCIBatchMetadataPipeline instantiates a new SyntheticsCIBatchMetadataPipeline 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 NewSyntheticsCIBatchMetadataPipelineWithDefaults ¶ added in v1.6.0

func NewSyntheticsCIBatchMetadataPipelineWithDefaults() *SyntheticsCIBatchMetadataPipeline

NewSyntheticsCIBatchMetadataPipelineWithDefaults instantiates a new SyntheticsCIBatchMetadataPipeline 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 (*SyntheticsCIBatchMetadataPipeline) GetUrl ¶ added in v1.6.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadataPipeline) GetUrlOk ¶ added in v1.6.0

func (o *SyntheticsCIBatchMetadataPipeline) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCIBatchMetadataPipeline) HasUrl ¶ added in v1.6.0

HasUrl returns a boolean if a field has been set.

func (SyntheticsCIBatchMetadataPipeline) MarshalJSON ¶ added in v1.6.0

func (o SyntheticsCIBatchMetadataPipeline) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCIBatchMetadataPipeline) SetUrl ¶ added in v1.6.0

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*SyntheticsCIBatchMetadataPipeline) UnmarshalJSON ¶ added in v1.6.0

func (o *SyntheticsCIBatchMetadataPipeline) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsCIBatchMetadataProvider ¶ added in v1.6.0

type SyntheticsCIBatchMetadataProvider struct {
	// Name of the CI provider.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCIBatchMetadataProvider Description of the CI provider.

func NewSyntheticsCIBatchMetadataProvider ¶ added in v1.6.0

func NewSyntheticsCIBatchMetadataProvider() *SyntheticsCIBatchMetadataProvider

NewSyntheticsCIBatchMetadataProvider instantiates a new SyntheticsCIBatchMetadataProvider 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 NewSyntheticsCIBatchMetadataProviderWithDefaults ¶ added in v1.6.0

func NewSyntheticsCIBatchMetadataProviderWithDefaults() *SyntheticsCIBatchMetadataProvider

NewSyntheticsCIBatchMetadataProviderWithDefaults instantiates a new SyntheticsCIBatchMetadataProvider 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 (*SyntheticsCIBatchMetadataProvider) GetName ¶ added in v1.6.0

GetName returns the Name field value if set, zero value otherwise.

func (*SyntheticsCIBatchMetadataProvider) GetNameOk ¶ added in v1.6.0

func (o *SyntheticsCIBatchMetadataProvider) 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 (*SyntheticsCIBatchMetadataProvider) HasName ¶ added in v1.6.0

HasName returns a boolean if a field has been set.

func (SyntheticsCIBatchMetadataProvider) MarshalJSON ¶ added in v1.6.0

func (o SyntheticsCIBatchMetadataProvider) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCIBatchMetadataProvider) SetName ¶ added in v1.6.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*SyntheticsCIBatchMetadataProvider) UnmarshalJSON ¶ added in v1.6.0

func (o *SyntheticsCIBatchMetadataProvider) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsCITest ¶

type SyntheticsCITest struct {
	// Disable certificate checks in API tests.
	AllowInsecureCertificates *bool `json:"allowInsecureCertificates,omitempty"`
	// Object to handle basic authentication when performing the test.
	BasicAuth *SyntheticsBasicAuth `json:"basicAuth,omitempty"`
	// Body to include in the test.
	Body *string `json:"body,omitempty"`
	// Type of the data sent in a synthetics API test.
	BodyType *string `json:"bodyType,omitempty"`
	// Cookies for the request.
	Cookies *string `json:"cookies,omitempty"`
	// For browser test, array with the different device IDs used to run the test.
	DeviceIds []SyntheticsDeviceID `json:"deviceIds,omitempty"`
	// For API HTTP test, whether or not the test should follow redirects.
	FollowRedirects *bool `json:"followRedirects,omitempty"`
	// Headers to include when performing the test.
	Headers map[string]string `json:"headers,omitempty"`
	// Array of locations used to run the test.
	Locations []string `json:"locations,omitempty"`
	// Metadata for the Synthetics tests run.
	Metadata *SyntheticsCIBatchMetadata `json:"metadata,omitempty"`
	// The public ID of the Synthetics test to trigger.
	PublicId string `json:"public_id"`
	// Object describing the retry strategy to apply to a Synthetic test.
	Retry *SyntheticsTestOptionsRetry `json:"retry,omitempty"`
	// Starting URL for the browser test.
	StartUrl *string `json:"startUrl,omitempty"`
	// Variables to replace in the test.
	Variables map[string]string `json:"variables,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCITest Test configuration for Synthetics CI

func NewSyntheticsCITest ¶

func NewSyntheticsCITest(publicId string) *SyntheticsCITest

NewSyntheticsCITest instantiates a new SyntheticsCITest 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 NewSyntheticsCITestWithDefaults ¶

func NewSyntheticsCITestWithDefaults() *SyntheticsCITest

NewSyntheticsCITestWithDefaults instantiates a new SyntheticsCITest 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 (*SyntheticsCITest) GetAllowInsecureCertificates ¶

func (o *SyntheticsCITest) GetAllowInsecureCertificates() bool

GetAllowInsecureCertificates returns the AllowInsecureCertificates field value if set, zero value otherwise.

func (*SyntheticsCITest) GetAllowInsecureCertificatesOk ¶

func (o *SyntheticsCITest) GetAllowInsecureCertificatesOk() (*bool, bool)

GetAllowInsecureCertificatesOk returns a tuple with the AllowInsecureCertificates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetBasicAuth ¶

func (o *SyntheticsCITest) GetBasicAuth() SyntheticsBasicAuth

GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.

func (*SyntheticsCITest) GetBasicAuthOk ¶

func (o *SyntheticsCITest) GetBasicAuthOk() (*SyntheticsBasicAuth, bool)

GetBasicAuthOk returns a tuple with the BasicAuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetBody ¶

func (o *SyntheticsCITest) GetBody() string

GetBody returns the Body field value if set, zero value otherwise.

func (*SyntheticsCITest) GetBodyOk ¶

func (o *SyntheticsCITest) GetBodyOk() (*string, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetBodyType ¶

func (o *SyntheticsCITest) GetBodyType() string

GetBodyType returns the BodyType field value if set, zero value otherwise.

func (*SyntheticsCITest) GetBodyTypeOk ¶

func (o *SyntheticsCITest) GetBodyTypeOk() (*string, bool)

GetBodyTypeOk returns a tuple with the BodyType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetCookies ¶

func (o *SyntheticsCITest) GetCookies() string

GetCookies returns the Cookies field value if set, zero value otherwise.

func (*SyntheticsCITest) GetCookiesOk ¶

func (o *SyntheticsCITest) GetCookiesOk() (*string, bool)

GetCookiesOk returns a tuple with the Cookies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetDeviceIds ¶

func (o *SyntheticsCITest) GetDeviceIds() []SyntheticsDeviceID

GetDeviceIds returns the DeviceIds field value if set, zero value otherwise.

func (*SyntheticsCITest) GetDeviceIdsOk ¶

func (o *SyntheticsCITest) GetDeviceIdsOk() (*[]SyntheticsDeviceID, bool)

GetDeviceIdsOk returns a tuple with the DeviceIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetFollowRedirects ¶

func (o *SyntheticsCITest) GetFollowRedirects() bool

GetFollowRedirects returns the FollowRedirects field value if set, zero value otherwise.

func (*SyntheticsCITest) GetFollowRedirectsOk ¶

func (o *SyntheticsCITest) GetFollowRedirectsOk() (*bool, bool)

GetFollowRedirectsOk returns a tuple with the FollowRedirects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetHeaders ¶

func (o *SyntheticsCITest) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*SyntheticsCITest) GetHeadersOk ¶

func (o *SyntheticsCITest) GetHeadersOk() (*map[string]string, bool)

GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetLocations ¶

func (o *SyntheticsCITest) GetLocations() []string

GetLocations returns the Locations field value if set, zero value otherwise.

func (*SyntheticsCITest) GetLocationsOk ¶

func (o *SyntheticsCITest) GetLocationsOk() (*[]string, bool)

GetLocationsOk returns a tuple with the Locations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SyntheticsCITest) GetMetadataOk ¶

func (o *SyntheticsCITest) GetMetadataOk() (*SyntheticsCIBatchMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetPublicId ¶

func (o *SyntheticsCITest) GetPublicId() string

GetPublicId returns the PublicId field value.

func (*SyntheticsCITest) GetPublicIdOk ¶

func (o *SyntheticsCITest) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetRetry ¶

GetRetry returns the Retry field value if set, zero value otherwise.

func (*SyntheticsCITest) GetRetryOk ¶

func (o *SyntheticsCITest) GetRetryOk() (*SyntheticsTestOptionsRetry, bool)

GetRetryOk returns a tuple with the Retry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetStartUrl ¶

func (o *SyntheticsCITest) GetStartUrl() string

GetStartUrl returns the StartUrl field value if set, zero value otherwise.

func (*SyntheticsCITest) GetStartUrlOk ¶

func (o *SyntheticsCITest) GetStartUrlOk() (*string, bool)

GetStartUrlOk returns a tuple with the StartUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) GetVariables ¶

func (o *SyntheticsCITest) GetVariables() map[string]string

GetVariables returns the Variables field value if set, zero value otherwise.

func (*SyntheticsCITest) GetVariablesOk ¶

func (o *SyntheticsCITest) GetVariablesOk() (*map[string]string, bool)

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITest) HasAllowInsecureCertificates ¶

func (o *SyntheticsCITest) HasAllowInsecureCertificates() bool

HasAllowInsecureCertificates returns a boolean if a field has been set.

func (*SyntheticsCITest) HasBasicAuth ¶

func (o *SyntheticsCITest) HasBasicAuth() bool

HasBasicAuth returns a boolean if a field has been set.

func (*SyntheticsCITest) HasBody ¶

func (o *SyntheticsCITest) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*SyntheticsCITest) HasBodyType ¶

func (o *SyntheticsCITest) HasBodyType() bool

HasBodyType returns a boolean if a field has been set.

func (*SyntheticsCITest) HasCookies ¶

func (o *SyntheticsCITest) HasCookies() bool

HasCookies returns a boolean if a field has been set.

func (*SyntheticsCITest) HasDeviceIds ¶

func (o *SyntheticsCITest) HasDeviceIds() bool

HasDeviceIds returns a boolean if a field has been set.

func (*SyntheticsCITest) HasFollowRedirects ¶

func (o *SyntheticsCITest) HasFollowRedirects() bool

HasFollowRedirects returns a boolean if a field has been set.

func (*SyntheticsCITest) HasHeaders ¶

func (o *SyntheticsCITest) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*SyntheticsCITest) HasLocations ¶

func (o *SyntheticsCITest) HasLocations() bool

HasLocations returns a boolean if a field has been set.

func (*SyntheticsCITest) HasMetadata ¶

func (o *SyntheticsCITest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SyntheticsCITest) HasRetry ¶

func (o *SyntheticsCITest) HasRetry() bool

HasRetry returns a boolean if a field has been set.

func (*SyntheticsCITest) HasStartUrl ¶

func (o *SyntheticsCITest) HasStartUrl() bool

HasStartUrl returns a boolean if a field has been set.

func (*SyntheticsCITest) HasVariables ¶

func (o *SyntheticsCITest) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (SyntheticsCITest) MarshalJSON ¶

func (o SyntheticsCITest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCITest) SetAllowInsecureCertificates ¶

func (o *SyntheticsCITest) SetAllowInsecureCertificates(v bool)

SetAllowInsecureCertificates gets a reference to the given bool and assigns it to the AllowInsecureCertificates field.

func (*SyntheticsCITest) SetBasicAuth ¶

func (o *SyntheticsCITest) SetBasicAuth(v SyntheticsBasicAuth)

SetBasicAuth gets a reference to the given SyntheticsBasicAuth and assigns it to the BasicAuth field.

func (*SyntheticsCITest) SetBody ¶

func (o *SyntheticsCITest) SetBody(v string)

SetBody gets a reference to the given string and assigns it to the Body field.

func (*SyntheticsCITest) SetBodyType ¶

func (o *SyntheticsCITest) SetBodyType(v string)

SetBodyType gets a reference to the given string and assigns it to the BodyType field.

func (*SyntheticsCITest) SetCookies ¶

func (o *SyntheticsCITest) SetCookies(v string)

SetCookies gets a reference to the given string and assigns it to the Cookies field.

func (*SyntheticsCITest) SetDeviceIds ¶

func (o *SyntheticsCITest) SetDeviceIds(v []SyntheticsDeviceID)

SetDeviceIds gets a reference to the given []SyntheticsDeviceID and assigns it to the DeviceIds field.

func (*SyntheticsCITest) SetFollowRedirects ¶

func (o *SyntheticsCITest) SetFollowRedirects(v bool)

SetFollowRedirects gets a reference to the given bool and assigns it to the FollowRedirects field.

func (*SyntheticsCITest) SetHeaders ¶

func (o *SyntheticsCITest) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*SyntheticsCITest) SetLocations ¶

func (o *SyntheticsCITest) SetLocations(v []string)

SetLocations gets a reference to the given []string and assigns it to the Locations field.

func (*SyntheticsCITest) SetMetadata ¶

func (o *SyntheticsCITest) SetMetadata(v SyntheticsCIBatchMetadata)

SetMetadata gets a reference to the given SyntheticsCIBatchMetadata and assigns it to the Metadata field.

func (*SyntheticsCITest) SetPublicId ¶

func (o *SyntheticsCITest) SetPublicId(v string)

SetPublicId sets field value.

func (*SyntheticsCITest) SetRetry ¶

SetRetry gets a reference to the given SyntheticsTestOptionsRetry and assigns it to the Retry field.

func (*SyntheticsCITest) SetStartUrl ¶

func (o *SyntheticsCITest) SetStartUrl(v string)

SetStartUrl gets a reference to the given string and assigns it to the StartUrl field.

func (*SyntheticsCITest) SetVariables ¶

func (o *SyntheticsCITest) SetVariables(v map[string]string)

SetVariables gets a reference to the given map[string]string and assigns it to the Variables field.

func (*SyntheticsCITest) UnmarshalJSON ¶

func (o *SyntheticsCITest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsCITestBody ¶

type SyntheticsCITestBody struct {
	// Individual synthetics test.
	Tests []SyntheticsCITest `json:"tests,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCITestBody Object describing the synthetics tests to trigger.

func NewSyntheticsCITestBody ¶

func NewSyntheticsCITestBody() *SyntheticsCITestBody

NewSyntheticsCITestBody instantiates a new SyntheticsCITestBody 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 NewSyntheticsCITestBodyWithDefaults ¶

func NewSyntheticsCITestBodyWithDefaults() *SyntheticsCITestBody

NewSyntheticsCITestBodyWithDefaults instantiates a new SyntheticsCITestBody 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 (*SyntheticsCITestBody) GetTests ¶

func (o *SyntheticsCITestBody) GetTests() []SyntheticsCITest

GetTests returns the Tests field value if set, zero value otherwise.

func (*SyntheticsCITestBody) GetTestsOk ¶

func (o *SyntheticsCITestBody) GetTestsOk() (*[]SyntheticsCITest, bool)

GetTestsOk returns a tuple with the Tests field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCITestBody) HasTests ¶

func (o *SyntheticsCITestBody) HasTests() bool

HasTests returns a boolean if a field has been set.

func (SyntheticsCITestBody) MarshalJSON ¶

func (o SyntheticsCITestBody) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCITestBody) SetTests ¶

func (o *SyntheticsCITestBody) SetTests(v []SyntheticsCITest)

SetTests gets a reference to the given []SyntheticsCITest and assigns it to the Tests field.

func (*SyntheticsCITestBody) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsCITestBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsCheckType ¶

type SyntheticsCheckType string

SyntheticsCheckType Type of assertion to apply in an API test.

const (
	SYNTHETICSCHECKTYPE_EQUALS          SyntheticsCheckType = "equals"
	SYNTHETICSCHECKTYPE_NOT_EQUALS      SyntheticsCheckType = "notEquals"
	SYNTHETICSCHECKTYPE_CONTAINS        SyntheticsCheckType = "contains"
	SYNTHETICSCHECKTYPE_NOT_CONTAINS    SyntheticsCheckType = "notContains"
	SYNTHETICSCHECKTYPE_STARTS_WITH     SyntheticsCheckType = "startsWith"
	SYNTHETICSCHECKTYPE_NOT_STARTS_WITH SyntheticsCheckType = "notStartsWith"
	SYNTHETICSCHECKTYPE_GREATER         SyntheticsCheckType = "greater"
	SYNTHETICSCHECKTYPE_LOWER           SyntheticsCheckType = "lower"
	SYNTHETICSCHECKTYPE_GREATER_EQUALS  SyntheticsCheckType = "greaterEquals"
	SYNTHETICSCHECKTYPE_LOWER_EQUALS    SyntheticsCheckType = "lowerEquals"
	SYNTHETICSCHECKTYPE_MATCH_REGEX     SyntheticsCheckType = "matchRegex"
	SYNTHETICSCHECKTYPE_BETWEEN         SyntheticsCheckType = "between"
	SYNTHETICSCHECKTYPE_IS_EMPTY        SyntheticsCheckType = "isEmpty"
	SYNTHETICSCHECKTYPE_NOT_IS_EMPTY    SyntheticsCheckType = "notIsEmpty"
)

List of SyntheticsCheckType.

func NewSyntheticsCheckTypeFromValue ¶

func NewSyntheticsCheckTypeFromValue(v string) (*SyntheticsCheckType, error)

NewSyntheticsCheckTypeFromValue returns a pointer to a valid SyntheticsCheckType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsCheckType) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsCheckType) GetAllowedValues() []SyntheticsCheckType

GetAllowedValues reeturns the list of possible values.

func (SyntheticsCheckType) IsValid ¶

func (v SyntheticsCheckType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsCheckType) Ptr ¶

Ptr returns reference to SyntheticsCheckType value.

func (*SyntheticsCheckType) UnmarshalJSON ¶

func (v *SyntheticsCheckType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsConfigVariable ¶

type SyntheticsConfigVariable struct {
	// Example for the variable.
	Example *string `json:"example,omitempty"`
	// ID of the variable for global variables.
	Id *string `json:"id,omitempty"`
	// Name of the variable.
	Name string `json:"name"`
	// Pattern of the variable.
	Pattern *string `json:"pattern,omitempty"`
	// Type of the configuration variable.
	Type SyntheticsConfigVariableType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsConfigVariable Object defining a variable that can be used in your test configuration.

func NewSyntheticsConfigVariable ¶

func NewSyntheticsConfigVariable(name string, typeVar SyntheticsConfigVariableType) *SyntheticsConfigVariable

NewSyntheticsConfigVariable instantiates a new SyntheticsConfigVariable 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 NewSyntheticsConfigVariableWithDefaults ¶

func NewSyntheticsConfigVariableWithDefaults() *SyntheticsConfigVariable

NewSyntheticsConfigVariableWithDefaults instantiates a new SyntheticsConfigVariable 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 (*SyntheticsConfigVariable) GetExample ¶

func (o *SyntheticsConfigVariable) GetExample() string

GetExample returns the Example field value if set, zero value otherwise.

func (*SyntheticsConfigVariable) GetExampleOk ¶

func (o *SyntheticsConfigVariable) GetExampleOk() (*string, bool)

GetExampleOk returns a tuple with the Example field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsConfigVariable) GetId ¶

func (o *SyntheticsConfigVariable) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsConfigVariable) GetIdOk ¶

func (o *SyntheticsConfigVariable) 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 (*SyntheticsConfigVariable) GetName ¶

func (o *SyntheticsConfigVariable) GetName() string

GetName returns the Name field value.

func (*SyntheticsConfigVariable) GetNameOk ¶

func (o *SyntheticsConfigVariable) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsConfigVariable) GetPattern ¶

func (o *SyntheticsConfigVariable) GetPattern() string

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*SyntheticsConfigVariable) GetPatternOk ¶

func (o *SyntheticsConfigVariable) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsConfigVariable) GetType ¶

GetType returns the Type field value.

func (*SyntheticsConfigVariable) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsConfigVariable) HasExample ¶

func (o *SyntheticsConfigVariable) HasExample() bool

HasExample returns a boolean if a field has been set.

func (*SyntheticsConfigVariable) HasId ¶

func (o *SyntheticsConfigVariable) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsConfigVariable) HasPattern ¶

func (o *SyntheticsConfigVariable) HasPattern() bool

HasPattern returns a boolean if a field has been set.

func (SyntheticsConfigVariable) MarshalJSON ¶

func (o SyntheticsConfigVariable) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsConfigVariable) SetExample ¶

func (o *SyntheticsConfigVariable) SetExample(v string)

SetExample gets a reference to the given string and assigns it to the Example field.

func (*SyntheticsConfigVariable) SetId ¶

func (o *SyntheticsConfigVariable) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SyntheticsConfigVariable) SetName ¶

func (o *SyntheticsConfigVariable) SetName(v string)

SetName sets field value.

func (*SyntheticsConfigVariable) SetPattern ¶

func (o *SyntheticsConfigVariable) SetPattern(v string)

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*SyntheticsConfigVariable) SetType ¶

SetType sets field value.

func (*SyntheticsConfigVariable) UnmarshalJSON ¶

func (o *SyntheticsConfigVariable) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsConfigVariableType ¶

type SyntheticsConfigVariableType string

SyntheticsConfigVariableType Type of the configuration variable.

const (
	SYNTHETICSCONFIGVARIABLETYPE_GLOBAL SyntheticsConfigVariableType = "global"
	SYNTHETICSCONFIGVARIABLETYPE_TEXT   SyntheticsConfigVariableType = "text"
)

List of SyntheticsConfigVariableType.

func NewSyntheticsConfigVariableTypeFromValue ¶

func NewSyntheticsConfigVariableTypeFromValue(v string) (*SyntheticsConfigVariableType, error)

NewSyntheticsConfigVariableTypeFromValue returns a pointer to a valid SyntheticsConfigVariableType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsConfigVariableType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsConfigVariableType) IsValid ¶

func (v SyntheticsConfigVariableType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsConfigVariableType) Ptr ¶

Ptr returns reference to SyntheticsConfigVariableType value.

func (*SyntheticsConfigVariableType) UnmarshalJSON ¶

func (v *SyntheticsConfigVariableType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsCoreWebVitals ¶

type SyntheticsCoreWebVitals struct {
	// Cumulative Layout Shift.
	Cls *float64 `json:"cls,omitempty"`
	// Largest Contentful Paint in milliseconds.
	Lcp *float64 `json:"lcp,omitempty"`
	// URL attached to the metrics.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsCoreWebVitals Core Web Vitals attached to a browser test step.

func NewSyntheticsCoreWebVitals ¶

func NewSyntheticsCoreWebVitals() *SyntheticsCoreWebVitals

NewSyntheticsCoreWebVitals instantiates a new SyntheticsCoreWebVitals 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 NewSyntheticsCoreWebVitalsWithDefaults ¶

func NewSyntheticsCoreWebVitalsWithDefaults() *SyntheticsCoreWebVitals

NewSyntheticsCoreWebVitalsWithDefaults instantiates a new SyntheticsCoreWebVitals 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 (*SyntheticsCoreWebVitals) GetCls ¶

func (o *SyntheticsCoreWebVitals) GetCls() float64

GetCls returns the Cls field value if set, zero value otherwise.

func (*SyntheticsCoreWebVitals) GetClsOk ¶

func (o *SyntheticsCoreWebVitals) GetClsOk() (*float64, bool)

GetClsOk returns a tuple with the Cls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCoreWebVitals) GetLcp ¶

func (o *SyntheticsCoreWebVitals) GetLcp() float64

GetLcp returns the Lcp field value if set, zero value otherwise.

func (*SyntheticsCoreWebVitals) GetLcpOk ¶

func (o *SyntheticsCoreWebVitals) GetLcpOk() (*float64, bool)

GetLcpOk returns a tuple with the Lcp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCoreWebVitals) GetUrl ¶

func (o *SyntheticsCoreWebVitals) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*SyntheticsCoreWebVitals) GetUrlOk ¶

func (o *SyntheticsCoreWebVitals) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsCoreWebVitals) HasCls ¶

func (o *SyntheticsCoreWebVitals) HasCls() bool

HasCls returns a boolean if a field has been set.

func (*SyntheticsCoreWebVitals) HasLcp ¶

func (o *SyntheticsCoreWebVitals) HasLcp() bool

HasLcp returns a boolean if a field has been set.

func (*SyntheticsCoreWebVitals) HasUrl ¶

func (o *SyntheticsCoreWebVitals) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (SyntheticsCoreWebVitals) MarshalJSON ¶

func (o SyntheticsCoreWebVitals) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsCoreWebVitals) SetCls ¶

func (o *SyntheticsCoreWebVitals) SetCls(v float64)

SetCls gets a reference to the given float64 and assigns it to the Cls field.

func (*SyntheticsCoreWebVitals) SetLcp ¶

func (o *SyntheticsCoreWebVitals) SetLcp(v float64)

SetLcp gets a reference to the given float64 and assigns it to the Lcp field.

func (*SyntheticsCoreWebVitals) SetUrl ¶

func (o *SyntheticsCoreWebVitals) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*SyntheticsCoreWebVitals) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsCoreWebVitals) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsDeleteTestsPayload ¶

type SyntheticsDeleteTestsPayload struct {
	// An array of Synthetic test IDs you want to delete.
	PublicIds []string `json:"public_ids,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsDeleteTestsPayload A JSON list of the ID or IDs of the Synthetic tests that you want to delete.

func NewSyntheticsDeleteTestsPayload ¶

func NewSyntheticsDeleteTestsPayload() *SyntheticsDeleteTestsPayload

NewSyntheticsDeleteTestsPayload instantiates a new SyntheticsDeleteTestsPayload 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 NewSyntheticsDeleteTestsPayloadWithDefaults ¶

func NewSyntheticsDeleteTestsPayloadWithDefaults() *SyntheticsDeleteTestsPayload

NewSyntheticsDeleteTestsPayloadWithDefaults instantiates a new SyntheticsDeleteTestsPayload 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 (*SyntheticsDeleteTestsPayload) GetPublicIds ¶

func (o *SyntheticsDeleteTestsPayload) GetPublicIds() []string

GetPublicIds returns the PublicIds field value if set, zero value otherwise.

func (*SyntheticsDeleteTestsPayload) GetPublicIdsOk ¶

func (o *SyntheticsDeleteTestsPayload) GetPublicIdsOk() (*[]string, bool)

GetPublicIdsOk returns a tuple with the PublicIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsDeleteTestsPayload) HasPublicIds ¶

func (o *SyntheticsDeleteTestsPayload) HasPublicIds() bool

HasPublicIds returns a boolean if a field has been set.

func (SyntheticsDeleteTestsPayload) MarshalJSON ¶

func (o SyntheticsDeleteTestsPayload) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsDeleteTestsPayload) SetPublicIds ¶

func (o *SyntheticsDeleteTestsPayload) SetPublicIds(v []string)

SetPublicIds gets a reference to the given []string and assigns it to the PublicIds field.

func (*SyntheticsDeleteTestsPayload) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsDeleteTestsPayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsDeleteTestsResponse ¶

type SyntheticsDeleteTestsResponse struct {
	// Array of objects containing a deleted Synthetic test ID with
	// the associated deletion timestamp.
	DeletedTests []SyntheticsDeletedTest `json:"deleted_tests,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsDeleteTestsResponse Response object for deleting Synthetic tests.

func NewSyntheticsDeleteTestsResponse ¶

func NewSyntheticsDeleteTestsResponse() *SyntheticsDeleteTestsResponse

NewSyntheticsDeleteTestsResponse instantiates a new SyntheticsDeleteTestsResponse 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 NewSyntheticsDeleteTestsResponseWithDefaults ¶

func NewSyntheticsDeleteTestsResponseWithDefaults() *SyntheticsDeleteTestsResponse

NewSyntheticsDeleteTestsResponseWithDefaults instantiates a new SyntheticsDeleteTestsResponse 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 (*SyntheticsDeleteTestsResponse) GetDeletedTests ¶

GetDeletedTests returns the DeletedTests field value if set, zero value otherwise.

func (*SyntheticsDeleteTestsResponse) GetDeletedTestsOk ¶

func (o *SyntheticsDeleteTestsResponse) GetDeletedTestsOk() (*[]SyntheticsDeletedTest, bool)

GetDeletedTestsOk returns a tuple with the DeletedTests field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsDeleteTestsResponse) HasDeletedTests ¶

func (o *SyntheticsDeleteTestsResponse) HasDeletedTests() bool

HasDeletedTests returns a boolean if a field has been set.

func (SyntheticsDeleteTestsResponse) MarshalJSON ¶

func (o SyntheticsDeleteTestsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsDeleteTestsResponse) SetDeletedTests ¶

func (o *SyntheticsDeleteTestsResponse) SetDeletedTests(v []SyntheticsDeletedTest)

SetDeletedTests gets a reference to the given []SyntheticsDeletedTest and assigns it to the DeletedTests field.

func (*SyntheticsDeleteTestsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsDeleteTestsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsDeletedTest ¶

type SyntheticsDeletedTest struct {
	// Deletion timestamp of the Synthetic test ID.
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// The Synthetic test ID deleted.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsDeletedTest Object containing a deleted Synthetic test ID with the associated deletion timestamp.

func NewSyntheticsDeletedTest ¶

func NewSyntheticsDeletedTest() *SyntheticsDeletedTest

NewSyntheticsDeletedTest instantiates a new SyntheticsDeletedTest 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 NewSyntheticsDeletedTestWithDefaults ¶

func NewSyntheticsDeletedTestWithDefaults() *SyntheticsDeletedTest

NewSyntheticsDeletedTestWithDefaults instantiates a new SyntheticsDeletedTest 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 (*SyntheticsDeletedTest) GetDeletedAt ¶

func (o *SyntheticsDeletedTest) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*SyntheticsDeletedTest) GetDeletedAtOk ¶

func (o *SyntheticsDeletedTest) GetDeletedAtOk() (*time.Time, bool)

GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsDeletedTest) GetPublicId ¶

func (o *SyntheticsDeletedTest) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*SyntheticsDeletedTest) GetPublicIdOk ¶

func (o *SyntheticsDeletedTest) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsDeletedTest) HasDeletedAt ¶

func (o *SyntheticsDeletedTest) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*SyntheticsDeletedTest) HasPublicId ¶

func (o *SyntheticsDeletedTest) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (SyntheticsDeletedTest) MarshalJSON ¶

func (o SyntheticsDeletedTest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsDeletedTest) SetDeletedAt ¶

func (o *SyntheticsDeletedTest) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*SyntheticsDeletedTest) SetPublicId ¶

func (o *SyntheticsDeletedTest) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*SyntheticsDeletedTest) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsDeletedTest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsDevice ¶

type SyntheticsDevice struct {
	// Screen height of the device.
	Height int64 `json:"height"`
	// The device ID.
	Id SyntheticsDeviceID `json:"id"`
	// Whether or not the device is a mobile.
	IsMobile *bool `json:"isMobile,omitempty"`
	// The device name.
	Name string `json:"name"`
	// Screen width of the device.
	Width int64 `json:"width"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsDevice Object describing the device used to perform the Synthetic test.

func NewSyntheticsDevice ¶

func NewSyntheticsDevice(height int64, id SyntheticsDeviceID, name string, width int64) *SyntheticsDevice

NewSyntheticsDevice instantiates a new SyntheticsDevice 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 NewSyntheticsDeviceWithDefaults ¶

func NewSyntheticsDeviceWithDefaults() *SyntheticsDevice

NewSyntheticsDeviceWithDefaults instantiates a new SyntheticsDevice 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 (*SyntheticsDevice) GetHeight ¶

func (o *SyntheticsDevice) GetHeight() int64

GetHeight returns the Height field value.

func (*SyntheticsDevice) GetHeightOk ¶

func (o *SyntheticsDevice) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetId ¶

GetId returns the Id field value.

func (*SyntheticsDevice) GetIdOk ¶

func (o *SyntheticsDevice) GetIdOk() (*SyntheticsDeviceID, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetIsMobile ¶

func (o *SyntheticsDevice) GetIsMobile() bool

GetIsMobile returns the IsMobile field value if set, zero value otherwise.

func (*SyntheticsDevice) GetIsMobileOk ¶

func (o *SyntheticsDevice) GetIsMobileOk() (*bool, bool)

GetIsMobileOk returns a tuple with the IsMobile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetName ¶

func (o *SyntheticsDevice) GetName() string

GetName returns the Name field value.

func (*SyntheticsDevice) GetNameOk ¶

func (o *SyntheticsDevice) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetWidth ¶

func (o *SyntheticsDevice) GetWidth() int64

GetWidth returns the Width field value.

func (*SyntheticsDevice) GetWidthOk ¶

func (o *SyntheticsDevice) GetWidthOk() (*int64, bool)

GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.

func (*SyntheticsDevice) HasIsMobile ¶

func (o *SyntheticsDevice) HasIsMobile() bool

HasIsMobile returns a boolean if a field has been set.

func (SyntheticsDevice) MarshalJSON ¶

func (o SyntheticsDevice) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsDevice) SetHeight ¶

func (o *SyntheticsDevice) SetHeight(v int64)

SetHeight sets field value.

func (*SyntheticsDevice) SetId ¶

SetId sets field value.

func (*SyntheticsDevice) SetIsMobile ¶

func (o *SyntheticsDevice) SetIsMobile(v bool)

SetIsMobile gets a reference to the given bool and assigns it to the IsMobile field.

func (*SyntheticsDevice) SetName ¶

func (o *SyntheticsDevice) SetName(v string)

SetName sets field value.

func (*SyntheticsDevice) SetWidth ¶

func (o *SyntheticsDevice) SetWidth(v int64)

SetWidth sets field value.

func (*SyntheticsDevice) UnmarshalJSON ¶

func (o *SyntheticsDevice) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsDeviceID ¶

type SyntheticsDeviceID string

SyntheticsDeviceID The device ID.

const (
	SYNTHETICSDEVICEID_LAPTOP_LARGE         SyntheticsDeviceID = "laptop_large"
	SYNTHETICSDEVICEID_TABLET               SyntheticsDeviceID = "tablet"
	SYNTHETICSDEVICEID_MOBILE_SMALL         SyntheticsDeviceID = "mobile_small"
	SYNTHETICSDEVICEID_CHROME_LAPTOP_LARGE  SyntheticsDeviceID = "chrome.laptop_large"
	SYNTHETICSDEVICEID_CHROME_TABLET        SyntheticsDeviceID = "chrome.tablet"
	SYNTHETICSDEVICEID_CHROME_MOBILE_SMALL  SyntheticsDeviceID = "chrome.mobile_small"
	SYNTHETICSDEVICEID_FIREFOX_LAPTOP_LARGE SyntheticsDeviceID = "firefox.laptop_large"
	SYNTHETICSDEVICEID_FIREFOX_TABLET       SyntheticsDeviceID = "firefox.tablet"
	SYNTHETICSDEVICEID_FIREFOX_MOBILE_SMALL SyntheticsDeviceID = "firefox.mobile_small"
	SYNTHETICSDEVICEID_EDGE_LAPTOP_LARGE    SyntheticsDeviceID = "edge.laptop_large"
	SYNTHETICSDEVICEID_EDGE_TABLET          SyntheticsDeviceID = "edge.tablet"
	SYNTHETICSDEVICEID_EDGE_MOBILE_SMALL    SyntheticsDeviceID = "edge.mobile_small"
)

List of SyntheticsDeviceID.

func NewSyntheticsDeviceIDFromValue ¶

func NewSyntheticsDeviceIDFromValue(v string) (*SyntheticsDeviceID, error)

NewSyntheticsDeviceIDFromValue returns a pointer to a valid SyntheticsDeviceID for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsDeviceID) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsDeviceID) GetAllowedValues() []SyntheticsDeviceID

GetAllowedValues reeturns the list of possible values.

func (SyntheticsDeviceID) IsValid ¶

func (v SyntheticsDeviceID) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsDeviceID) Ptr ¶

Ptr returns reference to SyntheticsDeviceID value.

func (*SyntheticsDeviceID) UnmarshalJSON ¶

func (v *SyntheticsDeviceID) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsGetAPITestLatestResultsResponse ¶

type SyntheticsGetAPITestLatestResultsResponse struct {
	// Timestamp of the latest API test run.
	LastTimestampFetched *int64 `json:"last_timestamp_fetched,omitempty"`
	// Result of the latest API test run.
	Results []SyntheticsAPITestResultShort `json:"results,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsGetAPITestLatestResultsResponse Object with the latest Synthetic API test run.

func NewSyntheticsGetAPITestLatestResultsResponse ¶

func NewSyntheticsGetAPITestLatestResultsResponse() *SyntheticsGetAPITestLatestResultsResponse

NewSyntheticsGetAPITestLatestResultsResponse instantiates a new SyntheticsGetAPITestLatestResultsResponse 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 NewSyntheticsGetAPITestLatestResultsResponseWithDefaults ¶

func NewSyntheticsGetAPITestLatestResultsResponseWithDefaults() *SyntheticsGetAPITestLatestResultsResponse

NewSyntheticsGetAPITestLatestResultsResponseWithDefaults instantiates a new SyntheticsGetAPITestLatestResultsResponse 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 (*SyntheticsGetAPITestLatestResultsResponse) GetLastTimestampFetched ¶

func (o *SyntheticsGetAPITestLatestResultsResponse) GetLastTimestampFetched() int64

GetLastTimestampFetched returns the LastTimestampFetched field value if set, zero value otherwise.

func (*SyntheticsGetAPITestLatestResultsResponse) GetLastTimestampFetchedOk ¶

func (o *SyntheticsGetAPITestLatestResultsResponse) GetLastTimestampFetchedOk() (*int64, bool)

GetLastTimestampFetchedOk returns a tuple with the LastTimestampFetched field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGetAPITestLatestResultsResponse) GetResults ¶

GetResults returns the Results field value if set, zero value otherwise.

func (*SyntheticsGetAPITestLatestResultsResponse) GetResultsOk ¶

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 (*SyntheticsGetAPITestLatestResultsResponse) HasLastTimestampFetched ¶

func (o *SyntheticsGetAPITestLatestResultsResponse) HasLastTimestampFetched() bool

HasLastTimestampFetched returns a boolean if a field has been set.

func (*SyntheticsGetAPITestLatestResultsResponse) HasResults ¶

HasResults returns a boolean if a field has been set.

func (SyntheticsGetAPITestLatestResultsResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsGetAPITestLatestResultsResponse) SetLastTimestampFetched ¶

func (o *SyntheticsGetAPITestLatestResultsResponse) SetLastTimestampFetched(v int64)

SetLastTimestampFetched gets a reference to the given int64 and assigns it to the LastTimestampFetched field.

func (*SyntheticsGetAPITestLatestResultsResponse) SetResults ¶

SetResults gets a reference to the given []SyntheticsAPITestResultShort and assigns it to the Results field.

func (*SyntheticsGetAPITestLatestResultsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsGetAPITestLatestResultsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsGetBrowserTestLatestResultsResponse ¶

type SyntheticsGetBrowserTestLatestResultsResponse struct {
	// Timestamp of the latest browser test run.
	LastTimestampFetched *int64 `json:"last_timestamp_fetched,omitempty"`
	// Result of the latest browser test run.
	Results []SyntheticsBrowserTestResultShort `json:"results,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsGetBrowserTestLatestResultsResponse Object with the latest Synthetic browser test run.

func NewSyntheticsGetBrowserTestLatestResultsResponse ¶

func NewSyntheticsGetBrowserTestLatestResultsResponse() *SyntheticsGetBrowserTestLatestResultsResponse

NewSyntheticsGetBrowserTestLatestResultsResponse instantiates a new SyntheticsGetBrowserTestLatestResultsResponse 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 NewSyntheticsGetBrowserTestLatestResultsResponseWithDefaults ¶

func NewSyntheticsGetBrowserTestLatestResultsResponseWithDefaults() *SyntheticsGetBrowserTestLatestResultsResponse

NewSyntheticsGetBrowserTestLatestResultsResponseWithDefaults instantiates a new SyntheticsGetBrowserTestLatestResultsResponse 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 (*SyntheticsGetBrowserTestLatestResultsResponse) GetLastTimestampFetched ¶

func (o *SyntheticsGetBrowserTestLatestResultsResponse) GetLastTimestampFetched() int64

GetLastTimestampFetched returns the LastTimestampFetched field value if set, zero value otherwise.

func (*SyntheticsGetBrowserTestLatestResultsResponse) GetLastTimestampFetchedOk ¶

func (o *SyntheticsGetBrowserTestLatestResultsResponse) GetLastTimestampFetchedOk() (*int64, bool)

GetLastTimestampFetchedOk returns a tuple with the LastTimestampFetched field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGetBrowserTestLatestResultsResponse) GetResults ¶

GetResults returns the Results field value if set, zero value otherwise.

func (*SyntheticsGetBrowserTestLatestResultsResponse) GetResultsOk ¶

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 (*SyntheticsGetBrowserTestLatestResultsResponse) HasLastTimestampFetched ¶

func (o *SyntheticsGetBrowserTestLatestResultsResponse) HasLastTimestampFetched() bool

HasLastTimestampFetched returns a boolean if a field has been set.

func (*SyntheticsGetBrowserTestLatestResultsResponse) HasResults ¶

HasResults returns a boolean if a field has been set.

func (SyntheticsGetBrowserTestLatestResultsResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsGetBrowserTestLatestResultsResponse) SetLastTimestampFetched ¶

func (o *SyntheticsGetBrowserTestLatestResultsResponse) SetLastTimestampFetched(v int64)

SetLastTimestampFetched gets a reference to the given int64 and assigns it to the LastTimestampFetched field.

func (*SyntheticsGetBrowserTestLatestResultsResponse) SetResults ¶

SetResults gets a reference to the given []SyntheticsBrowserTestResultShort and assigns it to the Results field.

func (*SyntheticsGetBrowserTestLatestResultsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsGetBrowserTestLatestResultsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsGlobalVariable ¶

type SyntheticsGlobalVariable struct {
	// Attributes of the global variable.
	Attributes *SyntheticsGlobalVariableAttributes `json:"attributes,omitempty"`
	// Description of the global variable.
	Description string `json:"description"`
	// Unique identifier of the global variable.
	Id *string `json:"id,omitempty"`
	// Name of the global variable. Unique across Synthetics global variables.
	Name string `json:"name"`
	// Parser options to use for retrieving a Synthetics global variable from a Synthetics Test. Used in conjunction with `parse_test_public_id`.
	ParseTestOptions *SyntheticsGlobalVariableParseTestOptions `json:"parse_test_options,omitempty"`
	// A Synthetic test ID to use as a test to generate the variable value.
	ParseTestPublicId *string `json:"parse_test_public_id,omitempty"`
	// Tags of the global variable.
	Tags []string `json:"tags"`
	// Value of the global variable.
	Value SyntheticsGlobalVariableValue `json:"value"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsGlobalVariable Synthetics global variable.

func NewSyntheticsGlobalVariable ¶

func NewSyntheticsGlobalVariable(description string, name string, tags []string, value SyntheticsGlobalVariableValue) *SyntheticsGlobalVariable

NewSyntheticsGlobalVariable instantiates a new SyntheticsGlobalVariable 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 NewSyntheticsGlobalVariableWithDefaults ¶

func NewSyntheticsGlobalVariableWithDefaults() *SyntheticsGlobalVariable

NewSyntheticsGlobalVariableWithDefaults instantiates a new SyntheticsGlobalVariable 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 (*SyntheticsGlobalVariable) GetAttributes ¶ added in v1.3.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SyntheticsGlobalVariable) GetAttributesOk ¶ added in v1.3.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariable) GetDescription ¶

func (o *SyntheticsGlobalVariable) GetDescription() string

GetDescription returns the Description field value.

func (*SyntheticsGlobalVariable) GetDescriptionOk ¶

func (o *SyntheticsGlobalVariable) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariable) GetId ¶

func (o *SyntheticsGlobalVariable) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsGlobalVariable) GetIdOk ¶

func (o *SyntheticsGlobalVariable) 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 (*SyntheticsGlobalVariable) GetName ¶

func (o *SyntheticsGlobalVariable) GetName() string

GetName returns the Name field value.

func (*SyntheticsGlobalVariable) GetNameOk ¶

func (o *SyntheticsGlobalVariable) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariable) GetParseTestOptions ¶

GetParseTestOptions returns the ParseTestOptions field value if set, zero value otherwise.

func (*SyntheticsGlobalVariable) GetParseTestOptionsOk ¶

GetParseTestOptionsOk returns a tuple with the ParseTestOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariable) GetParseTestPublicId ¶

func (o *SyntheticsGlobalVariable) GetParseTestPublicId() string

GetParseTestPublicId returns the ParseTestPublicId field value if set, zero value otherwise.

func (*SyntheticsGlobalVariable) GetParseTestPublicIdOk ¶

func (o *SyntheticsGlobalVariable) GetParseTestPublicIdOk() (*string, bool)

GetParseTestPublicIdOk returns a tuple with the ParseTestPublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariable) GetTags ¶

func (o *SyntheticsGlobalVariable) GetTags() []string

GetTags returns the Tags field value.

func (*SyntheticsGlobalVariable) GetTagsOk ¶

func (o *SyntheticsGlobalVariable) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariable) GetValue ¶

GetValue returns the Value field value.

func (*SyntheticsGlobalVariable) GetValueOk ¶

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariable) HasAttributes ¶ added in v1.3.0

func (o *SyntheticsGlobalVariable) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*SyntheticsGlobalVariable) HasId ¶

func (o *SyntheticsGlobalVariable) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsGlobalVariable) HasParseTestOptions ¶

func (o *SyntheticsGlobalVariable) HasParseTestOptions() bool

HasParseTestOptions returns a boolean if a field has been set.

func (*SyntheticsGlobalVariable) HasParseTestPublicId ¶

func (o *SyntheticsGlobalVariable) HasParseTestPublicId() bool

HasParseTestPublicId returns a boolean if a field has been set.

func (SyntheticsGlobalVariable) MarshalJSON ¶

func (o SyntheticsGlobalVariable) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsGlobalVariable) SetAttributes ¶ added in v1.3.0

SetAttributes gets a reference to the given SyntheticsGlobalVariableAttributes and assigns it to the Attributes field.

func (*SyntheticsGlobalVariable) SetDescription ¶

func (o *SyntheticsGlobalVariable) SetDescription(v string)

SetDescription sets field value.

func (*SyntheticsGlobalVariable) SetId ¶

func (o *SyntheticsGlobalVariable) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SyntheticsGlobalVariable) SetName ¶

func (o *SyntheticsGlobalVariable) SetName(v string)

SetName sets field value.

func (*SyntheticsGlobalVariable) SetParseTestOptions ¶

SetParseTestOptions gets a reference to the given SyntheticsGlobalVariableParseTestOptions and assigns it to the ParseTestOptions field.

func (*SyntheticsGlobalVariable) SetParseTestPublicId ¶

func (o *SyntheticsGlobalVariable) SetParseTestPublicId(v string)

SetParseTestPublicId gets a reference to the given string and assigns it to the ParseTestPublicId field.

func (*SyntheticsGlobalVariable) SetTags ¶

func (o *SyntheticsGlobalVariable) SetTags(v []string)

SetTags sets field value.

func (*SyntheticsGlobalVariable) SetValue ¶

SetValue sets field value.

func (*SyntheticsGlobalVariable) UnmarshalJSON ¶

func (o *SyntheticsGlobalVariable) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsGlobalVariableAttributes ¶ added in v1.3.0

type SyntheticsGlobalVariableAttributes struct {
	// A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
	RestrictedRoles []string `json:"restricted_roles,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsGlobalVariableAttributes Attributes of the global variable.

func NewSyntheticsGlobalVariableAttributes ¶ added in v1.3.0

func NewSyntheticsGlobalVariableAttributes() *SyntheticsGlobalVariableAttributes

NewSyntheticsGlobalVariableAttributes instantiates a new SyntheticsGlobalVariableAttributes 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 NewSyntheticsGlobalVariableAttributesWithDefaults ¶ added in v1.3.0

func NewSyntheticsGlobalVariableAttributesWithDefaults() *SyntheticsGlobalVariableAttributes

NewSyntheticsGlobalVariableAttributesWithDefaults instantiates a new SyntheticsGlobalVariableAttributes 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 (*SyntheticsGlobalVariableAttributes) GetRestrictedRoles ¶ added in v1.3.0

func (o *SyntheticsGlobalVariableAttributes) GetRestrictedRoles() []string

GetRestrictedRoles returns the RestrictedRoles field value if set, zero value otherwise.

func (*SyntheticsGlobalVariableAttributes) GetRestrictedRolesOk ¶ added in v1.3.0

func (o *SyntheticsGlobalVariableAttributes) GetRestrictedRolesOk() (*[]string, bool)

GetRestrictedRolesOk returns a tuple with the RestrictedRoles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariableAttributes) HasRestrictedRoles ¶ added in v1.3.0

func (o *SyntheticsGlobalVariableAttributes) HasRestrictedRoles() bool

HasRestrictedRoles returns a boolean if a field has been set.

func (SyntheticsGlobalVariableAttributes) MarshalJSON ¶ added in v1.3.0

func (o SyntheticsGlobalVariableAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsGlobalVariableAttributes) SetRestrictedRoles ¶ added in v1.3.0

func (o *SyntheticsGlobalVariableAttributes) SetRestrictedRoles(v []string)

SetRestrictedRoles gets a reference to the given []string and assigns it to the RestrictedRoles field.

func (*SyntheticsGlobalVariableAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsGlobalVariableAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsGlobalVariableParseTestOptions ¶

type SyntheticsGlobalVariableParseTestOptions struct {
	// When type is `http_header`, name of the header to use to extract the value.
	Field *string `json:"field,omitempty"`
	// Details of the parser to use for the global variable.
	Parser SyntheticsVariableParser `json:"parser"`
	// Property of the Synthetics Test Response to use for a Synthetics global variable.
	Type SyntheticsGlobalVariableParseTestOptionsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsGlobalVariableParseTestOptions Parser options to use for retrieving a Synthetics global variable from a Synthetics Test. Used in conjunction with `parse_test_public_id`.

func NewSyntheticsGlobalVariableParseTestOptions ¶

NewSyntheticsGlobalVariableParseTestOptions instantiates a new SyntheticsGlobalVariableParseTestOptions 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 NewSyntheticsGlobalVariableParseTestOptionsWithDefaults ¶

func NewSyntheticsGlobalVariableParseTestOptionsWithDefaults() *SyntheticsGlobalVariableParseTestOptions

NewSyntheticsGlobalVariableParseTestOptionsWithDefaults instantiates a new SyntheticsGlobalVariableParseTestOptions 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 (*SyntheticsGlobalVariableParseTestOptions) GetField ¶

GetField returns the Field field value if set, zero value otherwise.

func (*SyntheticsGlobalVariableParseTestOptions) GetFieldOk ¶

GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariableParseTestOptions) GetParser ¶

GetParser returns the Parser field value.

func (*SyntheticsGlobalVariableParseTestOptions) GetParserOk ¶

GetParserOk returns a tuple with the Parser field value and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariableParseTestOptions) GetType ¶

GetType returns the Type field value.

func (*SyntheticsGlobalVariableParseTestOptions) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariableParseTestOptions) HasField ¶

HasField returns a boolean if a field has been set.

func (SyntheticsGlobalVariableParseTestOptions) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsGlobalVariableParseTestOptions) SetField ¶

SetField gets a reference to the given string and assigns it to the Field field.

func (*SyntheticsGlobalVariableParseTestOptions) SetParser ¶

SetParser sets field value.

func (*SyntheticsGlobalVariableParseTestOptions) SetType ¶

SetType sets field value.

func (*SyntheticsGlobalVariableParseTestOptions) UnmarshalJSON ¶

func (o *SyntheticsGlobalVariableParseTestOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsGlobalVariableParseTestOptionsType ¶

type SyntheticsGlobalVariableParseTestOptionsType string

SyntheticsGlobalVariableParseTestOptionsType Property of the Synthetics Test Response to use for a Synthetics global variable.

const (
	SYNTHETICSGLOBALVARIABLEPARSETESTOPTIONSTYPE_HTTP_BODY   SyntheticsGlobalVariableParseTestOptionsType = "http_body"
	SYNTHETICSGLOBALVARIABLEPARSETESTOPTIONSTYPE_HTTP_HEADER SyntheticsGlobalVariableParseTestOptionsType = "http_header"
)

List of SyntheticsGlobalVariableParseTestOptionsType.

func NewSyntheticsGlobalVariableParseTestOptionsTypeFromValue ¶

func NewSyntheticsGlobalVariableParseTestOptionsTypeFromValue(v string) (*SyntheticsGlobalVariableParseTestOptionsType, error)

NewSyntheticsGlobalVariableParseTestOptionsTypeFromValue returns a pointer to a valid SyntheticsGlobalVariableParseTestOptionsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsGlobalVariableParseTestOptionsType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsGlobalVariableParseTestOptionsType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsGlobalVariableParseTestOptionsType) Ptr ¶

Ptr returns reference to SyntheticsGlobalVariableParseTestOptionsType value.

func (*SyntheticsGlobalVariableParseTestOptionsType) UnmarshalJSON ¶

UnmarshalJSON deserializes the given payload.

type SyntheticsGlobalVariableParserType ¶

type SyntheticsGlobalVariableParserType string

SyntheticsGlobalVariableParserType Type of parser for a Synthetics global variable from a synthetics test.

const (
	SYNTHETICSGLOBALVARIABLEPARSERTYPE_RAW       SyntheticsGlobalVariableParserType = "raw"
	SYNTHETICSGLOBALVARIABLEPARSERTYPE_JSON_PATH SyntheticsGlobalVariableParserType = "json_path"
	SYNTHETICSGLOBALVARIABLEPARSERTYPE_REGEX     SyntheticsGlobalVariableParserType = "regex"
	SYNTHETICSGLOBALVARIABLEPARSERTYPE_X_PATH    SyntheticsGlobalVariableParserType = "x_path"
)

List of SyntheticsGlobalVariableParserType.

func NewSyntheticsGlobalVariableParserTypeFromValue ¶

func NewSyntheticsGlobalVariableParserTypeFromValue(v string) (*SyntheticsGlobalVariableParserType, error)

NewSyntheticsGlobalVariableParserTypeFromValue returns a pointer to a valid SyntheticsGlobalVariableParserType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsGlobalVariableParserType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsGlobalVariableParserType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsGlobalVariableParserType) Ptr ¶

Ptr returns reference to SyntheticsGlobalVariableParserType value.

func (*SyntheticsGlobalVariableParserType) UnmarshalJSON ¶

func (v *SyntheticsGlobalVariableParserType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsGlobalVariableValue ¶

type SyntheticsGlobalVariableValue struct {
	// Determines if the value of the variable is hidden.
	Secure *bool `json:"secure,omitempty"`
	// Value of the global variable. When reading a global variable,
	// the value will not be present if the variable is hidden with the `secure` property.
	Value *string `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsGlobalVariableValue Value of the global variable.

func NewSyntheticsGlobalVariableValue ¶

func NewSyntheticsGlobalVariableValue() *SyntheticsGlobalVariableValue

NewSyntheticsGlobalVariableValue instantiates a new SyntheticsGlobalVariableValue 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 NewSyntheticsGlobalVariableValueWithDefaults ¶

func NewSyntheticsGlobalVariableValueWithDefaults() *SyntheticsGlobalVariableValue

NewSyntheticsGlobalVariableValueWithDefaults instantiates a new SyntheticsGlobalVariableValue 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 (*SyntheticsGlobalVariableValue) GetSecure ¶

func (o *SyntheticsGlobalVariableValue) GetSecure() bool

GetSecure returns the Secure field value if set, zero value otherwise.

func (*SyntheticsGlobalVariableValue) GetSecureOk ¶

func (o *SyntheticsGlobalVariableValue) GetSecureOk() (*bool, bool)

GetSecureOk returns a tuple with the Secure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariableValue) GetValue ¶

func (o *SyntheticsGlobalVariableValue) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*SyntheticsGlobalVariableValue) GetValueOk ¶

func (o *SyntheticsGlobalVariableValue) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsGlobalVariableValue) HasSecure ¶

func (o *SyntheticsGlobalVariableValue) HasSecure() bool

HasSecure returns a boolean if a field has been set.

func (*SyntheticsGlobalVariableValue) HasValue ¶

func (o *SyntheticsGlobalVariableValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (SyntheticsGlobalVariableValue) MarshalJSON ¶

func (o SyntheticsGlobalVariableValue) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsGlobalVariableValue) SetSecure ¶

func (o *SyntheticsGlobalVariableValue) SetSecure(v bool)

SetSecure gets a reference to the given bool and assigns it to the Secure field.

func (*SyntheticsGlobalVariableValue) SetValue ¶

func (o *SyntheticsGlobalVariableValue) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*SyntheticsGlobalVariableValue) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsGlobalVariableValue) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsListGlobalVariablesResponse ¶

type SyntheticsListGlobalVariablesResponse struct {
	// Array of Synthetic global variables.
	Variables []SyntheticsGlobalVariable `json:"variables,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsListGlobalVariablesResponse Object containing an array of Synthetic global variables.

func NewSyntheticsListGlobalVariablesResponse ¶

func NewSyntheticsListGlobalVariablesResponse() *SyntheticsListGlobalVariablesResponse

NewSyntheticsListGlobalVariablesResponse instantiates a new SyntheticsListGlobalVariablesResponse 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 NewSyntheticsListGlobalVariablesResponseWithDefaults ¶

func NewSyntheticsListGlobalVariablesResponseWithDefaults() *SyntheticsListGlobalVariablesResponse

NewSyntheticsListGlobalVariablesResponseWithDefaults instantiates a new SyntheticsListGlobalVariablesResponse 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 (*SyntheticsListGlobalVariablesResponse) GetVariables ¶

GetVariables returns the Variables field value if set, zero value otherwise.

func (*SyntheticsListGlobalVariablesResponse) GetVariablesOk ¶

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsListGlobalVariablesResponse) HasVariables ¶

func (o *SyntheticsListGlobalVariablesResponse) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (SyntheticsListGlobalVariablesResponse) MarshalJSON ¶

func (o SyntheticsListGlobalVariablesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsListGlobalVariablesResponse) SetVariables ¶

SetVariables gets a reference to the given []SyntheticsGlobalVariable and assigns it to the Variables field.

func (*SyntheticsListGlobalVariablesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsListGlobalVariablesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsListTestsResponse ¶

type SyntheticsListTestsResponse struct {
	// Array of Synthetic tests configuration.
	Tests []SyntheticsTestDetails `json:"tests,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsListTestsResponse Object containing an array of Synthetic tests configuration.

func NewSyntheticsListTestsResponse ¶

func NewSyntheticsListTestsResponse() *SyntheticsListTestsResponse

NewSyntheticsListTestsResponse instantiates a new SyntheticsListTestsResponse 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 NewSyntheticsListTestsResponseWithDefaults ¶

func NewSyntheticsListTestsResponseWithDefaults() *SyntheticsListTestsResponse

NewSyntheticsListTestsResponseWithDefaults instantiates a new SyntheticsListTestsResponse 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 (*SyntheticsListTestsResponse) GetTests ¶

GetTests returns the Tests field value if set, zero value otherwise.

func (*SyntheticsListTestsResponse) GetTestsOk ¶

GetTestsOk returns a tuple with the Tests field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsListTestsResponse) HasTests ¶

func (o *SyntheticsListTestsResponse) HasTests() bool

HasTests returns a boolean if a field has been set.

func (SyntheticsListTestsResponse) MarshalJSON ¶

func (o SyntheticsListTestsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsListTestsResponse) SetTests ¶

SetTests gets a reference to the given []SyntheticsTestDetails and assigns it to the Tests field.

func (*SyntheticsListTestsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsListTestsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsLocation ¶

type SyntheticsLocation struct {
	// Unique identifier of the location.
	Id *string `json:"id,omitempty"`
	// Name of the location.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsLocation Synthetic location that can be used when creating or editing a test.

func NewSyntheticsLocation ¶

func NewSyntheticsLocation() *SyntheticsLocation

NewSyntheticsLocation instantiates a new SyntheticsLocation 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 NewSyntheticsLocationWithDefaults ¶

func NewSyntheticsLocationWithDefaults() *SyntheticsLocation

NewSyntheticsLocationWithDefaults instantiates a new SyntheticsLocation 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 (*SyntheticsLocation) GetId ¶

func (o *SyntheticsLocation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsLocation) GetIdOk ¶

func (o *SyntheticsLocation) 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 (*SyntheticsLocation) GetName ¶

func (o *SyntheticsLocation) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SyntheticsLocation) GetNameOk ¶

func (o *SyntheticsLocation) 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 (*SyntheticsLocation) HasId ¶

func (o *SyntheticsLocation) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsLocation) HasName ¶

func (o *SyntheticsLocation) HasName() bool

HasName returns a boolean if a field has been set.

func (SyntheticsLocation) MarshalJSON ¶

func (o SyntheticsLocation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsLocation) SetId ¶

func (o *SyntheticsLocation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SyntheticsLocation) SetName ¶

func (o *SyntheticsLocation) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SyntheticsLocation) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsLocation) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsLocations ¶

type SyntheticsLocations struct {
	// List of Synthetics locations.
	Locations []SyntheticsLocation `json:"locations,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsLocations List of Synthetics locations.

func NewSyntheticsLocations ¶

func NewSyntheticsLocations() *SyntheticsLocations

NewSyntheticsLocations instantiates a new SyntheticsLocations 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 NewSyntheticsLocationsWithDefaults ¶

func NewSyntheticsLocationsWithDefaults() *SyntheticsLocations

NewSyntheticsLocationsWithDefaults instantiates a new SyntheticsLocations 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 (*SyntheticsLocations) GetLocations ¶

func (o *SyntheticsLocations) GetLocations() []SyntheticsLocation

GetLocations returns the Locations field value if set, zero value otherwise.

func (*SyntheticsLocations) GetLocationsOk ¶

func (o *SyntheticsLocations) GetLocationsOk() (*[]SyntheticsLocation, bool)

GetLocationsOk returns a tuple with the Locations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsLocations) HasLocations ¶

func (o *SyntheticsLocations) HasLocations() bool

HasLocations returns a boolean if a field has been set.

func (SyntheticsLocations) MarshalJSON ¶

func (o SyntheticsLocations) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsLocations) SetLocations ¶

func (o *SyntheticsLocations) SetLocations(v []SyntheticsLocation)

SetLocations gets a reference to the given []SyntheticsLocation and assigns it to the Locations field.

func (*SyntheticsLocations) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsLocations) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsParsingOptions ¶

type SyntheticsParsingOptions struct {
	// When type is `http_header`, name of the header to use to extract the value.
	Field *string `json:"field,omitempty"`
	// Name of the variable to extract.
	Name *string `json:"name,omitempty"`
	// Details of the parser to use for the global variable.
	Parser *SyntheticsVariableParser `json:"parser,omitempty"`
	// Property of the Synthetics Test Response to use for a Synthetics global variable.
	Type *SyntheticsGlobalVariableParseTestOptionsType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsParsingOptions Parsing options for variables to extract.

func NewSyntheticsParsingOptions ¶

func NewSyntheticsParsingOptions() *SyntheticsParsingOptions

NewSyntheticsParsingOptions instantiates a new SyntheticsParsingOptions 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 NewSyntheticsParsingOptionsWithDefaults ¶

func NewSyntheticsParsingOptionsWithDefaults() *SyntheticsParsingOptions

NewSyntheticsParsingOptionsWithDefaults instantiates a new SyntheticsParsingOptions 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 (*SyntheticsParsingOptions) GetField ¶

func (o *SyntheticsParsingOptions) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*SyntheticsParsingOptions) GetFieldOk ¶

func (o *SyntheticsParsingOptions) GetFieldOk() (*string, bool)

GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsParsingOptions) GetName ¶

func (o *SyntheticsParsingOptions) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SyntheticsParsingOptions) GetNameOk ¶

func (o *SyntheticsParsingOptions) 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 (*SyntheticsParsingOptions) GetParser ¶

GetParser returns the Parser field value if set, zero value otherwise.

func (*SyntheticsParsingOptions) GetParserOk ¶

GetParserOk returns a tuple with the Parser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsParsingOptions) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*SyntheticsParsingOptions) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsParsingOptions) HasField ¶

func (o *SyntheticsParsingOptions) HasField() bool

HasField returns a boolean if a field has been set.

func (*SyntheticsParsingOptions) HasName ¶

func (o *SyntheticsParsingOptions) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsParsingOptions) HasParser ¶

func (o *SyntheticsParsingOptions) HasParser() bool

HasParser returns a boolean if a field has been set.

func (*SyntheticsParsingOptions) HasType ¶

func (o *SyntheticsParsingOptions) HasType() bool

HasType returns a boolean if a field has been set.

func (SyntheticsParsingOptions) MarshalJSON ¶

func (o SyntheticsParsingOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsParsingOptions) SetField ¶

func (o *SyntheticsParsingOptions) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*SyntheticsParsingOptions) SetName ¶

func (o *SyntheticsParsingOptions) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SyntheticsParsingOptions) SetParser ¶

SetParser gets a reference to the given SyntheticsVariableParser and assigns it to the Parser field.

func (*SyntheticsParsingOptions) SetType ¶

SetType gets a reference to the given SyntheticsGlobalVariableParseTestOptionsType and assigns it to the Type field.

func (*SyntheticsParsingOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsParsingOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsPlayingTab ¶

type SyntheticsPlayingTab int64

SyntheticsPlayingTab Navigate between different tabs for your browser test.

const (
	SYNTHETICSPLAYINGTAB_MAIN_TAB SyntheticsPlayingTab = -1
	SYNTHETICSPLAYINGTAB_NEW_TAB  SyntheticsPlayingTab = 0
	SYNTHETICSPLAYINGTAB_TAB_1    SyntheticsPlayingTab = 1
	SYNTHETICSPLAYINGTAB_TAB_2    SyntheticsPlayingTab = 2
	SYNTHETICSPLAYINGTAB_TAB_3    SyntheticsPlayingTab = 3
)

List of SyntheticsPlayingTab.

func NewSyntheticsPlayingTabFromValue ¶

func NewSyntheticsPlayingTabFromValue(v int64) (*SyntheticsPlayingTab, error)

NewSyntheticsPlayingTabFromValue returns a pointer to a valid SyntheticsPlayingTab for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsPlayingTab) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsPlayingTab) GetAllowedValues() []SyntheticsPlayingTab

GetAllowedValues reeturns the list of possible values.

func (SyntheticsPlayingTab) IsValid ¶

func (v SyntheticsPlayingTab) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsPlayingTab) Ptr ¶

Ptr returns reference to SyntheticsPlayingTab value.

func (*SyntheticsPlayingTab) UnmarshalJSON ¶

func (v *SyntheticsPlayingTab) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsPrivateLocation ¶

type SyntheticsPrivateLocation struct {
	// Description of the private location.
	Description string `json:"description"`
	// Unique identifier of the private location.
	Id *string `json:"id,omitempty"`
	// Object containing metadata about the private location.
	Metadata *SyntheticsPrivateLocationMetadata `json:"metadata,omitempty"`
	// Name of the private location.
	Name string `json:"name"`
	// Secrets for the private location. Only present in the response when creating the private location.
	Secrets *SyntheticsPrivateLocationSecrets `json:"secrets,omitempty"`
	// Array of tags attached to the private location.
	Tags []string `json:"tags"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsPrivateLocation Object containing information about the private location to create.

func NewSyntheticsPrivateLocation ¶

func NewSyntheticsPrivateLocation(description string, name string, tags []string) *SyntheticsPrivateLocation

NewSyntheticsPrivateLocation instantiates a new SyntheticsPrivateLocation 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 NewSyntheticsPrivateLocationWithDefaults ¶

func NewSyntheticsPrivateLocationWithDefaults() *SyntheticsPrivateLocation

NewSyntheticsPrivateLocationWithDefaults instantiates a new SyntheticsPrivateLocation 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 (*SyntheticsPrivateLocation) GetDescription ¶

func (o *SyntheticsPrivateLocation) GetDescription() string

GetDescription returns the Description field value.

func (*SyntheticsPrivateLocation) GetDescriptionOk ¶

func (o *SyntheticsPrivateLocation) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocation) GetId ¶

func (o *SyntheticsPrivateLocation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsPrivateLocation) GetIdOk ¶

func (o *SyntheticsPrivateLocation) 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 (*SyntheticsPrivateLocation) GetMetadata ¶ added in v1.13.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SyntheticsPrivateLocation) GetMetadataOk ¶ added in v1.13.0

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocation) GetName ¶

func (o *SyntheticsPrivateLocation) GetName() string

GetName returns the Name field value.

func (*SyntheticsPrivateLocation) GetNameOk ¶

func (o *SyntheticsPrivateLocation) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocation) GetSecrets ¶

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*SyntheticsPrivateLocation) GetSecretsOk ¶

GetSecretsOk returns a tuple with the Secrets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocation) GetTags ¶

func (o *SyntheticsPrivateLocation) GetTags() []string

GetTags returns the Tags field value.

func (*SyntheticsPrivateLocation) GetTagsOk ¶

func (o *SyntheticsPrivateLocation) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocation) HasId ¶

func (o *SyntheticsPrivateLocation) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsPrivateLocation) HasMetadata ¶ added in v1.13.0

func (o *SyntheticsPrivateLocation) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SyntheticsPrivateLocation) HasSecrets ¶

func (o *SyntheticsPrivateLocation) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (SyntheticsPrivateLocation) MarshalJSON ¶

func (o SyntheticsPrivateLocation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsPrivateLocation) SetDescription ¶

func (o *SyntheticsPrivateLocation) SetDescription(v string)

SetDescription sets field value.

func (*SyntheticsPrivateLocation) SetId ¶

func (o *SyntheticsPrivateLocation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SyntheticsPrivateLocation) SetMetadata ¶ added in v1.13.0

SetMetadata gets a reference to the given SyntheticsPrivateLocationMetadata and assigns it to the Metadata field.

func (*SyntheticsPrivateLocation) SetName ¶

func (o *SyntheticsPrivateLocation) SetName(v string)

SetName sets field value.

func (*SyntheticsPrivateLocation) SetSecrets ¶

SetSecrets gets a reference to the given SyntheticsPrivateLocationSecrets and assigns it to the Secrets field.

func (*SyntheticsPrivateLocation) SetTags ¶

func (o *SyntheticsPrivateLocation) SetTags(v []string)

SetTags sets field value.

func (*SyntheticsPrivateLocation) UnmarshalJSON ¶

func (o *SyntheticsPrivateLocation) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsPrivateLocationCreationResponse ¶

type SyntheticsPrivateLocationCreationResponse struct {
	// Configuration skeleton for the private location. See installation instructions of the private location on how to use this configuration.
	Config interface{} `json:"config,omitempty"`
	// Object containing information about the private location to create.
	PrivateLocation *SyntheticsPrivateLocation `json:"private_location,omitempty"`
	// Public key for the result encryption.
	ResultEncryption *SyntheticsPrivateLocationCreationResponseResultEncryption `json:"result_encryption,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsPrivateLocationCreationResponse Object that contains the new private location, the public key for result encryption, and the configuration skeleton.

func NewSyntheticsPrivateLocationCreationResponse ¶

func NewSyntheticsPrivateLocationCreationResponse() *SyntheticsPrivateLocationCreationResponse

NewSyntheticsPrivateLocationCreationResponse instantiates a new SyntheticsPrivateLocationCreationResponse 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 NewSyntheticsPrivateLocationCreationResponseWithDefaults ¶

func NewSyntheticsPrivateLocationCreationResponseWithDefaults() *SyntheticsPrivateLocationCreationResponse

NewSyntheticsPrivateLocationCreationResponseWithDefaults instantiates a new SyntheticsPrivateLocationCreationResponse 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 (*SyntheticsPrivateLocationCreationResponse) GetConfig ¶

func (o *SyntheticsPrivateLocationCreationResponse) GetConfig() interface{}

GetConfig returns the Config field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationCreationResponse) GetConfigOk ¶

func (o *SyntheticsPrivateLocationCreationResponse) GetConfigOk() (*interface{}, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationCreationResponse) GetPrivateLocation ¶

GetPrivateLocation returns the PrivateLocation field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationCreationResponse) GetPrivateLocationOk ¶

GetPrivateLocationOk returns a tuple with the PrivateLocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationCreationResponse) GetResultEncryption ¶

GetResultEncryption returns the ResultEncryption field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationCreationResponse) GetResultEncryptionOk ¶

GetResultEncryptionOk returns a tuple with the ResultEncryption field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationCreationResponse) HasConfig ¶

HasConfig returns a boolean if a field has been set.

func (*SyntheticsPrivateLocationCreationResponse) HasPrivateLocation ¶

func (o *SyntheticsPrivateLocationCreationResponse) HasPrivateLocation() bool

HasPrivateLocation returns a boolean if a field has been set.

func (*SyntheticsPrivateLocationCreationResponse) HasResultEncryption ¶

func (o *SyntheticsPrivateLocationCreationResponse) HasResultEncryption() bool

HasResultEncryption returns a boolean if a field has been set.

func (SyntheticsPrivateLocationCreationResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsPrivateLocationCreationResponse) SetConfig ¶

func (o *SyntheticsPrivateLocationCreationResponse) SetConfig(v interface{})

SetConfig gets a reference to the given interface{} and assigns it to the Config field.

func (*SyntheticsPrivateLocationCreationResponse) SetPrivateLocation ¶

SetPrivateLocation gets a reference to the given SyntheticsPrivateLocation and assigns it to the PrivateLocation field.

func (*SyntheticsPrivateLocationCreationResponse) SetResultEncryption ¶

SetResultEncryption gets a reference to the given SyntheticsPrivateLocationCreationResponseResultEncryption and assigns it to the ResultEncryption field.

func (*SyntheticsPrivateLocationCreationResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsPrivateLocationCreationResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsPrivateLocationCreationResponseResultEncryption ¶

type SyntheticsPrivateLocationCreationResponseResultEncryption struct {
	// Fingerprint for the encryption key.
	Id *string `json:"id,omitempty"`
	// Public key for result encryption.
	Key *string `json:"key,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsPrivateLocationCreationResponseResultEncryption Public key for the result encryption.

func NewSyntheticsPrivateLocationCreationResponseResultEncryption ¶

func NewSyntheticsPrivateLocationCreationResponseResultEncryption() *SyntheticsPrivateLocationCreationResponseResultEncryption

NewSyntheticsPrivateLocationCreationResponseResultEncryption instantiates a new SyntheticsPrivateLocationCreationResponseResultEncryption 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 NewSyntheticsPrivateLocationCreationResponseResultEncryptionWithDefaults ¶

func NewSyntheticsPrivateLocationCreationResponseResultEncryptionWithDefaults() *SyntheticsPrivateLocationCreationResponseResultEncryption

NewSyntheticsPrivateLocationCreationResponseResultEncryptionWithDefaults instantiates a new SyntheticsPrivateLocationCreationResponseResultEncryption 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 (*SyntheticsPrivateLocationCreationResponseResultEncryption) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationCreationResponseResultEncryption) GetIdOk ¶

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 (*SyntheticsPrivateLocationCreationResponseResultEncryption) GetKey ¶

GetKey returns the Key field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationCreationResponseResultEncryption) GetKeyOk ¶

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationCreationResponseResultEncryption) HasId ¶

HasId returns a boolean if a field has been set.

func (*SyntheticsPrivateLocationCreationResponseResultEncryption) HasKey ¶

HasKey returns a boolean if a field has been set.

func (SyntheticsPrivateLocationCreationResponseResultEncryption) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsPrivateLocationCreationResponseResultEncryption) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*SyntheticsPrivateLocationCreationResponseResultEncryption) SetKey ¶

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SyntheticsPrivateLocationCreationResponseResultEncryption) UnmarshalJSON ¶ added in v1.3.0

UnmarshalJSON deserializes the given payload.

type SyntheticsPrivateLocationMetadata ¶ added in v1.13.0

type SyntheticsPrivateLocationMetadata struct {
	// A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
	RestrictedRoles []string `json:"restricted_roles,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsPrivateLocationMetadata Object containing metadata about the private location.

func NewSyntheticsPrivateLocationMetadata ¶ added in v1.13.0

func NewSyntheticsPrivateLocationMetadata() *SyntheticsPrivateLocationMetadata

NewSyntheticsPrivateLocationMetadata instantiates a new SyntheticsPrivateLocationMetadata 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 NewSyntheticsPrivateLocationMetadataWithDefaults ¶ added in v1.13.0

func NewSyntheticsPrivateLocationMetadataWithDefaults() *SyntheticsPrivateLocationMetadata

NewSyntheticsPrivateLocationMetadataWithDefaults instantiates a new SyntheticsPrivateLocationMetadata 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 (*SyntheticsPrivateLocationMetadata) GetRestrictedRoles ¶ added in v1.13.0

func (o *SyntheticsPrivateLocationMetadata) GetRestrictedRoles() []string

GetRestrictedRoles returns the RestrictedRoles field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationMetadata) GetRestrictedRolesOk ¶ added in v1.13.0

func (o *SyntheticsPrivateLocationMetadata) GetRestrictedRolesOk() (*[]string, bool)

GetRestrictedRolesOk returns a tuple with the RestrictedRoles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationMetadata) HasRestrictedRoles ¶ added in v1.13.0

func (o *SyntheticsPrivateLocationMetadata) HasRestrictedRoles() bool

HasRestrictedRoles returns a boolean if a field has been set.

func (SyntheticsPrivateLocationMetadata) MarshalJSON ¶ added in v1.13.0

func (o SyntheticsPrivateLocationMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsPrivateLocationMetadata) SetRestrictedRoles ¶ added in v1.13.0

func (o *SyntheticsPrivateLocationMetadata) SetRestrictedRoles(v []string)

SetRestrictedRoles gets a reference to the given []string and assigns it to the RestrictedRoles field.

func (*SyntheticsPrivateLocationMetadata) UnmarshalJSON ¶ added in v1.13.0

func (o *SyntheticsPrivateLocationMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsPrivateLocationSecrets ¶

type SyntheticsPrivateLocationSecrets struct {
	// Authentication part of the secrets.
	Authentication *SyntheticsPrivateLocationSecretsAuthentication `json:"authentication,omitempty"`
	// Private key for the private location.
	ConfigDecryption *SyntheticsPrivateLocationSecretsConfigDecryption `json:"config_decryption,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsPrivateLocationSecrets Secrets for the private location. Only present in the response when creating the private location.

func NewSyntheticsPrivateLocationSecrets ¶

func NewSyntheticsPrivateLocationSecrets() *SyntheticsPrivateLocationSecrets

NewSyntheticsPrivateLocationSecrets instantiates a new SyntheticsPrivateLocationSecrets 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 NewSyntheticsPrivateLocationSecretsWithDefaults ¶

func NewSyntheticsPrivateLocationSecretsWithDefaults() *SyntheticsPrivateLocationSecrets

NewSyntheticsPrivateLocationSecretsWithDefaults instantiates a new SyntheticsPrivateLocationSecrets 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 (*SyntheticsPrivateLocationSecrets) GetAuthentication ¶

GetAuthentication returns the Authentication field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationSecrets) GetAuthenticationOk ¶

GetAuthenticationOk returns a tuple with the Authentication field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationSecrets) GetConfigDecryption ¶

GetConfigDecryption returns the ConfigDecryption field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationSecrets) GetConfigDecryptionOk ¶

GetConfigDecryptionOk returns a tuple with the ConfigDecryption field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationSecrets) HasAuthentication ¶

func (o *SyntheticsPrivateLocationSecrets) HasAuthentication() bool

HasAuthentication returns a boolean if a field has been set.

func (*SyntheticsPrivateLocationSecrets) HasConfigDecryption ¶

func (o *SyntheticsPrivateLocationSecrets) HasConfigDecryption() bool

HasConfigDecryption returns a boolean if a field has been set.

func (SyntheticsPrivateLocationSecrets) MarshalJSON ¶

func (o SyntheticsPrivateLocationSecrets) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsPrivateLocationSecrets) SetAuthentication ¶

SetAuthentication gets a reference to the given SyntheticsPrivateLocationSecretsAuthentication and assigns it to the Authentication field.

func (*SyntheticsPrivateLocationSecrets) SetConfigDecryption ¶

SetConfigDecryption gets a reference to the given SyntheticsPrivateLocationSecretsConfigDecryption and assigns it to the ConfigDecryption field.

func (*SyntheticsPrivateLocationSecrets) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsPrivateLocationSecrets) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsPrivateLocationSecretsAuthentication ¶

type SyntheticsPrivateLocationSecretsAuthentication struct {
	// Access key for the private location.
	Id *string `json:"id,omitempty"`
	// Secret access key for the private location.
	Key *string `json:"key,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsPrivateLocationSecretsAuthentication Authentication part of the secrets.

func NewSyntheticsPrivateLocationSecretsAuthentication ¶

func NewSyntheticsPrivateLocationSecretsAuthentication() *SyntheticsPrivateLocationSecretsAuthentication

NewSyntheticsPrivateLocationSecretsAuthentication instantiates a new SyntheticsPrivateLocationSecretsAuthentication 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 NewSyntheticsPrivateLocationSecretsAuthenticationWithDefaults ¶

func NewSyntheticsPrivateLocationSecretsAuthenticationWithDefaults() *SyntheticsPrivateLocationSecretsAuthentication

NewSyntheticsPrivateLocationSecretsAuthenticationWithDefaults instantiates a new SyntheticsPrivateLocationSecretsAuthentication 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 (*SyntheticsPrivateLocationSecretsAuthentication) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationSecretsAuthentication) GetIdOk ¶

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 (*SyntheticsPrivateLocationSecretsAuthentication) GetKey ¶

GetKey returns the Key field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationSecretsAuthentication) GetKeyOk ¶

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationSecretsAuthentication) HasId ¶

HasId returns a boolean if a field has been set.

func (*SyntheticsPrivateLocationSecretsAuthentication) HasKey ¶

HasKey returns a boolean if a field has been set.

func (SyntheticsPrivateLocationSecretsAuthentication) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsPrivateLocationSecretsAuthentication) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*SyntheticsPrivateLocationSecretsAuthentication) SetKey ¶

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SyntheticsPrivateLocationSecretsAuthentication) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsPrivateLocationSecretsAuthentication) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsPrivateLocationSecretsConfigDecryption ¶

type SyntheticsPrivateLocationSecretsConfigDecryption struct {
	// Private key for the private location.
	Key *string `json:"key,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsPrivateLocationSecretsConfigDecryption Private key for the private location.

func NewSyntheticsPrivateLocationSecretsConfigDecryption ¶

func NewSyntheticsPrivateLocationSecretsConfigDecryption() *SyntheticsPrivateLocationSecretsConfigDecryption

NewSyntheticsPrivateLocationSecretsConfigDecryption instantiates a new SyntheticsPrivateLocationSecretsConfigDecryption 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 NewSyntheticsPrivateLocationSecretsConfigDecryptionWithDefaults ¶

func NewSyntheticsPrivateLocationSecretsConfigDecryptionWithDefaults() *SyntheticsPrivateLocationSecretsConfigDecryption

NewSyntheticsPrivateLocationSecretsConfigDecryptionWithDefaults instantiates a new SyntheticsPrivateLocationSecretsConfigDecryption 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 (*SyntheticsPrivateLocationSecretsConfigDecryption) GetKey ¶

GetKey returns the Key field value if set, zero value otherwise.

func (*SyntheticsPrivateLocationSecretsConfigDecryption) GetKeyOk ¶

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsPrivateLocationSecretsConfigDecryption) HasKey ¶

HasKey returns a boolean if a field has been set.

func (SyntheticsPrivateLocationSecretsConfigDecryption) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsPrivateLocationSecretsConfigDecryption) SetKey ¶

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SyntheticsPrivateLocationSecretsConfigDecryption) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsPrivateLocationSecretsConfigDecryption) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsSSLCertificate ¶

type SyntheticsSSLCertificate struct {
	// Cipher used for the connection.
	Cipher *string `json:"cipher,omitempty"`
	// Exponent associated to the certificate.
	Exponent *float64 `json:"exponent,omitempty"`
	// Array of extensions and details used for the certificate.
	ExtKeyUsage []string `json:"extKeyUsage,omitempty"`
	// MD5 digest of the DER-encoded Certificate information.
	Fingerprint *string `json:"fingerprint,omitempty"`
	// SHA-1 digest of the DER-encoded Certificate information.
	Fingerprint256 *string `json:"fingerprint256,omitempty"`
	// Object describing the issuer of a SSL certificate.
	Issuer *SyntheticsSSLCertificateIssuer `json:"issuer,omitempty"`
	// Modulus associated to the SSL certificate private key.
	Modulus *string `json:"modulus,omitempty"`
	// TLS protocol used for the test.
	Protocol *string `json:"protocol,omitempty"`
	// Serial Number assigned by Symantec to the SSL certificate.
	SerialNumber *string `json:"serialNumber,omitempty"`
	// Object describing the SSL certificate used for the test.
	Subject *SyntheticsSSLCertificateSubject `json:"subject,omitempty"`
	// Date from which the SSL certificate is valid.
	ValidFrom *time.Time `json:"validFrom,omitempty"`
	// Date until which the SSL certificate is valid.
	ValidTo *time.Time `json:"validTo,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsSSLCertificate Object describing the SSL certificate used for a Synthetic test.

func NewSyntheticsSSLCertificate ¶

func NewSyntheticsSSLCertificate() *SyntheticsSSLCertificate

NewSyntheticsSSLCertificate instantiates a new SyntheticsSSLCertificate 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 NewSyntheticsSSLCertificateWithDefaults ¶

func NewSyntheticsSSLCertificateWithDefaults() *SyntheticsSSLCertificate

NewSyntheticsSSLCertificateWithDefaults instantiates a new SyntheticsSSLCertificate 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 (*SyntheticsSSLCertificate) GetCipher ¶

func (o *SyntheticsSSLCertificate) GetCipher() string

GetCipher returns the Cipher field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetCipherOk ¶

func (o *SyntheticsSSLCertificate) GetCipherOk() (*string, bool)

GetCipherOk returns a tuple with the Cipher field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetExponent ¶

func (o *SyntheticsSSLCertificate) GetExponent() float64

GetExponent returns the Exponent field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetExponentOk ¶

func (o *SyntheticsSSLCertificate) GetExponentOk() (*float64, bool)

GetExponentOk returns a tuple with the Exponent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetExtKeyUsage ¶

func (o *SyntheticsSSLCertificate) GetExtKeyUsage() []string

GetExtKeyUsage returns the ExtKeyUsage field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetExtKeyUsageOk ¶

func (o *SyntheticsSSLCertificate) GetExtKeyUsageOk() (*[]string, bool)

GetExtKeyUsageOk returns a tuple with the ExtKeyUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetFingerprint ¶

func (o *SyntheticsSSLCertificate) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetFingerprint256 ¶

func (o *SyntheticsSSLCertificate) GetFingerprint256() string

GetFingerprint256 returns the Fingerprint256 field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetFingerprint256Ok ¶

func (o *SyntheticsSSLCertificate) GetFingerprint256Ok() (*string, bool)

GetFingerprint256Ok returns a tuple with the Fingerprint256 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetFingerprintOk ¶

func (o *SyntheticsSSLCertificate) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetIssuer ¶

GetIssuer returns the Issuer field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetIssuerOk ¶

GetIssuerOk returns a tuple with the Issuer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetModulus ¶

func (o *SyntheticsSSLCertificate) GetModulus() string

GetModulus returns the Modulus field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetModulusOk ¶

func (o *SyntheticsSSLCertificate) GetModulusOk() (*string, bool)

GetModulusOk returns a tuple with the Modulus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetProtocol ¶

func (o *SyntheticsSSLCertificate) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetProtocolOk ¶

func (o *SyntheticsSSLCertificate) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetSerialNumber ¶

func (o *SyntheticsSSLCertificate) GetSerialNumber() string

GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetSerialNumberOk ¶

func (o *SyntheticsSSLCertificate) GetSerialNumberOk() (*string, bool)

GetSerialNumberOk returns a tuple with the SerialNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetSubject ¶

GetSubject returns the Subject field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetSubjectOk ¶

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetValidFrom ¶

func (o *SyntheticsSSLCertificate) GetValidFrom() time.Time

GetValidFrom returns the ValidFrom field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetValidFromOk ¶

func (o *SyntheticsSSLCertificate) GetValidFromOk() (*time.Time, bool)

GetValidFromOk returns a tuple with the ValidFrom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) GetValidTo ¶

func (o *SyntheticsSSLCertificate) GetValidTo() time.Time

GetValidTo returns the ValidTo field value if set, zero value otherwise.

func (*SyntheticsSSLCertificate) GetValidToOk ¶

func (o *SyntheticsSSLCertificate) GetValidToOk() (*time.Time, bool)

GetValidToOk returns a tuple with the ValidTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificate) HasCipher ¶

func (o *SyntheticsSSLCertificate) HasCipher() bool

HasCipher returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasExponent ¶

func (o *SyntheticsSSLCertificate) HasExponent() bool

HasExponent returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasExtKeyUsage ¶

func (o *SyntheticsSSLCertificate) HasExtKeyUsage() bool

HasExtKeyUsage returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasFingerprint ¶

func (o *SyntheticsSSLCertificate) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasFingerprint256 ¶

func (o *SyntheticsSSLCertificate) HasFingerprint256() bool

HasFingerprint256 returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasIssuer ¶

func (o *SyntheticsSSLCertificate) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasModulus ¶

func (o *SyntheticsSSLCertificate) HasModulus() bool

HasModulus returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasProtocol ¶

func (o *SyntheticsSSLCertificate) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasSerialNumber ¶

func (o *SyntheticsSSLCertificate) HasSerialNumber() bool

HasSerialNumber returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasSubject ¶

func (o *SyntheticsSSLCertificate) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasValidFrom ¶

func (o *SyntheticsSSLCertificate) HasValidFrom() bool

HasValidFrom returns a boolean if a field has been set.

func (*SyntheticsSSLCertificate) HasValidTo ¶

func (o *SyntheticsSSLCertificate) HasValidTo() bool

HasValidTo returns a boolean if a field has been set.

func (SyntheticsSSLCertificate) MarshalJSON ¶

func (o SyntheticsSSLCertificate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsSSLCertificate) SetCipher ¶

func (o *SyntheticsSSLCertificate) SetCipher(v string)

SetCipher gets a reference to the given string and assigns it to the Cipher field.

func (*SyntheticsSSLCertificate) SetExponent ¶

func (o *SyntheticsSSLCertificate) SetExponent(v float64)

SetExponent gets a reference to the given float64 and assigns it to the Exponent field.

func (*SyntheticsSSLCertificate) SetExtKeyUsage ¶

func (o *SyntheticsSSLCertificate) SetExtKeyUsage(v []string)

SetExtKeyUsage gets a reference to the given []string and assigns it to the ExtKeyUsage field.

func (*SyntheticsSSLCertificate) SetFingerprint ¶

func (o *SyntheticsSSLCertificate) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*SyntheticsSSLCertificate) SetFingerprint256 ¶

func (o *SyntheticsSSLCertificate) SetFingerprint256(v string)

SetFingerprint256 gets a reference to the given string and assigns it to the Fingerprint256 field.

func (*SyntheticsSSLCertificate) SetIssuer ¶

SetIssuer gets a reference to the given SyntheticsSSLCertificateIssuer and assigns it to the Issuer field.

func (*SyntheticsSSLCertificate) SetModulus ¶

func (o *SyntheticsSSLCertificate) SetModulus(v string)

SetModulus gets a reference to the given string and assigns it to the Modulus field.

func (*SyntheticsSSLCertificate) SetProtocol ¶

func (o *SyntheticsSSLCertificate) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*SyntheticsSSLCertificate) SetSerialNumber ¶

func (o *SyntheticsSSLCertificate) SetSerialNumber(v string)

SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.

func (*SyntheticsSSLCertificate) SetSubject ¶

SetSubject gets a reference to the given SyntheticsSSLCertificateSubject and assigns it to the Subject field.

func (*SyntheticsSSLCertificate) SetValidFrom ¶

func (o *SyntheticsSSLCertificate) SetValidFrom(v time.Time)

SetValidFrom gets a reference to the given time.Time and assigns it to the ValidFrom field.

func (*SyntheticsSSLCertificate) SetValidTo ¶

func (o *SyntheticsSSLCertificate) SetValidTo(v time.Time)

SetValidTo gets a reference to the given time.Time and assigns it to the ValidTo field.

func (*SyntheticsSSLCertificate) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsSSLCertificate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsSSLCertificateIssuer ¶

type SyntheticsSSLCertificateIssuer struct {
	// Country Name that issued the certificate.
	C *string `json:"C,omitempty"`
	// Common Name that issued certificate.
	Cn *string `json:"CN,omitempty"`
	// Locality that issued the certificate.
	L *string `json:"L,omitempty"`
	// Organization that issued the certificate.
	O *string `json:"O,omitempty"`
	// Organizational Unit that issued the certificate.
	Ou *string `json:"OU,omitempty"`
	// State Or Province Name that issued the certificate.
	St *string `json:"ST,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsSSLCertificateIssuer Object describing the issuer of a SSL certificate.

func NewSyntheticsSSLCertificateIssuer ¶

func NewSyntheticsSSLCertificateIssuer() *SyntheticsSSLCertificateIssuer

NewSyntheticsSSLCertificateIssuer instantiates a new SyntheticsSSLCertificateIssuer 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 NewSyntheticsSSLCertificateIssuerWithDefaults ¶

func NewSyntheticsSSLCertificateIssuerWithDefaults() *SyntheticsSSLCertificateIssuer

NewSyntheticsSSLCertificateIssuerWithDefaults instantiates a new SyntheticsSSLCertificateIssuer 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 (*SyntheticsSSLCertificateIssuer) GetC ¶

GetC returns the C field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateIssuer) GetCOk ¶

func (o *SyntheticsSSLCertificateIssuer) GetCOk() (*string, bool)

GetCOk returns a tuple with the C field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateIssuer) GetCn ¶ added in v1.11.0

GetCn returns the Cn field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateIssuer) GetCnOk ¶ added in v1.11.0

func (o *SyntheticsSSLCertificateIssuer) GetCnOk() (*string, bool)

GetCnOk returns a tuple with the Cn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateIssuer) GetL ¶

GetL returns the L field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateIssuer) GetLOk ¶

func (o *SyntheticsSSLCertificateIssuer) GetLOk() (*string, bool)

GetLOk returns a tuple with the L field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateIssuer) GetO ¶

GetO returns the O field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateIssuer) GetOOk ¶

func (o *SyntheticsSSLCertificateIssuer) GetOOk() (*string, bool)

GetOOk returns a tuple with the O field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateIssuer) GetOu ¶ added in v1.11.0

GetOu returns the Ou field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateIssuer) GetOuOk ¶ added in v1.11.0

func (o *SyntheticsSSLCertificateIssuer) GetOuOk() (*string, bool)

GetOuOk returns a tuple with the Ou field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateIssuer) GetSt ¶ added in v1.11.0

GetSt returns the St field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateIssuer) GetStOk ¶ added in v1.11.0

func (o *SyntheticsSSLCertificateIssuer) GetStOk() (*string, bool)

GetStOk returns a tuple with the St field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateIssuer) HasC ¶

HasC returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateIssuer) HasCn ¶ added in v1.11.0

HasCn returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateIssuer) HasL ¶

HasL returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateIssuer) HasO ¶

HasO returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateIssuer) HasOu ¶ added in v1.11.0

HasOu returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateIssuer) HasSt ¶ added in v1.11.0

HasSt returns a boolean if a field has been set.

func (SyntheticsSSLCertificateIssuer) MarshalJSON ¶

func (o SyntheticsSSLCertificateIssuer) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsSSLCertificateIssuer) SetC ¶

SetC gets a reference to the given string and assigns it to the C field.

func (*SyntheticsSSLCertificateIssuer) SetCn ¶ added in v1.11.0

SetCn gets a reference to the given string and assigns it to the Cn field.

func (*SyntheticsSSLCertificateIssuer) SetL ¶

SetL gets a reference to the given string and assigns it to the L field.

func (*SyntheticsSSLCertificateIssuer) SetO ¶

SetO gets a reference to the given string and assigns it to the O field.

func (*SyntheticsSSLCertificateIssuer) SetOu ¶ added in v1.11.0

SetOu gets a reference to the given string and assigns it to the Ou field.

func (*SyntheticsSSLCertificateIssuer) SetSt ¶ added in v1.11.0

SetSt gets a reference to the given string and assigns it to the St field.

func (*SyntheticsSSLCertificateIssuer) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsSSLCertificateIssuer) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsSSLCertificateSubject ¶

type SyntheticsSSLCertificateSubject struct {
	// Country Name associated with the certificate.
	C *string `json:"C,omitempty"`
	// Common Name that associated with the certificate.
	Cn *string `json:"CN,omitempty"`
	// Locality associated with the certificate.
	L *string `json:"L,omitempty"`
	// Organization associated with the certificate.
	O *string `json:"O,omitempty"`
	// Organizational Unit associated with the certificate.
	Ou *string `json:"OU,omitempty"`
	// State Or Province Name associated with the certificate.
	St *string `json:"ST,omitempty"`
	// Subject Alternative Name associated with the certificate.
	AltName *string `json:"altName,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsSSLCertificateSubject Object describing the SSL certificate used for the test.

func NewSyntheticsSSLCertificateSubject ¶

func NewSyntheticsSSLCertificateSubject() *SyntheticsSSLCertificateSubject

NewSyntheticsSSLCertificateSubject instantiates a new SyntheticsSSLCertificateSubject 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 NewSyntheticsSSLCertificateSubjectWithDefaults ¶

func NewSyntheticsSSLCertificateSubjectWithDefaults() *SyntheticsSSLCertificateSubject

NewSyntheticsSSLCertificateSubjectWithDefaults instantiates a new SyntheticsSSLCertificateSubject 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 (*SyntheticsSSLCertificateSubject) GetAltName ¶

func (o *SyntheticsSSLCertificateSubject) GetAltName() string

GetAltName returns the AltName field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateSubject) GetAltNameOk ¶

func (o *SyntheticsSSLCertificateSubject) GetAltNameOk() (*string, bool)

GetAltNameOk returns a tuple with the AltName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateSubject) GetC ¶

GetC returns the C field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateSubject) GetCOk ¶

GetCOk returns a tuple with the C field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateSubject) GetCn ¶ added in v1.11.0

GetCn returns the Cn field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateSubject) GetCnOk ¶ added in v1.11.0

func (o *SyntheticsSSLCertificateSubject) GetCnOk() (*string, bool)

GetCnOk returns a tuple with the Cn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateSubject) GetL ¶

GetL returns the L field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateSubject) GetLOk ¶

GetLOk returns a tuple with the L field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateSubject) GetO ¶

GetO returns the O field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateSubject) GetOOk ¶

GetOOk returns a tuple with the O field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateSubject) GetOu ¶ added in v1.11.0

GetOu returns the Ou field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateSubject) GetOuOk ¶ added in v1.11.0

func (o *SyntheticsSSLCertificateSubject) GetOuOk() (*string, bool)

GetOuOk returns a tuple with the Ou field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateSubject) GetSt ¶ added in v1.11.0

GetSt returns the St field value if set, zero value otherwise.

func (*SyntheticsSSLCertificateSubject) GetStOk ¶ added in v1.11.0

func (o *SyntheticsSSLCertificateSubject) GetStOk() (*string, bool)

GetStOk returns a tuple with the St field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsSSLCertificateSubject) HasAltName ¶

func (o *SyntheticsSSLCertificateSubject) HasAltName() bool

HasAltName returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateSubject) HasC ¶

HasC returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateSubject) HasCn ¶ added in v1.11.0

HasCn returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateSubject) HasL ¶

HasL returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateSubject) HasO ¶

HasO returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateSubject) HasOu ¶ added in v1.11.0

HasOu returns a boolean if a field has been set.

func (*SyntheticsSSLCertificateSubject) HasSt ¶ added in v1.11.0

HasSt returns a boolean if a field has been set.

func (SyntheticsSSLCertificateSubject) MarshalJSON ¶

func (o SyntheticsSSLCertificateSubject) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsSSLCertificateSubject) SetAltName ¶

func (o *SyntheticsSSLCertificateSubject) SetAltName(v string)

SetAltName gets a reference to the given string and assigns it to the AltName field.

func (*SyntheticsSSLCertificateSubject) SetC ¶

SetC gets a reference to the given string and assigns it to the C field.

func (*SyntheticsSSLCertificateSubject) SetCn ¶ added in v1.11.0

SetCn gets a reference to the given string and assigns it to the Cn field.

func (*SyntheticsSSLCertificateSubject) SetL ¶

SetL gets a reference to the given string and assigns it to the L field.

func (*SyntheticsSSLCertificateSubject) SetO ¶

SetO gets a reference to the given string and assigns it to the O field.

func (*SyntheticsSSLCertificateSubject) SetOu ¶ added in v1.11.0

SetOu gets a reference to the given string and assigns it to the Ou field.

func (*SyntheticsSSLCertificateSubject) SetSt ¶ added in v1.11.0

SetSt gets a reference to the given string and assigns it to the St field.

func (*SyntheticsSSLCertificateSubject) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsSSLCertificateSubject) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsStatus ¶ added in v1.5.0

type SyntheticsStatus string

SyntheticsStatus Determines whether or not the batch has passed, failed, or is in progress.

const (
	SYNTHETICSSTATUS_PASSED  SyntheticsStatus = "passed"
	SYNTHETICSSTATUS_skipped SyntheticsStatus = "skipped"
	SYNTHETICSSTATUS_failed  SyntheticsStatus = "failed"
)

List of SyntheticsStatus.

func NewSyntheticsStatusFromValue ¶ added in v1.5.0

func NewSyntheticsStatusFromValue(v string) (*SyntheticsStatus, error)

NewSyntheticsStatusFromValue returns a pointer to a valid SyntheticsStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsStatus) GetAllowedValues ¶ added in v1.5.0

func (v *SyntheticsStatus) GetAllowedValues() []SyntheticsStatus

GetAllowedValues reeturns the list of possible values.

func (SyntheticsStatus) IsValid ¶ added in v1.5.0

func (v SyntheticsStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsStatus) Ptr ¶ added in v1.5.0

Ptr returns reference to SyntheticsStatus value.

func (*SyntheticsStatus) UnmarshalJSON ¶ added in v1.5.0

func (v *SyntheticsStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsStep ¶

type SyntheticsStep struct {
	// A boolean set to allow this step to fail.
	AllowFailure *bool `json:"allowFailure,omitempty"`
	// A boolean to use in addition to `allowFailure` to determine if the test should be marked as failed when the step fails.
	IsCritical *bool `json:"isCritical,omitempty"`
	// The name of the step.
	Name *string `json:"name,omitempty"`
	// The parameters of the step.
	Params interface{} `json:"params,omitempty"`
	// The time before declaring a step failed.
	Timeout *int64 `json:"timeout,omitempty"`
	// Step type used in your Synthetic test.
	Type *SyntheticsStepType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsStep The steps used in a Synthetics browser test.

func NewSyntheticsStep ¶

func NewSyntheticsStep() *SyntheticsStep

NewSyntheticsStep instantiates a new SyntheticsStep 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 NewSyntheticsStepWithDefaults ¶

func NewSyntheticsStepWithDefaults() *SyntheticsStep

NewSyntheticsStepWithDefaults instantiates a new SyntheticsStep 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 (*SyntheticsStep) GetAllowFailure ¶

func (o *SyntheticsStep) GetAllowFailure() bool

GetAllowFailure returns the AllowFailure field value if set, zero value otherwise.

func (*SyntheticsStep) GetAllowFailureOk ¶

func (o *SyntheticsStep) GetAllowFailureOk() (*bool, bool)

GetAllowFailureOk returns a tuple with the AllowFailure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStep) GetIsCritical ¶ added in v1.9.0

func (o *SyntheticsStep) GetIsCritical() bool

GetIsCritical returns the IsCritical field value if set, zero value otherwise.

func (*SyntheticsStep) GetIsCriticalOk ¶ added in v1.9.0

func (o *SyntheticsStep) GetIsCriticalOk() (*bool, bool)

GetIsCriticalOk returns a tuple with the IsCritical field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStep) GetName ¶

func (o *SyntheticsStep) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SyntheticsStep) GetNameOk ¶

func (o *SyntheticsStep) 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 (*SyntheticsStep) GetParams ¶

func (o *SyntheticsStep) GetParams() interface{}

GetParams returns the Params field value if set, zero value otherwise.

func (*SyntheticsStep) GetParamsOk ¶

func (o *SyntheticsStep) GetParamsOk() (*interface{}, bool)

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStep) GetTimeout ¶

func (o *SyntheticsStep) GetTimeout() int64

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*SyntheticsStep) GetTimeoutOk ¶

func (o *SyntheticsStep) GetTimeoutOk() (*int64, bool)

GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStep) GetType ¶

func (o *SyntheticsStep) GetType() SyntheticsStepType

GetType returns the Type field value if set, zero value otherwise.

func (*SyntheticsStep) GetTypeOk ¶

func (o *SyntheticsStep) GetTypeOk() (*SyntheticsStepType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStep) HasAllowFailure ¶

func (o *SyntheticsStep) HasAllowFailure() bool

HasAllowFailure returns a boolean if a field has been set.

func (*SyntheticsStep) HasIsCritical ¶ added in v1.9.0

func (o *SyntheticsStep) HasIsCritical() bool

HasIsCritical returns a boolean if a field has been set.

func (*SyntheticsStep) HasName ¶

func (o *SyntheticsStep) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsStep) HasParams ¶

func (o *SyntheticsStep) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*SyntheticsStep) HasTimeout ¶

func (o *SyntheticsStep) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*SyntheticsStep) HasType ¶

func (o *SyntheticsStep) HasType() bool

HasType returns a boolean if a field has been set.

func (SyntheticsStep) MarshalJSON ¶

func (o SyntheticsStep) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsStep) SetAllowFailure ¶

func (o *SyntheticsStep) SetAllowFailure(v bool)

SetAllowFailure gets a reference to the given bool and assigns it to the AllowFailure field.

func (*SyntheticsStep) SetIsCritical ¶ added in v1.9.0

func (o *SyntheticsStep) SetIsCritical(v bool)

SetIsCritical gets a reference to the given bool and assigns it to the IsCritical field.

func (*SyntheticsStep) SetName ¶

func (o *SyntheticsStep) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SyntheticsStep) SetParams ¶

func (o *SyntheticsStep) SetParams(v interface{})

SetParams gets a reference to the given interface{} and assigns it to the Params field.

func (*SyntheticsStep) SetTimeout ¶

func (o *SyntheticsStep) SetTimeout(v int64)

SetTimeout gets a reference to the given int64 and assigns it to the Timeout field.

func (*SyntheticsStep) SetType ¶

func (o *SyntheticsStep) SetType(v SyntheticsStepType)

SetType gets a reference to the given SyntheticsStepType and assigns it to the Type field.

func (*SyntheticsStep) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsStep) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsStepDetail ¶

type SyntheticsStepDetail struct {
	// Array of errors collected for a browser test.
	BrowserErrors []SyntheticsBrowserError `json:"browserErrors,omitempty"`
	// Type of assertion to apply in an API test.
	CheckType *SyntheticsCheckType `json:"checkType,omitempty"`
	// Description of the test.
	Description *string `json:"description,omitempty"`
	// Total duration in millisecond of the test.
	Duration *float64 `json:"duration,omitempty"`
	// Error returned by the test.
	Error *string `json:"error,omitempty"`
	// Navigate between different tabs for your browser test.
	PlayingTab *SyntheticsPlayingTab `json:"playingTab,omitempty"`
	// Whether or not screenshots where collected by the test.
	ScreenshotBucketKey *bool `json:"screenshotBucketKey,omitempty"`
	// Whether or not to skip this step.
	Skipped *bool `json:"skipped,omitempty"`
	// Whether or not snapshots where collected by the test.
	SnapshotBucketKey *bool `json:"snapshotBucketKey,omitempty"`
	// The step ID.
	StepId *int64 `json:"stepId,omitempty"`
	// If this steps include a sub-test.
	// [Subtests documentation](https://docs.datadoghq.com/synthetics/browser_tests/advanced_options/#subtests).
	SubTestStepDetails []SyntheticsStepDetail `json:"subTestStepDetails,omitempty"`
	// Time before starting the step.
	TimeToInteractive *float64 `json:"timeToInteractive,omitempty"`
	// Step type used in your Synthetic test.
	Type *SyntheticsStepType `json:"type,omitempty"`
	// URL to perform the step against.
	Url *string `json:"url,omitempty"`
	// Value for the step.
	Value interface{} `json:"value,omitempty"`
	// Array of Core Web Vitals metrics for the step.
	VitalsMetrics []SyntheticsCoreWebVitals `json:"vitalsMetrics,omitempty"`
	// Warning collected that didn't failed the step.
	Warnings []SyntheticsStepDetailWarning `json:"warnings,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsStepDetail Object describing a step for a Synthetic test.

func NewSyntheticsStepDetail ¶

func NewSyntheticsStepDetail() *SyntheticsStepDetail

NewSyntheticsStepDetail instantiates a new SyntheticsStepDetail 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 NewSyntheticsStepDetailWithDefaults ¶

func NewSyntheticsStepDetailWithDefaults() *SyntheticsStepDetail

NewSyntheticsStepDetailWithDefaults instantiates a new SyntheticsStepDetail 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 (*SyntheticsStepDetail) GetBrowserErrors ¶

func (o *SyntheticsStepDetail) GetBrowserErrors() []SyntheticsBrowserError

GetBrowserErrors returns the BrowserErrors field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetBrowserErrorsOk ¶

func (o *SyntheticsStepDetail) GetBrowserErrorsOk() (*[]SyntheticsBrowserError, bool)

GetBrowserErrorsOk returns a tuple with the BrowserErrors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetCheckType ¶

func (o *SyntheticsStepDetail) GetCheckType() SyntheticsCheckType

GetCheckType returns the CheckType field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetCheckTypeOk ¶

func (o *SyntheticsStepDetail) GetCheckTypeOk() (*SyntheticsCheckType, bool)

GetCheckTypeOk returns a tuple with the CheckType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetDescription ¶

func (o *SyntheticsStepDetail) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetDescriptionOk ¶

func (o *SyntheticsStepDetail) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetDuration ¶

func (o *SyntheticsStepDetail) GetDuration() float64

GetDuration returns the Duration field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetDurationOk ¶

func (o *SyntheticsStepDetail) GetDurationOk() (*float64, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetError ¶

func (o *SyntheticsStepDetail) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetErrorOk ¶

func (o *SyntheticsStepDetail) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetPlayingTab ¶

func (o *SyntheticsStepDetail) GetPlayingTab() SyntheticsPlayingTab

GetPlayingTab returns the PlayingTab field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetPlayingTabOk ¶

func (o *SyntheticsStepDetail) GetPlayingTabOk() (*SyntheticsPlayingTab, bool)

GetPlayingTabOk returns a tuple with the PlayingTab field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetScreenshotBucketKey ¶

func (o *SyntheticsStepDetail) GetScreenshotBucketKey() bool

GetScreenshotBucketKey returns the ScreenshotBucketKey field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetScreenshotBucketKeyOk ¶

func (o *SyntheticsStepDetail) GetScreenshotBucketKeyOk() (*bool, bool)

GetScreenshotBucketKeyOk returns a tuple with the ScreenshotBucketKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetSkipped ¶

func (o *SyntheticsStepDetail) GetSkipped() bool

GetSkipped returns the Skipped field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetSkippedOk ¶

func (o *SyntheticsStepDetail) GetSkippedOk() (*bool, bool)

GetSkippedOk returns a tuple with the Skipped field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetSnapshotBucketKey ¶

func (o *SyntheticsStepDetail) GetSnapshotBucketKey() bool

GetSnapshotBucketKey returns the SnapshotBucketKey field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetSnapshotBucketKeyOk ¶

func (o *SyntheticsStepDetail) GetSnapshotBucketKeyOk() (*bool, bool)

GetSnapshotBucketKeyOk returns a tuple with the SnapshotBucketKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetStepId ¶

func (o *SyntheticsStepDetail) GetStepId() int64

GetStepId returns the StepId field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetStepIdOk ¶

func (o *SyntheticsStepDetail) GetStepIdOk() (*int64, bool)

GetStepIdOk returns a tuple with the StepId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetSubTestStepDetails ¶

func (o *SyntheticsStepDetail) GetSubTestStepDetails() []SyntheticsStepDetail

GetSubTestStepDetails returns the SubTestStepDetails field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetSubTestStepDetailsOk ¶

func (o *SyntheticsStepDetail) GetSubTestStepDetailsOk() (*[]SyntheticsStepDetail, bool)

GetSubTestStepDetailsOk returns a tuple with the SubTestStepDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetTimeToInteractive ¶

func (o *SyntheticsStepDetail) GetTimeToInteractive() float64

GetTimeToInteractive returns the TimeToInteractive field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetTimeToInteractiveOk ¶

func (o *SyntheticsStepDetail) GetTimeToInteractiveOk() (*float64, bool)

GetTimeToInteractiveOk returns a tuple with the TimeToInteractive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetTypeOk ¶

func (o *SyntheticsStepDetail) GetTypeOk() (*SyntheticsStepType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetUrl ¶

func (o *SyntheticsStepDetail) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetUrlOk ¶

func (o *SyntheticsStepDetail) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetValue ¶

func (o *SyntheticsStepDetail) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetValueOk ¶

func (o *SyntheticsStepDetail) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetVitalsMetrics ¶

func (o *SyntheticsStepDetail) GetVitalsMetrics() []SyntheticsCoreWebVitals

GetVitalsMetrics returns the VitalsMetrics field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetVitalsMetricsOk ¶

func (o *SyntheticsStepDetail) GetVitalsMetricsOk() (*[]SyntheticsCoreWebVitals, bool)

GetVitalsMetricsOk returns a tuple with the VitalsMetrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) GetWarnings ¶

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*SyntheticsStepDetail) GetWarningsOk ¶

func (o *SyntheticsStepDetail) GetWarningsOk() (*[]SyntheticsStepDetailWarning, bool)

GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsStepDetail) HasBrowserErrors ¶

func (o *SyntheticsStepDetail) HasBrowserErrors() bool

HasBrowserErrors returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasCheckType ¶

func (o *SyntheticsStepDetail) HasCheckType() bool

HasCheckType returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasDescription ¶

func (o *SyntheticsStepDetail) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasDuration ¶

func (o *SyntheticsStepDetail) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasError ¶

func (o *SyntheticsStepDetail) HasError() bool

HasError returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasPlayingTab ¶

func (o *SyntheticsStepDetail) HasPlayingTab() bool

HasPlayingTab returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasScreenshotBucketKey ¶

func (o *SyntheticsStepDetail) HasScreenshotBucketKey() bool

HasScreenshotBucketKey returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasSkipped ¶

func (o *SyntheticsStepDetail) HasSkipped() bool

HasSkipped returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasSnapshotBucketKey ¶

func (o *SyntheticsStepDetail) HasSnapshotBucketKey() bool

HasSnapshotBucketKey returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasStepId ¶

func (o *SyntheticsStepDetail) HasStepId() bool

HasStepId returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasSubTestStepDetails ¶

func (o *SyntheticsStepDetail) HasSubTestStepDetails() bool

HasSubTestStepDetails returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasTimeToInteractive ¶

func (o *SyntheticsStepDetail) HasTimeToInteractive() bool

HasTimeToInteractive returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasType ¶

func (o *SyntheticsStepDetail) HasType() bool

HasType returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasUrl ¶

func (o *SyntheticsStepDetail) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasValue ¶

func (o *SyntheticsStepDetail) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasVitalsMetrics ¶

func (o *SyntheticsStepDetail) HasVitalsMetrics() bool

HasVitalsMetrics returns a boolean if a field has been set.

func (*SyntheticsStepDetail) HasWarnings ¶

func (o *SyntheticsStepDetail) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (SyntheticsStepDetail) MarshalJSON ¶

func (o SyntheticsStepDetail) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsStepDetail) SetBrowserErrors ¶

func (o *SyntheticsStepDetail) SetBrowserErrors(v []SyntheticsBrowserError)

SetBrowserErrors gets a reference to the given []SyntheticsBrowserError and assigns it to the BrowserErrors field.

func (*SyntheticsStepDetail) SetCheckType ¶

func (o *SyntheticsStepDetail) SetCheckType(v SyntheticsCheckType)

SetCheckType gets a reference to the given SyntheticsCheckType and assigns it to the CheckType field.

func (*SyntheticsStepDetail) SetDescription ¶

func (o *SyntheticsStepDetail) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SyntheticsStepDetail) SetDuration ¶

func (o *SyntheticsStepDetail) SetDuration(v float64)

SetDuration gets a reference to the given float64 and assigns it to the Duration field.

func (*SyntheticsStepDetail) SetError ¶

func (o *SyntheticsStepDetail) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*SyntheticsStepDetail) SetPlayingTab ¶

func (o *SyntheticsStepDetail) SetPlayingTab(v SyntheticsPlayingTab)

SetPlayingTab gets a reference to the given SyntheticsPlayingTab and assigns it to the PlayingTab field.

func (*SyntheticsStepDetail) SetScreenshotBucketKey ¶

func (o *SyntheticsStepDetail) SetScreenshotBucketKey(v bool)

SetScreenshotBucketKey gets a reference to the given bool and assigns it to the ScreenshotBucketKey field.

func (*SyntheticsStepDetail) SetSkipped ¶

func (o *SyntheticsStepDetail) SetSkipped(v bool)

SetSkipped gets a reference to the given bool and assigns it to the Skipped field.

func (*SyntheticsStepDetail) SetSnapshotBucketKey ¶

func (o *SyntheticsStepDetail) SetSnapshotBucketKey(v bool)

SetSnapshotBucketKey gets a reference to the given bool and assigns it to the SnapshotBucketKey field.

func (*SyntheticsStepDetail) SetStepId ¶

func (o *SyntheticsStepDetail) SetStepId(v int64)

SetStepId gets a reference to the given int64 and assigns it to the StepId field.

func (*SyntheticsStepDetail) SetSubTestStepDetails ¶

func (o *SyntheticsStepDetail) SetSubTestStepDetails(v []SyntheticsStepDetail)

SetSubTestStepDetails gets a reference to the given []SyntheticsStepDetail and assigns it to the SubTestStepDetails field.

func (*SyntheticsStepDetail) SetTimeToInteractive ¶

func (o *SyntheticsStepDetail) SetTimeToInteractive(v float64)

SetTimeToInteractive gets a reference to the given float64 and assigns it to the TimeToInteractive field.

func (*SyntheticsStepDetail) SetType ¶

SetType gets a reference to the given SyntheticsStepType and assigns it to the Type field.

func (*SyntheticsStepDetail) SetUrl ¶

func (o *SyntheticsStepDetail) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*SyntheticsStepDetail) SetValue ¶

func (o *SyntheticsStepDetail) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

func (*SyntheticsStepDetail) SetVitalsMetrics ¶

func (o *SyntheticsStepDetail) SetVitalsMetrics(v []SyntheticsCoreWebVitals)

SetVitalsMetrics gets a reference to the given []SyntheticsCoreWebVitals and assigns it to the VitalsMetrics field.

func (*SyntheticsStepDetail) SetWarnings ¶

SetWarnings gets a reference to the given []SyntheticsStepDetailWarning and assigns it to the Warnings field.

func (*SyntheticsStepDetail) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsStepDetail) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsStepDetailWarning ¶

type SyntheticsStepDetailWarning struct {
	// Message for the warning.
	Message string `json:"message"`
	// User locator used.
	Type SyntheticsWarningType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsStepDetailWarning Object collecting warnings for a given step.

func NewSyntheticsStepDetailWarning ¶

func NewSyntheticsStepDetailWarning(message string, typeVar SyntheticsWarningType) *SyntheticsStepDetailWarning

NewSyntheticsStepDetailWarning instantiates a new SyntheticsStepDetailWarning 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 NewSyntheticsStepDetailWarningWithDefaults ¶

func NewSyntheticsStepDetailWarningWithDefaults() *SyntheticsStepDetailWarning

NewSyntheticsStepDetailWarningWithDefaults instantiates a new SyntheticsStepDetailWarning 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 (*SyntheticsStepDetailWarning) GetMessage ¶

func (o *SyntheticsStepDetailWarning) GetMessage() string

GetMessage returns the Message field value.

func (*SyntheticsStepDetailWarning) GetMessageOk ¶

func (o *SyntheticsStepDetailWarning) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SyntheticsStepDetailWarning) GetType ¶

GetType returns the Type field value.

func (*SyntheticsStepDetailWarning) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (SyntheticsStepDetailWarning) MarshalJSON ¶

func (o SyntheticsStepDetailWarning) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsStepDetailWarning) SetMessage ¶

func (o *SyntheticsStepDetailWarning) SetMessage(v string)

SetMessage sets field value.

func (*SyntheticsStepDetailWarning) SetType ¶

SetType sets field value.

func (*SyntheticsStepDetailWarning) UnmarshalJSON ¶

func (o *SyntheticsStepDetailWarning) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsStepType ¶

type SyntheticsStepType string

SyntheticsStepType Step type used in your Synthetic test.

const (
	SYNTHETICSSTEPTYPE_ASSERT_CURRENT_URL        SyntheticsStepType = "assertCurrentUrl"
	SYNTHETICSSTEPTYPE_ASSERT_ELEMENT_ATTRIBUTE  SyntheticsStepType = "assertElementAttribute"
	SYNTHETICSSTEPTYPE_ASSERT_ELEMENT_CONTENT    SyntheticsStepType = "assertElementContent"
	SYNTHETICSSTEPTYPE_ASSERT_ELEMENT_PRESENT    SyntheticsStepType = "assertElementPresent"
	SYNTHETICSSTEPTYPE_ASSERT_EMAIL              SyntheticsStepType = "assertEmail"
	SYNTHETICSSTEPTYPE_ASSERT_FILE_DOWNLOAD      SyntheticsStepType = "assertFileDownload"
	SYNTHETICSSTEPTYPE_ASSERT_FROM_JAVASCRIPT    SyntheticsStepType = "assertFromJavascript"
	SYNTHETICSSTEPTYPE_ASSERT_PAGE_CONTAINS      SyntheticsStepType = "assertPageContains"
	SYNTHETICSSTEPTYPE_ASSERT_PAGE_LACKS         SyntheticsStepType = "assertPageLacks"
	SYNTHETICSSTEPTYPE_CLICK                     SyntheticsStepType = "click"
	SYNTHETICSSTEPTYPE_EXTRACT_FROM_JAVASCRIPT   SyntheticsStepType = "extractFromJavascript"
	SYNTHETICSSTEPTYPE_EXTRACT_VARIABLE          SyntheticsStepType = "extractVariable"
	SYNTHETICSSTEPTYPE_GO_TO_EMAIL_LINK          SyntheticsStepType = "goToEmailLink"
	SYNTHETICSSTEPTYPE_GO_TO_URL                 SyntheticsStepType = "goToUrl"
	SYNTHETICSSTEPTYPE_GO_TO_URL_AND_MEASURE_TTI SyntheticsStepType = "goToUrlAndMeasureTti"
	SYNTHETICSSTEPTYPE_HOVER                     SyntheticsStepType = "hover"
	SYNTHETICSSTEPTYPE_PLAY_SUB_TEST             SyntheticsStepType = "playSubTest"
	SYNTHETICSSTEPTYPE_PRESS_KEY                 SyntheticsStepType = "pressKey"
	SYNTHETICSSTEPTYPE_REFRESH                   SyntheticsStepType = "refresh"
	SYNTHETICSSTEPTYPE_RUN_API_TEST              SyntheticsStepType = "runApiTest"
	SYNTHETICSSTEPTYPE_SCROLL                    SyntheticsStepType = "scroll"
	SYNTHETICSSTEPTYPE_SELECT_OPTION             SyntheticsStepType = "selectOption"
	SYNTHETICSSTEPTYPE_TYPE_TEXT                 SyntheticsStepType = "typeText"
	SYNTHETICSSTEPTYPE_UPLOAD_FILES              SyntheticsStepType = "uploadFiles"
	SYNTHETICSSTEPTYPE_WAIT                      SyntheticsStepType = "wait"
)

List of SyntheticsStepType.

func NewSyntheticsStepTypeFromValue ¶

func NewSyntheticsStepTypeFromValue(v string) (*SyntheticsStepType, error)

NewSyntheticsStepTypeFromValue returns a pointer to a valid SyntheticsStepType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsStepType) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsStepType) GetAllowedValues() []SyntheticsStepType

GetAllowedValues reeturns the list of possible values.

func (SyntheticsStepType) IsValid ¶

func (v SyntheticsStepType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsStepType) Ptr ¶

Ptr returns reference to SyntheticsStepType value.

func (*SyntheticsStepType) UnmarshalJSON ¶

func (v *SyntheticsStepType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsTestCiOptions ¶ added in v1.15.0

type SyntheticsTestCiOptions struct {
	// Execution rule for a Synthetics test.
	ExecutionRule *SyntheticsTestExecutionRule `json:"executionRule,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestCiOptions CI/CD options for a Synthetic test.

func NewSyntheticsTestCiOptions ¶ added in v1.15.0

func NewSyntheticsTestCiOptions() *SyntheticsTestCiOptions

NewSyntheticsTestCiOptions instantiates a new SyntheticsTestCiOptions 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 NewSyntheticsTestCiOptionsWithDefaults ¶ added in v1.15.0

func NewSyntheticsTestCiOptionsWithDefaults() *SyntheticsTestCiOptions

NewSyntheticsTestCiOptionsWithDefaults instantiates a new SyntheticsTestCiOptions 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 (*SyntheticsTestCiOptions) GetExecutionRule ¶ added in v1.15.0

GetExecutionRule returns the ExecutionRule field value if set, zero value otherwise.

func (*SyntheticsTestCiOptions) GetExecutionRuleOk ¶ added in v1.15.0

func (o *SyntheticsTestCiOptions) GetExecutionRuleOk() (*SyntheticsTestExecutionRule, bool)

GetExecutionRuleOk returns a tuple with the ExecutionRule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestCiOptions) HasExecutionRule ¶ added in v1.15.0

func (o *SyntheticsTestCiOptions) HasExecutionRule() bool

HasExecutionRule returns a boolean if a field has been set.

func (SyntheticsTestCiOptions) MarshalJSON ¶ added in v1.15.0

func (o SyntheticsTestCiOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestCiOptions) SetExecutionRule ¶ added in v1.15.0

SetExecutionRule gets a reference to the given SyntheticsTestExecutionRule and assigns it to the ExecutionRule field.

func (*SyntheticsTestCiOptions) UnmarshalJSON ¶ added in v1.15.0

func (o *SyntheticsTestCiOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestConfig ¶

type SyntheticsTestConfig struct {
	// Array of assertions used for the test. Required for single API tests.
	Assertions []SyntheticsAssertion `json:"assertions,omitempty"`
	// Array of variables used for the test.
	ConfigVariables []SyntheticsConfigVariable `json:"configVariables,omitempty"`
	// Object describing the Synthetic test request.
	Request *SyntheticsTestRequest `json:"request,omitempty"`
	// Browser tests only - array of variables used for the test steps.
	Variables []SyntheticsBrowserVariable `json:"variables,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestConfig Configuration object for a Synthetic test.

func NewSyntheticsTestConfig ¶

func NewSyntheticsTestConfig() *SyntheticsTestConfig

NewSyntheticsTestConfig instantiates a new SyntheticsTestConfig 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 NewSyntheticsTestConfigWithDefaults ¶

func NewSyntheticsTestConfigWithDefaults() *SyntheticsTestConfig

NewSyntheticsTestConfigWithDefaults instantiates a new SyntheticsTestConfig 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 (*SyntheticsTestConfig) GetAssertions ¶

func (o *SyntheticsTestConfig) GetAssertions() []SyntheticsAssertion

GetAssertions returns the Assertions field value if set, zero value otherwise.

func (*SyntheticsTestConfig) GetAssertionsOk ¶

func (o *SyntheticsTestConfig) GetAssertionsOk() (*[]SyntheticsAssertion, bool)

GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestConfig) GetConfigVariables ¶

func (o *SyntheticsTestConfig) GetConfigVariables() []SyntheticsConfigVariable

GetConfigVariables returns the ConfigVariables field value if set, zero value otherwise.

func (*SyntheticsTestConfig) GetConfigVariablesOk ¶

func (o *SyntheticsTestConfig) GetConfigVariablesOk() (*[]SyntheticsConfigVariable, bool)

GetConfigVariablesOk returns a tuple with the ConfigVariables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestConfig) GetRequest ¶

GetRequest returns the Request field value if set, zero value otherwise.

func (*SyntheticsTestConfig) GetRequestOk ¶

func (o *SyntheticsTestConfig) GetRequestOk() (*SyntheticsTestRequest, bool)

GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestConfig) GetVariables ¶

func (o *SyntheticsTestConfig) GetVariables() []SyntheticsBrowserVariable

GetVariables returns the Variables field value if set, zero value otherwise.

func (*SyntheticsTestConfig) GetVariablesOk ¶

func (o *SyntheticsTestConfig) GetVariablesOk() (*[]SyntheticsBrowserVariable, bool)

GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestConfig) HasAssertions ¶

func (o *SyntheticsTestConfig) HasAssertions() bool

HasAssertions returns a boolean if a field has been set.

func (*SyntheticsTestConfig) HasConfigVariables ¶

func (o *SyntheticsTestConfig) HasConfigVariables() bool

HasConfigVariables returns a boolean if a field has been set.

func (*SyntheticsTestConfig) HasRequest ¶

func (o *SyntheticsTestConfig) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*SyntheticsTestConfig) HasVariables ¶

func (o *SyntheticsTestConfig) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (SyntheticsTestConfig) MarshalJSON ¶

func (o SyntheticsTestConfig) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestConfig) SetAssertions ¶

func (o *SyntheticsTestConfig) SetAssertions(v []SyntheticsAssertion)

SetAssertions gets a reference to the given []SyntheticsAssertion and assigns it to the Assertions field.

func (*SyntheticsTestConfig) SetConfigVariables ¶

func (o *SyntheticsTestConfig) SetConfigVariables(v []SyntheticsConfigVariable)

SetConfigVariables gets a reference to the given []SyntheticsConfigVariable and assigns it to the ConfigVariables field.

func (*SyntheticsTestConfig) SetRequest ¶

SetRequest gets a reference to the given SyntheticsTestRequest and assigns it to the Request field.

func (*SyntheticsTestConfig) SetVariables ¶

func (o *SyntheticsTestConfig) SetVariables(v []SyntheticsBrowserVariable)

SetVariables gets a reference to the given []SyntheticsBrowserVariable and assigns it to the Variables field.

func (*SyntheticsTestConfig) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestConfig) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestDetails ¶

type SyntheticsTestDetails struct {
	// Configuration object for a Synthetic test.
	Config *SyntheticsTestConfig `json:"config,omitempty"`
	// Object describing the creator of the shared element.
	Creator *Creator `json:"creator,omitempty"`
	// Array of locations used to run the test.
	Locations []string `json:"locations,omitempty"`
	// Notification message associated with the test.
	Message *string `json:"message,omitempty"`
	// The associated monitor ID.
	MonitorId *int64 `json:"monitor_id,omitempty"`
	// Name of the test.
	Name *string `json:"name,omitempty"`
	// Object describing the extra options for a Synthetic test.
	Options *SyntheticsTestOptions `json:"options,omitempty"`
	// The test public ID.
	PublicId *string `json:"public_id,omitempty"`
	// Define whether you want to start (`live`) or pause (`paused`) a
	// Synthetic test.
	Status *SyntheticsTestPauseStatus `json:"status,omitempty"`
	// For browser test, the steps of the test.
	Steps []SyntheticsStep `json:"steps,omitempty"`
	// The subtype of the Synthetic API test, `http`, `ssl`, `tcp`,
	// `dns`, `icmp`, `udp`, `websocket`, `grpc` or `multi`.
	Subtype *SyntheticsTestDetailsSubType `json:"subtype,omitempty"`
	// Array of tags attached to the test.
	Tags []string `json:"tags,omitempty"`
	// Type of the Synthetic test, either `api` or `browser`.
	Type *SyntheticsTestDetailsType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestDetails Object containing details about your Synthetic test.

func NewSyntheticsTestDetails ¶

func NewSyntheticsTestDetails() *SyntheticsTestDetails

NewSyntheticsTestDetails instantiates a new SyntheticsTestDetails 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 NewSyntheticsTestDetailsWithDefaults ¶

func NewSyntheticsTestDetailsWithDefaults() *SyntheticsTestDetails

NewSyntheticsTestDetailsWithDefaults instantiates a new SyntheticsTestDetails 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 (*SyntheticsTestDetails) GetConfig ¶

GetConfig returns the Config field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetConfigOk ¶

func (o *SyntheticsTestDetails) GetConfigOk() (*SyntheticsTestConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetCreator ¶ added in v1.5.0

func (o *SyntheticsTestDetails) GetCreator() Creator

GetCreator returns the Creator field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetCreatorOk ¶ added in v1.5.0

func (o *SyntheticsTestDetails) GetCreatorOk() (*Creator, 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 (*SyntheticsTestDetails) GetLocations ¶

func (o *SyntheticsTestDetails) GetLocations() []string

GetLocations returns the Locations field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetLocationsOk ¶

func (o *SyntheticsTestDetails) GetLocationsOk() (*[]string, bool)

GetLocationsOk returns a tuple with the Locations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetMessage ¶

func (o *SyntheticsTestDetails) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetMessageOk ¶

func (o *SyntheticsTestDetails) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetMonitorId ¶

func (o *SyntheticsTestDetails) GetMonitorId() int64

GetMonitorId returns the MonitorId field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetMonitorIdOk ¶

func (o *SyntheticsTestDetails) GetMonitorIdOk() (*int64, bool)

GetMonitorIdOk returns a tuple with the MonitorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetName ¶

func (o *SyntheticsTestDetails) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetNameOk ¶

func (o *SyntheticsTestDetails) 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 (*SyntheticsTestDetails) GetOptions ¶

GetOptions returns the Options field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetOptionsOk ¶

func (o *SyntheticsTestDetails) GetOptionsOk() (*SyntheticsTestOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetPublicId ¶

func (o *SyntheticsTestDetails) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetPublicIdOk ¶

func (o *SyntheticsTestDetails) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetSteps ¶

func (o *SyntheticsTestDetails) GetSteps() []SyntheticsStep

GetSteps returns the Steps field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetStepsOk ¶

func (o *SyntheticsTestDetails) GetStepsOk() (*[]SyntheticsStep, bool)

GetStepsOk returns a tuple with the Steps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetSubtype ¶

GetSubtype returns the Subtype field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetSubtypeOk ¶

GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetTags ¶

func (o *SyntheticsTestDetails) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetTagsOk ¶

func (o *SyntheticsTestDetails) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*SyntheticsTestDetails) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestDetails) HasConfig ¶

func (o *SyntheticsTestDetails) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasCreator ¶ added in v1.5.0

func (o *SyntheticsTestDetails) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasLocations ¶

func (o *SyntheticsTestDetails) HasLocations() bool

HasLocations returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasMessage ¶

func (o *SyntheticsTestDetails) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasMonitorId ¶

func (o *SyntheticsTestDetails) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasName ¶

func (o *SyntheticsTestDetails) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasOptions ¶

func (o *SyntheticsTestDetails) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasPublicId ¶

func (o *SyntheticsTestDetails) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasStatus ¶

func (o *SyntheticsTestDetails) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasSteps ¶

func (o *SyntheticsTestDetails) HasSteps() bool

HasSteps returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasSubtype ¶

func (o *SyntheticsTestDetails) HasSubtype() bool

HasSubtype returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasTags ¶

func (o *SyntheticsTestDetails) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SyntheticsTestDetails) HasType ¶

func (o *SyntheticsTestDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (SyntheticsTestDetails) MarshalJSON ¶

func (o SyntheticsTestDetails) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestDetails) SetConfig ¶

SetConfig gets a reference to the given SyntheticsTestConfig and assigns it to the Config field.

func (*SyntheticsTestDetails) SetCreator ¶ added in v1.5.0

func (o *SyntheticsTestDetails) SetCreator(v Creator)

SetCreator gets a reference to the given Creator and assigns it to the Creator field.

func (*SyntheticsTestDetails) SetLocations ¶

func (o *SyntheticsTestDetails) SetLocations(v []string)

SetLocations gets a reference to the given []string and assigns it to the Locations field.

func (*SyntheticsTestDetails) SetMessage ¶

func (o *SyntheticsTestDetails) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SyntheticsTestDetails) SetMonitorId ¶

func (o *SyntheticsTestDetails) SetMonitorId(v int64)

SetMonitorId gets a reference to the given int64 and assigns it to the MonitorId field.

func (*SyntheticsTestDetails) SetName ¶

func (o *SyntheticsTestDetails) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SyntheticsTestDetails) SetOptions ¶

SetOptions gets a reference to the given SyntheticsTestOptions and assigns it to the Options field.

func (*SyntheticsTestDetails) SetPublicId ¶

func (o *SyntheticsTestDetails) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*SyntheticsTestDetails) SetStatus ¶

SetStatus gets a reference to the given SyntheticsTestPauseStatus and assigns it to the Status field.

func (*SyntheticsTestDetails) SetSteps ¶

func (o *SyntheticsTestDetails) SetSteps(v []SyntheticsStep)

SetSteps gets a reference to the given []SyntheticsStep and assigns it to the Steps field.

func (*SyntheticsTestDetails) SetSubtype ¶

SetSubtype gets a reference to the given SyntheticsTestDetailsSubType and assigns it to the Subtype field.

func (*SyntheticsTestDetails) SetTags ¶

func (o *SyntheticsTestDetails) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SyntheticsTestDetails) SetType ¶

SetType gets a reference to the given SyntheticsTestDetailsType and assigns it to the Type field.

func (*SyntheticsTestDetails) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestDetails) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestDetailsSubType ¶

type SyntheticsTestDetailsSubType string

SyntheticsTestDetailsSubType The subtype of the Synthetic API test, `http`, `ssl`, `tcp`, `dns`, `icmp`, `udp`, `websocket`, `grpc` or `multi`.

const (
	SYNTHETICSTESTDETAILSSUBTYPE_HTTP      SyntheticsTestDetailsSubType = "http"
	SYNTHETICSTESTDETAILSSUBTYPE_SSL       SyntheticsTestDetailsSubType = "ssl"
	SYNTHETICSTESTDETAILSSUBTYPE_TCP       SyntheticsTestDetailsSubType = "tcp"
	SYNTHETICSTESTDETAILSSUBTYPE_DNS       SyntheticsTestDetailsSubType = "dns"
	SYNTHETICSTESTDETAILSSUBTYPE_MULTI     SyntheticsTestDetailsSubType = "multi"
	SYNTHETICSTESTDETAILSSUBTYPE_ICMP      SyntheticsTestDetailsSubType = "icmp"
	SYNTHETICSTESTDETAILSSUBTYPE_UDP       SyntheticsTestDetailsSubType = "udp"
	SYNTHETICSTESTDETAILSSUBTYPE_WEBSOCKET SyntheticsTestDetailsSubType = "websocket"
	SYNTHETICSTESTDETAILSSUBTYPE_GRPC      SyntheticsTestDetailsSubType = "grpc"
)

List of SyntheticsTestDetailsSubType.

func NewSyntheticsTestDetailsSubTypeFromValue ¶

func NewSyntheticsTestDetailsSubTypeFromValue(v string) (*SyntheticsTestDetailsSubType, error)

NewSyntheticsTestDetailsSubTypeFromValue returns a pointer to a valid SyntheticsTestDetailsSubType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsTestDetailsSubType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsTestDetailsSubType) IsValid ¶

func (v SyntheticsTestDetailsSubType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsTestDetailsSubType) Ptr ¶

Ptr returns reference to SyntheticsTestDetailsSubType value.

func (*SyntheticsTestDetailsSubType) UnmarshalJSON ¶

func (v *SyntheticsTestDetailsSubType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsTestDetailsType ¶

type SyntheticsTestDetailsType string

SyntheticsTestDetailsType Type of the Synthetic test, either `api` or `browser`.

const (
	SYNTHETICSTESTDETAILSTYPE_API     SyntheticsTestDetailsType = "api"
	SYNTHETICSTESTDETAILSTYPE_BROWSER SyntheticsTestDetailsType = "browser"
)

List of SyntheticsTestDetailsType.

func NewSyntheticsTestDetailsTypeFromValue ¶

func NewSyntheticsTestDetailsTypeFromValue(v string) (*SyntheticsTestDetailsType, error)

NewSyntheticsTestDetailsTypeFromValue returns a pointer to a valid SyntheticsTestDetailsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsTestDetailsType) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsTestDetailsType) GetAllowedValues() []SyntheticsTestDetailsType

GetAllowedValues reeturns the list of possible values.

func (SyntheticsTestDetailsType) IsValid ¶

func (v SyntheticsTestDetailsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsTestDetailsType) Ptr ¶

Ptr returns reference to SyntheticsTestDetailsType value.

func (*SyntheticsTestDetailsType) UnmarshalJSON ¶

func (v *SyntheticsTestDetailsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsTestExecutionRule ¶ added in v1.5.0

type SyntheticsTestExecutionRule string

SyntheticsTestExecutionRule Execution rule for a Synthetics test.

const (
	SYNTHETICSTESTEXECUTIONRULE_BLOCKING     SyntheticsTestExecutionRule = "blocking"
	SYNTHETICSTESTEXECUTIONRULE_NON_BLOCKING SyntheticsTestExecutionRule = "non_blocking"
	SYNTHETICSTESTEXECUTIONRULE_SKIPPED      SyntheticsTestExecutionRule = "skipped"
)

List of SyntheticsTestExecutionRule.

func NewSyntheticsTestExecutionRuleFromValue ¶ added in v1.5.0

func NewSyntheticsTestExecutionRuleFromValue(v string) (*SyntheticsTestExecutionRule, error)

NewSyntheticsTestExecutionRuleFromValue returns a pointer to a valid SyntheticsTestExecutionRule for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsTestExecutionRule) GetAllowedValues ¶ added in v1.5.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsTestExecutionRule) IsValid ¶ added in v1.5.0

func (v SyntheticsTestExecutionRule) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsTestExecutionRule) Ptr ¶ added in v1.5.0

Ptr returns reference to SyntheticsTestExecutionRule value.

func (*SyntheticsTestExecutionRule) UnmarshalJSON ¶ added in v1.5.0

func (v *SyntheticsTestExecutionRule) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsTestMonitorStatus ¶

type SyntheticsTestMonitorStatus int64

SyntheticsTestMonitorStatus The status of your Synthetic monitor. * `O` for not triggered * `1` for triggered * `2` for no data

const (
	SYNTHETICSTESTMONITORSTATUS_UNTRIGGERED SyntheticsTestMonitorStatus = 0
	SYNTHETICSTESTMONITORSTATUS_TRIGGERED   SyntheticsTestMonitorStatus = 1
	SYNTHETICSTESTMONITORSTATUS_NO_DATA     SyntheticsTestMonitorStatus = 2
)

List of SyntheticsTestMonitorStatus.

func NewSyntheticsTestMonitorStatusFromValue ¶

func NewSyntheticsTestMonitorStatusFromValue(v int64) (*SyntheticsTestMonitorStatus, error)

NewSyntheticsTestMonitorStatusFromValue returns a pointer to a valid SyntheticsTestMonitorStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsTestMonitorStatus) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsTestMonitorStatus) IsValid ¶

func (v SyntheticsTestMonitorStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsTestMonitorStatus) Ptr ¶

Ptr returns reference to SyntheticsTestMonitorStatus value.

func (*SyntheticsTestMonitorStatus) UnmarshalJSON ¶

func (v *SyntheticsTestMonitorStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsTestOptions ¶

type SyntheticsTestOptions struct {
	// For SSL test, whether or not the test should allow self signed
	// certificates.
	AcceptSelfSigned *bool `json:"accept_self_signed,omitempty"`
	// Allows loading insecure content for an HTTP request.
	AllowInsecure *bool `json:"allow_insecure,omitempty"`
	// For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
	CheckCertificateRevocation *bool `json:"checkCertificateRevocation,omitempty"`
	// CI/CD options for a Synthetic test.
	Ci *SyntheticsTestCiOptions `json:"ci,omitempty"`
	// For browser test, array with the different device IDs used to run the test.
	DeviceIds []SyntheticsDeviceID `json:"device_ids,omitempty"`
	// Whether or not to disable CORS mechanism.
	DisableCors *bool `json:"disableCors,omitempty"`
	// For API HTTP test, whether or not the test should follow redirects.
	FollowRedirects *bool `json:"follow_redirects,omitempty"`
	// Minimum amount of time in failure required to trigger an alert.
	MinFailureDuration *int64 `json:"min_failure_duration,omitempty"`
	// Minimum number of locations in failure required to trigger
	// an alert.
	MinLocationFailed *int64 `json:"min_location_failed,omitempty"`
	// The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
	MonitorName *string `json:"monitor_name,omitempty"`
	// Object containing the options for a Synthetic test as a monitor
	// (for example, renotification).
	MonitorOptions *SyntheticsTestOptionsMonitorOptions `json:"monitor_options,omitempty"`
	// Integer from 1 (high) to 5 (low) indicating alert severity.
	MonitorPriority *int32 `json:"monitor_priority,omitempty"`
	// Prevents saving screenshots of the steps.
	NoScreenshot *bool `json:"noScreenshot,omitempty"`
	// A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
	RestrictedRoles []string `json:"restricted_roles,omitempty"`
	// Object describing the retry strategy to apply to a Synthetic test.
	Retry *SyntheticsTestOptionsRetry `json:"retry,omitempty"`
	// The RUM data collection settings for the Synthetic browser test.
	// **Note:** There are 3 ways to format RUM settings:
	//
	// `{ isEnabled: false }`
	// RUM data is not collected.
	//
	// `{ isEnabled: true }`
	// RUM data is collected from the Synthetic test's default application.
	//
	// `{ isEnabled: true, applicationId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", clientTokenId: 12345 }`
	// RUM data is collected using the specified application.
	RumSettings *SyntheticsBrowserTestRumSettings `json:"rumSettings,omitempty"`
	// The frequency at which to run the Synthetic test (in seconds).
	TickEvery *int64 `json:"tick_every,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestOptions Object describing the extra options for a Synthetic test.

func NewSyntheticsTestOptions ¶

func NewSyntheticsTestOptions() *SyntheticsTestOptions

NewSyntheticsTestOptions instantiates a new SyntheticsTestOptions 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 NewSyntheticsTestOptionsWithDefaults ¶

func NewSyntheticsTestOptionsWithDefaults() *SyntheticsTestOptions

NewSyntheticsTestOptionsWithDefaults instantiates a new SyntheticsTestOptions 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 (*SyntheticsTestOptions) GetAcceptSelfSigned ¶

func (o *SyntheticsTestOptions) GetAcceptSelfSigned() bool

GetAcceptSelfSigned returns the AcceptSelfSigned field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetAcceptSelfSignedOk ¶

func (o *SyntheticsTestOptions) GetAcceptSelfSignedOk() (*bool, bool)

GetAcceptSelfSignedOk returns a tuple with the AcceptSelfSigned field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetAllowInsecure ¶

func (o *SyntheticsTestOptions) GetAllowInsecure() bool

GetAllowInsecure returns the AllowInsecure field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetAllowInsecureOk ¶

func (o *SyntheticsTestOptions) GetAllowInsecureOk() (*bool, bool)

GetAllowInsecureOk returns a tuple with the AllowInsecure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetCheckCertificateRevocation ¶ added in v1.10.0

func (o *SyntheticsTestOptions) GetCheckCertificateRevocation() bool

GetCheckCertificateRevocation returns the CheckCertificateRevocation field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetCheckCertificateRevocationOk ¶ added in v1.10.0

func (o *SyntheticsTestOptions) GetCheckCertificateRevocationOk() (*bool, bool)

GetCheckCertificateRevocationOk returns a tuple with the CheckCertificateRevocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetCi ¶ added in v1.15.0

GetCi returns the Ci field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetCiOk ¶ added in v1.15.0

GetCiOk returns a tuple with the Ci field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetDeviceIds ¶

func (o *SyntheticsTestOptions) GetDeviceIds() []SyntheticsDeviceID

GetDeviceIds returns the DeviceIds field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetDeviceIdsOk ¶

func (o *SyntheticsTestOptions) GetDeviceIdsOk() (*[]SyntheticsDeviceID, bool)

GetDeviceIdsOk returns a tuple with the DeviceIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetDisableCors ¶

func (o *SyntheticsTestOptions) GetDisableCors() bool

GetDisableCors returns the DisableCors field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetDisableCorsOk ¶

func (o *SyntheticsTestOptions) GetDisableCorsOk() (*bool, bool)

GetDisableCorsOk returns a tuple with the DisableCors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetFollowRedirects ¶

func (o *SyntheticsTestOptions) GetFollowRedirects() bool

GetFollowRedirects returns the FollowRedirects field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetFollowRedirectsOk ¶

func (o *SyntheticsTestOptions) GetFollowRedirectsOk() (*bool, bool)

GetFollowRedirectsOk returns a tuple with the FollowRedirects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetMinFailureDuration ¶

func (o *SyntheticsTestOptions) GetMinFailureDuration() int64

GetMinFailureDuration returns the MinFailureDuration field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetMinFailureDurationOk ¶

func (o *SyntheticsTestOptions) GetMinFailureDurationOk() (*int64, bool)

GetMinFailureDurationOk returns a tuple with the MinFailureDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetMinLocationFailed ¶

func (o *SyntheticsTestOptions) GetMinLocationFailed() int64

GetMinLocationFailed returns the MinLocationFailed field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetMinLocationFailedOk ¶

func (o *SyntheticsTestOptions) GetMinLocationFailedOk() (*int64, bool)

GetMinLocationFailedOk returns a tuple with the MinLocationFailed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetMonitorName ¶

func (o *SyntheticsTestOptions) GetMonitorName() string

GetMonitorName returns the MonitorName field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetMonitorNameOk ¶

func (o *SyntheticsTestOptions) GetMonitorNameOk() (*string, bool)

GetMonitorNameOk returns a tuple with the MonitorName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetMonitorOptions ¶

GetMonitorOptions returns the MonitorOptions field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetMonitorOptionsOk ¶

func (o *SyntheticsTestOptions) GetMonitorOptionsOk() (*SyntheticsTestOptionsMonitorOptions, bool)

GetMonitorOptionsOk returns a tuple with the MonitorOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetMonitorPriority ¶

func (o *SyntheticsTestOptions) GetMonitorPriority() int32

GetMonitorPriority returns the MonitorPriority field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetMonitorPriorityOk ¶

func (o *SyntheticsTestOptions) GetMonitorPriorityOk() (*int32, bool)

GetMonitorPriorityOk returns a tuple with the MonitorPriority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetNoScreenshot ¶

func (o *SyntheticsTestOptions) GetNoScreenshot() bool

GetNoScreenshot returns the NoScreenshot field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetNoScreenshotOk ¶

func (o *SyntheticsTestOptions) GetNoScreenshotOk() (*bool, bool)

GetNoScreenshotOk returns a tuple with the NoScreenshot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetRestrictedRoles ¶ added in v1.13.0

func (o *SyntheticsTestOptions) GetRestrictedRoles() []string

GetRestrictedRoles returns the RestrictedRoles field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetRestrictedRolesOk ¶ added in v1.13.0

func (o *SyntheticsTestOptions) GetRestrictedRolesOk() (*[]string, bool)

GetRestrictedRolesOk returns a tuple with the RestrictedRoles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetRetry ¶

GetRetry returns the Retry field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetRetryOk ¶

GetRetryOk returns a tuple with the Retry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetRumSettings ¶ added in v1.15.0

GetRumSettings returns the RumSettings field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetRumSettingsOk ¶ added in v1.15.0

GetRumSettingsOk returns a tuple with the RumSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) GetTickEvery ¶

func (o *SyntheticsTestOptions) GetTickEvery() int64

GetTickEvery returns the TickEvery field value if set, zero value otherwise.

func (*SyntheticsTestOptions) GetTickEveryOk ¶

func (o *SyntheticsTestOptions) GetTickEveryOk() (*int64, bool)

GetTickEveryOk returns a tuple with the TickEvery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptions) HasAcceptSelfSigned ¶

func (o *SyntheticsTestOptions) HasAcceptSelfSigned() bool

HasAcceptSelfSigned returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasAllowInsecure ¶

func (o *SyntheticsTestOptions) HasAllowInsecure() bool

HasAllowInsecure returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasCheckCertificateRevocation ¶ added in v1.10.0

func (o *SyntheticsTestOptions) HasCheckCertificateRevocation() bool

HasCheckCertificateRevocation returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasCi ¶ added in v1.15.0

func (o *SyntheticsTestOptions) HasCi() bool

HasCi returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasDeviceIds ¶

func (o *SyntheticsTestOptions) HasDeviceIds() bool

HasDeviceIds returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasDisableCors ¶

func (o *SyntheticsTestOptions) HasDisableCors() bool

HasDisableCors returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasFollowRedirects ¶

func (o *SyntheticsTestOptions) HasFollowRedirects() bool

HasFollowRedirects returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasMinFailureDuration ¶

func (o *SyntheticsTestOptions) HasMinFailureDuration() bool

HasMinFailureDuration returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasMinLocationFailed ¶

func (o *SyntheticsTestOptions) HasMinLocationFailed() bool

HasMinLocationFailed returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasMonitorName ¶

func (o *SyntheticsTestOptions) HasMonitorName() bool

HasMonitorName returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasMonitorOptions ¶

func (o *SyntheticsTestOptions) HasMonitorOptions() bool

HasMonitorOptions returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasMonitorPriority ¶

func (o *SyntheticsTestOptions) HasMonitorPriority() bool

HasMonitorPriority returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasNoScreenshot ¶

func (o *SyntheticsTestOptions) HasNoScreenshot() bool

HasNoScreenshot returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasRestrictedRoles ¶ added in v1.13.0

func (o *SyntheticsTestOptions) HasRestrictedRoles() bool

HasRestrictedRoles returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasRetry ¶

func (o *SyntheticsTestOptions) HasRetry() bool

HasRetry returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasRumSettings ¶ added in v1.15.0

func (o *SyntheticsTestOptions) HasRumSettings() bool

HasRumSettings returns a boolean if a field has been set.

func (*SyntheticsTestOptions) HasTickEvery ¶

func (o *SyntheticsTestOptions) HasTickEvery() bool

HasTickEvery returns a boolean if a field has been set.

func (SyntheticsTestOptions) MarshalJSON ¶

func (o SyntheticsTestOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestOptions) SetAcceptSelfSigned ¶

func (o *SyntheticsTestOptions) SetAcceptSelfSigned(v bool)

SetAcceptSelfSigned gets a reference to the given bool and assigns it to the AcceptSelfSigned field.

func (*SyntheticsTestOptions) SetAllowInsecure ¶

func (o *SyntheticsTestOptions) SetAllowInsecure(v bool)

SetAllowInsecure gets a reference to the given bool and assigns it to the AllowInsecure field.

func (*SyntheticsTestOptions) SetCheckCertificateRevocation ¶ added in v1.10.0

func (o *SyntheticsTestOptions) SetCheckCertificateRevocation(v bool)

SetCheckCertificateRevocation gets a reference to the given bool and assigns it to the CheckCertificateRevocation field.

func (*SyntheticsTestOptions) SetCi ¶ added in v1.15.0

SetCi gets a reference to the given SyntheticsTestCiOptions and assigns it to the Ci field.

func (*SyntheticsTestOptions) SetDeviceIds ¶

func (o *SyntheticsTestOptions) SetDeviceIds(v []SyntheticsDeviceID)

SetDeviceIds gets a reference to the given []SyntheticsDeviceID and assigns it to the DeviceIds field.

func (*SyntheticsTestOptions) SetDisableCors ¶

func (o *SyntheticsTestOptions) SetDisableCors(v bool)

SetDisableCors gets a reference to the given bool and assigns it to the DisableCors field.

func (*SyntheticsTestOptions) SetFollowRedirects ¶

func (o *SyntheticsTestOptions) SetFollowRedirects(v bool)

SetFollowRedirects gets a reference to the given bool and assigns it to the FollowRedirects field.

func (*SyntheticsTestOptions) SetMinFailureDuration ¶

func (o *SyntheticsTestOptions) SetMinFailureDuration(v int64)

SetMinFailureDuration gets a reference to the given int64 and assigns it to the MinFailureDuration field.

func (*SyntheticsTestOptions) SetMinLocationFailed ¶

func (o *SyntheticsTestOptions) SetMinLocationFailed(v int64)

SetMinLocationFailed gets a reference to the given int64 and assigns it to the MinLocationFailed field.

func (*SyntheticsTestOptions) SetMonitorName ¶

func (o *SyntheticsTestOptions) SetMonitorName(v string)

SetMonitorName gets a reference to the given string and assigns it to the MonitorName field.

func (*SyntheticsTestOptions) SetMonitorOptions ¶

SetMonitorOptions gets a reference to the given SyntheticsTestOptionsMonitorOptions and assigns it to the MonitorOptions field.

func (*SyntheticsTestOptions) SetMonitorPriority ¶

func (o *SyntheticsTestOptions) SetMonitorPriority(v int32)

SetMonitorPriority gets a reference to the given int32 and assigns it to the MonitorPriority field.

func (*SyntheticsTestOptions) SetNoScreenshot ¶

func (o *SyntheticsTestOptions) SetNoScreenshot(v bool)

SetNoScreenshot gets a reference to the given bool and assigns it to the NoScreenshot field.

func (*SyntheticsTestOptions) SetRestrictedRoles ¶ added in v1.13.0

func (o *SyntheticsTestOptions) SetRestrictedRoles(v []string)

SetRestrictedRoles gets a reference to the given []string and assigns it to the RestrictedRoles field.

func (*SyntheticsTestOptions) SetRetry ¶

SetRetry gets a reference to the given SyntheticsTestOptionsRetry and assigns it to the Retry field.

func (*SyntheticsTestOptions) SetRumSettings ¶ added in v1.15.0

SetRumSettings gets a reference to the given SyntheticsBrowserTestRumSettings and assigns it to the RumSettings field.

func (*SyntheticsTestOptions) SetTickEvery ¶

func (o *SyntheticsTestOptions) SetTickEvery(v int64)

SetTickEvery gets a reference to the given int64 and assigns it to the TickEvery field.

func (*SyntheticsTestOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestOptionsMonitorOptions ¶

type SyntheticsTestOptionsMonitorOptions struct {
	// Time interval before renotifying if the test is still failing
	// (in minutes).
	RenotifyInterval *int64 `json:"renotify_interval,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestOptionsMonitorOptions Object containing the options for a Synthetic test as a monitor (for example, renotification).

func NewSyntheticsTestOptionsMonitorOptions ¶

func NewSyntheticsTestOptionsMonitorOptions() *SyntheticsTestOptionsMonitorOptions

NewSyntheticsTestOptionsMonitorOptions instantiates a new SyntheticsTestOptionsMonitorOptions 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 NewSyntheticsTestOptionsMonitorOptionsWithDefaults ¶

func NewSyntheticsTestOptionsMonitorOptionsWithDefaults() *SyntheticsTestOptionsMonitorOptions

NewSyntheticsTestOptionsMonitorOptionsWithDefaults instantiates a new SyntheticsTestOptionsMonitorOptions 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 (*SyntheticsTestOptionsMonitorOptions) GetRenotifyInterval ¶

func (o *SyntheticsTestOptionsMonitorOptions) GetRenotifyInterval() int64

GetRenotifyInterval returns the RenotifyInterval field value if set, zero value otherwise.

func (*SyntheticsTestOptionsMonitorOptions) GetRenotifyIntervalOk ¶

func (o *SyntheticsTestOptionsMonitorOptions) GetRenotifyIntervalOk() (*int64, bool)

GetRenotifyIntervalOk returns a tuple with the RenotifyInterval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptionsMonitorOptions) HasRenotifyInterval ¶

func (o *SyntheticsTestOptionsMonitorOptions) HasRenotifyInterval() bool

HasRenotifyInterval returns a boolean if a field has been set.

func (SyntheticsTestOptionsMonitorOptions) MarshalJSON ¶

func (o SyntheticsTestOptionsMonitorOptions) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestOptionsMonitorOptions) SetRenotifyInterval ¶

func (o *SyntheticsTestOptionsMonitorOptions) SetRenotifyInterval(v int64)

SetRenotifyInterval gets a reference to the given int64 and assigns it to the RenotifyInterval field.

func (*SyntheticsTestOptionsMonitorOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestOptionsMonitorOptions) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestOptionsRetry ¶

type SyntheticsTestOptionsRetry struct {
	// Number of times a test needs to be retried before marking a
	// location as failed. Defaults to 0.
	Count *int64 `json:"count,omitempty"`
	// Time interval between retries (in milliseconds). Defaults to
	// 300ms.
	Interval *float64 `json:"interval,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestOptionsRetry Object describing the retry strategy to apply to a Synthetic test.

func NewSyntheticsTestOptionsRetry ¶

func NewSyntheticsTestOptionsRetry() *SyntheticsTestOptionsRetry

NewSyntheticsTestOptionsRetry instantiates a new SyntheticsTestOptionsRetry 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 NewSyntheticsTestOptionsRetryWithDefaults ¶

func NewSyntheticsTestOptionsRetryWithDefaults() *SyntheticsTestOptionsRetry

NewSyntheticsTestOptionsRetryWithDefaults instantiates a new SyntheticsTestOptionsRetry 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 (*SyntheticsTestOptionsRetry) GetCount ¶

func (o *SyntheticsTestOptionsRetry) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*SyntheticsTestOptionsRetry) GetCountOk ¶

func (o *SyntheticsTestOptionsRetry) GetCountOk() (*int64, 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 (*SyntheticsTestOptionsRetry) GetInterval ¶

func (o *SyntheticsTestOptionsRetry) GetInterval() float64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*SyntheticsTestOptionsRetry) GetIntervalOk ¶

func (o *SyntheticsTestOptionsRetry) GetIntervalOk() (*float64, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestOptionsRetry) HasCount ¶

func (o *SyntheticsTestOptionsRetry) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*SyntheticsTestOptionsRetry) HasInterval ¶

func (o *SyntheticsTestOptionsRetry) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (SyntheticsTestOptionsRetry) MarshalJSON ¶

func (o SyntheticsTestOptionsRetry) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestOptionsRetry) SetCount ¶

func (o *SyntheticsTestOptionsRetry) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*SyntheticsTestOptionsRetry) SetInterval ¶

func (o *SyntheticsTestOptionsRetry) SetInterval(v float64)

SetInterval gets a reference to the given float64 and assigns it to the Interval field.

func (*SyntheticsTestOptionsRetry) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestOptionsRetry) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestPauseStatus ¶

type SyntheticsTestPauseStatus string

SyntheticsTestPauseStatus Define whether you want to start (`live`) or pause (`paused`) a Synthetic test.

const (
	SYNTHETICSTESTPAUSESTATUS_LIVE   SyntheticsTestPauseStatus = "live"
	SYNTHETICSTESTPAUSESTATUS_PAUSED SyntheticsTestPauseStatus = "paused"
)

List of SyntheticsTestPauseStatus.

func NewSyntheticsTestPauseStatusFromValue ¶

func NewSyntheticsTestPauseStatusFromValue(v string) (*SyntheticsTestPauseStatus, error)

NewSyntheticsTestPauseStatusFromValue returns a pointer to a valid SyntheticsTestPauseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsTestPauseStatus) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsTestPauseStatus) GetAllowedValues() []SyntheticsTestPauseStatus

GetAllowedValues reeturns the list of possible values.

func (SyntheticsTestPauseStatus) IsValid ¶

func (v SyntheticsTestPauseStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsTestPauseStatus) Ptr ¶

Ptr returns reference to SyntheticsTestPauseStatus value.

func (*SyntheticsTestPauseStatus) UnmarshalJSON ¶

func (v *SyntheticsTestPauseStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsTestProcessStatus ¶

type SyntheticsTestProcessStatus string

SyntheticsTestProcessStatus Status of a Synthetic test.

const (
	SYNTHETICSTESTPROCESSSTATUS_NOT_SCHEDULED       SyntheticsTestProcessStatus = "not_scheduled"
	SYNTHETICSTESTPROCESSSTATUS_SCHEDULED           SyntheticsTestProcessStatus = "scheduled"
	SYNTHETICSTESTPROCESSSTATUS_STARTED             SyntheticsTestProcessStatus = "started"
	SYNTHETICSTESTPROCESSSTATUS_FINISHED            SyntheticsTestProcessStatus = "finished"
	SYNTHETICSTESTPROCESSSTATUS_FINISHED_WITH_ERROR SyntheticsTestProcessStatus = "finished_with_error"
)

List of SyntheticsTestProcessStatus.

func NewSyntheticsTestProcessStatusFromValue ¶

func NewSyntheticsTestProcessStatusFromValue(v string) (*SyntheticsTestProcessStatus, error)

NewSyntheticsTestProcessStatusFromValue returns a pointer to a valid SyntheticsTestProcessStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsTestProcessStatus) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (SyntheticsTestProcessStatus) IsValid ¶

func (v SyntheticsTestProcessStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsTestProcessStatus) Ptr ¶

Ptr returns reference to SyntheticsTestProcessStatus value.

func (*SyntheticsTestProcessStatus) UnmarshalJSON ¶

func (v *SyntheticsTestProcessStatus) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type SyntheticsTestRequest ¶

type SyntheticsTestRequest struct {
	// Allows loading insecure content for an HTTP request in a multistep test step.
	AllowInsecure *bool `json:"allow_insecure,omitempty"`
	// Object to handle basic authentication when performing the test.
	BasicAuth *SyntheticsBasicAuth `json:"basicAuth,omitempty"`
	// Body to include in the test.
	Body *string `json:"body,omitempty"`
	// Client certificate to use when performing the test request.
	Certificate *SyntheticsTestRequestCertificate `json:"certificate,omitempty"`
	// DNS server to use for DNS tests.
	DnsServer *string `json:"dnsServer,omitempty"`
	// DNS server port to use for DNS tests.
	DnsServerPort *int32 `json:"dnsServerPort,omitempty"`
	// Specifies whether or not the request follows redirects.
	FollowRedirects *bool `json:"follow_redirects,omitempty"`
	// Headers to include when performing the test.
	Headers map[string]string `json:"headers,omitempty"`
	// Host name to perform the test with.
	Host *string `json:"host,omitempty"`
	// Message to send for UDP or WebSocket tests.
	Message *string `json:"message,omitempty"`
	// Metadata to include when performing the gRPC test.
	Metadata map[string]string `json:"metadata,omitempty"`
	// The HTTP method.
	Method *HTTPMethod `json:"method,omitempty"`
	// Determines whether or not to save the response body.
	NoSavingResponseBody *bool `json:"noSavingResponseBody,omitempty"`
	// Number of pings to use per test.
	NumberOfPackets *int32 `json:"numberOfPackets,omitempty"`
	// Port to use when performing the test.
	Port *int64 `json:"port,omitempty"`
	// The proxy to perform the test.
	Proxy *SyntheticsTestRequestProxy `json:"proxy,omitempty"`
	// Query to use for the test.
	Query interface{} `json:"query,omitempty"`
	// For SSL tests, it specifies on which server you want to initiate the TLS handshake,
	// allowing the server to present one of multiple possible certificates on
	// the same IP address and TCP port number.
	Servername *string `json:"servername,omitempty"`
	// gRPC service on which you want to perform the healthcheck.
	Service *string `json:"service,omitempty"`
	// Turns on a traceroute probe to discover all gateways along the path to the host destination.
	ShouldTrackHops *bool `json:"shouldTrackHops,omitempty"`
	// Timeout in seconds for the test.
	Timeout *float64 `json:"timeout,omitempty"`
	// URL to perform the test with.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestRequest Object describing the Synthetic test request.

func NewSyntheticsTestRequest ¶

func NewSyntheticsTestRequest() *SyntheticsTestRequest

NewSyntheticsTestRequest instantiates a new SyntheticsTestRequest 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 NewSyntheticsTestRequestWithDefaults ¶

func NewSyntheticsTestRequestWithDefaults() *SyntheticsTestRequest

NewSyntheticsTestRequestWithDefaults instantiates a new SyntheticsTestRequest 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 (*SyntheticsTestRequest) GetAllowInsecure ¶ added in v1.3.0

func (o *SyntheticsTestRequest) GetAllowInsecure() bool

GetAllowInsecure returns the AllowInsecure field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetAllowInsecureOk ¶ added in v1.3.0

func (o *SyntheticsTestRequest) GetAllowInsecureOk() (*bool, bool)

GetAllowInsecureOk returns a tuple with the AllowInsecure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetBasicAuth ¶

func (o *SyntheticsTestRequest) GetBasicAuth() SyntheticsBasicAuth

GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetBasicAuthOk ¶

func (o *SyntheticsTestRequest) GetBasicAuthOk() (*SyntheticsBasicAuth, bool)

GetBasicAuthOk returns a tuple with the BasicAuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetBody ¶

func (o *SyntheticsTestRequest) GetBody() string

GetBody returns the Body field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetBodyOk ¶

func (o *SyntheticsTestRequest) GetBodyOk() (*string, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetCertificate ¶

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetCertificateOk ¶

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetDnsServer ¶

func (o *SyntheticsTestRequest) GetDnsServer() string

GetDnsServer returns the DnsServer field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetDnsServerOk ¶

func (o *SyntheticsTestRequest) GetDnsServerOk() (*string, bool)

GetDnsServerOk returns a tuple with the DnsServer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetDnsServerPort ¶

func (o *SyntheticsTestRequest) GetDnsServerPort() int32

GetDnsServerPort returns the DnsServerPort field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetDnsServerPortOk ¶

func (o *SyntheticsTestRequest) GetDnsServerPortOk() (*int32, bool)

GetDnsServerPortOk returns a tuple with the DnsServerPort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetFollowRedirects ¶ added in v1.4.0

func (o *SyntheticsTestRequest) GetFollowRedirects() bool

GetFollowRedirects returns the FollowRedirects field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetFollowRedirectsOk ¶ added in v1.4.0

func (o *SyntheticsTestRequest) GetFollowRedirectsOk() (*bool, bool)

GetFollowRedirectsOk returns a tuple with the FollowRedirects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetHeaders ¶

func (o *SyntheticsTestRequest) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetHeadersOk ¶

func (o *SyntheticsTestRequest) GetHeadersOk() (*map[string]string, bool)

GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetHost ¶

func (o *SyntheticsTestRequest) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetHostOk ¶

func (o *SyntheticsTestRequest) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetMessage ¶ added in v1.7.0

func (o *SyntheticsTestRequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetMessageOk ¶ added in v1.7.0

func (o *SyntheticsTestRequest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetMetadata ¶ added in v1.15.0

func (o *SyntheticsTestRequest) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetMetadataOk ¶ added in v1.15.0

func (o *SyntheticsTestRequest) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetMethod ¶

func (o *SyntheticsTestRequest) GetMethod() HTTPMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetMethodOk ¶

func (o *SyntheticsTestRequest) GetMethodOk() (*HTTPMethod, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetNoSavingResponseBody ¶

func (o *SyntheticsTestRequest) GetNoSavingResponseBody() bool

GetNoSavingResponseBody returns the NoSavingResponseBody field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetNoSavingResponseBodyOk ¶

func (o *SyntheticsTestRequest) GetNoSavingResponseBodyOk() (*bool, bool)

GetNoSavingResponseBodyOk returns a tuple with the NoSavingResponseBody field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetNumberOfPackets ¶

func (o *SyntheticsTestRequest) GetNumberOfPackets() int32

GetNumberOfPackets returns the NumberOfPackets field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetNumberOfPacketsOk ¶

func (o *SyntheticsTestRequest) GetNumberOfPacketsOk() (*int32, bool)

GetNumberOfPacketsOk returns a tuple with the NumberOfPackets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetPort ¶

func (o *SyntheticsTestRequest) GetPort() int64

GetPort returns the Port field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetPortOk ¶

func (o *SyntheticsTestRequest) GetPortOk() (*int64, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetProxy ¶ added in v1.8.0

GetProxy returns the Proxy field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetProxyOk ¶ added in v1.8.0

GetProxyOk returns a tuple with the Proxy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetQuery ¶

func (o *SyntheticsTestRequest) GetQuery() interface{}

GetQuery returns the Query field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetQueryOk ¶

func (o *SyntheticsTestRequest) GetQueryOk() (*interface{}, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetServername ¶ added in v1.5.0

func (o *SyntheticsTestRequest) GetServername() string

GetServername returns the Servername field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetServernameOk ¶ added in v1.5.0

func (o *SyntheticsTestRequest) GetServernameOk() (*string, bool)

GetServernameOk returns a tuple with the Servername field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetService ¶ added in v1.15.0

func (o *SyntheticsTestRequest) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetServiceOk ¶ added in v1.15.0

func (o *SyntheticsTestRequest) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetShouldTrackHops ¶

func (o *SyntheticsTestRequest) GetShouldTrackHops() bool

GetShouldTrackHops returns the ShouldTrackHops field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetShouldTrackHopsOk ¶

func (o *SyntheticsTestRequest) GetShouldTrackHopsOk() (*bool, bool)

GetShouldTrackHopsOk returns a tuple with the ShouldTrackHops field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetTimeout ¶

func (o *SyntheticsTestRequest) GetTimeout() float64

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetTimeoutOk ¶

func (o *SyntheticsTestRequest) GetTimeoutOk() (*float64, bool)

GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) GetUrl ¶

func (o *SyntheticsTestRequest) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*SyntheticsTestRequest) GetUrlOk ¶

func (o *SyntheticsTestRequest) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequest) HasAllowInsecure ¶ added in v1.3.0

func (o *SyntheticsTestRequest) HasAllowInsecure() bool

HasAllowInsecure returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasBasicAuth ¶

func (o *SyntheticsTestRequest) HasBasicAuth() bool

HasBasicAuth returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasBody ¶

func (o *SyntheticsTestRequest) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasCertificate ¶

func (o *SyntheticsTestRequest) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasDnsServer ¶

func (o *SyntheticsTestRequest) HasDnsServer() bool

HasDnsServer returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasDnsServerPort ¶

func (o *SyntheticsTestRequest) HasDnsServerPort() bool

HasDnsServerPort returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasFollowRedirects ¶ added in v1.4.0

func (o *SyntheticsTestRequest) HasFollowRedirects() bool

HasFollowRedirects returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasHeaders ¶

func (o *SyntheticsTestRequest) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasHost ¶

func (o *SyntheticsTestRequest) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasMessage ¶ added in v1.7.0

func (o *SyntheticsTestRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasMetadata ¶ added in v1.15.0

func (o *SyntheticsTestRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasMethod ¶

func (o *SyntheticsTestRequest) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasNoSavingResponseBody ¶

func (o *SyntheticsTestRequest) HasNoSavingResponseBody() bool

HasNoSavingResponseBody returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasNumberOfPackets ¶

func (o *SyntheticsTestRequest) HasNumberOfPackets() bool

HasNumberOfPackets returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasPort ¶

func (o *SyntheticsTestRequest) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasProxy ¶ added in v1.8.0

func (o *SyntheticsTestRequest) HasProxy() bool

HasProxy returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasQuery ¶

func (o *SyntheticsTestRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasServername ¶ added in v1.5.0

func (o *SyntheticsTestRequest) HasServername() bool

HasServername returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasService ¶ added in v1.15.0

func (o *SyntheticsTestRequest) HasService() bool

HasService returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasShouldTrackHops ¶

func (o *SyntheticsTestRequest) HasShouldTrackHops() bool

HasShouldTrackHops returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasTimeout ¶

func (o *SyntheticsTestRequest) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*SyntheticsTestRequest) HasUrl ¶

func (o *SyntheticsTestRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (SyntheticsTestRequest) MarshalJSON ¶

func (o SyntheticsTestRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestRequest) SetAllowInsecure ¶ added in v1.3.0

func (o *SyntheticsTestRequest) SetAllowInsecure(v bool)

SetAllowInsecure gets a reference to the given bool and assigns it to the AllowInsecure field.

func (*SyntheticsTestRequest) SetBasicAuth ¶

func (o *SyntheticsTestRequest) SetBasicAuth(v SyntheticsBasicAuth)

SetBasicAuth gets a reference to the given SyntheticsBasicAuth and assigns it to the BasicAuth field.

func (*SyntheticsTestRequest) SetBody ¶

func (o *SyntheticsTestRequest) SetBody(v string)

SetBody gets a reference to the given string and assigns it to the Body field.

func (*SyntheticsTestRequest) SetCertificate ¶

SetCertificate gets a reference to the given SyntheticsTestRequestCertificate and assigns it to the Certificate field.

func (*SyntheticsTestRequest) SetDnsServer ¶

func (o *SyntheticsTestRequest) SetDnsServer(v string)

SetDnsServer gets a reference to the given string and assigns it to the DnsServer field.

func (*SyntheticsTestRequest) SetDnsServerPort ¶

func (o *SyntheticsTestRequest) SetDnsServerPort(v int32)

SetDnsServerPort gets a reference to the given int32 and assigns it to the DnsServerPort field.

func (*SyntheticsTestRequest) SetFollowRedirects ¶ added in v1.4.0

func (o *SyntheticsTestRequest) SetFollowRedirects(v bool)

SetFollowRedirects gets a reference to the given bool and assigns it to the FollowRedirects field.

func (*SyntheticsTestRequest) SetHeaders ¶

func (o *SyntheticsTestRequest) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*SyntheticsTestRequest) SetHost ¶

func (o *SyntheticsTestRequest) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*SyntheticsTestRequest) SetMessage ¶ added in v1.7.0

func (o *SyntheticsTestRequest) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SyntheticsTestRequest) SetMetadata ¶ added in v1.15.0

func (o *SyntheticsTestRequest) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*SyntheticsTestRequest) SetMethod ¶

func (o *SyntheticsTestRequest) SetMethod(v HTTPMethod)

SetMethod gets a reference to the given HTTPMethod and assigns it to the Method field.

func (*SyntheticsTestRequest) SetNoSavingResponseBody ¶

func (o *SyntheticsTestRequest) SetNoSavingResponseBody(v bool)

SetNoSavingResponseBody gets a reference to the given bool and assigns it to the NoSavingResponseBody field.

func (*SyntheticsTestRequest) SetNumberOfPackets ¶

func (o *SyntheticsTestRequest) SetNumberOfPackets(v int32)

SetNumberOfPackets gets a reference to the given int32 and assigns it to the NumberOfPackets field.

func (*SyntheticsTestRequest) SetPort ¶

func (o *SyntheticsTestRequest) SetPort(v int64)

SetPort gets a reference to the given int64 and assigns it to the Port field.

func (*SyntheticsTestRequest) SetProxy ¶ added in v1.8.0

SetProxy gets a reference to the given SyntheticsTestRequestProxy and assigns it to the Proxy field.

func (*SyntheticsTestRequest) SetQuery ¶

func (o *SyntheticsTestRequest) SetQuery(v interface{})

SetQuery gets a reference to the given interface{} and assigns it to the Query field.

func (*SyntheticsTestRequest) SetServername ¶ added in v1.5.0

func (o *SyntheticsTestRequest) SetServername(v string)

SetServername gets a reference to the given string and assigns it to the Servername field.

func (*SyntheticsTestRequest) SetService ¶ added in v1.15.0

func (o *SyntheticsTestRequest) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*SyntheticsTestRequest) SetShouldTrackHops ¶

func (o *SyntheticsTestRequest) SetShouldTrackHops(v bool)

SetShouldTrackHops gets a reference to the given bool and assigns it to the ShouldTrackHops field.

func (*SyntheticsTestRequest) SetTimeout ¶

func (o *SyntheticsTestRequest) SetTimeout(v float64)

SetTimeout gets a reference to the given float64 and assigns it to the Timeout field.

func (*SyntheticsTestRequest) SetUrl ¶

func (o *SyntheticsTestRequest) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*SyntheticsTestRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestRequestCertificate ¶

type SyntheticsTestRequestCertificate struct {
	// Define a request certificate.
	Cert *SyntheticsTestRequestCertificateItem `json:"cert,omitempty"`
	// Define a request certificate.
	Key *SyntheticsTestRequestCertificateItem `json:"key,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestRequestCertificate Client certificate to use when performing the test request.

func NewSyntheticsTestRequestCertificate ¶

func NewSyntheticsTestRequestCertificate() *SyntheticsTestRequestCertificate

NewSyntheticsTestRequestCertificate instantiates a new SyntheticsTestRequestCertificate 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 NewSyntheticsTestRequestCertificateWithDefaults ¶

func NewSyntheticsTestRequestCertificateWithDefaults() *SyntheticsTestRequestCertificate

NewSyntheticsTestRequestCertificateWithDefaults instantiates a new SyntheticsTestRequestCertificate 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 (*SyntheticsTestRequestCertificate) GetCert ¶

GetCert returns the Cert field value if set, zero value otherwise.

func (*SyntheticsTestRequestCertificate) GetCertOk ¶

GetCertOk returns a tuple with the Cert field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequestCertificate) GetKey ¶

GetKey returns the Key field value if set, zero value otherwise.

func (*SyntheticsTestRequestCertificate) GetKeyOk ¶

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequestCertificate) HasCert ¶

HasCert returns a boolean if a field has been set.

func (*SyntheticsTestRequestCertificate) HasKey ¶

HasKey returns a boolean if a field has been set.

func (SyntheticsTestRequestCertificate) MarshalJSON ¶

func (o SyntheticsTestRequestCertificate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestRequestCertificate) SetCert ¶

SetCert gets a reference to the given SyntheticsTestRequestCertificateItem and assigns it to the Cert field.

func (*SyntheticsTestRequestCertificate) SetKey ¶

SetKey gets a reference to the given SyntheticsTestRequestCertificateItem and assigns it to the Key field.

func (*SyntheticsTestRequestCertificate) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestRequestCertificate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestRequestCertificateItem ¶

type SyntheticsTestRequestCertificateItem struct {
	// Content of the certificate or key.
	Content *string `json:"content,omitempty"`
	// File name for the certificate or key.
	Filename *string `json:"filename,omitempty"`
	// Date of update of the certificate or key, ISO format.
	UpdatedAt *string `json:"updatedAt,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestRequestCertificateItem Define a request certificate.

func NewSyntheticsTestRequestCertificateItem ¶

func NewSyntheticsTestRequestCertificateItem() *SyntheticsTestRequestCertificateItem

NewSyntheticsTestRequestCertificateItem instantiates a new SyntheticsTestRequestCertificateItem 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 NewSyntheticsTestRequestCertificateItemWithDefaults ¶

func NewSyntheticsTestRequestCertificateItemWithDefaults() *SyntheticsTestRequestCertificateItem

NewSyntheticsTestRequestCertificateItemWithDefaults instantiates a new SyntheticsTestRequestCertificateItem 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 (*SyntheticsTestRequestCertificateItem) GetContent ¶

GetContent returns the Content field value if set, zero value otherwise.

func (*SyntheticsTestRequestCertificateItem) GetContentOk ¶

func (o *SyntheticsTestRequestCertificateItem) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequestCertificateItem) GetFilename ¶

GetFilename returns the Filename field value if set, zero value otherwise.

func (*SyntheticsTestRequestCertificateItem) GetFilenameOk ¶

func (o *SyntheticsTestRequestCertificateItem) GetFilenameOk() (*string, bool)

GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequestCertificateItem) GetUpdatedAt ¶

func (o *SyntheticsTestRequestCertificateItem) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SyntheticsTestRequestCertificateItem) GetUpdatedAtOk ¶

func (o *SyntheticsTestRequestCertificateItem) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequestCertificateItem) HasContent ¶

HasContent returns a boolean if a field has been set.

func (*SyntheticsTestRequestCertificateItem) HasFilename ¶

func (o *SyntheticsTestRequestCertificateItem) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*SyntheticsTestRequestCertificateItem) HasUpdatedAt ¶

func (o *SyntheticsTestRequestCertificateItem) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SyntheticsTestRequestCertificateItem) MarshalJSON ¶

func (o SyntheticsTestRequestCertificateItem) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestRequestCertificateItem) SetContent ¶

SetContent gets a reference to the given string and assigns it to the Content field.

func (*SyntheticsTestRequestCertificateItem) SetFilename ¶

func (o *SyntheticsTestRequestCertificateItem) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (*SyntheticsTestRequestCertificateItem) SetUpdatedAt ¶

func (o *SyntheticsTestRequestCertificateItem) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*SyntheticsTestRequestCertificateItem) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTestRequestCertificateItem) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTestRequestProxy ¶ added in v1.8.0

type SyntheticsTestRequestProxy struct {
	// Headers to include when performing the test.
	Headers map[string]string `json:"headers,omitempty"`
	// URL of the proxy to perform the test.
	Url string `json:"url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTestRequestProxy The proxy to perform the test.

func NewSyntheticsTestRequestProxy ¶ added in v1.8.0

func NewSyntheticsTestRequestProxy(url string) *SyntheticsTestRequestProxy

NewSyntheticsTestRequestProxy instantiates a new SyntheticsTestRequestProxy 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 NewSyntheticsTestRequestProxyWithDefaults ¶ added in v1.8.0

func NewSyntheticsTestRequestProxyWithDefaults() *SyntheticsTestRequestProxy

NewSyntheticsTestRequestProxyWithDefaults instantiates a new SyntheticsTestRequestProxy 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 (*SyntheticsTestRequestProxy) GetHeaders ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*SyntheticsTestRequestProxy) GetHeadersOk ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) GetHeadersOk() (*map[string]string, bool)

GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTestRequestProxy) GetUrl ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) GetUrl() string

GetUrl returns the Url field value.

func (*SyntheticsTestRequestProxy) GetUrlOk ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*SyntheticsTestRequestProxy) HasHeaders ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (SyntheticsTestRequestProxy) MarshalJSON ¶ added in v1.8.0

func (o SyntheticsTestRequestProxy) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTestRequestProxy) SetHeaders ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*SyntheticsTestRequestProxy) SetUrl ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) SetUrl(v string)

SetUrl sets field value.

func (*SyntheticsTestRequestProxy) UnmarshalJSON ¶ added in v1.8.0

func (o *SyntheticsTestRequestProxy) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTiming ¶

type SyntheticsTiming struct {
	// The duration in millisecond of the DNS lookup.
	Dns *float64 `json:"dns,omitempty"`
	// The time in millisecond to download the response.
	Download *float64 `json:"download,omitempty"`
	// The time in millisecond to first byte.
	FirstByte *float64 `json:"firstByte,omitempty"`
	// The duration in millisecond of the TLS handshake.
	Handshake *float64 `json:"handshake,omitempty"`
	// The time in millisecond spent during redirections.
	Redirect *float64 `json:"redirect,omitempty"`
	// The duration in millisecond of the TLS handshake.
	Ssl *float64 `json:"ssl,omitempty"`
	// Time in millisecond to establish the TCP connection.
	Tcp *float64 `json:"tcp,omitempty"`
	// The overall time in millisecond the request took to be processed.
	Total *float64 `json:"total,omitempty"`
	// Time spent in millisecond waiting for a response.
	Wait *float64 `json:"wait,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTiming Object containing all metrics and their values collected for a Synthetic API test. Learn more about those metrics in [Synthetics documentation](https://docs.datadoghq.com/synthetics/#metrics).

func NewSyntheticsTiming ¶

func NewSyntheticsTiming() *SyntheticsTiming

NewSyntheticsTiming instantiates a new SyntheticsTiming 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 NewSyntheticsTimingWithDefaults ¶

func NewSyntheticsTimingWithDefaults() *SyntheticsTiming

NewSyntheticsTimingWithDefaults instantiates a new SyntheticsTiming 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 (*SyntheticsTiming) GetDns ¶

func (o *SyntheticsTiming) GetDns() float64

GetDns returns the Dns field value if set, zero value otherwise.

func (*SyntheticsTiming) GetDnsOk ¶

func (o *SyntheticsTiming) GetDnsOk() (*float64, bool)

GetDnsOk returns a tuple with the Dns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetDownload ¶

func (o *SyntheticsTiming) GetDownload() float64

GetDownload returns the Download field value if set, zero value otherwise.

func (*SyntheticsTiming) GetDownloadOk ¶

func (o *SyntheticsTiming) GetDownloadOk() (*float64, bool)

GetDownloadOk returns a tuple with the Download field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetFirstByte ¶

func (o *SyntheticsTiming) GetFirstByte() float64

GetFirstByte returns the FirstByte field value if set, zero value otherwise.

func (*SyntheticsTiming) GetFirstByteOk ¶

func (o *SyntheticsTiming) GetFirstByteOk() (*float64, bool)

GetFirstByteOk returns a tuple with the FirstByte field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetHandshake ¶

func (o *SyntheticsTiming) GetHandshake() float64

GetHandshake returns the Handshake field value if set, zero value otherwise.

func (*SyntheticsTiming) GetHandshakeOk ¶

func (o *SyntheticsTiming) GetHandshakeOk() (*float64, bool)

GetHandshakeOk returns a tuple with the Handshake field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetRedirect ¶

func (o *SyntheticsTiming) GetRedirect() float64

GetRedirect returns the Redirect field value if set, zero value otherwise.

func (*SyntheticsTiming) GetRedirectOk ¶

func (o *SyntheticsTiming) GetRedirectOk() (*float64, bool)

GetRedirectOk returns a tuple with the Redirect field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetSsl ¶

func (o *SyntheticsTiming) GetSsl() float64

GetSsl returns the Ssl field value if set, zero value otherwise.

func (*SyntheticsTiming) GetSslOk ¶

func (o *SyntheticsTiming) GetSslOk() (*float64, bool)

GetSslOk returns a tuple with the Ssl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetTcp ¶

func (o *SyntheticsTiming) GetTcp() float64

GetTcp returns the Tcp field value if set, zero value otherwise.

func (*SyntheticsTiming) GetTcpOk ¶

func (o *SyntheticsTiming) GetTcpOk() (*float64, bool)

GetTcpOk returns a tuple with the Tcp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetTotal ¶

func (o *SyntheticsTiming) GetTotal() float64

GetTotal returns the Total field value if set, zero value otherwise.

func (*SyntheticsTiming) GetTotalOk ¶

func (o *SyntheticsTiming) GetTotalOk() (*float64, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) GetWait ¶

func (o *SyntheticsTiming) GetWait() float64

GetWait returns the Wait field value if set, zero value otherwise.

func (*SyntheticsTiming) GetWaitOk ¶

func (o *SyntheticsTiming) GetWaitOk() (*float64, bool)

GetWaitOk returns a tuple with the Wait field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTiming) HasDns ¶

func (o *SyntheticsTiming) HasDns() bool

HasDns returns a boolean if a field has been set.

func (*SyntheticsTiming) HasDownload ¶

func (o *SyntheticsTiming) HasDownload() bool

HasDownload returns a boolean if a field has been set.

func (*SyntheticsTiming) HasFirstByte ¶

func (o *SyntheticsTiming) HasFirstByte() bool

HasFirstByte returns a boolean if a field has been set.

func (*SyntheticsTiming) HasHandshake ¶

func (o *SyntheticsTiming) HasHandshake() bool

HasHandshake returns a boolean if a field has been set.

func (*SyntheticsTiming) HasRedirect ¶

func (o *SyntheticsTiming) HasRedirect() bool

HasRedirect returns a boolean if a field has been set.

func (*SyntheticsTiming) HasSsl ¶

func (o *SyntheticsTiming) HasSsl() bool

HasSsl returns a boolean if a field has been set.

func (*SyntheticsTiming) HasTcp ¶

func (o *SyntheticsTiming) HasTcp() bool

HasTcp returns a boolean if a field has been set.

func (*SyntheticsTiming) HasTotal ¶

func (o *SyntheticsTiming) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*SyntheticsTiming) HasWait ¶

func (o *SyntheticsTiming) HasWait() bool

HasWait returns a boolean if a field has been set.

func (SyntheticsTiming) MarshalJSON ¶

func (o SyntheticsTiming) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTiming) SetDns ¶

func (o *SyntheticsTiming) SetDns(v float64)

SetDns gets a reference to the given float64 and assigns it to the Dns field.

func (*SyntheticsTiming) SetDownload ¶

func (o *SyntheticsTiming) SetDownload(v float64)

SetDownload gets a reference to the given float64 and assigns it to the Download field.

func (*SyntheticsTiming) SetFirstByte ¶

func (o *SyntheticsTiming) SetFirstByte(v float64)

SetFirstByte gets a reference to the given float64 and assigns it to the FirstByte field.

func (*SyntheticsTiming) SetHandshake ¶

func (o *SyntheticsTiming) SetHandshake(v float64)

SetHandshake gets a reference to the given float64 and assigns it to the Handshake field.

func (*SyntheticsTiming) SetRedirect ¶

func (o *SyntheticsTiming) SetRedirect(v float64)

SetRedirect gets a reference to the given float64 and assigns it to the Redirect field.

func (*SyntheticsTiming) SetSsl ¶

func (o *SyntheticsTiming) SetSsl(v float64)

SetSsl gets a reference to the given float64 and assigns it to the Ssl field.

func (*SyntheticsTiming) SetTcp ¶

func (o *SyntheticsTiming) SetTcp(v float64)

SetTcp gets a reference to the given float64 and assigns it to the Tcp field.

func (*SyntheticsTiming) SetTotal ¶

func (o *SyntheticsTiming) SetTotal(v float64)

SetTotal gets a reference to the given float64 and assigns it to the Total field.

func (*SyntheticsTiming) SetWait ¶

func (o *SyntheticsTiming) SetWait(v float64)

SetWait gets a reference to the given float64 and assigns it to the Wait field.

func (*SyntheticsTiming) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTiming) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTriggerBody ¶ added in v1.7.0

type SyntheticsTriggerBody struct {
	// Individual synthetics test.
	Tests []SyntheticsTriggerTest `json:"tests"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTriggerBody Object describing the synthetics tests to trigger.

func NewSyntheticsTriggerBody ¶ added in v1.7.0

func NewSyntheticsTriggerBody(tests []SyntheticsTriggerTest) *SyntheticsTriggerBody

NewSyntheticsTriggerBody instantiates a new SyntheticsTriggerBody 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 NewSyntheticsTriggerBodyWithDefaults ¶ added in v1.7.0

func NewSyntheticsTriggerBodyWithDefaults() *SyntheticsTriggerBody

NewSyntheticsTriggerBodyWithDefaults instantiates a new SyntheticsTriggerBody 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 (*SyntheticsTriggerBody) GetTests ¶ added in v1.7.0

GetTests returns the Tests field value.

func (*SyntheticsTriggerBody) GetTestsOk ¶ added in v1.7.0

func (o *SyntheticsTriggerBody) GetTestsOk() (*[]SyntheticsTriggerTest, bool)

GetTestsOk returns a tuple with the Tests field value and a boolean to check if the value has been set.

func (SyntheticsTriggerBody) MarshalJSON ¶ added in v1.7.0

func (o SyntheticsTriggerBody) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTriggerBody) SetTests ¶ added in v1.7.0

SetTests sets field value.

func (*SyntheticsTriggerBody) UnmarshalJSON ¶ added in v1.7.0

func (o *SyntheticsTriggerBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTriggerCITestLocation ¶

type SyntheticsTriggerCITestLocation struct {
	// Unique identifier of the location.
	Id *int64 `json:"id,omitempty"`
	// Name of the location.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTriggerCITestLocation Synthetics location.

func NewSyntheticsTriggerCITestLocation ¶

func NewSyntheticsTriggerCITestLocation() *SyntheticsTriggerCITestLocation

NewSyntheticsTriggerCITestLocation instantiates a new SyntheticsTriggerCITestLocation 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 NewSyntheticsTriggerCITestLocationWithDefaults ¶

func NewSyntheticsTriggerCITestLocationWithDefaults() *SyntheticsTriggerCITestLocation

NewSyntheticsTriggerCITestLocationWithDefaults instantiates a new SyntheticsTriggerCITestLocation 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 (*SyntheticsTriggerCITestLocation) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestLocation) GetIdOk ¶

func (o *SyntheticsTriggerCITestLocation) GetIdOk() (*int64, 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 (*SyntheticsTriggerCITestLocation) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestLocation) GetNameOk ¶

func (o *SyntheticsTriggerCITestLocation) 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 (*SyntheticsTriggerCITestLocation) HasId ¶

HasId returns a boolean if a field has been set.

func (*SyntheticsTriggerCITestLocation) HasName ¶

HasName returns a boolean if a field has been set.

func (SyntheticsTriggerCITestLocation) MarshalJSON ¶

func (o SyntheticsTriggerCITestLocation) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTriggerCITestLocation) SetId ¶

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*SyntheticsTriggerCITestLocation) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SyntheticsTriggerCITestLocation) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTriggerCITestLocation) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTriggerCITestRunResult ¶

type SyntheticsTriggerCITestRunResult struct {
	// The device ID.
	Device *SyntheticsDeviceID `json:"device,omitempty"`
	// The location ID of the test run.
	Location *int64 `json:"location,omitempty"`
	// The public ID of the Synthetics test.
	PublicId *string `json:"public_id,omitempty"`
	// ID of the result.
	ResultId *string `json:"result_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTriggerCITestRunResult Information about a single test run.

func NewSyntheticsTriggerCITestRunResult ¶

func NewSyntheticsTriggerCITestRunResult() *SyntheticsTriggerCITestRunResult

NewSyntheticsTriggerCITestRunResult instantiates a new SyntheticsTriggerCITestRunResult 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 NewSyntheticsTriggerCITestRunResultWithDefaults ¶

func NewSyntheticsTriggerCITestRunResultWithDefaults() *SyntheticsTriggerCITestRunResult

NewSyntheticsTriggerCITestRunResultWithDefaults instantiates a new SyntheticsTriggerCITestRunResult 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 (*SyntheticsTriggerCITestRunResult) GetDevice ¶

GetDevice returns the Device field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestRunResult) GetDeviceOk ¶

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTriggerCITestRunResult) GetLocation ¶

func (o *SyntheticsTriggerCITestRunResult) GetLocation() int64

GetLocation returns the Location field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestRunResult) GetLocationOk ¶

func (o *SyntheticsTriggerCITestRunResult) GetLocationOk() (*int64, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTriggerCITestRunResult) GetPublicId ¶

func (o *SyntheticsTriggerCITestRunResult) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestRunResult) GetPublicIdOk ¶

func (o *SyntheticsTriggerCITestRunResult) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTriggerCITestRunResult) GetResultId ¶

func (o *SyntheticsTriggerCITestRunResult) GetResultId() string

GetResultId returns the ResultId field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestRunResult) GetResultIdOk ¶

func (o *SyntheticsTriggerCITestRunResult) GetResultIdOk() (*string, bool)

GetResultIdOk returns a tuple with the ResultId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTriggerCITestRunResult) HasDevice ¶

func (o *SyntheticsTriggerCITestRunResult) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*SyntheticsTriggerCITestRunResult) HasLocation ¶

func (o *SyntheticsTriggerCITestRunResult) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*SyntheticsTriggerCITestRunResult) HasPublicId ¶

func (o *SyntheticsTriggerCITestRunResult) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*SyntheticsTriggerCITestRunResult) HasResultId ¶

func (o *SyntheticsTriggerCITestRunResult) HasResultId() bool

HasResultId returns a boolean if a field has been set.

func (SyntheticsTriggerCITestRunResult) MarshalJSON ¶

func (o SyntheticsTriggerCITestRunResult) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTriggerCITestRunResult) SetDevice ¶

SetDevice gets a reference to the given SyntheticsDeviceID and assigns it to the Device field.

func (*SyntheticsTriggerCITestRunResult) SetLocation ¶

func (o *SyntheticsTriggerCITestRunResult) SetLocation(v int64)

SetLocation gets a reference to the given int64 and assigns it to the Location field.

func (*SyntheticsTriggerCITestRunResult) SetPublicId ¶

func (o *SyntheticsTriggerCITestRunResult) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*SyntheticsTriggerCITestRunResult) SetResultId ¶

func (o *SyntheticsTriggerCITestRunResult) SetResultId(v string)

SetResultId gets a reference to the given string and assigns it to the ResultId field.

func (*SyntheticsTriggerCITestRunResult) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTriggerCITestRunResult) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsTriggerCITestsResponse ¶

type SyntheticsTriggerCITestsResponse struct {
	// The public ID of the batch triggered.
	BatchId NullableString `json:"batch_id,omitempty"`
	// List of Synthetics locations.
	Locations []SyntheticsTriggerCITestLocation `json:"locations,omitempty"`
	// Information about the tests runs.
	Results []SyntheticsTriggerCITestRunResult `json:"results,omitempty"`
	// The public IDs of the Synthetics test triggered.
	TriggeredCheckIds []string `json:"triggered_check_ids,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTriggerCITestsResponse Object containing information about the tests triggered.

func NewSyntheticsTriggerCITestsResponse ¶

func NewSyntheticsTriggerCITestsResponse() *SyntheticsTriggerCITestsResponse

NewSyntheticsTriggerCITestsResponse instantiates a new SyntheticsTriggerCITestsResponse 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 NewSyntheticsTriggerCITestsResponseWithDefaults ¶

func NewSyntheticsTriggerCITestsResponseWithDefaults() *SyntheticsTriggerCITestsResponse

NewSyntheticsTriggerCITestsResponseWithDefaults instantiates a new SyntheticsTriggerCITestsResponse 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 (*SyntheticsTriggerCITestsResponse) GetBatchId ¶ added in v1.3.0

func (o *SyntheticsTriggerCITestsResponse) GetBatchId() string

GetBatchId returns the BatchId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SyntheticsTriggerCITestsResponse) GetBatchIdOk ¶ added in v1.3.0

func (o *SyntheticsTriggerCITestsResponse) GetBatchIdOk() (*string, bool)

GetBatchIdOk returns a tuple with the BatchId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*SyntheticsTriggerCITestsResponse) GetLocations ¶

GetLocations returns the Locations field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestsResponse) GetLocationsOk ¶

GetLocationsOk returns a tuple with the Locations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTriggerCITestsResponse) GetResults ¶

GetResults returns the Results field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestsResponse) GetResultsOk ¶

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 (*SyntheticsTriggerCITestsResponse) GetTriggeredCheckIds ¶

func (o *SyntheticsTriggerCITestsResponse) GetTriggeredCheckIds() []string

GetTriggeredCheckIds returns the TriggeredCheckIds field value if set, zero value otherwise.

func (*SyntheticsTriggerCITestsResponse) GetTriggeredCheckIdsOk ¶

func (o *SyntheticsTriggerCITestsResponse) GetTriggeredCheckIdsOk() (*[]string, bool)

GetTriggeredCheckIdsOk returns a tuple with the TriggeredCheckIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTriggerCITestsResponse) HasBatchId ¶ added in v1.3.0

func (o *SyntheticsTriggerCITestsResponse) HasBatchId() bool

HasBatchId returns a boolean if a field has been set.

func (*SyntheticsTriggerCITestsResponse) HasLocations ¶

func (o *SyntheticsTriggerCITestsResponse) HasLocations() bool

HasLocations returns a boolean if a field has been set.

func (*SyntheticsTriggerCITestsResponse) HasResults ¶

func (o *SyntheticsTriggerCITestsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*SyntheticsTriggerCITestsResponse) HasTriggeredCheckIds ¶

func (o *SyntheticsTriggerCITestsResponse) HasTriggeredCheckIds() bool

HasTriggeredCheckIds returns a boolean if a field has been set.

func (SyntheticsTriggerCITestsResponse) MarshalJSON ¶

func (o SyntheticsTriggerCITestsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTriggerCITestsResponse) SetBatchId ¶ added in v1.3.0

func (o *SyntheticsTriggerCITestsResponse) SetBatchId(v string)

SetBatchId gets a reference to the given NullableString and assigns it to the BatchId field.

func (*SyntheticsTriggerCITestsResponse) SetBatchIdNil ¶ added in v1.7.0

func (o *SyntheticsTriggerCITestsResponse) SetBatchIdNil()

SetBatchIdNil sets the value for BatchId to be an explicit nil.

func (*SyntheticsTriggerCITestsResponse) SetLocations ¶

SetLocations gets a reference to the given []SyntheticsTriggerCITestLocation and assigns it to the Locations field.

func (*SyntheticsTriggerCITestsResponse) SetResults ¶

SetResults gets a reference to the given []SyntheticsTriggerCITestRunResult and assigns it to the Results field.

func (*SyntheticsTriggerCITestsResponse) SetTriggeredCheckIds ¶

func (o *SyntheticsTriggerCITestsResponse) SetTriggeredCheckIds(v []string)

SetTriggeredCheckIds gets a reference to the given []string and assigns it to the TriggeredCheckIds field.

func (*SyntheticsTriggerCITestsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsTriggerCITestsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*SyntheticsTriggerCITestsResponse) UnsetBatchId ¶ added in v1.7.0

func (o *SyntheticsTriggerCITestsResponse) UnsetBatchId()

UnsetBatchId ensures that no value is present for BatchId, not even an explicit nil.

type SyntheticsTriggerTest ¶ added in v1.7.0

type SyntheticsTriggerTest struct {
	// Metadata for the Synthetics tests run.
	Metadata *SyntheticsCIBatchMetadata `json:"metadata,omitempty"`
	// The public ID of the Synthetics test to trigger.
	PublicId string `json:"public_id"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsTriggerTest Test configuration for Synthetics

func NewSyntheticsTriggerTest ¶ added in v1.7.0

func NewSyntheticsTriggerTest(publicId string) *SyntheticsTriggerTest

NewSyntheticsTriggerTest instantiates a new SyntheticsTriggerTest 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 NewSyntheticsTriggerTestWithDefaults ¶ added in v1.7.0

func NewSyntheticsTriggerTestWithDefaults() *SyntheticsTriggerTest

NewSyntheticsTriggerTestWithDefaults instantiates a new SyntheticsTriggerTest 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 (*SyntheticsTriggerTest) GetMetadata ¶ added in v1.7.0

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SyntheticsTriggerTest) GetMetadataOk ¶ added in v1.7.0

func (o *SyntheticsTriggerTest) GetMetadataOk() (*SyntheticsCIBatchMetadata, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsTriggerTest) GetPublicId ¶ added in v1.7.0

func (o *SyntheticsTriggerTest) GetPublicId() string

GetPublicId returns the PublicId field value.

func (*SyntheticsTriggerTest) GetPublicIdOk ¶ added in v1.7.0

func (o *SyntheticsTriggerTest) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value and a boolean to check if the value has been set.

func (*SyntheticsTriggerTest) HasMetadata ¶ added in v1.7.0

func (o *SyntheticsTriggerTest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (SyntheticsTriggerTest) MarshalJSON ¶ added in v1.7.0

func (o SyntheticsTriggerTest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsTriggerTest) SetMetadata ¶ added in v1.7.0

SetMetadata gets a reference to the given SyntheticsCIBatchMetadata and assigns it to the Metadata field.

func (*SyntheticsTriggerTest) SetPublicId ¶ added in v1.7.0

func (o *SyntheticsTriggerTest) SetPublicId(v string)

SetPublicId sets field value.

func (*SyntheticsTriggerTest) UnmarshalJSON ¶ added in v1.7.0

func (o *SyntheticsTriggerTest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsUpdateTestPauseStatusPayload ¶

type SyntheticsUpdateTestPauseStatusPayload struct {
	// Define whether you want to start (`live`) or pause (`paused`) a
	// Synthetic test.
	NewStatus *SyntheticsTestPauseStatus `json:"new_status,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsUpdateTestPauseStatusPayload Object to start or pause an existing Synthetic test.

func NewSyntheticsUpdateTestPauseStatusPayload ¶

func NewSyntheticsUpdateTestPauseStatusPayload() *SyntheticsUpdateTestPauseStatusPayload

NewSyntheticsUpdateTestPauseStatusPayload instantiates a new SyntheticsUpdateTestPauseStatusPayload 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 NewSyntheticsUpdateTestPauseStatusPayloadWithDefaults ¶

func NewSyntheticsUpdateTestPauseStatusPayloadWithDefaults() *SyntheticsUpdateTestPauseStatusPayload

NewSyntheticsUpdateTestPauseStatusPayloadWithDefaults instantiates a new SyntheticsUpdateTestPauseStatusPayload 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 (*SyntheticsUpdateTestPauseStatusPayload) GetNewStatus ¶

GetNewStatus returns the NewStatus field value if set, zero value otherwise.

func (*SyntheticsUpdateTestPauseStatusPayload) GetNewStatusOk ¶

GetNewStatusOk returns a tuple with the NewStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsUpdateTestPauseStatusPayload) HasNewStatus ¶

func (o *SyntheticsUpdateTestPauseStatusPayload) HasNewStatus() bool

HasNewStatus returns a boolean if a field has been set.

func (SyntheticsUpdateTestPauseStatusPayload) MarshalJSON ¶

func (o SyntheticsUpdateTestPauseStatusPayload) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsUpdateTestPauseStatusPayload) SetNewStatus ¶

SetNewStatus gets a reference to the given SyntheticsTestPauseStatus and assigns it to the NewStatus field.

func (*SyntheticsUpdateTestPauseStatusPayload) UnmarshalJSON ¶ added in v1.3.0

func (o *SyntheticsUpdateTestPauseStatusPayload) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsVariableParser ¶

type SyntheticsVariableParser struct {
	// Type of parser for a Synthetics global variable from a synthetics test.
	Type SyntheticsGlobalVariableParserType `json:"type"`
	// Regex or JSON path used for the parser. Not used with type `raw`.
	Value *string `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SyntheticsVariableParser Details of the parser to use for the global variable.

func NewSyntheticsVariableParser ¶

func NewSyntheticsVariableParser(typeVar SyntheticsGlobalVariableParserType) *SyntheticsVariableParser

NewSyntheticsVariableParser instantiates a new SyntheticsVariableParser 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 NewSyntheticsVariableParserWithDefaults ¶

func NewSyntheticsVariableParserWithDefaults() *SyntheticsVariableParser

NewSyntheticsVariableParserWithDefaults instantiates a new SyntheticsVariableParser 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 (*SyntheticsVariableParser) GetType ¶

GetType returns the Type field value.

func (*SyntheticsVariableParser) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SyntheticsVariableParser) GetValue ¶

func (o *SyntheticsVariableParser) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*SyntheticsVariableParser) GetValueOk ¶

func (o *SyntheticsVariableParser) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SyntheticsVariableParser) HasValue ¶

func (o *SyntheticsVariableParser) HasValue() bool

HasValue returns a boolean if a field has been set.

func (SyntheticsVariableParser) MarshalJSON ¶

func (o SyntheticsVariableParser) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*SyntheticsVariableParser) SetType ¶

SetType sets field value.

func (*SyntheticsVariableParser) SetValue ¶

func (o *SyntheticsVariableParser) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*SyntheticsVariableParser) UnmarshalJSON ¶

func (o *SyntheticsVariableParser) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type SyntheticsWarningType ¶

type SyntheticsWarningType string

SyntheticsWarningType User locator used.

const (
	SYNTHETICSWARNINGTYPE_USER_LOCATOR SyntheticsWarningType = "user_locator"
)

List of SyntheticsWarningType.

func NewSyntheticsWarningTypeFromValue ¶

func NewSyntheticsWarningTypeFromValue(v string) (*SyntheticsWarningType, error)

NewSyntheticsWarningTypeFromValue returns a pointer to a valid SyntheticsWarningType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*SyntheticsWarningType) GetAllowedValues ¶ added in v1.1.0

func (v *SyntheticsWarningType) GetAllowedValues() []SyntheticsWarningType

GetAllowedValues reeturns the list of possible values.

func (SyntheticsWarningType) IsValid ¶

func (v SyntheticsWarningType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (SyntheticsWarningType) Ptr ¶

Ptr returns reference to SyntheticsWarningType value.

func (*SyntheticsWarningType) UnmarshalJSON ¶

func (v *SyntheticsWarningType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TableWidgetCellDisplayMode ¶

type TableWidgetCellDisplayMode string

TableWidgetCellDisplayMode Define a display mode for the table cell.

const (
	TABLEWIDGETCELLDISPLAYMODE_NUMBER TableWidgetCellDisplayMode = "number"
	TABLEWIDGETCELLDISPLAYMODE_BAR    TableWidgetCellDisplayMode = "bar"
)

List of TableWidgetCellDisplayMode.

func NewTableWidgetCellDisplayModeFromValue ¶

func NewTableWidgetCellDisplayModeFromValue(v string) (*TableWidgetCellDisplayMode, error)

NewTableWidgetCellDisplayModeFromValue returns a pointer to a valid TableWidgetCellDisplayMode for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TableWidgetCellDisplayMode) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (TableWidgetCellDisplayMode) IsValid ¶

func (v TableWidgetCellDisplayMode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TableWidgetCellDisplayMode) Ptr ¶

Ptr returns reference to TableWidgetCellDisplayMode value.

func (*TableWidgetCellDisplayMode) UnmarshalJSON ¶

func (v *TableWidgetCellDisplayMode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TableWidgetDefinition ¶

type TableWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// Controls the display of the search bar.
	HasSearchBar *TableWidgetHasSearchBar `json:"has_search_bar,omitempty"`
	// Widget definition.
	Requests []TableWidgetRequest `json:"requests"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the table widget.
	Type TableWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TableWidgetDefinition The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.

func NewTableWidgetDefinition ¶

func NewTableWidgetDefinition(requests []TableWidgetRequest, typeVar TableWidgetDefinitionType) *TableWidgetDefinition

NewTableWidgetDefinition instantiates a new TableWidgetDefinition 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 NewTableWidgetDefinitionWithDefaults ¶

func NewTableWidgetDefinitionWithDefaults() *TableWidgetDefinition

NewTableWidgetDefinitionWithDefaults instantiates a new TableWidgetDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (o *TableWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*TableWidgetDefinition) GetCustomLinksOk ¶

func (o *TableWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetDefinition) GetHasSearchBar ¶

func (o *TableWidgetDefinition) GetHasSearchBar() TableWidgetHasSearchBar

GetHasSearchBar returns the HasSearchBar field value if set, zero value otherwise.

func (*TableWidgetDefinition) GetHasSearchBarOk ¶

func (o *TableWidgetDefinition) GetHasSearchBarOk() (*TableWidgetHasSearchBar, bool)

GetHasSearchBarOk returns a tuple with the HasSearchBar field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetDefinition) GetRequests ¶

func (o *TableWidgetDefinition) GetRequests() []TableWidgetRequest

GetRequests returns the Requests field value.

func (*TableWidgetDefinition) GetRequestsOk ¶

func (o *TableWidgetDefinition) GetRequestsOk() (*[]TableWidgetRequest, bool)

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*TableWidgetDefinition) GetTime ¶

func (o *TableWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*TableWidgetDefinition) GetTimeOk ¶

func (o *TableWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetDefinition) GetTitle ¶

func (o *TableWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*TableWidgetDefinition) GetTitleAlign ¶

func (o *TableWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*TableWidgetDefinition) GetTitleAlignOk ¶

func (o *TableWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetDefinition) GetTitleOk ¶

func (o *TableWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetDefinition) GetTitleSize ¶

func (o *TableWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*TableWidgetDefinition) GetTitleSizeOk ¶

func (o *TableWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*TableWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *TableWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*TableWidgetDefinition) HasHasSearchBar ¶

func (o *TableWidgetDefinition) HasHasSearchBar() bool

HasHasSearchBar returns a boolean if a field has been set.

func (*TableWidgetDefinition) HasTime ¶

func (o *TableWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TableWidgetDefinition) HasTitle ¶

func (o *TableWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*TableWidgetDefinition) HasTitleAlign ¶

func (o *TableWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*TableWidgetDefinition) HasTitleSize ¶

func (o *TableWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (TableWidgetDefinition) MarshalJSON ¶

func (o TableWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (o *TableWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*TableWidgetDefinition) SetHasSearchBar ¶

func (o *TableWidgetDefinition) SetHasSearchBar(v TableWidgetHasSearchBar)

SetHasSearchBar gets a reference to the given TableWidgetHasSearchBar and assigns it to the HasSearchBar field.

func (*TableWidgetDefinition) SetRequests ¶

func (o *TableWidgetDefinition) SetRequests(v []TableWidgetRequest)

SetRequests sets field value.

func (*TableWidgetDefinition) SetTime ¶

func (o *TableWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*TableWidgetDefinition) SetTitle ¶

func (o *TableWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*TableWidgetDefinition) SetTitleAlign ¶

func (o *TableWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*TableWidgetDefinition) SetTitleSize ¶

func (o *TableWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*TableWidgetDefinition) SetType ¶

SetType sets field value.

func (*TableWidgetDefinition) UnmarshalJSON ¶

func (o *TableWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TableWidgetDefinitionType ¶

type TableWidgetDefinitionType string

TableWidgetDefinitionType Type of the table widget.

const (
	TABLEWIDGETDEFINITIONTYPE_QUERY_TABLE TableWidgetDefinitionType = "query_table"
)

List of TableWidgetDefinitionType.

func NewTableWidgetDefinitionTypeFromValue ¶

func NewTableWidgetDefinitionTypeFromValue(v string) (*TableWidgetDefinitionType, error)

NewTableWidgetDefinitionTypeFromValue returns a pointer to a valid TableWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TableWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

func (v *TableWidgetDefinitionType) GetAllowedValues() []TableWidgetDefinitionType

GetAllowedValues reeturns the list of possible values.

func (TableWidgetDefinitionType) IsValid ¶

func (v TableWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TableWidgetDefinitionType) Ptr ¶

Ptr returns reference to TableWidgetDefinitionType value.

func (*TableWidgetDefinitionType) UnmarshalJSON ¶

func (v *TableWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TableWidgetHasSearchBar ¶

type TableWidgetHasSearchBar string

TableWidgetHasSearchBar Controls the display of the search bar.

const (
	TABLEWIDGETHASSEARCHBAR_ALWAYS TableWidgetHasSearchBar = "always"
	TABLEWIDGETHASSEARCHBAR_NEVER  TableWidgetHasSearchBar = "never"
	TABLEWIDGETHASSEARCHBAR_AUTO   TableWidgetHasSearchBar = "auto"
)

List of TableWidgetHasSearchBar.

func NewTableWidgetHasSearchBarFromValue ¶

func NewTableWidgetHasSearchBarFromValue(v string) (*TableWidgetHasSearchBar, error)

NewTableWidgetHasSearchBarFromValue returns a pointer to a valid TableWidgetHasSearchBar for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TableWidgetHasSearchBar) GetAllowedValues ¶ added in v1.1.0

func (v *TableWidgetHasSearchBar) GetAllowedValues() []TableWidgetHasSearchBar

GetAllowedValues reeturns the list of possible values.

func (TableWidgetHasSearchBar) IsValid ¶

func (v TableWidgetHasSearchBar) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TableWidgetHasSearchBar) Ptr ¶

Ptr returns reference to TableWidgetHasSearchBar value.

func (*TableWidgetHasSearchBar) UnmarshalJSON ¶

func (v *TableWidgetHasSearchBar) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TableWidgetRequest ¶

type TableWidgetRequest struct {
	// Aggregator used for the request.
	Aggregator *WidgetAggregator `json:"aggregator,omitempty"`
	// The column name (defaults to the metric name).
	Alias *string `json:"alias,omitempty"`
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The APM stats query for table and distributions widgets.
	ApmStatsQuery *ApmStatsQueryDefinition `json:"apm_stats_query,omitempty"`
	// A list of display modes for each table cell.
	CellDisplayMode []TableWidgetCellDisplayMode `json:"cell_display_mode,omitempty"`
	// List of conditional formats.
	ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// For metric queries, the number of lines to show in the table. Only one request should have this property.
	Limit *int64 `json:"limit,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// Widget sorting methods.
	Order *WidgetSort `json:"order,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Query definition.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TableWidgetRequest Updated table widget.

func NewTableWidgetRequest ¶

func NewTableWidgetRequest() *TableWidgetRequest

NewTableWidgetRequest instantiates a new TableWidgetRequest 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 NewTableWidgetRequestWithDefaults ¶

func NewTableWidgetRequestWithDefaults() *TableWidgetRequest

NewTableWidgetRequestWithDefaults instantiates a new TableWidgetRequest 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 (*TableWidgetRequest) GetAggregator ¶

func (o *TableWidgetRequest) GetAggregator() WidgetAggregator

GetAggregator returns the Aggregator field value if set, zero value otherwise.

func (*TableWidgetRequest) GetAggregatorOk ¶

func (o *TableWidgetRequest) GetAggregatorOk() (*WidgetAggregator, bool)

GetAggregatorOk returns a tuple with the Aggregator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetAlias ¶

func (o *TableWidgetRequest) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*TableWidgetRequest) GetAliasOk ¶

func (o *TableWidgetRequest) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetApmQuery ¶

func (o *TableWidgetRequest) GetApmQuery() LogQueryDefinition

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetApmQueryOk ¶

func (o *TableWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

GetApmQueryOk returns a tuple with the ApmQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetApmStatsQuery ¶

func (o *TableWidgetRequest) GetApmStatsQuery() ApmStatsQueryDefinition

GetApmStatsQuery returns the ApmStatsQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetApmStatsQueryOk ¶

func (o *TableWidgetRequest) GetApmStatsQueryOk() (*ApmStatsQueryDefinition, bool)

GetApmStatsQueryOk returns a tuple with the ApmStatsQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetCellDisplayMode ¶

func (o *TableWidgetRequest) GetCellDisplayMode() []TableWidgetCellDisplayMode

GetCellDisplayMode returns the CellDisplayMode field value if set, zero value otherwise.

func (*TableWidgetRequest) GetCellDisplayModeOk ¶

func (o *TableWidgetRequest) GetCellDisplayModeOk() (*[]TableWidgetCellDisplayMode, bool)

GetCellDisplayModeOk returns a tuple with the CellDisplayMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetConditionalFormats ¶

func (o *TableWidgetRequest) GetConditionalFormats() []WidgetConditionalFormat

GetConditionalFormats returns the ConditionalFormats field value if set, zero value otherwise.

func (*TableWidgetRequest) GetConditionalFormatsOk ¶

func (o *TableWidgetRequest) GetConditionalFormatsOk() (*[]WidgetConditionalFormat, bool)

GetConditionalFormatsOk returns a tuple with the ConditionalFormats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetEventQuery ¶

func (o *TableWidgetRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetEventQueryOk ¶

func (o *TableWidgetRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

GetEventQueryOk returns a tuple with the EventQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetFormulas ¶ added in v1.3.0

func (o *TableWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*TableWidgetRequest) GetFormulasOk ¶ added in v1.3.0

func (o *TableWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetLimit ¶

func (o *TableWidgetRequest) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*TableWidgetRequest) GetLimitOk ¶

func (o *TableWidgetRequest) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetLogQuery ¶

func (o *TableWidgetRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetLogQueryOk ¶

func (o *TableWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

GetLogQueryOk returns a tuple with the LogQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetNetworkQuery ¶

func (o *TableWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetNetworkQueryOk ¶

func (o *TableWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

GetNetworkQueryOk returns a tuple with the NetworkQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetOrder ¶

func (o *TableWidgetRequest) GetOrder() WidgetSort

GetOrder returns the Order field value if set, zero value otherwise.

func (*TableWidgetRequest) GetOrderOk ¶

func (o *TableWidgetRequest) GetOrderOk() (*WidgetSort, bool)

GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetProcessQuery ¶

func (o *TableWidgetRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetProcessQueryOk ¶

func (o *TableWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetProfileMetricsQuery ¶

func (o *TableWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetProfileMetricsQueryOk ¶

func (o *TableWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

GetProfileMetricsQueryOk returns a tuple with the ProfileMetricsQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetQ ¶

func (o *TableWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*TableWidgetRequest) GetQOk ¶

func (o *TableWidgetRequest) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetQueries ¶ added in v1.3.0

GetQueries returns the Queries field value if set, zero value otherwise.

func (*TableWidgetRequest) GetQueriesOk ¶ added in v1.3.0

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetResponseFormat ¶ added in v1.3.0

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*TableWidgetRequest) GetResponseFormatOk ¶ added in v1.3.0

func (o *TableWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetRumQuery ¶

func (o *TableWidgetRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetRumQueryOk ¶

func (o *TableWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

GetRumQueryOk returns a tuple with the RumQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) GetSecurityQuery ¶

func (o *TableWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*TableWidgetRequest) GetSecurityQueryOk ¶

func (o *TableWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TableWidgetRequest) HasAggregator ¶

func (o *TableWidgetRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*TableWidgetRequest) HasAlias ¶

func (o *TableWidgetRequest) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*TableWidgetRequest) HasApmQuery ¶

func (o *TableWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasApmStatsQuery ¶

func (o *TableWidgetRequest) HasApmStatsQuery() bool

HasApmStatsQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasCellDisplayMode ¶

func (o *TableWidgetRequest) HasCellDisplayMode() bool

HasCellDisplayMode returns a boolean if a field has been set.

func (*TableWidgetRequest) HasConditionalFormats ¶

func (o *TableWidgetRequest) HasConditionalFormats() bool

HasConditionalFormats returns a boolean if a field has been set.

func (*TableWidgetRequest) HasEventQuery ¶

func (o *TableWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasFormulas ¶ added in v1.3.0

func (o *TableWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*TableWidgetRequest) HasLimit ¶

func (o *TableWidgetRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TableWidgetRequest) HasLogQuery ¶

func (o *TableWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasNetworkQuery ¶

func (o *TableWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasOrder ¶

func (o *TableWidgetRequest) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*TableWidgetRequest) HasProcessQuery ¶

func (o *TableWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasProfileMetricsQuery ¶

func (o *TableWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasQ ¶

func (o *TableWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*TableWidgetRequest) HasQueries ¶ added in v1.3.0

func (o *TableWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*TableWidgetRequest) HasResponseFormat ¶ added in v1.3.0

func (o *TableWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (*TableWidgetRequest) HasRumQuery ¶

func (o *TableWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*TableWidgetRequest) HasSecurityQuery ¶

func (o *TableWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (TableWidgetRequest) MarshalJSON ¶

func (o TableWidgetRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TableWidgetRequest) SetAggregator ¶

func (o *TableWidgetRequest) SetAggregator(v WidgetAggregator)

SetAggregator gets a reference to the given WidgetAggregator and assigns it to the Aggregator field.

func (*TableWidgetRequest) SetAlias ¶

func (o *TableWidgetRequest) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*TableWidgetRequest) SetApmQuery ¶

func (o *TableWidgetRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*TableWidgetRequest) SetApmStatsQuery ¶

func (o *TableWidgetRequest) SetApmStatsQuery(v ApmStatsQueryDefinition)

SetApmStatsQuery gets a reference to the given ApmStatsQueryDefinition and assigns it to the ApmStatsQuery field.

func (*TableWidgetRequest) SetCellDisplayMode ¶

func (o *TableWidgetRequest) SetCellDisplayMode(v []TableWidgetCellDisplayMode)

SetCellDisplayMode gets a reference to the given []TableWidgetCellDisplayMode and assigns it to the CellDisplayMode field.

func (*TableWidgetRequest) SetConditionalFormats ¶

func (o *TableWidgetRequest) SetConditionalFormats(v []WidgetConditionalFormat)

SetConditionalFormats gets a reference to the given []WidgetConditionalFormat and assigns it to the ConditionalFormats field.

func (*TableWidgetRequest) SetEventQuery ¶

func (o *TableWidgetRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*TableWidgetRequest) SetFormulas ¶ added in v1.3.0

func (o *TableWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*TableWidgetRequest) SetLimit ¶

func (o *TableWidgetRequest) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*TableWidgetRequest) SetLogQuery ¶

func (o *TableWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*TableWidgetRequest) SetNetworkQuery ¶

func (o *TableWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*TableWidgetRequest) SetOrder ¶

func (o *TableWidgetRequest) SetOrder(v WidgetSort)

SetOrder gets a reference to the given WidgetSort and assigns it to the Order field.

func (*TableWidgetRequest) SetProcessQuery ¶

func (o *TableWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*TableWidgetRequest) SetProfileMetricsQuery ¶

func (o *TableWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*TableWidgetRequest) SetQ ¶

func (o *TableWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*TableWidgetRequest) SetQueries ¶ added in v1.3.0

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*TableWidgetRequest) SetResponseFormat ¶ added in v1.3.0

func (o *TableWidgetRequest) SetResponseFormat(v FormulaAndFunctionResponseFormat)

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*TableWidgetRequest) SetRumQuery ¶

func (o *TableWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*TableWidgetRequest) SetSecurityQuery ¶

func (o *TableWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*TableWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *TableWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TagToHosts ¶

type TagToHosts struct {
	// A list of tags to apply to the host.
	Tags map[string][]string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TagToHosts In this object, the key is the tag, the value is a list of host names that are reporting that tag.

func NewTagToHosts ¶

func NewTagToHosts() *TagToHosts

NewTagToHosts instantiates a new TagToHosts 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 NewTagToHostsWithDefaults ¶

func NewTagToHostsWithDefaults() *TagToHosts

NewTagToHostsWithDefaults instantiates a new TagToHosts 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 (*TagToHosts) GetTags ¶

func (o *TagToHosts) GetTags() map[string][]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*TagToHosts) GetTagsOk ¶

func (o *TagToHosts) GetTagsOk() (*map[string][]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TagToHosts) HasTags ¶

func (o *TagToHosts) HasTags() bool

HasTags returns a boolean if a field has been set.

func (TagToHosts) MarshalJSON ¶

func (o TagToHosts) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TagToHosts) SetTags ¶

func (o *TagToHosts) SetTags(v map[string][]string)

SetTags gets a reference to the given map[string][]string and assigns it to the Tags field.

func (*TagToHosts) UnmarshalJSON ¶ added in v1.3.0

func (o *TagToHosts) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TagsApiService ¶

type TagsApiService service

TagsApiService TagsApi service.

func (*TagsApiService) CreateHostTags ¶

CreateHostTags Add tags to a host. This endpoint allows you to add new tags to a host, optionally specifying where these tags come from.

func (*TagsApiService) DeleteHostTags ¶

func (a *TagsApiService) DeleteHostTags(ctx _context.Context, hostName string, o ...DeleteHostTagsOptionalParameters) (*_nethttp.Response, error)

DeleteHostTags Remove host tags. This endpoint allows you to remove all user-assigned tags for a single host.

func (*TagsApiService) GetHostTags ¶

GetHostTags Get host tags. Return the list of tags that apply to a given host.

func (*TagsApiService) ListHostTags ¶

ListHostTags Get Tags. Return a mapping of tags to hosts for your whole infrastructure.

func (*TagsApiService) UpdateHostTags ¶

UpdateHostTags Update host tags. This endpoint allows you to update/replace all tags in an integration source with those supplied in the request.

type TargetFormatType ¶

type TargetFormatType string

TargetFormatType If the `target_type` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `target_type` is `tag`, this parameter may not be specified.

const (
	TARGETFORMATTYPE_AUTO    TargetFormatType = "auto"
	TARGETFORMATTYPE_STRING  TargetFormatType = "string"
	TARGETFORMATTYPE_INTEGER TargetFormatType = "integer"
	TARGETFORMATTYPE_DOUBLE  TargetFormatType = "double"
)

List of TargetFormatType.

func NewTargetFormatTypeFromValue ¶

func NewTargetFormatTypeFromValue(v string) (*TargetFormatType, error)

NewTargetFormatTypeFromValue returns a pointer to a valid TargetFormatType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TargetFormatType) GetAllowedValues ¶ added in v1.1.0

func (v *TargetFormatType) GetAllowedValues() []TargetFormatType

GetAllowedValues reeturns the list of possible values.

func (TargetFormatType) IsValid ¶

func (v TargetFormatType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TargetFormatType) Ptr ¶

Ptr returns reference to TargetFormatType value.

func (*TargetFormatType) UnmarshalJSON ¶

func (v *TargetFormatType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TimeseriesBackground ¶ added in v1.12.0

type TimeseriesBackground struct {
	// Timeseries is made using an area or bars.
	Type TimeseriesBackgroundType `json:"type"`
	// Axis controls for the widget.
	Yaxis *WidgetAxis `json:"yaxis,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TimeseriesBackground Set a timeseries on the widget background.

func NewTimeseriesBackground ¶ added in v1.12.0

func NewTimeseriesBackground(typeVar TimeseriesBackgroundType) *TimeseriesBackground

NewTimeseriesBackground instantiates a new TimeseriesBackground 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 NewTimeseriesBackgroundWithDefaults ¶ added in v1.12.0

func NewTimeseriesBackgroundWithDefaults() *TimeseriesBackground

NewTimeseriesBackgroundWithDefaults instantiates a new TimeseriesBackground 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 (*TimeseriesBackground) GetType ¶ added in v1.12.0

GetType returns the Type field value.

func (*TimeseriesBackground) GetTypeOk ¶ added in v1.12.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*TimeseriesBackground) GetYaxis ¶ added in v1.12.0

func (o *TimeseriesBackground) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field value if set, zero value otherwise.

func (*TimeseriesBackground) GetYaxisOk ¶ added in v1.12.0

func (o *TimeseriesBackground) GetYaxisOk() (*WidgetAxis, bool)

GetYaxisOk returns a tuple with the Yaxis field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesBackground) HasYaxis ¶ added in v1.12.0

func (o *TimeseriesBackground) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (TimeseriesBackground) MarshalJSON ¶ added in v1.12.0

func (o TimeseriesBackground) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesBackground) SetType ¶ added in v1.12.0

SetType sets field value.

func (*TimeseriesBackground) SetYaxis ¶ added in v1.12.0

func (o *TimeseriesBackground) SetYaxis(v WidgetAxis)

SetYaxis gets a reference to the given WidgetAxis and assigns it to the Yaxis field.

func (*TimeseriesBackground) UnmarshalJSON ¶ added in v1.12.0

func (o *TimeseriesBackground) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesBackgroundType ¶ added in v1.12.0

type TimeseriesBackgroundType string

TimeseriesBackgroundType Timeseries is made using an area or bars.

const (
	TIMESERIESBACKGROUNDTYPE_BARS TimeseriesBackgroundType = "bars"
	TIMESERIESBACKGROUNDTYPE_AREA TimeseriesBackgroundType = "area"
)

List of TimeseriesBackgroundType.

func NewTimeseriesBackgroundTypeFromValue ¶ added in v1.12.0

func NewTimeseriesBackgroundTypeFromValue(v string) (*TimeseriesBackgroundType, error)

NewTimeseriesBackgroundTypeFromValue returns a pointer to a valid TimeseriesBackgroundType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TimeseriesBackgroundType) GetAllowedValues ¶ added in v1.12.0

func (v *TimeseriesBackgroundType) GetAllowedValues() []TimeseriesBackgroundType

GetAllowedValues reeturns the list of possible values.

func (TimeseriesBackgroundType) IsValid ¶ added in v1.12.0

func (v TimeseriesBackgroundType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TimeseriesBackgroundType) Ptr ¶ added in v1.12.0

Ptr returns reference to TimeseriesBackgroundType value.

func (*TimeseriesBackgroundType) UnmarshalJSON ¶ added in v1.12.0

func (v *TimeseriesBackgroundType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TimeseriesWidgetDefinition ¶

type TimeseriesWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// List of widget events.
	Events []WidgetEvent `json:"events,omitempty"`
	// Columns displayed in the legend.
	LegendColumns []TimeseriesWidgetLegendColumn `json:"legend_columns,omitempty"`
	// Layout of the legend.
	LegendLayout *TimeseriesWidgetLegendLayout `json:"legend_layout,omitempty"`
	// Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".
	LegendSize *string `json:"legend_size,omitempty"`
	// List of markers.
	Markers []WidgetMarker `json:"markers,omitempty"`
	// List of timeseries widget requests.
	Requests []TimeseriesWidgetRequest `json:"requests"`
	// Axis controls for the widget.
	RightYaxis *WidgetAxis `json:"right_yaxis,omitempty"`
	// (screenboard only) Show the legend for this widget.
	ShowLegend *bool `json:"show_legend,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the timeseries widget.
	Type TimeseriesWidgetDefinitionType `json:"type"`
	// Axis controls for the widget.
	Yaxis *WidgetAxis `json:"yaxis,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TimeseriesWidgetDefinition The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time.

func NewTimeseriesWidgetDefinition ¶

func NewTimeseriesWidgetDefinition(requests []TimeseriesWidgetRequest, typeVar TimeseriesWidgetDefinitionType) *TimeseriesWidgetDefinition

NewTimeseriesWidgetDefinition instantiates a new TimeseriesWidgetDefinition 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 NewTimeseriesWidgetDefinitionWithDefaults ¶

func NewTimeseriesWidgetDefinitionWithDefaults() *TimeseriesWidgetDefinition

NewTimeseriesWidgetDefinitionWithDefaults instantiates a new TimeseriesWidgetDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (o *TimeseriesWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetCustomLinksOk ¶

func (o *TimeseriesWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetEvents ¶

func (o *TimeseriesWidgetDefinition) GetEvents() []WidgetEvent

GetEvents returns the Events field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetEventsOk ¶

func (o *TimeseriesWidgetDefinition) GetEventsOk() (*[]WidgetEvent, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetLegendColumns ¶

GetLegendColumns returns the LegendColumns field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetLegendColumnsOk ¶

func (o *TimeseriesWidgetDefinition) GetLegendColumnsOk() (*[]TimeseriesWidgetLegendColumn, bool)

GetLegendColumnsOk returns a tuple with the LegendColumns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetLegendLayout ¶

GetLegendLayout returns the LegendLayout field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetLegendLayoutOk ¶

GetLegendLayoutOk returns a tuple with the LegendLayout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetLegendSize ¶

func (o *TimeseriesWidgetDefinition) GetLegendSize() string

GetLegendSize returns the LegendSize field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetLegendSizeOk ¶

func (o *TimeseriesWidgetDefinition) GetLegendSizeOk() (*string, bool)

GetLegendSizeOk returns a tuple with the LegendSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetMarkers ¶

func (o *TimeseriesWidgetDefinition) GetMarkers() []WidgetMarker

GetMarkers returns the Markers field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetMarkersOk ¶

func (o *TimeseriesWidgetDefinition) GetMarkersOk() (*[]WidgetMarker, bool)

GetMarkersOk returns a tuple with the Markers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetRequests ¶

GetRequests returns the Requests field value.

func (*TimeseriesWidgetDefinition) GetRequestsOk ¶

func (o *TimeseriesWidgetDefinition) GetRequestsOk() (*[]TimeseriesWidgetRequest, bool)

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetRightYaxis ¶

func (o *TimeseriesWidgetDefinition) GetRightYaxis() WidgetAxis

GetRightYaxis returns the RightYaxis field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetRightYaxisOk ¶

func (o *TimeseriesWidgetDefinition) GetRightYaxisOk() (*WidgetAxis, bool)

GetRightYaxisOk returns a tuple with the RightYaxis field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetShowLegend ¶

func (o *TimeseriesWidgetDefinition) GetShowLegend() bool

GetShowLegend returns the ShowLegend field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetShowLegendOk ¶

func (o *TimeseriesWidgetDefinition) GetShowLegendOk() (*bool, bool)

GetShowLegendOk returns a tuple with the ShowLegend field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetTime ¶

GetTime returns the Time field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetTimeOk ¶

func (o *TimeseriesWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetTitle ¶

func (o *TimeseriesWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetTitleAlign ¶

func (o *TimeseriesWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetTitleAlignOk ¶

func (o *TimeseriesWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetTitleOk ¶

func (o *TimeseriesWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetTitleSize ¶

func (o *TimeseriesWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetTitleSizeOk ¶

func (o *TimeseriesWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*TimeseriesWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*TimeseriesWidgetDefinition) GetYaxis ¶

func (o *TimeseriesWidgetDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field value if set, zero value otherwise.

func (*TimeseriesWidgetDefinition) GetYaxisOk ¶

func (o *TimeseriesWidgetDefinition) GetYaxisOk() (*WidgetAxis, bool)

GetYaxisOk returns a tuple with the Yaxis field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *TimeseriesWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasEvents ¶

func (o *TimeseriesWidgetDefinition) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasLegendColumns ¶

func (o *TimeseriesWidgetDefinition) HasLegendColumns() bool

HasLegendColumns returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasLegendLayout ¶

func (o *TimeseriesWidgetDefinition) HasLegendLayout() bool

HasLegendLayout returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasLegendSize ¶

func (o *TimeseriesWidgetDefinition) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasMarkers ¶

func (o *TimeseriesWidgetDefinition) HasMarkers() bool

HasMarkers returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasRightYaxis ¶

func (o *TimeseriesWidgetDefinition) HasRightYaxis() bool

HasRightYaxis returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasShowLegend ¶

func (o *TimeseriesWidgetDefinition) HasShowLegend() bool

HasShowLegend returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasTime ¶

func (o *TimeseriesWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasTitle ¶

func (o *TimeseriesWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasTitleAlign ¶

func (o *TimeseriesWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasTitleSize ¶

func (o *TimeseriesWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*TimeseriesWidgetDefinition) HasYaxis ¶

func (o *TimeseriesWidgetDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (TimeseriesWidgetDefinition) MarshalJSON ¶

func (o TimeseriesWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (o *TimeseriesWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*TimeseriesWidgetDefinition) SetEvents ¶

func (o *TimeseriesWidgetDefinition) SetEvents(v []WidgetEvent)

SetEvents gets a reference to the given []WidgetEvent and assigns it to the Events field.

func (*TimeseriesWidgetDefinition) SetLegendColumns ¶

SetLegendColumns gets a reference to the given []TimeseriesWidgetLegendColumn and assigns it to the LegendColumns field.

func (*TimeseriesWidgetDefinition) SetLegendLayout ¶

SetLegendLayout gets a reference to the given TimeseriesWidgetLegendLayout and assigns it to the LegendLayout field.

func (*TimeseriesWidgetDefinition) SetLegendSize ¶

func (o *TimeseriesWidgetDefinition) SetLegendSize(v string)

SetLegendSize gets a reference to the given string and assigns it to the LegendSize field.

func (*TimeseriesWidgetDefinition) SetMarkers ¶

func (o *TimeseriesWidgetDefinition) SetMarkers(v []WidgetMarker)

SetMarkers gets a reference to the given []WidgetMarker and assigns it to the Markers field.

func (*TimeseriesWidgetDefinition) SetRequests ¶

SetRequests sets field value.

func (*TimeseriesWidgetDefinition) SetRightYaxis ¶

func (o *TimeseriesWidgetDefinition) SetRightYaxis(v WidgetAxis)

SetRightYaxis gets a reference to the given WidgetAxis and assigns it to the RightYaxis field.

func (*TimeseriesWidgetDefinition) SetShowLegend ¶

func (o *TimeseriesWidgetDefinition) SetShowLegend(v bool)

SetShowLegend gets a reference to the given bool and assigns it to the ShowLegend field.

func (*TimeseriesWidgetDefinition) SetTime ¶

func (o *TimeseriesWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*TimeseriesWidgetDefinition) SetTitle ¶

func (o *TimeseriesWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*TimeseriesWidgetDefinition) SetTitleAlign ¶

func (o *TimeseriesWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*TimeseriesWidgetDefinition) SetTitleSize ¶

func (o *TimeseriesWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*TimeseriesWidgetDefinition) SetType ¶

SetType sets field value.

func (*TimeseriesWidgetDefinition) SetYaxis ¶

func (o *TimeseriesWidgetDefinition) SetYaxis(v WidgetAxis)

SetYaxis gets a reference to the given WidgetAxis and assigns it to the Yaxis field.

func (*TimeseriesWidgetDefinition) UnmarshalJSON ¶

func (o *TimeseriesWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesWidgetDefinitionType ¶

type TimeseriesWidgetDefinitionType string

TimeseriesWidgetDefinitionType Type of the timeseries widget.

const (
	TIMESERIESWIDGETDEFINITIONTYPE_TIMESERIES TimeseriesWidgetDefinitionType = "timeseries"
)

List of TimeseriesWidgetDefinitionType.

func NewTimeseriesWidgetDefinitionTypeFromValue ¶

func NewTimeseriesWidgetDefinitionTypeFromValue(v string) (*TimeseriesWidgetDefinitionType, error)

NewTimeseriesWidgetDefinitionTypeFromValue returns a pointer to a valid TimeseriesWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TimeseriesWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (TimeseriesWidgetDefinitionType) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (TimeseriesWidgetDefinitionType) Ptr ¶

Ptr returns reference to TimeseriesWidgetDefinitionType value.

func (*TimeseriesWidgetDefinitionType) UnmarshalJSON ¶

func (v *TimeseriesWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TimeseriesWidgetExpressionAlias ¶

type TimeseriesWidgetExpressionAlias struct {
	// Expression alias.
	AliasName *string `json:"alias_name,omitempty"`
	// Expression name.
	Expression string `json:"expression"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TimeseriesWidgetExpressionAlias Define an expression alias.

func NewTimeseriesWidgetExpressionAlias ¶

func NewTimeseriesWidgetExpressionAlias(expression string) *TimeseriesWidgetExpressionAlias

NewTimeseriesWidgetExpressionAlias instantiates a new TimeseriesWidgetExpressionAlias 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 NewTimeseriesWidgetExpressionAliasWithDefaults ¶

func NewTimeseriesWidgetExpressionAliasWithDefaults() *TimeseriesWidgetExpressionAlias

NewTimeseriesWidgetExpressionAliasWithDefaults instantiates a new TimeseriesWidgetExpressionAlias 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 (*TimeseriesWidgetExpressionAlias) GetAliasName ¶

func (o *TimeseriesWidgetExpressionAlias) GetAliasName() string

GetAliasName returns the AliasName field value if set, zero value otherwise.

func (*TimeseriesWidgetExpressionAlias) GetAliasNameOk ¶

func (o *TimeseriesWidgetExpressionAlias) GetAliasNameOk() (*string, bool)

GetAliasNameOk returns a tuple with the AliasName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetExpressionAlias) GetExpression ¶

func (o *TimeseriesWidgetExpressionAlias) GetExpression() string

GetExpression returns the Expression field value.

func (*TimeseriesWidgetExpressionAlias) GetExpressionOk ¶

func (o *TimeseriesWidgetExpressionAlias) GetExpressionOk() (*string, bool)

GetExpressionOk returns a tuple with the Expression field value and a boolean to check if the value has been set.

func (*TimeseriesWidgetExpressionAlias) HasAliasName ¶

func (o *TimeseriesWidgetExpressionAlias) HasAliasName() bool

HasAliasName returns a boolean if a field has been set.

func (TimeseriesWidgetExpressionAlias) MarshalJSON ¶

func (o TimeseriesWidgetExpressionAlias) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesWidgetExpressionAlias) SetAliasName ¶

func (o *TimeseriesWidgetExpressionAlias) SetAliasName(v string)

SetAliasName gets a reference to the given string and assigns it to the AliasName field.

func (*TimeseriesWidgetExpressionAlias) SetExpression ¶

func (o *TimeseriesWidgetExpressionAlias) SetExpression(v string)

SetExpression sets field value.

func (*TimeseriesWidgetExpressionAlias) UnmarshalJSON ¶

func (o *TimeseriesWidgetExpressionAlias) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TimeseriesWidgetLegendColumn ¶

type TimeseriesWidgetLegendColumn string

TimeseriesWidgetLegendColumn Legend column.

const (
	TIMESERIESWIDGETLEGENDCOLUMN_VALUE TimeseriesWidgetLegendColumn = "value"
	TIMESERIESWIDGETLEGENDCOLUMN_AVG   TimeseriesWidgetLegendColumn = "avg"
	TIMESERIESWIDGETLEGENDCOLUMN_SUM   TimeseriesWidgetLegendColumn = "sum"
	TIMESERIESWIDGETLEGENDCOLUMN_MIN   TimeseriesWidgetLegendColumn = "min"
	TIMESERIESWIDGETLEGENDCOLUMN_MAX   TimeseriesWidgetLegendColumn = "max"
)

List of TimeseriesWidgetLegendColumn.

func NewTimeseriesWidgetLegendColumnFromValue ¶

func NewTimeseriesWidgetLegendColumnFromValue(v string) (*TimeseriesWidgetLegendColumn, error)

NewTimeseriesWidgetLegendColumnFromValue returns a pointer to a valid TimeseriesWidgetLegendColumn for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TimeseriesWidgetLegendColumn) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (TimeseriesWidgetLegendColumn) IsValid ¶

func (v TimeseriesWidgetLegendColumn) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TimeseriesWidgetLegendColumn) Ptr ¶

Ptr returns reference to TimeseriesWidgetLegendColumn value.

func (*TimeseriesWidgetLegendColumn) UnmarshalJSON ¶

func (v *TimeseriesWidgetLegendColumn) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TimeseriesWidgetLegendLayout ¶

type TimeseriesWidgetLegendLayout string

TimeseriesWidgetLegendLayout Layout of the legend.

const (
	TIMESERIESWIDGETLEGENDLAYOUT_AUTO       TimeseriesWidgetLegendLayout = "auto"
	TIMESERIESWIDGETLEGENDLAYOUT_HORIZONTAL TimeseriesWidgetLegendLayout = "horizontal"
	TIMESERIESWIDGETLEGENDLAYOUT_VERTICAL   TimeseriesWidgetLegendLayout = "vertical"
)

List of TimeseriesWidgetLegendLayout.

func NewTimeseriesWidgetLegendLayoutFromValue ¶

func NewTimeseriesWidgetLegendLayoutFromValue(v string) (*TimeseriesWidgetLegendLayout, error)

NewTimeseriesWidgetLegendLayoutFromValue returns a pointer to a valid TimeseriesWidgetLegendLayout for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TimeseriesWidgetLegendLayout) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (TimeseriesWidgetLegendLayout) IsValid ¶

func (v TimeseriesWidgetLegendLayout) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TimeseriesWidgetLegendLayout) Ptr ¶

Ptr returns reference to TimeseriesWidgetLegendLayout value.

func (*TimeseriesWidgetLegendLayout) UnmarshalJSON ¶

func (v *TimeseriesWidgetLegendLayout) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TimeseriesWidgetRequest ¶

type TimeseriesWidgetRequest struct {
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The log query.
	AuditQuery *LogQueryDefinition `json:"audit_query,omitempty"`
	// Type of display to use for the request.
	DisplayType *WidgetDisplayType `json:"display_type,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// Used to define expression aliases.
	Metadata []TimeseriesWidgetExpressionAlias `json:"metadata,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// Whether or not to display a second y-axis on the right.
	OnRightYaxis *bool `json:"on_right_yaxis,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Widget query.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// Define request widget style.
	Style *WidgetRequestStyle `json:"style,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TimeseriesWidgetRequest Updated timeseries widget.

func NewTimeseriesWidgetRequest ¶

func NewTimeseriesWidgetRequest() *TimeseriesWidgetRequest

NewTimeseriesWidgetRequest instantiates a new TimeseriesWidgetRequest 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 NewTimeseriesWidgetRequestWithDefaults ¶

func NewTimeseriesWidgetRequestWithDefaults() *TimeseriesWidgetRequest

NewTimeseriesWidgetRequestWithDefaults instantiates a new TimeseriesWidgetRequest 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 (*TimeseriesWidgetRequest) GetApmQuery ¶

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetApmQueryOk ¶

func (o *TimeseriesWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

GetApmQueryOk returns a tuple with the ApmQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetAuditQuery ¶ added in v1.3.0

func (o *TimeseriesWidgetRequest) GetAuditQuery() LogQueryDefinition

GetAuditQuery returns the AuditQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetAuditQueryOk ¶ added in v1.3.0

func (o *TimeseriesWidgetRequest) GetAuditQueryOk() (*LogQueryDefinition, bool)

GetAuditQueryOk returns a tuple with the AuditQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetDisplayType ¶

func (o *TimeseriesWidgetRequest) GetDisplayType() WidgetDisplayType

GetDisplayType returns the DisplayType field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetDisplayTypeOk ¶

func (o *TimeseriesWidgetRequest) GetDisplayTypeOk() (*WidgetDisplayType, bool)

GetDisplayTypeOk returns a tuple with the DisplayType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetEventQuery ¶

func (o *TimeseriesWidgetRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetEventQueryOk ¶

func (o *TimeseriesWidgetRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

GetEventQueryOk returns a tuple with the EventQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetFormulas ¶

func (o *TimeseriesWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetFormulasOk ¶

func (o *TimeseriesWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetLogQuery ¶

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetLogQueryOk ¶

func (o *TimeseriesWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

GetLogQueryOk returns a tuple with the LogQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetMetadataOk ¶

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetNetworkQuery ¶

func (o *TimeseriesWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetNetworkQueryOk ¶

func (o *TimeseriesWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

GetNetworkQueryOk returns a tuple with the NetworkQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetOnRightYaxis ¶

func (o *TimeseriesWidgetRequest) GetOnRightYaxis() bool

GetOnRightYaxis returns the OnRightYaxis field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetOnRightYaxisOk ¶

func (o *TimeseriesWidgetRequest) GetOnRightYaxisOk() (*bool, bool)

GetOnRightYaxisOk returns a tuple with the OnRightYaxis field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetProcessQuery ¶

func (o *TimeseriesWidgetRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetProcessQueryOk ¶

func (o *TimeseriesWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetProfileMetricsQuery ¶

func (o *TimeseriesWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetProfileMetricsQueryOk ¶

func (o *TimeseriesWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

GetProfileMetricsQueryOk returns a tuple with the ProfileMetricsQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetQ ¶

func (o *TimeseriesWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetQOk ¶

func (o *TimeseriesWidgetRequest) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetResponseFormat ¶

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetResponseFormatOk ¶

func (o *TimeseriesWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetRumQuery ¶

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetRumQueryOk ¶

func (o *TimeseriesWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

GetRumQueryOk returns a tuple with the RumQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetSecurityQuery ¶

func (o *TimeseriesWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetSecurityQueryOk ¶

func (o *TimeseriesWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) GetStyle ¶

GetStyle returns the Style field value if set, zero value otherwise.

func (*TimeseriesWidgetRequest) GetStyleOk ¶

func (o *TimeseriesWidgetRequest) GetStyleOk() (*WidgetRequestStyle, bool)

GetStyleOk returns a tuple with the Style field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeseriesWidgetRequest) HasApmQuery ¶

func (o *TimeseriesWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasAuditQuery ¶ added in v1.3.0

func (o *TimeseriesWidgetRequest) HasAuditQuery() bool

HasAuditQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasDisplayType ¶

func (o *TimeseriesWidgetRequest) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasEventQuery ¶

func (o *TimeseriesWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasFormulas ¶

func (o *TimeseriesWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasLogQuery ¶

func (o *TimeseriesWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasMetadata ¶

func (o *TimeseriesWidgetRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasNetworkQuery ¶

func (o *TimeseriesWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasOnRightYaxis ¶

func (o *TimeseriesWidgetRequest) HasOnRightYaxis() bool

HasOnRightYaxis returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasProcessQuery ¶

func (o *TimeseriesWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasProfileMetricsQuery ¶

func (o *TimeseriesWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasQ ¶

func (o *TimeseriesWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasQueries ¶

func (o *TimeseriesWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasResponseFormat ¶

func (o *TimeseriesWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasRumQuery ¶

func (o *TimeseriesWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasSecurityQuery ¶

func (o *TimeseriesWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*TimeseriesWidgetRequest) HasStyle ¶

func (o *TimeseriesWidgetRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (TimeseriesWidgetRequest) MarshalJSON ¶

func (o TimeseriesWidgetRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TimeseriesWidgetRequest) SetApmQuery ¶

func (o *TimeseriesWidgetRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*TimeseriesWidgetRequest) SetAuditQuery ¶ added in v1.3.0

func (o *TimeseriesWidgetRequest) SetAuditQuery(v LogQueryDefinition)

SetAuditQuery gets a reference to the given LogQueryDefinition and assigns it to the AuditQuery field.

func (*TimeseriesWidgetRequest) SetDisplayType ¶

func (o *TimeseriesWidgetRequest) SetDisplayType(v WidgetDisplayType)

SetDisplayType gets a reference to the given WidgetDisplayType and assigns it to the DisplayType field.

func (*TimeseriesWidgetRequest) SetEventQuery ¶

func (o *TimeseriesWidgetRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*TimeseriesWidgetRequest) SetFormulas ¶

func (o *TimeseriesWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*TimeseriesWidgetRequest) SetLogQuery ¶

func (o *TimeseriesWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*TimeseriesWidgetRequest) SetMetadata ¶

SetMetadata gets a reference to the given []TimeseriesWidgetExpressionAlias and assigns it to the Metadata field.

func (*TimeseriesWidgetRequest) SetNetworkQuery ¶

func (o *TimeseriesWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*TimeseriesWidgetRequest) SetOnRightYaxis ¶

func (o *TimeseriesWidgetRequest) SetOnRightYaxis(v bool)

SetOnRightYaxis gets a reference to the given bool and assigns it to the OnRightYaxis field.

func (*TimeseriesWidgetRequest) SetProcessQuery ¶

func (o *TimeseriesWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*TimeseriesWidgetRequest) SetProfileMetricsQuery ¶

func (o *TimeseriesWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*TimeseriesWidgetRequest) SetQ ¶

func (o *TimeseriesWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*TimeseriesWidgetRequest) SetQueries ¶

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*TimeseriesWidgetRequest) SetResponseFormat ¶

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*TimeseriesWidgetRequest) SetRumQuery ¶

func (o *TimeseriesWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*TimeseriesWidgetRequest) SetSecurityQuery ¶

func (o *TimeseriesWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*TimeseriesWidgetRequest) SetStyle ¶

SetStyle gets a reference to the given WidgetRequestStyle and assigns it to the Style field.

func (*TimeseriesWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *TimeseriesWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ToplistWidgetDefinition ¶

type ToplistWidgetDefinition struct {
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// List of top list widget requests.
	Requests []ToplistWidgetRequest `json:"requests"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of your widget.
	Title *string `json:"title,omitempty"`
	// How to align the text on the widget.
	TitleAlign *WidgetTextAlign `json:"title_align,omitempty"`
	// Size of the title.
	TitleSize *string `json:"title_size,omitempty"`
	// Type of the top list widget.
	Type ToplistWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ToplistWidgetDefinition The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc.

func NewToplistWidgetDefinition ¶

func NewToplistWidgetDefinition(requests []ToplistWidgetRequest, typeVar ToplistWidgetDefinitionType) *ToplistWidgetDefinition

NewToplistWidgetDefinition instantiates a new ToplistWidgetDefinition 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 NewToplistWidgetDefinitionWithDefaults ¶

func NewToplistWidgetDefinitionWithDefaults() *ToplistWidgetDefinition

NewToplistWidgetDefinitionWithDefaults instantiates a new ToplistWidgetDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.

func (o *ToplistWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*ToplistWidgetDefinition) GetCustomLinksOk ¶

func (o *ToplistWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetDefinition) GetRequests ¶

func (o *ToplistWidgetDefinition) GetRequests() []ToplistWidgetRequest

GetRequests returns the Requests field value.

func (*ToplistWidgetDefinition) GetRequestsOk ¶

func (o *ToplistWidgetDefinition) GetRequestsOk() (*[]ToplistWidgetRequest, bool)

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*ToplistWidgetDefinition) GetTime ¶

func (o *ToplistWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*ToplistWidgetDefinition) GetTimeOk ¶

func (o *ToplistWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetDefinition) GetTitle ¶

func (o *ToplistWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ToplistWidgetDefinition) GetTitleAlign ¶

func (o *ToplistWidgetDefinition) GetTitleAlign() WidgetTextAlign

GetTitleAlign returns the TitleAlign field value if set, zero value otherwise.

func (*ToplistWidgetDefinition) GetTitleAlignOk ¶

func (o *ToplistWidgetDefinition) GetTitleAlignOk() (*WidgetTextAlign, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetDefinition) GetTitleOk ¶

func (o *ToplistWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetDefinition) GetTitleSize ¶

func (o *ToplistWidgetDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field value if set, zero value otherwise.

func (*ToplistWidgetDefinition) GetTitleSizeOk ¶

func (o *ToplistWidgetDefinition) GetTitleSizeOk() (*string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetDefinition) GetType ¶

GetType returns the Type field value.

func (*ToplistWidgetDefinition) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *ToplistWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*ToplistWidgetDefinition) HasTime ¶

func (o *ToplistWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ToplistWidgetDefinition) HasTitle ¶

func (o *ToplistWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ToplistWidgetDefinition) HasTitleAlign ¶

func (o *ToplistWidgetDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ToplistWidgetDefinition) HasTitleSize ¶

func (o *ToplistWidgetDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (ToplistWidgetDefinition) MarshalJSON ¶

func (o ToplistWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (o *ToplistWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*ToplistWidgetDefinition) SetRequests ¶

func (o *ToplistWidgetDefinition) SetRequests(v []ToplistWidgetRequest)

SetRequests sets field value.

func (*ToplistWidgetDefinition) SetTime ¶

func (o *ToplistWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*ToplistWidgetDefinition) SetTitle ¶

func (o *ToplistWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ToplistWidgetDefinition) SetTitleAlign ¶

func (o *ToplistWidgetDefinition) SetTitleAlign(v WidgetTextAlign)

SetTitleAlign gets a reference to the given WidgetTextAlign and assigns it to the TitleAlign field.

func (*ToplistWidgetDefinition) SetTitleSize ¶

func (o *ToplistWidgetDefinition) SetTitleSize(v string)

SetTitleSize gets a reference to the given string and assigns it to the TitleSize field.

func (*ToplistWidgetDefinition) SetType ¶

SetType sets field value.

func (*ToplistWidgetDefinition) UnmarshalJSON ¶

func (o *ToplistWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type ToplistWidgetDefinitionType ¶

type ToplistWidgetDefinitionType string

ToplistWidgetDefinitionType Type of the top list widget.

const (
	TOPLISTWIDGETDEFINITIONTYPE_TOPLIST ToplistWidgetDefinitionType = "toplist"
)

List of ToplistWidgetDefinitionType.

func NewToplistWidgetDefinitionTypeFromValue ¶

func NewToplistWidgetDefinitionTypeFromValue(v string) (*ToplistWidgetDefinitionType, error)

NewToplistWidgetDefinitionTypeFromValue returns a pointer to a valid ToplistWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*ToplistWidgetDefinitionType) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (ToplistWidgetDefinitionType) IsValid ¶

func (v ToplistWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (ToplistWidgetDefinitionType) Ptr ¶

Ptr returns reference to ToplistWidgetDefinitionType value.

func (*ToplistWidgetDefinitionType) UnmarshalJSON ¶

func (v *ToplistWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type ToplistWidgetRequest ¶

type ToplistWidgetRequest struct {
	// The log query.
	ApmQuery *LogQueryDefinition `json:"apm_query,omitempty"`
	// The log query.
	AuditQuery *LogQueryDefinition `json:"audit_query,omitempty"`
	// List of conditional formats.
	ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"`
	// The log query.
	EventQuery *LogQueryDefinition `json:"event_query,omitempty"`
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// The log query.
	LogQuery *LogQueryDefinition `json:"log_query,omitempty"`
	// The log query.
	NetworkQuery *LogQueryDefinition `json:"network_query,omitempty"`
	// The process query to use in the widget.
	ProcessQuery *ProcessQueryDefinition `json:"process_query,omitempty"`
	// The log query.
	ProfileMetricsQuery *LogQueryDefinition `json:"profile_metrics_query,omitempty"`
	// Widget query.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// The log query.
	RumQuery *LogQueryDefinition `json:"rum_query,omitempty"`
	// The log query.
	SecurityQuery *LogQueryDefinition `json:"security_query,omitempty"`
	// Define request widget style.
	Style *WidgetRequestStyle `json:"style,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ToplistWidgetRequest Updated top list widget.

func NewToplistWidgetRequest ¶

func NewToplistWidgetRequest() *ToplistWidgetRequest

NewToplistWidgetRequest instantiates a new ToplistWidgetRequest 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 NewToplistWidgetRequestWithDefaults ¶

func NewToplistWidgetRequestWithDefaults() *ToplistWidgetRequest

NewToplistWidgetRequestWithDefaults instantiates a new ToplistWidgetRequest 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 (*ToplistWidgetRequest) GetApmQuery ¶

func (o *ToplistWidgetRequest) GetApmQuery() LogQueryDefinition

GetApmQuery returns the ApmQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetApmQueryOk ¶

func (o *ToplistWidgetRequest) GetApmQueryOk() (*LogQueryDefinition, bool)

GetApmQueryOk returns a tuple with the ApmQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetAuditQuery ¶ added in v1.3.0

func (o *ToplistWidgetRequest) GetAuditQuery() LogQueryDefinition

GetAuditQuery returns the AuditQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetAuditQueryOk ¶ added in v1.3.0

func (o *ToplistWidgetRequest) GetAuditQueryOk() (*LogQueryDefinition, bool)

GetAuditQueryOk returns a tuple with the AuditQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetConditionalFormats ¶

func (o *ToplistWidgetRequest) GetConditionalFormats() []WidgetConditionalFormat

GetConditionalFormats returns the ConditionalFormats field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetConditionalFormatsOk ¶

func (o *ToplistWidgetRequest) GetConditionalFormatsOk() (*[]WidgetConditionalFormat, bool)

GetConditionalFormatsOk returns a tuple with the ConditionalFormats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetEventQuery ¶

func (o *ToplistWidgetRequest) GetEventQuery() LogQueryDefinition

GetEventQuery returns the EventQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetEventQueryOk ¶

func (o *ToplistWidgetRequest) GetEventQueryOk() (*LogQueryDefinition, bool)

GetEventQueryOk returns a tuple with the EventQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetFormulas ¶

func (o *ToplistWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetFormulasOk ¶

func (o *ToplistWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetLogQuery ¶

func (o *ToplistWidgetRequest) GetLogQuery() LogQueryDefinition

GetLogQuery returns the LogQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetLogQueryOk ¶

func (o *ToplistWidgetRequest) GetLogQueryOk() (*LogQueryDefinition, bool)

GetLogQueryOk returns a tuple with the LogQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetNetworkQuery ¶

func (o *ToplistWidgetRequest) GetNetworkQuery() LogQueryDefinition

GetNetworkQuery returns the NetworkQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetNetworkQueryOk ¶

func (o *ToplistWidgetRequest) GetNetworkQueryOk() (*LogQueryDefinition, bool)

GetNetworkQueryOk returns a tuple with the NetworkQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetProcessQuery ¶

func (o *ToplistWidgetRequest) GetProcessQuery() ProcessQueryDefinition

GetProcessQuery returns the ProcessQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetProcessQueryOk ¶

func (o *ToplistWidgetRequest) GetProcessQueryOk() (*ProcessQueryDefinition, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetProfileMetricsQuery ¶

func (o *ToplistWidgetRequest) GetProfileMetricsQuery() LogQueryDefinition

GetProfileMetricsQuery returns the ProfileMetricsQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetProfileMetricsQueryOk ¶

func (o *ToplistWidgetRequest) GetProfileMetricsQueryOk() (*LogQueryDefinition, bool)

GetProfileMetricsQueryOk returns a tuple with the ProfileMetricsQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetQ ¶

func (o *ToplistWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetQOk ¶

func (o *ToplistWidgetRequest) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetResponseFormat ¶

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetResponseFormatOk ¶

func (o *ToplistWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetRumQuery ¶

func (o *ToplistWidgetRequest) GetRumQuery() LogQueryDefinition

GetRumQuery returns the RumQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetRumQueryOk ¶

func (o *ToplistWidgetRequest) GetRumQueryOk() (*LogQueryDefinition, bool)

GetRumQueryOk returns a tuple with the RumQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetSecurityQuery ¶

func (o *ToplistWidgetRequest) GetSecurityQuery() LogQueryDefinition

GetSecurityQuery returns the SecurityQuery field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetSecurityQueryOk ¶

func (o *ToplistWidgetRequest) GetSecurityQueryOk() (*LogQueryDefinition, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) GetStyle ¶

GetStyle returns the Style field value if set, zero value otherwise.

func (*ToplistWidgetRequest) GetStyleOk ¶

func (o *ToplistWidgetRequest) GetStyleOk() (*WidgetRequestStyle, bool)

GetStyleOk returns a tuple with the Style field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ToplistWidgetRequest) HasApmQuery ¶

func (o *ToplistWidgetRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasAuditQuery ¶ added in v1.3.0

func (o *ToplistWidgetRequest) HasAuditQuery() bool

HasAuditQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasConditionalFormats ¶

func (o *ToplistWidgetRequest) HasConditionalFormats() bool

HasConditionalFormats returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasEventQuery ¶

func (o *ToplistWidgetRequest) HasEventQuery() bool

HasEventQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasFormulas ¶

func (o *ToplistWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasLogQuery ¶

func (o *ToplistWidgetRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasNetworkQuery ¶

func (o *ToplistWidgetRequest) HasNetworkQuery() bool

HasNetworkQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasProcessQuery ¶

func (o *ToplistWidgetRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasProfileMetricsQuery ¶

func (o *ToplistWidgetRequest) HasProfileMetricsQuery() bool

HasProfileMetricsQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasQ ¶

func (o *ToplistWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasQueries ¶

func (o *ToplistWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasResponseFormat ¶

func (o *ToplistWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasRumQuery ¶

func (o *ToplistWidgetRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasSecurityQuery ¶

func (o *ToplistWidgetRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ToplistWidgetRequest) HasStyle ¶

func (o *ToplistWidgetRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (ToplistWidgetRequest) MarshalJSON ¶

func (o ToplistWidgetRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*ToplistWidgetRequest) SetApmQuery ¶

func (o *ToplistWidgetRequest) SetApmQuery(v LogQueryDefinition)

SetApmQuery gets a reference to the given LogQueryDefinition and assigns it to the ApmQuery field.

func (*ToplistWidgetRequest) SetAuditQuery ¶ added in v1.3.0

func (o *ToplistWidgetRequest) SetAuditQuery(v LogQueryDefinition)

SetAuditQuery gets a reference to the given LogQueryDefinition and assigns it to the AuditQuery field.

func (*ToplistWidgetRequest) SetConditionalFormats ¶

func (o *ToplistWidgetRequest) SetConditionalFormats(v []WidgetConditionalFormat)

SetConditionalFormats gets a reference to the given []WidgetConditionalFormat and assigns it to the ConditionalFormats field.

func (*ToplistWidgetRequest) SetEventQuery ¶

func (o *ToplistWidgetRequest) SetEventQuery(v LogQueryDefinition)

SetEventQuery gets a reference to the given LogQueryDefinition and assigns it to the EventQuery field.

func (*ToplistWidgetRequest) SetFormulas ¶

func (o *ToplistWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*ToplistWidgetRequest) SetLogQuery ¶

func (o *ToplistWidgetRequest) SetLogQuery(v LogQueryDefinition)

SetLogQuery gets a reference to the given LogQueryDefinition and assigns it to the LogQuery field.

func (*ToplistWidgetRequest) SetNetworkQuery ¶

func (o *ToplistWidgetRequest) SetNetworkQuery(v LogQueryDefinition)

SetNetworkQuery gets a reference to the given LogQueryDefinition and assigns it to the NetworkQuery field.

func (*ToplistWidgetRequest) SetProcessQuery ¶

func (o *ToplistWidgetRequest) SetProcessQuery(v ProcessQueryDefinition)

SetProcessQuery gets a reference to the given ProcessQueryDefinition and assigns it to the ProcessQuery field.

func (*ToplistWidgetRequest) SetProfileMetricsQuery ¶

func (o *ToplistWidgetRequest) SetProfileMetricsQuery(v LogQueryDefinition)

SetProfileMetricsQuery gets a reference to the given LogQueryDefinition and assigns it to the ProfileMetricsQuery field.

func (*ToplistWidgetRequest) SetQ ¶

func (o *ToplistWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*ToplistWidgetRequest) SetQueries ¶

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*ToplistWidgetRequest) SetResponseFormat ¶

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*ToplistWidgetRequest) SetRumQuery ¶

func (o *ToplistWidgetRequest) SetRumQuery(v LogQueryDefinition)

SetRumQuery gets a reference to the given LogQueryDefinition and assigns it to the RumQuery field.

func (*ToplistWidgetRequest) SetSecurityQuery ¶

func (o *ToplistWidgetRequest) SetSecurityQuery(v LogQueryDefinition)

SetSecurityQuery gets a reference to the given LogQueryDefinition and assigns it to the SecurityQuery field.

func (*ToplistWidgetRequest) SetStyle ¶

SetStyle gets a reference to the given WidgetRequestStyle and assigns it to the Style field.

func (*ToplistWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *ToplistWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TreeMapColorBy ¶ added in v1.2.0

type TreeMapColorBy string

TreeMapColorBy (deprecated) The attribute formerly used to determine color in the widget.

const (
	TREEMAPCOLORBY_USER TreeMapColorBy = "user"
)

List of TreeMapColorBy.

func NewTreeMapColorByFromValue ¶ added in v1.2.0

func NewTreeMapColorByFromValue(v string) (*TreeMapColorBy, error)

NewTreeMapColorByFromValue returns a pointer to a valid TreeMapColorBy for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TreeMapColorBy) GetAllowedValues ¶ added in v1.2.0

func (v *TreeMapColorBy) GetAllowedValues() []TreeMapColorBy

GetAllowedValues reeturns the list of possible values.

func (TreeMapColorBy) IsValid ¶ added in v1.2.0

func (v TreeMapColorBy) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TreeMapColorBy) Ptr ¶ added in v1.2.0

func (v TreeMapColorBy) Ptr() *TreeMapColorBy

Ptr returns reference to TreeMapColorBy value.

func (*TreeMapColorBy) UnmarshalJSON ¶ added in v1.2.0

func (v *TreeMapColorBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TreeMapGroupBy ¶ added in v1.2.0

type TreeMapGroupBy string

TreeMapGroupBy (deprecated) The attribute formerly used to group elements in the widget.

const (
	TREEMAPGROUPBY_USER    TreeMapGroupBy = "user"
	TREEMAPGROUPBY_FAMILY  TreeMapGroupBy = "family"
	TREEMAPGROUPBY_PROCESS TreeMapGroupBy = "process"
)

List of TreeMapGroupBy.

func NewTreeMapGroupByFromValue ¶ added in v1.2.0

func NewTreeMapGroupByFromValue(v string) (*TreeMapGroupBy, error)

NewTreeMapGroupByFromValue returns a pointer to a valid TreeMapGroupBy for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TreeMapGroupBy) GetAllowedValues ¶ added in v1.2.0

func (v *TreeMapGroupBy) GetAllowedValues() []TreeMapGroupBy

GetAllowedValues reeturns the list of possible values.

func (TreeMapGroupBy) IsValid ¶ added in v1.2.0

func (v TreeMapGroupBy) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TreeMapGroupBy) Ptr ¶ added in v1.2.0

func (v TreeMapGroupBy) Ptr() *TreeMapGroupBy

Ptr returns reference to TreeMapGroupBy value.

func (*TreeMapGroupBy) UnmarshalJSON ¶ added in v1.2.0

func (v *TreeMapGroupBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TreeMapSizeBy ¶ added in v1.2.0

type TreeMapSizeBy string

TreeMapSizeBy (deprecated) The attribute formerly used to determine size in the widget.

const (
	TREEMAPSIZEBY_PCT_CPU TreeMapSizeBy = "pct_cpu"
	TREEMAPSIZEBY_PCT_MEM TreeMapSizeBy = "pct_mem"
)

List of TreeMapSizeBy.

func NewTreeMapSizeByFromValue ¶ added in v1.2.0

func NewTreeMapSizeByFromValue(v string) (*TreeMapSizeBy, error)

NewTreeMapSizeByFromValue returns a pointer to a valid TreeMapSizeBy for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TreeMapSizeBy) GetAllowedValues ¶ added in v1.2.0

func (v *TreeMapSizeBy) GetAllowedValues() []TreeMapSizeBy

GetAllowedValues reeturns the list of possible values.

func (TreeMapSizeBy) IsValid ¶ added in v1.2.0

func (v TreeMapSizeBy) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TreeMapSizeBy) Ptr ¶ added in v1.2.0

func (v TreeMapSizeBy) Ptr() *TreeMapSizeBy

Ptr returns reference to TreeMapSizeBy value.

func (*TreeMapSizeBy) UnmarshalJSON ¶ added in v1.2.0

func (v *TreeMapSizeBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TreeMapWidgetDefinition ¶ added in v1.2.0

type TreeMapWidgetDefinition struct {
	// (deprecated) The attribute formerly used to determine color in the widget.
	// Deprecated
	ColorBy *TreeMapColorBy `json:"color_by,omitempty"`
	// List of custom links.
	CustomLinks []WidgetCustomLink `json:"custom_links,omitempty"`
	// (deprecated) The attribute formerly used to group elements in the widget.
	// Deprecated
	GroupBy *TreeMapGroupBy `json:"group_by,omitempty"`
	// List of treemap widget requests.
	Requests []TreeMapWidgetRequest `json:"requests"`
	// (deprecated) The attribute formerly used to determine size in the widget.
	// Deprecated
	SizeBy *TreeMapSizeBy `json:"size_by,omitempty"`
	// Time setting for the widget.
	Time *WidgetTime `json:"time,omitempty"`
	// Title of your widget.
	Title *string `json:"title,omitempty"`
	// Type of the treemap widget.
	Type TreeMapWidgetDefinitionType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TreeMapWidgetDefinition The treemap visualization enables you to display hierarchical and nested data. It is well suited for queries that describe part-whole relationships, such as resource usage by availability zone, data center, or team.

func NewTreeMapWidgetDefinition ¶ added in v1.2.0

func NewTreeMapWidgetDefinition(requests []TreeMapWidgetRequest, typeVar TreeMapWidgetDefinitionType) *TreeMapWidgetDefinition

NewTreeMapWidgetDefinition instantiates a new TreeMapWidgetDefinition 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 NewTreeMapWidgetDefinitionWithDefaults ¶ added in v1.2.0

func NewTreeMapWidgetDefinitionWithDefaults() *TreeMapWidgetDefinition

NewTreeMapWidgetDefinitionWithDefaults instantiates a new TreeMapWidgetDefinition 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 (*TreeMapWidgetDefinition) GetColorBy ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetColorBy() TreeMapColorBy

GetColorBy returns the ColorBy field value if set, zero value otherwise. Deprecated

func (*TreeMapWidgetDefinition) GetColorByOk ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetColorByOk() (*TreeMapColorBy, bool)

GetColorByOk returns a tuple with the ColorBy field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (o *TreeMapWidgetDefinition) GetCustomLinks() []WidgetCustomLink

GetCustomLinks returns the CustomLinks field value if set, zero value otherwise.

func (*TreeMapWidgetDefinition) GetCustomLinksOk ¶ added in v1.16.0

func (o *TreeMapWidgetDefinition) GetCustomLinksOk() (*[]WidgetCustomLink, bool)

GetCustomLinksOk returns a tuple with the CustomLinks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreeMapWidgetDefinition) GetGroupBy ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetGroupBy() TreeMapGroupBy

GetGroupBy returns the GroupBy field value if set, zero value otherwise. Deprecated

func (*TreeMapWidgetDefinition) GetGroupByOk ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetGroupByOk() (*TreeMapGroupBy, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*TreeMapWidgetDefinition) GetRequests ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetRequests() []TreeMapWidgetRequest

GetRequests returns the Requests field value.

func (*TreeMapWidgetDefinition) GetRequestsOk ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetRequestsOk() (*[]TreeMapWidgetRequest, bool)

GetRequestsOk returns a tuple with the Requests field value and a boolean to check if the value has been set.

func (*TreeMapWidgetDefinition) GetSizeBy ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetSizeBy() TreeMapSizeBy

GetSizeBy returns the SizeBy field value if set, zero value otherwise. Deprecated

func (*TreeMapWidgetDefinition) GetSizeByOk ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetSizeByOk() (*TreeMapSizeBy, bool)

GetSizeByOk returns a tuple with the SizeBy field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*TreeMapWidgetDefinition) GetTime ¶ added in v1.16.0

func (o *TreeMapWidgetDefinition) GetTime() WidgetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*TreeMapWidgetDefinition) GetTimeOk ¶ added in v1.16.0

func (o *TreeMapWidgetDefinition) GetTimeOk() (*WidgetTime, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreeMapWidgetDefinition) GetTitle ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*TreeMapWidgetDefinition) GetTitleOk ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreeMapWidgetDefinition) GetType ¶ added in v1.2.0

GetType returns the Type field value.

func (*TreeMapWidgetDefinition) GetTypeOk ¶ added in v1.2.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*TreeMapWidgetDefinition) HasColorBy ¶ added in v1.8.0

func (o *TreeMapWidgetDefinition) HasColorBy() bool

HasColorBy returns a boolean if a field has been set.

func (o *TreeMapWidgetDefinition) HasCustomLinks() bool

HasCustomLinks returns a boolean if a field has been set.

func (*TreeMapWidgetDefinition) HasGroupBy ¶ added in v1.8.0

func (o *TreeMapWidgetDefinition) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*TreeMapWidgetDefinition) HasSizeBy ¶ added in v1.8.0

func (o *TreeMapWidgetDefinition) HasSizeBy() bool

HasSizeBy returns a boolean if a field has been set.

func (*TreeMapWidgetDefinition) HasTime ¶ added in v1.16.0

func (o *TreeMapWidgetDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TreeMapWidgetDefinition) HasTitle ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (TreeMapWidgetDefinition) MarshalJSON ¶ added in v1.2.0

func (o TreeMapWidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TreeMapWidgetDefinition) SetColorBy ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) SetColorBy(v TreeMapColorBy)

SetColorBy gets a reference to the given TreeMapColorBy and assigns it to the ColorBy field. Deprecated

func (o *TreeMapWidgetDefinition) SetCustomLinks(v []WidgetCustomLink)

SetCustomLinks gets a reference to the given []WidgetCustomLink and assigns it to the CustomLinks field.

func (*TreeMapWidgetDefinition) SetGroupBy ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) SetGroupBy(v TreeMapGroupBy)

SetGroupBy gets a reference to the given TreeMapGroupBy and assigns it to the GroupBy field. Deprecated

func (*TreeMapWidgetDefinition) SetRequests ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) SetRequests(v []TreeMapWidgetRequest)

SetRequests sets field value.

func (*TreeMapWidgetDefinition) SetSizeBy ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) SetSizeBy(v TreeMapSizeBy)

SetSizeBy gets a reference to the given TreeMapSizeBy and assigns it to the SizeBy field. Deprecated

func (*TreeMapWidgetDefinition) SetTime ¶ added in v1.16.0

func (o *TreeMapWidgetDefinition) SetTime(v WidgetTime)

SetTime gets a reference to the given WidgetTime and assigns it to the Time field.

func (*TreeMapWidgetDefinition) SetTitle ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*TreeMapWidgetDefinition) SetType ¶ added in v1.2.0

SetType sets field value.

func (*TreeMapWidgetDefinition) UnmarshalJSON ¶ added in v1.2.0

func (o *TreeMapWidgetDefinition) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type TreeMapWidgetDefinitionType ¶ added in v1.2.0

type TreeMapWidgetDefinitionType string

TreeMapWidgetDefinitionType Type of the treemap widget.

const (
	TREEMAPWIDGETDEFINITIONTYPE_TREEMAP TreeMapWidgetDefinitionType = "treemap"
)

List of TreeMapWidgetDefinitionType.

func NewTreeMapWidgetDefinitionTypeFromValue ¶ added in v1.2.0

func NewTreeMapWidgetDefinitionTypeFromValue(v string) (*TreeMapWidgetDefinitionType, error)

NewTreeMapWidgetDefinitionTypeFromValue returns a pointer to a valid TreeMapWidgetDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*TreeMapWidgetDefinitionType) GetAllowedValues ¶ added in v1.2.0

GetAllowedValues reeturns the list of possible values.

func (TreeMapWidgetDefinitionType) IsValid ¶ added in v1.2.0

func (v TreeMapWidgetDefinitionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (TreeMapWidgetDefinitionType) Ptr ¶ added in v1.2.0

Ptr returns reference to TreeMapWidgetDefinitionType value.

func (*TreeMapWidgetDefinitionType) UnmarshalJSON ¶ added in v1.2.0

func (v *TreeMapWidgetDefinitionType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type TreeMapWidgetRequest ¶ added in v1.2.0

type TreeMapWidgetRequest struct {
	// List of formulas that operate on queries.
	Formulas []WidgetFormula `json:"formulas,omitempty"`
	// The widget metrics query.
	Q *string `json:"q,omitempty"`
	// List of queries that can be returned directly or used in formulas.
	Queries []FormulaAndFunctionQueryDefinition `json:"queries,omitempty"`
	// Timeseries or Scalar response.
	ResponseFormat *FormulaAndFunctionResponseFormat `json:"response_format,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

TreeMapWidgetRequest An updated treemap widget.

func NewTreeMapWidgetRequest ¶ added in v1.2.0

func NewTreeMapWidgetRequest() *TreeMapWidgetRequest

NewTreeMapWidgetRequest instantiates a new TreeMapWidgetRequest 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 NewTreeMapWidgetRequestWithDefaults ¶ added in v1.2.0

func NewTreeMapWidgetRequestWithDefaults() *TreeMapWidgetRequest

NewTreeMapWidgetRequestWithDefaults instantiates a new TreeMapWidgetRequest 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 (*TreeMapWidgetRequest) GetFormulas ¶ added in v1.8.0

func (o *TreeMapWidgetRequest) GetFormulas() []WidgetFormula

GetFormulas returns the Formulas field value if set, zero value otherwise.

func (*TreeMapWidgetRequest) GetFormulasOk ¶ added in v1.8.0

func (o *TreeMapWidgetRequest) GetFormulasOk() (*[]WidgetFormula, bool)

GetFormulasOk returns a tuple with the Formulas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreeMapWidgetRequest) GetQ ¶ added in v1.2.0

func (o *TreeMapWidgetRequest) GetQ() string

GetQ returns the Q field value if set, zero value otherwise.

func (*TreeMapWidgetRequest) GetQOk ¶ added in v1.2.0

func (o *TreeMapWidgetRequest) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreeMapWidgetRequest) GetQueries ¶ added in v1.8.0

GetQueries returns the Queries field value if set, zero value otherwise.

func (*TreeMapWidgetRequest) GetQueriesOk ¶ added in v1.8.0

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreeMapWidgetRequest) GetResponseFormat ¶ added in v1.8.0

GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.

func (*TreeMapWidgetRequest) GetResponseFormatOk ¶ added in v1.8.0

func (o *TreeMapWidgetRequest) GetResponseFormatOk() (*FormulaAndFunctionResponseFormat, bool)

GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TreeMapWidgetRequest) HasFormulas ¶ added in v1.8.0

func (o *TreeMapWidgetRequest) HasFormulas() bool

HasFormulas returns a boolean if a field has been set.

func (*TreeMapWidgetRequest) HasQ ¶ added in v1.2.0

func (o *TreeMapWidgetRequest) HasQ() bool

HasQ returns a boolean if a field has been set.

func (*TreeMapWidgetRequest) HasQueries ¶ added in v1.8.0

func (o *TreeMapWidgetRequest) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*TreeMapWidgetRequest) HasResponseFormat ¶ added in v1.8.0

func (o *TreeMapWidgetRequest) HasResponseFormat() bool

HasResponseFormat returns a boolean if a field has been set.

func (TreeMapWidgetRequest) MarshalJSON ¶ added in v1.2.0

func (o TreeMapWidgetRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*TreeMapWidgetRequest) SetFormulas ¶ added in v1.8.0

func (o *TreeMapWidgetRequest) SetFormulas(v []WidgetFormula)

SetFormulas gets a reference to the given []WidgetFormula and assigns it to the Formulas field.

func (*TreeMapWidgetRequest) SetQ ¶ added in v1.2.0

func (o *TreeMapWidgetRequest) SetQ(v string)

SetQ gets a reference to the given string and assigns it to the Q field.

func (*TreeMapWidgetRequest) SetQueries ¶ added in v1.8.0

SetQueries gets a reference to the given []FormulaAndFunctionQueryDefinition and assigns it to the Queries field.

func (*TreeMapWidgetRequest) SetResponseFormat ¶ added in v1.8.0

SetResponseFormat gets a reference to the given FormulaAndFunctionResponseFormat and assigns it to the ResponseFormat field.

func (*TreeMapWidgetRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *TreeMapWidgetRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UpdateAWSAccountOptionalParameters ¶

type UpdateAWSAccountOptionalParameters struct {
	AccountId   *string
	RoleName    *string
	AccessKeyId *string
}

UpdateAWSAccountOptionalParameters holds optional parameters for UpdateAWSAccount.

func NewUpdateAWSAccountOptionalParameters ¶

func NewUpdateAWSAccountOptionalParameters() *UpdateAWSAccountOptionalParameters

NewUpdateAWSAccountOptionalParameters creates an empty struct for parameters.

func (*UpdateAWSAccountOptionalParameters) WithAccessKeyId ¶

WithAccessKeyId sets the corresponding parameter name and returns the struct.

func (*UpdateAWSAccountOptionalParameters) WithAccountId ¶

WithAccountId sets the corresponding parameter name and returns the struct.

func (*UpdateAWSAccountOptionalParameters) WithRoleName ¶

WithRoleName sets the corresponding parameter name and returns the struct.

type UpdateHostTagsOptionalParameters ¶

type UpdateHostTagsOptionalParameters struct {
	Source *string
}

UpdateHostTagsOptionalParameters holds optional parameters for UpdateHostTags.

func NewUpdateHostTagsOptionalParameters ¶

func NewUpdateHostTagsOptionalParameters() *UpdateHostTagsOptionalParameters

NewUpdateHostTagsOptionalParameters creates an empty struct for parameters.

func (*UpdateHostTagsOptionalParameters) WithSource ¶

WithSource sets the corresponding parameter name and returns the struct.

type UsageAnalyzedLogsHour ¶

type UsageAnalyzedLogsHour struct {
	// Contains the number of analyzed logs.
	AnalyzedLogs *int64 `json:"analyzed_logs,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAnalyzedLogsHour The number of analyzed logs for each hour for a given organization.

func NewUsageAnalyzedLogsHour ¶

func NewUsageAnalyzedLogsHour() *UsageAnalyzedLogsHour

NewUsageAnalyzedLogsHour instantiates a new UsageAnalyzedLogsHour 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 NewUsageAnalyzedLogsHourWithDefaults ¶

func NewUsageAnalyzedLogsHourWithDefaults() *UsageAnalyzedLogsHour

NewUsageAnalyzedLogsHourWithDefaults instantiates a new UsageAnalyzedLogsHour 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 (*UsageAnalyzedLogsHour) GetAnalyzedLogs ¶

func (o *UsageAnalyzedLogsHour) GetAnalyzedLogs() int64

GetAnalyzedLogs returns the AnalyzedLogs field value if set, zero value otherwise.

func (*UsageAnalyzedLogsHour) GetAnalyzedLogsOk ¶

func (o *UsageAnalyzedLogsHour) GetAnalyzedLogsOk() (*int64, bool)

GetAnalyzedLogsOk returns a tuple with the AnalyzedLogs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAnalyzedLogsHour) GetHour ¶

func (o *UsageAnalyzedLogsHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageAnalyzedLogsHour) GetHourOk ¶

func (o *UsageAnalyzedLogsHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAnalyzedLogsHour) GetOrgName ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageAnalyzedLogsHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAnalyzedLogsHour) GetPublicId ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageAnalyzedLogsHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAnalyzedLogsHour) HasAnalyzedLogs ¶

func (o *UsageAnalyzedLogsHour) HasAnalyzedLogs() bool

HasAnalyzedLogs returns a boolean if a field has been set.

func (*UsageAnalyzedLogsHour) HasHour ¶

func (o *UsageAnalyzedLogsHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageAnalyzedLogsHour) HasOrgName ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageAnalyzedLogsHour) HasPublicId ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageAnalyzedLogsHour) MarshalJSON ¶

func (o UsageAnalyzedLogsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAnalyzedLogsHour) SetAnalyzedLogs ¶

func (o *UsageAnalyzedLogsHour) SetAnalyzedLogs(v int64)

SetAnalyzedLogs gets a reference to the given int64 and assigns it to the AnalyzedLogs field.

func (*UsageAnalyzedLogsHour) SetHour ¶

func (o *UsageAnalyzedLogsHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageAnalyzedLogsHour) SetOrgName ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageAnalyzedLogsHour) SetPublicId ¶ added in v1.9.0

func (o *UsageAnalyzedLogsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageAnalyzedLogsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAnalyzedLogsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAnalyzedLogsResponse ¶

type UsageAnalyzedLogsResponse struct {
	// Get hourly usage for analyzed logs.
	Usage []UsageAnalyzedLogsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAnalyzedLogsResponse A response containing the number of analyzed logs for each hour for a given organization.

func NewUsageAnalyzedLogsResponse ¶

func NewUsageAnalyzedLogsResponse() *UsageAnalyzedLogsResponse

NewUsageAnalyzedLogsResponse instantiates a new UsageAnalyzedLogsResponse 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 NewUsageAnalyzedLogsResponseWithDefaults ¶

func NewUsageAnalyzedLogsResponseWithDefaults() *UsageAnalyzedLogsResponse

NewUsageAnalyzedLogsResponseWithDefaults instantiates a new UsageAnalyzedLogsResponse 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 (*UsageAnalyzedLogsResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageAnalyzedLogsResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAnalyzedLogsResponse) HasUsage ¶

func (o *UsageAnalyzedLogsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageAnalyzedLogsResponse) MarshalJSON ¶

func (o UsageAnalyzedLogsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAnalyzedLogsResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageAnalyzedLogsHour and assigns it to the Usage field.

func (*UsageAnalyzedLogsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAnalyzedLogsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributionAggregatesBody ¶

type UsageAttributionAggregatesBody struct {
	// The aggregate type.
	AggType *string `json:"agg_type,omitempty"`
	// The field.
	Field *string `json:"field,omitempty"`
	// The value for a given field.
	Value *float64 `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAttributionAggregatesBody The object containing the aggregates.

func NewUsageAttributionAggregatesBody ¶

func NewUsageAttributionAggregatesBody() *UsageAttributionAggregatesBody

NewUsageAttributionAggregatesBody instantiates a new UsageAttributionAggregatesBody 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 NewUsageAttributionAggregatesBodyWithDefaults ¶

func NewUsageAttributionAggregatesBodyWithDefaults() *UsageAttributionAggregatesBody

NewUsageAttributionAggregatesBodyWithDefaults instantiates a new UsageAttributionAggregatesBody 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 (*UsageAttributionAggregatesBody) GetAggType ¶

func (o *UsageAttributionAggregatesBody) GetAggType() string

GetAggType returns the AggType field value if set, zero value otherwise.

func (*UsageAttributionAggregatesBody) GetAggTypeOk ¶

func (o *UsageAttributionAggregatesBody) GetAggTypeOk() (*string, bool)

GetAggTypeOk returns a tuple with the AggType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionAggregatesBody) GetField ¶

func (o *UsageAttributionAggregatesBody) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*UsageAttributionAggregatesBody) GetFieldOk ¶

func (o *UsageAttributionAggregatesBody) GetFieldOk() (*string, bool)

GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionAggregatesBody) GetValue ¶

GetValue returns the Value field value if set, zero value otherwise.

func (*UsageAttributionAggregatesBody) GetValueOk ¶

func (o *UsageAttributionAggregatesBody) GetValueOk() (*float64, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionAggregatesBody) HasAggType ¶

func (o *UsageAttributionAggregatesBody) HasAggType() bool

HasAggType returns a boolean if a field has been set.

func (*UsageAttributionAggregatesBody) HasField ¶

func (o *UsageAttributionAggregatesBody) HasField() bool

HasField returns a boolean if a field has been set.

func (*UsageAttributionAggregatesBody) HasValue ¶

func (o *UsageAttributionAggregatesBody) HasValue() bool

HasValue returns a boolean if a field has been set.

func (UsageAttributionAggregatesBody) MarshalJSON ¶

func (o UsageAttributionAggregatesBody) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributionAggregatesBody) SetAggType ¶

func (o *UsageAttributionAggregatesBody) SetAggType(v string)

SetAggType gets a reference to the given string and assigns it to the AggType field.

func (*UsageAttributionAggregatesBody) SetField ¶

func (o *UsageAttributionAggregatesBody) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*UsageAttributionAggregatesBody) SetValue ¶

func (o *UsageAttributionAggregatesBody) SetValue(v float64)

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*UsageAttributionAggregatesBody) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAttributionAggregatesBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributionBody ¶

type UsageAttributionBody struct {
	// Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].
	Month *time.Time `json:"month,omitempty"`
	// The name of the organization.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The source of the usage attribution tag configuration and the selected tags in the format `<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
	TagConfigSource *string `json:"tag_config_source,omitempty"`
	// Tag keys and values.
	//
	// A `null` value here means that the requested tag breakdown cannot be applied because it does not match the [tags
	// configured for usage attribution](https://docs.datadoghq.com/account_management/billing/usage_attribution/#getting-started).
	// In this scenario the API returns the total usage, not broken down by tags.
	Tags map[string][]string `json:"tags,omitempty"`
	// Shows the the most recent hour in the current months for all organizations for which all usages were calculated.
	UpdatedAt *string `json:"updated_at,omitempty"`
	// Fields in Usage Summary by tag(s).
	Values *UsageAttributionValues `json:"values,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAttributionBody Usage Summary by tag for a given organization.

func NewUsageAttributionBody ¶

func NewUsageAttributionBody() *UsageAttributionBody

NewUsageAttributionBody instantiates a new UsageAttributionBody 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 NewUsageAttributionBodyWithDefaults ¶

func NewUsageAttributionBodyWithDefaults() *UsageAttributionBody

NewUsageAttributionBodyWithDefaults instantiates a new UsageAttributionBody 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 (*UsageAttributionBody) GetMonth ¶

func (o *UsageAttributionBody) GetMonth() time.Time

GetMonth returns the Month field value if set, zero value otherwise.

func (*UsageAttributionBody) GetMonthOk ¶

func (o *UsageAttributionBody) GetMonthOk() (*time.Time, bool)

GetMonthOk returns a tuple with the Month field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionBody) GetOrgName ¶

func (o *UsageAttributionBody) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageAttributionBody) GetOrgNameOk ¶

func (o *UsageAttributionBody) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionBody) GetPublicId ¶

func (o *UsageAttributionBody) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageAttributionBody) GetPublicIdOk ¶

func (o *UsageAttributionBody) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionBody) GetTagConfigSource ¶

func (o *UsageAttributionBody) GetTagConfigSource() string

GetTagConfigSource returns the TagConfigSource field value if set, zero value otherwise.

func (*UsageAttributionBody) GetTagConfigSourceOk ¶

func (o *UsageAttributionBody) GetTagConfigSourceOk() (*string, bool)

GetTagConfigSourceOk returns a tuple with the TagConfigSource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionBody) GetTags ¶

func (o *UsageAttributionBody) GetTags() map[string][]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UsageAttributionBody) GetTagsOk ¶

func (o *UsageAttributionBody) GetTagsOk() (*map[string][]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionBody) GetUpdatedAt ¶

func (o *UsageAttributionBody) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*UsageAttributionBody) GetUpdatedAtOk ¶

func (o *UsageAttributionBody) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionBody) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*UsageAttributionBody) GetValuesOk ¶

func (o *UsageAttributionBody) GetValuesOk() (*UsageAttributionValues, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionBody) HasMonth ¶

func (o *UsageAttributionBody) HasMonth() bool

HasMonth returns a boolean if a field has been set.

func (*UsageAttributionBody) HasOrgName ¶

func (o *UsageAttributionBody) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageAttributionBody) HasPublicId ¶

func (o *UsageAttributionBody) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageAttributionBody) HasTagConfigSource ¶

func (o *UsageAttributionBody) HasTagConfigSource() bool

HasTagConfigSource returns a boolean if a field has been set.

func (*UsageAttributionBody) HasTags ¶

func (o *UsageAttributionBody) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UsageAttributionBody) HasUpdatedAt ¶

func (o *UsageAttributionBody) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*UsageAttributionBody) HasValues ¶

func (o *UsageAttributionBody) HasValues() bool

HasValues returns a boolean if a field has been set.

func (UsageAttributionBody) MarshalJSON ¶

func (o UsageAttributionBody) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributionBody) SetMonth ¶

func (o *UsageAttributionBody) SetMonth(v time.Time)

SetMonth gets a reference to the given time.Time and assigns it to the Month field.

func (*UsageAttributionBody) SetOrgName ¶

func (o *UsageAttributionBody) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageAttributionBody) SetPublicId ¶

func (o *UsageAttributionBody) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageAttributionBody) SetTagConfigSource ¶

func (o *UsageAttributionBody) SetTagConfigSource(v string)

SetTagConfigSource gets a reference to the given string and assigns it to the TagConfigSource field.

func (*UsageAttributionBody) SetTags ¶

func (o *UsageAttributionBody) SetTags(v map[string][]string)

SetTags gets a reference to the given map[string][]string and assigns it to the Tags field.

func (*UsageAttributionBody) SetUpdatedAt ¶

func (o *UsageAttributionBody) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*UsageAttributionBody) SetValues ¶

SetValues gets a reference to the given UsageAttributionValues and assigns it to the Values field.

func (*UsageAttributionBody) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAttributionBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributionMetadata ¶

type UsageAttributionMetadata struct {
	// An array of available aggregates.
	Aggregates []UsageAttributionAggregatesBody `json:"aggregates,omitempty"`
	// The metadata for the current pagination.
	Pagination *UsageAttributionPagination `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAttributionMetadata The object containing document metadata.

func NewUsageAttributionMetadata ¶

func NewUsageAttributionMetadata() *UsageAttributionMetadata

NewUsageAttributionMetadata instantiates a new UsageAttributionMetadata 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 NewUsageAttributionMetadataWithDefaults ¶

func NewUsageAttributionMetadataWithDefaults() *UsageAttributionMetadata

NewUsageAttributionMetadataWithDefaults instantiates a new UsageAttributionMetadata 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 (*UsageAttributionMetadata) GetAggregates ¶

GetAggregates returns the Aggregates field value if set, zero value otherwise.

func (*UsageAttributionMetadata) GetAggregatesOk ¶

GetAggregatesOk returns a tuple with the Aggregates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionMetadata) GetPagination ¶

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*UsageAttributionMetadata) GetPaginationOk ¶

func (o *UsageAttributionMetadata) GetPaginationOk() (*UsageAttributionPagination, bool)

GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionMetadata) HasAggregates ¶

func (o *UsageAttributionMetadata) HasAggregates() bool

HasAggregates returns a boolean if a field has been set.

func (*UsageAttributionMetadata) HasPagination ¶

func (o *UsageAttributionMetadata) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (UsageAttributionMetadata) MarshalJSON ¶

func (o UsageAttributionMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributionMetadata) SetAggregates ¶

SetAggregates gets a reference to the given []UsageAttributionAggregatesBody and assigns it to the Aggregates field.

func (*UsageAttributionMetadata) SetPagination ¶

SetPagination gets a reference to the given UsageAttributionPagination and assigns it to the Pagination field.

func (*UsageAttributionMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAttributionMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributionPagination ¶

type UsageAttributionPagination struct {
	// Maximum amount of records to be returned.
	Limit *int64 `json:"limit,omitempty"`
	// Records to be skipped before beginning to return.
	Offset *int64 `json:"offset,omitempty"`
	// Direction to sort by.
	SortDirection *string `json:"sort_direction,omitempty"`
	// Field to sort by.
	SortName *string `json:"sort_name,omitempty"`
	// Total number of records.
	TotalNumberOfRecords *int64 `json:"total_number_of_records,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAttributionPagination The metadata for the current pagination.

func NewUsageAttributionPagination ¶

func NewUsageAttributionPagination() *UsageAttributionPagination

NewUsageAttributionPagination instantiates a new UsageAttributionPagination 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 NewUsageAttributionPaginationWithDefaults ¶

func NewUsageAttributionPaginationWithDefaults() *UsageAttributionPagination

NewUsageAttributionPaginationWithDefaults instantiates a new UsageAttributionPagination 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 (*UsageAttributionPagination) GetLimit ¶

func (o *UsageAttributionPagination) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*UsageAttributionPagination) GetLimitOk ¶

func (o *UsageAttributionPagination) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionPagination) GetOffset ¶ added in v1.8.0

func (o *UsageAttributionPagination) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*UsageAttributionPagination) GetOffsetOk ¶ added in v1.8.0

func (o *UsageAttributionPagination) GetOffsetOk() (*int64, bool)

GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionPagination) GetSortDirection ¶ added in v1.8.0

func (o *UsageAttributionPagination) GetSortDirection() string

GetSortDirection returns the SortDirection field value if set, zero value otherwise.

func (*UsageAttributionPagination) GetSortDirectionOk ¶ added in v1.8.0

func (o *UsageAttributionPagination) GetSortDirectionOk() (*string, bool)

GetSortDirectionOk returns a tuple with the SortDirection field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionPagination) GetSortName ¶ added in v1.8.0

func (o *UsageAttributionPagination) GetSortName() string

GetSortName returns the SortName field value if set, zero value otherwise.

func (*UsageAttributionPagination) GetSortNameOk ¶ added in v1.8.0

func (o *UsageAttributionPagination) GetSortNameOk() (*string, bool)

GetSortNameOk returns a tuple with the SortName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionPagination) GetTotalNumberOfRecords ¶

func (o *UsageAttributionPagination) GetTotalNumberOfRecords() int64

GetTotalNumberOfRecords returns the TotalNumberOfRecords field value if set, zero value otherwise.

func (*UsageAttributionPagination) GetTotalNumberOfRecordsOk ¶

func (o *UsageAttributionPagination) GetTotalNumberOfRecordsOk() (*int64, bool)

GetTotalNumberOfRecordsOk returns a tuple with the TotalNumberOfRecords field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionPagination) HasLimit ¶

func (o *UsageAttributionPagination) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*UsageAttributionPagination) HasOffset ¶ added in v1.8.0

func (o *UsageAttributionPagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*UsageAttributionPagination) HasSortDirection ¶ added in v1.8.0

func (o *UsageAttributionPagination) HasSortDirection() bool

HasSortDirection returns a boolean if a field has been set.

func (*UsageAttributionPagination) HasSortName ¶ added in v1.8.0

func (o *UsageAttributionPagination) HasSortName() bool

HasSortName returns a boolean if a field has been set.

func (*UsageAttributionPagination) HasTotalNumberOfRecords ¶

func (o *UsageAttributionPagination) HasTotalNumberOfRecords() bool

HasTotalNumberOfRecords returns a boolean if a field has been set.

func (UsageAttributionPagination) MarshalJSON ¶

func (o UsageAttributionPagination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributionPagination) SetLimit ¶

func (o *UsageAttributionPagination) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*UsageAttributionPagination) SetOffset ¶ added in v1.8.0

func (o *UsageAttributionPagination) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*UsageAttributionPagination) SetSortDirection ¶ added in v1.8.0

func (o *UsageAttributionPagination) SetSortDirection(v string)

SetSortDirection gets a reference to the given string and assigns it to the SortDirection field.

func (*UsageAttributionPagination) SetSortName ¶ added in v1.8.0

func (o *UsageAttributionPagination) SetSortName(v string)

SetSortName gets a reference to the given string and assigns it to the SortName field.

func (*UsageAttributionPagination) SetTotalNumberOfRecords ¶

func (o *UsageAttributionPagination) SetTotalNumberOfRecords(v int64)

SetTotalNumberOfRecords gets a reference to the given int64 and assigns it to the TotalNumberOfRecords field.

func (*UsageAttributionPagination) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAttributionPagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributionResponse ¶

type UsageAttributionResponse struct {
	// The object containing document metadata.
	Metadata *UsageAttributionMetadata `json:"metadata,omitempty"`
	// Get usage summary by tag(s).
	Usage []UsageAttributionBody `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAttributionResponse Response containing the Usage Summary by tag(s).

func NewUsageAttributionResponse ¶

func NewUsageAttributionResponse() *UsageAttributionResponse

NewUsageAttributionResponse instantiates a new UsageAttributionResponse 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 NewUsageAttributionResponseWithDefaults ¶

func NewUsageAttributionResponseWithDefaults() *UsageAttributionResponse

NewUsageAttributionResponseWithDefaults instantiates a new UsageAttributionResponse 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 (*UsageAttributionResponse) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*UsageAttributionResponse) GetMetadataOk ¶

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageAttributionResponse) GetUsageOk ¶

func (o *UsageAttributionResponse) GetUsageOk() (*[]UsageAttributionBody, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionResponse) HasMetadata ¶

func (o *UsageAttributionResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*UsageAttributionResponse) HasUsage ¶

func (o *UsageAttributionResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageAttributionResponse) MarshalJSON ¶

func (o UsageAttributionResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributionResponse) SetMetadata ¶

SetMetadata gets a reference to the given UsageAttributionMetadata and assigns it to the Metadata field.

func (*UsageAttributionResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageAttributionBody and assigns it to the Usage field.

func (*UsageAttributionResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAttributionResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAttributionSort ¶

type UsageAttributionSort string

UsageAttributionSort The field to sort by.

const (
	USAGEATTRIBUTIONSORT_API_PERCENTAGE                      UsageAttributionSort = "api_percentage"
	USAGEATTRIBUTIONSORT_SNMP_USAGE                          UsageAttributionSort = "snmp_usage"
	USAGEATTRIBUTIONSORT_APM_HOST_USAGE                      UsageAttributionSort = "apm_host_usage"
	USAGEATTRIBUTIONSORT_API_USAGE                           UsageAttributionSort = "api_usage"
	USAGEATTRIBUTIONSORT_APPSEC_USAGE                        UsageAttributionSort = "appsec_usage"
	USAGEATTRIBUTIONSORT_APPSEC_PERCENTAGE                   UsageAttributionSort = "appsec_percentage"
	USAGEATTRIBUTIONSORT_CONTAINER_USAGE                     UsageAttributionSort = "container_usage"
	USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_PERCENTAGE        UsageAttributionSort = "custom_timeseries_percentage"
	USAGEATTRIBUTIONSORT_CONTAINER_PERCENTAGE                UsageAttributionSort = "container_percentage"
	USAGEATTRIBUTIONSORT_APM_HOST_PERCENTAGE                 UsageAttributionSort = "apm_host_percentage"
	USAGEATTRIBUTIONSORT_NPM_HOST_PERCENTAGE                 UsageAttributionSort = "npm_host_percentage"
	USAGEATTRIBUTIONSORT_BROWSER_PERCENTAGE                  UsageAttributionSort = "browser_percentage"
	USAGEATTRIBUTIONSORT_BROWSER_USAGE                       UsageAttributionSort = "browser_usage"
	USAGEATTRIBUTIONSORT_INFRA_HOST_PERCENTAGE               UsageAttributionSort = "infra_host_percentage"
	USAGEATTRIBUTIONSORT_SNMP_PERCENTAGE                     UsageAttributionSort = "snmp_percentage"
	USAGEATTRIBUTIONSORT_NPM_HOST_USAGE                      UsageAttributionSort = "npm_host_usage"
	USAGEATTRIBUTIONSORT_INFRA_HOST_USAGE                    UsageAttributionSort = "infra_host_usage"
	USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_USAGE             UsageAttributionSort = "custom_timeseries_usage"
	USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_USAGE              UsageAttributionSort = "lambda_functions_usage"
	USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_PERCENTAGE         UsageAttributionSort = "lambda_functions_percentage"
	USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_USAGE            UsageAttributionSort = "lambda_invocations_usage"
	USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_PERCENTAGE       UsageAttributionSort = "lambda_invocations_percentage"
	USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_USAGE        UsageAttributionSort = "estimated_indexed_logs_usage"
	USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_PERCENTAGE   UsageAttributionSort = "estimated_indexed_logs_percentage"
	USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_SPANS_USAGE       UsageAttributionSort = "estimated_indexed_spans_usage"
	USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_SPANS_PERCENTAGE  UsageAttributionSort = "estimated_indexed_spans_percentage"
	USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_SPANS_USAGE      UsageAttributionSort = "estimated_ingested_spans_usage"
	USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_SPANS_PERCENTAGE UsageAttributionSort = "estimated_ingested_spans_percentage"
)

List of UsageAttributionSort.

func NewUsageAttributionSortFromValue ¶

func NewUsageAttributionSortFromValue(v string) (*UsageAttributionSort, error)

NewUsageAttributionSortFromValue returns a pointer to a valid UsageAttributionSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsageAttributionSort) GetAllowedValues ¶ added in v1.1.0

func (v *UsageAttributionSort) GetAllowedValues() []UsageAttributionSort

GetAllowedValues reeturns the list of possible values.

func (UsageAttributionSort) IsValid ¶

func (v UsageAttributionSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageAttributionSort) Ptr ¶

Ptr returns reference to UsageAttributionSort value.

func (*UsageAttributionSort) UnmarshalJSON ¶

func (v *UsageAttributionSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type UsageAttributionSupportedMetrics ¶

type UsageAttributionSupportedMetrics string

UsageAttributionSupportedMetrics Supported fields for usage attribution requests (valid requests contain one or more metrics, or `*` for all).

const (
	USAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_USAGE             UsageAttributionSupportedMetrics = "custom_timeseries_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE                     UsageAttributionSupportedMetrics = "container_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_PERCENTAGE                     UsageAttributionSupportedMetrics = "snmp_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE                      UsageAttributionSupportedMetrics = "apm_host_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_USAGE                       UsageAttributionSupportedMetrics = "browser_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_PERCENTAGE                 UsageAttributionSupportedMetrics = "npm_host_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE                    UsageAttributionSupportedMetrics = "infra_host_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_PERCENTAGE        UsageAttributionSupportedMetrics = "custom_timeseries_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_PERCENTAGE                UsageAttributionSupportedMetrics = "container_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_API_USAGE                           UsageAttributionSupportedMetrics = "api_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE                 UsageAttributionSupportedMetrics = "apm_host_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE               UsageAttributionSupportedMetrics = "infra_host_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_USAGE                          UsageAttributionSupportedMetrics = "snmp_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE                  UsageAttributionSupportedMetrics = "browser_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE                      UsageAttributionSupportedMetrics = "api_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_USAGE                      UsageAttributionSupportedMetrics = "npm_host_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_LAMBDA_FUNCTIONS_USAGE              UsageAttributionSupportedMetrics = "lambda_functions_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_LAMBDA_FUNCTIONS_PERCENTAGE         UsageAttributionSupportedMetrics = "lambda_functions_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_LAMBDA_INVOCATIONS_USAGE            UsageAttributionSupportedMetrics = "lambda_invocations_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_LAMBDA_INVOCATIONS_PERCENTAGE       UsageAttributionSupportedMetrics = "lambda_invocations_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE                       UsageAttributionSupportedMetrics = "fargate_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE                  UsageAttributionSupportedMetrics = "fargate_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_USAGE                 UsageAttributionSupportedMetrics = "profiled_host_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_PERCENTAGE            UsageAttributionSupportedMetrics = "profiled_host_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_USAGE            UsageAttributionSupportedMetrics = "profiled_container_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_PERCENTAGE       UsageAttributionSupportedMetrics = "profiled_container_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE                     UsageAttributionSupportedMetrics = "dbm_hosts_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE                UsageAttributionSupportedMetrics = "dbm_hosts_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_USAGE                   UsageAttributionSupportedMetrics = "dbm_queries_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE              UsageAttributionSupportedMetrics = "dbm_queries_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_USAGE        UsageAttributionSupportedMetrics = "estimated_indexed_logs_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_PERCENTAGE   UsageAttributionSupportedMetrics = "estimated_indexed_logs_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_USAGE                        UsageAttributionSupportedMetrics = "appsec_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_PERCENTAGE                   UsageAttributionSupportedMetrics = "appsec_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_USAGE       UsageAttributionSupportedMetrics = "estimated_indexed_spans_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_PERCENTAGE  UsageAttributionSupportedMetrics = "estimated_indexed_spans_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_USAGE      UsageAttributionSupportedMetrics = "estimated_ingested_spans_usage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_PERCENTAGE UsageAttributionSupportedMetrics = "estimated_ingested_spans_percentage"
	USAGEATTRIBUTIONSUPPORTEDMETRICS_ALL                                 UsageAttributionSupportedMetrics = "*"
)

List of UsageAttributionSupportedMetrics.

func NewUsageAttributionSupportedMetricsFromValue ¶

func NewUsageAttributionSupportedMetricsFromValue(v string) (*UsageAttributionSupportedMetrics, error)

NewUsageAttributionSupportedMetricsFromValue returns a pointer to a valid UsageAttributionSupportedMetrics for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsageAttributionSupportedMetrics) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (UsageAttributionSupportedMetrics) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageAttributionSupportedMetrics) Ptr ¶

Ptr returns reference to UsageAttributionSupportedMetrics value.

func (*UsageAttributionSupportedMetrics) UnmarshalJSON ¶

func (v *UsageAttributionSupportedMetrics) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type UsageAttributionValues ¶

type UsageAttributionValues struct {
	// The percentage of synthetic API test usage by tag(s).
	ApiPercentage *float64 `json:"api_percentage,omitempty"`
	// The synthetic API test usage by tag(s).
	ApiUsage *float64 `json:"api_usage,omitempty"`
	// The percentage of APM host usage by tag(s).
	ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"`
	// The APM host usage by tag(s).
	ApmHostUsage *float64 `json:"apm_host_usage,omitempty"`
	// The percentage of Application Security Monitoring host usage by tag(s).
	AppsecPercentage *float64 `json:"appsec_percentage,omitempty"`
	// The Application Security Monitoring host usage by tag(s).
	AppsecUsage *float64 `json:"appsec_usage,omitempty"`
	// The percentage of synthetic browser test usage by tag(s).
	BrowserPercentage *float64 `json:"browser_percentage,omitempty"`
	// The synthetic browser test usage by tag(s).
	BrowserUsage *float64 `json:"browser_usage,omitempty"`
	// The percentage of container usage by tag(s).
	ContainerPercentage *float64 `json:"container_percentage,omitempty"`
	// The container usage by tag(s).
	ContainerUsage *float64 `json:"container_usage,omitempty"`
	// The percentage of Cloud Security Posture Management container usage by tag(s)
	CspmContainerPercentage *float64 `json:"cspm_container_percentage,omitempty"`
	// The Cloud Security Posture Management container usage by tag(s)
	CspmContainerUsage *float64 `json:"cspm_container_usage,omitempty"`
	// The percentage of Cloud Security Posture Management host usage by tag(s)
	CspmHostPercentage *float64 `json:"cspm_host_percentage,omitempty"`
	// The Cloud Security Posture Management host usage by tag(s)
	CspmHostUsage *float64 `json:"cspm_host_usage,omitempty"`
	// The percentage of custom metrics usage by tag(s).
	CustomTimeseriesPercentage *float64 `json:"custom_timeseries_percentage,omitempty"`
	// The custom metrics usage by tag(s).
	CustomTimeseriesUsage *float64 `json:"custom_timeseries_usage,omitempty"`
	// The percentage of Cloud Workload Security container usage by tag(s)
	CwsContainerPercentage *float64 `json:"cws_container_percentage,omitempty"`
	// The Cloud Workload Security container usage by tag(s)
	CwsContainerUsage *float64 `json:"cws_container_usage,omitempty"`
	// The percentage of Cloud Workload Security host usage by tag(s)
	CwsHostPercentage *float64 `json:"cws_host_percentage,omitempty"`
	// The Cloud Workload Security host usage by tag(s)
	CwsHostUsage *float64 `json:"cws_host_usage,omitempty"`
	// The percentage of Database Monitoring host usage by tag(s).
	DbmHostsPercentage *float64 `json:"dbm_hosts_percentage,omitempty"`
	// The Database Monitoring host usage by tag(s).
	DbmHostsUsage *float64 `json:"dbm_hosts_usage,omitempty"`
	// The percentage of Database Monitoring normalized queries usage by tag(s).
	DbmQueriesPercentage *float64 `json:"dbm_queries_percentage,omitempty"`
	// The Database Monitoring normalized queries usage by tag(s).
	DbmQueriesUsage *float64 `json:"dbm_queries_usage,omitempty"`
	// The percentage of estimated live indexed logs usage by tag(s). Note this field is in private beta.
	EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"`
	// The estimated live indexed logs usage by tag(s). Note this field is in private beta.
	EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"`
	// The percentage of estimated indexed spans usage by tag(s). Note this field is in private beta.
	EstimatedIndexedSpansPercentage *float64 `json:"estimated_indexed_spans_percentage,omitempty"`
	// The estimated indexed spans usage by tag(s). Note this field is in private beta.
	EstimatedIndexedSpansUsage *float64 `json:"estimated_indexed_spans_usage,omitempty"`
	// The percentage of estimated ingested spans usage by tag(s). Note this field is in private beta.
	EstimatedIngestedSpansPercentage *float64 `json:"estimated_ingested_spans_percentage,omitempty"`
	// The estimated ingested spans usage by tag(s). Note this field is in private beta.
	EstimatedIngestedSpansUsage *float64 `json:"estimated_ingested_spans_usage,omitempty"`
	// The percentage of infrastructure host usage by tag(s).
	InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"`
	// The infrastructure host usage by tag(s).
	InfraHostUsage *float64 `json:"infra_host_usage,omitempty"`
	// The percentage of Lambda function usage by tag(s).
	LambdaFunctionsPercentage *float64 `json:"lambda_functions_percentage,omitempty"`
	// The Lambda function usage by tag(s).
	LambdaFunctionsUsage *float64 `json:"lambda_functions_usage,omitempty"`
	// The percentage of Lambda invocation usage by tag(s).
	LambdaInvocationsPercentage *float64 `json:"lambda_invocations_percentage,omitempty"`
	// The Lambda invocation usage by tag(s).
	LambdaInvocationsUsage *float64 `json:"lambda_invocations_usage,omitempty"`
	// The percentage of network host usage by tag(s).
	NpmHostPercentage *float64 `json:"npm_host_percentage,omitempty"`
	// The network host usage by tag(s).
	NpmHostUsage *float64 `json:"npm_host_usage,omitempty"`
	// The percentage of profiled containers usage by tag(s).
	ProfiledContainerPercentage *float64 `json:"profiled_container_percentage,omitempty"`
	// The profiled container usage by tag(s).
	ProfiledContainerUsage *float64 `json:"profiled_container_usage,omitempty"`
	// The percentage of profiled hosts usage by tag(s).
	ProfiledHostsPercentage *float64 `json:"profiled_hosts_percentage,omitempty"`
	// The profiled host usage by tag(s).
	ProfiledHostsUsage *float64 `json:"profiled_hosts_usage,omitempty"`
	// The percentage of network device usage by tag(s).
	SnmpPercentage *float64 `json:"snmp_percentage,omitempty"`
	// The network device usage by tag(s).
	SnmpUsage *float64 `json:"snmp_usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAttributionValues Fields in Usage Summary by tag(s).

func NewUsageAttributionValues ¶

func NewUsageAttributionValues() *UsageAttributionValues

NewUsageAttributionValues instantiates a new UsageAttributionValues 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 NewUsageAttributionValuesWithDefaults ¶

func NewUsageAttributionValuesWithDefaults() *UsageAttributionValues

NewUsageAttributionValuesWithDefaults instantiates a new UsageAttributionValues 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 (*UsageAttributionValues) GetApiPercentage ¶

func (o *UsageAttributionValues) GetApiPercentage() float64

GetApiPercentage returns the ApiPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetApiPercentageOk ¶

func (o *UsageAttributionValues) GetApiPercentageOk() (*float64, bool)

GetApiPercentageOk returns a tuple with the ApiPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetApiUsage ¶

func (o *UsageAttributionValues) GetApiUsage() float64

GetApiUsage returns the ApiUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetApiUsageOk ¶

func (o *UsageAttributionValues) GetApiUsageOk() (*float64, bool)

GetApiUsageOk returns a tuple with the ApiUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetApmHostPercentage ¶

func (o *UsageAttributionValues) GetApmHostPercentage() float64

GetApmHostPercentage returns the ApmHostPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetApmHostPercentageOk ¶

func (o *UsageAttributionValues) GetApmHostPercentageOk() (*float64, bool)

GetApmHostPercentageOk returns a tuple with the ApmHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetApmHostUsage ¶

func (o *UsageAttributionValues) GetApmHostUsage() float64

GetApmHostUsage returns the ApmHostUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetApmHostUsageOk ¶

func (o *UsageAttributionValues) GetApmHostUsageOk() (*float64, bool)

GetApmHostUsageOk returns a tuple with the ApmHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetAppsecPercentage ¶ added in v1.15.0

func (o *UsageAttributionValues) GetAppsecPercentage() float64

GetAppsecPercentage returns the AppsecPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetAppsecPercentageOk ¶ added in v1.15.0

func (o *UsageAttributionValues) GetAppsecPercentageOk() (*float64, bool)

GetAppsecPercentageOk returns a tuple with the AppsecPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetAppsecUsage ¶ added in v1.15.0

func (o *UsageAttributionValues) GetAppsecUsage() float64

GetAppsecUsage returns the AppsecUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetAppsecUsageOk ¶ added in v1.15.0

func (o *UsageAttributionValues) GetAppsecUsageOk() (*float64, bool)

GetAppsecUsageOk returns a tuple with the AppsecUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetBrowserPercentage ¶

func (o *UsageAttributionValues) GetBrowserPercentage() float64

GetBrowserPercentage returns the BrowserPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetBrowserPercentageOk ¶

func (o *UsageAttributionValues) GetBrowserPercentageOk() (*float64, bool)

GetBrowserPercentageOk returns a tuple with the BrowserPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetBrowserUsage ¶

func (o *UsageAttributionValues) GetBrowserUsage() float64

GetBrowserUsage returns the BrowserUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetBrowserUsageOk ¶

func (o *UsageAttributionValues) GetBrowserUsageOk() (*float64, bool)

GetBrowserUsageOk returns a tuple with the BrowserUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetContainerPercentage ¶

func (o *UsageAttributionValues) GetContainerPercentage() float64

GetContainerPercentage returns the ContainerPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetContainerPercentageOk ¶

func (o *UsageAttributionValues) GetContainerPercentageOk() (*float64, bool)

GetContainerPercentageOk returns a tuple with the ContainerPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetContainerUsage ¶

func (o *UsageAttributionValues) GetContainerUsage() float64

GetContainerUsage returns the ContainerUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetContainerUsageOk ¶

func (o *UsageAttributionValues) GetContainerUsageOk() (*float64, bool)

GetContainerUsageOk returns a tuple with the ContainerUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCspmContainerPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmContainerPercentage() float64

GetCspmContainerPercentage returns the CspmContainerPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCspmContainerPercentageOk ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmContainerPercentageOk() (*float64, bool)

GetCspmContainerPercentageOk returns a tuple with the CspmContainerPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCspmContainerUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmContainerUsage() float64

GetCspmContainerUsage returns the CspmContainerUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCspmContainerUsageOk ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmContainerUsageOk() (*float64, bool)

GetCspmContainerUsageOk returns a tuple with the CspmContainerUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCspmHostPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmHostPercentage() float64

GetCspmHostPercentage returns the CspmHostPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCspmHostPercentageOk ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmHostPercentageOk() (*float64, bool)

GetCspmHostPercentageOk returns a tuple with the CspmHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCspmHostUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmHostUsage() float64

GetCspmHostUsage returns the CspmHostUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCspmHostUsageOk ¶ added in v1.3.0

func (o *UsageAttributionValues) GetCspmHostUsageOk() (*float64, bool)

GetCspmHostUsageOk returns a tuple with the CspmHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCustomTimeseriesPercentage ¶

func (o *UsageAttributionValues) GetCustomTimeseriesPercentage() float64

GetCustomTimeseriesPercentage returns the CustomTimeseriesPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCustomTimeseriesPercentageOk ¶

func (o *UsageAttributionValues) GetCustomTimeseriesPercentageOk() (*float64, bool)

GetCustomTimeseriesPercentageOk returns a tuple with the CustomTimeseriesPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCustomTimeseriesUsage ¶

func (o *UsageAttributionValues) GetCustomTimeseriesUsage() float64

GetCustomTimeseriesUsage returns the CustomTimeseriesUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCustomTimeseriesUsageOk ¶

func (o *UsageAttributionValues) GetCustomTimeseriesUsageOk() (*float64, bool)

GetCustomTimeseriesUsageOk returns a tuple with the CustomTimeseriesUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCwsContainerPercentage ¶

func (o *UsageAttributionValues) GetCwsContainerPercentage() float64

GetCwsContainerPercentage returns the CwsContainerPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCwsContainerPercentageOk ¶

func (o *UsageAttributionValues) GetCwsContainerPercentageOk() (*float64, bool)

GetCwsContainerPercentageOk returns a tuple with the CwsContainerPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCwsContainerUsage ¶

func (o *UsageAttributionValues) GetCwsContainerUsage() float64

GetCwsContainerUsage returns the CwsContainerUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCwsContainerUsageOk ¶

func (o *UsageAttributionValues) GetCwsContainerUsageOk() (*float64, bool)

GetCwsContainerUsageOk returns a tuple with the CwsContainerUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCwsHostPercentage ¶

func (o *UsageAttributionValues) GetCwsHostPercentage() float64

GetCwsHostPercentage returns the CwsHostPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCwsHostPercentageOk ¶

func (o *UsageAttributionValues) GetCwsHostPercentageOk() (*float64, bool)

GetCwsHostPercentageOk returns a tuple with the CwsHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetCwsHostUsage ¶

func (o *UsageAttributionValues) GetCwsHostUsage() float64

GetCwsHostUsage returns the CwsHostUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetCwsHostUsageOk ¶

func (o *UsageAttributionValues) GetCwsHostUsageOk() (*float64, bool)

GetCwsHostUsageOk returns a tuple with the CwsHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetDbmHostsPercentage ¶ added in v1.6.0

func (o *UsageAttributionValues) GetDbmHostsPercentage() float64

GetDbmHostsPercentage returns the DbmHostsPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetDbmHostsPercentageOk ¶ added in v1.6.0

func (o *UsageAttributionValues) GetDbmHostsPercentageOk() (*float64, bool)

GetDbmHostsPercentageOk returns a tuple with the DbmHostsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetDbmHostsUsage ¶ added in v1.6.0

func (o *UsageAttributionValues) GetDbmHostsUsage() float64

GetDbmHostsUsage returns the DbmHostsUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetDbmHostsUsageOk ¶ added in v1.6.0

func (o *UsageAttributionValues) GetDbmHostsUsageOk() (*float64, bool)

GetDbmHostsUsageOk returns a tuple with the DbmHostsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetDbmQueriesPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) GetDbmQueriesPercentage() float64

GetDbmQueriesPercentage returns the DbmQueriesPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetDbmQueriesPercentageOk ¶ added in v1.3.0

func (o *UsageAttributionValues) GetDbmQueriesPercentageOk() (*float64, bool)

GetDbmQueriesPercentageOk returns a tuple with the DbmQueriesPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetDbmQueriesUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) GetDbmQueriesUsage() float64

GetDbmQueriesUsage returns the DbmQueriesUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetDbmQueriesUsageOk ¶ added in v1.3.0

func (o *UsageAttributionValues) GetDbmQueriesUsageOk() (*float64, bool)

GetDbmQueriesUsageOk returns a tuple with the DbmQueriesUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetEstimatedIndexedLogsPercentage ¶ added in v1.7.0

func (o *UsageAttributionValues) GetEstimatedIndexedLogsPercentage() float64

GetEstimatedIndexedLogsPercentage returns the EstimatedIndexedLogsPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetEstimatedIndexedLogsPercentageOk ¶ added in v1.7.0

func (o *UsageAttributionValues) GetEstimatedIndexedLogsPercentageOk() (*float64, bool)

GetEstimatedIndexedLogsPercentageOk returns a tuple with the EstimatedIndexedLogsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetEstimatedIndexedLogsUsage ¶ added in v1.7.0

func (o *UsageAttributionValues) GetEstimatedIndexedLogsUsage() float64

GetEstimatedIndexedLogsUsage returns the EstimatedIndexedLogsUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetEstimatedIndexedLogsUsageOk ¶ added in v1.7.0

func (o *UsageAttributionValues) GetEstimatedIndexedLogsUsageOk() (*float64, bool)

GetEstimatedIndexedLogsUsageOk returns a tuple with the EstimatedIndexedLogsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetEstimatedIndexedSpansPercentage ¶ added in v1.15.0

func (o *UsageAttributionValues) GetEstimatedIndexedSpansPercentage() float64

GetEstimatedIndexedSpansPercentage returns the EstimatedIndexedSpansPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetEstimatedIndexedSpansPercentageOk ¶ added in v1.15.0

func (o *UsageAttributionValues) GetEstimatedIndexedSpansPercentageOk() (*float64, bool)

GetEstimatedIndexedSpansPercentageOk returns a tuple with the EstimatedIndexedSpansPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetEstimatedIndexedSpansUsage ¶ added in v1.15.0

func (o *UsageAttributionValues) GetEstimatedIndexedSpansUsage() float64

GetEstimatedIndexedSpansUsage returns the EstimatedIndexedSpansUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetEstimatedIndexedSpansUsageOk ¶ added in v1.15.0

func (o *UsageAttributionValues) GetEstimatedIndexedSpansUsageOk() (*float64, bool)

GetEstimatedIndexedSpansUsageOk returns a tuple with the EstimatedIndexedSpansUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetEstimatedIngestedSpansPercentage ¶ added in v1.16.0

func (o *UsageAttributionValues) GetEstimatedIngestedSpansPercentage() float64

GetEstimatedIngestedSpansPercentage returns the EstimatedIngestedSpansPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetEstimatedIngestedSpansPercentageOk ¶ added in v1.16.0

func (o *UsageAttributionValues) GetEstimatedIngestedSpansPercentageOk() (*float64, bool)

GetEstimatedIngestedSpansPercentageOk returns a tuple with the EstimatedIngestedSpansPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetEstimatedIngestedSpansUsage ¶ added in v1.16.0

func (o *UsageAttributionValues) GetEstimatedIngestedSpansUsage() float64

GetEstimatedIngestedSpansUsage returns the EstimatedIngestedSpansUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetEstimatedIngestedSpansUsageOk ¶ added in v1.16.0

func (o *UsageAttributionValues) GetEstimatedIngestedSpansUsageOk() (*float64, bool)

GetEstimatedIngestedSpansUsageOk returns a tuple with the EstimatedIngestedSpansUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetInfraHostPercentage ¶

func (o *UsageAttributionValues) GetInfraHostPercentage() float64

GetInfraHostPercentage returns the InfraHostPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetInfraHostPercentageOk ¶

func (o *UsageAttributionValues) GetInfraHostPercentageOk() (*float64, bool)

GetInfraHostPercentageOk returns a tuple with the InfraHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetInfraHostUsage ¶

func (o *UsageAttributionValues) GetInfraHostUsage() float64

GetInfraHostUsage returns the InfraHostUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetInfraHostUsageOk ¶

func (o *UsageAttributionValues) GetInfraHostUsageOk() (*float64, bool)

GetInfraHostUsageOk returns a tuple with the InfraHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetLambdaFunctionsPercentage ¶

func (o *UsageAttributionValues) GetLambdaFunctionsPercentage() float64

GetLambdaFunctionsPercentage returns the LambdaFunctionsPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetLambdaFunctionsPercentageOk ¶

func (o *UsageAttributionValues) GetLambdaFunctionsPercentageOk() (*float64, bool)

GetLambdaFunctionsPercentageOk returns a tuple with the LambdaFunctionsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetLambdaFunctionsUsage ¶

func (o *UsageAttributionValues) GetLambdaFunctionsUsage() float64

GetLambdaFunctionsUsage returns the LambdaFunctionsUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetLambdaFunctionsUsageOk ¶

func (o *UsageAttributionValues) GetLambdaFunctionsUsageOk() (*float64, bool)

GetLambdaFunctionsUsageOk returns a tuple with the LambdaFunctionsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetLambdaInvocationsPercentage ¶

func (o *UsageAttributionValues) GetLambdaInvocationsPercentage() float64

GetLambdaInvocationsPercentage returns the LambdaInvocationsPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetLambdaInvocationsPercentageOk ¶

func (o *UsageAttributionValues) GetLambdaInvocationsPercentageOk() (*float64, bool)

GetLambdaInvocationsPercentageOk returns a tuple with the LambdaInvocationsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetLambdaInvocationsUsage ¶

func (o *UsageAttributionValues) GetLambdaInvocationsUsage() float64

GetLambdaInvocationsUsage returns the LambdaInvocationsUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetLambdaInvocationsUsageOk ¶

func (o *UsageAttributionValues) GetLambdaInvocationsUsageOk() (*float64, bool)

GetLambdaInvocationsUsageOk returns a tuple with the LambdaInvocationsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetNpmHostPercentage ¶

func (o *UsageAttributionValues) GetNpmHostPercentage() float64

GetNpmHostPercentage returns the NpmHostPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetNpmHostPercentageOk ¶

func (o *UsageAttributionValues) GetNpmHostPercentageOk() (*float64, bool)

GetNpmHostPercentageOk returns a tuple with the NpmHostPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetNpmHostUsage ¶

func (o *UsageAttributionValues) GetNpmHostUsage() float64

GetNpmHostUsage returns the NpmHostUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetNpmHostUsageOk ¶

func (o *UsageAttributionValues) GetNpmHostUsageOk() (*float64, bool)

GetNpmHostUsageOk returns a tuple with the NpmHostUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetProfiledContainerPercentage ¶ added in v1.5.0

func (o *UsageAttributionValues) GetProfiledContainerPercentage() float64

GetProfiledContainerPercentage returns the ProfiledContainerPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetProfiledContainerPercentageOk ¶ added in v1.5.0

func (o *UsageAttributionValues) GetProfiledContainerPercentageOk() (*float64, bool)

GetProfiledContainerPercentageOk returns a tuple with the ProfiledContainerPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetProfiledContainerUsage ¶ added in v1.5.0

func (o *UsageAttributionValues) GetProfiledContainerUsage() float64

GetProfiledContainerUsage returns the ProfiledContainerUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetProfiledContainerUsageOk ¶ added in v1.5.0

func (o *UsageAttributionValues) GetProfiledContainerUsageOk() (*float64, bool)

GetProfiledContainerUsageOk returns a tuple with the ProfiledContainerUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetProfiledHostsPercentage ¶

func (o *UsageAttributionValues) GetProfiledHostsPercentage() float64

GetProfiledHostsPercentage returns the ProfiledHostsPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetProfiledHostsPercentageOk ¶

func (o *UsageAttributionValues) GetProfiledHostsPercentageOk() (*float64, bool)

GetProfiledHostsPercentageOk returns a tuple with the ProfiledHostsPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetProfiledHostsUsage ¶

func (o *UsageAttributionValues) GetProfiledHostsUsage() float64

GetProfiledHostsUsage returns the ProfiledHostsUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetProfiledHostsUsageOk ¶

func (o *UsageAttributionValues) GetProfiledHostsUsageOk() (*float64, bool)

GetProfiledHostsUsageOk returns a tuple with the ProfiledHostsUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetSnmpPercentage ¶

func (o *UsageAttributionValues) GetSnmpPercentage() float64

GetSnmpPercentage returns the SnmpPercentage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetSnmpPercentageOk ¶

func (o *UsageAttributionValues) GetSnmpPercentageOk() (*float64, bool)

GetSnmpPercentageOk returns a tuple with the SnmpPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) GetSnmpUsage ¶

func (o *UsageAttributionValues) GetSnmpUsage() float64

GetSnmpUsage returns the SnmpUsage field value if set, zero value otherwise.

func (*UsageAttributionValues) GetSnmpUsageOk ¶

func (o *UsageAttributionValues) GetSnmpUsageOk() (*float64, bool)

GetSnmpUsageOk returns a tuple with the SnmpUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAttributionValues) HasApiPercentage ¶

func (o *UsageAttributionValues) HasApiPercentage() bool

HasApiPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasApiUsage ¶

func (o *UsageAttributionValues) HasApiUsage() bool

HasApiUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasApmHostPercentage ¶

func (o *UsageAttributionValues) HasApmHostPercentage() bool

HasApmHostPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasApmHostUsage ¶

func (o *UsageAttributionValues) HasApmHostUsage() bool

HasApmHostUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasAppsecPercentage ¶ added in v1.15.0

func (o *UsageAttributionValues) HasAppsecPercentage() bool

HasAppsecPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasAppsecUsage ¶ added in v1.15.0

func (o *UsageAttributionValues) HasAppsecUsage() bool

HasAppsecUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasBrowserPercentage ¶

func (o *UsageAttributionValues) HasBrowserPercentage() bool

HasBrowserPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasBrowserUsage ¶

func (o *UsageAttributionValues) HasBrowserUsage() bool

HasBrowserUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasContainerPercentage ¶

func (o *UsageAttributionValues) HasContainerPercentage() bool

HasContainerPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasContainerUsage ¶

func (o *UsageAttributionValues) HasContainerUsage() bool

HasContainerUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCspmContainerPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) HasCspmContainerPercentage() bool

HasCspmContainerPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCspmContainerUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) HasCspmContainerUsage() bool

HasCspmContainerUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCspmHostPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) HasCspmHostPercentage() bool

HasCspmHostPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCspmHostUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) HasCspmHostUsage() bool

HasCspmHostUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCustomTimeseriesPercentage ¶

func (o *UsageAttributionValues) HasCustomTimeseriesPercentage() bool

HasCustomTimeseriesPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCustomTimeseriesUsage ¶

func (o *UsageAttributionValues) HasCustomTimeseriesUsage() bool

HasCustomTimeseriesUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCwsContainerPercentage ¶

func (o *UsageAttributionValues) HasCwsContainerPercentage() bool

HasCwsContainerPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCwsContainerUsage ¶

func (o *UsageAttributionValues) HasCwsContainerUsage() bool

HasCwsContainerUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCwsHostPercentage ¶

func (o *UsageAttributionValues) HasCwsHostPercentage() bool

HasCwsHostPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasCwsHostUsage ¶

func (o *UsageAttributionValues) HasCwsHostUsage() bool

HasCwsHostUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasDbmHostsPercentage ¶ added in v1.6.0

func (o *UsageAttributionValues) HasDbmHostsPercentage() bool

HasDbmHostsPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasDbmHostsUsage ¶ added in v1.6.0

func (o *UsageAttributionValues) HasDbmHostsUsage() bool

HasDbmHostsUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasDbmQueriesPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) HasDbmQueriesPercentage() bool

HasDbmQueriesPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasDbmQueriesUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) HasDbmQueriesUsage() bool

HasDbmQueriesUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasEstimatedIndexedLogsPercentage ¶ added in v1.7.0

func (o *UsageAttributionValues) HasEstimatedIndexedLogsPercentage() bool

HasEstimatedIndexedLogsPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasEstimatedIndexedLogsUsage ¶ added in v1.7.0

func (o *UsageAttributionValues) HasEstimatedIndexedLogsUsage() bool

HasEstimatedIndexedLogsUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasEstimatedIndexedSpansPercentage ¶ added in v1.15.0

func (o *UsageAttributionValues) HasEstimatedIndexedSpansPercentage() bool

HasEstimatedIndexedSpansPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasEstimatedIndexedSpansUsage ¶ added in v1.15.0

func (o *UsageAttributionValues) HasEstimatedIndexedSpansUsage() bool

HasEstimatedIndexedSpansUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasEstimatedIngestedSpansPercentage ¶ added in v1.16.0

func (o *UsageAttributionValues) HasEstimatedIngestedSpansPercentage() bool

HasEstimatedIngestedSpansPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasEstimatedIngestedSpansUsage ¶ added in v1.16.0

func (o *UsageAttributionValues) HasEstimatedIngestedSpansUsage() bool

HasEstimatedIngestedSpansUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasInfraHostPercentage ¶

func (o *UsageAttributionValues) HasInfraHostPercentage() bool

HasInfraHostPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasInfraHostUsage ¶

func (o *UsageAttributionValues) HasInfraHostUsage() bool

HasInfraHostUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasLambdaFunctionsPercentage ¶

func (o *UsageAttributionValues) HasLambdaFunctionsPercentage() bool

HasLambdaFunctionsPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasLambdaFunctionsUsage ¶

func (o *UsageAttributionValues) HasLambdaFunctionsUsage() bool

HasLambdaFunctionsUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasLambdaInvocationsPercentage ¶

func (o *UsageAttributionValues) HasLambdaInvocationsPercentage() bool

HasLambdaInvocationsPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasLambdaInvocationsUsage ¶

func (o *UsageAttributionValues) HasLambdaInvocationsUsage() bool

HasLambdaInvocationsUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasNpmHostPercentage ¶

func (o *UsageAttributionValues) HasNpmHostPercentage() bool

HasNpmHostPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasNpmHostUsage ¶

func (o *UsageAttributionValues) HasNpmHostUsage() bool

HasNpmHostUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasProfiledContainerPercentage ¶ added in v1.5.0

func (o *UsageAttributionValues) HasProfiledContainerPercentage() bool

HasProfiledContainerPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasProfiledContainerUsage ¶ added in v1.5.0

func (o *UsageAttributionValues) HasProfiledContainerUsage() bool

HasProfiledContainerUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasProfiledHostsPercentage ¶

func (o *UsageAttributionValues) HasProfiledHostsPercentage() bool

HasProfiledHostsPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasProfiledHostsUsage ¶

func (o *UsageAttributionValues) HasProfiledHostsUsage() bool

HasProfiledHostsUsage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasSnmpPercentage ¶

func (o *UsageAttributionValues) HasSnmpPercentage() bool

HasSnmpPercentage returns a boolean if a field has been set.

func (*UsageAttributionValues) HasSnmpUsage ¶

func (o *UsageAttributionValues) HasSnmpUsage() bool

HasSnmpUsage returns a boolean if a field has been set.

func (UsageAttributionValues) MarshalJSON ¶

func (o UsageAttributionValues) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAttributionValues) SetApiPercentage ¶

func (o *UsageAttributionValues) SetApiPercentage(v float64)

SetApiPercentage gets a reference to the given float64 and assigns it to the ApiPercentage field.

func (*UsageAttributionValues) SetApiUsage ¶

func (o *UsageAttributionValues) SetApiUsage(v float64)

SetApiUsage gets a reference to the given float64 and assigns it to the ApiUsage field.

func (*UsageAttributionValues) SetApmHostPercentage ¶

func (o *UsageAttributionValues) SetApmHostPercentage(v float64)

SetApmHostPercentage gets a reference to the given float64 and assigns it to the ApmHostPercentage field.

func (*UsageAttributionValues) SetApmHostUsage ¶

func (o *UsageAttributionValues) SetApmHostUsage(v float64)

SetApmHostUsage gets a reference to the given float64 and assigns it to the ApmHostUsage field.

func (*UsageAttributionValues) SetAppsecPercentage ¶ added in v1.15.0

func (o *UsageAttributionValues) SetAppsecPercentage(v float64)

SetAppsecPercentage gets a reference to the given float64 and assigns it to the AppsecPercentage field.

func (*UsageAttributionValues) SetAppsecUsage ¶ added in v1.15.0

func (o *UsageAttributionValues) SetAppsecUsage(v float64)

SetAppsecUsage gets a reference to the given float64 and assigns it to the AppsecUsage field.

func (*UsageAttributionValues) SetBrowserPercentage ¶

func (o *UsageAttributionValues) SetBrowserPercentage(v float64)

SetBrowserPercentage gets a reference to the given float64 and assigns it to the BrowserPercentage field.

func (*UsageAttributionValues) SetBrowserUsage ¶

func (o *UsageAttributionValues) SetBrowserUsage(v float64)

SetBrowserUsage gets a reference to the given float64 and assigns it to the BrowserUsage field.

func (*UsageAttributionValues) SetContainerPercentage ¶

func (o *UsageAttributionValues) SetContainerPercentage(v float64)

SetContainerPercentage gets a reference to the given float64 and assigns it to the ContainerPercentage field.

func (*UsageAttributionValues) SetContainerUsage ¶

func (o *UsageAttributionValues) SetContainerUsage(v float64)

SetContainerUsage gets a reference to the given float64 and assigns it to the ContainerUsage field.

func (*UsageAttributionValues) SetCspmContainerPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) SetCspmContainerPercentage(v float64)

SetCspmContainerPercentage gets a reference to the given float64 and assigns it to the CspmContainerPercentage field.

func (*UsageAttributionValues) SetCspmContainerUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) SetCspmContainerUsage(v float64)

SetCspmContainerUsage gets a reference to the given float64 and assigns it to the CspmContainerUsage field.

func (*UsageAttributionValues) SetCspmHostPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) SetCspmHostPercentage(v float64)

SetCspmHostPercentage gets a reference to the given float64 and assigns it to the CspmHostPercentage field.

func (*UsageAttributionValues) SetCspmHostUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) SetCspmHostUsage(v float64)

SetCspmHostUsage gets a reference to the given float64 and assigns it to the CspmHostUsage field.

func (*UsageAttributionValues) SetCustomTimeseriesPercentage ¶

func (o *UsageAttributionValues) SetCustomTimeseriesPercentage(v float64)

SetCustomTimeseriesPercentage gets a reference to the given float64 and assigns it to the CustomTimeseriesPercentage field.

func (*UsageAttributionValues) SetCustomTimeseriesUsage ¶

func (o *UsageAttributionValues) SetCustomTimeseriesUsage(v float64)

SetCustomTimeseriesUsage gets a reference to the given float64 and assigns it to the CustomTimeseriesUsage field.

func (*UsageAttributionValues) SetCwsContainerPercentage ¶

func (o *UsageAttributionValues) SetCwsContainerPercentage(v float64)

SetCwsContainerPercentage gets a reference to the given float64 and assigns it to the CwsContainerPercentage field.

func (*UsageAttributionValues) SetCwsContainerUsage ¶

func (o *UsageAttributionValues) SetCwsContainerUsage(v float64)

SetCwsContainerUsage gets a reference to the given float64 and assigns it to the CwsContainerUsage field.

func (*UsageAttributionValues) SetCwsHostPercentage ¶

func (o *UsageAttributionValues) SetCwsHostPercentage(v float64)

SetCwsHostPercentage gets a reference to the given float64 and assigns it to the CwsHostPercentage field.

func (*UsageAttributionValues) SetCwsHostUsage ¶

func (o *UsageAttributionValues) SetCwsHostUsage(v float64)

SetCwsHostUsage gets a reference to the given float64 and assigns it to the CwsHostUsage field.

func (*UsageAttributionValues) SetDbmHostsPercentage ¶ added in v1.6.0

func (o *UsageAttributionValues) SetDbmHostsPercentage(v float64)

SetDbmHostsPercentage gets a reference to the given float64 and assigns it to the DbmHostsPercentage field.

func (*UsageAttributionValues) SetDbmHostsUsage ¶ added in v1.6.0

func (o *UsageAttributionValues) SetDbmHostsUsage(v float64)

SetDbmHostsUsage gets a reference to the given float64 and assigns it to the DbmHostsUsage field.

func (*UsageAttributionValues) SetDbmQueriesPercentage ¶ added in v1.3.0

func (o *UsageAttributionValues) SetDbmQueriesPercentage(v float64)

SetDbmQueriesPercentage gets a reference to the given float64 and assigns it to the DbmQueriesPercentage field.

func (*UsageAttributionValues) SetDbmQueriesUsage ¶ added in v1.3.0

func (o *UsageAttributionValues) SetDbmQueriesUsage(v float64)

SetDbmQueriesUsage gets a reference to the given float64 and assigns it to the DbmQueriesUsage field.

func (*UsageAttributionValues) SetEstimatedIndexedLogsPercentage ¶ added in v1.7.0

func (o *UsageAttributionValues) SetEstimatedIndexedLogsPercentage(v float64)

SetEstimatedIndexedLogsPercentage gets a reference to the given float64 and assigns it to the EstimatedIndexedLogsPercentage field.

func (*UsageAttributionValues) SetEstimatedIndexedLogsUsage ¶ added in v1.7.0

func (o *UsageAttributionValues) SetEstimatedIndexedLogsUsage(v float64)

SetEstimatedIndexedLogsUsage gets a reference to the given float64 and assigns it to the EstimatedIndexedLogsUsage field.

func (*UsageAttributionValues) SetEstimatedIndexedSpansPercentage ¶ added in v1.15.0

func (o *UsageAttributionValues) SetEstimatedIndexedSpansPercentage(v float64)

SetEstimatedIndexedSpansPercentage gets a reference to the given float64 and assigns it to the EstimatedIndexedSpansPercentage field.

func (*UsageAttributionValues) SetEstimatedIndexedSpansUsage ¶ added in v1.15.0

func (o *UsageAttributionValues) SetEstimatedIndexedSpansUsage(v float64)

SetEstimatedIndexedSpansUsage gets a reference to the given float64 and assigns it to the EstimatedIndexedSpansUsage field.

func (*UsageAttributionValues) SetEstimatedIngestedSpansPercentage ¶ added in v1.16.0

func (o *UsageAttributionValues) SetEstimatedIngestedSpansPercentage(v float64)

SetEstimatedIngestedSpansPercentage gets a reference to the given float64 and assigns it to the EstimatedIngestedSpansPercentage field.

func (*UsageAttributionValues) SetEstimatedIngestedSpansUsage ¶ added in v1.16.0

func (o *UsageAttributionValues) SetEstimatedIngestedSpansUsage(v float64)

SetEstimatedIngestedSpansUsage gets a reference to the given float64 and assigns it to the EstimatedIngestedSpansUsage field.

func (*UsageAttributionValues) SetInfraHostPercentage ¶

func (o *UsageAttributionValues) SetInfraHostPercentage(v float64)

SetInfraHostPercentage gets a reference to the given float64 and assigns it to the InfraHostPercentage field.

func (*UsageAttributionValues) SetInfraHostUsage ¶

func (o *UsageAttributionValues) SetInfraHostUsage(v float64)

SetInfraHostUsage gets a reference to the given float64 and assigns it to the InfraHostUsage field.

func (*UsageAttributionValues) SetLambdaFunctionsPercentage ¶

func (o *UsageAttributionValues) SetLambdaFunctionsPercentage(v float64)

SetLambdaFunctionsPercentage gets a reference to the given float64 and assigns it to the LambdaFunctionsPercentage field.

func (*UsageAttributionValues) SetLambdaFunctionsUsage ¶

func (o *UsageAttributionValues) SetLambdaFunctionsUsage(v float64)

SetLambdaFunctionsUsage gets a reference to the given float64 and assigns it to the LambdaFunctionsUsage field.

func (*UsageAttributionValues) SetLambdaInvocationsPercentage ¶

func (o *UsageAttributionValues) SetLambdaInvocationsPercentage(v float64)

SetLambdaInvocationsPercentage gets a reference to the given float64 and assigns it to the LambdaInvocationsPercentage field.

func (*UsageAttributionValues) SetLambdaInvocationsUsage ¶

func (o *UsageAttributionValues) SetLambdaInvocationsUsage(v float64)

SetLambdaInvocationsUsage gets a reference to the given float64 and assigns it to the LambdaInvocationsUsage field.

func (*UsageAttributionValues) SetNpmHostPercentage ¶

func (o *UsageAttributionValues) SetNpmHostPercentage(v float64)

SetNpmHostPercentage gets a reference to the given float64 and assigns it to the NpmHostPercentage field.

func (*UsageAttributionValues) SetNpmHostUsage ¶

func (o *UsageAttributionValues) SetNpmHostUsage(v float64)

SetNpmHostUsage gets a reference to the given float64 and assigns it to the NpmHostUsage field.

func (*UsageAttributionValues) SetProfiledContainerPercentage ¶ added in v1.5.0

func (o *UsageAttributionValues) SetProfiledContainerPercentage(v float64)

SetProfiledContainerPercentage gets a reference to the given float64 and assigns it to the ProfiledContainerPercentage field.

func (*UsageAttributionValues) SetProfiledContainerUsage ¶ added in v1.5.0

func (o *UsageAttributionValues) SetProfiledContainerUsage(v float64)

SetProfiledContainerUsage gets a reference to the given float64 and assigns it to the ProfiledContainerUsage field.

func (*UsageAttributionValues) SetProfiledHostsPercentage ¶

func (o *UsageAttributionValues) SetProfiledHostsPercentage(v float64)

SetProfiledHostsPercentage gets a reference to the given float64 and assigns it to the ProfiledHostsPercentage field.

func (*UsageAttributionValues) SetProfiledHostsUsage ¶

func (o *UsageAttributionValues) SetProfiledHostsUsage(v float64)

SetProfiledHostsUsage gets a reference to the given float64 and assigns it to the ProfiledHostsUsage field.

func (*UsageAttributionValues) SetSnmpPercentage ¶

func (o *UsageAttributionValues) SetSnmpPercentage(v float64)

SetSnmpPercentage gets a reference to the given float64 and assigns it to the SnmpPercentage field.

func (*UsageAttributionValues) SetSnmpUsage ¶

func (o *UsageAttributionValues) SetSnmpUsage(v float64)

SetSnmpUsage gets a reference to the given float64 and assigns it to the SnmpUsage field.

func (*UsageAttributionValues) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAuditLogsHour ¶

type UsageAuditLogsHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The total number of audit logs lines indexed during a given hour.
	LinesIndexed *int64 `json:"lines_indexed,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAuditLogsHour Audit logs usage for a given organization for a given hour.

func NewUsageAuditLogsHour ¶

func NewUsageAuditLogsHour() *UsageAuditLogsHour

NewUsageAuditLogsHour instantiates a new UsageAuditLogsHour 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 NewUsageAuditLogsHourWithDefaults ¶

func NewUsageAuditLogsHourWithDefaults() *UsageAuditLogsHour

NewUsageAuditLogsHourWithDefaults instantiates a new UsageAuditLogsHour 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 (*UsageAuditLogsHour) GetHour ¶

func (o *UsageAuditLogsHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageAuditLogsHour) GetHourOk ¶

func (o *UsageAuditLogsHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAuditLogsHour) GetLinesIndexed ¶

func (o *UsageAuditLogsHour) GetLinesIndexed() int64

GetLinesIndexed returns the LinesIndexed field value if set, zero value otherwise.

func (*UsageAuditLogsHour) GetLinesIndexedOk ¶

func (o *UsageAuditLogsHour) GetLinesIndexedOk() (*int64, bool)

GetLinesIndexedOk returns a tuple with the LinesIndexed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAuditLogsHour) GetOrgName ¶ added in v1.8.0

func (o *UsageAuditLogsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageAuditLogsHour) GetOrgNameOk ¶ added in v1.8.0

func (o *UsageAuditLogsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAuditLogsHour) GetPublicId ¶ added in v1.8.0

func (o *UsageAuditLogsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageAuditLogsHour) GetPublicIdOk ¶ added in v1.8.0

func (o *UsageAuditLogsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAuditLogsHour) HasHour ¶

func (o *UsageAuditLogsHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageAuditLogsHour) HasLinesIndexed ¶

func (o *UsageAuditLogsHour) HasLinesIndexed() bool

HasLinesIndexed returns a boolean if a field has been set.

func (*UsageAuditLogsHour) HasOrgName ¶ added in v1.8.0

func (o *UsageAuditLogsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageAuditLogsHour) HasPublicId ¶ added in v1.8.0

func (o *UsageAuditLogsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageAuditLogsHour) MarshalJSON ¶

func (o UsageAuditLogsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAuditLogsHour) SetHour ¶

func (o *UsageAuditLogsHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageAuditLogsHour) SetLinesIndexed ¶

func (o *UsageAuditLogsHour) SetLinesIndexed(v int64)

SetLinesIndexed gets a reference to the given int64 and assigns it to the LinesIndexed field.

func (*UsageAuditLogsHour) SetOrgName ¶ added in v1.8.0

func (o *UsageAuditLogsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageAuditLogsHour) SetPublicId ¶ added in v1.8.0

func (o *UsageAuditLogsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageAuditLogsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAuditLogsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageAuditLogsResponse ¶

type UsageAuditLogsResponse struct {
	// Get hourly usage for audit logs.
	Usage []UsageAuditLogsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageAuditLogsResponse Response containing the audit logs usage for each hour for a given organization.

func NewUsageAuditLogsResponse ¶

func NewUsageAuditLogsResponse() *UsageAuditLogsResponse

NewUsageAuditLogsResponse instantiates a new UsageAuditLogsResponse 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 NewUsageAuditLogsResponseWithDefaults ¶

func NewUsageAuditLogsResponseWithDefaults() *UsageAuditLogsResponse

NewUsageAuditLogsResponseWithDefaults instantiates a new UsageAuditLogsResponse 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 (*UsageAuditLogsResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageAuditLogsResponse) GetUsageOk ¶

func (o *UsageAuditLogsResponse) GetUsageOk() (*[]UsageAuditLogsHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageAuditLogsResponse) HasUsage ¶

func (o *UsageAuditLogsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageAuditLogsResponse) MarshalJSON ¶

func (o UsageAuditLogsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageAuditLogsResponse) SetUsage ¶

func (o *UsageAuditLogsResponse) SetUsage(v []UsageAuditLogsHour)

SetUsage gets a reference to the given []UsageAuditLogsHour and assigns it to the Usage field.

func (*UsageAuditLogsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageAuditLogsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageBillableSummaryBody ¶

type UsageBillableSummaryBody struct {
	// The total account usage.
	AccountBillableUsage *int64 `json:"account_billable_usage,omitempty"`
	// Elapsed usage hours for some billable product.
	ElapsedUsageHours *int64 `json:"elapsed_usage_hours,omitempty"`
	// The first billable hour for the org.
	FirstBillableUsageHour *time.Time `json:"first_billable_usage_hour,omitempty"`
	// The last billable hour for the org.
	LastBillableUsageHour *time.Time `json:"last_billable_usage_hour,omitempty"`
	// The number of units used within the billable timeframe.
	OrgBillableUsage *int64 `json:"org_billable_usage,omitempty"`
	// The percentage of account usage the org represents.
	PercentageInAccount *float64 `json:"percentage_in_account,omitempty"`
	// Units pertaining to the usage.
	UsageUnit *string `json:"usage_unit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageBillableSummaryBody Response with properties for each aggregated usage type.

func NewUsageBillableSummaryBody ¶

func NewUsageBillableSummaryBody() *UsageBillableSummaryBody

NewUsageBillableSummaryBody instantiates a new UsageBillableSummaryBody 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 NewUsageBillableSummaryBodyWithDefaults ¶

func NewUsageBillableSummaryBodyWithDefaults() *UsageBillableSummaryBody

NewUsageBillableSummaryBodyWithDefaults instantiates a new UsageBillableSummaryBody 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 (*UsageBillableSummaryBody) GetAccountBillableUsage ¶

func (o *UsageBillableSummaryBody) GetAccountBillableUsage() int64

GetAccountBillableUsage returns the AccountBillableUsage field value if set, zero value otherwise.

func (*UsageBillableSummaryBody) GetAccountBillableUsageOk ¶

func (o *UsageBillableSummaryBody) GetAccountBillableUsageOk() (*int64, bool)

GetAccountBillableUsageOk returns a tuple with the AccountBillableUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryBody) GetElapsedUsageHours ¶

func (o *UsageBillableSummaryBody) GetElapsedUsageHours() int64

GetElapsedUsageHours returns the ElapsedUsageHours field value if set, zero value otherwise.

func (*UsageBillableSummaryBody) GetElapsedUsageHoursOk ¶

func (o *UsageBillableSummaryBody) GetElapsedUsageHoursOk() (*int64, bool)

GetElapsedUsageHoursOk returns a tuple with the ElapsedUsageHours field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryBody) GetFirstBillableUsageHour ¶

func (o *UsageBillableSummaryBody) GetFirstBillableUsageHour() time.Time

GetFirstBillableUsageHour returns the FirstBillableUsageHour field value if set, zero value otherwise.

func (*UsageBillableSummaryBody) GetFirstBillableUsageHourOk ¶

func (o *UsageBillableSummaryBody) GetFirstBillableUsageHourOk() (*time.Time, bool)

GetFirstBillableUsageHourOk returns a tuple with the FirstBillableUsageHour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryBody) GetLastBillableUsageHour ¶

func (o *UsageBillableSummaryBody) GetLastBillableUsageHour() time.Time

GetLastBillableUsageHour returns the LastBillableUsageHour field value if set, zero value otherwise.

func (*UsageBillableSummaryBody) GetLastBillableUsageHourOk ¶

func (o *UsageBillableSummaryBody) GetLastBillableUsageHourOk() (*time.Time, bool)

GetLastBillableUsageHourOk returns a tuple with the LastBillableUsageHour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryBody) GetOrgBillableUsage ¶

func (o *UsageBillableSummaryBody) GetOrgBillableUsage() int64

GetOrgBillableUsage returns the OrgBillableUsage field value if set, zero value otherwise.

func (*UsageBillableSummaryBody) GetOrgBillableUsageOk ¶

func (o *UsageBillableSummaryBody) GetOrgBillableUsageOk() (*int64, bool)

GetOrgBillableUsageOk returns a tuple with the OrgBillableUsage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryBody) GetPercentageInAccount ¶

func (o *UsageBillableSummaryBody) GetPercentageInAccount() float64

GetPercentageInAccount returns the PercentageInAccount field value if set, zero value otherwise.

func (*UsageBillableSummaryBody) GetPercentageInAccountOk ¶

func (o *UsageBillableSummaryBody) GetPercentageInAccountOk() (*float64, bool)

GetPercentageInAccountOk returns a tuple with the PercentageInAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryBody) GetUsageUnit ¶

func (o *UsageBillableSummaryBody) GetUsageUnit() string

GetUsageUnit returns the UsageUnit field value if set, zero value otherwise.

func (*UsageBillableSummaryBody) GetUsageUnitOk ¶

func (o *UsageBillableSummaryBody) GetUsageUnitOk() (*string, bool)

GetUsageUnitOk returns a tuple with the UsageUnit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryBody) HasAccountBillableUsage ¶

func (o *UsageBillableSummaryBody) HasAccountBillableUsage() bool

HasAccountBillableUsage returns a boolean if a field has been set.

func (*UsageBillableSummaryBody) HasElapsedUsageHours ¶

func (o *UsageBillableSummaryBody) HasElapsedUsageHours() bool

HasElapsedUsageHours returns a boolean if a field has been set.

func (*UsageBillableSummaryBody) HasFirstBillableUsageHour ¶

func (o *UsageBillableSummaryBody) HasFirstBillableUsageHour() bool

HasFirstBillableUsageHour returns a boolean if a field has been set.

func (*UsageBillableSummaryBody) HasLastBillableUsageHour ¶

func (o *UsageBillableSummaryBody) HasLastBillableUsageHour() bool

HasLastBillableUsageHour returns a boolean if a field has been set.

func (*UsageBillableSummaryBody) HasOrgBillableUsage ¶

func (o *UsageBillableSummaryBody) HasOrgBillableUsage() bool

HasOrgBillableUsage returns a boolean if a field has been set.

func (*UsageBillableSummaryBody) HasPercentageInAccount ¶

func (o *UsageBillableSummaryBody) HasPercentageInAccount() bool

HasPercentageInAccount returns a boolean if a field has been set.

func (*UsageBillableSummaryBody) HasUsageUnit ¶

func (o *UsageBillableSummaryBody) HasUsageUnit() bool

HasUsageUnit returns a boolean if a field has been set.

func (UsageBillableSummaryBody) MarshalJSON ¶

func (o UsageBillableSummaryBody) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageBillableSummaryBody) SetAccountBillableUsage ¶

func (o *UsageBillableSummaryBody) SetAccountBillableUsage(v int64)

SetAccountBillableUsage gets a reference to the given int64 and assigns it to the AccountBillableUsage field.

func (*UsageBillableSummaryBody) SetElapsedUsageHours ¶

func (o *UsageBillableSummaryBody) SetElapsedUsageHours(v int64)

SetElapsedUsageHours gets a reference to the given int64 and assigns it to the ElapsedUsageHours field.

func (*UsageBillableSummaryBody) SetFirstBillableUsageHour ¶

func (o *UsageBillableSummaryBody) SetFirstBillableUsageHour(v time.Time)

SetFirstBillableUsageHour gets a reference to the given time.Time and assigns it to the FirstBillableUsageHour field.

func (*UsageBillableSummaryBody) SetLastBillableUsageHour ¶

func (o *UsageBillableSummaryBody) SetLastBillableUsageHour(v time.Time)

SetLastBillableUsageHour gets a reference to the given time.Time and assigns it to the LastBillableUsageHour field.

func (*UsageBillableSummaryBody) SetOrgBillableUsage ¶

func (o *UsageBillableSummaryBody) SetOrgBillableUsage(v int64)

SetOrgBillableUsage gets a reference to the given int64 and assigns it to the OrgBillableUsage field.

func (*UsageBillableSummaryBody) SetPercentageInAccount ¶

func (o *UsageBillableSummaryBody) SetPercentageInAccount(v float64)

SetPercentageInAccount gets a reference to the given float64 and assigns it to the PercentageInAccount field.

func (*UsageBillableSummaryBody) SetUsageUnit ¶

func (o *UsageBillableSummaryBody) SetUsageUnit(v string)

SetUsageUnit gets a reference to the given string and assigns it to the UsageUnit field.

func (*UsageBillableSummaryBody) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageBillableSummaryBody) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageBillableSummaryHour ¶

type UsageBillableSummaryHour struct {
	// The billing plan.
	BillingPlan *string `json:"billing_plan,omitempty"`
	// Shows the last date of usage.
	EndDate *time.Time `json:"end_date,omitempty"`
	// The number of organizations.
	NumOrgs *int64 `json:"num_orgs,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// Shows usage aggregation for a billing period.
	RatioInMonth *float64 `json:"ratio_in_month,omitempty"`
	// Shows the first date of usage.
	StartDate *time.Time `json:"start_date,omitempty"`
	// Response with aggregated usage types.
	Usage *UsageBillableSummaryKeys `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageBillableSummaryHour Response with monthly summary of data billed by Datadog.

func NewUsageBillableSummaryHour ¶

func NewUsageBillableSummaryHour() *UsageBillableSummaryHour

NewUsageBillableSummaryHour instantiates a new UsageBillableSummaryHour 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 NewUsageBillableSummaryHourWithDefaults ¶

func NewUsageBillableSummaryHourWithDefaults() *UsageBillableSummaryHour

NewUsageBillableSummaryHourWithDefaults instantiates a new UsageBillableSummaryHour 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 (*UsageBillableSummaryHour) GetBillingPlan ¶

func (o *UsageBillableSummaryHour) GetBillingPlan() string

GetBillingPlan returns the BillingPlan field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetBillingPlanOk ¶

func (o *UsageBillableSummaryHour) GetBillingPlanOk() (*string, bool)

GetBillingPlanOk returns a tuple with the BillingPlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) GetEndDate ¶

func (o *UsageBillableSummaryHour) GetEndDate() time.Time

GetEndDate returns the EndDate field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetEndDateOk ¶

func (o *UsageBillableSummaryHour) GetEndDateOk() (*time.Time, bool)

GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) GetNumOrgs ¶

func (o *UsageBillableSummaryHour) GetNumOrgs() int64

GetNumOrgs returns the NumOrgs field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetNumOrgsOk ¶

func (o *UsageBillableSummaryHour) GetNumOrgsOk() (*int64, bool)

GetNumOrgsOk returns a tuple with the NumOrgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) GetOrgName ¶

func (o *UsageBillableSummaryHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetOrgNameOk ¶

func (o *UsageBillableSummaryHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) GetPublicId ¶

func (o *UsageBillableSummaryHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetPublicIdOk ¶

func (o *UsageBillableSummaryHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) GetRatioInMonth ¶

func (o *UsageBillableSummaryHour) GetRatioInMonth() float64

GetRatioInMonth returns the RatioInMonth field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetRatioInMonthOk ¶

func (o *UsageBillableSummaryHour) GetRatioInMonthOk() (*float64, bool)

GetRatioInMonthOk returns a tuple with the RatioInMonth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) GetStartDate ¶

func (o *UsageBillableSummaryHour) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetStartDateOk ¶

func (o *UsageBillableSummaryHour) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageBillableSummaryHour) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryHour) HasBillingPlan ¶

func (o *UsageBillableSummaryHour) HasBillingPlan() bool

HasBillingPlan returns a boolean if a field has been set.

func (*UsageBillableSummaryHour) HasEndDate ¶

func (o *UsageBillableSummaryHour) HasEndDate() bool

HasEndDate returns a boolean if a field has been set.

func (*UsageBillableSummaryHour) HasNumOrgs ¶

func (o *UsageBillableSummaryHour) HasNumOrgs() bool

HasNumOrgs returns a boolean if a field has been set.

func (*UsageBillableSummaryHour) HasOrgName ¶

func (o *UsageBillableSummaryHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageBillableSummaryHour) HasPublicId ¶

func (o *UsageBillableSummaryHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageBillableSummaryHour) HasRatioInMonth ¶

func (o *UsageBillableSummaryHour) HasRatioInMonth() bool

HasRatioInMonth returns a boolean if a field has been set.

func (*UsageBillableSummaryHour) HasStartDate ¶

func (o *UsageBillableSummaryHour) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*UsageBillableSummaryHour) HasUsage ¶

func (o *UsageBillableSummaryHour) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageBillableSummaryHour) MarshalJSON ¶

func (o UsageBillableSummaryHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageBillableSummaryHour) SetBillingPlan ¶

func (o *UsageBillableSummaryHour) SetBillingPlan(v string)

SetBillingPlan gets a reference to the given string and assigns it to the BillingPlan field.

func (*UsageBillableSummaryHour) SetEndDate ¶

func (o *UsageBillableSummaryHour) SetEndDate(v time.Time)

SetEndDate gets a reference to the given time.Time and assigns it to the EndDate field.

func (*UsageBillableSummaryHour) SetNumOrgs ¶

func (o *UsageBillableSummaryHour) SetNumOrgs(v int64)

SetNumOrgs gets a reference to the given int64 and assigns it to the NumOrgs field.

func (*UsageBillableSummaryHour) SetOrgName ¶

func (o *UsageBillableSummaryHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageBillableSummaryHour) SetPublicId ¶

func (o *UsageBillableSummaryHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageBillableSummaryHour) SetRatioInMonth ¶

func (o *UsageBillableSummaryHour) SetRatioInMonth(v float64)

SetRatioInMonth gets a reference to the given float64 and assigns it to the RatioInMonth field.

func (*UsageBillableSummaryHour) SetStartDate ¶

func (o *UsageBillableSummaryHour) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*UsageBillableSummaryHour) SetUsage ¶

SetUsage gets a reference to the given UsageBillableSummaryKeys and assigns it to the Usage field.

func (*UsageBillableSummaryHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageBillableSummaryHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageBillableSummaryKeys ¶

type UsageBillableSummaryKeys struct {
	// Response with properties for each aggregated usage type.
	ApmFargateAverage *UsageBillableSummaryBody `json:"apm_fargate_average,omitempty"`
	// Response with properties for each aggregated usage type.
	ApmFargateSum *UsageBillableSummaryBody `json:"apm_fargate_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ApmHostSum *UsageBillableSummaryBody `json:"apm_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ApmHostTop99p *UsageBillableSummaryBody `json:"apm_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	ApmProfilerHostSum *UsageBillableSummaryBody `json:"apm_profiler_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ApmProfilerHostTop99p *UsageBillableSummaryBody `json:"apm_profiler_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	ApmTraceSearchSum *UsageBillableSummaryBody `json:"apm_trace_search_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ApplicationSecurityHostSum *UsageBillableSummaryBody `json:"application_security_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CiPipelineIndexedSpansSum *UsageBillableSummaryBody `json:"ci_pipeline_indexed_spans_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CiPipelineMaximum *UsageBillableSummaryBody `json:"ci_pipeline_maximum,omitempty"`
	// Response with properties for each aggregated usage type.
	CiPipelineSum *UsageBillableSummaryBody `json:"ci_pipeline_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CiTestIndexedSpansSum *UsageBillableSummaryBody `json:"ci_test_indexed_spans_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CiTestingMaximum *UsageBillableSummaryBody `json:"ci_testing_maximum,omitempty"`
	// Response with properties for each aggregated usage type.
	CiTestingSum *UsageBillableSummaryBody `json:"ci_testing_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CspmContainerSum *UsageBillableSummaryBody `json:"cspm_container_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CspmHostSum *UsageBillableSummaryBody `json:"cspm_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CspmHostTop99p *UsageBillableSummaryBody `json:"cspm_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	CustomEventSum *UsageBillableSummaryBody `json:"custom_event_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CwsContainerSum *UsageBillableSummaryBody `json:"cws_container_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CwsHostSum *UsageBillableSummaryBody `json:"cws_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	CwsHostTop99p *UsageBillableSummaryBody `json:"cws_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	DbmHostSum *UsageBillableSummaryBody `json:"dbm_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	DbmHostTop99p *UsageBillableSummaryBody `json:"dbm_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	DbmNormalizedQueriesAverage *UsageBillableSummaryBody `json:"dbm_normalized_queries_average,omitempty"`
	// Response with properties for each aggregated usage type.
	DbmNormalizedQueriesSum *UsageBillableSummaryBody `json:"dbm_normalized_queries_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	FargateContainerApmAndProfilerAverage *UsageBillableSummaryBody `json:"fargate_container_apm_and_profiler_average,omitempty"`
	// Response with properties for each aggregated usage type.
	FargateContainerApmAndProfilerSum *UsageBillableSummaryBody `json:"fargate_container_apm_and_profiler_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	FargateContainerAverage *UsageBillableSummaryBody `json:"fargate_container_average,omitempty"`
	// Response with properties for each aggregated usage type.
	FargateContainerProfilerAverage *UsageBillableSummaryBody `json:"fargate_container_profiler_average,omitempty"`
	// Response with properties for each aggregated usage type.
	FargateContainerProfilerSum *UsageBillableSummaryBody `json:"fargate_container_profiler_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	FargateContainerSum *UsageBillableSummaryBody `json:"fargate_container_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	IncidentManagementMaximum *UsageBillableSummaryBody `json:"incident_management_maximum,omitempty"`
	// Response with properties for each aggregated usage type.
	IncidentManagementSum *UsageBillableSummaryBody `json:"incident_management_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	InfraAndApmHostSum *UsageBillableSummaryBody `json:"infra_and_apm_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	InfraAndApmHostTop99p *UsageBillableSummaryBody `json:"infra_and_apm_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	InfraContainerSum *UsageBillableSummaryBody `json:"infra_container_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	InfraHostSum *UsageBillableSummaryBody `json:"infra_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	InfraHostTop99p *UsageBillableSummaryBody `json:"infra_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	IngestedSpansSum *UsageBillableSummaryBody `json:"ingested_spans_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	IngestedTimeseriesAverage *UsageBillableSummaryBody `json:"ingested_timeseries_average,omitempty"`
	// Response with properties for each aggregated usage type.
	IngestedTimeseriesSum *UsageBillableSummaryBody `json:"ingested_timeseries_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	IotSum *UsageBillableSummaryBody `json:"iot_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	IotTop99p *UsageBillableSummaryBody `json:"iot_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	LambdaFunctionAverage *UsageBillableSummaryBody `json:"lambda_function_average,omitempty"`
	// Response with properties for each aggregated usage type.
	LambdaFunctionSum *UsageBillableSummaryBody `json:"lambda_function_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed15daySum *UsageBillableSummaryBody `json:"logs_indexed_15day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed180daySum *UsageBillableSummaryBody `json:"logs_indexed_180day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed30daySum *UsageBillableSummaryBody `json:"logs_indexed_30day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed360daySum *UsageBillableSummaryBody `json:"logs_indexed_360day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed3daySum *UsageBillableSummaryBody `json:"logs_indexed_3day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed45daySum *UsageBillableSummaryBody `json:"logs_indexed_45day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed60daySum *UsageBillableSummaryBody `json:"logs_indexed_60day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed7daySum *UsageBillableSummaryBody `json:"logs_indexed_7day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexed90daySum *UsageBillableSummaryBody `json:"logs_indexed_90day_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexedCustomRetentionSum *UsageBillableSummaryBody `json:"logs_indexed_custom_retention_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIndexedSum *UsageBillableSummaryBody `json:"logs_indexed_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	LogsIngestedSum *UsageBillableSummaryBody `json:"logs_ingested_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	NetworkDeviceSum *UsageBillableSummaryBody `json:"network_device_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	NetworkDeviceTop99p *UsageBillableSummaryBody `json:"network_device_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	NpmFlowSum *UsageBillableSummaryBody `json:"npm_flow_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	NpmHostSum *UsageBillableSummaryBody `json:"npm_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	NpmHostTop99p *UsageBillableSummaryBody `json:"npm_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	ObservabilityPipelineSum *UsageBillableSummaryBody `json:"observability_pipeline_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	OnlineArchiveSum *UsageBillableSummaryBody `json:"online_archive_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ProfContainerSum *UsageBillableSummaryBody `json:"prof_container_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ProfHostSum *UsageBillableSummaryBody `json:"prof_host_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ProfHostTop99p *UsageBillableSummaryBody `json:"prof_host_top99p,omitempty"`
	// Response with properties for each aggregated usage type.
	RumLiteSum *UsageBillableSummaryBody `json:"rum_lite_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	RumReplaySum *UsageBillableSummaryBody `json:"rum_replay_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	RumSum *UsageBillableSummaryBody `json:"rum_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	RumUnitsSum *UsageBillableSummaryBody `json:"rum_units_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	SensitiveDataScannerSum *UsageBillableSummaryBody `json:"sensitive_data_scanner_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	ServerlessInvocationSum *UsageBillableSummaryBody `json:"serverless_invocation_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	SiemSum *UsageBillableSummaryBody `json:"siem_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	StandardTimeseriesAverage *UsageBillableSummaryBody `json:"standard_timeseries_average,omitempty"`
	// Response with properties for each aggregated usage type.
	SyntheticsApiTestsSum *UsageBillableSummaryBody `json:"synthetics_api_tests_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	SyntheticsBrowserChecksSum *UsageBillableSummaryBody `json:"synthetics_browser_checks_sum,omitempty"`
	// Response with properties for each aggregated usage type.
	TimeseriesAverage *UsageBillableSummaryBody `json:"timeseries_average,omitempty"`
	// Response with properties for each aggregated usage type.
	TimeseriesSum *UsageBillableSummaryBody `json:"timeseries_sum,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageBillableSummaryKeys Response with aggregated usage types.

func NewUsageBillableSummaryKeys ¶

func NewUsageBillableSummaryKeys() *UsageBillableSummaryKeys

NewUsageBillableSummaryKeys instantiates a new UsageBillableSummaryKeys 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 NewUsageBillableSummaryKeysWithDefaults ¶

func NewUsageBillableSummaryKeysWithDefaults() *UsageBillableSummaryKeys

NewUsageBillableSummaryKeysWithDefaults instantiates a new UsageBillableSummaryKeys 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 (*UsageBillableSummaryKeys) GetApmFargateAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmFargateAverage() UsageBillableSummaryBody

GetApmFargateAverage returns the ApmFargateAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApmFargateAverageOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmFargateAverageOk() (*UsageBillableSummaryBody, bool)

GetApmFargateAverageOk returns a tuple with the ApmFargateAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetApmFargateSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmFargateSum() UsageBillableSummaryBody

GetApmFargateSum returns the ApmFargateSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApmFargateSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmFargateSumOk() (*UsageBillableSummaryBody, bool)

GetApmFargateSumOk returns a tuple with the ApmFargateSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetApmHostSum ¶

GetApmHostSum returns the ApmHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApmHostSumOk ¶

func (o *UsageBillableSummaryKeys) GetApmHostSumOk() (*UsageBillableSummaryBody, bool)

GetApmHostSumOk returns a tuple with the ApmHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetApmHostTop99p ¶

func (o *UsageBillableSummaryKeys) GetApmHostTop99p() UsageBillableSummaryBody

GetApmHostTop99p returns the ApmHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApmHostTop99pOk ¶

func (o *UsageBillableSummaryKeys) GetApmHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetApmHostTop99pOk returns a tuple with the ApmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetApmProfilerHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmProfilerHostSum() UsageBillableSummaryBody

GetApmProfilerHostSum returns the ApmProfilerHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApmProfilerHostSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmProfilerHostSumOk() (*UsageBillableSummaryBody, bool)

GetApmProfilerHostSumOk returns a tuple with the ApmProfilerHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetApmProfilerHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmProfilerHostTop99p() UsageBillableSummaryBody

GetApmProfilerHostTop99p returns the ApmProfilerHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApmProfilerHostTop99pOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApmProfilerHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetApmProfilerHostTop99pOk returns a tuple with the ApmProfilerHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetApmTraceSearchSum ¶

func (o *UsageBillableSummaryKeys) GetApmTraceSearchSum() UsageBillableSummaryBody

GetApmTraceSearchSum returns the ApmTraceSearchSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApmTraceSearchSumOk ¶

func (o *UsageBillableSummaryKeys) GetApmTraceSearchSumOk() (*UsageBillableSummaryBody, bool)

GetApmTraceSearchSumOk returns a tuple with the ApmTraceSearchSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetApplicationSecurityHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApplicationSecurityHostSum() UsageBillableSummaryBody

GetApplicationSecurityHostSum returns the ApplicationSecurityHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetApplicationSecurityHostSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetApplicationSecurityHostSumOk() (*UsageBillableSummaryBody, bool)

GetApplicationSecurityHostSumOk returns a tuple with the ApplicationSecurityHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCiPipelineIndexedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiPipelineIndexedSpansSum() UsageBillableSummaryBody

GetCiPipelineIndexedSpansSum returns the CiPipelineIndexedSpansSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCiPipelineIndexedSpansSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiPipelineIndexedSpansSumOk() (*UsageBillableSummaryBody, bool)

GetCiPipelineIndexedSpansSumOk returns a tuple with the CiPipelineIndexedSpansSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCiPipelineMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiPipelineMaximum() UsageBillableSummaryBody

GetCiPipelineMaximum returns the CiPipelineMaximum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCiPipelineMaximumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiPipelineMaximumOk() (*UsageBillableSummaryBody, bool)

GetCiPipelineMaximumOk returns a tuple with the CiPipelineMaximum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCiPipelineSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiPipelineSum() UsageBillableSummaryBody

GetCiPipelineSum returns the CiPipelineSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCiPipelineSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiPipelineSumOk() (*UsageBillableSummaryBody, bool)

GetCiPipelineSumOk returns a tuple with the CiPipelineSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCiTestIndexedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiTestIndexedSpansSum() UsageBillableSummaryBody

GetCiTestIndexedSpansSum returns the CiTestIndexedSpansSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCiTestIndexedSpansSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiTestIndexedSpansSumOk() (*UsageBillableSummaryBody, bool)

GetCiTestIndexedSpansSumOk returns a tuple with the CiTestIndexedSpansSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCiTestingMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiTestingMaximum() UsageBillableSummaryBody

GetCiTestingMaximum returns the CiTestingMaximum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCiTestingMaximumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiTestingMaximumOk() (*UsageBillableSummaryBody, bool)

GetCiTestingMaximumOk returns a tuple with the CiTestingMaximum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCiTestingSum ¶ added in v1.15.0

GetCiTestingSum returns the CiTestingSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCiTestingSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCiTestingSumOk() (*UsageBillableSummaryBody, bool)

GetCiTestingSumOk returns a tuple with the CiTestingSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCspmContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCspmContainerSum() UsageBillableSummaryBody

GetCspmContainerSum returns the CspmContainerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCspmContainerSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCspmContainerSumOk() (*UsageBillableSummaryBody, bool)

GetCspmContainerSumOk returns a tuple with the CspmContainerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCspmHostSum ¶ added in v1.15.0

GetCspmHostSum returns the CspmHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCspmHostSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCspmHostSumOk() (*UsageBillableSummaryBody, bool)

GetCspmHostSumOk returns a tuple with the CspmHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCspmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCspmHostTop99p() UsageBillableSummaryBody

GetCspmHostTop99p returns the CspmHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCspmHostTop99pOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCspmHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetCspmHostTop99pOk returns a tuple with the CspmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCustomEventSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCustomEventSum() UsageBillableSummaryBody

GetCustomEventSum returns the CustomEventSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCustomEventSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCustomEventSumOk() (*UsageBillableSummaryBody, bool)

GetCustomEventSumOk returns a tuple with the CustomEventSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCwsContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCwsContainerSum() UsageBillableSummaryBody

GetCwsContainerSum returns the CwsContainerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCwsContainerSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCwsContainerSumOk() (*UsageBillableSummaryBody, bool)

GetCwsContainerSumOk returns a tuple with the CwsContainerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCwsHostSum ¶ added in v1.15.0

GetCwsHostSum returns the CwsHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCwsHostSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCwsHostSumOk() (*UsageBillableSummaryBody, bool)

GetCwsHostSumOk returns a tuple with the CwsHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetCwsHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCwsHostTop99p() UsageBillableSummaryBody

GetCwsHostTop99p returns the CwsHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetCwsHostTop99pOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetCwsHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetCwsHostTop99pOk returns a tuple with the CwsHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetDbmHostSum ¶ added in v1.15.0

GetDbmHostSum returns the DbmHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetDbmHostSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetDbmHostSumOk() (*UsageBillableSummaryBody, bool)

GetDbmHostSumOk returns a tuple with the DbmHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetDbmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetDbmHostTop99p() UsageBillableSummaryBody

GetDbmHostTop99p returns the DbmHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetDbmHostTop99pOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetDbmHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetDbmHostTop99pOk returns a tuple with the DbmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetDbmNormalizedQueriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetDbmNormalizedQueriesAverage() UsageBillableSummaryBody

GetDbmNormalizedQueriesAverage returns the DbmNormalizedQueriesAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetDbmNormalizedQueriesAverageOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetDbmNormalizedQueriesAverageOk() (*UsageBillableSummaryBody, bool)

GetDbmNormalizedQueriesAverageOk returns a tuple with the DbmNormalizedQueriesAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetDbmNormalizedQueriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetDbmNormalizedQueriesSum() UsageBillableSummaryBody

GetDbmNormalizedQueriesSum returns the DbmNormalizedQueriesSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetDbmNormalizedQueriesSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetDbmNormalizedQueriesSumOk() (*UsageBillableSummaryBody, bool)

GetDbmNormalizedQueriesSumOk returns a tuple with the DbmNormalizedQueriesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerAverage() UsageBillableSummaryBody

GetFargateContainerApmAndProfilerAverage returns the FargateContainerApmAndProfilerAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerAverageOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerAverageOk() (*UsageBillableSummaryBody, bool)

GetFargateContainerApmAndProfilerAverageOk returns a tuple with the FargateContainerApmAndProfilerAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerSum() UsageBillableSummaryBody

GetFargateContainerApmAndProfilerSum returns the FargateContainerApmAndProfilerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerApmAndProfilerSumOk() (*UsageBillableSummaryBody, bool)

GetFargateContainerApmAndProfilerSumOk returns a tuple with the FargateContainerApmAndProfilerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetFargateContainerAverage ¶

func (o *UsageBillableSummaryKeys) GetFargateContainerAverage() UsageBillableSummaryBody

GetFargateContainerAverage returns the FargateContainerAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetFargateContainerAverageOk ¶

func (o *UsageBillableSummaryKeys) GetFargateContainerAverageOk() (*UsageBillableSummaryBody, bool)

GetFargateContainerAverageOk returns a tuple with the FargateContainerAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetFargateContainerProfilerAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerProfilerAverage() UsageBillableSummaryBody

GetFargateContainerProfilerAverage returns the FargateContainerProfilerAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetFargateContainerProfilerAverageOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerProfilerAverageOk() (*UsageBillableSummaryBody, bool)

GetFargateContainerProfilerAverageOk returns a tuple with the FargateContainerProfilerAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetFargateContainerProfilerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerProfilerSum() UsageBillableSummaryBody

GetFargateContainerProfilerSum returns the FargateContainerProfilerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetFargateContainerProfilerSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerProfilerSumOk() (*UsageBillableSummaryBody, bool)

GetFargateContainerProfilerSumOk returns a tuple with the FargateContainerProfilerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetFargateContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerSum() UsageBillableSummaryBody

GetFargateContainerSum returns the FargateContainerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetFargateContainerSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetFargateContainerSumOk() (*UsageBillableSummaryBody, bool)

GetFargateContainerSumOk returns a tuple with the FargateContainerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetIncidentManagementMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIncidentManagementMaximum() UsageBillableSummaryBody

GetIncidentManagementMaximum returns the IncidentManagementMaximum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetIncidentManagementMaximumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIncidentManagementMaximumOk() (*UsageBillableSummaryBody, bool)

GetIncidentManagementMaximumOk returns a tuple with the IncidentManagementMaximum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetIncidentManagementSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIncidentManagementSum() UsageBillableSummaryBody

GetIncidentManagementSum returns the IncidentManagementSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetIncidentManagementSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIncidentManagementSumOk() (*UsageBillableSummaryBody, bool)

GetIncidentManagementSumOk returns a tuple with the IncidentManagementSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetInfraAndApmHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetInfraAndApmHostSum() UsageBillableSummaryBody

GetInfraAndApmHostSum returns the InfraAndApmHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetInfraAndApmHostSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetInfraAndApmHostSumOk() (*UsageBillableSummaryBody, bool)

GetInfraAndApmHostSumOk returns a tuple with the InfraAndApmHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetInfraAndApmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetInfraAndApmHostTop99p() UsageBillableSummaryBody

GetInfraAndApmHostTop99p returns the InfraAndApmHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetInfraAndApmHostTop99pOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetInfraAndApmHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetInfraAndApmHostTop99pOk returns a tuple with the InfraAndApmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetInfraContainerSum ¶

func (o *UsageBillableSummaryKeys) GetInfraContainerSum() UsageBillableSummaryBody

GetInfraContainerSum returns the InfraContainerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetInfraContainerSumOk ¶

func (o *UsageBillableSummaryKeys) GetInfraContainerSumOk() (*UsageBillableSummaryBody, bool)

GetInfraContainerSumOk returns a tuple with the InfraContainerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetInfraHostSum ¶

GetInfraHostSum returns the InfraHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetInfraHostSumOk ¶

func (o *UsageBillableSummaryKeys) GetInfraHostSumOk() (*UsageBillableSummaryBody, bool)

GetInfraHostSumOk returns a tuple with the InfraHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetInfraHostTop99p ¶

func (o *UsageBillableSummaryKeys) GetInfraHostTop99p() UsageBillableSummaryBody

GetInfraHostTop99p returns the InfraHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetInfraHostTop99pOk ¶

func (o *UsageBillableSummaryKeys) GetInfraHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetInfraHostTop99pOk returns a tuple with the InfraHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetIngestedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIngestedSpansSum() UsageBillableSummaryBody

GetIngestedSpansSum returns the IngestedSpansSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetIngestedSpansSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIngestedSpansSumOk() (*UsageBillableSummaryBody, bool)

GetIngestedSpansSumOk returns a tuple with the IngestedSpansSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetIngestedTimeseriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIngestedTimeseriesAverage() UsageBillableSummaryBody

GetIngestedTimeseriesAverage returns the IngestedTimeseriesAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetIngestedTimeseriesAverageOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIngestedTimeseriesAverageOk() (*UsageBillableSummaryBody, bool)

GetIngestedTimeseriesAverageOk returns a tuple with the IngestedTimeseriesAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetIngestedTimeseriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIngestedTimeseriesSum() UsageBillableSummaryBody

GetIngestedTimeseriesSum returns the IngestedTimeseriesSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetIngestedTimeseriesSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetIngestedTimeseriesSumOk() (*UsageBillableSummaryBody, bool)

GetIngestedTimeseriesSumOk returns a tuple with the IngestedTimeseriesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetIotSum ¶ added in v1.15.0

GetIotSum returns the IotSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetIotSumOk ¶ added in v1.15.0

GetIotSumOk returns a tuple with the IotSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetIotTop99p ¶

GetIotTop99p returns the IotTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetIotTop99pOk ¶

func (o *UsageBillableSummaryKeys) GetIotTop99pOk() (*UsageBillableSummaryBody, bool)

GetIotTop99pOk returns a tuple with the IotTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLambdaFunctionAverage ¶

func (o *UsageBillableSummaryKeys) GetLambdaFunctionAverage() UsageBillableSummaryBody

GetLambdaFunctionAverage returns the LambdaFunctionAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLambdaFunctionAverageOk ¶

func (o *UsageBillableSummaryKeys) GetLambdaFunctionAverageOk() (*UsageBillableSummaryBody, bool)

GetLambdaFunctionAverageOk returns a tuple with the LambdaFunctionAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLambdaFunctionSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetLambdaFunctionSum() UsageBillableSummaryBody

GetLambdaFunctionSum returns the LambdaFunctionSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLambdaFunctionSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetLambdaFunctionSumOk() (*UsageBillableSummaryBody, bool)

GetLambdaFunctionSumOk returns a tuple with the LambdaFunctionSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed15daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed15daySum() UsageBillableSummaryBody

GetLogsIndexed15daySum returns the LogsIndexed15daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed15daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed15daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed15daySumOk returns a tuple with the LogsIndexed15daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed180daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed180daySum() UsageBillableSummaryBody

GetLogsIndexed180daySum returns the LogsIndexed180daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed180daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed180daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed180daySumOk returns a tuple with the LogsIndexed180daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed30daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed30daySum() UsageBillableSummaryBody

GetLogsIndexed30daySum returns the LogsIndexed30daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed30daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed30daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed30daySumOk returns a tuple with the LogsIndexed30daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed360daySum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetLogsIndexed360daySum() UsageBillableSummaryBody

GetLogsIndexed360daySum returns the LogsIndexed360daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed360daySumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetLogsIndexed360daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed360daySumOk returns a tuple with the LogsIndexed360daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed3daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed3daySum() UsageBillableSummaryBody

GetLogsIndexed3daySum returns the LogsIndexed3daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed3daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed3daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed3daySumOk returns a tuple with the LogsIndexed3daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed45daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed45daySum() UsageBillableSummaryBody

GetLogsIndexed45daySum returns the LogsIndexed45daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed45daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed45daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed45daySumOk returns a tuple with the LogsIndexed45daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed60daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed60daySum() UsageBillableSummaryBody

GetLogsIndexed60daySum returns the LogsIndexed60daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed60daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed60daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed60daySumOk returns a tuple with the LogsIndexed60daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed7daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed7daySum() UsageBillableSummaryBody

GetLogsIndexed7daySum returns the LogsIndexed7daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed7daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed7daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed7daySumOk returns a tuple with the LogsIndexed7daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexed90daySum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed90daySum() UsageBillableSummaryBody

GetLogsIndexed90daySum returns the LogsIndexed90daySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexed90daySumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexed90daySumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexed90daySumOk returns a tuple with the LogsIndexed90daySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexedCustomRetentionSum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexedCustomRetentionSum() UsageBillableSummaryBody

GetLogsIndexedCustomRetentionSum returns the LogsIndexedCustomRetentionSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexedCustomRetentionSumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexedCustomRetentionSumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexedCustomRetentionSumOk returns a tuple with the LogsIndexedCustomRetentionSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIndexedSum ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexedSum() UsageBillableSummaryBody

GetLogsIndexedSum returns the LogsIndexedSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIndexedSumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIndexedSumOk() (*UsageBillableSummaryBody, bool)

GetLogsIndexedSumOk returns a tuple with the LogsIndexedSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetLogsIngestedSum ¶

func (o *UsageBillableSummaryKeys) GetLogsIngestedSum() UsageBillableSummaryBody

GetLogsIngestedSum returns the LogsIngestedSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetLogsIngestedSumOk ¶

func (o *UsageBillableSummaryKeys) GetLogsIngestedSumOk() (*UsageBillableSummaryBody, bool)

GetLogsIngestedSumOk returns a tuple with the LogsIngestedSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetNetworkDeviceSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetNetworkDeviceSum() UsageBillableSummaryBody

GetNetworkDeviceSum returns the NetworkDeviceSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetNetworkDeviceSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetNetworkDeviceSumOk() (*UsageBillableSummaryBody, bool)

GetNetworkDeviceSumOk returns a tuple with the NetworkDeviceSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetNetworkDeviceTop99p ¶

func (o *UsageBillableSummaryKeys) GetNetworkDeviceTop99p() UsageBillableSummaryBody

GetNetworkDeviceTop99p returns the NetworkDeviceTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetNetworkDeviceTop99pOk ¶

func (o *UsageBillableSummaryKeys) GetNetworkDeviceTop99pOk() (*UsageBillableSummaryBody, bool)

GetNetworkDeviceTop99pOk returns a tuple with the NetworkDeviceTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetNpmFlowSum ¶

GetNpmFlowSum returns the NpmFlowSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetNpmFlowSumOk ¶

func (o *UsageBillableSummaryKeys) GetNpmFlowSumOk() (*UsageBillableSummaryBody, bool)

GetNpmFlowSumOk returns a tuple with the NpmFlowSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetNpmHostSum ¶

GetNpmHostSum returns the NpmHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetNpmHostSumOk ¶

func (o *UsageBillableSummaryKeys) GetNpmHostSumOk() (*UsageBillableSummaryBody, bool)

GetNpmHostSumOk returns a tuple with the NpmHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetNpmHostTop99p ¶

func (o *UsageBillableSummaryKeys) GetNpmHostTop99p() UsageBillableSummaryBody

GetNpmHostTop99p returns the NpmHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetNpmHostTop99pOk ¶

func (o *UsageBillableSummaryKeys) GetNpmHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetNpmHostTop99pOk returns a tuple with the NpmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetObservabilityPipelineSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetObservabilityPipelineSum() UsageBillableSummaryBody

GetObservabilityPipelineSum returns the ObservabilityPipelineSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetObservabilityPipelineSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetObservabilityPipelineSumOk() (*UsageBillableSummaryBody, bool)

GetObservabilityPipelineSumOk returns a tuple with the ObservabilityPipelineSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetOnlineArchiveSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetOnlineArchiveSum() UsageBillableSummaryBody

GetOnlineArchiveSum returns the OnlineArchiveSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetOnlineArchiveSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetOnlineArchiveSumOk() (*UsageBillableSummaryBody, bool)

GetOnlineArchiveSumOk returns a tuple with the OnlineArchiveSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetProfContainerSum ¶

func (o *UsageBillableSummaryKeys) GetProfContainerSum() UsageBillableSummaryBody

GetProfContainerSum returns the ProfContainerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetProfContainerSumOk ¶

func (o *UsageBillableSummaryKeys) GetProfContainerSumOk() (*UsageBillableSummaryBody, bool)

GetProfContainerSumOk returns a tuple with the ProfContainerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetProfHostSum ¶ added in v1.15.0

GetProfHostSum returns the ProfHostSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetProfHostSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetProfHostSumOk() (*UsageBillableSummaryBody, bool)

GetProfHostSumOk returns a tuple with the ProfHostSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetProfHostTop99p ¶

func (o *UsageBillableSummaryKeys) GetProfHostTop99p() UsageBillableSummaryBody

GetProfHostTop99p returns the ProfHostTop99p field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetProfHostTop99pOk ¶

func (o *UsageBillableSummaryKeys) GetProfHostTop99pOk() (*UsageBillableSummaryBody, bool)

GetProfHostTop99pOk returns a tuple with the ProfHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetRumLiteSum ¶ added in v1.15.0

GetRumLiteSum returns the RumLiteSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetRumLiteSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetRumLiteSumOk() (*UsageBillableSummaryBody, bool)

GetRumLiteSumOk returns a tuple with the RumLiteSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetRumReplaySum ¶ added in v1.15.0

GetRumReplaySum returns the RumReplaySum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetRumReplaySumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetRumReplaySumOk() (*UsageBillableSummaryBody, bool)

GetRumReplaySumOk returns a tuple with the RumReplaySum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetRumSum ¶

GetRumSum returns the RumSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetRumSumOk ¶

GetRumSumOk returns a tuple with the RumSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetRumUnitsSum ¶ added in v1.15.0

GetRumUnitsSum returns the RumUnitsSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetRumUnitsSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetRumUnitsSumOk() (*UsageBillableSummaryBody, bool)

GetRumUnitsSumOk returns a tuple with the RumUnitsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetSensitiveDataScannerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetSensitiveDataScannerSum() UsageBillableSummaryBody

GetSensitiveDataScannerSum returns the SensitiveDataScannerSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetSensitiveDataScannerSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetSensitiveDataScannerSumOk() (*UsageBillableSummaryBody, bool)

GetSensitiveDataScannerSumOk returns a tuple with the SensitiveDataScannerSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetServerlessInvocationSum ¶

func (o *UsageBillableSummaryKeys) GetServerlessInvocationSum() UsageBillableSummaryBody

GetServerlessInvocationSum returns the ServerlessInvocationSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetServerlessInvocationSumOk ¶

func (o *UsageBillableSummaryKeys) GetServerlessInvocationSumOk() (*UsageBillableSummaryBody, bool)

GetServerlessInvocationSumOk returns a tuple with the ServerlessInvocationSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetSiemSum ¶

GetSiemSum returns the SiemSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetSiemSumOk ¶

GetSiemSumOk returns a tuple with the SiemSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetStandardTimeseriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetStandardTimeseriesAverage() UsageBillableSummaryBody

GetStandardTimeseriesAverage returns the StandardTimeseriesAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetStandardTimeseriesAverageOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetStandardTimeseriesAverageOk() (*UsageBillableSummaryBody, bool)

GetStandardTimeseriesAverageOk returns a tuple with the StandardTimeseriesAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetSyntheticsApiTestsSum ¶

func (o *UsageBillableSummaryKeys) GetSyntheticsApiTestsSum() UsageBillableSummaryBody

GetSyntheticsApiTestsSum returns the SyntheticsApiTestsSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetSyntheticsApiTestsSumOk ¶

func (o *UsageBillableSummaryKeys) GetSyntheticsApiTestsSumOk() (*UsageBillableSummaryBody, bool)

GetSyntheticsApiTestsSumOk returns a tuple with the SyntheticsApiTestsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetSyntheticsBrowserChecksSum ¶

func (o *UsageBillableSummaryKeys) GetSyntheticsBrowserChecksSum() UsageBillableSummaryBody

GetSyntheticsBrowserChecksSum returns the SyntheticsBrowserChecksSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetSyntheticsBrowserChecksSumOk ¶

func (o *UsageBillableSummaryKeys) GetSyntheticsBrowserChecksSumOk() (*UsageBillableSummaryBody, bool)

GetSyntheticsBrowserChecksSumOk returns a tuple with the SyntheticsBrowserChecksSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetTimeseriesAverage ¶

func (o *UsageBillableSummaryKeys) GetTimeseriesAverage() UsageBillableSummaryBody

GetTimeseriesAverage returns the TimeseriesAverage field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetTimeseriesAverageOk ¶

func (o *UsageBillableSummaryKeys) GetTimeseriesAverageOk() (*UsageBillableSummaryBody, bool)

GetTimeseriesAverageOk returns a tuple with the TimeseriesAverage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) GetTimeseriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetTimeseriesSum() UsageBillableSummaryBody

GetTimeseriesSum returns the TimeseriesSum field value if set, zero value otherwise.

func (*UsageBillableSummaryKeys) GetTimeseriesSumOk ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) GetTimeseriesSumOk() (*UsageBillableSummaryBody, bool)

GetTimeseriesSumOk returns a tuple with the TimeseriesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryKeys) HasApmFargateAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasApmFargateAverage() bool

HasApmFargateAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasApmFargateSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasApmFargateSum() bool

HasApmFargateSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasApmHostSum ¶

func (o *UsageBillableSummaryKeys) HasApmHostSum() bool

HasApmHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasApmHostTop99p ¶

func (o *UsageBillableSummaryKeys) HasApmHostTop99p() bool

HasApmHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasApmProfilerHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasApmProfilerHostSum() bool

HasApmProfilerHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasApmProfilerHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasApmProfilerHostTop99p() bool

HasApmProfilerHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasApmTraceSearchSum ¶

func (o *UsageBillableSummaryKeys) HasApmTraceSearchSum() bool

HasApmTraceSearchSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasApplicationSecurityHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasApplicationSecurityHostSum() bool

HasApplicationSecurityHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCiPipelineIndexedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCiPipelineIndexedSpansSum() bool

HasCiPipelineIndexedSpansSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCiPipelineMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCiPipelineMaximum() bool

HasCiPipelineMaximum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCiPipelineSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCiPipelineSum() bool

HasCiPipelineSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCiTestIndexedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCiTestIndexedSpansSum() bool

HasCiTestIndexedSpansSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCiTestingMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCiTestingMaximum() bool

HasCiTestingMaximum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCiTestingSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCiTestingSum() bool

HasCiTestingSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCspmContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCspmContainerSum() bool

HasCspmContainerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCspmHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCspmHostSum() bool

HasCspmHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCspmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCspmHostTop99p() bool

HasCspmHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCustomEventSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCustomEventSum() bool

HasCustomEventSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCwsContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCwsContainerSum() bool

HasCwsContainerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCwsHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCwsHostSum() bool

HasCwsHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasCwsHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasCwsHostTop99p() bool

HasCwsHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasDbmHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasDbmHostSum() bool

HasDbmHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasDbmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasDbmHostTop99p() bool

HasDbmHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasDbmNormalizedQueriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasDbmNormalizedQueriesAverage() bool

HasDbmNormalizedQueriesAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasDbmNormalizedQueriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasDbmNormalizedQueriesSum() bool

HasDbmNormalizedQueriesSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasFargateContainerApmAndProfilerAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasFargateContainerApmAndProfilerAverage() bool

HasFargateContainerApmAndProfilerAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasFargateContainerApmAndProfilerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasFargateContainerApmAndProfilerSum() bool

HasFargateContainerApmAndProfilerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasFargateContainerAverage ¶

func (o *UsageBillableSummaryKeys) HasFargateContainerAverage() bool

HasFargateContainerAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasFargateContainerProfilerAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasFargateContainerProfilerAverage() bool

HasFargateContainerProfilerAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasFargateContainerProfilerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasFargateContainerProfilerSum() bool

HasFargateContainerProfilerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasFargateContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasFargateContainerSum() bool

HasFargateContainerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasIncidentManagementMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasIncidentManagementMaximum() bool

HasIncidentManagementMaximum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasIncidentManagementSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasIncidentManagementSum() bool

HasIncidentManagementSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasInfraAndApmHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasInfraAndApmHostSum() bool

HasInfraAndApmHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasInfraAndApmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasInfraAndApmHostTop99p() bool

HasInfraAndApmHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasInfraContainerSum ¶

func (o *UsageBillableSummaryKeys) HasInfraContainerSum() bool

HasInfraContainerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasInfraHostSum ¶

func (o *UsageBillableSummaryKeys) HasInfraHostSum() bool

HasInfraHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasInfraHostTop99p ¶

func (o *UsageBillableSummaryKeys) HasInfraHostTop99p() bool

HasInfraHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasIngestedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasIngestedSpansSum() bool

HasIngestedSpansSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasIngestedTimeseriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasIngestedTimeseriesAverage() bool

HasIngestedTimeseriesAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasIngestedTimeseriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasIngestedTimeseriesSum() bool

HasIngestedTimeseriesSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasIotSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasIotSum() bool

HasIotSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasIotTop99p ¶

func (o *UsageBillableSummaryKeys) HasIotTop99p() bool

HasIotTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLambdaFunctionAverage ¶

func (o *UsageBillableSummaryKeys) HasLambdaFunctionAverage() bool

HasLambdaFunctionAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLambdaFunctionSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasLambdaFunctionSum() bool

HasLambdaFunctionSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed15daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed15daySum() bool

HasLogsIndexed15daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed180daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed180daySum() bool

HasLogsIndexed180daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed30daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed30daySum() bool

HasLogsIndexed30daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed360daySum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasLogsIndexed360daySum() bool

HasLogsIndexed360daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed3daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed3daySum() bool

HasLogsIndexed3daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed45daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed45daySum() bool

HasLogsIndexed45daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed60daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed60daySum() bool

HasLogsIndexed60daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed7daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed7daySum() bool

HasLogsIndexed7daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexed90daySum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexed90daySum() bool

HasLogsIndexed90daySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexedCustomRetentionSum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexedCustomRetentionSum() bool

HasLogsIndexedCustomRetentionSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIndexedSum ¶

func (o *UsageBillableSummaryKeys) HasLogsIndexedSum() bool

HasLogsIndexedSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasLogsIngestedSum ¶

func (o *UsageBillableSummaryKeys) HasLogsIngestedSum() bool

HasLogsIngestedSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasNetworkDeviceSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasNetworkDeviceSum() bool

HasNetworkDeviceSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasNetworkDeviceTop99p ¶

func (o *UsageBillableSummaryKeys) HasNetworkDeviceTop99p() bool

HasNetworkDeviceTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasNpmFlowSum ¶

func (o *UsageBillableSummaryKeys) HasNpmFlowSum() bool

HasNpmFlowSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasNpmHostSum ¶

func (o *UsageBillableSummaryKeys) HasNpmHostSum() bool

HasNpmHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasNpmHostTop99p ¶

func (o *UsageBillableSummaryKeys) HasNpmHostTop99p() bool

HasNpmHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasObservabilityPipelineSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasObservabilityPipelineSum() bool

HasObservabilityPipelineSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasOnlineArchiveSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasOnlineArchiveSum() bool

HasOnlineArchiveSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasProfContainerSum ¶

func (o *UsageBillableSummaryKeys) HasProfContainerSum() bool

HasProfContainerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasProfHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasProfHostSum() bool

HasProfHostSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasProfHostTop99p ¶

func (o *UsageBillableSummaryKeys) HasProfHostTop99p() bool

HasProfHostTop99p returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasRumLiteSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasRumLiteSum() bool

HasRumLiteSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasRumReplaySum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasRumReplaySum() bool

HasRumReplaySum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasRumSum ¶

func (o *UsageBillableSummaryKeys) HasRumSum() bool

HasRumSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasRumUnitsSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasRumUnitsSum() bool

HasRumUnitsSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasSensitiveDataScannerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasSensitiveDataScannerSum() bool

HasSensitiveDataScannerSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasServerlessInvocationSum ¶

func (o *UsageBillableSummaryKeys) HasServerlessInvocationSum() bool

HasServerlessInvocationSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasSiemSum ¶

func (o *UsageBillableSummaryKeys) HasSiemSum() bool

HasSiemSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasStandardTimeseriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasStandardTimeseriesAverage() bool

HasStandardTimeseriesAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasSyntheticsApiTestsSum ¶

func (o *UsageBillableSummaryKeys) HasSyntheticsApiTestsSum() bool

HasSyntheticsApiTestsSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasSyntheticsBrowserChecksSum ¶

func (o *UsageBillableSummaryKeys) HasSyntheticsBrowserChecksSum() bool

HasSyntheticsBrowserChecksSum returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasTimeseriesAverage ¶

func (o *UsageBillableSummaryKeys) HasTimeseriesAverage() bool

HasTimeseriesAverage returns a boolean if a field has been set.

func (*UsageBillableSummaryKeys) HasTimeseriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) HasTimeseriesSum() bool

HasTimeseriesSum returns a boolean if a field has been set.

func (UsageBillableSummaryKeys) MarshalJSON ¶

func (o UsageBillableSummaryKeys) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageBillableSummaryKeys) SetApmFargateAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetApmFargateAverage(v UsageBillableSummaryBody)

SetApmFargateAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the ApmFargateAverage field.

func (*UsageBillableSummaryKeys) SetApmFargateSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetApmFargateSum(v UsageBillableSummaryBody)

SetApmFargateSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ApmFargateSum field.

func (*UsageBillableSummaryKeys) SetApmHostSum ¶

SetApmHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ApmHostSum field.

func (*UsageBillableSummaryKeys) SetApmHostTop99p ¶

func (o *UsageBillableSummaryKeys) SetApmHostTop99p(v UsageBillableSummaryBody)

SetApmHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the ApmHostTop99p field.

func (*UsageBillableSummaryKeys) SetApmProfilerHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetApmProfilerHostSum(v UsageBillableSummaryBody)

SetApmProfilerHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ApmProfilerHostSum field.

func (*UsageBillableSummaryKeys) SetApmProfilerHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetApmProfilerHostTop99p(v UsageBillableSummaryBody)

SetApmProfilerHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the ApmProfilerHostTop99p field.

func (*UsageBillableSummaryKeys) SetApmTraceSearchSum ¶

func (o *UsageBillableSummaryKeys) SetApmTraceSearchSum(v UsageBillableSummaryBody)

SetApmTraceSearchSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ApmTraceSearchSum field.

func (*UsageBillableSummaryKeys) SetApplicationSecurityHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetApplicationSecurityHostSum(v UsageBillableSummaryBody)

SetApplicationSecurityHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ApplicationSecurityHostSum field.

func (*UsageBillableSummaryKeys) SetCiPipelineIndexedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCiPipelineIndexedSpansSum(v UsageBillableSummaryBody)

SetCiPipelineIndexedSpansSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CiPipelineIndexedSpansSum field.

func (*UsageBillableSummaryKeys) SetCiPipelineMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCiPipelineMaximum(v UsageBillableSummaryBody)

SetCiPipelineMaximum gets a reference to the given UsageBillableSummaryBody and assigns it to the CiPipelineMaximum field.

func (*UsageBillableSummaryKeys) SetCiPipelineSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCiPipelineSum(v UsageBillableSummaryBody)

SetCiPipelineSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CiPipelineSum field.

func (*UsageBillableSummaryKeys) SetCiTestIndexedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCiTestIndexedSpansSum(v UsageBillableSummaryBody)

SetCiTestIndexedSpansSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CiTestIndexedSpansSum field.

func (*UsageBillableSummaryKeys) SetCiTestingMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCiTestingMaximum(v UsageBillableSummaryBody)

SetCiTestingMaximum gets a reference to the given UsageBillableSummaryBody and assigns it to the CiTestingMaximum field.

func (*UsageBillableSummaryKeys) SetCiTestingSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCiTestingSum(v UsageBillableSummaryBody)

SetCiTestingSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CiTestingSum field.

func (*UsageBillableSummaryKeys) SetCspmContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCspmContainerSum(v UsageBillableSummaryBody)

SetCspmContainerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CspmContainerSum field.

func (*UsageBillableSummaryKeys) SetCspmHostSum ¶ added in v1.15.0

SetCspmHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CspmHostSum field.

func (*UsageBillableSummaryKeys) SetCspmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCspmHostTop99p(v UsageBillableSummaryBody)

SetCspmHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the CspmHostTop99p field.

func (*UsageBillableSummaryKeys) SetCustomEventSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCustomEventSum(v UsageBillableSummaryBody)

SetCustomEventSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CustomEventSum field.

func (*UsageBillableSummaryKeys) SetCwsContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCwsContainerSum(v UsageBillableSummaryBody)

SetCwsContainerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CwsContainerSum field.

func (*UsageBillableSummaryKeys) SetCwsHostSum ¶ added in v1.15.0

SetCwsHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the CwsHostSum field.

func (*UsageBillableSummaryKeys) SetCwsHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetCwsHostTop99p(v UsageBillableSummaryBody)

SetCwsHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the CwsHostTop99p field.

func (*UsageBillableSummaryKeys) SetDbmHostSum ¶ added in v1.15.0

SetDbmHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the DbmHostSum field.

func (*UsageBillableSummaryKeys) SetDbmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetDbmHostTop99p(v UsageBillableSummaryBody)

SetDbmHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the DbmHostTop99p field.

func (*UsageBillableSummaryKeys) SetDbmNormalizedQueriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetDbmNormalizedQueriesAverage(v UsageBillableSummaryBody)

SetDbmNormalizedQueriesAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the DbmNormalizedQueriesAverage field.

func (*UsageBillableSummaryKeys) SetDbmNormalizedQueriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetDbmNormalizedQueriesSum(v UsageBillableSummaryBody)

SetDbmNormalizedQueriesSum gets a reference to the given UsageBillableSummaryBody and assigns it to the DbmNormalizedQueriesSum field.

func (*UsageBillableSummaryKeys) SetFargateContainerApmAndProfilerAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetFargateContainerApmAndProfilerAverage(v UsageBillableSummaryBody)

SetFargateContainerApmAndProfilerAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the FargateContainerApmAndProfilerAverage field.

func (*UsageBillableSummaryKeys) SetFargateContainerApmAndProfilerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetFargateContainerApmAndProfilerSum(v UsageBillableSummaryBody)

SetFargateContainerApmAndProfilerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the FargateContainerApmAndProfilerSum field.

func (*UsageBillableSummaryKeys) SetFargateContainerAverage ¶

func (o *UsageBillableSummaryKeys) SetFargateContainerAverage(v UsageBillableSummaryBody)

SetFargateContainerAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the FargateContainerAverage field.

func (*UsageBillableSummaryKeys) SetFargateContainerProfilerAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetFargateContainerProfilerAverage(v UsageBillableSummaryBody)

SetFargateContainerProfilerAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the FargateContainerProfilerAverage field.

func (*UsageBillableSummaryKeys) SetFargateContainerProfilerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetFargateContainerProfilerSum(v UsageBillableSummaryBody)

SetFargateContainerProfilerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the FargateContainerProfilerSum field.

func (*UsageBillableSummaryKeys) SetFargateContainerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetFargateContainerSum(v UsageBillableSummaryBody)

SetFargateContainerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the FargateContainerSum field.

func (*UsageBillableSummaryKeys) SetIncidentManagementMaximum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetIncidentManagementMaximum(v UsageBillableSummaryBody)

SetIncidentManagementMaximum gets a reference to the given UsageBillableSummaryBody and assigns it to the IncidentManagementMaximum field.

func (*UsageBillableSummaryKeys) SetIncidentManagementSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetIncidentManagementSum(v UsageBillableSummaryBody)

SetIncidentManagementSum gets a reference to the given UsageBillableSummaryBody and assigns it to the IncidentManagementSum field.

func (*UsageBillableSummaryKeys) SetInfraAndApmHostSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetInfraAndApmHostSum(v UsageBillableSummaryBody)

SetInfraAndApmHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the InfraAndApmHostSum field.

func (*UsageBillableSummaryKeys) SetInfraAndApmHostTop99p ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetInfraAndApmHostTop99p(v UsageBillableSummaryBody)

SetInfraAndApmHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the InfraAndApmHostTop99p field.

func (*UsageBillableSummaryKeys) SetInfraContainerSum ¶

func (o *UsageBillableSummaryKeys) SetInfraContainerSum(v UsageBillableSummaryBody)

SetInfraContainerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the InfraContainerSum field.

func (*UsageBillableSummaryKeys) SetInfraHostSum ¶

func (o *UsageBillableSummaryKeys) SetInfraHostSum(v UsageBillableSummaryBody)

SetInfraHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the InfraHostSum field.

func (*UsageBillableSummaryKeys) SetInfraHostTop99p ¶

func (o *UsageBillableSummaryKeys) SetInfraHostTop99p(v UsageBillableSummaryBody)

SetInfraHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the InfraHostTop99p field.

func (*UsageBillableSummaryKeys) SetIngestedSpansSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetIngestedSpansSum(v UsageBillableSummaryBody)

SetIngestedSpansSum gets a reference to the given UsageBillableSummaryBody and assigns it to the IngestedSpansSum field.

func (*UsageBillableSummaryKeys) SetIngestedTimeseriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetIngestedTimeseriesAverage(v UsageBillableSummaryBody)

SetIngestedTimeseriesAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the IngestedTimeseriesAverage field.

func (*UsageBillableSummaryKeys) SetIngestedTimeseriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetIngestedTimeseriesSum(v UsageBillableSummaryBody)

SetIngestedTimeseriesSum gets a reference to the given UsageBillableSummaryBody and assigns it to the IngestedTimeseriesSum field.

func (*UsageBillableSummaryKeys) SetIotSum ¶ added in v1.15.0

SetIotSum gets a reference to the given UsageBillableSummaryBody and assigns it to the IotSum field.

func (*UsageBillableSummaryKeys) SetIotTop99p ¶

SetIotTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the IotTop99p field.

func (*UsageBillableSummaryKeys) SetLambdaFunctionAverage ¶

func (o *UsageBillableSummaryKeys) SetLambdaFunctionAverage(v UsageBillableSummaryBody)

SetLambdaFunctionAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the LambdaFunctionAverage field.

func (*UsageBillableSummaryKeys) SetLambdaFunctionSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetLambdaFunctionSum(v UsageBillableSummaryBody)

SetLambdaFunctionSum gets a reference to the given UsageBillableSummaryBody and assigns it to the LambdaFunctionSum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed15daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed15daySum(v UsageBillableSummaryBody)

SetLogsIndexed15daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed15daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed180daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed180daySum(v UsageBillableSummaryBody)

SetLogsIndexed180daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed180daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed30daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed30daySum(v UsageBillableSummaryBody)

SetLogsIndexed30daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed30daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed360daySum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetLogsIndexed360daySum(v UsageBillableSummaryBody)

SetLogsIndexed360daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed360daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed3daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed3daySum(v UsageBillableSummaryBody)

SetLogsIndexed3daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed3daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed45daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed45daySum(v UsageBillableSummaryBody)

SetLogsIndexed45daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed45daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed60daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed60daySum(v UsageBillableSummaryBody)

SetLogsIndexed60daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed60daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed7daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed7daySum(v UsageBillableSummaryBody)

SetLogsIndexed7daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed7daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexed90daySum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexed90daySum(v UsageBillableSummaryBody)

SetLogsIndexed90daySum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexed90daySum field.

func (*UsageBillableSummaryKeys) SetLogsIndexedCustomRetentionSum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexedCustomRetentionSum(v UsageBillableSummaryBody)

SetLogsIndexedCustomRetentionSum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexedCustomRetentionSum field.

func (*UsageBillableSummaryKeys) SetLogsIndexedSum ¶

func (o *UsageBillableSummaryKeys) SetLogsIndexedSum(v UsageBillableSummaryBody)

SetLogsIndexedSum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIndexedSum field.

func (*UsageBillableSummaryKeys) SetLogsIngestedSum ¶

func (o *UsageBillableSummaryKeys) SetLogsIngestedSum(v UsageBillableSummaryBody)

SetLogsIngestedSum gets a reference to the given UsageBillableSummaryBody and assigns it to the LogsIngestedSum field.

func (*UsageBillableSummaryKeys) SetNetworkDeviceSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetNetworkDeviceSum(v UsageBillableSummaryBody)

SetNetworkDeviceSum gets a reference to the given UsageBillableSummaryBody and assigns it to the NetworkDeviceSum field.

func (*UsageBillableSummaryKeys) SetNetworkDeviceTop99p ¶

func (o *UsageBillableSummaryKeys) SetNetworkDeviceTop99p(v UsageBillableSummaryBody)

SetNetworkDeviceTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the NetworkDeviceTop99p field.

func (*UsageBillableSummaryKeys) SetNpmFlowSum ¶

SetNpmFlowSum gets a reference to the given UsageBillableSummaryBody and assigns it to the NpmFlowSum field.

func (*UsageBillableSummaryKeys) SetNpmHostSum ¶

SetNpmHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the NpmHostSum field.

func (*UsageBillableSummaryKeys) SetNpmHostTop99p ¶

func (o *UsageBillableSummaryKeys) SetNpmHostTop99p(v UsageBillableSummaryBody)

SetNpmHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the NpmHostTop99p field.

func (*UsageBillableSummaryKeys) SetObservabilityPipelineSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetObservabilityPipelineSum(v UsageBillableSummaryBody)

SetObservabilityPipelineSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ObservabilityPipelineSum field.

func (*UsageBillableSummaryKeys) SetOnlineArchiveSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetOnlineArchiveSum(v UsageBillableSummaryBody)

SetOnlineArchiveSum gets a reference to the given UsageBillableSummaryBody and assigns it to the OnlineArchiveSum field.

func (*UsageBillableSummaryKeys) SetProfContainerSum ¶

func (o *UsageBillableSummaryKeys) SetProfContainerSum(v UsageBillableSummaryBody)

SetProfContainerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ProfContainerSum field.

func (*UsageBillableSummaryKeys) SetProfHostSum ¶ added in v1.15.0

SetProfHostSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ProfHostSum field.

func (*UsageBillableSummaryKeys) SetProfHostTop99p ¶

func (o *UsageBillableSummaryKeys) SetProfHostTop99p(v UsageBillableSummaryBody)

SetProfHostTop99p gets a reference to the given UsageBillableSummaryBody and assigns it to the ProfHostTop99p field.

func (*UsageBillableSummaryKeys) SetRumLiteSum ¶ added in v1.15.0

SetRumLiteSum gets a reference to the given UsageBillableSummaryBody and assigns it to the RumLiteSum field.

func (*UsageBillableSummaryKeys) SetRumReplaySum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetRumReplaySum(v UsageBillableSummaryBody)

SetRumReplaySum gets a reference to the given UsageBillableSummaryBody and assigns it to the RumReplaySum field.

func (*UsageBillableSummaryKeys) SetRumSum ¶

SetRumSum gets a reference to the given UsageBillableSummaryBody and assigns it to the RumSum field.

func (*UsageBillableSummaryKeys) SetRumUnitsSum ¶ added in v1.15.0

SetRumUnitsSum gets a reference to the given UsageBillableSummaryBody and assigns it to the RumUnitsSum field.

func (*UsageBillableSummaryKeys) SetSensitiveDataScannerSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetSensitiveDataScannerSum(v UsageBillableSummaryBody)

SetSensitiveDataScannerSum gets a reference to the given UsageBillableSummaryBody and assigns it to the SensitiveDataScannerSum field.

func (*UsageBillableSummaryKeys) SetServerlessInvocationSum ¶

func (o *UsageBillableSummaryKeys) SetServerlessInvocationSum(v UsageBillableSummaryBody)

SetServerlessInvocationSum gets a reference to the given UsageBillableSummaryBody and assigns it to the ServerlessInvocationSum field.

func (*UsageBillableSummaryKeys) SetSiemSum ¶

SetSiemSum gets a reference to the given UsageBillableSummaryBody and assigns it to the SiemSum field.

func (*UsageBillableSummaryKeys) SetStandardTimeseriesAverage ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetStandardTimeseriesAverage(v UsageBillableSummaryBody)

SetStandardTimeseriesAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the StandardTimeseriesAverage field.

func (*UsageBillableSummaryKeys) SetSyntheticsApiTestsSum ¶

func (o *UsageBillableSummaryKeys) SetSyntheticsApiTestsSum(v UsageBillableSummaryBody)

SetSyntheticsApiTestsSum gets a reference to the given UsageBillableSummaryBody and assigns it to the SyntheticsApiTestsSum field.

func (*UsageBillableSummaryKeys) SetSyntheticsBrowserChecksSum ¶

func (o *UsageBillableSummaryKeys) SetSyntheticsBrowserChecksSum(v UsageBillableSummaryBody)

SetSyntheticsBrowserChecksSum gets a reference to the given UsageBillableSummaryBody and assigns it to the SyntheticsBrowserChecksSum field.

func (*UsageBillableSummaryKeys) SetTimeseriesAverage ¶

func (o *UsageBillableSummaryKeys) SetTimeseriesAverage(v UsageBillableSummaryBody)

SetTimeseriesAverage gets a reference to the given UsageBillableSummaryBody and assigns it to the TimeseriesAverage field.

func (*UsageBillableSummaryKeys) SetTimeseriesSum ¶ added in v1.15.0

func (o *UsageBillableSummaryKeys) SetTimeseriesSum(v UsageBillableSummaryBody)

SetTimeseriesSum gets a reference to the given UsageBillableSummaryBody and assigns it to the TimeseriesSum field.

func (*UsageBillableSummaryKeys) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageBillableSummaryKeys) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageBillableSummaryResponse ¶

type UsageBillableSummaryResponse struct {
	// An array of objects regarding usage of billable summary.
	Usage []UsageBillableSummaryHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageBillableSummaryResponse Response with monthly summary of data billed by Datadog.

func NewUsageBillableSummaryResponse ¶

func NewUsageBillableSummaryResponse() *UsageBillableSummaryResponse

NewUsageBillableSummaryResponse instantiates a new UsageBillableSummaryResponse 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 NewUsageBillableSummaryResponseWithDefaults ¶

func NewUsageBillableSummaryResponseWithDefaults() *UsageBillableSummaryResponse

NewUsageBillableSummaryResponseWithDefaults instantiates a new UsageBillableSummaryResponse 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 (*UsageBillableSummaryResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageBillableSummaryResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageBillableSummaryResponse) HasUsage ¶

func (o *UsageBillableSummaryResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageBillableSummaryResponse) MarshalJSON ¶

func (o UsageBillableSummaryResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageBillableSummaryResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageBillableSummaryHour and assigns it to the Usage field.

func (*UsageBillableSummaryResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageBillableSummaryResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCIVisibilityHour ¶ added in v1.10.0

type UsageCIVisibilityHour struct {
	// The number of spans for pipelines in the queried hour.
	CiPipelineIndexedSpans *int32 `json:"ci_pipeline_indexed_spans,omitempty"`
	// The number of spans for tests in the queried hour.
	CiTestIndexedSpans *int32 `json:"ci_test_indexed_spans,omitempty"`
	// Shows the total count of all active Git committers for Pipelines in the current month. A committer is active if they commit at least 3 times in a given month.
	CiVisibilityPipelineCommitters *int32 `json:"ci_visibility_pipeline_committers,omitempty"`
	// The total count of all active Git committers for tests in the current month. A committer is active if they commit at least 3 times in a given month.
	CiVisibilityTestCommitters *int32 `json:"ci_visibility_test_committers,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCIVisibilityHour CI visibility usage in a given hour.

func NewUsageCIVisibilityHour ¶ added in v1.10.0

func NewUsageCIVisibilityHour() *UsageCIVisibilityHour

NewUsageCIVisibilityHour instantiates a new UsageCIVisibilityHour 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 NewUsageCIVisibilityHourWithDefaults ¶ added in v1.10.0

func NewUsageCIVisibilityHourWithDefaults() *UsageCIVisibilityHour

NewUsageCIVisibilityHourWithDefaults instantiates a new UsageCIVisibilityHour 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 (*UsageCIVisibilityHour) GetCiPipelineIndexedSpans ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiPipelineIndexedSpans() int32

GetCiPipelineIndexedSpans returns the CiPipelineIndexedSpans field value if set, zero value otherwise.

func (*UsageCIVisibilityHour) GetCiPipelineIndexedSpansOk ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiPipelineIndexedSpansOk() (*int32, bool)

GetCiPipelineIndexedSpansOk returns a tuple with the CiPipelineIndexedSpans field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCIVisibilityHour) GetCiTestIndexedSpans ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiTestIndexedSpans() int32

GetCiTestIndexedSpans returns the CiTestIndexedSpans field value if set, zero value otherwise.

func (*UsageCIVisibilityHour) GetCiTestIndexedSpansOk ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiTestIndexedSpansOk() (*int32, bool)

GetCiTestIndexedSpansOk returns a tuple with the CiTestIndexedSpans field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCIVisibilityHour) GetCiVisibilityPipelineCommitters ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiVisibilityPipelineCommitters() int32

GetCiVisibilityPipelineCommitters returns the CiVisibilityPipelineCommitters field value if set, zero value otherwise.

func (*UsageCIVisibilityHour) GetCiVisibilityPipelineCommittersOk ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiVisibilityPipelineCommittersOk() (*int32, bool)

GetCiVisibilityPipelineCommittersOk returns a tuple with the CiVisibilityPipelineCommitters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCIVisibilityHour) GetCiVisibilityTestCommitters ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiVisibilityTestCommitters() int32

GetCiVisibilityTestCommitters returns the CiVisibilityTestCommitters field value if set, zero value otherwise.

func (*UsageCIVisibilityHour) GetCiVisibilityTestCommittersOk ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetCiVisibilityTestCommittersOk() (*int32, bool)

GetCiVisibilityTestCommittersOk returns a tuple with the CiVisibilityTestCommitters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCIVisibilityHour) GetOrgName ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageCIVisibilityHour) GetOrgNameOk ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCIVisibilityHour) GetPublicId ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageCIVisibilityHour) GetPublicIdOk ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCIVisibilityHour) HasCiPipelineIndexedSpans ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) HasCiPipelineIndexedSpans() bool

HasCiPipelineIndexedSpans returns a boolean if a field has been set.

func (*UsageCIVisibilityHour) HasCiTestIndexedSpans ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) HasCiTestIndexedSpans() bool

HasCiTestIndexedSpans returns a boolean if a field has been set.

func (*UsageCIVisibilityHour) HasCiVisibilityPipelineCommitters ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) HasCiVisibilityPipelineCommitters() bool

HasCiVisibilityPipelineCommitters returns a boolean if a field has been set.

func (*UsageCIVisibilityHour) HasCiVisibilityTestCommitters ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) HasCiVisibilityTestCommitters() bool

HasCiVisibilityTestCommitters returns a boolean if a field has been set.

func (*UsageCIVisibilityHour) HasOrgName ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageCIVisibilityHour) HasPublicId ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageCIVisibilityHour) MarshalJSON ¶ added in v1.10.0

func (o UsageCIVisibilityHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCIVisibilityHour) SetCiPipelineIndexedSpans ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) SetCiPipelineIndexedSpans(v int32)

SetCiPipelineIndexedSpans gets a reference to the given int32 and assigns it to the CiPipelineIndexedSpans field.

func (*UsageCIVisibilityHour) SetCiTestIndexedSpans ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) SetCiTestIndexedSpans(v int32)

SetCiTestIndexedSpans gets a reference to the given int32 and assigns it to the CiTestIndexedSpans field.

func (*UsageCIVisibilityHour) SetCiVisibilityPipelineCommitters ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) SetCiVisibilityPipelineCommitters(v int32)

SetCiVisibilityPipelineCommitters gets a reference to the given int32 and assigns it to the CiVisibilityPipelineCommitters field.

func (*UsageCIVisibilityHour) SetCiVisibilityTestCommitters ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) SetCiVisibilityTestCommitters(v int32)

SetCiVisibilityTestCommitters gets a reference to the given int32 and assigns it to the CiVisibilityTestCommitters field.

func (*UsageCIVisibilityHour) SetOrgName ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageCIVisibilityHour) SetPublicId ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageCIVisibilityHour) UnmarshalJSON ¶ added in v1.10.0

func (o *UsageCIVisibilityHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCIVisibilityResponse ¶ added in v1.10.0

type UsageCIVisibilityResponse struct {
	// Response containing CI visibility usage.
	Usage []UsageCIVisibilityHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCIVisibilityResponse CI visibility usage response

func NewUsageCIVisibilityResponse ¶ added in v1.10.0

func NewUsageCIVisibilityResponse() *UsageCIVisibilityResponse

NewUsageCIVisibilityResponse instantiates a new UsageCIVisibilityResponse 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 NewUsageCIVisibilityResponseWithDefaults ¶ added in v1.10.0

func NewUsageCIVisibilityResponseWithDefaults() *UsageCIVisibilityResponse

NewUsageCIVisibilityResponseWithDefaults instantiates a new UsageCIVisibilityResponse 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 (*UsageCIVisibilityResponse) GetUsage ¶ added in v1.10.0

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageCIVisibilityResponse) GetUsageOk ¶ added in v1.10.0

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCIVisibilityResponse) HasUsage ¶ added in v1.10.0

func (o *UsageCIVisibilityResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageCIVisibilityResponse) MarshalJSON ¶ added in v1.10.0

func (o UsageCIVisibilityResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCIVisibilityResponse) SetUsage ¶ added in v1.10.0

SetUsage gets a reference to the given []UsageCIVisibilityHour and assigns it to the Usage field.

func (*UsageCIVisibilityResponse) UnmarshalJSON ¶ added in v1.10.0

func (o *UsageCIVisibilityResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCWSHour ¶

type UsageCWSHour struct {
	// The total number of Cloud Workload Security container hours from the start of the given hour’s month until the given hour.
	CwsContainerCount *int64 `json:"cws_container_count,omitempty"`
	// The total number of Cloud Workload Security host hours from the start of the given hour’s month until the given hour.
	CwsHostCount *int64 `json:"cws_host_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCWSHour Cloud Workload Security usage for a given organization for a given hour.

func NewUsageCWSHour ¶

func NewUsageCWSHour() *UsageCWSHour

NewUsageCWSHour instantiates a new UsageCWSHour 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 NewUsageCWSHourWithDefaults ¶

func NewUsageCWSHourWithDefaults() *UsageCWSHour

NewUsageCWSHourWithDefaults instantiates a new UsageCWSHour 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 (*UsageCWSHour) GetCwsContainerCount ¶

func (o *UsageCWSHour) GetCwsContainerCount() int64

GetCwsContainerCount returns the CwsContainerCount field value if set, zero value otherwise.

func (*UsageCWSHour) GetCwsContainerCountOk ¶

func (o *UsageCWSHour) GetCwsContainerCountOk() (*int64, bool)

GetCwsContainerCountOk returns a tuple with the CwsContainerCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCWSHour) GetCwsHostCount ¶

func (o *UsageCWSHour) GetCwsHostCount() int64

GetCwsHostCount returns the CwsHostCount field value if set, zero value otherwise.

func (*UsageCWSHour) GetCwsHostCountOk ¶

func (o *UsageCWSHour) GetCwsHostCountOk() (*int64, bool)

GetCwsHostCountOk returns a tuple with the CwsHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCWSHour) GetHour ¶

func (o *UsageCWSHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageCWSHour) GetHourOk ¶

func (o *UsageCWSHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCWSHour) GetOrgName ¶ added in v1.8.0

func (o *UsageCWSHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageCWSHour) GetOrgNameOk ¶ added in v1.8.0

func (o *UsageCWSHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCWSHour) GetPublicId ¶ added in v1.8.0

func (o *UsageCWSHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageCWSHour) GetPublicIdOk ¶ added in v1.8.0

func (o *UsageCWSHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCWSHour) HasCwsContainerCount ¶

func (o *UsageCWSHour) HasCwsContainerCount() bool

HasCwsContainerCount returns a boolean if a field has been set.

func (*UsageCWSHour) HasCwsHostCount ¶

func (o *UsageCWSHour) HasCwsHostCount() bool

HasCwsHostCount returns a boolean if a field has been set.

func (*UsageCWSHour) HasHour ¶

func (o *UsageCWSHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageCWSHour) HasOrgName ¶ added in v1.8.0

func (o *UsageCWSHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageCWSHour) HasPublicId ¶ added in v1.8.0

func (o *UsageCWSHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageCWSHour) MarshalJSON ¶

func (o UsageCWSHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCWSHour) SetCwsContainerCount ¶

func (o *UsageCWSHour) SetCwsContainerCount(v int64)

SetCwsContainerCount gets a reference to the given int64 and assigns it to the CwsContainerCount field.

func (*UsageCWSHour) SetCwsHostCount ¶

func (o *UsageCWSHour) SetCwsHostCount(v int64)

SetCwsHostCount gets a reference to the given int64 and assigns it to the CwsHostCount field.

func (*UsageCWSHour) SetHour ¶

func (o *UsageCWSHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageCWSHour) SetOrgName ¶ added in v1.8.0

func (o *UsageCWSHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageCWSHour) SetPublicId ¶ added in v1.8.0

func (o *UsageCWSHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageCWSHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCWSHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCWSResponse ¶

type UsageCWSResponse struct {
	// Get hourly usage for Cloud Workload Security.
	Usage []UsageCWSHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCWSResponse Response containing the Cloud Workload Security usage for each hour for a given organization.

func NewUsageCWSResponse ¶

func NewUsageCWSResponse() *UsageCWSResponse

NewUsageCWSResponse instantiates a new UsageCWSResponse 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 NewUsageCWSResponseWithDefaults ¶

func NewUsageCWSResponseWithDefaults() *UsageCWSResponse

NewUsageCWSResponseWithDefaults instantiates a new UsageCWSResponse 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 (*UsageCWSResponse) GetUsage ¶

func (o *UsageCWSResponse) GetUsage() []UsageCWSHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageCWSResponse) GetUsageOk ¶

func (o *UsageCWSResponse) GetUsageOk() (*[]UsageCWSHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCWSResponse) HasUsage ¶

func (o *UsageCWSResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageCWSResponse) MarshalJSON ¶

func (o UsageCWSResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCWSResponse) SetUsage ¶

func (o *UsageCWSResponse) SetUsage(v []UsageCWSHour)

SetUsage gets a reference to the given []UsageCWSHour and assigns it to the Usage field.

func (*UsageCWSResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCWSResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCloudSecurityPostureManagementHour ¶

type UsageCloudSecurityPostureManagementHour struct {
	// The number of Cloud Security Posture Management Azure app services hosts during a given hour.
	AasHostCount NullableFloat64 `json:"aas_host_count,omitempty"`
	// The number of Cloud Security Posture Management Azure hosts during a given hour.
	AzureHostCount NullableFloat64 `json:"azure_host_count,omitempty"`
	// The number of Cloud Security Posture Management hosts during a given hour.
	ComplianceHostCount NullableFloat64 `json:"compliance_host_count,omitempty"`
	// The total number of Cloud Security Posture Management containers during a given hour.
	ContainerCount NullableFloat64 `json:"container_count,omitempty"`
	// The total number of Cloud Security Posture Management hosts during a given hour.
	HostCount NullableFloat64 `json:"host_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCloudSecurityPostureManagementHour Cloud Security Posture Management usage for a given organization for a given hour.

func NewUsageCloudSecurityPostureManagementHour ¶

func NewUsageCloudSecurityPostureManagementHour() *UsageCloudSecurityPostureManagementHour

NewUsageCloudSecurityPostureManagementHour instantiates a new UsageCloudSecurityPostureManagementHour 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 NewUsageCloudSecurityPostureManagementHourWithDefaults ¶

func NewUsageCloudSecurityPostureManagementHourWithDefaults() *UsageCloudSecurityPostureManagementHour

NewUsageCloudSecurityPostureManagementHourWithDefaults instantiates a new UsageCloudSecurityPostureManagementHour 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 (*UsageCloudSecurityPostureManagementHour) GetAasHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) GetAasHostCount() float64

GetAasHostCount returns the AasHostCount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageCloudSecurityPostureManagementHour) GetAasHostCountOk ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) GetAasHostCountOk() (*float64, bool)

GetAasHostCountOk returns a tuple with the AasHostCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageCloudSecurityPostureManagementHour) GetAzureHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) GetAzureHostCount() float64

GetAzureHostCount returns the AzureHostCount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageCloudSecurityPostureManagementHour) GetAzureHostCountOk ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) GetAzureHostCountOk() (*float64, bool)

GetAzureHostCountOk returns a tuple with the AzureHostCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageCloudSecurityPostureManagementHour) GetComplianceHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) GetComplianceHostCount() float64

GetComplianceHostCount returns the ComplianceHostCount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageCloudSecurityPostureManagementHour) GetComplianceHostCountOk ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) GetComplianceHostCountOk() (*float64, bool)

GetComplianceHostCountOk returns a tuple with the ComplianceHostCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageCloudSecurityPostureManagementHour) GetContainerCount ¶

func (o *UsageCloudSecurityPostureManagementHour) GetContainerCount() float64

GetContainerCount returns the ContainerCount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageCloudSecurityPostureManagementHour) GetContainerCountOk ¶

func (o *UsageCloudSecurityPostureManagementHour) GetContainerCountOk() (*float64, bool)

GetContainerCountOk returns a tuple with the ContainerCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageCloudSecurityPostureManagementHour) GetHostCount ¶

GetHostCount returns the HostCount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageCloudSecurityPostureManagementHour) GetHostCountOk ¶

func (o *UsageCloudSecurityPostureManagementHour) GetHostCountOk() (*float64, bool)

GetHostCountOk returns a tuple with the HostCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageCloudSecurityPostureManagementHour) GetHour ¶

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageCloudSecurityPostureManagementHour) GetHourOk ¶

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCloudSecurityPostureManagementHour) GetOrgName ¶ added in v1.8.0

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageCloudSecurityPostureManagementHour) GetOrgNameOk ¶ added in v1.8.0

func (o *UsageCloudSecurityPostureManagementHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCloudSecurityPostureManagementHour) GetPublicId ¶ added in v1.8.0

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageCloudSecurityPostureManagementHour) GetPublicIdOk ¶ added in v1.8.0

func (o *UsageCloudSecurityPostureManagementHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCloudSecurityPostureManagementHour) HasAasHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) HasAasHostCount() bool

HasAasHostCount returns a boolean if a field has been set.

func (*UsageCloudSecurityPostureManagementHour) HasAzureHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) HasAzureHostCount() bool

HasAzureHostCount returns a boolean if a field has been set.

func (*UsageCloudSecurityPostureManagementHour) HasComplianceHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) HasComplianceHostCount() bool

HasComplianceHostCount returns a boolean if a field has been set.

func (*UsageCloudSecurityPostureManagementHour) HasContainerCount ¶

func (o *UsageCloudSecurityPostureManagementHour) HasContainerCount() bool

HasContainerCount returns a boolean if a field has been set.

func (*UsageCloudSecurityPostureManagementHour) HasHostCount ¶

HasHostCount returns a boolean if a field has been set.

func (*UsageCloudSecurityPostureManagementHour) HasHour ¶

HasHour returns a boolean if a field has been set.

func (*UsageCloudSecurityPostureManagementHour) HasOrgName ¶ added in v1.8.0

HasOrgName returns a boolean if a field has been set.

func (*UsageCloudSecurityPostureManagementHour) HasPublicId ¶ added in v1.8.0

HasPublicId returns a boolean if a field has been set.

func (UsageCloudSecurityPostureManagementHour) MarshalJSON ¶

func (o UsageCloudSecurityPostureManagementHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCloudSecurityPostureManagementHour) SetAasHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetAasHostCount(v float64)

SetAasHostCount gets a reference to the given NullableFloat64 and assigns it to the AasHostCount field.

func (*UsageCloudSecurityPostureManagementHour) SetAasHostCountNil ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetAasHostCountNil()

SetAasHostCountNil sets the value for AasHostCount to be an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) SetAzureHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetAzureHostCount(v float64)

SetAzureHostCount gets a reference to the given NullableFloat64 and assigns it to the AzureHostCount field.

func (*UsageCloudSecurityPostureManagementHour) SetAzureHostCountNil ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetAzureHostCountNil()

SetAzureHostCountNil sets the value for AzureHostCount to be an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) SetComplianceHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetComplianceHostCount(v float64)

SetComplianceHostCount gets a reference to the given NullableFloat64 and assigns it to the ComplianceHostCount field.

func (*UsageCloudSecurityPostureManagementHour) SetComplianceHostCountNil ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetComplianceHostCountNil()

SetComplianceHostCountNil sets the value for ComplianceHostCount to be an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) SetContainerCount ¶

func (o *UsageCloudSecurityPostureManagementHour) SetContainerCount(v float64)

SetContainerCount gets a reference to the given NullableFloat64 and assigns it to the ContainerCount field.

func (*UsageCloudSecurityPostureManagementHour) SetContainerCountNil ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetContainerCountNil()

SetContainerCountNil sets the value for ContainerCount to be an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) SetHostCount ¶

SetHostCount gets a reference to the given NullableFloat64 and assigns it to the HostCount field.

func (*UsageCloudSecurityPostureManagementHour) SetHostCountNil ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) SetHostCountNil()

SetHostCountNil sets the value for HostCount to be an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) SetHour ¶

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageCloudSecurityPostureManagementHour) SetOrgName ¶ added in v1.8.0

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageCloudSecurityPostureManagementHour) SetPublicId ¶ added in v1.8.0

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageCloudSecurityPostureManagementHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCloudSecurityPostureManagementHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UsageCloudSecurityPostureManagementHour) UnsetAasHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) UnsetAasHostCount()

UnsetAasHostCount ensures that no value is present for AasHostCount, not even an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) UnsetAzureHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) UnsetAzureHostCount()

UnsetAzureHostCount ensures that no value is present for AzureHostCount, not even an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) UnsetComplianceHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) UnsetComplianceHostCount()

UnsetComplianceHostCount ensures that no value is present for ComplianceHostCount, not even an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) UnsetContainerCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) UnsetContainerCount()

UnsetContainerCount ensures that no value is present for ContainerCount, not even an explicit nil.

func (*UsageCloudSecurityPostureManagementHour) UnsetHostCount ¶ added in v1.9.0

func (o *UsageCloudSecurityPostureManagementHour) UnsetHostCount()

UnsetHostCount ensures that no value is present for HostCount, not even an explicit nil.

type UsageCloudSecurityPostureManagementResponse ¶

type UsageCloudSecurityPostureManagementResponse struct {
	// Get hourly usage for Cloud Security Posture Management.
	Usage []UsageCloudSecurityPostureManagementHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCloudSecurityPostureManagementResponse The response containing the Cloud Security Posture Management usage for each hour for a given organization.

func NewUsageCloudSecurityPostureManagementResponse ¶

func NewUsageCloudSecurityPostureManagementResponse() *UsageCloudSecurityPostureManagementResponse

NewUsageCloudSecurityPostureManagementResponse instantiates a new UsageCloudSecurityPostureManagementResponse 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 NewUsageCloudSecurityPostureManagementResponseWithDefaults ¶

func NewUsageCloudSecurityPostureManagementResponseWithDefaults() *UsageCloudSecurityPostureManagementResponse

NewUsageCloudSecurityPostureManagementResponseWithDefaults instantiates a new UsageCloudSecurityPostureManagementResponse 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 (*UsageCloudSecurityPostureManagementResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageCloudSecurityPostureManagementResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCloudSecurityPostureManagementResponse) HasUsage ¶

HasUsage returns a boolean if a field has been set.

func (UsageCloudSecurityPostureManagementResponse) MarshalJSON ¶

MarshalJSON serializes the struct using spec logic.

func (*UsageCloudSecurityPostureManagementResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageCloudSecurityPostureManagementHour and assigns it to the Usage field.

func (*UsageCloudSecurityPostureManagementResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCloudSecurityPostureManagementResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCustomReportsAttributes ¶

type UsageCustomReportsAttributes struct {
	// The date the specified custom report was computed.
	ComputedOn *string `json:"computed_on,omitempty"`
	// The ending date of custom report.
	EndDate *string `json:"end_date,omitempty"`
	// size
	Size *int64 `json:"size,omitempty"`
	// The starting date of custom report.
	StartDate *string `json:"start_date,omitempty"`
	// A list of tags to apply to custom reports.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCustomReportsAttributes The response containing attributes for custom reports.

func NewUsageCustomReportsAttributes ¶

func NewUsageCustomReportsAttributes() *UsageCustomReportsAttributes

NewUsageCustomReportsAttributes instantiates a new UsageCustomReportsAttributes 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 NewUsageCustomReportsAttributesWithDefaults ¶

func NewUsageCustomReportsAttributesWithDefaults() *UsageCustomReportsAttributes

NewUsageCustomReportsAttributesWithDefaults instantiates a new UsageCustomReportsAttributes 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 (*UsageCustomReportsAttributes) GetComputedOn ¶

func (o *UsageCustomReportsAttributes) GetComputedOn() string

GetComputedOn returns the ComputedOn field value if set, zero value otherwise.

func (*UsageCustomReportsAttributes) GetComputedOnOk ¶

func (o *UsageCustomReportsAttributes) GetComputedOnOk() (*string, bool)

GetComputedOnOk returns a tuple with the ComputedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsAttributes) GetEndDate ¶

func (o *UsageCustomReportsAttributes) GetEndDate() string

GetEndDate returns the EndDate field value if set, zero value otherwise.

func (*UsageCustomReportsAttributes) GetEndDateOk ¶

func (o *UsageCustomReportsAttributes) GetEndDateOk() (*string, bool)

GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsAttributes) GetSize ¶

func (o *UsageCustomReportsAttributes) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*UsageCustomReportsAttributes) GetSizeOk ¶

func (o *UsageCustomReportsAttributes) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsAttributes) GetStartDate ¶

func (o *UsageCustomReportsAttributes) GetStartDate() string

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*UsageCustomReportsAttributes) GetStartDateOk ¶

func (o *UsageCustomReportsAttributes) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsAttributes) GetTags ¶

func (o *UsageCustomReportsAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UsageCustomReportsAttributes) GetTagsOk ¶

func (o *UsageCustomReportsAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsAttributes) HasComputedOn ¶

func (o *UsageCustomReportsAttributes) HasComputedOn() bool

HasComputedOn returns a boolean if a field has been set.

func (*UsageCustomReportsAttributes) HasEndDate ¶

func (o *UsageCustomReportsAttributes) HasEndDate() bool

HasEndDate returns a boolean if a field has been set.

func (*UsageCustomReportsAttributes) HasSize ¶

func (o *UsageCustomReportsAttributes) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*UsageCustomReportsAttributes) HasStartDate ¶

func (o *UsageCustomReportsAttributes) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*UsageCustomReportsAttributes) HasTags ¶

func (o *UsageCustomReportsAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (UsageCustomReportsAttributes) MarshalJSON ¶

func (o UsageCustomReportsAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCustomReportsAttributes) SetComputedOn ¶

func (o *UsageCustomReportsAttributes) SetComputedOn(v string)

SetComputedOn gets a reference to the given string and assigns it to the ComputedOn field.

func (*UsageCustomReportsAttributes) SetEndDate ¶

func (o *UsageCustomReportsAttributes) SetEndDate(v string)

SetEndDate gets a reference to the given string and assigns it to the EndDate field.

func (*UsageCustomReportsAttributes) SetSize ¶

func (o *UsageCustomReportsAttributes) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*UsageCustomReportsAttributes) SetStartDate ¶

func (o *UsageCustomReportsAttributes) SetStartDate(v string)

SetStartDate gets a reference to the given string and assigns it to the StartDate field.

func (*UsageCustomReportsAttributes) SetTags ¶

func (o *UsageCustomReportsAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*UsageCustomReportsAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCustomReportsAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCustomReportsData ¶

type UsageCustomReportsData struct {
	// The response containing attributes for custom reports.
	Attributes *UsageCustomReportsAttributes `json:"attributes,omitempty"`
	// The date for specified custom reports.
	Id *string `json:"id,omitempty"`
	// The type of reports.
	Type *UsageReportsType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCustomReportsData The response containing the date and type for custom reports.

func NewUsageCustomReportsData ¶

func NewUsageCustomReportsData() *UsageCustomReportsData

NewUsageCustomReportsData instantiates a new UsageCustomReportsData 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 NewUsageCustomReportsDataWithDefaults ¶

func NewUsageCustomReportsDataWithDefaults() *UsageCustomReportsData

NewUsageCustomReportsDataWithDefaults instantiates a new UsageCustomReportsData 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 (*UsageCustomReportsData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UsageCustomReportsData) GetAttributesOk ¶

func (o *UsageCustomReportsData) GetAttributesOk() (*UsageCustomReportsAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsData) GetId ¶

func (o *UsageCustomReportsData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UsageCustomReportsData) GetIdOk ¶

func (o *UsageCustomReportsData) 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 (*UsageCustomReportsData) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*UsageCustomReportsData) GetTypeOk ¶

func (o *UsageCustomReportsData) GetTypeOk() (*UsageReportsType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsData) HasAttributes ¶

func (o *UsageCustomReportsData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UsageCustomReportsData) HasId ¶

func (o *UsageCustomReportsData) HasId() bool

HasId returns a boolean if a field has been set.

func (*UsageCustomReportsData) HasType ¶

func (o *UsageCustomReportsData) HasType() bool

HasType returns a boolean if a field has been set.

func (UsageCustomReportsData) MarshalJSON ¶

func (o UsageCustomReportsData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCustomReportsData) SetAttributes ¶

SetAttributes gets a reference to the given UsageCustomReportsAttributes and assigns it to the Attributes field.

func (*UsageCustomReportsData) SetId ¶

func (o *UsageCustomReportsData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UsageCustomReportsData) SetType ¶

SetType gets a reference to the given UsageReportsType and assigns it to the Type field.

func (*UsageCustomReportsData) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCustomReportsData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCustomReportsMeta ¶

type UsageCustomReportsMeta struct {
	// The object containing page total count.
	Page *UsageCustomReportsPage `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCustomReportsMeta The object containing document metadata.

func NewUsageCustomReportsMeta ¶

func NewUsageCustomReportsMeta() *UsageCustomReportsMeta

NewUsageCustomReportsMeta instantiates a new UsageCustomReportsMeta 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 NewUsageCustomReportsMetaWithDefaults ¶

func NewUsageCustomReportsMetaWithDefaults() *UsageCustomReportsMeta

NewUsageCustomReportsMetaWithDefaults instantiates a new UsageCustomReportsMeta 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 (*UsageCustomReportsMeta) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*UsageCustomReportsMeta) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsMeta) HasPage ¶

func (o *UsageCustomReportsMeta) HasPage() bool

HasPage returns a boolean if a field has been set.

func (UsageCustomReportsMeta) MarshalJSON ¶

func (o UsageCustomReportsMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCustomReportsMeta) SetPage ¶

SetPage gets a reference to the given UsageCustomReportsPage and assigns it to the Page field.

func (*UsageCustomReportsMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCustomReportsMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCustomReportsPage ¶

type UsageCustomReportsPage struct {
	// Total page count.
	TotalCount *int64 `json:"total_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCustomReportsPage The object containing page total count.

func NewUsageCustomReportsPage ¶

func NewUsageCustomReportsPage() *UsageCustomReportsPage

NewUsageCustomReportsPage instantiates a new UsageCustomReportsPage 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 NewUsageCustomReportsPageWithDefaults ¶

func NewUsageCustomReportsPageWithDefaults() *UsageCustomReportsPage

NewUsageCustomReportsPageWithDefaults instantiates a new UsageCustomReportsPage 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 (*UsageCustomReportsPage) GetTotalCount ¶

func (o *UsageCustomReportsPage) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*UsageCustomReportsPage) GetTotalCountOk ¶

func (o *UsageCustomReportsPage) GetTotalCountOk() (*int64, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsPage) HasTotalCount ¶

func (o *UsageCustomReportsPage) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (UsageCustomReportsPage) MarshalJSON ¶

func (o UsageCustomReportsPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCustomReportsPage) SetTotalCount ¶

func (o *UsageCustomReportsPage) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*UsageCustomReportsPage) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCustomReportsPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageCustomReportsResponse ¶

type UsageCustomReportsResponse struct {
	// An array of available custom reports.
	Data []UsageCustomReportsData `json:"data,omitempty"`
	// The object containing document metadata.
	Meta *UsageCustomReportsMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageCustomReportsResponse Response containing available custom reports.

func NewUsageCustomReportsResponse ¶

func NewUsageCustomReportsResponse() *UsageCustomReportsResponse

NewUsageCustomReportsResponse instantiates a new UsageCustomReportsResponse 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 NewUsageCustomReportsResponseWithDefaults ¶

func NewUsageCustomReportsResponseWithDefaults() *UsageCustomReportsResponse

NewUsageCustomReportsResponseWithDefaults instantiates a new UsageCustomReportsResponse 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 (*UsageCustomReportsResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*UsageCustomReportsResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*UsageCustomReportsResponse) GetMetaOk ¶

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageCustomReportsResponse) HasData ¶

func (o *UsageCustomReportsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UsageCustomReportsResponse) HasMeta ¶

func (o *UsageCustomReportsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (UsageCustomReportsResponse) MarshalJSON ¶

func (o UsageCustomReportsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageCustomReportsResponse) SetData ¶

SetData gets a reference to the given []UsageCustomReportsData and assigns it to the Data field.

func (*UsageCustomReportsResponse) SetMeta ¶

SetMeta gets a reference to the given UsageCustomReportsMeta and assigns it to the Meta field.

func (*UsageCustomReportsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageCustomReportsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageDBMHour ¶ added in v1.3.0

type UsageDBMHour struct {
	// The total number of Database Monitoring host hours from the start of the given hour’s month until the given hour.
	DbmHostCount *int64 `json:"dbm_host_count,omitempty"`
	// The total number of normalized Database Monitoring queries from the start of the given hour’s month until the given hour.
	DbmQueriesCount *int64 `json:"dbm_queries_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageDBMHour Database Monitoring usage for a given organization for a given hour.

func NewUsageDBMHour ¶ added in v1.3.0

func NewUsageDBMHour() *UsageDBMHour

NewUsageDBMHour instantiates a new UsageDBMHour 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 NewUsageDBMHourWithDefaults ¶ added in v1.3.0

func NewUsageDBMHourWithDefaults() *UsageDBMHour

NewUsageDBMHourWithDefaults instantiates a new UsageDBMHour 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 (*UsageDBMHour) GetDbmHostCount ¶ added in v1.3.0

func (o *UsageDBMHour) GetDbmHostCount() int64

GetDbmHostCount returns the DbmHostCount field value if set, zero value otherwise.

func (*UsageDBMHour) GetDbmHostCountOk ¶ added in v1.3.0

func (o *UsageDBMHour) GetDbmHostCountOk() (*int64, bool)

GetDbmHostCountOk returns a tuple with the DbmHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDBMHour) GetDbmQueriesCount ¶ added in v1.3.0

func (o *UsageDBMHour) GetDbmQueriesCount() int64

GetDbmQueriesCount returns the DbmQueriesCount field value if set, zero value otherwise.

func (*UsageDBMHour) GetDbmQueriesCountOk ¶ added in v1.3.0

func (o *UsageDBMHour) GetDbmQueriesCountOk() (*int64, bool)

GetDbmQueriesCountOk returns a tuple with the DbmQueriesCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDBMHour) GetHour ¶ added in v1.3.0

func (o *UsageDBMHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageDBMHour) GetHourOk ¶ added in v1.3.0

func (o *UsageDBMHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDBMHour) GetOrgName ¶ added in v1.8.0

func (o *UsageDBMHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageDBMHour) GetOrgNameOk ¶ added in v1.8.0

func (o *UsageDBMHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDBMHour) GetPublicId ¶ added in v1.8.0

func (o *UsageDBMHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageDBMHour) GetPublicIdOk ¶ added in v1.8.0

func (o *UsageDBMHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDBMHour) HasDbmHostCount ¶ added in v1.3.0

func (o *UsageDBMHour) HasDbmHostCount() bool

HasDbmHostCount returns a boolean if a field has been set.

func (*UsageDBMHour) HasDbmQueriesCount ¶ added in v1.3.0

func (o *UsageDBMHour) HasDbmQueriesCount() bool

HasDbmQueriesCount returns a boolean if a field has been set.

func (*UsageDBMHour) HasHour ¶ added in v1.3.0

func (o *UsageDBMHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageDBMHour) HasOrgName ¶ added in v1.8.0

func (o *UsageDBMHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageDBMHour) HasPublicId ¶ added in v1.8.0

func (o *UsageDBMHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageDBMHour) MarshalJSON ¶ added in v1.3.0

func (o UsageDBMHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageDBMHour) SetDbmHostCount ¶ added in v1.3.0

func (o *UsageDBMHour) SetDbmHostCount(v int64)

SetDbmHostCount gets a reference to the given int64 and assigns it to the DbmHostCount field.

func (*UsageDBMHour) SetDbmQueriesCount ¶ added in v1.3.0

func (o *UsageDBMHour) SetDbmQueriesCount(v int64)

SetDbmQueriesCount gets a reference to the given int64 and assigns it to the DbmQueriesCount field.

func (*UsageDBMHour) SetHour ¶ added in v1.3.0

func (o *UsageDBMHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageDBMHour) SetOrgName ¶ added in v1.8.0

func (o *UsageDBMHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageDBMHour) SetPublicId ¶ added in v1.8.0

func (o *UsageDBMHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageDBMHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageDBMHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageDBMResponse ¶ added in v1.3.0

type UsageDBMResponse struct {
	// Get hourly usage for Database Monitoring
	Usage []UsageDBMHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageDBMResponse Response containing the Database Monitoring usage for each hour for a given organization.

func NewUsageDBMResponse ¶ added in v1.3.0

func NewUsageDBMResponse() *UsageDBMResponse

NewUsageDBMResponse instantiates a new UsageDBMResponse 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 NewUsageDBMResponseWithDefaults ¶ added in v1.3.0

func NewUsageDBMResponseWithDefaults() *UsageDBMResponse

NewUsageDBMResponseWithDefaults instantiates a new UsageDBMResponse 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 (*UsageDBMResponse) GetUsage ¶ added in v1.3.0

func (o *UsageDBMResponse) GetUsage() []UsageDBMHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageDBMResponse) GetUsageOk ¶ added in v1.3.0

func (o *UsageDBMResponse) GetUsageOk() (*[]UsageDBMHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageDBMResponse) HasUsage ¶ added in v1.3.0

func (o *UsageDBMResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageDBMResponse) MarshalJSON ¶ added in v1.3.0

func (o UsageDBMResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageDBMResponse) SetUsage ¶ added in v1.3.0

func (o *UsageDBMResponse) SetUsage(v []UsageDBMHour)

SetUsage gets a reference to the given []UsageDBMHour and assigns it to the Usage field.

func (*UsageDBMResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageDBMResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageFargateHour ¶

type UsageFargateHour struct {
	// The average profiled task count for Fargate Profiling.
	AvgProfiledFargateTasks *int64 `json:"avg_profiled_fargate_tasks,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The number of Fargate tasks run.
	TasksCount *int64 `json:"tasks_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageFargateHour Number of Fargate tasks run and hourly usage.

func NewUsageFargateHour ¶

func NewUsageFargateHour() *UsageFargateHour

NewUsageFargateHour instantiates a new UsageFargateHour 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 NewUsageFargateHourWithDefaults ¶

func NewUsageFargateHourWithDefaults() *UsageFargateHour

NewUsageFargateHourWithDefaults instantiates a new UsageFargateHour 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 (*UsageFargateHour) GetAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageFargateHour) GetAvgProfiledFargateTasks() int64

GetAvgProfiledFargateTasks returns the AvgProfiledFargateTasks field value if set, zero value otherwise.

func (*UsageFargateHour) GetAvgProfiledFargateTasksOk ¶ added in v1.7.0

func (o *UsageFargateHour) GetAvgProfiledFargateTasksOk() (*int64, bool)

GetAvgProfiledFargateTasksOk returns a tuple with the AvgProfiledFargateTasks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageFargateHour) GetHour ¶

func (o *UsageFargateHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageFargateHour) GetHourOk ¶

func (o *UsageFargateHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageFargateHour) GetOrgName ¶ added in v1.7.0

func (o *UsageFargateHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageFargateHour) GetOrgNameOk ¶ added in v1.7.0

func (o *UsageFargateHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageFargateHour) GetPublicId ¶ added in v1.7.0

func (o *UsageFargateHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageFargateHour) GetPublicIdOk ¶ added in v1.7.0

func (o *UsageFargateHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageFargateHour) GetTasksCount ¶

func (o *UsageFargateHour) GetTasksCount() int64

GetTasksCount returns the TasksCount field value if set, zero value otherwise.

func (*UsageFargateHour) GetTasksCountOk ¶

func (o *UsageFargateHour) GetTasksCountOk() (*int64, bool)

GetTasksCountOk returns a tuple with the TasksCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageFargateHour) HasAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageFargateHour) HasAvgProfiledFargateTasks() bool

HasAvgProfiledFargateTasks returns a boolean if a field has been set.

func (*UsageFargateHour) HasHour ¶

func (o *UsageFargateHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageFargateHour) HasOrgName ¶ added in v1.7.0

func (o *UsageFargateHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageFargateHour) HasPublicId ¶ added in v1.7.0

func (o *UsageFargateHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageFargateHour) HasTasksCount ¶

func (o *UsageFargateHour) HasTasksCount() bool

HasTasksCount returns a boolean if a field has been set.

func (UsageFargateHour) MarshalJSON ¶

func (o UsageFargateHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageFargateHour) SetAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageFargateHour) SetAvgProfiledFargateTasks(v int64)

SetAvgProfiledFargateTasks gets a reference to the given int64 and assigns it to the AvgProfiledFargateTasks field.

func (*UsageFargateHour) SetHour ¶

func (o *UsageFargateHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageFargateHour) SetOrgName ¶ added in v1.7.0

func (o *UsageFargateHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageFargateHour) SetPublicId ¶ added in v1.7.0

func (o *UsageFargateHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageFargateHour) SetTasksCount ¶

func (o *UsageFargateHour) SetTasksCount(v int64)

SetTasksCount gets a reference to the given int64 and assigns it to the TasksCount field.

func (*UsageFargateHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageFargateHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageFargateResponse ¶

type UsageFargateResponse struct {
	// Array with the number of hourly Fargate tasks recorded for a given organization.
	Usage []UsageFargateHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageFargateResponse Response containing the number of Fargate tasks run and hourly usage.

func NewUsageFargateResponse ¶

func NewUsageFargateResponse() *UsageFargateResponse

NewUsageFargateResponse instantiates a new UsageFargateResponse 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 NewUsageFargateResponseWithDefaults ¶

func NewUsageFargateResponseWithDefaults() *UsageFargateResponse

NewUsageFargateResponseWithDefaults instantiates a new UsageFargateResponse 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 (*UsageFargateResponse) GetUsage ¶

func (o *UsageFargateResponse) GetUsage() []UsageFargateHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageFargateResponse) GetUsageOk ¶

func (o *UsageFargateResponse) GetUsageOk() (*[]UsageFargateHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageFargateResponse) HasUsage ¶

func (o *UsageFargateResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageFargateResponse) MarshalJSON ¶

func (o UsageFargateResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageFargateResponse) SetUsage ¶

func (o *UsageFargateResponse) SetUsage(v []UsageFargateHour)

SetUsage gets a reference to the given []UsageFargateHour and assigns it to the Usage field.

func (*UsageFargateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageFargateResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageHostHour ¶

type UsageHostHour struct {
	// Contains the total number of infrastructure hosts reporting
	// during a given hour that were running the Datadog Agent.
	AgentHostCount *int64 `json:"agent_host_count,omitempty"`
	// Contains the total number of hosts that reported through Alibaba integration
	// (and were NOT running the Datadog Agent).
	AlibabaHostCount *int64 `json:"alibaba_host_count,omitempty"`
	// Contains the total number of Azure App Services hosts using APM.
	ApmAzureAppServiceHostCount *int64 `json:"apm_azure_app_service_host_count,omitempty"`
	// Shows the total number of hosts using APM during the hour,
	// these are counted as billable (except during trial periods).
	ApmHostCount *int64 `json:"apm_host_count,omitempty"`
	// Contains the total number of hosts that reported through the AWS integration
	// (and were NOT running the Datadog Agent).
	AwsHostCount *int64 `json:"aws_host_count,omitempty"`
	// Contains the total number of hosts that reported through Azure integration
	// (and were NOT running the Datadog Agent).
	AzureHostCount *int64 `json:"azure_host_count,omitempty"`
	// Shows the total number of containers reported by the Docker integration during the hour.
	ContainerCount *int64 `json:"container_count,omitempty"`
	// Contains the total number of hosts that reported through the Google Cloud integration
	// (and were NOT running the Datadog Agent).
	GcpHostCount *int64 `json:"gcp_host_count,omitempty"`
	// Contains the total number of Heroku dynos reported by the Datadog Agent.
	HerokuHostCount *int64 `json:"heroku_host_count,omitempty"`
	// Contains the total number of billable infrastructure hosts reporting during a given hour.
	// This is the sum of `agent_host_count`, `aws_host_count`, and `gcp_host_count`.
	HostCount *int64 `json:"host_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the total number of hosts that reported through the Azure App Services integration
	// (and were NOT running the Datadog Agent).
	InfraAzureAppService *int64 `json:"infra_azure_app_service,omitempty"`
	// Contains the total number of hosts reported by Datadog exporter for the OpenTelemetry Collector.
	OpentelemetryHostCount *int64 `json:"opentelemetry_host_count,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// Contains the total number of hosts that reported through vSphere integration
	// (and were NOT running the Datadog Agent).
	VsphereHostCount *int64 `json:"vsphere_host_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageHostHour Number of hosts/containers recorded for each hour for a given organization.

func NewUsageHostHour ¶

func NewUsageHostHour() *UsageHostHour

NewUsageHostHour instantiates a new UsageHostHour 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 NewUsageHostHourWithDefaults ¶

func NewUsageHostHourWithDefaults() *UsageHostHour

NewUsageHostHourWithDefaults instantiates a new UsageHostHour 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 (*UsageHostHour) GetAgentHostCount ¶

func (o *UsageHostHour) GetAgentHostCount() int64

GetAgentHostCount returns the AgentHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetAgentHostCountOk ¶

func (o *UsageHostHour) GetAgentHostCountOk() (*int64, bool)

GetAgentHostCountOk returns a tuple with the AgentHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetAlibabaHostCount ¶

func (o *UsageHostHour) GetAlibabaHostCount() int64

GetAlibabaHostCount returns the AlibabaHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetAlibabaHostCountOk ¶

func (o *UsageHostHour) GetAlibabaHostCountOk() (*int64, bool)

GetAlibabaHostCountOk returns a tuple with the AlibabaHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetApmAzureAppServiceHostCount ¶

func (o *UsageHostHour) GetApmAzureAppServiceHostCount() int64

GetApmAzureAppServiceHostCount returns the ApmAzureAppServiceHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetApmAzureAppServiceHostCountOk ¶

func (o *UsageHostHour) GetApmAzureAppServiceHostCountOk() (*int64, bool)

GetApmAzureAppServiceHostCountOk returns a tuple with the ApmAzureAppServiceHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetApmHostCount ¶

func (o *UsageHostHour) GetApmHostCount() int64

GetApmHostCount returns the ApmHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetApmHostCountOk ¶

func (o *UsageHostHour) GetApmHostCountOk() (*int64, bool)

GetApmHostCountOk returns a tuple with the ApmHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetAwsHostCount ¶

func (o *UsageHostHour) GetAwsHostCount() int64

GetAwsHostCount returns the AwsHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetAwsHostCountOk ¶

func (o *UsageHostHour) GetAwsHostCountOk() (*int64, bool)

GetAwsHostCountOk returns a tuple with the AwsHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetAzureHostCount ¶

func (o *UsageHostHour) GetAzureHostCount() int64

GetAzureHostCount returns the AzureHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetAzureHostCountOk ¶

func (o *UsageHostHour) GetAzureHostCountOk() (*int64, bool)

GetAzureHostCountOk returns a tuple with the AzureHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetContainerCount ¶

func (o *UsageHostHour) GetContainerCount() int64

GetContainerCount returns the ContainerCount field value if set, zero value otherwise.

func (*UsageHostHour) GetContainerCountOk ¶

func (o *UsageHostHour) GetContainerCountOk() (*int64, bool)

GetContainerCountOk returns a tuple with the ContainerCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetGcpHostCount ¶

func (o *UsageHostHour) GetGcpHostCount() int64

GetGcpHostCount returns the GcpHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetGcpHostCountOk ¶

func (o *UsageHostHour) GetGcpHostCountOk() (*int64, bool)

GetGcpHostCountOk returns a tuple with the GcpHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetHerokuHostCount ¶

func (o *UsageHostHour) GetHerokuHostCount() int64

GetHerokuHostCount returns the HerokuHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetHerokuHostCountOk ¶

func (o *UsageHostHour) GetHerokuHostCountOk() (*int64, bool)

GetHerokuHostCountOk returns a tuple with the HerokuHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetHostCount ¶

func (o *UsageHostHour) GetHostCount() int64

GetHostCount returns the HostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetHostCountOk ¶

func (o *UsageHostHour) GetHostCountOk() (*int64, bool)

GetHostCountOk returns a tuple with the HostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetHour ¶

func (o *UsageHostHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageHostHour) GetHourOk ¶

func (o *UsageHostHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetInfraAzureAppService ¶

func (o *UsageHostHour) GetInfraAzureAppService() int64

GetInfraAzureAppService returns the InfraAzureAppService field value if set, zero value otherwise.

func (*UsageHostHour) GetInfraAzureAppServiceOk ¶

func (o *UsageHostHour) GetInfraAzureAppServiceOk() (*int64, bool)

GetInfraAzureAppServiceOk returns a tuple with the InfraAzureAppService field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetOpentelemetryHostCount ¶

func (o *UsageHostHour) GetOpentelemetryHostCount() int64

GetOpentelemetryHostCount returns the OpentelemetryHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetOpentelemetryHostCountOk ¶

func (o *UsageHostHour) GetOpentelemetryHostCountOk() (*int64, bool)

GetOpentelemetryHostCountOk returns a tuple with the OpentelemetryHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetOrgName ¶ added in v1.9.0

func (o *UsageHostHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageHostHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageHostHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetPublicId ¶ added in v1.9.0

func (o *UsageHostHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageHostHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageHostHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) GetVsphereHostCount ¶

func (o *UsageHostHour) GetVsphereHostCount() int64

GetVsphereHostCount returns the VsphereHostCount field value if set, zero value otherwise.

func (*UsageHostHour) GetVsphereHostCountOk ¶

func (o *UsageHostHour) GetVsphereHostCountOk() (*int64, bool)

GetVsphereHostCountOk returns a tuple with the VsphereHostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostHour) HasAgentHostCount ¶

func (o *UsageHostHour) HasAgentHostCount() bool

HasAgentHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasAlibabaHostCount ¶

func (o *UsageHostHour) HasAlibabaHostCount() bool

HasAlibabaHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasApmAzureAppServiceHostCount ¶

func (o *UsageHostHour) HasApmAzureAppServiceHostCount() bool

HasApmAzureAppServiceHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasApmHostCount ¶

func (o *UsageHostHour) HasApmHostCount() bool

HasApmHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasAwsHostCount ¶

func (o *UsageHostHour) HasAwsHostCount() bool

HasAwsHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasAzureHostCount ¶

func (o *UsageHostHour) HasAzureHostCount() bool

HasAzureHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasContainerCount ¶

func (o *UsageHostHour) HasContainerCount() bool

HasContainerCount returns a boolean if a field has been set.

func (*UsageHostHour) HasGcpHostCount ¶

func (o *UsageHostHour) HasGcpHostCount() bool

HasGcpHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasHerokuHostCount ¶

func (o *UsageHostHour) HasHerokuHostCount() bool

HasHerokuHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasHostCount ¶

func (o *UsageHostHour) HasHostCount() bool

HasHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasHour ¶

func (o *UsageHostHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageHostHour) HasInfraAzureAppService ¶

func (o *UsageHostHour) HasInfraAzureAppService() bool

HasInfraAzureAppService returns a boolean if a field has been set.

func (*UsageHostHour) HasOpentelemetryHostCount ¶

func (o *UsageHostHour) HasOpentelemetryHostCount() bool

HasOpentelemetryHostCount returns a boolean if a field has been set.

func (*UsageHostHour) HasOrgName ¶ added in v1.9.0

func (o *UsageHostHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageHostHour) HasPublicId ¶ added in v1.9.0

func (o *UsageHostHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageHostHour) HasVsphereHostCount ¶

func (o *UsageHostHour) HasVsphereHostCount() bool

HasVsphereHostCount returns a boolean if a field has been set.

func (UsageHostHour) MarshalJSON ¶

func (o UsageHostHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageHostHour) SetAgentHostCount ¶

func (o *UsageHostHour) SetAgentHostCount(v int64)

SetAgentHostCount gets a reference to the given int64 and assigns it to the AgentHostCount field.

func (*UsageHostHour) SetAlibabaHostCount ¶

func (o *UsageHostHour) SetAlibabaHostCount(v int64)

SetAlibabaHostCount gets a reference to the given int64 and assigns it to the AlibabaHostCount field.

func (*UsageHostHour) SetApmAzureAppServiceHostCount ¶

func (o *UsageHostHour) SetApmAzureAppServiceHostCount(v int64)

SetApmAzureAppServiceHostCount gets a reference to the given int64 and assigns it to the ApmAzureAppServiceHostCount field.

func (*UsageHostHour) SetApmHostCount ¶

func (o *UsageHostHour) SetApmHostCount(v int64)

SetApmHostCount gets a reference to the given int64 and assigns it to the ApmHostCount field.

func (*UsageHostHour) SetAwsHostCount ¶

func (o *UsageHostHour) SetAwsHostCount(v int64)

SetAwsHostCount gets a reference to the given int64 and assigns it to the AwsHostCount field.

func (*UsageHostHour) SetAzureHostCount ¶

func (o *UsageHostHour) SetAzureHostCount(v int64)

SetAzureHostCount gets a reference to the given int64 and assigns it to the AzureHostCount field.

func (*UsageHostHour) SetContainerCount ¶

func (o *UsageHostHour) SetContainerCount(v int64)

SetContainerCount gets a reference to the given int64 and assigns it to the ContainerCount field.

func (*UsageHostHour) SetGcpHostCount ¶

func (o *UsageHostHour) SetGcpHostCount(v int64)

SetGcpHostCount gets a reference to the given int64 and assigns it to the GcpHostCount field.

func (*UsageHostHour) SetHerokuHostCount ¶

func (o *UsageHostHour) SetHerokuHostCount(v int64)

SetHerokuHostCount gets a reference to the given int64 and assigns it to the HerokuHostCount field.

func (*UsageHostHour) SetHostCount ¶

func (o *UsageHostHour) SetHostCount(v int64)

SetHostCount gets a reference to the given int64 and assigns it to the HostCount field.

func (*UsageHostHour) SetHour ¶

func (o *UsageHostHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageHostHour) SetInfraAzureAppService ¶

func (o *UsageHostHour) SetInfraAzureAppService(v int64)

SetInfraAzureAppService gets a reference to the given int64 and assigns it to the InfraAzureAppService field.

func (*UsageHostHour) SetOpentelemetryHostCount ¶

func (o *UsageHostHour) SetOpentelemetryHostCount(v int64)

SetOpentelemetryHostCount gets a reference to the given int64 and assigns it to the OpentelemetryHostCount field.

func (*UsageHostHour) SetOrgName ¶ added in v1.9.0

func (o *UsageHostHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageHostHour) SetPublicId ¶ added in v1.9.0

func (o *UsageHostHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageHostHour) SetVsphereHostCount ¶

func (o *UsageHostHour) SetVsphereHostCount(v int64)

SetVsphereHostCount gets a reference to the given int64 and assigns it to the VsphereHostCount field.

func (*UsageHostHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageHostHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageHostsResponse ¶

type UsageHostsResponse struct {
	// An array of objects related to host usage.
	Usage []UsageHostHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageHostsResponse Host usage response.

func NewUsageHostsResponse ¶

func NewUsageHostsResponse() *UsageHostsResponse

NewUsageHostsResponse instantiates a new UsageHostsResponse 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 NewUsageHostsResponseWithDefaults ¶

func NewUsageHostsResponseWithDefaults() *UsageHostsResponse

NewUsageHostsResponseWithDefaults instantiates a new UsageHostsResponse 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 (*UsageHostsResponse) GetUsage ¶

func (o *UsageHostsResponse) GetUsage() []UsageHostHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageHostsResponse) GetUsageOk ¶

func (o *UsageHostsResponse) GetUsageOk() (*[]UsageHostHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageHostsResponse) HasUsage ¶

func (o *UsageHostsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageHostsResponse) MarshalJSON ¶

func (o UsageHostsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageHostsResponse) SetUsage ¶

func (o *UsageHostsResponse) SetUsage(v []UsageHostHour)

SetUsage gets a reference to the given []UsageHostHour and assigns it to the Usage field.

func (*UsageHostsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageHostsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIncidentManagementHour ¶

type UsageIncidentManagementHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the total number monthly active users from the start of the given hour's month until the given hour.
	MonthlyActiveUsers *int64 `json:"monthly_active_users,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIncidentManagementHour Incident management usage for a given organization for a given hour.

func NewUsageIncidentManagementHour ¶

func NewUsageIncidentManagementHour() *UsageIncidentManagementHour

NewUsageIncidentManagementHour instantiates a new UsageIncidentManagementHour 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 NewUsageIncidentManagementHourWithDefaults ¶

func NewUsageIncidentManagementHourWithDefaults() *UsageIncidentManagementHour

NewUsageIncidentManagementHourWithDefaults instantiates a new UsageIncidentManagementHour 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 (*UsageIncidentManagementHour) GetHour ¶

func (o *UsageIncidentManagementHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageIncidentManagementHour) GetHourOk ¶

func (o *UsageIncidentManagementHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIncidentManagementHour) GetMonthlyActiveUsers ¶

func (o *UsageIncidentManagementHour) GetMonthlyActiveUsers() int64

GetMonthlyActiveUsers returns the MonthlyActiveUsers field value if set, zero value otherwise.

func (*UsageIncidentManagementHour) GetMonthlyActiveUsersOk ¶

func (o *UsageIncidentManagementHour) GetMonthlyActiveUsersOk() (*int64, bool)

GetMonthlyActiveUsersOk returns a tuple with the MonthlyActiveUsers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIncidentManagementHour) GetOrgName ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageIncidentManagementHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIncidentManagementHour) GetPublicId ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageIncidentManagementHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIncidentManagementHour) HasHour ¶

func (o *UsageIncidentManagementHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageIncidentManagementHour) HasMonthlyActiveUsers ¶

func (o *UsageIncidentManagementHour) HasMonthlyActiveUsers() bool

HasMonthlyActiveUsers returns a boolean if a field has been set.

func (*UsageIncidentManagementHour) HasOrgName ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageIncidentManagementHour) HasPublicId ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageIncidentManagementHour) MarshalJSON ¶

func (o UsageIncidentManagementHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIncidentManagementHour) SetHour ¶

func (o *UsageIncidentManagementHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageIncidentManagementHour) SetMonthlyActiveUsers ¶

func (o *UsageIncidentManagementHour) SetMonthlyActiveUsers(v int64)

SetMonthlyActiveUsers gets a reference to the given int64 and assigns it to the MonthlyActiveUsers field.

func (*UsageIncidentManagementHour) SetOrgName ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageIncidentManagementHour) SetPublicId ¶ added in v1.9.0

func (o *UsageIncidentManagementHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageIncidentManagementHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIncidentManagementHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIncidentManagementResponse ¶

type UsageIncidentManagementResponse struct {
	// Get hourly usage for incident management.
	Usage []UsageIncidentManagementHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIncidentManagementResponse Response containing the incident management usage for each hour for a given organization.

func NewUsageIncidentManagementResponse ¶

func NewUsageIncidentManagementResponse() *UsageIncidentManagementResponse

NewUsageIncidentManagementResponse instantiates a new UsageIncidentManagementResponse 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 NewUsageIncidentManagementResponseWithDefaults ¶

func NewUsageIncidentManagementResponseWithDefaults() *UsageIncidentManagementResponse

NewUsageIncidentManagementResponseWithDefaults instantiates a new UsageIncidentManagementResponse 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 (*UsageIncidentManagementResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageIncidentManagementResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIncidentManagementResponse) HasUsage ¶

func (o *UsageIncidentManagementResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageIncidentManagementResponse) MarshalJSON ¶

func (o UsageIncidentManagementResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIncidentManagementResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageIncidentManagementHour and assigns it to the Usage field.

func (*UsageIncidentManagementResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIncidentManagementResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIndexedSpansHour ¶

type UsageIndexedSpansHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the number of spans indexed.
	IndexedEventsCount *int64 `json:"indexed_events_count,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIndexedSpansHour The hours of indexed spans usage.

func NewUsageIndexedSpansHour ¶

func NewUsageIndexedSpansHour() *UsageIndexedSpansHour

NewUsageIndexedSpansHour instantiates a new UsageIndexedSpansHour 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 NewUsageIndexedSpansHourWithDefaults ¶

func NewUsageIndexedSpansHourWithDefaults() *UsageIndexedSpansHour

NewUsageIndexedSpansHourWithDefaults instantiates a new UsageIndexedSpansHour 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 (*UsageIndexedSpansHour) GetHour ¶

func (o *UsageIndexedSpansHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageIndexedSpansHour) GetHourOk ¶

func (o *UsageIndexedSpansHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIndexedSpansHour) GetIndexedEventsCount ¶

func (o *UsageIndexedSpansHour) GetIndexedEventsCount() int64

GetIndexedEventsCount returns the IndexedEventsCount field value if set, zero value otherwise.

func (*UsageIndexedSpansHour) GetIndexedEventsCountOk ¶

func (o *UsageIndexedSpansHour) GetIndexedEventsCountOk() (*int64, bool)

GetIndexedEventsCountOk returns a tuple with the IndexedEventsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIndexedSpansHour) GetOrgName ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageIndexedSpansHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIndexedSpansHour) GetPublicId ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageIndexedSpansHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIndexedSpansHour) HasHour ¶

func (o *UsageIndexedSpansHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageIndexedSpansHour) HasIndexedEventsCount ¶

func (o *UsageIndexedSpansHour) HasIndexedEventsCount() bool

HasIndexedEventsCount returns a boolean if a field has been set.

func (*UsageIndexedSpansHour) HasOrgName ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageIndexedSpansHour) HasPublicId ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageIndexedSpansHour) MarshalJSON ¶

func (o UsageIndexedSpansHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIndexedSpansHour) SetHour ¶

func (o *UsageIndexedSpansHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageIndexedSpansHour) SetIndexedEventsCount ¶

func (o *UsageIndexedSpansHour) SetIndexedEventsCount(v int64)

SetIndexedEventsCount gets a reference to the given int64 and assigns it to the IndexedEventsCount field.

func (*UsageIndexedSpansHour) SetOrgName ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageIndexedSpansHour) SetPublicId ¶ added in v1.9.0

func (o *UsageIndexedSpansHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageIndexedSpansHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIndexedSpansHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIndexedSpansResponse ¶

type UsageIndexedSpansResponse struct {
	// Array with the number of hourly traces indexed for a given organization.
	Usage []UsageIndexedSpansHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIndexedSpansResponse A response containing indexed spans usage.

func NewUsageIndexedSpansResponse ¶

func NewUsageIndexedSpansResponse() *UsageIndexedSpansResponse

NewUsageIndexedSpansResponse instantiates a new UsageIndexedSpansResponse 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 NewUsageIndexedSpansResponseWithDefaults ¶

func NewUsageIndexedSpansResponseWithDefaults() *UsageIndexedSpansResponse

NewUsageIndexedSpansResponseWithDefaults instantiates a new UsageIndexedSpansResponse 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 (*UsageIndexedSpansResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageIndexedSpansResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIndexedSpansResponse) HasUsage ¶

func (o *UsageIndexedSpansResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageIndexedSpansResponse) MarshalJSON ¶

func (o UsageIndexedSpansResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIndexedSpansResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageIndexedSpansHour and assigns it to the Usage field.

func (*UsageIndexedSpansResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIndexedSpansResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIngestedSpansHour ¶

type UsageIngestedSpansHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the total number of bytes ingested for APM spans during a given hour.
	IngestedEventsBytes *int64 `json:"ingested_events_bytes,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIngestedSpansHour Ingested spans usage for a given organization for a given hour.

func NewUsageIngestedSpansHour ¶

func NewUsageIngestedSpansHour() *UsageIngestedSpansHour

NewUsageIngestedSpansHour instantiates a new UsageIngestedSpansHour 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 NewUsageIngestedSpansHourWithDefaults ¶

func NewUsageIngestedSpansHourWithDefaults() *UsageIngestedSpansHour

NewUsageIngestedSpansHourWithDefaults instantiates a new UsageIngestedSpansHour 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 (*UsageIngestedSpansHour) GetHour ¶

func (o *UsageIngestedSpansHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageIngestedSpansHour) GetHourOk ¶

func (o *UsageIngestedSpansHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIngestedSpansHour) GetIngestedEventsBytes ¶

func (o *UsageIngestedSpansHour) GetIngestedEventsBytes() int64

GetIngestedEventsBytes returns the IngestedEventsBytes field value if set, zero value otherwise.

func (*UsageIngestedSpansHour) GetIngestedEventsBytesOk ¶

func (o *UsageIngestedSpansHour) GetIngestedEventsBytesOk() (*int64, bool)

GetIngestedEventsBytesOk returns a tuple with the IngestedEventsBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIngestedSpansHour) GetOrgName ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageIngestedSpansHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIngestedSpansHour) GetPublicId ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageIngestedSpansHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIngestedSpansHour) HasHour ¶

func (o *UsageIngestedSpansHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageIngestedSpansHour) HasIngestedEventsBytes ¶

func (o *UsageIngestedSpansHour) HasIngestedEventsBytes() bool

HasIngestedEventsBytes returns a boolean if a field has been set.

func (*UsageIngestedSpansHour) HasOrgName ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageIngestedSpansHour) HasPublicId ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageIngestedSpansHour) MarshalJSON ¶

func (o UsageIngestedSpansHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIngestedSpansHour) SetHour ¶

func (o *UsageIngestedSpansHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageIngestedSpansHour) SetIngestedEventsBytes ¶

func (o *UsageIngestedSpansHour) SetIngestedEventsBytes(v int64)

SetIngestedEventsBytes gets a reference to the given int64 and assigns it to the IngestedEventsBytes field.

func (*UsageIngestedSpansHour) SetOrgName ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageIngestedSpansHour) SetPublicId ¶ added in v1.9.0

func (o *UsageIngestedSpansHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageIngestedSpansHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIngestedSpansHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIngestedSpansResponse ¶

type UsageIngestedSpansResponse struct {
	// Get hourly usage for ingested spans.
	Usage []UsageIngestedSpansHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIngestedSpansResponse Response containing the ingested spans usage for each hour for a given organization.

func NewUsageIngestedSpansResponse ¶

func NewUsageIngestedSpansResponse() *UsageIngestedSpansResponse

NewUsageIngestedSpansResponse instantiates a new UsageIngestedSpansResponse 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 NewUsageIngestedSpansResponseWithDefaults ¶

func NewUsageIngestedSpansResponseWithDefaults() *UsageIngestedSpansResponse

NewUsageIngestedSpansResponseWithDefaults instantiates a new UsageIngestedSpansResponse 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 (*UsageIngestedSpansResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageIngestedSpansResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIngestedSpansResponse) HasUsage ¶

func (o *UsageIngestedSpansResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageIngestedSpansResponse) MarshalJSON ¶

func (o UsageIngestedSpansResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIngestedSpansResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageIngestedSpansHour and assigns it to the Usage field.

func (*UsageIngestedSpansResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIngestedSpansResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIoTHour ¶

type UsageIoTHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The total number of IoT devices during a given hour.
	IotDeviceCount *int64 `json:"iot_device_count,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIoTHour IoT usage for a given organization for a given hour.

func NewUsageIoTHour ¶

func NewUsageIoTHour() *UsageIoTHour

NewUsageIoTHour instantiates a new UsageIoTHour 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 NewUsageIoTHourWithDefaults ¶

func NewUsageIoTHourWithDefaults() *UsageIoTHour

NewUsageIoTHourWithDefaults instantiates a new UsageIoTHour 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 (*UsageIoTHour) GetHour ¶

func (o *UsageIoTHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageIoTHour) GetHourOk ¶

func (o *UsageIoTHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIoTHour) GetIotDeviceCount ¶

func (o *UsageIoTHour) GetIotDeviceCount() int64

GetIotDeviceCount returns the IotDeviceCount field value if set, zero value otherwise.

func (*UsageIoTHour) GetIotDeviceCountOk ¶

func (o *UsageIoTHour) GetIotDeviceCountOk() (*int64, bool)

GetIotDeviceCountOk returns a tuple with the IotDeviceCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIoTHour) GetOrgName ¶ added in v1.9.0

func (o *UsageIoTHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageIoTHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageIoTHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIoTHour) GetPublicId ¶ added in v1.9.0

func (o *UsageIoTHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageIoTHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageIoTHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIoTHour) HasHour ¶

func (o *UsageIoTHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageIoTHour) HasIotDeviceCount ¶

func (o *UsageIoTHour) HasIotDeviceCount() bool

HasIotDeviceCount returns a boolean if a field has been set.

func (*UsageIoTHour) HasOrgName ¶ added in v1.9.0

func (o *UsageIoTHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageIoTHour) HasPublicId ¶ added in v1.9.0

func (o *UsageIoTHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageIoTHour) MarshalJSON ¶

func (o UsageIoTHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIoTHour) SetHour ¶

func (o *UsageIoTHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageIoTHour) SetIotDeviceCount ¶

func (o *UsageIoTHour) SetIotDeviceCount(v int64)

SetIotDeviceCount gets a reference to the given int64 and assigns it to the IotDeviceCount field.

func (*UsageIoTHour) SetOrgName ¶ added in v1.9.0

func (o *UsageIoTHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageIoTHour) SetPublicId ¶ added in v1.9.0

func (o *UsageIoTHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageIoTHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIoTHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageIoTResponse ¶

type UsageIoTResponse struct {
	// Get hourly usage for IoT.
	Usage []UsageIoTHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageIoTResponse Response containing the IoT usage for each hour for a given organization.

func NewUsageIoTResponse ¶

func NewUsageIoTResponse() *UsageIoTResponse

NewUsageIoTResponse instantiates a new UsageIoTResponse 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 NewUsageIoTResponseWithDefaults ¶

func NewUsageIoTResponseWithDefaults() *UsageIoTResponse

NewUsageIoTResponseWithDefaults instantiates a new UsageIoTResponse 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 (*UsageIoTResponse) GetUsage ¶

func (o *UsageIoTResponse) GetUsage() []UsageIoTHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageIoTResponse) GetUsageOk ¶

func (o *UsageIoTResponse) GetUsageOk() (*[]UsageIoTHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageIoTResponse) HasUsage ¶

func (o *UsageIoTResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageIoTResponse) MarshalJSON ¶

func (o UsageIoTResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageIoTResponse) SetUsage ¶

func (o *UsageIoTResponse) SetUsage(v []UsageIoTHour)

SetUsage gets a reference to the given []UsageIoTHour and assigns it to the Usage field.

func (*UsageIoTResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageIoTResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLambdaHour ¶

type UsageLambdaHour struct {
	// Contains the number of different functions for each region and AWS account.
	FuncCount *int64 `json:"func_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the sum of invocations of all functions.
	InvocationsSum *int64 `json:"invocations_sum,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLambdaHour Number of lambda functions and sum of the invocations of all lambda functions for each hour for a given organization.

func NewUsageLambdaHour ¶

func NewUsageLambdaHour() *UsageLambdaHour

NewUsageLambdaHour instantiates a new UsageLambdaHour 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 NewUsageLambdaHourWithDefaults ¶

func NewUsageLambdaHourWithDefaults() *UsageLambdaHour

NewUsageLambdaHourWithDefaults instantiates a new UsageLambdaHour 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 (*UsageLambdaHour) GetFuncCount ¶

func (o *UsageLambdaHour) GetFuncCount() int64

GetFuncCount returns the FuncCount field value if set, zero value otherwise.

func (*UsageLambdaHour) GetFuncCountOk ¶

func (o *UsageLambdaHour) GetFuncCountOk() (*int64, bool)

GetFuncCountOk returns a tuple with the FuncCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLambdaHour) GetHour ¶

func (o *UsageLambdaHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageLambdaHour) GetHourOk ¶

func (o *UsageLambdaHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLambdaHour) GetInvocationsSum ¶

func (o *UsageLambdaHour) GetInvocationsSum() int64

GetInvocationsSum returns the InvocationsSum field value if set, zero value otherwise.

func (*UsageLambdaHour) GetInvocationsSumOk ¶

func (o *UsageLambdaHour) GetInvocationsSumOk() (*int64, bool)

GetInvocationsSumOk returns a tuple with the InvocationsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLambdaHour) GetOrgName ¶ added in v1.9.0

func (o *UsageLambdaHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageLambdaHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageLambdaHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLambdaHour) GetPublicId ¶ added in v1.9.0

func (o *UsageLambdaHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageLambdaHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageLambdaHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLambdaHour) HasFuncCount ¶

func (o *UsageLambdaHour) HasFuncCount() bool

HasFuncCount returns a boolean if a field has been set.

func (*UsageLambdaHour) HasHour ¶

func (o *UsageLambdaHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageLambdaHour) HasInvocationsSum ¶

func (o *UsageLambdaHour) HasInvocationsSum() bool

HasInvocationsSum returns a boolean if a field has been set.

func (*UsageLambdaHour) HasOrgName ¶ added in v1.9.0

func (o *UsageLambdaHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageLambdaHour) HasPublicId ¶ added in v1.9.0

func (o *UsageLambdaHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageLambdaHour) MarshalJSON ¶

func (o UsageLambdaHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLambdaHour) SetFuncCount ¶

func (o *UsageLambdaHour) SetFuncCount(v int64)

SetFuncCount gets a reference to the given int64 and assigns it to the FuncCount field.

func (*UsageLambdaHour) SetHour ¶

func (o *UsageLambdaHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageLambdaHour) SetInvocationsSum ¶

func (o *UsageLambdaHour) SetInvocationsSum(v int64)

SetInvocationsSum gets a reference to the given int64 and assigns it to the InvocationsSum field.

func (*UsageLambdaHour) SetOrgName ¶ added in v1.9.0

func (o *UsageLambdaHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageLambdaHour) SetPublicId ¶ added in v1.9.0

func (o *UsageLambdaHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageLambdaHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLambdaHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLambdaResponse ¶

type UsageLambdaResponse struct {
	// Get hourly usage for Lambda.
	Usage []UsageLambdaHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLambdaResponse Response containing the number of lambda functions and sum of the invocations of all lambda functions for each hour for a given organization.

func NewUsageLambdaResponse ¶

func NewUsageLambdaResponse() *UsageLambdaResponse

NewUsageLambdaResponse instantiates a new UsageLambdaResponse 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 NewUsageLambdaResponseWithDefaults ¶

func NewUsageLambdaResponseWithDefaults() *UsageLambdaResponse

NewUsageLambdaResponseWithDefaults instantiates a new UsageLambdaResponse 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 (*UsageLambdaResponse) GetUsage ¶

func (o *UsageLambdaResponse) GetUsage() []UsageLambdaHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageLambdaResponse) GetUsageOk ¶

func (o *UsageLambdaResponse) GetUsageOk() (*[]UsageLambdaHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLambdaResponse) HasUsage ¶

func (o *UsageLambdaResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageLambdaResponse) MarshalJSON ¶

func (o UsageLambdaResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLambdaResponse) SetUsage ¶

func (o *UsageLambdaResponse) SetUsage(v []UsageLambdaHour)

SetUsage gets a reference to the given []UsageLambdaHour and assigns it to the Usage field.

func (*UsageLambdaResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLambdaResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLogsByIndexHour ¶

type UsageLogsByIndexHour struct {
	// The total number of indexed logs for the queried hour.
	EventCount *int64 `json:"event_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The index ID for this usage.
	IndexId *string `json:"index_id,omitempty"`
	// The user specified name for this index ID.
	IndexName *string `json:"index_name,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The retention period (in days) for this index ID.
	Retention *int64 `json:"retention,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLogsByIndexHour Number of indexed logs for each hour and index for a given organization.

func NewUsageLogsByIndexHour ¶

func NewUsageLogsByIndexHour() *UsageLogsByIndexHour

NewUsageLogsByIndexHour instantiates a new UsageLogsByIndexHour 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 NewUsageLogsByIndexHourWithDefaults ¶

func NewUsageLogsByIndexHourWithDefaults() *UsageLogsByIndexHour

NewUsageLogsByIndexHourWithDefaults instantiates a new UsageLogsByIndexHour 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 (*UsageLogsByIndexHour) GetEventCount ¶

func (o *UsageLogsByIndexHour) GetEventCount() int64

GetEventCount returns the EventCount field value if set, zero value otherwise.

func (*UsageLogsByIndexHour) GetEventCountOk ¶

func (o *UsageLogsByIndexHour) GetEventCountOk() (*int64, bool)

GetEventCountOk returns a tuple with the EventCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexHour) GetHour ¶

func (o *UsageLogsByIndexHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageLogsByIndexHour) GetHourOk ¶

func (o *UsageLogsByIndexHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexHour) GetIndexId ¶

func (o *UsageLogsByIndexHour) GetIndexId() string

GetIndexId returns the IndexId field value if set, zero value otherwise.

func (*UsageLogsByIndexHour) GetIndexIdOk ¶

func (o *UsageLogsByIndexHour) GetIndexIdOk() (*string, bool)

GetIndexIdOk returns a tuple with the IndexId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexHour) GetIndexName ¶

func (o *UsageLogsByIndexHour) GetIndexName() string

GetIndexName returns the IndexName field value if set, zero value otherwise.

func (*UsageLogsByIndexHour) GetIndexNameOk ¶

func (o *UsageLogsByIndexHour) GetIndexNameOk() (*string, bool)

GetIndexNameOk returns a tuple with the IndexName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexHour) GetOrgName ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageLogsByIndexHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexHour) GetPublicId ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageLogsByIndexHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexHour) GetRetention ¶

func (o *UsageLogsByIndexHour) GetRetention() int64

GetRetention returns the Retention field value if set, zero value otherwise.

func (*UsageLogsByIndexHour) GetRetentionOk ¶

func (o *UsageLogsByIndexHour) GetRetentionOk() (*int64, bool)

GetRetentionOk returns a tuple with the Retention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexHour) HasEventCount ¶

func (o *UsageLogsByIndexHour) HasEventCount() bool

HasEventCount returns a boolean if a field has been set.

func (*UsageLogsByIndexHour) HasHour ¶

func (o *UsageLogsByIndexHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageLogsByIndexHour) HasIndexId ¶

func (o *UsageLogsByIndexHour) HasIndexId() bool

HasIndexId returns a boolean if a field has been set.

func (*UsageLogsByIndexHour) HasIndexName ¶

func (o *UsageLogsByIndexHour) HasIndexName() bool

HasIndexName returns a boolean if a field has been set.

func (*UsageLogsByIndexHour) HasOrgName ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageLogsByIndexHour) HasPublicId ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageLogsByIndexHour) HasRetention ¶

func (o *UsageLogsByIndexHour) HasRetention() bool

HasRetention returns a boolean if a field has been set.

func (UsageLogsByIndexHour) MarshalJSON ¶

func (o UsageLogsByIndexHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLogsByIndexHour) SetEventCount ¶

func (o *UsageLogsByIndexHour) SetEventCount(v int64)

SetEventCount gets a reference to the given int64 and assigns it to the EventCount field.

func (*UsageLogsByIndexHour) SetHour ¶

func (o *UsageLogsByIndexHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageLogsByIndexHour) SetIndexId ¶

func (o *UsageLogsByIndexHour) SetIndexId(v string)

SetIndexId gets a reference to the given string and assigns it to the IndexId field.

func (*UsageLogsByIndexHour) SetIndexName ¶

func (o *UsageLogsByIndexHour) SetIndexName(v string)

SetIndexName gets a reference to the given string and assigns it to the IndexName field.

func (*UsageLogsByIndexHour) SetOrgName ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageLogsByIndexHour) SetPublicId ¶ added in v1.9.0

func (o *UsageLogsByIndexHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageLogsByIndexHour) SetRetention ¶

func (o *UsageLogsByIndexHour) SetRetention(v int64)

SetRetention gets a reference to the given int64 and assigns it to the Retention field.

func (*UsageLogsByIndexHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLogsByIndexHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLogsByIndexResponse ¶

type UsageLogsByIndexResponse struct {
	// An array of objects regarding hourly usage of logs by index response.
	Usage []UsageLogsByIndexHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLogsByIndexResponse Response containing the number of indexed logs for each hour and index for a given organization.

func NewUsageLogsByIndexResponse ¶

func NewUsageLogsByIndexResponse() *UsageLogsByIndexResponse

NewUsageLogsByIndexResponse instantiates a new UsageLogsByIndexResponse 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 NewUsageLogsByIndexResponseWithDefaults ¶

func NewUsageLogsByIndexResponseWithDefaults() *UsageLogsByIndexResponse

NewUsageLogsByIndexResponseWithDefaults instantiates a new UsageLogsByIndexResponse 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 (*UsageLogsByIndexResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageLogsByIndexResponse) GetUsageOk ¶

func (o *UsageLogsByIndexResponse) GetUsageOk() (*[]UsageLogsByIndexHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByIndexResponse) HasUsage ¶

func (o *UsageLogsByIndexResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageLogsByIndexResponse) MarshalJSON ¶

func (o UsageLogsByIndexResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLogsByIndexResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageLogsByIndexHour and assigns it to the Usage field.

func (*UsageLogsByIndexResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLogsByIndexResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLogsByRetentionHour ¶

type UsageLogsByRetentionHour struct {
	// Total logs indexed with this retention period during a given hour.
	IndexedEventsCount *int64 `json:"indexed_events_count,omitempty"`
	// Live logs indexed with this retention period during a given hour.
	LiveIndexedEventsCount *int64 `json:"live_indexed_events_count,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// Rehydrated logs indexed with this retention period during a given hour.
	RehydratedIndexedEventsCount *int64 `json:"rehydrated_indexed_events_count,omitempty"`
	// The retention period in days or "custom" for all custom retention usage.
	Retention *string `json:"retention,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLogsByRetentionHour The number of indexed logs for each hour for a given organization broken down by retention period.

func NewUsageLogsByRetentionHour ¶

func NewUsageLogsByRetentionHour() *UsageLogsByRetentionHour

NewUsageLogsByRetentionHour instantiates a new UsageLogsByRetentionHour 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 NewUsageLogsByRetentionHourWithDefaults ¶

func NewUsageLogsByRetentionHourWithDefaults() *UsageLogsByRetentionHour

NewUsageLogsByRetentionHourWithDefaults instantiates a new UsageLogsByRetentionHour 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 (*UsageLogsByRetentionHour) GetIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) GetIndexedEventsCount() int64

GetIndexedEventsCount returns the IndexedEventsCount field value if set, zero value otherwise.

func (*UsageLogsByRetentionHour) GetIndexedEventsCountOk ¶

func (o *UsageLogsByRetentionHour) GetIndexedEventsCountOk() (*int64, bool)

GetIndexedEventsCountOk returns a tuple with the IndexedEventsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByRetentionHour) GetLiveIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) GetLiveIndexedEventsCount() int64

GetLiveIndexedEventsCount returns the LiveIndexedEventsCount field value if set, zero value otherwise.

func (*UsageLogsByRetentionHour) GetLiveIndexedEventsCountOk ¶

func (o *UsageLogsByRetentionHour) GetLiveIndexedEventsCountOk() (*int64, bool)

GetLiveIndexedEventsCountOk returns a tuple with the LiveIndexedEventsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByRetentionHour) GetOrgName ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageLogsByRetentionHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByRetentionHour) GetPublicId ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageLogsByRetentionHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByRetentionHour) GetRehydratedIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) GetRehydratedIndexedEventsCount() int64

GetRehydratedIndexedEventsCount returns the RehydratedIndexedEventsCount field value if set, zero value otherwise.

func (*UsageLogsByRetentionHour) GetRehydratedIndexedEventsCountOk ¶

func (o *UsageLogsByRetentionHour) GetRehydratedIndexedEventsCountOk() (*int64, bool)

GetRehydratedIndexedEventsCountOk returns a tuple with the RehydratedIndexedEventsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByRetentionHour) GetRetention ¶

func (o *UsageLogsByRetentionHour) GetRetention() string

GetRetention returns the Retention field value if set, zero value otherwise.

func (*UsageLogsByRetentionHour) GetRetentionOk ¶

func (o *UsageLogsByRetentionHour) GetRetentionOk() (*string, bool)

GetRetentionOk returns a tuple with the Retention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByRetentionHour) HasIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) HasIndexedEventsCount() bool

HasIndexedEventsCount returns a boolean if a field has been set.

func (*UsageLogsByRetentionHour) HasLiveIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) HasLiveIndexedEventsCount() bool

HasLiveIndexedEventsCount returns a boolean if a field has been set.

func (*UsageLogsByRetentionHour) HasOrgName ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageLogsByRetentionHour) HasPublicId ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageLogsByRetentionHour) HasRehydratedIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) HasRehydratedIndexedEventsCount() bool

HasRehydratedIndexedEventsCount returns a boolean if a field has been set.

func (*UsageLogsByRetentionHour) HasRetention ¶

func (o *UsageLogsByRetentionHour) HasRetention() bool

HasRetention returns a boolean if a field has been set.

func (UsageLogsByRetentionHour) MarshalJSON ¶

func (o UsageLogsByRetentionHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLogsByRetentionHour) SetIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) SetIndexedEventsCount(v int64)

SetIndexedEventsCount gets a reference to the given int64 and assigns it to the IndexedEventsCount field.

func (*UsageLogsByRetentionHour) SetLiveIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) SetLiveIndexedEventsCount(v int64)

SetLiveIndexedEventsCount gets a reference to the given int64 and assigns it to the LiveIndexedEventsCount field.

func (*UsageLogsByRetentionHour) SetOrgName ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageLogsByRetentionHour) SetPublicId ¶ added in v1.9.0

func (o *UsageLogsByRetentionHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageLogsByRetentionHour) SetRehydratedIndexedEventsCount ¶

func (o *UsageLogsByRetentionHour) SetRehydratedIndexedEventsCount(v int64)

SetRehydratedIndexedEventsCount gets a reference to the given int64 and assigns it to the RehydratedIndexedEventsCount field.

func (*UsageLogsByRetentionHour) SetRetention ¶

func (o *UsageLogsByRetentionHour) SetRetention(v string)

SetRetention gets a reference to the given string and assigns it to the Retention field.

func (*UsageLogsByRetentionHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLogsByRetentionHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLogsByRetentionResponse ¶

type UsageLogsByRetentionResponse struct {
	// Get hourly usage for indexed logs by retention period.
	Usage []UsageLogsByRetentionHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLogsByRetentionResponse Response containing the indexed logs usage broken down by retention period for an organization during a given hour.

func NewUsageLogsByRetentionResponse ¶

func NewUsageLogsByRetentionResponse() *UsageLogsByRetentionResponse

NewUsageLogsByRetentionResponse instantiates a new UsageLogsByRetentionResponse 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 NewUsageLogsByRetentionResponseWithDefaults ¶

func NewUsageLogsByRetentionResponseWithDefaults() *UsageLogsByRetentionResponse

NewUsageLogsByRetentionResponseWithDefaults instantiates a new UsageLogsByRetentionResponse 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 (*UsageLogsByRetentionResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageLogsByRetentionResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsByRetentionResponse) HasUsage ¶

func (o *UsageLogsByRetentionResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageLogsByRetentionResponse) MarshalJSON ¶

func (o UsageLogsByRetentionResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLogsByRetentionResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageLogsByRetentionHour and assigns it to the Usage field.

func (*UsageLogsByRetentionResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLogsByRetentionResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLogsHour ¶

type UsageLogsHour struct {
	// Contains the number of billable log bytes ingested.
	BillableIngestedBytes *int64 `json:"billable_ingested_bytes,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the number of log events indexed.
	IndexedEventsCount *int64 `json:"indexed_events_count,omitempty"`
	// Contains the number of log bytes ingested.
	IngestedEventsBytes *int64 `json:"ingested_events_bytes,omitempty"`
	// Contains the number of live log events indexed (data available as of December 1, 2020).
	LogsLiveIndexedCount *int64 `json:"logs_live_indexed_count,omitempty"`
	// Contains the number of live log bytes ingested (data available as of December 1, 2020).
	LogsLiveIngestedBytes *int64 `json:"logs_live_ingested_bytes,omitempty"`
	// Contains the number of rehydrated log events indexed (data available as of December 1, 2020).
	LogsRehydratedIndexedCount *int64 `json:"logs_rehydrated_indexed_count,omitempty"`
	// Contains the number of rehydrated log bytes ingested (data available as of December 1, 2020).
	LogsRehydratedIngestedBytes *int64 `json:"logs_rehydrated_ingested_bytes,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLogsHour Hour usage for logs.

func NewUsageLogsHour ¶

func NewUsageLogsHour() *UsageLogsHour

NewUsageLogsHour instantiates a new UsageLogsHour 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 NewUsageLogsHourWithDefaults ¶

func NewUsageLogsHourWithDefaults() *UsageLogsHour

NewUsageLogsHourWithDefaults instantiates a new UsageLogsHour 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 (*UsageLogsHour) GetBillableIngestedBytes ¶

func (o *UsageLogsHour) GetBillableIngestedBytes() int64

GetBillableIngestedBytes returns the BillableIngestedBytes field value if set, zero value otherwise.

func (*UsageLogsHour) GetBillableIngestedBytesOk ¶

func (o *UsageLogsHour) GetBillableIngestedBytesOk() (*int64, bool)

GetBillableIngestedBytesOk returns a tuple with the BillableIngestedBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetHour ¶

func (o *UsageLogsHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageLogsHour) GetHourOk ¶

func (o *UsageLogsHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetIndexedEventsCount ¶

func (o *UsageLogsHour) GetIndexedEventsCount() int64

GetIndexedEventsCount returns the IndexedEventsCount field value if set, zero value otherwise.

func (*UsageLogsHour) GetIndexedEventsCountOk ¶

func (o *UsageLogsHour) GetIndexedEventsCountOk() (*int64, bool)

GetIndexedEventsCountOk returns a tuple with the IndexedEventsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetIngestedEventsBytes ¶

func (o *UsageLogsHour) GetIngestedEventsBytes() int64

GetIngestedEventsBytes returns the IngestedEventsBytes field value if set, zero value otherwise.

func (*UsageLogsHour) GetIngestedEventsBytesOk ¶

func (o *UsageLogsHour) GetIngestedEventsBytesOk() (*int64, bool)

GetIngestedEventsBytesOk returns a tuple with the IngestedEventsBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetLogsLiveIndexedCount ¶

func (o *UsageLogsHour) GetLogsLiveIndexedCount() int64

GetLogsLiveIndexedCount returns the LogsLiveIndexedCount field value if set, zero value otherwise.

func (*UsageLogsHour) GetLogsLiveIndexedCountOk ¶

func (o *UsageLogsHour) GetLogsLiveIndexedCountOk() (*int64, bool)

GetLogsLiveIndexedCountOk returns a tuple with the LogsLiveIndexedCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetLogsLiveIngestedBytes ¶

func (o *UsageLogsHour) GetLogsLiveIngestedBytes() int64

GetLogsLiveIngestedBytes returns the LogsLiveIngestedBytes field value if set, zero value otherwise.

func (*UsageLogsHour) GetLogsLiveIngestedBytesOk ¶

func (o *UsageLogsHour) GetLogsLiveIngestedBytesOk() (*int64, bool)

GetLogsLiveIngestedBytesOk returns a tuple with the LogsLiveIngestedBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetLogsRehydratedIndexedCount ¶

func (o *UsageLogsHour) GetLogsRehydratedIndexedCount() int64

GetLogsRehydratedIndexedCount returns the LogsRehydratedIndexedCount field value if set, zero value otherwise.

func (*UsageLogsHour) GetLogsRehydratedIndexedCountOk ¶

func (o *UsageLogsHour) GetLogsRehydratedIndexedCountOk() (*int64, bool)

GetLogsRehydratedIndexedCountOk returns a tuple with the LogsRehydratedIndexedCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetLogsRehydratedIngestedBytes ¶

func (o *UsageLogsHour) GetLogsRehydratedIngestedBytes() int64

GetLogsRehydratedIngestedBytes returns the LogsRehydratedIngestedBytes field value if set, zero value otherwise.

func (*UsageLogsHour) GetLogsRehydratedIngestedBytesOk ¶

func (o *UsageLogsHour) GetLogsRehydratedIngestedBytesOk() (*int64, bool)

GetLogsRehydratedIngestedBytesOk returns a tuple with the LogsRehydratedIngestedBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetOrgName ¶ added in v1.9.0

func (o *UsageLogsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageLogsHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageLogsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) GetPublicId ¶ added in v1.9.0

func (o *UsageLogsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageLogsHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageLogsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsHour) HasBillableIngestedBytes ¶

func (o *UsageLogsHour) HasBillableIngestedBytes() bool

HasBillableIngestedBytes returns a boolean if a field has been set.

func (*UsageLogsHour) HasHour ¶

func (o *UsageLogsHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageLogsHour) HasIndexedEventsCount ¶

func (o *UsageLogsHour) HasIndexedEventsCount() bool

HasIndexedEventsCount returns a boolean if a field has been set.

func (*UsageLogsHour) HasIngestedEventsBytes ¶

func (o *UsageLogsHour) HasIngestedEventsBytes() bool

HasIngestedEventsBytes returns a boolean if a field has been set.

func (*UsageLogsHour) HasLogsLiveIndexedCount ¶

func (o *UsageLogsHour) HasLogsLiveIndexedCount() bool

HasLogsLiveIndexedCount returns a boolean if a field has been set.

func (*UsageLogsHour) HasLogsLiveIngestedBytes ¶

func (o *UsageLogsHour) HasLogsLiveIngestedBytes() bool

HasLogsLiveIngestedBytes returns a boolean if a field has been set.

func (*UsageLogsHour) HasLogsRehydratedIndexedCount ¶

func (o *UsageLogsHour) HasLogsRehydratedIndexedCount() bool

HasLogsRehydratedIndexedCount returns a boolean if a field has been set.

func (*UsageLogsHour) HasLogsRehydratedIngestedBytes ¶

func (o *UsageLogsHour) HasLogsRehydratedIngestedBytes() bool

HasLogsRehydratedIngestedBytes returns a boolean if a field has been set.

func (*UsageLogsHour) HasOrgName ¶ added in v1.9.0

func (o *UsageLogsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageLogsHour) HasPublicId ¶ added in v1.9.0

func (o *UsageLogsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageLogsHour) MarshalJSON ¶

func (o UsageLogsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLogsHour) SetBillableIngestedBytes ¶

func (o *UsageLogsHour) SetBillableIngestedBytes(v int64)

SetBillableIngestedBytes gets a reference to the given int64 and assigns it to the BillableIngestedBytes field.

func (*UsageLogsHour) SetHour ¶

func (o *UsageLogsHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageLogsHour) SetIndexedEventsCount ¶

func (o *UsageLogsHour) SetIndexedEventsCount(v int64)

SetIndexedEventsCount gets a reference to the given int64 and assigns it to the IndexedEventsCount field.

func (*UsageLogsHour) SetIngestedEventsBytes ¶

func (o *UsageLogsHour) SetIngestedEventsBytes(v int64)

SetIngestedEventsBytes gets a reference to the given int64 and assigns it to the IngestedEventsBytes field.

func (*UsageLogsHour) SetLogsLiveIndexedCount ¶

func (o *UsageLogsHour) SetLogsLiveIndexedCount(v int64)

SetLogsLiveIndexedCount gets a reference to the given int64 and assigns it to the LogsLiveIndexedCount field.

func (*UsageLogsHour) SetLogsLiveIngestedBytes ¶

func (o *UsageLogsHour) SetLogsLiveIngestedBytes(v int64)

SetLogsLiveIngestedBytes gets a reference to the given int64 and assigns it to the LogsLiveIngestedBytes field.

func (*UsageLogsHour) SetLogsRehydratedIndexedCount ¶

func (o *UsageLogsHour) SetLogsRehydratedIndexedCount(v int64)

SetLogsRehydratedIndexedCount gets a reference to the given int64 and assigns it to the LogsRehydratedIndexedCount field.

func (*UsageLogsHour) SetLogsRehydratedIngestedBytes ¶

func (o *UsageLogsHour) SetLogsRehydratedIngestedBytes(v int64)

SetLogsRehydratedIngestedBytes gets a reference to the given int64 and assigns it to the LogsRehydratedIngestedBytes field.

func (*UsageLogsHour) SetOrgName ¶ added in v1.9.0

func (o *UsageLogsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageLogsHour) SetPublicId ¶ added in v1.9.0

func (o *UsageLogsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageLogsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLogsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageLogsResponse ¶

type UsageLogsResponse struct {
	// An array of objects regarding hourly usage of logs.
	Usage []UsageLogsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageLogsResponse Response containing the number of logs for each hour.

func NewUsageLogsResponse ¶

func NewUsageLogsResponse() *UsageLogsResponse

NewUsageLogsResponse instantiates a new UsageLogsResponse 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 NewUsageLogsResponseWithDefaults ¶

func NewUsageLogsResponseWithDefaults() *UsageLogsResponse

NewUsageLogsResponseWithDefaults instantiates a new UsageLogsResponse 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 (*UsageLogsResponse) GetUsage ¶

func (o *UsageLogsResponse) GetUsage() []UsageLogsHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageLogsResponse) GetUsageOk ¶

func (o *UsageLogsResponse) GetUsageOk() (*[]UsageLogsHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageLogsResponse) HasUsage ¶

func (o *UsageLogsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageLogsResponse) MarshalJSON ¶

func (o UsageLogsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageLogsResponse) SetUsage ¶

func (o *UsageLogsResponse) SetUsage(v []UsageLogsHour)

SetUsage gets a reference to the given []UsageLogsHour and assigns it to the Usage field.

func (*UsageLogsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageLogsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageMeteringApiService ¶

type UsageMeteringApiService service

UsageMeteringApiService UsageMeteringApi service.

func (*UsageMeteringApiService) GetDailyCustomReports ¶

GetDailyCustomReports Get the list of available daily custom reports. Get daily custom reports.

func (*UsageMeteringApiService) GetHourlyUsageAttribution ¶ added in v1.8.0

GetHourlyUsageAttribution Get hourly usage attribution. Get hourly usage attribution.

This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is set in the response. If it is, make another request and pass `next_record_id` as a parameter. Pseudo code example:

``` response := GetHourlyUsageAttribution(start_month) cursor := response.metadata.pagination.next_record_id WHILE cursor != null BEGIN

sleep(5 seconds)  # Avoid running into rate limit
response := GetHourlyUsageAttribution(start_month, next_record_id=cursor)
cursor := response.metadata.pagination.next_record_id

END ```

func (*UsageMeteringApiService) GetIncidentManagement ¶

GetIncidentManagement Get hourly usage for incident management. Get hourly usage for incident management.

func (*UsageMeteringApiService) GetIngestedSpans ¶

GetIngestedSpans Get hourly usage for ingested spans. Get hourly usage for ingested spans.

func (*UsageMeteringApiService) GetMonthlyCustomReports ¶

GetMonthlyCustomReports Get the list of available monthly custom reports. Get monthly custom reports.

func (*UsageMeteringApiService) GetMonthlyUsageAttribution ¶ added in v1.8.0

GetMonthlyUsageAttribution Get monthly usage attribution. Get monthly usage attribution.

This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is set in the response. If it is, make another request and pass `next_record_id` as a parameter. Pseudo code example:

``` response := GetMonthlyUsageAttribution(start_month) cursor := response.metadata.pagination.next_record_id WHILE cursor != null BEGIN

sleep(5 seconds)  # Avoid running into rate limit
response := GetMonthlyUsageAttribution(start_month, next_record_id=cursor)
cursor := response.metadata.pagination.next_record_id

END ```

func (*UsageMeteringApiService) GetSpecifiedDailyCustomReports ¶

func (a *UsageMeteringApiService) GetSpecifiedDailyCustomReports(ctx _context.Context, reportId string) (UsageSpecifiedCustomReportsResponse, *_nethttp.Response, error)

GetSpecifiedDailyCustomReports Get specified daily custom reports. Get specified daily custom reports.

func (*UsageMeteringApiService) GetSpecifiedMonthlyCustomReports ¶

func (a *UsageMeteringApiService) GetSpecifiedMonthlyCustomReports(ctx _context.Context, reportId string) (UsageSpecifiedCustomReportsResponse, *_nethttp.Response, error)

GetSpecifiedMonthlyCustomReports Get specified monthly custom reports. Get specified monthly custom reports.

func (*UsageMeteringApiService) GetUsageAnalyzedLogs ¶

GetUsageAnalyzedLogs Get hourly usage for analyzed logs. Get hourly usage for analyzed logs (Security Monitoring).

func (*UsageMeteringApiService) GetUsageAttribution ¶

GetUsageAttribution Get usage attribution. Get usage attribution.

func (*UsageMeteringApiService) GetUsageAuditLogs ¶

GetUsageAuditLogs Get hourly usage for audit logs. Get hourly usage for audit logs.

func (*UsageMeteringApiService) GetUsageBillableSummary ¶

GetUsageBillableSummary Get billable usage across your account. Get billable usage across your account.

func (*UsageMeteringApiService) GetUsageCIApp ¶ added in v1.10.0

GetUsageCIApp Get hourly usage for CI Visibility. Get hourly usage for CI Visibility (Tests, Pipeline, and Spans).

func (*UsageMeteringApiService) GetUsageCWS ¶

GetUsageCWS Get hourly usage for Cloud Workload Security. Get hourly usage for Cloud Workload Security.

func (*UsageMeteringApiService) GetUsageCloudSecurityPostureManagement ¶

GetUsageCloudSecurityPostureManagement Get hourly usage for CSPM. Get hourly usage for Cloud Security Posture Management (CSPM).

func (*UsageMeteringApiService) GetUsageDBM ¶ added in v1.3.0

GetUsageDBM Get hourly usage for Database Monitoring. Get hourly usage for Database Monitoring

func (*UsageMeteringApiService) GetUsageFargate ¶

GetUsageFargate Get hourly usage for Fargate. Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).

func (*UsageMeteringApiService) GetUsageHosts ¶

GetUsageHosts Get hourly usage for hosts and containers. Get hourly usage for hosts and containers.

func (*UsageMeteringApiService) GetUsageIndexedSpans ¶

GetUsageIndexedSpans Get hourly usage for indexed spans. Get hourly usage for indexed spans.

func (*UsageMeteringApiService) GetUsageInternetOfThings ¶

GetUsageInternetOfThings Get hourly usage for IoT. Get hourly usage for IoT.

func (*UsageMeteringApiService) GetUsageLambda ¶

GetUsageLambda Get hourly usage for Lambda. Get hourly usage for lambda.

func (*UsageMeteringApiService) GetUsageLogs ¶

GetUsageLogs Get hourly usage for Logs. Get hourly usage for logs.

func (*UsageMeteringApiService) GetUsageLogsByIndex ¶

GetUsageLogsByIndex Get hourly usage for Logs by Index. Get hourly usage for logs by index.

func (*UsageMeteringApiService) GetUsageLogsByRetention ¶

GetUsageLogsByRetention Get hourly logs usage by retention. Get hourly usage for indexed logs by retention period.

func (*UsageMeteringApiService) GetUsageNetworkFlows ¶

GetUsageNetworkFlows Get hourly usage for Network Flows. Get hourly usage for network flows.

func (*UsageMeteringApiService) GetUsageNetworkHosts ¶

GetUsageNetworkHosts Get hourly usage for Network Hosts. Get hourly usage for network hosts.

func (*UsageMeteringApiService) GetUsageOnlineArchive ¶ added in v1.11.0

GetUsageOnlineArchive Get hourly usage for Online Archive. Get hourly usage for Online Archive.

func (*UsageMeteringApiService) GetUsageProfiling ¶

GetUsageProfiling Get hourly usage for profiled hosts. Get hourly usage for profiled hosts.

func (*UsageMeteringApiService) GetUsageRumSessions ¶

GetUsageRumSessions Get hourly usage for RUM Sessions. Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions.

func (*UsageMeteringApiService) GetUsageRumUnits ¶ added in v1.7.0

GetUsageRumUnits Get hourly usage for RUM Units. Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units.

func (*UsageMeteringApiService) GetUsageSDS ¶ added in v1.5.0

GetUsageSDS Get hourly usage for Sensitive Data Scanner. Get hourly usage for Sensitive Data Scanner.

func (*UsageMeteringApiService) GetUsageSNMP ¶

GetUsageSNMP Get hourly usage for SNMP devices. Get hourly usage for SNMP devices.

func (*UsageMeteringApiService) GetUsageSummary ¶

GetUsageSummary Get usage across your multi-org account. Get usage across your multi-org account. You must have the multi-org feature enabled.

func (*UsageMeteringApiService) GetUsageSynthetics ¶

GetUsageSynthetics Get hourly usage for Synthetics Checks. Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/).

func (*UsageMeteringApiService) GetUsageSyntheticsAPI ¶

GetUsageSyntheticsAPI Get hourly usage for Synthetics API Checks. Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).

func (*UsageMeteringApiService) GetUsageSyntheticsBrowser ¶

GetUsageSyntheticsBrowser Get hourly usage for Synthetics Browser Checks. Get hourly usage for synthetics browser checks.

func (*UsageMeteringApiService) GetUsageTimeseries ¶

GetUsageTimeseries Get hourly usage for custom metrics. Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).

func (*UsageMeteringApiService) GetUsageTopAvgMetrics ¶

GetUsageTopAvgMetrics Get all custom metrics by hourly average. Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed.

type UsageMetricCategory ¶

type UsageMetricCategory string

UsageMetricCategory Contains the metric category.

const (
	USAGEMETRICCATEGORY_STANDARD UsageMetricCategory = "standard"
	USAGEMETRICCATEGORY_CUSTOM   UsageMetricCategory = "custom"
)

List of UsageMetricCategory.

func NewUsageMetricCategoryFromValue ¶

func NewUsageMetricCategoryFromValue(v string) (*UsageMetricCategory, error)

NewUsageMetricCategoryFromValue returns a pointer to a valid UsageMetricCategory for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsageMetricCategory) GetAllowedValues ¶ added in v1.1.0

func (v *UsageMetricCategory) GetAllowedValues() []UsageMetricCategory

GetAllowedValues reeturns the list of possible values.

func (UsageMetricCategory) IsValid ¶

func (v UsageMetricCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageMetricCategory) Ptr ¶

Ptr returns reference to UsageMetricCategory value.

func (*UsageMetricCategory) UnmarshalJSON ¶

func (v *UsageMetricCategory) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type UsageNetworkFlowsHour ¶

type UsageNetworkFlowsHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the number of netflow events indexed.
	IndexedEventsCount *int64 `json:"indexed_events_count,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageNetworkFlowsHour Number of netflow events indexed for each hour for a given organization.

func NewUsageNetworkFlowsHour ¶

func NewUsageNetworkFlowsHour() *UsageNetworkFlowsHour

NewUsageNetworkFlowsHour instantiates a new UsageNetworkFlowsHour 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 NewUsageNetworkFlowsHourWithDefaults ¶

func NewUsageNetworkFlowsHourWithDefaults() *UsageNetworkFlowsHour

NewUsageNetworkFlowsHourWithDefaults instantiates a new UsageNetworkFlowsHour 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 (*UsageNetworkFlowsHour) GetHour ¶

func (o *UsageNetworkFlowsHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageNetworkFlowsHour) GetHourOk ¶

func (o *UsageNetworkFlowsHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkFlowsHour) GetIndexedEventsCount ¶ added in v1.7.0

func (o *UsageNetworkFlowsHour) GetIndexedEventsCount() int64

GetIndexedEventsCount returns the IndexedEventsCount field value if set, zero value otherwise.

func (*UsageNetworkFlowsHour) GetIndexedEventsCountOk ¶ added in v1.7.0

func (o *UsageNetworkFlowsHour) GetIndexedEventsCountOk() (*int64, bool)

GetIndexedEventsCountOk returns a tuple with the IndexedEventsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkFlowsHour) GetOrgName ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageNetworkFlowsHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkFlowsHour) GetPublicId ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageNetworkFlowsHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkFlowsHour) HasHour ¶

func (o *UsageNetworkFlowsHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageNetworkFlowsHour) HasIndexedEventsCount ¶ added in v1.7.0

func (o *UsageNetworkFlowsHour) HasIndexedEventsCount() bool

HasIndexedEventsCount returns a boolean if a field has been set.

func (*UsageNetworkFlowsHour) HasOrgName ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageNetworkFlowsHour) HasPublicId ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageNetworkFlowsHour) MarshalJSON ¶

func (o UsageNetworkFlowsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageNetworkFlowsHour) SetHour ¶

func (o *UsageNetworkFlowsHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageNetworkFlowsHour) SetIndexedEventsCount ¶ added in v1.7.0

func (o *UsageNetworkFlowsHour) SetIndexedEventsCount(v int64)

SetIndexedEventsCount gets a reference to the given int64 and assigns it to the IndexedEventsCount field.

func (*UsageNetworkFlowsHour) SetOrgName ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageNetworkFlowsHour) SetPublicId ¶ added in v1.9.0

func (o *UsageNetworkFlowsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageNetworkFlowsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageNetworkFlowsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageNetworkFlowsResponse ¶

type UsageNetworkFlowsResponse struct {
	// Get hourly usage for Network Flows.
	Usage []UsageNetworkFlowsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageNetworkFlowsResponse Response containing the number of netflow events indexed for each hour for a given organization.

func NewUsageNetworkFlowsResponse ¶

func NewUsageNetworkFlowsResponse() *UsageNetworkFlowsResponse

NewUsageNetworkFlowsResponse instantiates a new UsageNetworkFlowsResponse 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 NewUsageNetworkFlowsResponseWithDefaults ¶

func NewUsageNetworkFlowsResponseWithDefaults() *UsageNetworkFlowsResponse

NewUsageNetworkFlowsResponseWithDefaults instantiates a new UsageNetworkFlowsResponse 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 (*UsageNetworkFlowsResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageNetworkFlowsResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkFlowsResponse) HasUsage ¶

func (o *UsageNetworkFlowsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageNetworkFlowsResponse) MarshalJSON ¶

func (o UsageNetworkFlowsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageNetworkFlowsResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageNetworkFlowsHour and assigns it to the Usage field.

func (*UsageNetworkFlowsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageNetworkFlowsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageNetworkHostsHour ¶

type UsageNetworkHostsHour struct {
	// Contains the number of active NPM hosts.
	HostCount *int64 `json:"host_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageNetworkHostsHour Number of active NPM hosts for each hour for a given organization.

func NewUsageNetworkHostsHour ¶

func NewUsageNetworkHostsHour() *UsageNetworkHostsHour

NewUsageNetworkHostsHour instantiates a new UsageNetworkHostsHour 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 NewUsageNetworkHostsHourWithDefaults ¶

func NewUsageNetworkHostsHourWithDefaults() *UsageNetworkHostsHour

NewUsageNetworkHostsHourWithDefaults instantiates a new UsageNetworkHostsHour 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 (*UsageNetworkHostsHour) GetHostCount ¶

func (o *UsageNetworkHostsHour) GetHostCount() int64

GetHostCount returns the HostCount field value if set, zero value otherwise.

func (*UsageNetworkHostsHour) GetHostCountOk ¶

func (o *UsageNetworkHostsHour) GetHostCountOk() (*int64, bool)

GetHostCountOk returns a tuple with the HostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkHostsHour) GetHour ¶

func (o *UsageNetworkHostsHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageNetworkHostsHour) GetHourOk ¶

func (o *UsageNetworkHostsHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkHostsHour) GetOrgName ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageNetworkHostsHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkHostsHour) GetPublicId ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageNetworkHostsHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkHostsHour) HasHostCount ¶

func (o *UsageNetworkHostsHour) HasHostCount() bool

HasHostCount returns a boolean if a field has been set.

func (*UsageNetworkHostsHour) HasHour ¶

func (o *UsageNetworkHostsHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageNetworkHostsHour) HasOrgName ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageNetworkHostsHour) HasPublicId ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageNetworkHostsHour) MarshalJSON ¶

func (o UsageNetworkHostsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageNetworkHostsHour) SetHostCount ¶

func (o *UsageNetworkHostsHour) SetHostCount(v int64)

SetHostCount gets a reference to the given int64 and assigns it to the HostCount field.

func (*UsageNetworkHostsHour) SetHour ¶

func (o *UsageNetworkHostsHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageNetworkHostsHour) SetOrgName ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageNetworkHostsHour) SetPublicId ¶ added in v1.9.0

func (o *UsageNetworkHostsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageNetworkHostsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageNetworkHostsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageNetworkHostsResponse ¶

type UsageNetworkHostsResponse struct {
	// Get hourly usage for NPM hosts.
	Usage []UsageNetworkHostsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageNetworkHostsResponse Response containing the number of active NPM hosts for each hour for a given organization.

func NewUsageNetworkHostsResponse ¶

func NewUsageNetworkHostsResponse() *UsageNetworkHostsResponse

NewUsageNetworkHostsResponse instantiates a new UsageNetworkHostsResponse 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 NewUsageNetworkHostsResponseWithDefaults ¶

func NewUsageNetworkHostsResponseWithDefaults() *UsageNetworkHostsResponse

NewUsageNetworkHostsResponseWithDefaults instantiates a new UsageNetworkHostsResponse 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 (*UsageNetworkHostsResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageNetworkHostsResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageNetworkHostsResponse) HasUsage ¶

func (o *UsageNetworkHostsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageNetworkHostsResponse) MarshalJSON ¶

func (o UsageNetworkHostsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageNetworkHostsResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageNetworkHostsHour and assigns it to the Usage field.

func (*UsageNetworkHostsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageNetworkHostsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageOnlineArchiveHour ¶ added in v1.11.0

type UsageOnlineArchiveHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Total count of online archived events within the hour.
	OnlineArchiveEventsCount *int32 `json:"online_archive_events_count,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageOnlineArchiveHour Online Archive usage in a given hour.

func NewUsageOnlineArchiveHour ¶ added in v1.11.0

func NewUsageOnlineArchiveHour() *UsageOnlineArchiveHour

NewUsageOnlineArchiveHour instantiates a new UsageOnlineArchiveHour 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 NewUsageOnlineArchiveHourWithDefaults ¶ added in v1.11.0

func NewUsageOnlineArchiveHourWithDefaults() *UsageOnlineArchiveHour

NewUsageOnlineArchiveHourWithDefaults instantiates a new UsageOnlineArchiveHour 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 (*UsageOnlineArchiveHour) GetHour ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageOnlineArchiveHour) GetHourOk ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageOnlineArchiveHour) GetOnlineArchiveEventsCount ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetOnlineArchiveEventsCount() int32

GetOnlineArchiveEventsCount returns the OnlineArchiveEventsCount field value if set, zero value otherwise.

func (*UsageOnlineArchiveHour) GetOnlineArchiveEventsCountOk ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetOnlineArchiveEventsCountOk() (*int32, bool)

GetOnlineArchiveEventsCountOk returns a tuple with the OnlineArchiveEventsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageOnlineArchiveHour) GetOrgName ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageOnlineArchiveHour) GetOrgNameOk ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageOnlineArchiveHour) GetPublicId ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageOnlineArchiveHour) GetPublicIdOk ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageOnlineArchiveHour) HasHour ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageOnlineArchiveHour) HasOnlineArchiveEventsCount ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) HasOnlineArchiveEventsCount() bool

HasOnlineArchiveEventsCount returns a boolean if a field has been set.

func (*UsageOnlineArchiveHour) HasOrgName ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageOnlineArchiveHour) HasPublicId ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageOnlineArchiveHour) MarshalJSON ¶ added in v1.11.0

func (o UsageOnlineArchiveHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageOnlineArchiveHour) SetHour ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageOnlineArchiveHour) SetOnlineArchiveEventsCount ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) SetOnlineArchiveEventsCount(v int32)

SetOnlineArchiveEventsCount gets a reference to the given int32 and assigns it to the OnlineArchiveEventsCount field.

func (*UsageOnlineArchiveHour) SetOrgName ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageOnlineArchiveHour) SetPublicId ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageOnlineArchiveHour) UnmarshalJSON ¶ added in v1.11.0

func (o *UsageOnlineArchiveHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageOnlineArchiveResponse ¶ added in v1.11.0

type UsageOnlineArchiveResponse struct {
	// Response containing Online Archive usage.
	Usage []UsageOnlineArchiveHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageOnlineArchiveResponse Online Archive usage response.

func NewUsageOnlineArchiveResponse ¶ added in v1.11.0

func NewUsageOnlineArchiveResponse() *UsageOnlineArchiveResponse

NewUsageOnlineArchiveResponse instantiates a new UsageOnlineArchiveResponse 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 NewUsageOnlineArchiveResponseWithDefaults ¶ added in v1.11.0

func NewUsageOnlineArchiveResponseWithDefaults() *UsageOnlineArchiveResponse

NewUsageOnlineArchiveResponseWithDefaults instantiates a new UsageOnlineArchiveResponse 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 (*UsageOnlineArchiveResponse) GetUsage ¶ added in v1.11.0

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageOnlineArchiveResponse) GetUsageOk ¶ added in v1.11.0

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageOnlineArchiveResponse) HasUsage ¶ added in v1.11.0

func (o *UsageOnlineArchiveResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageOnlineArchiveResponse) MarshalJSON ¶ added in v1.11.0

func (o UsageOnlineArchiveResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageOnlineArchiveResponse) SetUsage ¶ added in v1.11.0

SetUsage gets a reference to the given []UsageOnlineArchiveHour and assigns it to the Usage field.

func (*UsageOnlineArchiveResponse) UnmarshalJSON ¶ added in v1.11.0

func (o *UsageOnlineArchiveResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageProfilingHour ¶

type UsageProfilingHour struct {
	// Get average number of container agents for that hour.
	AvgContainerAgentCount *int64 `json:"avg_container_agent_count,omitempty"`
	// Contains the total number of profiled hosts reporting during a given hour.
	HostCount *int64 `json:"host_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageProfilingHour The number of profiled hosts for each hour for a given organization.

func NewUsageProfilingHour ¶

func NewUsageProfilingHour() *UsageProfilingHour

NewUsageProfilingHour instantiates a new UsageProfilingHour 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 NewUsageProfilingHourWithDefaults ¶

func NewUsageProfilingHourWithDefaults() *UsageProfilingHour

NewUsageProfilingHourWithDefaults instantiates a new UsageProfilingHour 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 (*UsageProfilingHour) GetAvgContainerAgentCount ¶

func (o *UsageProfilingHour) GetAvgContainerAgentCount() int64

GetAvgContainerAgentCount returns the AvgContainerAgentCount field value if set, zero value otherwise.

func (*UsageProfilingHour) GetAvgContainerAgentCountOk ¶

func (o *UsageProfilingHour) GetAvgContainerAgentCountOk() (*int64, bool)

GetAvgContainerAgentCountOk returns a tuple with the AvgContainerAgentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageProfilingHour) GetHostCount ¶

func (o *UsageProfilingHour) GetHostCount() int64

GetHostCount returns the HostCount field value if set, zero value otherwise.

func (*UsageProfilingHour) GetHostCountOk ¶

func (o *UsageProfilingHour) GetHostCountOk() (*int64, bool)

GetHostCountOk returns a tuple with the HostCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageProfilingHour) GetHour ¶

func (o *UsageProfilingHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageProfilingHour) GetHourOk ¶

func (o *UsageProfilingHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageProfilingHour) GetOrgName ¶ added in v1.9.0

func (o *UsageProfilingHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageProfilingHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageProfilingHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageProfilingHour) GetPublicId ¶ added in v1.9.0

func (o *UsageProfilingHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageProfilingHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageProfilingHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageProfilingHour) HasAvgContainerAgentCount ¶

func (o *UsageProfilingHour) HasAvgContainerAgentCount() bool

HasAvgContainerAgentCount returns a boolean if a field has been set.

func (*UsageProfilingHour) HasHostCount ¶

func (o *UsageProfilingHour) HasHostCount() bool

HasHostCount returns a boolean if a field has been set.

func (*UsageProfilingHour) HasHour ¶

func (o *UsageProfilingHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageProfilingHour) HasOrgName ¶ added in v1.9.0

func (o *UsageProfilingHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageProfilingHour) HasPublicId ¶ added in v1.9.0

func (o *UsageProfilingHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageProfilingHour) MarshalJSON ¶

func (o UsageProfilingHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageProfilingHour) SetAvgContainerAgentCount ¶

func (o *UsageProfilingHour) SetAvgContainerAgentCount(v int64)

SetAvgContainerAgentCount gets a reference to the given int64 and assigns it to the AvgContainerAgentCount field.

func (*UsageProfilingHour) SetHostCount ¶

func (o *UsageProfilingHour) SetHostCount(v int64)

SetHostCount gets a reference to the given int64 and assigns it to the HostCount field.

func (*UsageProfilingHour) SetHour ¶

func (o *UsageProfilingHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageProfilingHour) SetOrgName ¶ added in v1.9.0

func (o *UsageProfilingHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageProfilingHour) SetPublicId ¶ added in v1.9.0

func (o *UsageProfilingHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageProfilingHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageProfilingHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageProfilingResponse ¶

type UsageProfilingResponse struct {
	// Get hourly usage for profiled hosts.
	Usage []UsageProfilingHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageProfilingResponse Response containing the number of profiled hosts for each hour for a given organization.

func NewUsageProfilingResponse ¶

func NewUsageProfilingResponse() *UsageProfilingResponse

NewUsageProfilingResponse instantiates a new UsageProfilingResponse 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 NewUsageProfilingResponseWithDefaults ¶

func NewUsageProfilingResponseWithDefaults() *UsageProfilingResponse

NewUsageProfilingResponseWithDefaults instantiates a new UsageProfilingResponse 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 (*UsageProfilingResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageProfilingResponse) GetUsageOk ¶

func (o *UsageProfilingResponse) GetUsageOk() (*[]UsageProfilingHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageProfilingResponse) HasUsage ¶

func (o *UsageProfilingResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageProfilingResponse) MarshalJSON ¶

func (o UsageProfilingResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageProfilingResponse) SetUsage ¶

func (o *UsageProfilingResponse) SetUsage(v []UsageProfilingHour)

SetUsage gets a reference to the given []UsageProfilingHour and assigns it to the Usage field.

func (*UsageProfilingResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageProfilingResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageReportsType ¶

type UsageReportsType string

UsageReportsType The type of reports.

const (
	USAGEREPORTSTYPE_REPORTS UsageReportsType = "reports"
)

List of UsageReportsType.

func NewUsageReportsTypeFromValue ¶

func NewUsageReportsTypeFromValue(v string) (*UsageReportsType, error)

NewUsageReportsTypeFromValue returns a pointer to a valid UsageReportsType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsageReportsType) GetAllowedValues ¶ added in v1.1.0

func (v *UsageReportsType) GetAllowedValues() []UsageReportsType

GetAllowedValues reeturns the list of possible values.

func (UsageReportsType) IsValid ¶

func (v UsageReportsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageReportsType) Ptr ¶

Ptr returns reference to UsageReportsType value.

func (*UsageReportsType) UnmarshalJSON ¶

func (v *UsageReportsType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type UsageRumSessionsHour ¶

type UsageRumSessionsHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// Contains the number of RUM Replay Sessions (data available beginning November 1, 2021).
	ReplaySessionCount *int64 `json:"replay_session_count,omitempty"`
	// Contains the number of browser RUM Lite Sessions.
	SessionCount NullableInt64 `json:"session_count,omitempty"`
	// Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020).
	SessionCountAndroid NullableInt64 `json:"session_count_android,omitempty"`
	// Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020).
	SessionCountIos NullableInt64 `json:"session_count_ios,omitempty"`
	// Contains the number of mobile RUM Sessions on React Native (data available beginning May 1, 2022).
	SessionCountReactnative NullableInt64 `json:"session_count_reactnative,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageRumSessionsHour Number of RUM Sessions recorded for each hour for a given organization.

func NewUsageRumSessionsHour ¶

func NewUsageRumSessionsHour() *UsageRumSessionsHour

NewUsageRumSessionsHour instantiates a new UsageRumSessionsHour 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 NewUsageRumSessionsHourWithDefaults ¶

func NewUsageRumSessionsHourWithDefaults() *UsageRumSessionsHour

NewUsageRumSessionsHourWithDefaults instantiates a new UsageRumSessionsHour 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 (*UsageRumSessionsHour) GetHour ¶

func (o *UsageRumSessionsHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageRumSessionsHour) GetHourOk ¶

func (o *UsageRumSessionsHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumSessionsHour) GetOrgName ¶ added in v1.8.0

func (o *UsageRumSessionsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageRumSessionsHour) GetOrgNameOk ¶ added in v1.8.0

func (o *UsageRumSessionsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumSessionsHour) GetPublicId ¶ added in v1.8.0

func (o *UsageRumSessionsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageRumSessionsHour) GetPublicIdOk ¶ added in v1.8.0

func (o *UsageRumSessionsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumSessionsHour) GetReplaySessionCount ¶ added in v1.8.0

func (o *UsageRumSessionsHour) GetReplaySessionCount() int64

GetReplaySessionCount returns the ReplaySessionCount field value if set, zero value otherwise.

func (*UsageRumSessionsHour) GetReplaySessionCountOk ¶ added in v1.8.0

func (o *UsageRumSessionsHour) GetReplaySessionCountOk() (*int64, bool)

GetReplaySessionCountOk returns a tuple with the ReplaySessionCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumSessionsHour) GetSessionCount ¶

func (o *UsageRumSessionsHour) GetSessionCount() int64

GetSessionCount returns the SessionCount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageRumSessionsHour) GetSessionCountAndroid ¶

func (o *UsageRumSessionsHour) GetSessionCountAndroid() int64

GetSessionCountAndroid returns the SessionCountAndroid field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageRumSessionsHour) GetSessionCountAndroidOk ¶

func (o *UsageRumSessionsHour) GetSessionCountAndroidOk() (*int64, bool)

GetSessionCountAndroidOk returns a tuple with the SessionCountAndroid field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageRumSessionsHour) GetSessionCountIos ¶

func (o *UsageRumSessionsHour) GetSessionCountIos() int64

GetSessionCountIos returns the SessionCountIos field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageRumSessionsHour) GetSessionCountIosOk ¶

func (o *UsageRumSessionsHour) GetSessionCountIosOk() (*int64, bool)

GetSessionCountIosOk returns a tuple with the SessionCountIos field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageRumSessionsHour) GetSessionCountOk ¶

func (o *UsageRumSessionsHour) GetSessionCountOk() (*int64, bool)

GetSessionCountOk returns a tuple with the SessionCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageRumSessionsHour) GetSessionCountReactnative ¶ added in v1.14.0

func (o *UsageRumSessionsHour) GetSessionCountReactnative() int64

GetSessionCountReactnative returns the SessionCountReactnative field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageRumSessionsHour) GetSessionCountReactnativeOk ¶ added in v1.14.0

func (o *UsageRumSessionsHour) GetSessionCountReactnativeOk() (*int64, bool)

GetSessionCountReactnativeOk returns a tuple with the SessionCountReactnative field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageRumSessionsHour) HasHour ¶

func (o *UsageRumSessionsHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageRumSessionsHour) HasOrgName ¶ added in v1.8.0

func (o *UsageRumSessionsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageRumSessionsHour) HasPublicId ¶ added in v1.8.0

func (o *UsageRumSessionsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageRumSessionsHour) HasReplaySessionCount ¶ added in v1.8.0

func (o *UsageRumSessionsHour) HasReplaySessionCount() bool

HasReplaySessionCount returns a boolean if a field has been set.

func (*UsageRumSessionsHour) HasSessionCount ¶

func (o *UsageRumSessionsHour) HasSessionCount() bool

HasSessionCount returns a boolean if a field has been set.

func (*UsageRumSessionsHour) HasSessionCountAndroid ¶

func (o *UsageRumSessionsHour) HasSessionCountAndroid() bool

HasSessionCountAndroid returns a boolean if a field has been set.

func (*UsageRumSessionsHour) HasSessionCountIos ¶

func (o *UsageRumSessionsHour) HasSessionCountIos() bool

HasSessionCountIos returns a boolean if a field has been set.

func (*UsageRumSessionsHour) HasSessionCountReactnative ¶ added in v1.14.0

func (o *UsageRumSessionsHour) HasSessionCountReactnative() bool

HasSessionCountReactnative returns a boolean if a field has been set.

func (UsageRumSessionsHour) MarshalJSON ¶

func (o UsageRumSessionsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageRumSessionsHour) SetHour ¶

func (o *UsageRumSessionsHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageRumSessionsHour) SetOrgName ¶ added in v1.8.0

func (o *UsageRumSessionsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageRumSessionsHour) SetPublicId ¶ added in v1.8.0

func (o *UsageRumSessionsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageRumSessionsHour) SetReplaySessionCount ¶ added in v1.8.0

func (o *UsageRumSessionsHour) SetReplaySessionCount(v int64)

SetReplaySessionCount gets a reference to the given int64 and assigns it to the ReplaySessionCount field.

func (*UsageRumSessionsHour) SetSessionCount ¶

func (o *UsageRumSessionsHour) SetSessionCount(v int64)

SetSessionCount gets a reference to the given NullableInt64 and assigns it to the SessionCount field.

func (*UsageRumSessionsHour) SetSessionCountAndroid ¶

func (o *UsageRumSessionsHour) SetSessionCountAndroid(v int64)

SetSessionCountAndroid gets a reference to the given NullableInt64 and assigns it to the SessionCountAndroid field.

func (*UsageRumSessionsHour) SetSessionCountAndroidNil ¶ added in v1.14.0

func (o *UsageRumSessionsHour) SetSessionCountAndroidNil()

SetSessionCountAndroidNil sets the value for SessionCountAndroid to be an explicit nil.

func (*UsageRumSessionsHour) SetSessionCountIos ¶

func (o *UsageRumSessionsHour) SetSessionCountIos(v int64)

SetSessionCountIos gets a reference to the given NullableInt64 and assigns it to the SessionCountIos field.

func (*UsageRumSessionsHour) SetSessionCountIosNil ¶ added in v1.14.0

func (o *UsageRumSessionsHour) SetSessionCountIosNil()

SetSessionCountIosNil sets the value for SessionCountIos to be an explicit nil.

func (*UsageRumSessionsHour) SetSessionCountNil ¶ added in v1.14.0

func (o *UsageRumSessionsHour) SetSessionCountNil()

SetSessionCountNil sets the value for SessionCount to be an explicit nil.

func (*UsageRumSessionsHour) SetSessionCountReactnative ¶ added in v1.14.0

func (o *UsageRumSessionsHour) SetSessionCountReactnative(v int64)

SetSessionCountReactnative gets a reference to the given NullableInt64 and assigns it to the SessionCountReactnative field.

func (*UsageRumSessionsHour) SetSessionCountReactnativeNil ¶ added in v1.14.0

func (o *UsageRumSessionsHour) SetSessionCountReactnativeNil()

SetSessionCountReactnativeNil sets the value for SessionCountReactnative to be an explicit nil.

func (*UsageRumSessionsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageRumSessionsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UsageRumSessionsHour) UnsetSessionCount ¶ added in v1.14.0

func (o *UsageRumSessionsHour) UnsetSessionCount()

UnsetSessionCount ensures that no value is present for SessionCount, not even an explicit nil.

func (*UsageRumSessionsHour) UnsetSessionCountAndroid ¶ added in v1.14.0

func (o *UsageRumSessionsHour) UnsetSessionCountAndroid()

UnsetSessionCountAndroid ensures that no value is present for SessionCountAndroid, not even an explicit nil.

func (*UsageRumSessionsHour) UnsetSessionCountIos ¶ added in v1.14.0

func (o *UsageRumSessionsHour) UnsetSessionCountIos()

UnsetSessionCountIos ensures that no value is present for SessionCountIos, not even an explicit nil.

func (*UsageRumSessionsHour) UnsetSessionCountReactnative ¶ added in v1.14.0

func (o *UsageRumSessionsHour) UnsetSessionCountReactnative()

UnsetSessionCountReactnative ensures that no value is present for SessionCountReactnative, not even an explicit nil.

type UsageRumSessionsResponse ¶

type UsageRumSessionsResponse struct {
	// Get hourly usage for RUM Sessions.
	Usage []UsageRumSessionsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageRumSessionsResponse Response containing the number of RUM Sessions for each hour for a given organization.

func NewUsageRumSessionsResponse ¶

func NewUsageRumSessionsResponse() *UsageRumSessionsResponse

NewUsageRumSessionsResponse instantiates a new UsageRumSessionsResponse 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 NewUsageRumSessionsResponseWithDefaults ¶

func NewUsageRumSessionsResponseWithDefaults() *UsageRumSessionsResponse

NewUsageRumSessionsResponseWithDefaults instantiates a new UsageRumSessionsResponse 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 (*UsageRumSessionsResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageRumSessionsResponse) GetUsageOk ¶

func (o *UsageRumSessionsResponse) GetUsageOk() (*[]UsageRumSessionsHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumSessionsResponse) HasUsage ¶

func (o *UsageRumSessionsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageRumSessionsResponse) MarshalJSON ¶

func (o UsageRumSessionsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageRumSessionsResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageRumSessionsHour and assigns it to the Usage field.

func (*UsageRumSessionsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageRumSessionsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageRumUnitsHour ¶ added in v1.7.0

type UsageRumUnitsHour struct {
	// The number of browser RUM units.
	BrowserRumUnits *int64 `json:"browser_rum_units,omitempty"`
	// The number of mobile RUM units.
	MobileRumUnits *int64 `json:"mobile_rum_units,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// Total RUM units across mobile and browser RUM.
	RumUnits NullableInt64 `json:"rum_units,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageRumUnitsHour Number of RUM Units used for each hour for a given organization (data available as of November 1, 2021).

func NewUsageRumUnitsHour ¶ added in v1.7.0

func NewUsageRumUnitsHour() *UsageRumUnitsHour

NewUsageRumUnitsHour instantiates a new UsageRumUnitsHour 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 NewUsageRumUnitsHourWithDefaults ¶ added in v1.7.0

func NewUsageRumUnitsHourWithDefaults() *UsageRumUnitsHour

NewUsageRumUnitsHourWithDefaults instantiates a new UsageRumUnitsHour 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 (*UsageRumUnitsHour) GetBrowserRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetBrowserRumUnits() int64

GetBrowserRumUnits returns the BrowserRumUnits field value if set, zero value otherwise.

func (*UsageRumUnitsHour) GetBrowserRumUnitsOk ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetBrowserRumUnitsOk() (*int64, bool)

GetBrowserRumUnitsOk returns a tuple with the BrowserRumUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumUnitsHour) GetMobileRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetMobileRumUnits() int64

GetMobileRumUnits returns the MobileRumUnits field value if set, zero value otherwise.

func (*UsageRumUnitsHour) GetMobileRumUnitsOk ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetMobileRumUnitsOk() (*int64, bool)

GetMobileRumUnitsOk returns a tuple with the MobileRumUnits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumUnitsHour) GetOrgName ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageRumUnitsHour) GetOrgNameOk ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumUnitsHour) GetPublicId ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageRumUnitsHour) GetPublicIdOk ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumUnitsHour) GetRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetRumUnits() int64

GetRumUnits returns the RumUnits field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageRumUnitsHour) GetRumUnitsOk ¶ added in v1.7.0

func (o *UsageRumUnitsHour) GetRumUnitsOk() (*int64, bool)

GetRumUnitsOk returns a tuple with the RumUnits field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageRumUnitsHour) HasBrowserRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) HasBrowserRumUnits() bool

HasBrowserRumUnits returns a boolean if a field has been set.

func (*UsageRumUnitsHour) HasMobileRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) HasMobileRumUnits() bool

HasMobileRumUnits returns a boolean if a field has been set.

func (*UsageRumUnitsHour) HasOrgName ¶ added in v1.7.0

func (o *UsageRumUnitsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageRumUnitsHour) HasPublicId ¶ added in v1.7.0

func (o *UsageRumUnitsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageRumUnitsHour) HasRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) HasRumUnits() bool

HasRumUnits returns a boolean if a field has been set.

func (UsageRumUnitsHour) MarshalJSON ¶ added in v1.7.0

func (o UsageRumUnitsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageRumUnitsHour) SetBrowserRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) SetBrowserRumUnits(v int64)

SetBrowserRumUnits gets a reference to the given int64 and assigns it to the BrowserRumUnits field.

func (*UsageRumUnitsHour) SetMobileRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) SetMobileRumUnits(v int64)

SetMobileRumUnits gets a reference to the given int64 and assigns it to the MobileRumUnits field.

func (*UsageRumUnitsHour) SetOrgName ¶ added in v1.7.0

func (o *UsageRumUnitsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageRumUnitsHour) SetPublicId ¶ added in v1.7.0

func (o *UsageRumUnitsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageRumUnitsHour) SetRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) SetRumUnits(v int64)

SetRumUnits gets a reference to the given NullableInt64 and assigns it to the RumUnits field.

func (*UsageRumUnitsHour) SetRumUnitsNil ¶ added in v1.7.0

func (o *UsageRumUnitsHour) SetRumUnitsNil()

SetRumUnitsNil sets the value for RumUnits to be an explicit nil.

func (*UsageRumUnitsHour) UnmarshalJSON ¶ added in v1.7.0

func (o *UsageRumUnitsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UsageRumUnitsHour) UnsetRumUnits ¶ added in v1.7.0

func (o *UsageRumUnitsHour) UnsetRumUnits()

UnsetRumUnits ensures that no value is present for RumUnits, not even an explicit nil.

type UsageRumUnitsResponse ¶ added in v1.7.0

type UsageRumUnitsResponse struct {
	// Get hourly usage for RUM Units.
	Usage []UsageRumUnitsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageRumUnitsResponse Response containing the number of RUM Units for each hour for a given organization.

func NewUsageRumUnitsResponse ¶ added in v1.7.0

func NewUsageRumUnitsResponse() *UsageRumUnitsResponse

NewUsageRumUnitsResponse instantiates a new UsageRumUnitsResponse 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 NewUsageRumUnitsResponseWithDefaults ¶ added in v1.7.0

func NewUsageRumUnitsResponseWithDefaults() *UsageRumUnitsResponse

NewUsageRumUnitsResponseWithDefaults instantiates a new UsageRumUnitsResponse 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 (*UsageRumUnitsResponse) GetUsage ¶ added in v1.7.0

func (o *UsageRumUnitsResponse) GetUsage() []UsageRumUnitsHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageRumUnitsResponse) GetUsageOk ¶ added in v1.7.0

func (o *UsageRumUnitsResponse) GetUsageOk() (*[]UsageRumUnitsHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageRumUnitsResponse) HasUsage ¶ added in v1.7.0

func (o *UsageRumUnitsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageRumUnitsResponse) MarshalJSON ¶ added in v1.7.0

func (o UsageRumUnitsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageRumUnitsResponse) SetUsage ¶ added in v1.7.0

func (o *UsageRumUnitsResponse) SetUsage(v []UsageRumUnitsHour)

SetUsage gets a reference to the given []UsageRumUnitsHour and assigns it to the Usage field.

func (*UsageRumUnitsResponse) UnmarshalJSON ¶ added in v1.7.0

func (o *UsageRumUnitsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSDSHour ¶ added in v1.5.0

type UsageSDSHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The total number of bytes scanned of logs usage by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
	LogsScannedBytes *int64 `json:"logs_scanned_bytes,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// The total number of bytes scanned across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
	TotalScannedBytes *int64 `json:"total_scanned_bytes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSDSHour Sensitive Data Scanner usage for a given organization for a given hour.

func NewUsageSDSHour ¶ added in v1.5.0

func NewUsageSDSHour() *UsageSDSHour

NewUsageSDSHour instantiates a new UsageSDSHour 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 NewUsageSDSHourWithDefaults ¶ added in v1.5.0

func NewUsageSDSHourWithDefaults() *UsageSDSHour

NewUsageSDSHourWithDefaults instantiates a new UsageSDSHour 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 (*UsageSDSHour) GetHour ¶ added in v1.5.0

func (o *UsageSDSHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageSDSHour) GetHourOk ¶ added in v1.5.0

func (o *UsageSDSHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSDSHour) GetLogsScannedBytes ¶ added in v1.5.0

func (o *UsageSDSHour) GetLogsScannedBytes() int64

GetLogsScannedBytes returns the LogsScannedBytes field value if set, zero value otherwise.

func (*UsageSDSHour) GetLogsScannedBytesOk ¶ added in v1.5.0

func (o *UsageSDSHour) GetLogsScannedBytesOk() (*int64, bool)

GetLogsScannedBytesOk returns a tuple with the LogsScannedBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSDSHour) GetOrgName ¶ added in v1.7.0

func (o *UsageSDSHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageSDSHour) GetOrgNameOk ¶ added in v1.7.0

func (o *UsageSDSHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSDSHour) GetPublicId ¶ added in v1.7.0

func (o *UsageSDSHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageSDSHour) GetPublicIdOk ¶ added in v1.7.0

func (o *UsageSDSHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSDSHour) GetTotalScannedBytes ¶ added in v1.5.0

func (o *UsageSDSHour) GetTotalScannedBytes() int64

GetTotalScannedBytes returns the TotalScannedBytes field value if set, zero value otherwise.

func (*UsageSDSHour) GetTotalScannedBytesOk ¶ added in v1.5.0

func (o *UsageSDSHour) GetTotalScannedBytesOk() (*int64, bool)

GetTotalScannedBytesOk returns a tuple with the TotalScannedBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSDSHour) HasHour ¶ added in v1.5.0

func (o *UsageSDSHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageSDSHour) HasLogsScannedBytes ¶ added in v1.5.0

func (o *UsageSDSHour) HasLogsScannedBytes() bool

HasLogsScannedBytes returns a boolean if a field has been set.

func (*UsageSDSHour) HasOrgName ¶ added in v1.7.0

func (o *UsageSDSHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageSDSHour) HasPublicId ¶ added in v1.7.0

func (o *UsageSDSHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageSDSHour) HasTotalScannedBytes ¶ added in v1.5.0

func (o *UsageSDSHour) HasTotalScannedBytes() bool

HasTotalScannedBytes returns a boolean if a field has been set.

func (UsageSDSHour) MarshalJSON ¶ added in v1.5.0

func (o UsageSDSHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSDSHour) SetHour ¶ added in v1.5.0

func (o *UsageSDSHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageSDSHour) SetLogsScannedBytes ¶ added in v1.5.0

func (o *UsageSDSHour) SetLogsScannedBytes(v int64)

SetLogsScannedBytes gets a reference to the given int64 and assigns it to the LogsScannedBytes field.

func (*UsageSDSHour) SetOrgName ¶ added in v1.7.0

func (o *UsageSDSHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageSDSHour) SetPublicId ¶ added in v1.7.0

func (o *UsageSDSHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageSDSHour) SetTotalScannedBytes ¶ added in v1.5.0

func (o *UsageSDSHour) SetTotalScannedBytes(v int64)

SetTotalScannedBytes gets a reference to the given int64 and assigns it to the TotalScannedBytes field.

func (*UsageSDSHour) UnmarshalJSON ¶ added in v1.5.0

func (o *UsageSDSHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSDSResponse ¶ added in v1.5.0

type UsageSDSResponse struct {
	// Get hourly usage for Sensitive Data Scanner.
	Usage []UsageSDSHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSDSResponse Response containing the Sensitive Data Scanner usage for each hour for a given organization.

func NewUsageSDSResponse ¶ added in v1.5.0

func NewUsageSDSResponse() *UsageSDSResponse

NewUsageSDSResponse instantiates a new UsageSDSResponse 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 NewUsageSDSResponseWithDefaults ¶ added in v1.5.0

func NewUsageSDSResponseWithDefaults() *UsageSDSResponse

NewUsageSDSResponseWithDefaults instantiates a new UsageSDSResponse 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 (*UsageSDSResponse) GetUsage ¶ added in v1.5.0

func (o *UsageSDSResponse) GetUsage() []UsageSDSHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageSDSResponse) GetUsageOk ¶ added in v1.5.0

func (o *UsageSDSResponse) GetUsageOk() (*[]UsageSDSHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSDSResponse) HasUsage ¶ added in v1.5.0

func (o *UsageSDSResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageSDSResponse) MarshalJSON ¶ added in v1.5.0

func (o UsageSDSResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSDSResponse) SetUsage ¶ added in v1.5.0

func (o *UsageSDSResponse) SetUsage(v []UsageSDSHour)

SetUsage gets a reference to the given []UsageSDSHour and assigns it to the Usage field.

func (*UsageSDSResponse) UnmarshalJSON ¶ added in v1.5.0

func (o *UsageSDSResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSNMPHour ¶

type UsageSNMPHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// Contains the number of SNMP devices.
	SnmpDevices *int64 `json:"snmp_devices,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSNMPHour The number of SNMP devices for each hour for a given organization.

func NewUsageSNMPHour ¶

func NewUsageSNMPHour() *UsageSNMPHour

NewUsageSNMPHour instantiates a new UsageSNMPHour 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 NewUsageSNMPHourWithDefaults ¶

func NewUsageSNMPHourWithDefaults() *UsageSNMPHour

NewUsageSNMPHourWithDefaults instantiates a new UsageSNMPHour 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 (*UsageSNMPHour) GetHour ¶

func (o *UsageSNMPHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageSNMPHour) GetHourOk ¶

func (o *UsageSNMPHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSNMPHour) GetOrgName ¶ added in v1.9.0

func (o *UsageSNMPHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageSNMPHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageSNMPHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSNMPHour) GetPublicId ¶ added in v1.9.0

func (o *UsageSNMPHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageSNMPHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageSNMPHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSNMPHour) GetSnmpDevices ¶

func (o *UsageSNMPHour) GetSnmpDevices() int64

GetSnmpDevices returns the SnmpDevices field value if set, zero value otherwise.

func (*UsageSNMPHour) GetSnmpDevicesOk ¶

func (o *UsageSNMPHour) GetSnmpDevicesOk() (*int64, bool)

GetSnmpDevicesOk returns a tuple with the SnmpDevices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSNMPHour) HasHour ¶

func (o *UsageSNMPHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageSNMPHour) HasOrgName ¶ added in v1.9.0

func (o *UsageSNMPHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageSNMPHour) HasPublicId ¶ added in v1.9.0

func (o *UsageSNMPHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageSNMPHour) HasSnmpDevices ¶

func (o *UsageSNMPHour) HasSnmpDevices() bool

HasSnmpDevices returns a boolean if a field has been set.

func (UsageSNMPHour) MarshalJSON ¶

func (o UsageSNMPHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSNMPHour) SetHour ¶

func (o *UsageSNMPHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageSNMPHour) SetOrgName ¶ added in v1.9.0

func (o *UsageSNMPHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageSNMPHour) SetPublicId ¶ added in v1.9.0

func (o *UsageSNMPHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageSNMPHour) SetSnmpDevices ¶

func (o *UsageSNMPHour) SetSnmpDevices(v int64)

SetSnmpDevices gets a reference to the given int64 and assigns it to the SnmpDevices field.

func (*UsageSNMPHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSNMPHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSNMPResponse ¶

type UsageSNMPResponse struct {
	// Get hourly usage for SNMP devices.
	Usage []UsageSNMPHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSNMPResponse Response containing the number of SNMP devices for each hour for a given organization.

func NewUsageSNMPResponse ¶

func NewUsageSNMPResponse() *UsageSNMPResponse

NewUsageSNMPResponse instantiates a new UsageSNMPResponse 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 NewUsageSNMPResponseWithDefaults ¶

func NewUsageSNMPResponseWithDefaults() *UsageSNMPResponse

NewUsageSNMPResponseWithDefaults instantiates a new UsageSNMPResponse 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 (*UsageSNMPResponse) GetUsage ¶

func (o *UsageSNMPResponse) GetUsage() []UsageSNMPHour

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageSNMPResponse) GetUsageOk ¶

func (o *UsageSNMPResponse) GetUsageOk() (*[]UsageSNMPHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSNMPResponse) HasUsage ¶

func (o *UsageSNMPResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageSNMPResponse) MarshalJSON ¶

func (o UsageSNMPResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSNMPResponse) SetUsage ¶

func (o *UsageSNMPResponse) SetUsage(v []UsageSNMPHour)

SetUsage gets a reference to the given []UsageSNMPHour and assigns it to the Usage field.

func (*UsageSNMPResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSNMPResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSort ¶

type UsageSort string

UsageSort The field to sort by.

const (
	USAGESORT_COMPUTED_ON UsageSort = "computed_on"
	USAGESORT_SIZE        UsageSort = "size"
	USAGESORT_START_DATE  UsageSort = "start_date"
	USAGESORT_END_DATE    UsageSort = "end_date"
)

List of UsageSort.

func NewUsageSortFromValue ¶

func NewUsageSortFromValue(v string) (*UsageSort, error)

NewUsageSortFromValue returns a pointer to a valid UsageSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsageSort) GetAllowedValues ¶ added in v1.1.0

func (v *UsageSort) GetAllowedValues() []UsageSort

GetAllowedValues reeturns the list of possible values.

func (UsageSort) IsValid ¶

func (v UsageSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageSort) Ptr ¶

func (v UsageSort) Ptr() *UsageSort

Ptr returns reference to UsageSort value.

func (*UsageSort) UnmarshalJSON ¶

func (v *UsageSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type UsageSortDirection ¶

type UsageSortDirection string

UsageSortDirection The direction to sort by.

const (
	USAGESORTDIRECTION_DESC UsageSortDirection = "desc"
	USAGESORTDIRECTION_ASC  UsageSortDirection = "asc"
)

List of UsageSortDirection.

func NewUsageSortDirectionFromValue ¶

func NewUsageSortDirectionFromValue(v string) (*UsageSortDirection, error)

NewUsageSortDirectionFromValue returns a pointer to a valid UsageSortDirection for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*UsageSortDirection) GetAllowedValues ¶ added in v1.1.0

func (v *UsageSortDirection) GetAllowedValues() []UsageSortDirection

GetAllowedValues reeturns the list of possible values.

func (UsageSortDirection) IsValid ¶

func (v UsageSortDirection) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (UsageSortDirection) Ptr ¶

Ptr returns reference to UsageSortDirection value.

func (*UsageSortDirection) UnmarshalJSON ¶

func (v *UsageSortDirection) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type UsageSpecifiedCustomReportsAttributes ¶

type UsageSpecifiedCustomReportsAttributes struct {
	// The date the specified custom report was computed.
	ComputedOn *string `json:"computed_on,omitempty"`
	// The ending date of specified custom report.
	EndDate *string `json:"end_date,omitempty"`
	// A downloadable file for the specified custom reporting file.
	Location *string `json:"location,omitempty"`
	// size
	Size *int64 `json:"size,omitempty"`
	// The starting date of specified custom report.
	StartDate *string `json:"start_date,omitempty"`
	// A list of tags to apply to specified custom reports.
	Tags []string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSpecifiedCustomReportsAttributes The response containing attributes for specified custom reports.

func NewUsageSpecifiedCustomReportsAttributes ¶

func NewUsageSpecifiedCustomReportsAttributes() *UsageSpecifiedCustomReportsAttributes

NewUsageSpecifiedCustomReportsAttributes instantiates a new UsageSpecifiedCustomReportsAttributes 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 NewUsageSpecifiedCustomReportsAttributesWithDefaults ¶

func NewUsageSpecifiedCustomReportsAttributesWithDefaults() *UsageSpecifiedCustomReportsAttributes

NewUsageSpecifiedCustomReportsAttributesWithDefaults instantiates a new UsageSpecifiedCustomReportsAttributes 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 (*UsageSpecifiedCustomReportsAttributes) GetComputedOn ¶

func (o *UsageSpecifiedCustomReportsAttributes) GetComputedOn() string

GetComputedOn returns the ComputedOn field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsAttributes) GetComputedOnOk ¶

func (o *UsageSpecifiedCustomReportsAttributes) GetComputedOnOk() (*string, bool)

GetComputedOnOk returns a tuple with the ComputedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsAttributes) GetEndDate ¶

GetEndDate returns the EndDate field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsAttributes) GetEndDateOk ¶

func (o *UsageSpecifiedCustomReportsAttributes) GetEndDateOk() (*string, bool)

GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsAttributes) GetLocation ¶

GetLocation returns the Location field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsAttributes) GetLocationOk ¶

func (o *UsageSpecifiedCustomReportsAttributes) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsAttributes) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsAttributes) GetSizeOk ¶

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsAttributes) GetStartDate ¶

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsAttributes) GetStartDateOk ¶

func (o *UsageSpecifiedCustomReportsAttributes) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsAttributes) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsAttributes) GetTagsOk ¶

func (o *UsageSpecifiedCustomReportsAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsAttributes) HasComputedOn ¶

func (o *UsageSpecifiedCustomReportsAttributes) HasComputedOn() bool

HasComputedOn returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsAttributes) HasEndDate ¶

HasEndDate returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsAttributes) HasLocation ¶

HasLocation returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsAttributes) HasSize ¶

HasSize returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsAttributes) HasStartDate ¶

func (o *UsageSpecifiedCustomReportsAttributes) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (UsageSpecifiedCustomReportsAttributes) MarshalJSON ¶

func (o UsageSpecifiedCustomReportsAttributes) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSpecifiedCustomReportsAttributes) SetComputedOn ¶

func (o *UsageSpecifiedCustomReportsAttributes) SetComputedOn(v string)

SetComputedOn gets a reference to the given string and assigns it to the ComputedOn field.

func (*UsageSpecifiedCustomReportsAttributes) SetEndDate ¶

SetEndDate gets a reference to the given string and assigns it to the EndDate field.

func (*UsageSpecifiedCustomReportsAttributes) SetLocation ¶

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*UsageSpecifiedCustomReportsAttributes) SetSize ¶

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*UsageSpecifiedCustomReportsAttributes) SetStartDate ¶

func (o *UsageSpecifiedCustomReportsAttributes) SetStartDate(v string)

SetStartDate gets a reference to the given string and assigns it to the StartDate field.

func (*UsageSpecifiedCustomReportsAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*UsageSpecifiedCustomReportsAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSpecifiedCustomReportsAttributes) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSpecifiedCustomReportsData ¶

type UsageSpecifiedCustomReportsData struct {
	// The response containing attributes for specified custom reports.
	Attributes *UsageSpecifiedCustomReportsAttributes `json:"attributes,omitempty"`
	// The date for specified custom reports.
	Id *string `json:"id,omitempty"`
	// The type of reports.
	Type *UsageReportsType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSpecifiedCustomReportsData Response containing date and type for specified custom reports.

func NewUsageSpecifiedCustomReportsData ¶

func NewUsageSpecifiedCustomReportsData() *UsageSpecifiedCustomReportsData

NewUsageSpecifiedCustomReportsData instantiates a new UsageSpecifiedCustomReportsData 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 NewUsageSpecifiedCustomReportsDataWithDefaults ¶

func NewUsageSpecifiedCustomReportsDataWithDefaults() *UsageSpecifiedCustomReportsData

NewUsageSpecifiedCustomReportsDataWithDefaults instantiates a new UsageSpecifiedCustomReportsData 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 (*UsageSpecifiedCustomReportsData) GetAttributes ¶

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsData) GetAttributesOk ¶

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsData) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsData) GetIdOk ¶

func (o *UsageSpecifiedCustomReportsData) 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 (*UsageSpecifiedCustomReportsData) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsData) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsData) HasAttributes ¶

func (o *UsageSpecifiedCustomReportsData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsData) HasId ¶

HasId returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsData) HasType ¶

HasType returns a boolean if a field has been set.

func (UsageSpecifiedCustomReportsData) MarshalJSON ¶

func (o UsageSpecifiedCustomReportsData) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSpecifiedCustomReportsData) SetAttributes ¶

SetAttributes gets a reference to the given UsageSpecifiedCustomReportsAttributes and assigns it to the Attributes field.

func (*UsageSpecifiedCustomReportsData) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*UsageSpecifiedCustomReportsData) SetType ¶

SetType gets a reference to the given UsageReportsType and assigns it to the Type field.

func (*UsageSpecifiedCustomReportsData) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSpecifiedCustomReportsData) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSpecifiedCustomReportsMeta ¶

type UsageSpecifiedCustomReportsMeta struct {
	// The object containing page total count for specified ID.
	Page *UsageSpecifiedCustomReportsPage `json:"page,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSpecifiedCustomReportsMeta The object containing document metadata.

func NewUsageSpecifiedCustomReportsMeta ¶

func NewUsageSpecifiedCustomReportsMeta() *UsageSpecifiedCustomReportsMeta

NewUsageSpecifiedCustomReportsMeta instantiates a new UsageSpecifiedCustomReportsMeta 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 NewUsageSpecifiedCustomReportsMetaWithDefaults ¶

func NewUsageSpecifiedCustomReportsMetaWithDefaults() *UsageSpecifiedCustomReportsMeta

NewUsageSpecifiedCustomReportsMetaWithDefaults instantiates a new UsageSpecifiedCustomReportsMeta 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 (*UsageSpecifiedCustomReportsMeta) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsMeta) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsMeta) HasPage ¶

HasPage returns a boolean if a field has been set.

func (UsageSpecifiedCustomReportsMeta) MarshalJSON ¶

func (o UsageSpecifiedCustomReportsMeta) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSpecifiedCustomReportsMeta) SetPage ¶

SetPage gets a reference to the given UsageSpecifiedCustomReportsPage and assigns it to the Page field.

func (*UsageSpecifiedCustomReportsMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSpecifiedCustomReportsMeta) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSpecifiedCustomReportsPage ¶

type UsageSpecifiedCustomReportsPage struct {
	// Total page count.
	TotalCount *int64 `json:"total_count,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSpecifiedCustomReportsPage The object containing page total count for specified ID.

func NewUsageSpecifiedCustomReportsPage ¶

func NewUsageSpecifiedCustomReportsPage() *UsageSpecifiedCustomReportsPage

NewUsageSpecifiedCustomReportsPage instantiates a new UsageSpecifiedCustomReportsPage 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 NewUsageSpecifiedCustomReportsPageWithDefaults ¶

func NewUsageSpecifiedCustomReportsPageWithDefaults() *UsageSpecifiedCustomReportsPage

NewUsageSpecifiedCustomReportsPageWithDefaults instantiates a new UsageSpecifiedCustomReportsPage 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 (*UsageSpecifiedCustomReportsPage) GetTotalCount ¶

func (o *UsageSpecifiedCustomReportsPage) GetTotalCount() int64

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsPage) GetTotalCountOk ¶

func (o *UsageSpecifiedCustomReportsPage) GetTotalCountOk() (*int64, bool)

GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsPage) HasTotalCount ¶

func (o *UsageSpecifiedCustomReportsPage) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (UsageSpecifiedCustomReportsPage) MarshalJSON ¶

func (o UsageSpecifiedCustomReportsPage) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSpecifiedCustomReportsPage) SetTotalCount ¶

func (o *UsageSpecifiedCustomReportsPage) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*UsageSpecifiedCustomReportsPage) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSpecifiedCustomReportsPage) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSpecifiedCustomReportsResponse ¶

type UsageSpecifiedCustomReportsResponse struct {
	// Response containing date and type for specified custom reports.
	Data *UsageSpecifiedCustomReportsData `json:"data,omitempty"`
	// The object containing document metadata.
	Meta *UsageSpecifiedCustomReportsMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSpecifiedCustomReportsResponse Returns available specified custom reports.

func NewUsageSpecifiedCustomReportsResponse ¶

func NewUsageSpecifiedCustomReportsResponse() *UsageSpecifiedCustomReportsResponse

NewUsageSpecifiedCustomReportsResponse instantiates a new UsageSpecifiedCustomReportsResponse 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 NewUsageSpecifiedCustomReportsResponseWithDefaults ¶

func NewUsageSpecifiedCustomReportsResponseWithDefaults() *UsageSpecifiedCustomReportsResponse

NewUsageSpecifiedCustomReportsResponseWithDefaults instantiates a new UsageSpecifiedCustomReportsResponse 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 (*UsageSpecifiedCustomReportsResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*UsageSpecifiedCustomReportsResponse) GetMetaOk ¶

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSpecifiedCustomReportsResponse) HasData ¶

HasData returns a boolean if a field has been set.

func (*UsageSpecifiedCustomReportsResponse) HasMeta ¶

HasMeta returns a boolean if a field has been set.

func (UsageSpecifiedCustomReportsResponse) MarshalJSON ¶

func (o UsageSpecifiedCustomReportsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSpecifiedCustomReportsResponse) SetData ¶

SetData gets a reference to the given UsageSpecifiedCustomReportsData and assigns it to the Data field.

func (*UsageSpecifiedCustomReportsResponse) SetMeta ¶

SetMeta gets a reference to the given UsageSpecifiedCustomReportsMeta and assigns it to the Meta field.

func (*UsageSpecifiedCustomReportsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSpecifiedCustomReportsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSummaryDate ¶

type UsageSummaryDate struct {
	// Shows the 99th percentile of all agent hosts over all hours in the current date for all organizations.
	AgentHostTop99p *int64 `json:"agent_host_top99p,omitempty"`
	// Shows the 99th percentile of all Azure app services using APM over all hours in the current date all organizations.
	ApmAzureAppServiceHostTop99p *int64 `json:"apm_azure_app_service_host_top99p,omitempty"`
	// Shows the 99th percentile of all distinct APM hosts over all hours in the current date for all organizations.
	ApmHostTop99p *int64 `json:"apm_host_top99p,omitempty"`
	// Shows the sum of audit logs lines indexed over all hours in the current date for all organizations.
	AuditLogsLinesIndexedSum *int64 `json:"audit_logs_lines_indexed_sum,omitempty"`
	// The average profiled task count for Fargate Profiling.
	AvgProfiledFargateTasks *int64 `json:"avg_profiled_fargate_tasks,omitempty"`
	// Shows the 99th percentile of all AWS hosts over all hours in the current date for all organizations.
	AwsHostTop99p *int64 `json:"aws_host_top99p,omitempty"`
	// Shows the average of the number of functions that executed 1 or more times each hour in the current date for all organizations.
	AwsLambdaFuncCount *int64 `json:"aws_lambda_func_count,omitempty"`
	// Shows the sum of all AWS Lambda invocations over all hours in the current date for all organizations.
	AwsLambdaInvocationsSum *int64 `json:"aws_lambda_invocations_sum,omitempty"`
	// Shows the 99th percentile of all Azure app services over all hours in the current date for all organizations.
	AzureAppServiceTop99p *int64 `json:"azure_app_service_top99p,omitempty"`
	// Shows the sum of all log bytes ingested over all hours in the current date for all organizations.
	BillableIngestedBytesSum *int64 `json:"billable_ingested_bytes_sum,omitempty"`
	// Shows the sum of all browser lite sessions over all hours in the current date for all organizations.
	BrowserRumLiteSessionCountSum *int64 `json:"browser_rum_lite_session_count_sum,omitempty"`
	// Shows the sum of all browser replay sessions over all hours in the current date for all organizations.
	BrowserRumReplaySessionCountSum *int64 `json:"browser_rum_replay_session_count_sum,omitempty"`
	// Shows the sum of all browser RUM units over all hours in the current date for all organizations.
	BrowserRumUnitsSum *int64 `json:"browser_rum_units_sum,omitempty"`
	// Shows the sum of all CI pipeline indexed spans over all hours in the current month for all organizations.
	CiPipelineIndexedSpansSum *int64 `json:"ci_pipeline_indexed_spans_sum,omitempty"`
	// Shows the sum of all CI test indexed spans over all hours in the current month for all organizations.
	CiTestIndexedSpansSum *int64 `json:"ci_test_indexed_spans_sum,omitempty"`
	// Shows the high-water mark of all CI visibility pipeline committers over all hours in the current month for all organizations.
	CiVisibilityPipelineCommittersHwm *int64 `json:"ci_visibility_pipeline_committers_hwm,omitempty"`
	// Shows the high-water mark of all CI visibility test committers over all hours in the current month for all organizations.
	CiVisibilityTestCommittersHwm *int64 `json:"ci_visibility_test_committers_hwm,omitempty"`
	// Shows the average of all distinct containers over all hours in the current date for all organizations.
	ContainerAvg *int64 `json:"container_avg,omitempty"`
	// Shows the high-water mark of all distinct containers over all hours in the current date for all organizations.
	ContainerHwm *int64 `json:"container_hwm,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management Azure app services hosts over all hours in the current date for all organizations.
	CspmAasHostTop99p *int64 `json:"cspm_aas_host_top99p,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management Azure hosts over all hours in the current date for all organizations.
	CspmAzureHostTop99p *int64 `json:"cspm_azure_host_top99p,omitempty"`
	// Shows the average number of Cloud Security Posture Management containers over all hours in the current date for all organizations.
	CspmContainerAvg *int64 `json:"cspm_container_avg,omitempty"`
	// Shows the high-water mark of Cloud Security Posture Management containers over all hours in the current date for all organizations.
	CspmContainerHwm *int64 `json:"cspm_container_hwm,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management hosts over all hours in the current date for all organizations.
	CspmHostTop99p *int64 `json:"cspm_host_top99p,omitempty"`
	// Shows the average number of distinct custom metrics over all hours in the current date for all organizations.
	CustomTsAvg *int64 `json:"custom_ts_avg,omitempty"`
	// Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for all organizations.
	CwsContainerCountAvg *int64 `json:"cws_container_count_avg,omitempty"`
	// Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for all organizations.
	CwsHostTop99p *int64 `json:"cws_host_top99p,omitempty"`
	// The date for the usage.
	Date *time.Time `json:"date,omitempty"`
	// Shows the 99th percentile of all Database Monitoring hosts over all hours in the current date for all organizations.
	DbmHostTop99p *int64 `json:"dbm_host_top99p,omitempty"`
	// Shows the average of all normalized Database Monitoring queries over all hours in the current date for all organizations.
	DbmQueriesCountAvg *int64 `json:"dbm_queries_count_avg,omitempty"`
	// Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations.
	FargateTasksCountAvg *int64 `json:"fargate_tasks_count_avg,omitempty"`
	// Shows the average of all Fargate tasks over all hours in the current date for all organizations.
	FargateTasksCountHwm *int64 `json:"fargate_tasks_count_hwm,omitempty"`
	// Shows the 99th percentile of all GCP hosts over all hours in the current date for all organizations.
	GcpHostTop99p *int64 `json:"gcp_host_top99p,omitempty"`
	// Shows the 99th percentile of all Heroku dynos over all hours in the current date for all organizations.
	HerokuHostTop99p *int64 `json:"heroku_host_top99p,omitempty"`
	// Shows the high-water mark of incident management monthly active users over all hours in the current date for all organizations.
	IncidentManagementMonthlyActiveUsersHwm *int64 `json:"incident_management_monthly_active_users_hwm,omitempty"`
	// Shows the sum of all log events indexed over all hours in the current date for all organizations.
	IndexedEventsCountSum *int64 `json:"indexed_events_count_sum,omitempty"`
	// Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for all organizations.
	InfraHostTop99p *int64 `json:"infra_host_top99p,omitempty"`
	// Shows the sum of all log bytes ingested over all hours in the current date for all organizations.
	IngestedEventsBytesSum *int64 `json:"ingested_events_bytes_sum,omitempty"`
	// Shows the sum of all IoT devices over all hours in the current date for all organizations.
	IotDeviceSum *int64 `json:"iot_device_sum,omitempty"`
	// Shows the 99th percentile of all IoT devices over all hours in the current date all organizations.
	IotDeviceTop99p *int64 `json:"iot_device_top99p,omitempty"`
	// Shows the sum of all mobile lite sessions over all hours in the current date for all organizations.
	MobileRumLiteSessionCountSum *int64 `json:"mobile_rum_lite_session_count_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for all organizations.
	MobileRumSessionCountAndroidSum *int64 `json:"mobile_rum_session_count_android_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for all organizations.
	MobileRumSessionCountIosSum *int64 `json:"mobile_rum_session_count_ios_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on React Native over all hours in the current date for all organizations.
	MobileRumSessionCountReactnativeSum *int64 `json:"mobile_rum_session_count_reactnative_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations
	MobileRumSessionCountSum *int64 `json:"mobile_rum_session_count_sum,omitempty"`
	// Shows the sum of all mobile RUM units over all hours in the current date for all organizations.
	MobileRumUnitsSum *int64 `json:"mobile_rum_units_sum,omitempty"`
	// Shows the sum of all Network flows indexed over all hours in the current date for all organizations.
	NetflowIndexedEventsCountSum *int64 `json:"netflow_indexed_events_count_sum,omitempty"`
	// Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations.
	NpmHostTop99p *int64 `json:"npm_host_top99p,omitempty"`
	// Sum of all observability pipelines bytes processed over all hours in the current date for the given org.
	ObservabilityPipelinesBytesProcessedSum *int64 `json:"observability_pipelines_bytes_processed_sum,omitempty"`
	// Sum of all online archived events over all hours in the current date for all organizations.
	OnlineArchiveEventsCountSum *int64 `json:"online_archive_events_count_sum,omitempty"`
	// Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
	OpentelemetryHostTop99p *int64 `json:"opentelemetry_host_top99p,omitempty"`
	// Organizations associated with a user.
	Orgs []UsageSummaryDateOrg `json:"orgs,omitempty"`
	// Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations.
	ProfilingHostTop99p *int64 `json:"profiling_host_top99p,omitempty"`
	// Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations.
	RumBrowserAndMobileSessionCount *int64 `json:"rum_browser_and_mobile_session_count,omitempty"`
	// Shows the sum of all browser RUM Lite Sessions over all hours in the current date for all organizations
	RumSessionCountSum *int64 `json:"rum_session_count_sum,omitempty"`
	// Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for all organizations.
	RumTotalSessionCountSum *int64 `json:"rum_total_session_count_sum,omitempty"`
	// Shows the sum of all browser and mobile RUM units over all hours in the current date for all organizations.
	RumUnitsSum *int64 `json:"rum_units_sum,omitempty"`
	// Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations.
	SdsLogsScannedBytesSum *int64 `json:"sds_logs_scanned_bytes_sum,omitempty"`
	// Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations.
	SdsTotalScannedBytesSum *int64 `json:"sds_total_scanned_bytes_sum,omitempty"`
	// Shows the sum of all Synthetic browser tests over all hours in the current date for all organizations.
	SyntheticsBrowserCheckCallsCountSum *int64 `json:"synthetics_browser_check_calls_count_sum,omitempty"`
	// Shows the sum of all Synthetic API tests over all hours in the current date for all organizations.
	SyntheticsCheckCallsCountSum *int64 `json:"synthetics_check_calls_count_sum,omitempty"`
	// Shows the sum of all Indexed Spans indexed over all hours in the current date for all organizations.
	TraceSearchIndexedEventsCountSum *int64 `json:"trace_search_indexed_events_count_sum,omitempty"`
	// Shows the sum of all ingested APM span bytes over all hours in the current date for all organizations.
	TwolIngestedEventsBytesSum *int64 `json:"twol_ingested_events_bytes_sum,omitempty"`
	// Shows the 99th percentile of all vSphere hosts over all hours in the current date for all organizations.
	VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSummaryDate Response with hourly report of all data billed by Datadog all organizations.

func NewUsageSummaryDate ¶

func NewUsageSummaryDate() *UsageSummaryDate

NewUsageSummaryDate instantiates a new UsageSummaryDate 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 NewUsageSummaryDateWithDefaults ¶

func NewUsageSummaryDateWithDefaults() *UsageSummaryDate

NewUsageSummaryDateWithDefaults instantiates a new UsageSummaryDate 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 (*UsageSummaryDate) GetAgentHostTop99p ¶

func (o *UsageSummaryDate) GetAgentHostTop99p() int64

GetAgentHostTop99p returns the AgentHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetAgentHostTop99pOk ¶

func (o *UsageSummaryDate) GetAgentHostTop99pOk() (*int64, bool)

GetAgentHostTop99pOk returns a tuple with the AgentHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetApmAzureAppServiceHostTop99p ¶

func (o *UsageSummaryDate) GetApmAzureAppServiceHostTop99p() int64

GetApmAzureAppServiceHostTop99p returns the ApmAzureAppServiceHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetApmAzureAppServiceHostTop99pOk ¶

func (o *UsageSummaryDate) GetApmAzureAppServiceHostTop99pOk() (*int64, bool)

GetApmAzureAppServiceHostTop99pOk returns a tuple with the ApmAzureAppServiceHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetApmHostTop99p ¶

func (o *UsageSummaryDate) GetApmHostTop99p() int64

GetApmHostTop99p returns the ApmHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetApmHostTop99pOk ¶

func (o *UsageSummaryDate) GetApmHostTop99pOk() (*int64, bool)

GetApmHostTop99pOk returns a tuple with the ApmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetAuditLogsLinesIndexedSum ¶

func (o *UsageSummaryDate) GetAuditLogsLinesIndexedSum() int64

GetAuditLogsLinesIndexedSum returns the AuditLogsLinesIndexedSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetAuditLogsLinesIndexedSumOk ¶

func (o *UsageSummaryDate) GetAuditLogsLinesIndexedSumOk() (*int64, bool)

GetAuditLogsLinesIndexedSumOk returns a tuple with the AuditLogsLinesIndexedSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageSummaryDate) GetAvgProfiledFargateTasks() int64

GetAvgProfiledFargateTasks returns the AvgProfiledFargateTasks field value if set, zero value otherwise.

func (*UsageSummaryDate) GetAvgProfiledFargateTasksOk ¶ added in v1.7.0

func (o *UsageSummaryDate) GetAvgProfiledFargateTasksOk() (*int64, bool)

GetAvgProfiledFargateTasksOk returns a tuple with the AvgProfiledFargateTasks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetAwsHostTop99p ¶

func (o *UsageSummaryDate) GetAwsHostTop99p() int64

GetAwsHostTop99p returns the AwsHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetAwsHostTop99pOk ¶

func (o *UsageSummaryDate) GetAwsHostTop99pOk() (*int64, bool)

GetAwsHostTop99pOk returns a tuple with the AwsHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetAwsLambdaFuncCount ¶

func (o *UsageSummaryDate) GetAwsLambdaFuncCount() int64

GetAwsLambdaFuncCount returns the AwsLambdaFuncCount field value if set, zero value otherwise.

func (*UsageSummaryDate) GetAwsLambdaFuncCountOk ¶

func (o *UsageSummaryDate) GetAwsLambdaFuncCountOk() (*int64, bool)

GetAwsLambdaFuncCountOk returns a tuple with the AwsLambdaFuncCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetAwsLambdaInvocationsSum ¶

func (o *UsageSummaryDate) GetAwsLambdaInvocationsSum() int64

GetAwsLambdaInvocationsSum returns the AwsLambdaInvocationsSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetAwsLambdaInvocationsSumOk ¶

func (o *UsageSummaryDate) GetAwsLambdaInvocationsSumOk() (*int64, bool)

GetAwsLambdaInvocationsSumOk returns a tuple with the AwsLambdaInvocationsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetAzureAppServiceTop99p ¶

func (o *UsageSummaryDate) GetAzureAppServiceTop99p() int64

GetAzureAppServiceTop99p returns the AzureAppServiceTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetAzureAppServiceTop99pOk ¶

func (o *UsageSummaryDate) GetAzureAppServiceTop99pOk() (*int64, bool)

GetAzureAppServiceTop99pOk returns a tuple with the AzureAppServiceTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetBillableIngestedBytesSum ¶

func (o *UsageSummaryDate) GetBillableIngestedBytesSum() int64

GetBillableIngestedBytesSum returns the BillableIngestedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetBillableIngestedBytesSumOk ¶

func (o *UsageSummaryDate) GetBillableIngestedBytesSumOk() (*int64, bool)

GetBillableIngestedBytesSumOk returns a tuple with the BillableIngestedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetBrowserRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) GetBrowserRumLiteSessionCountSum() int64

GetBrowserRumLiteSessionCountSum returns the BrowserRumLiteSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetBrowserRumLiteSessionCountSumOk ¶ added in v1.7.0

func (o *UsageSummaryDate) GetBrowserRumLiteSessionCountSumOk() (*int64, bool)

GetBrowserRumLiteSessionCountSumOk returns a tuple with the BrowserRumLiteSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetBrowserRumReplaySessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) GetBrowserRumReplaySessionCountSum() int64

GetBrowserRumReplaySessionCountSum returns the BrowserRumReplaySessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetBrowserRumReplaySessionCountSumOk ¶ added in v1.7.0

func (o *UsageSummaryDate) GetBrowserRumReplaySessionCountSumOk() (*int64, bool)

GetBrowserRumReplaySessionCountSumOk returns a tuple with the BrowserRumReplaySessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetBrowserRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) GetBrowserRumUnitsSum() int64

GetBrowserRumUnitsSum returns the BrowserRumUnitsSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetBrowserRumUnitsSumOk ¶ added in v1.7.0

func (o *UsageSummaryDate) GetBrowserRumUnitsSumOk() (*int64, bool)

GetBrowserRumUnitsSumOk returns a tuple with the BrowserRumUnitsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCiPipelineIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiPipelineIndexedSpansSum() int64

GetCiPipelineIndexedSpansSum returns the CiPipelineIndexedSpansSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCiPipelineIndexedSpansSumOk ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiPipelineIndexedSpansSumOk() (*int64, bool)

GetCiPipelineIndexedSpansSumOk returns a tuple with the CiPipelineIndexedSpansSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCiTestIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiTestIndexedSpansSum() int64

GetCiTestIndexedSpansSum returns the CiTestIndexedSpansSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCiTestIndexedSpansSumOk ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiTestIndexedSpansSumOk() (*int64, bool)

GetCiTestIndexedSpansSumOk returns a tuple with the CiTestIndexedSpansSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCiVisibilityPipelineCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiVisibilityPipelineCommittersHwm() int64

GetCiVisibilityPipelineCommittersHwm returns the CiVisibilityPipelineCommittersHwm field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCiVisibilityPipelineCommittersHwmOk ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiVisibilityPipelineCommittersHwmOk() (*int64, bool)

GetCiVisibilityPipelineCommittersHwmOk returns a tuple with the CiVisibilityPipelineCommittersHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCiVisibilityTestCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiVisibilityTestCommittersHwm() int64

GetCiVisibilityTestCommittersHwm returns the CiVisibilityTestCommittersHwm field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCiVisibilityTestCommittersHwmOk ¶ added in v1.10.0

func (o *UsageSummaryDate) GetCiVisibilityTestCommittersHwmOk() (*int64, bool)

GetCiVisibilityTestCommittersHwmOk returns a tuple with the CiVisibilityTestCommittersHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetContainerAvg ¶

func (o *UsageSummaryDate) GetContainerAvg() int64

GetContainerAvg returns the ContainerAvg field value if set, zero value otherwise.

func (*UsageSummaryDate) GetContainerAvgOk ¶

func (o *UsageSummaryDate) GetContainerAvgOk() (*int64, bool)

GetContainerAvgOk returns a tuple with the ContainerAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetContainerHwm ¶

func (o *UsageSummaryDate) GetContainerHwm() int64

GetContainerHwm returns the ContainerHwm field value if set, zero value otherwise.

func (*UsageSummaryDate) GetContainerHwmOk ¶

func (o *UsageSummaryDate) GetContainerHwmOk() (*int64, bool)

GetContainerHwmOk returns a tuple with the ContainerHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCspmAasHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDate) GetCspmAasHostTop99p() int64

GetCspmAasHostTop99p returns the CspmAasHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCspmAasHostTop99pOk ¶ added in v1.9.0

func (o *UsageSummaryDate) GetCspmAasHostTop99pOk() (*int64, bool)

GetCspmAasHostTop99pOk returns a tuple with the CspmAasHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCspmAzureHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDate) GetCspmAzureHostTop99p() int64

GetCspmAzureHostTop99p returns the CspmAzureHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCspmAzureHostTop99pOk ¶ added in v1.9.0

func (o *UsageSummaryDate) GetCspmAzureHostTop99pOk() (*int64, bool)

GetCspmAzureHostTop99pOk returns a tuple with the CspmAzureHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCspmContainerAvg ¶

func (o *UsageSummaryDate) GetCspmContainerAvg() int64

GetCspmContainerAvg returns the CspmContainerAvg field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCspmContainerAvgOk ¶

func (o *UsageSummaryDate) GetCspmContainerAvgOk() (*int64, bool)

GetCspmContainerAvgOk returns a tuple with the CspmContainerAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCspmContainerHwm ¶

func (o *UsageSummaryDate) GetCspmContainerHwm() int64

GetCspmContainerHwm returns the CspmContainerHwm field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCspmContainerHwmOk ¶

func (o *UsageSummaryDate) GetCspmContainerHwmOk() (*int64, bool)

GetCspmContainerHwmOk returns a tuple with the CspmContainerHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCspmHostTop99p ¶

func (o *UsageSummaryDate) GetCspmHostTop99p() int64

GetCspmHostTop99p returns the CspmHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCspmHostTop99pOk ¶

func (o *UsageSummaryDate) GetCspmHostTop99pOk() (*int64, bool)

GetCspmHostTop99pOk returns a tuple with the CspmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCustomTsAvg ¶

func (o *UsageSummaryDate) GetCustomTsAvg() int64

GetCustomTsAvg returns the CustomTsAvg field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCustomTsAvgOk ¶

func (o *UsageSummaryDate) GetCustomTsAvgOk() (*int64, bool)

GetCustomTsAvgOk returns a tuple with the CustomTsAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCwsContainerCountAvg ¶

func (o *UsageSummaryDate) GetCwsContainerCountAvg() int64

GetCwsContainerCountAvg returns the CwsContainerCountAvg field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCwsContainerCountAvgOk ¶

func (o *UsageSummaryDate) GetCwsContainerCountAvgOk() (*int64, bool)

GetCwsContainerCountAvgOk returns a tuple with the CwsContainerCountAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetCwsHostTop99p ¶

func (o *UsageSummaryDate) GetCwsHostTop99p() int64

GetCwsHostTop99p returns the CwsHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetCwsHostTop99pOk ¶

func (o *UsageSummaryDate) GetCwsHostTop99pOk() (*int64, bool)

GetCwsHostTop99pOk returns a tuple with the CwsHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetDate ¶

func (o *UsageSummaryDate) GetDate() time.Time

GetDate returns the Date field value if set, zero value otherwise.

func (*UsageSummaryDate) GetDateOk ¶

func (o *UsageSummaryDate) GetDateOk() (*time.Time, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetDbmHostTop99p ¶ added in v1.3.0

func (o *UsageSummaryDate) GetDbmHostTop99p() int64

GetDbmHostTop99p returns the DbmHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetDbmHostTop99pOk ¶ added in v1.3.0

func (o *UsageSummaryDate) GetDbmHostTop99pOk() (*int64, bool)

GetDbmHostTop99pOk returns a tuple with the DbmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetDbmQueriesCountAvg ¶ added in v1.3.0

func (o *UsageSummaryDate) GetDbmQueriesCountAvg() int64

GetDbmQueriesCountAvg returns the DbmQueriesCountAvg field value if set, zero value otherwise.

func (*UsageSummaryDate) GetDbmQueriesCountAvgOk ¶ added in v1.3.0

func (o *UsageSummaryDate) GetDbmQueriesCountAvgOk() (*int64, bool)

GetDbmQueriesCountAvgOk returns a tuple with the DbmQueriesCountAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetFargateTasksCountAvg ¶

func (o *UsageSummaryDate) GetFargateTasksCountAvg() int64

GetFargateTasksCountAvg returns the FargateTasksCountAvg field value if set, zero value otherwise.

func (*UsageSummaryDate) GetFargateTasksCountAvgOk ¶

func (o *UsageSummaryDate) GetFargateTasksCountAvgOk() (*int64, bool)

GetFargateTasksCountAvgOk returns a tuple with the FargateTasksCountAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetFargateTasksCountHwm ¶

func (o *UsageSummaryDate) GetFargateTasksCountHwm() int64

GetFargateTasksCountHwm returns the FargateTasksCountHwm field value if set, zero value otherwise.

func (*UsageSummaryDate) GetFargateTasksCountHwmOk ¶

func (o *UsageSummaryDate) GetFargateTasksCountHwmOk() (*int64, bool)

GetFargateTasksCountHwmOk returns a tuple with the FargateTasksCountHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetGcpHostTop99p ¶

func (o *UsageSummaryDate) GetGcpHostTop99p() int64

GetGcpHostTop99p returns the GcpHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetGcpHostTop99pOk ¶

func (o *UsageSummaryDate) GetGcpHostTop99pOk() (*int64, bool)

GetGcpHostTop99pOk returns a tuple with the GcpHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetHerokuHostTop99p ¶

func (o *UsageSummaryDate) GetHerokuHostTop99p() int64

GetHerokuHostTop99p returns the HerokuHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetHerokuHostTop99pOk ¶

func (o *UsageSummaryDate) GetHerokuHostTop99pOk() (*int64, bool)

GetHerokuHostTop99pOk returns a tuple with the HerokuHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetIncidentManagementMonthlyActiveUsersHwm ¶

func (o *UsageSummaryDate) GetIncidentManagementMonthlyActiveUsersHwm() int64

GetIncidentManagementMonthlyActiveUsersHwm returns the IncidentManagementMonthlyActiveUsersHwm field value if set, zero value otherwise.

func (*UsageSummaryDate) GetIncidentManagementMonthlyActiveUsersHwmOk ¶

func (o *UsageSummaryDate) GetIncidentManagementMonthlyActiveUsersHwmOk() (*int64, bool)

GetIncidentManagementMonthlyActiveUsersHwmOk returns a tuple with the IncidentManagementMonthlyActiveUsersHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetIndexedEventsCountSum ¶

func (o *UsageSummaryDate) GetIndexedEventsCountSum() int64

GetIndexedEventsCountSum returns the IndexedEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetIndexedEventsCountSumOk ¶

func (o *UsageSummaryDate) GetIndexedEventsCountSumOk() (*int64, bool)

GetIndexedEventsCountSumOk returns a tuple with the IndexedEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetInfraHostTop99p ¶

func (o *UsageSummaryDate) GetInfraHostTop99p() int64

GetInfraHostTop99p returns the InfraHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetInfraHostTop99pOk ¶

func (o *UsageSummaryDate) GetInfraHostTop99pOk() (*int64, bool)

GetInfraHostTop99pOk returns a tuple with the InfraHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetIngestedEventsBytesSum ¶

func (o *UsageSummaryDate) GetIngestedEventsBytesSum() int64

GetIngestedEventsBytesSum returns the IngestedEventsBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetIngestedEventsBytesSumOk ¶

func (o *UsageSummaryDate) GetIngestedEventsBytesSumOk() (*int64, bool)

GetIngestedEventsBytesSumOk returns a tuple with the IngestedEventsBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetIotDeviceSum ¶

func (o *UsageSummaryDate) GetIotDeviceSum() int64

GetIotDeviceSum returns the IotDeviceSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetIotDeviceSumOk ¶

func (o *UsageSummaryDate) GetIotDeviceSumOk() (*int64, bool)

GetIotDeviceSumOk returns a tuple with the IotDeviceSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetIotDeviceTop99p ¶

func (o *UsageSummaryDate) GetIotDeviceTop99p() int64

GetIotDeviceTop99p returns the IotDeviceTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetIotDeviceTop99pOk ¶

func (o *UsageSummaryDate) GetIotDeviceTop99pOk() (*int64, bool)

GetIotDeviceTop99pOk returns a tuple with the IotDeviceTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetMobileRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) GetMobileRumLiteSessionCountSum() int64

GetMobileRumLiteSessionCountSum returns the MobileRumLiteSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetMobileRumLiteSessionCountSumOk ¶ added in v1.7.0

func (o *UsageSummaryDate) GetMobileRumLiteSessionCountSumOk() (*int64, bool)

GetMobileRumLiteSessionCountSumOk returns a tuple with the MobileRumLiteSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetMobileRumSessionCountAndroidSum ¶

func (o *UsageSummaryDate) GetMobileRumSessionCountAndroidSum() int64

GetMobileRumSessionCountAndroidSum returns the MobileRumSessionCountAndroidSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetMobileRumSessionCountAndroidSumOk ¶

func (o *UsageSummaryDate) GetMobileRumSessionCountAndroidSumOk() (*int64, bool)

GetMobileRumSessionCountAndroidSumOk returns a tuple with the MobileRumSessionCountAndroidSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetMobileRumSessionCountIosSum ¶

func (o *UsageSummaryDate) GetMobileRumSessionCountIosSum() int64

GetMobileRumSessionCountIosSum returns the MobileRumSessionCountIosSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetMobileRumSessionCountIosSumOk ¶

func (o *UsageSummaryDate) GetMobileRumSessionCountIosSumOk() (*int64, bool)

GetMobileRumSessionCountIosSumOk returns a tuple with the MobileRumSessionCountIosSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetMobileRumSessionCountReactnativeSum ¶ added in v1.14.0

func (o *UsageSummaryDate) GetMobileRumSessionCountReactnativeSum() int64

GetMobileRumSessionCountReactnativeSum returns the MobileRumSessionCountReactnativeSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetMobileRumSessionCountReactnativeSumOk ¶ added in v1.14.0

func (o *UsageSummaryDate) GetMobileRumSessionCountReactnativeSumOk() (*int64, bool)

GetMobileRumSessionCountReactnativeSumOk returns a tuple with the MobileRumSessionCountReactnativeSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetMobileRumSessionCountSum ¶

func (o *UsageSummaryDate) GetMobileRumSessionCountSum() int64

GetMobileRumSessionCountSum returns the MobileRumSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetMobileRumSessionCountSumOk ¶

func (o *UsageSummaryDate) GetMobileRumSessionCountSumOk() (*int64, bool)

GetMobileRumSessionCountSumOk returns a tuple with the MobileRumSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetMobileRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) GetMobileRumUnitsSum() int64

GetMobileRumUnitsSum returns the MobileRumUnitsSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetMobileRumUnitsSumOk ¶ added in v1.7.0

func (o *UsageSummaryDate) GetMobileRumUnitsSumOk() (*int64, bool)

GetMobileRumUnitsSumOk returns a tuple with the MobileRumUnitsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetNetflowIndexedEventsCountSum ¶

func (o *UsageSummaryDate) GetNetflowIndexedEventsCountSum() int64

GetNetflowIndexedEventsCountSum returns the NetflowIndexedEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetNetflowIndexedEventsCountSumOk ¶

func (o *UsageSummaryDate) GetNetflowIndexedEventsCountSumOk() (*int64, bool)

GetNetflowIndexedEventsCountSumOk returns a tuple with the NetflowIndexedEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetNpmHostTop99p ¶

func (o *UsageSummaryDate) GetNpmHostTop99p() int64

GetNpmHostTop99p returns the NpmHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetNpmHostTop99pOk ¶

func (o *UsageSummaryDate) GetNpmHostTop99pOk() (*int64, bool)

GetNpmHostTop99pOk returns a tuple with the NpmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetObservabilityPipelinesBytesProcessedSum ¶ added in v1.14.0

func (o *UsageSummaryDate) GetObservabilityPipelinesBytesProcessedSum() int64

GetObservabilityPipelinesBytesProcessedSum returns the ObservabilityPipelinesBytesProcessedSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetObservabilityPipelinesBytesProcessedSumOk ¶ added in v1.14.0

func (o *UsageSummaryDate) GetObservabilityPipelinesBytesProcessedSumOk() (*int64, bool)

GetObservabilityPipelinesBytesProcessedSumOk returns a tuple with the ObservabilityPipelinesBytesProcessedSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetOnlineArchiveEventsCountSum ¶ added in v1.11.0

func (o *UsageSummaryDate) GetOnlineArchiveEventsCountSum() int64

GetOnlineArchiveEventsCountSum returns the OnlineArchiveEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetOnlineArchiveEventsCountSumOk ¶ added in v1.11.0

func (o *UsageSummaryDate) GetOnlineArchiveEventsCountSumOk() (*int64, bool)

GetOnlineArchiveEventsCountSumOk returns a tuple with the OnlineArchiveEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetOpentelemetryHostTop99p ¶

func (o *UsageSummaryDate) GetOpentelemetryHostTop99p() int64

GetOpentelemetryHostTop99p returns the OpentelemetryHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetOpentelemetryHostTop99pOk ¶

func (o *UsageSummaryDate) GetOpentelemetryHostTop99pOk() (*int64, bool)

GetOpentelemetryHostTop99pOk returns a tuple with the OpentelemetryHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetOrgs ¶

func (o *UsageSummaryDate) GetOrgs() []UsageSummaryDateOrg

GetOrgs returns the Orgs field value if set, zero value otherwise.

func (*UsageSummaryDate) GetOrgsOk ¶

func (o *UsageSummaryDate) GetOrgsOk() (*[]UsageSummaryDateOrg, bool)

GetOrgsOk returns a tuple with the Orgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetProfilingHostTop99p ¶

func (o *UsageSummaryDate) GetProfilingHostTop99p() int64

GetProfilingHostTop99p returns the ProfilingHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetProfilingHostTop99pOk ¶

func (o *UsageSummaryDate) GetProfilingHostTop99pOk() (*int64, bool)

GetProfilingHostTop99pOk returns a tuple with the ProfilingHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryDate) GetRumBrowserAndMobileSessionCount() int64

GetRumBrowserAndMobileSessionCount returns the RumBrowserAndMobileSessionCount field value if set, zero value otherwise.

func (*UsageSummaryDate) GetRumBrowserAndMobileSessionCountOk ¶ added in v1.8.0

func (o *UsageSummaryDate) GetRumBrowserAndMobileSessionCountOk() (*int64, bool)

GetRumBrowserAndMobileSessionCountOk returns a tuple with the RumBrowserAndMobileSessionCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetRumSessionCountSum ¶

func (o *UsageSummaryDate) GetRumSessionCountSum() int64

GetRumSessionCountSum returns the RumSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetRumSessionCountSumOk ¶

func (o *UsageSummaryDate) GetRumSessionCountSumOk() (*int64, bool)

GetRumSessionCountSumOk returns a tuple with the RumSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetRumTotalSessionCountSum ¶

func (o *UsageSummaryDate) GetRumTotalSessionCountSum() int64

GetRumTotalSessionCountSum returns the RumTotalSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetRumTotalSessionCountSumOk ¶

func (o *UsageSummaryDate) GetRumTotalSessionCountSumOk() (*int64, bool)

GetRumTotalSessionCountSumOk returns a tuple with the RumTotalSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) GetRumUnitsSum() int64

GetRumUnitsSum returns the RumUnitsSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetRumUnitsSumOk ¶ added in v1.7.0

func (o *UsageSummaryDate) GetRumUnitsSumOk() (*int64, bool)

GetRumUnitsSumOk returns a tuple with the RumUnitsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDate) GetSdsLogsScannedBytesSum() int64

GetSdsLogsScannedBytesSum returns the SdsLogsScannedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetSdsLogsScannedBytesSumOk ¶ added in v1.5.0

func (o *UsageSummaryDate) GetSdsLogsScannedBytesSumOk() (*int64, bool)

GetSdsLogsScannedBytesSumOk returns a tuple with the SdsLogsScannedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDate) GetSdsTotalScannedBytesSum() int64

GetSdsTotalScannedBytesSum returns the SdsTotalScannedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetSdsTotalScannedBytesSumOk ¶ added in v1.5.0

func (o *UsageSummaryDate) GetSdsTotalScannedBytesSumOk() (*int64, bool)

GetSdsTotalScannedBytesSumOk returns a tuple with the SdsTotalScannedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetSyntheticsBrowserCheckCallsCountSum ¶

func (o *UsageSummaryDate) GetSyntheticsBrowserCheckCallsCountSum() int64

GetSyntheticsBrowserCheckCallsCountSum returns the SyntheticsBrowserCheckCallsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetSyntheticsBrowserCheckCallsCountSumOk ¶

func (o *UsageSummaryDate) GetSyntheticsBrowserCheckCallsCountSumOk() (*int64, bool)

GetSyntheticsBrowserCheckCallsCountSumOk returns a tuple with the SyntheticsBrowserCheckCallsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetSyntheticsCheckCallsCountSum ¶

func (o *UsageSummaryDate) GetSyntheticsCheckCallsCountSum() int64

GetSyntheticsCheckCallsCountSum returns the SyntheticsCheckCallsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetSyntheticsCheckCallsCountSumOk ¶

func (o *UsageSummaryDate) GetSyntheticsCheckCallsCountSumOk() (*int64, bool)

GetSyntheticsCheckCallsCountSumOk returns a tuple with the SyntheticsCheckCallsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetTraceSearchIndexedEventsCountSum ¶

func (o *UsageSummaryDate) GetTraceSearchIndexedEventsCountSum() int64

GetTraceSearchIndexedEventsCountSum returns the TraceSearchIndexedEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetTraceSearchIndexedEventsCountSumOk ¶

func (o *UsageSummaryDate) GetTraceSearchIndexedEventsCountSumOk() (*int64, bool)

GetTraceSearchIndexedEventsCountSumOk returns a tuple with the TraceSearchIndexedEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetTwolIngestedEventsBytesSum ¶

func (o *UsageSummaryDate) GetTwolIngestedEventsBytesSum() int64

GetTwolIngestedEventsBytesSum returns the TwolIngestedEventsBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDate) GetTwolIngestedEventsBytesSumOk ¶

func (o *UsageSummaryDate) GetTwolIngestedEventsBytesSumOk() (*int64, bool)

GetTwolIngestedEventsBytesSumOk returns a tuple with the TwolIngestedEventsBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) GetVsphereHostTop99p ¶

func (o *UsageSummaryDate) GetVsphereHostTop99p() int64

GetVsphereHostTop99p returns the VsphereHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDate) GetVsphereHostTop99pOk ¶

func (o *UsageSummaryDate) GetVsphereHostTop99pOk() (*int64, bool)

GetVsphereHostTop99pOk returns a tuple with the VsphereHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDate) HasAgentHostTop99p ¶

func (o *UsageSummaryDate) HasAgentHostTop99p() bool

HasAgentHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasApmAzureAppServiceHostTop99p ¶

func (o *UsageSummaryDate) HasApmAzureAppServiceHostTop99p() bool

HasApmAzureAppServiceHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasApmHostTop99p ¶

func (o *UsageSummaryDate) HasApmHostTop99p() bool

HasApmHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasAuditLogsLinesIndexedSum ¶

func (o *UsageSummaryDate) HasAuditLogsLinesIndexedSum() bool

HasAuditLogsLinesIndexedSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageSummaryDate) HasAvgProfiledFargateTasks() bool

HasAvgProfiledFargateTasks returns a boolean if a field has been set.

func (*UsageSummaryDate) HasAwsHostTop99p ¶

func (o *UsageSummaryDate) HasAwsHostTop99p() bool

HasAwsHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasAwsLambdaFuncCount ¶

func (o *UsageSummaryDate) HasAwsLambdaFuncCount() bool

HasAwsLambdaFuncCount returns a boolean if a field has been set.

func (*UsageSummaryDate) HasAwsLambdaInvocationsSum ¶

func (o *UsageSummaryDate) HasAwsLambdaInvocationsSum() bool

HasAwsLambdaInvocationsSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasAzureAppServiceTop99p ¶

func (o *UsageSummaryDate) HasAzureAppServiceTop99p() bool

HasAzureAppServiceTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasBillableIngestedBytesSum ¶

func (o *UsageSummaryDate) HasBillableIngestedBytesSum() bool

HasBillableIngestedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasBrowserRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) HasBrowserRumLiteSessionCountSum() bool

HasBrowserRumLiteSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasBrowserRumReplaySessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) HasBrowserRumReplaySessionCountSum() bool

HasBrowserRumReplaySessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasBrowserRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) HasBrowserRumUnitsSum() bool

HasBrowserRumUnitsSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCiPipelineIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDate) HasCiPipelineIndexedSpansSum() bool

HasCiPipelineIndexedSpansSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCiTestIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDate) HasCiTestIndexedSpansSum() bool

HasCiTestIndexedSpansSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCiVisibilityPipelineCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDate) HasCiVisibilityPipelineCommittersHwm() bool

HasCiVisibilityPipelineCommittersHwm returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCiVisibilityTestCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDate) HasCiVisibilityTestCommittersHwm() bool

HasCiVisibilityTestCommittersHwm returns a boolean if a field has been set.

func (*UsageSummaryDate) HasContainerAvg ¶

func (o *UsageSummaryDate) HasContainerAvg() bool

HasContainerAvg returns a boolean if a field has been set.

func (*UsageSummaryDate) HasContainerHwm ¶

func (o *UsageSummaryDate) HasContainerHwm() bool

HasContainerHwm returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCspmAasHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDate) HasCspmAasHostTop99p() bool

HasCspmAasHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCspmAzureHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDate) HasCspmAzureHostTop99p() bool

HasCspmAzureHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCspmContainerAvg ¶

func (o *UsageSummaryDate) HasCspmContainerAvg() bool

HasCspmContainerAvg returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCspmContainerHwm ¶

func (o *UsageSummaryDate) HasCspmContainerHwm() bool

HasCspmContainerHwm returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCspmHostTop99p ¶

func (o *UsageSummaryDate) HasCspmHostTop99p() bool

HasCspmHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCustomTsAvg ¶

func (o *UsageSummaryDate) HasCustomTsAvg() bool

HasCustomTsAvg returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCwsContainerCountAvg ¶

func (o *UsageSummaryDate) HasCwsContainerCountAvg() bool

HasCwsContainerCountAvg returns a boolean if a field has been set.

func (*UsageSummaryDate) HasCwsHostTop99p ¶

func (o *UsageSummaryDate) HasCwsHostTop99p() bool

HasCwsHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasDate ¶

func (o *UsageSummaryDate) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*UsageSummaryDate) HasDbmHostTop99p ¶ added in v1.3.0

func (o *UsageSummaryDate) HasDbmHostTop99p() bool

HasDbmHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasDbmQueriesCountAvg ¶ added in v1.3.0

func (o *UsageSummaryDate) HasDbmQueriesCountAvg() bool

HasDbmQueriesCountAvg returns a boolean if a field has been set.

func (*UsageSummaryDate) HasFargateTasksCountAvg ¶

func (o *UsageSummaryDate) HasFargateTasksCountAvg() bool

HasFargateTasksCountAvg returns a boolean if a field has been set.

func (*UsageSummaryDate) HasFargateTasksCountHwm ¶

func (o *UsageSummaryDate) HasFargateTasksCountHwm() bool

HasFargateTasksCountHwm returns a boolean if a field has been set.

func (*UsageSummaryDate) HasGcpHostTop99p ¶

func (o *UsageSummaryDate) HasGcpHostTop99p() bool

HasGcpHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasHerokuHostTop99p ¶

func (o *UsageSummaryDate) HasHerokuHostTop99p() bool

HasHerokuHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasIncidentManagementMonthlyActiveUsersHwm ¶

func (o *UsageSummaryDate) HasIncidentManagementMonthlyActiveUsersHwm() bool

HasIncidentManagementMonthlyActiveUsersHwm returns a boolean if a field has been set.

func (*UsageSummaryDate) HasIndexedEventsCountSum ¶

func (o *UsageSummaryDate) HasIndexedEventsCountSum() bool

HasIndexedEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasInfraHostTop99p ¶

func (o *UsageSummaryDate) HasInfraHostTop99p() bool

HasInfraHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasIngestedEventsBytesSum ¶

func (o *UsageSummaryDate) HasIngestedEventsBytesSum() bool

HasIngestedEventsBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasIotDeviceSum ¶

func (o *UsageSummaryDate) HasIotDeviceSum() bool

HasIotDeviceSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasIotDeviceTop99p ¶

func (o *UsageSummaryDate) HasIotDeviceTop99p() bool

HasIotDeviceTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasMobileRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) HasMobileRumLiteSessionCountSum() bool

HasMobileRumLiteSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasMobileRumSessionCountAndroidSum ¶

func (o *UsageSummaryDate) HasMobileRumSessionCountAndroidSum() bool

HasMobileRumSessionCountAndroidSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasMobileRumSessionCountIosSum ¶

func (o *UsageSummaryDate) HasMobileRumSessionCountIosSum() bool

HasMobileRumSessionCountIosSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasMobileRumSessionCountReactnativeSum ¶ added in v1.14.0

func (o *UsageSummaryDate) HasMobileRumSessionCountReactnativeSum() bool

HasMobileRumSessionCountReactnativeSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasMobileRumSessionCountSum ¶

func (o *UsageSummaryDate) HasMobileRumSessionCountSum() bool

HasMobileRumSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasMobileRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) HasMobileRumUnitsSum() bool

HasMobileRumUnitsSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasNetflowIndexedEventsCountSum ¶

func (o *UsageSummaryDate) HasNetflowIndexedEventsCountSum() bool

HasNetflowIndexedEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasNpmHostTop99p ¶

func (o *UsageSummaryDate) HasNpmHostTop99p() bool

HasNpmHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasObservabilityPipelinesBytesProcessedSum ¶ added in v1.14.0

func (o *UsageSummaryDate) HasObservabilityPipelinesBytesProcessedSum() bool

HasObservabilityPipelinesBytesProcessedSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasOnlineArchiveEventsCountSum ¶ added in v1.11.0

func (o *UsageSummaryDate) HasOnlineArchiveEventsCountSum() bool

HasOnlineArchiveEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasOpentelemetryHostTop99p ¶

func (o *UsageSummaryDate) HasOpentelemetryHostTop99p() bool

HasOpentelemetryHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasOrgs ¶

func (o *UsageSummaryDate) HasOrgs() bool

HasOrgs returns a boolean if a field has been set.

func (*UsageSummaryDate) HasProfilingHostTop99p ¶

func (o *UsageSummaryDate) HasProfilingHostTop99p() bool

HasProfilingHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDate) HasRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryDate) HasRumBrowserAndMobileSessionCount() bool

HasRumBrowserAndMobileSessionCount returns a boolean if a field has been set.

func (*UsageSummaryDate) HasRumSessionCountSum ¶

func (o *UsageSummaryDate) HasRumSessionCountSum() bool

HasRumSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasRumTotalSessionCountSum ¶

func (o *UsageSummaryDate) HasRumTotalSessionCountSum() bool

HasRumTotalSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) HasRumUnitsSum() bool

HasRumUnitsSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDate) HasSdsLogsScannedBytesSum() bool

HasSdsLogsScannedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDate) HasSdsTotalScannedBytesSum() bool

HasSdsTotalScannedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasSyntheticsBrowserCheckCallsCountSum ¶

func (o *UsageSummaryDate) HasSyntheticsBrowserCheckCallsCountSum() bool

HasSyntheticsBrowserCheckCallsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasSyntheticsCheckCallsCountSum ¶

func (o *UsageSummaryDate) HasSyntheticsCheckCallsCountSum() bool

HasSyntheticsCheckCallsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasTraceSearchIndexedEventsCountSum ¶

func (o *UsageSummaryDate) HasTraceSearchIndexedEventsCountSum() bool

HasTraceSearchIndexedEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasTwolIngestedEventsBytesSum ¶

func (o *UsageSummaryDate) HasTwolIngestedEventsBytesSum() bool

HasTwolIngestedEventsBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDate) HasVsphereHostTop99p ¶

func (o *UsageSummaryDate) HasVsphereHostTop99p() bool

HasVsphereHostTop99p returns a boolean if a field has been set.

func (UsageSummaryDate) MarshalJSON ¶

func (o UsageSummaryDate) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSummaryDate) SetAgentHostTop99p ¶

func (o *UsageSummaryDate) SetAgentHostTop99p(v int64)

SetAgentHostTop99p gets a reference to the given int64 and assigns it to the AgentHostTop99p field.

func (*UsageSummaryDate) SetApmAzureAppServiceHostTop99p ¶

func (o *UsageSummaryDate) SetApmAzureAppServiceHostTop99p(v int64)

SetApmAzureAppServiceHostTop99p gets a reference to the given int64 and assigns it to the ApmAzureAppServiceHostTop99p field.

func (*UsageSummaryDate) SetApmHostTop99p ¶

func (o *UsageSummaryDate) SetApmHostTop99p(v int64)

SetApmHostTop99p gets a reference to the given int64 and assigns it to the ApmHostTop99p field.

func (*UsageSummaryDate) SetAuditLogsLinesIndexedSum ¶

func (o *UsageSummaryDate) SetAuditLogsLinesIndexedSum(v int64)

SetAuditLogsLinesIndexedSum gets a reference to the given int64 and assigns it to the AuditLogsLinesIndexedSum field.

func (*UsageSummaryDate) SetAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageSummaryDate) SetAvgProfiledFargateTasks(v int64)

SetAvgProfiledFargateTasks gets a reference to the given int64 and assigns it to the AvgProfiledFargateTasks field.

func (*UsageSummaryDate) SetAwsHostTop99p ¶

func (o *UsageSummaryDate) SetAwsHostTop99p(v int64)

SetAwsHostTop99p gets a reference to the given int64 and assigns it to the AwsHostTop99p field.

func (*UsageSummaryDate) SetAwsLambdaFuncCount ¶

func (o *UsageSummaryDate) SetAwsLambdaFuncCount(v int64)

SetAwsLambdaFuncCount gets a reference to the given int64 and assigns it to the AwsLambdaFuncCount field.

func (*UsageSummaryDate) SetAwsLambdaInvocationsSum ¶

func (o *UsageSummaryDate) SetAwsLambdaInvocationsSum(v int64)

SetAwsLambdaInvocationsSum gets a reference to the given int64 and assigns it to the AwsLambdaInvocationsSum field.

func (*UsageSummaryDate) SetAzureAppServiceTop99p ¶

func (o *UsageSummaryDate) SetAzureAppServiceTop99p(v int64)

SetAzureAppServiceTop99p gets a reference to the given int64 and assigns it to the AzureAppServiceTop99p field.

func (*UsageSummaryDate) SetBillableIngestedBytesSum ¶

func (o *UsageSummaryDate) SetBillableIngestedBytesSum(v int64)

SetBillableIngestedBytesSum gets a reference to the given int64 and assigns it to the BillableIngestedBytesSum field.

func (*UsageSummaryDate) SetBrowserRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) SetBrowserRumLiteSessionCountSum(v int64)

SetBrowserRumLiteSessionCountSum gets a reference to the given int64 and assigns it to the BrowserRumLiteSessionCountSum field.

func (*UsageSummaryDate) SetBrowserRumReplaySessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) SetBrowserRumReplaySessionCountSum(v int64)

SetBrowserRumReplaySessionCountSum gets a reference to the given int64 and assigns it to the BrowserRumReplaySessionCountSum field.

func (*UsageSummaryDate) SetBrowserRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) SetBrowserRumUnitsSum(v int64)

SetBrowserRumUnitsSum gets a reference to the given int64 and assigns it to the BrowserRumUnitsSum field.

func (*UsageSummaryDate) SetCiPipelineIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDate) SetCiPipelineIndexedSpansSum(v int64)

SetCiPipelineIndexedSpansSum gets a reference to the given int64 and assigns it to the CiPipelineIndexedSpansSum field.

func (*UsageSummaryDate) SetCiTestIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDate) SetCiTestIndexedSpansSum(v int64)

SetCiTestIndexedSpansSum gets a reference to the given int64 and assigns it to the CiTestIndexedSpansSum field.

func (*UsageSummaryDate) SetCiVisibilityPipelineCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDate) SetCiVisibilityPipelineCommittersHwm(v int64)

SetCiVisibilityPipelineCommittersHwm gets a reference to the given int64 and assigns it to the CiVisibilityPipelineCommittersHwm field.

func (*UsageSummaryDate) SetCiVisibilityTestCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDate) SetCiVisibilityTestCommittersHwm(v int64)

SetCiVisibilityTestCommittersHwm gets a reference to the given int64 and assigns it to the CiVisibilityTestCommittersHwm field.

func (*UsageSummaryDate) SetContainerAvg ¶

func (o *UsageSummaryDate) SetContainerAvg(v int64)

SetContainerAvg gets a reference to the given int64 and assigns it to the ContainerAvg field.

func (*UsageSummaryDate) SetContainerHwm ¶

func (o *UsageSummaryDate) SetContainerHwm(v int64)

SetContainerHwm gets a reference to the given int64 and assigns it to the ContainerHwm field.

func (*UsageSummaryDate) SetCspmAasHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDate) SetCspmAasHostTop99p(v int64)

SetCspmAasHostTop99p gets a reference to the given int64 and assigns it to the CspmAasHostTop99p field.

func (*UsageSummaryDate) SetCspmAzureHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDate) SetCspmAzureHostTop99p(v int64)

SetCspmAzureHostTop99p gets a reference to the given int64 and assigns it to the CspmAzureHostTop99p field.

func (*UsageSummaryDate) SetCspmContainerAvg ¶

func (o *UsageSummaryDate) SetCspmContainerAvg(v int64)

SetCspmContainerAvg gets a reference to the given int64 and assigns it to the CspmContainerAvg field.

func (*UsageSummaryDate) SetCspmContainerHwm ¶

func (o *UsageSummaryDate) SetCspmContainerHwm(v int64)

SetCspmContainerHwm gets a reference to the given int64 and assigns it to the CspmContainerHwm field.

func (*UsageSummaryDate) SetCspmHostTop99p ¶

func (o *UsageSummaryDate) SetCspmHostTop99p(v int64)

SetCspmHostTop99p gets a reference to the given int64 and assigns it to the CspmHostTop99p field.

func (*UsageSummaryDate) SetCustomTsAvg ¶

func (o *UsageSummaryDate) SetCustomTsAvg(v int64)

SetCustomTsAvg gets a reference to the given int64 and assigns it to the CustomTsAvg field.

func (*UsageSummaryDate) SetCwsContainerCountAvg ¶

func (o *UsageSummaryDate) SetCwsContainerCountAvg(v int64)

SetCwsContainerCountAvg gets a reference to the given int64 and assigns it to the CwsContainerCountAvg field.

func (*UsageSummaryDate) SetCwsHostTop99p ¶

func (o *UsageSummaryDate) SetCwsHostTop99p(v int64)

SetCwsHostTop99p gets a reference to the given int64 and assigns it to the CwsHostTop99p field.

func (*UsageSummaryDate) SetDate ¶

func (o *UsageSummaryDate) SetDate(v time.Time)

SetDate gets a reference to the given time.Time and assigns it to the Date field.

func (*UsageSummaryDate) SetDbmHostTop99p ¶ added in v1.3.0

func (o *UsageSummaryDate) SetDbmHostTop99p(v int64)

SetDbmHostTop99p gets a reference to the given int64 and assigns it to the DbmHostTop99p field.

func (*UsageSummaryDate) SetDbmQueriesCountAvg ¶ added in v1.3.0

func (o *UsageSummaryDate) SetDbmQueriesCountAvg(v int64)

SetDbmQueriesCountAvg gets a reference to the given int64 and assigns it to the DbmQueriesCountAvg field.

func (*UsageSummaryDate) SetFargateTasksCountAvg ¶

func (o *UsageSummaryDate) SetFargateTasksCountAvg(v int64)

SetFargateTasksCountAvg gets a reference to the given int64 and assigns it to the FargateTasksCountAvg field.

func (*UsageSummaryDate) SetFargateTasksCountHwm ¶

func (o *UsageSummaryDate) SetFargateTasksCountHwm(v int64)

SetFargateTasksCountHwm gets a reference to the given int64 and assigns it to the FargateTasksCountHwm field.

func (*UsageSummaryDate) SetGcpHostTop99p ¶

func (o *UsageSummaryDate) SetGcpHostTop99p(v int64)

SetGcpHostTop99p gets a reference to the given int64 and assigns it to the GcpHostTop99p field.

func (*UsageSummaryDate) SetHerokuHostTop99p ¶

func (o *UsageSummaryDate) SetHerokuHostTop99p(v int64)

SetHerokuHostTop99p gets a reference to the given int64 and assigns it to the HerokuHostTop99p field.

func (*UsageSummaryDate) SetIncidentManagementMonthlyActiveUsersHwm ¶

func (o *UsageSummaryDate) SetIncidentManagementMonthlyActiveUsersHwm(v int64)

SetIncidentManagementMonthlyActiveUsersHwm gets a reference to the given int64 and assigns it to the IncidentManagementMonthlyActiveUsersHwm field.

func (*UsageSummaryDate) SetIndexedEventsCountSum ¶

func (o *UsageSummaryDate) SetIndexedEventsCountSum(v int64)

SetIndexedEventsCountSum gets a reference to the given int64 and assigns it to the IndexedEventsCountSum field.

func (*UsageSummaryDate) SetInfraHostTop99p ¶

func (o *UsageSummaryDate) SetInfraHostTop99p(v int64)

SetInfraHostTop99p gets a reference to the given int64 and assigns it to the InfraHostTop99p field.

func (*UsageSummaryDate) SetIngestedEventsBytesSum ¶

func (o *UsageSummaryDate) SetIngestedEventsBytesSum(v int64)

SetIngestedEventsBytesSum gets a reference to the given int64 and assigns it to the IngestedEventsBytesSum field.

func (*UsageSummaryDate) SetIotDeviceSum ¶

func (o *UsageSummaryDate) SetIotDeviceSum(v int64)

SetIotDeviceSum gets a reference to the given int64 and assigns it to the IotDeviceSum field.

func (*UsageSummaryDate) SetIotDeviceTop99p ¶

func (o *UsageSummaryDate) SetIotDeviceTop99p(v int64)

SetIotDeviceTop99p gets a reference to the given int64 and assigns it to the IotDeviceTop99p field.

func (*UsageSummaryDate) SetMobileRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDate) SetMobileRumLiteSessionCountSum(v int64)

SetMobileRumLiteSessionCountSum gets a reference to the given int64 and assigns it to the MobileRumLiteSessionCountSum field.

func (*UsageSummaryDate) SetMobileRumSessionCountAndroidSum ¶

func (o *UsageSummaryDate) SetMobileRumSessionCountAndroidSum(v int64)

SetMobileRumSessionCountAndroidSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountAndroidSum field.

func (*UsageSummaryDate) SetMobileRumSessionCountIosSum ¶

func (o *UsageSummaryDate) SetMobileRumSessionCountIosSum(v int64)

SetMobileRumSessionCountIosSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountIosSum field.

func (*UsageSummaryDate) SetMobileRumSessionCountReactnativeSum ¶ added in v1.14.0

func (o *UsageSummaryDate) SetMobileRumSessionCountReactnativeSum(v int64)

SetMobileRumSessionCountReactnativeSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountReactnativeSum field.

func (*UsageSummaryDate) SetMobileRumSessionCountSum ¶

func (o *UsageSummaryDate) SetMobileRumSessionCountSum(v int64)

SetMobileRumSessionCountSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountSum field.

func (*UsageSummaryDate) SetMobileRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) SetMobileRumUnitsSum(v int64)

SetMobileRumUnitsSum gets a reference to the given int64 and assigns it to the MobileRumUnitsSum field.

func (*UsageSummaryDate) SetNetflowIndexedEventsCountSum ¶

func (o *UsageSummaryDate) SetNetflowIndexedEventsCountSum(v int64)

SetNetflowIndexedEventsCountSum gets a reference to the given int64 and assigns it to the NetflowIndexedEventsCountSum field.

func (*UsageSummaryDate) SetNpmHostTop99p ¶

func (o *UsageSummaryDate) SetNpmHostTop99p(v int64)

SetNpmHostTop99p gets a reference to the given int64 and assigns it to the NpmHostTop99p field.

func (*UsageSummaryDate) SetObservabilityPipelinesBytesProcessedSum ¶ added in v1.14.0

func (o *UsageSummaryDate) SetObservabilityPipelinesBytesProcessedSum(v int64)

SetObservabilityPipelinesBytesProcessedSum gets a reference to the given int64 and assigns it to the ObservabilityPipelinesBytesProcessedSum field.

func (*UsageSummaryDate) SetOnlineArchiveEventsCountSum ¶ added in v1.11.0

func (o *UsageSummaryDate) SetOnlineArchiveEventsCountSum(v int64)

SetOnlineArchiveEventsCountSum gets a reference to the given int64 and assigns it to the OnlineArchiveEventsCountSum field.

func (*UsageSummaryDate) SetOpentelemetryHostTop99p ¶

func (o *UsageSummaryDate) SetOpentelemetryHostTop99p(v int64)

SetOpentelemetryHostTop99p gets a reference to the given int64 and assigns it to the OpentelemetryHostTop99p field.

func (*UsageSummaryDate) SetOrgs ¶

func (o *UsageSummaryDate) SetOrgs(v []UsageSummaryDateOrg)

SetOrgs gets a reference to the given []UsageSummaryDateOrg and assigns it to the Orgs field.

func (*UsageSummaryDate) SetProfilingHostTop99p ¶

func (o *UsageSummaryDate) SetProfilingHostTop99p(v int64)

SetProfilingHostTop99p gets a reference to the given int64 and assigns it to the ProfilingHostTop99p field.

func (*UsageSummaryDate) SetRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryDate) SetRumBrowserAndMobileSessionCount(v int64)

SetRumBrowserAndMobileSessionCount gets a reference to the given int64 and assigns it to the RumBrowserAndMobileSessionCount field.

func (*UsageSummaryDate) SetRumSessionCountSum ¶

func (o *UsageSummaryDate) SetRumSessionCountSum(v int64)

SetRumSessionCountSum gets a reference to the given int64 and assigns it to the RumSessionCountSum field.

func (*UsageSummaryDate) SetRumTotalSessionCountSum ¶

func (o *UsageSummaryDate) SetRumTotalSessionCountSum(v int64)

SetRumTotalSessionCountSum gets a reference to the given int64 and assigns it to the RumTotalSessionCountSum field.

func (*UsageSummaryDate) SetRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDate) SetRumUnitsSum(v int64)

SetRumUnitsSum gets a reference to the given int64 and assigns it to the RumUnitsSum field.

func (*UsageSummaryDate) SetSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDate) SetSdsLogsScannedBytesSum(v int64)

SetSdsLogsScannedBytesSum gets a reference to the given int64 and assigns it to the SdsLogsScannedBytesSum field.

func (*UsageSummaryDate) SetSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDate) SetSdsTotalScannedBytesSum(v int64)

SetSdsTotalScannedBytesSum gets a reference to the given int64 and assigns it to the SdsTotalScannedBytesSum field.

func (*UsageSummaryDate) SetSyntheticsBrowserCheckCallsCountSum ¶

func (o *UsageSummaryDate) SetSyntheticsBrowserCheckCallsCountSum(v int64)

SetSyntheticsBrowserCheckCallsCountSum gets a reference to the given int64 and assigns it to the SyntheticsBrowserCheckCallsCountSum field.

func (*UsageSummaryDate) SetSyntheticsCheckCallsCountSum ¶

func (o *UsageSummaryDate) SetSyntheticsCheckCallsCountSum(v int64)

SetSyntheticsCheckCallsCountSum gets a reference to the given int64 and assigns it to the SyntheticsCheckCallsCountSum field.

func (*UsageSummaryDate) SetTraceSearchIndexedEventsCountSum ¶

func (o *UsageSummaryDate) SetTraceSearchIndexedEventsCountSum(v int64)

SetTraceSearchIndexedEventsCountSum gets a reference to the given int64 and assigns it to the TraceSearchIndexedEventsCountSum field.

func (*UsageSummaryDate) SetTwolIngestedEventsBytesSum ¶

func (o *UsageSummaryDate) SetTwolIngestedEventsBytesSum(v int64)

SetTwolIngestedEventsBytesSum gets a reference to the given int64 and assigns it to the TwolIngestedEventsBytesSum field.

func (*UsageSummaryDate) SetVsphereHostTop99p ¶

func (o *UsageSummaryDate) SetVsphereHostTop99p(v int64)

SetVsphereHostTop99p gets a reference to the given int64 and assigns it to the VsphereHostTop99p field.

func (*UsageSummaryDate) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSummaryDateOrg ¶

type UsageSummaryDateOrg struct {
	// Shows the 99th percentile of all agent hosts over all hours in the current date for the given org.
	AgentHostTop99p *int64 `json:"agent_host_top99p,omitempty"`
	// Shows the 99th percentile of all Azure app services using APM over all hours in the current date for the given org.
	ApmAzureAppServiceHostTop99p *int64 `json:"apm_azure_app_service_host_top99p,omitempty"`
	// Shows the 99th percentile of all distinct APM hosts over all hours in the current date for the given org.
	ApmHostTop99p *int64 `json:"apm_host_top99p,omitempty"`
	// Shows the sum of all audit logs lines indexed over all hours in the current date for the given org.
	AuditLogsLinesIndexedSum *int64 `json:"audit_logs_lines_indexed_sum,omitempty"`
	// The average profiled task count for Fargate Profiling.
	AvgProfiledFargateTasks *int64 `json:"avg_profiled_fargate_tasks,omitempty"`
	// Shows the 99th percentile of all AWS hosts over all hours in the current date for the given org.
	AwsHostTop99p *int64 `json:"aws_host_top99p,omitempty"`
	// Shows the sum of all AWS Lambda invocations over all hours in the current date for the given org.
	AwsLambdaFuncCount *int64 `json:"aws_lambda_func_count,omitempty"`
	// Shows the sum of all AWS Lambda invocations over all hours in the current date for the given org.
	AwsLambdaInvocationsSum *int64 `json:"aws_lambda_invocations_sum,omitempty"`
	// Shows the 99th percentile of all Azure app services over all hours in the current date for the given org.
	AzureAppServiceTop99p *int64 `json:"azure_app_service_top99p,omitempty"`
	// Shows the sum of all log bytes ingested over all hours in the current date for the given org.
	BillableIngestedBytesSum *int64 `json:"billable_ingested_bytes_sum,omitempty"`
	// Shows the sum of all browser lite sessions over all hours in the current date for the given org.
	BrowserRumLiteSessionCountSum *int64 `json:"browser_rum_lite_session_count_sum,omitempty"`
	// Shows the sum of all browser replay sessions over all hours in the current date for the given org.
	BrowserRumReplaySessionCountSum *int64 `json:"browser_rum_replay_session_count_sum,omitempty"`
	// Shows the sum of all browser RUM units over all hours in the current date for the given org.
	BrowserRumUnitsSum *int64 `json:"browser_rum_units_sum,omitempty"`
	// Shows the sum of all CI pipeline indexed spans over all hours in the current date for the given org.
	CiPipelineIndexedSpansSum *int64 `json:"ci_pipeline_indexed_spans_sum,omitempty"`
	// Shows the sum of all CI test indexed spans over all hours in the current date for the given org.
	CiTestIndexedSpansSum *int64 `json:"ci_test_indexed_spans_sum,omitempty"`
	// Shows the high-water mark of all CI visibility pipeline committers over all hours in the current date for the given org.
	CiVisibilityPipelineCommittersHwm *int64 `json:"ci_visibility_pipeline_committers_hwm,omitempty"`
	// Shows the high-water mark of all CI visibility test committers over all hours in the current date for the given org.
	CiVisibilityTestCommittersHwm *int64 `json:"ci_visibility_test_committers_hwm,omitempty"`
	// Shows the average of all distinct containers over all hours in the current date for the given org.
	ContainerAvg *int64 `json:"container_avg,omitempty"`
	// Shows the high-water mark of all distinct containers over all hours in the current date for the given org.
	ContainerHwm *int64 `json:"container_hwm,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management Azure app services hosts over all hours in the current date for the given org.
	CspmAasHostTop99p *int64 `json:"cspm_aas_host_top99p,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management Azure hosts over all hours in the current date for the given org.
	CspmAzureHostTop99p *int64 `json:"cspm_azure_host_top99p,omitempty"`
	// Shows the average number of Cloud Security Posture Management containers over all hours in the current date for the given org.
	CspmContainerAvg *int64 `json:"cspm_container_avg,omitempty"`
	// Shows the high-water mark of Cloud Security Posture Management containers over all hours in the current date for the given org.
	CspmContainerHwm *int64 `json:"cspm_container_hwm,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management hosts over all hours in the current date for the given org.
	CspmHostTop99p *int64 `json:"cspm_host_top99p,omitempty"`
	// Shows the average number of distinct custom metrics over all hours in the current date for the given org.
	CustomTsAvg *int64 `json:"custom_ts_avg,omitempty"`
	// Shows the average of all distinct Cloud Workload Security containers over all hours in the current date for the given org.
	CwsContainerCountAvg *int64 `json:"cws_container_count_avg,omitempty"`
	// Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current date for the given org.
	CwsHostTop99p *int64 `json:"cws_host_top99p,omitempty"`
	// Shows the 99th percentile of all Database Monitoring hosts over all hours in the current month for the given org.
	DbmHostTop99pSum *int64 `json:"dbm_host_top99p_sum,omitempty"`
	// Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org.
	DbmQueriesAvgSum *int64 `json:"dbm_queries_avg_sum,omitempty"`
	// The average task count for Fargate.
	FargateTasksCountAvg *int64 `json:"fargate_tasks_count_avg,omitempty"`
	// Shows the high-water mark of all Fargate tasks over all hours in the current date for the given org.
	FargateTasksCountHwm *int64 `json:"fargate_tasks_count_hwm,omitempty"`
	// Shows the 99th percentile of all GCP hosts over all hours in the current date for the given org.
	GcpHostTop99p *int64 `json:"gcp_host_top99p,omitempty"`
	// Shows the 99th percentile of all Heroku dynos over all hours in the current date for the given org.
	HerokuHostTop99p *int64 `json:"heroku_host_top99p,omitempty"`
	// The organization id.
	Id *string `json:"id,omitempty"`
	// Shows the high-water mark of incident management monthly active users over all hours in the current date for the given org.
	IncidentManagementMonthlyActiveUsersHwm *int64 `json:"incident_management_monthly_active_users_hwm,omitempty"`
	// Shows the sum of all log events indexed over all hours in the current date for the given org.
	IndexedEventsCountSum *int64 `json:"indexed_events_count_sum,omitempty"`
	// Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for the given org.
	InfraHostTop99p *int64 `json:"infra_host_top99p,omitempty"`
	// Shows the sum of all log bytes ingested over all hours in the current date for the given org.
	IngestedEventsBytesSum *int64 `json:"ingested_events_bytes_sum,omitempty"`
	// Shows the sum of all IoT devices over all hours in the current date for the given org.
	IotDeviceAggSum *int64 `json:"iot_device_agg_sum,omitempty"`
	// Shows the 99th percentile of all IoT devices over all hours in the current date for the given org.
	IotDeviceTop99pSum *int64 `json:"iot_device_top99p_sum,omitempty"`
	// Shows the sum of all mobile lite sessions over all hours in the current date for the given org.
	MobileRumLiteSessionCountSum *int64 `json:"mobile_rum_lite_session_count_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for the given org.
	MobileRumSessionCountAndroidSum *int64 `json:"mobile_rum_session_count_android_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for the given org.
	MobileRumSessionCountIosSum *int64 `json:"mobile_rum_session_count_ios_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on React Native over all hours in the current date for the given org.
	MobileRumSessionCountReactnativeSum *int64 `json:"mobile_rum_session_count_reactnative_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions over all hours in the current date for the given org.
	MobileRumSessionCountSum *int64 `json:"mobile_rum_session_count_sum,omitempty"`
	// Shows the sum of all mobile RUM units over all hours in the current date for the given org.
	MobileRumUnitsSum *int64 `json:"mobile_rum_units_sum,omitempty"`
	// The organization name.
	Name *string `json:"name,omitempty"`
	// Shows the sum of all Network flows indexed over all hours in the current date for the given org.
	NetflowIndexedEventsCountSum *int64 `json:"netflow_indexed_events_count_sum,omitempty"`
	// Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for the given org.
	NpmHostTop99p *int64 `json:"npm_host_top99p,omitempty"`
	// Sum of all observability pipelines bytes processed over all hours in the current date for the given org.
	ObservabilityPipelinesBytesProcessedSum *int64 `json:"observability_pipelines_bytes_processed_sum,omitempty"`
	// Sum of all online archived events over all hours in the current date for the given org.
	OnlineArchiveEventsCountSum *int64 `json:"online_archive_events_count_sum,omitempty"`
	// Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
	OpentelemetryHostTop99p *int64 `json:"opentelemetry_host_top99p,omitempty"`
	// Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org.
	ProfilingHostTop99p *int64 `json:"profiling_host_top99p,omitempty"`
	// The organization public id.
	PublicId *string `json:"public_id,omitempty"`
	// Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current date for the given org.
	RumBrowserAndMobileSessionCount *int64 `json:"rum_browser_and_mobile_session_count,omitempty"`
	// Shows the sum of all browser RUM Lite Sessions over all hours in the current date for the given org.
	RumSessionCountSum *int64 `json:"rum_session_count_sum,omitempty"`
	// Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for the given org.
	RumTotalSessionCountSum *int64 `json:"rum_total_session_count_sum,omitempty"`
	// Shows the sum of all browser and mobile RUM units over all hours in the current date for the given org.
	RumUnitsSum *int64 `json:"rum_units_sum,omitempty"`
	// Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for the given org.
	SdsLogsScannedBytesSum *int64 `json:"sds_logs_scanned_bytes_sum,omitempty"`
	// Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for the given org.
	SdsTotalScannedBytesSum *int64 `json:"sds_total_scanned_bytes_sum,omitempty"`
	// Shows the sum of all Synthetic browser tests over all hours in the current date for the given org.
	SyntheticsBrowserCheckCallsCountSum *int64 `json:"synthetics_browser_check_calls_count_sum,omitempty"`
	// Shows the sum of all Synthetic API tests over all hours in the current date for the given org.
	SyntheticsCheckCallsCountSum *int64 `json:"synthetics_check_calls_count_sum,omitempty"`
	// Shows the sum of all Indexed Spans indexed over all hours in the current date for the given org.
	TraceSearchIndexedEventsCountSum *int64 `json:"trace_search_indexed_events_count_sum,omitempty"`
	// Shows the sum of all ingested APM span bytes over all hours in the current date for the given org.
	TwolIngestedEventsBytesSum *int64 `json:"twol_ingested_events_bytes_sum,omitempty"`
	// Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org.
	VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSummaryDateOrg Global hourly report of all data billed by Datadog for a given organization.

func NewUsageSummaryDateOrg ¶

func NewUsageSummaryDateOrg() *UsageSummaryDateOrg

NewUsageSummaryDateOrg instantiates a new UsageSummaryDateOrg 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 NewUsageSummaryDateOrgWithDefaults ¶

func NewUsageSummaryDateOrgWithDefaults() *UsageSummaryDateOrg

NewUsageSummaryDateOrgWithDefaults instantiates a new UsageSummaryDateOrg 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 (*UsageSummaryDateOrg) GetAgentHostTop99p ¶

func (o *UsageSummaryDateOrg) GetAgentHostTop99p() int64

GetAgentHostTop99p returns the AgentHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetAgentHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetAgentHostTop99pOk() (*int64, bool)

GetAgentHostTop99pOk returns a tuple with the AgentHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetApmAzureAppServiceHostTop99p ¶

func (o *UsageSummaryDateOrg) GetApmAzureAppServiceHostTop99p() int64

GetApmAzureAppServiceHostTop99p returns the ApmAzureAppServiceHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetApmAzureAppServiceHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetApmAzureAppServiceHostTop99pOk() (*int64, bool)

GetApmAzureAppServiceHostTop99pOk returns a tuple with the ApmAzureAppServiceHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetApmHostTop99p ¶

func (o *UsageSummaryDateOrg) GetApmHostTop99p() int64

GetApmHostTop99p returns the ApmHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetApmHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetApmHostTop99pOk() (*int64, bool)

GetApmHostTop99pOk returns a tuple with the ApmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetAuditLogsLinesIndexedSum ¶

func (o *UsageSummaryDateOrg) GetAuditLogsLinesIndexedSum() int64

GetAuditLogsLinesIndexedSum returns the AuditLogsLinesIndexedSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetAuditLogsLinesIndexedSumOk ¶

func (o *UsageSummaryDateOrg) GetAuditLogsLinesIndexedSumOk() (*int64, bool)

GetAuditLogsLinesIndexedSumOk returns a tuple with the AuditLogsLinesIndexedSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetAvgProfiledFargateTasks() int64

GetAvgProfiledFargateTasks returns the AvgProfiledFargateTasks field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetAvgProfiledFargateTasksOk ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetAvgProfiledFargateTasksOk() (*int64, bool)

GetAvgProfiledFargateTasksOk returns a tuple with the AvgProfiledFargateTasks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetAwsHostTop99p ¶

func (o *UsageSummaryDateOrg) GetAwsHostTop99p() int64

GetAwsHostTop99p returns the AwsHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetAwsHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetAwsHostTop99pOk() (*int64, bool)

GetAwsHostTop99pOk returns a tuple with the AwsHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetAwsLambdaFuncCount ¶

func (o *UsageSummaryDateOrg) GetAwsLambdaFuncCount() int64

GetAwsLambdaFuncCount returns the AwsLambdaFuncCount field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetAwsLambdaFuncCountOk ¶

func (o *UsageSummaryDateOrg) GetAwsLambdaFuncCountOk() (*int64, bool)

GetAwsLambdaFuncCountOk returns a tuple with the AwsLambdaFuncCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetAwsLambdaInvocationsSum ¶

func (o *UsageSummaryDateOrg) GetAwsLambdaInvocationsSum() int64

GetAwsLambdaInvocationsSum returns the AwsLambdaInvocationsSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetAwsLambdaInvocationsSumOk ¶

func (o *UsageSummaryDateOrg) GetAwsLambdaInvocationsSumOk() (*int64, bool)

GetAwsLambdaInvocationsSumOk returns a tuple with the AwsLambdaInvocationsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetAzureAppServiceTop99p ¶

func (o *UsageSummaryDateOrg) GetAzureAppServiceTop99p() int64

GetAzureAppServiceTop99p returns the AzureAppServiceTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetAzureAppServiceTop99pOk ¶

func (o *UsageSummaryDateOrg) GetAzureAppServiceTop99pOk() (*int64, bool)

GetAzureAppServiceTop99pOk returns a tuple with the AzureAppServiceTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetBillableIngestedBytesSum ¶

func (o *UsageSummaryDateOrg) GetBillableIngestedBytesSum() int64

GetBillableIngestedBytesSum returns the BillableIngestedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetBillableIngestedBytesSumOk ¶

func (o *UsageSummaryDateOrg) GetBillableIngestedBytesSumOk() (*int64, bool)

GetBillableIngestedBytesSumOk returns a tuple with the BillableIngestedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetBrowserRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetBrowserRumLiteSessionCountSum() int64

GetBrowserRumLiteSessionCountSum returns the BrowserRumLiteSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetBrowserRumLiteSessionCountSumOk ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetBrowserRumLiteSessionCountSumOk() (*int64, bool)

GetBrowserRumLiteSessionCountSumOk returns a tuple with the BrowserRumLiteSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetBrowserRumReplaySessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetBrowserRumReplaySessionCountSum() int64

GetBrowserRumReplaySessionCountSum returns the BrowserRumReplaySessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetBrowserRumReplaySessionCountSumOk ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetBrowserRumReplaySessionCountSumOk() (*int64, bool)

GetBrowserRumReplaySessionCountSumOk returns a tuple with the BrowserRumReplaySessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetBrowserRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetBrowserRumUnitsSum() int64

GetBrowserRumUnitsSum returns the BrowserRumUnitsSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetBrowserRumUnitsSumOk ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetBrowserRumUnitsSumOk() (*int64, bool)

GetBrowserRumUnitsSumOk returns a tuple with the BrowserRumUnitsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCiPipelineIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiPipelineIndexedSpansSum() int64

GetCiPipelineIndexedSpansSum returns the CiPipelineIndexedSpansSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCiPipelineIndexedSpansSumOk ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiPipelineIndexedSpansSumOk() (*int64, bool)

GetCiPipelineIndexedSpansSumOk returns a tuple with the CiPipelineIndexedSpansSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCiTestIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiTestIndexedSpansSum() int64

GetCiTestIndexedSpansSum returns the CiTestIndexedSpansSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCiTestIndexedSpansSumOk ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiTestIndexedSpansSumOk() (*int64, bool)

GetCiTestIndexedSpansSumOk returns a tuple with the CiTestIndexedSpansSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCiVisibilityPipelineCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiVisibilityPipelineCommittersHwm() int64

GetCiVisibilityPipelineCommittersHwm returns the CiVisibilityPipelineCommittersHwm field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCiVisibilityPipelineCommittersHwmOk ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiVisibilityPipelineCommittersHwmOk() (*int64, bool)

GetCiVisibilityPipelineCommittersHwmOk returns a tuple with the CiVisibilityPipelineCommittersHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCiVisibilityTestCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiVisibilityTestCommittersHwm() int64

GetCiVisibilityTestCommittersHwm returns the CiVisibilityTestCommittersHwm field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCiVisibilityTestCommittersHwmOk ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) GetCiVisibilityTestCommittersHwmOk() (*int64, bool)

GetCiVisibilityTestCommittersHwmOk returns a tuple with the CiVisibilityTestCommittersHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetContainerAvg ¶

func (o *UsageSummaryDateOrg) GetContainerAvg() int64

GetContainerAvg returns the ContainerAvg field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetContainerAvgOk ¶

func (o *UsageSummaryDateOrg) GetContainerAvgOk() (*int64, bool)

GetContainerAvgOk returns a tuple with the ContainerAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetContainerHwm ¶

func (o *UsageSummaryDateOrg) GetContainerHwm() int64

GetContainerHwm returns the ContainerHwm field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetContainerHwmOk ¶

func (o *UsageSummaryDateOrg) GetContainerHwmOk() (*int64, bool)

GetContainerHwmOk returns a tuple with the ContainerHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCspmAasHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) GetCspmAasHostTop99p() int64

GetCspmAasHostTop99p returns the CspmAasHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCspmAasHostTop99pOk ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) GetCspmAasHostTop99pOk() (*int64, bool)

GetCspmAasHostTop99pOk returns a tuple with the CspmAasHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCspmAzureHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) GetCspmAzureHostTop99p() int64

GetCspmAzureHostTop99p returns the CspmAzureHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCspmAzureHostTop99pOk ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) GetCspmAzureHostTop99pOk() (*int64, bool)

GetCspmAzureHostTop99pOk returns a tuple with the CspmAzureHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCspmContainerAvg ¶

func (o *UsageSummaryDateOrg) GetCspmContainerAvg() int64

GetCspmContainerAvg returns the CspmContainerAvg field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCspmContainerAvgOk ¶

func (o *UsageSummaryDateOrg) GetCspmContainerAvgOk() (*int64, bool)

GetCspmContainerAvgOk returns a tuple with the CspmContainerAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCspmContainerHwm ¶

func (o *UsageSummaryDateOrg) GetCspmContainerHwm() int64

GetCspmContainerHwm returns the CspmContainerHwm field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCspmContainerHwmOk ¶

func (o *UsageSummaryDateOrg) GetCspmContainerHwmOk() (*int64, bool)

GetCspmContainerHwmOk returns a tuple with the CspmContainerHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCspmHostTop99p ¶

func (o *UsageSummaryDateOrg) GetCspmHostTop99p() int64

GetCspmHostTop99p returns the CspmHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCspmHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetCspmHostTop99pOk() (*int64, bool)

GetCspmHostTop99pOk returns a tuple with the CspmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCustomTsAvg ¶

func (o *UsageSummaryDateOrg) GetCustomTsAvg() int64

GetCustomTsAvg returns the CustomTsAvg field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCustomTsAvgOk ¶

func (o *UsageSummaryDateOrg) GetCustomTsAvgOk() (*int64, bool)

GetCustomTsAvgOk returns a tuple with the CustomTsAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCwsContainerCountAvg ¶

func (o *UsageSummaryDateOrg) GetCwsContainerCountAvg() int64

GetCwsContainerCountAvg returns the CwsContainerCountAvg field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCwsContainerCountAvgOk ¶

func (o *UsageSummaryDateOrg) GetCwsContainerCountAvgOk() (*int64, bool)

GetCwsContainerCountAvgOk returns a tuple with the CwsContainerCountAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetCwsHostTop99p ¶

func (o *UsageSummaryDateOrg) GetCwsHostTop99p() int64

GetCwsHostTop99p returns the CwsHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetCwsHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetCwsHostTop99pOk() (*int64, bool)

GetCwsHostTop99pOk returns a tuple with the CwsHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetDbmHostTop99pSum ¶ added in v1.3.0

func (o *UsageSummaryDateOrg) GetDbmHostTop99pSum() int64

GetDbmHostTop99pSum returns the DbmHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetDbmHostTop99pSumOk ¶ added in v1.3.0

func (o *UsageSummaryDateOrg) GetDbmHostTop99pSumOk() (*int64, bool)

GetDbmHostTop99pSumOk returns a tuple with the DbmHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetDbmQueriesAvgSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) GetDbmQueriesAvgSum() int64

GetDbmQueriesAvgSum returns the DbmQueriesAvgSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetDbmQueriesAvgSumOk ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) GetDbmQueriesAvgSumOk() (*int64, bool)

GetDbmQueriesAvgSumOk returns a tuple with the DbmQueriesAvgSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetFargateTasksCountAvg ¶

func (o *UsageSummaryDateOrg) GetFargateTasksCountAvg() int64

GetFargateTasksCountAvg returns the FargateTasksCountAvg field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetFargateTasksCountAvgOk ¶

func (o *UsageSummaryDateOrg) GetFargateTasksCountAvgOk() (*int64, bool)

GetFargateTasksCountAvgOk returns a tuple with the FargateTasksCountAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetFargateTasksCountHwm ¶

func (o *UsageSummaryDateOrg) GetFargateTasksCountHwm() int64

GetFargateTasksCountHwm returns the FargateTasksCountHwm field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetFargateTasksCountHwmOk ¶

func (o *UsageSummaryDateOrg) GetFargateTasksCountHwmOk() (*int64, bool)

GetFargateTasksCountHwmOk returns a tuple with the FargateTasksCountHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetGcpHostTop99p ¶

func (o *UsageSummaryDateOrg) GetGcpHostTop99p() int64

GetGcpHostTop99p returns the GcpHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetGcpHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetGcpHostTop99pOk() (*int64, bool)

GetGcpHostTop99pOk returns a tuple with the GcpHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetHerokuHostTop99p ¶

func (o *UsageSummaryDateOrg) GetHerokuHostTop99p() int64

GetHerokuHostTop99p returns the HerokuHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetHerokuHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetHerokuHostTop99pOk() (*int64, bool)

GetHerokuHostTop99pOk returns a tuple with the HerokuHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetId ¶

func (o *UsageSummaryDateOrg) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetIdOk ¶

func (o *UsageSummaryDateOrg) 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 (*UsageSummaryDateOrg) GetIncidentManagementMonthlyActiveUsersHwm ¶

func (o *UsageSummaryDateOrg) GetIncidentManagementMonthlyActiveUsersHwm() int64

GetIncidentManagementMonthlyActiveUsersHwm returns the IncidentManagementMonthlyActiveUsersHwm field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetIncidentManagementMonthlyActiveUsersHwmOk ¶

func (o *UsageSummaryDateOrg) GetIncidentManagementMonthlyActiveUsersHwmOk() (*int64, bool)

GetIncidentManagementMonthlyActiveUsersHwmOk returns a tuple with the IncidentManagementMonthlyActiveUsersHwm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) GetIndexedEventsCountSum() int64

GetIndexedEventsCountSum returns the IndexedEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetIndexedEventsCountSumOk ¶

func (o *UsageSummaryDateOrg) GetIndexedEventsCountSumOk() (*int64, bool)

GetIndexedEventsCountSumOk returns a tuple with the IndexedEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetInfraHostTop99p ¶

func (o *UsageSummaryDateOrg) GetInfraHostTop99p() int64

GetInfraHostTop99p returns the InfraHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetInfraHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetInfraHostTop99pOk() (*int64, bool)

GetInfraHostTop99pOk returns a tuple with the InfraHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetIngestedEventsBytesSum ¶

func (o *UsageSummaryDateOrg) GetIngestedEventsBytesSum() int64

GetIngestedEventsBytesSum returns the IngestedEventsBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetIngestedEventsBytesSumOk ¶

func (o *UsageSummaryDateOrg) GetIngestedEventsBytesSumOk() (*int64, bool)

GetIngestedEventsBytesSumOk returns a tuple with the IngestedEventsBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetIotDeviceAggSum ¶

func (o *UsageSummaryDateOrg) GetIotDeviceAggSum() int64

GetIotDeviceAggSum returns the IotDeviceAggSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetIotDeviceAggSumOk ¶

func (o *UsageSummaryDateOrg) GetIotDeviceAggSumOk() (*int64, bool)

GetIotDeviceAggSumOk returns a tuple with the IotDeviceAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetIotDeviceTop99pSum ¶

func (o *UsageSummaryDateOrg) GetIotDeviceTop99pSum() int64

GetIotDeviceTop99pSum returns the IotDeviceTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetIotDeviceTop99pSumOk ¶

func (o *UsageSummaryDateOrg) GetIotDeviceTop99pSumOk() (*int64, bool)

GetIotDeviceTop99pSumOk returns a tuple with the IotDeviceTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetMobileRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetMobileRumLiteSessionCountSum() int64

GetMobileRumLiteSessionCountSum returns the MobileRumLiteSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetMobileRumLiteSessionCountSumOk ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetMobileRumLiteSessionCountSumOk() (*int64, bool)

GetMobileRumLiteSessionCountSumOk returns a tuple with the MobileRumLiteSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountAndroidSum ¶

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountAndroidSum() int64

GetMobileRumSessionCountAndroidSum returns the MobileRumSessionCountAndroidSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountAndroidSumOk ¶

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountAndroidSumOk() (*int64, bool)

GetMobileRumSessionCountAndroidSumOk returns a tuple with the MobileRumSessionCountAndroidSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountIosSum ¶

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountIosSum() int64

GetMobileRumSessionCountIosSum returns the MobileRumSessionCountIosSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountIosSumOk ¶

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountIosSumOk() (*int64, bool)

GetMobileRumSessionCountIosSumOk returns a tuple with the MobileRumSessionCountIosSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountReactnativeSum ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountReactnativeSum() int64

GetMobileRumSessionCountReactnativeSum returns the MobileRumSessionCountReactnativeSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountReactnativeSumOk ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountReactnativeSumOk() (*int64, bool)

GetMobileRumSessionCountReactnativeSumOk returns a tuple with the MobileRumSessionCountReactnativeSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountSum ¶

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountSum() int64

GetMobileRumSessionCountSum returns the MobileRumSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetMobileRumSessionCountSumOk ¶

func (o *UsageSummaryDateOrg) GetMobileRumSessionCountSumOk() (*int64, bool)

GetMobileRumSessionCountSumOk returns a tuple with the MobileRumSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetMobileRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetMobileRumUnitsSum() int64

GetMobileRumUnitsSum returns the MobileRumUnitsSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetMobileRumUnitsSumOk ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetMobileRumUnitsSumOk() (*int64, bool)

GetMobileRumUnitsSumOk returns a tuple with the MobileRumUnitsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetName ¶

func (o *UsageSummaryDateOrg) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetNameOk ¶

func (o *UsageSummaryDateOrg) 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 (*UsageSummaryDateOrg) GetNetflowIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) GetNetflowIndexedEventsCountSum() int64

GetNetflowIndexedEventsCountSum returns the NetflowIndexedEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetNetflowIndexedEventsCountSumOk ¶

func (o *UsageSummaryDateOrg) GetNetflowIndexedEventsCountSumOk() (*int64, bool)

GetNetflowIndexedEventsCountSumOk returns a tuple with the NetflowIndexedEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetNpmHostTop99p ¶

func (o *UsageSummaryDateOrg) GetNpmHostTop99p() int64

GetNpmHostTop99p returns the NpmHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetNpmHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetNpmHostTop99pOk() (*int64, bool)

GetNpmHostTop99pOk returns a tuple with the NpmHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetObservabilityPipelinesBytesProcessedSum ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) GetObservabilityPipelinesBytesProcessedSum() int64

GetObservabilityPipelinesBytesProcessedSum returns the ObservabilityPipelinesBytesProcessedSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetObservabilityPipelinesBytesProcessedSumOk ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) GetObservabilityPipelinesBytesProcessedSumOk() (*int64, bool)

GetObservabilityPipelinesBytesProcessedSumOk returns a tuple with the ObservabilityPipelinesBytesProcessedSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetOnlineArchiveEventsCountSum ¶ added in v1.11.0

func (o *UsageSummaryDateOrg) GetOnlineArchiveEventsCountSum() int64

GetOnlineArchiveEventsCountSum returns the OnlineArchiveEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetOnlineArchiveEventsCountSumOk ¶ added in v1.11.0

func (o *UsageSummaryDateOrg) GetOnlineArchiveEventsCountSumOk() (*int64, bool)

GetOnlineArchiveEventsCountSumOk returns a tuple with the OnlineArchiveEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetOpentelemetryHostTop99p ¶

func (o *UsageSummaryDateOrg) GetOpentelemetryHostTop99p() int64

GetOpentelemetryHostTop99p returns the OpentelemetryHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetOpentelemetryHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetOpentelemetryHostTop99pOk() (*int64, bool)

GetOpentelemetryHostTop99pOk returns a tuple with the OpentelemetryHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetProfilingHostTop99p ¶

func (o *UsageSummaryDateOrg) GetProfilingHostTop99p() int64

GetProfilingHostTop99p returns the ProfilingHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetProfilingHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetProfilingHostTop99pOk() (*int64, bool)

GetProfilingHostTop99pOk returns a tuple with the ProfilingHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetPublicId ¶

func (o *UsageSummaryDateOrg) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetPublicIdOk ¶

func (o *UsageSummaryDateOrg) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryDateOrg) GetRumBrowserAndMobileSessionCount() int64

GetRumBrowserAndMobileSessionCount returns the RumBrowserAndMobileSessionCount field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetRumBrowserAndMobileSessionCountOk ¶ added in v1.8.0

func (o *UsageSummaryDateOrg) GetRumBrowserAndMobileSessionCountOk() (*int64, bool)

GetRumBrowserAndMobileSessionCountOk returns a tuple with the RumBrowserAndMobileSessionCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetRumSessionCountSum ¶

func (o *UsageSummaryDateOrg) GetRumSessionCountSum() int64

GetRumSessionCountSum returns the RumSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetRumSessionCountSumOk ¶

func (o *UsageSummaryDateOrg) GetRumSessionCountSumOk() (*int64, bool)

GetRumSessionCountSumOk returns a tuple with the RumSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetRumTotalSessionCountSum ¶

func (o *UsageSummaryDateOrg) GetRumTotalSessionCountSum() int64

GetRumTotalSessionCountSum returns the RumTotalSessionCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetRumTotalSessionCountSumOk ¶

func (o *UsageSummaryDateOrg) GetRumTotalSessionCountSumOk() (*int64, bool)

GetRumTotalSessionCountSumOk returns a tuple with the RumTotalSessionCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetRumUnitsSum() int64

GetRumUnitsSum returns the RumUnitsSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetRumUnitsSumOk ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) GetRumUnitsSumOk() (*int64, bool)

GetRumUnitsSumOk returns a tuple with the RumUnitsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) GetSdsLogsScannedBytesSum() int64

GetSdsLogsScannedBytesSum returns the SdsLogsScannedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetSdsLogsScannedBytesSumOk ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) GetSdsLogsScannedBytesSumOk() (*int64, bool)

GetSdsLogsScannedBytesSumOk returns a tuple with the SdsLogsScannedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) GetSdsTotalScannedBytesSum() int64

GetSdsTotalScannedBytesSum returns the SdsTotalScannedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetSdsTotalScannedBytesSumOk ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) GetSdsTotalScannedBytesSumOk() (*int64, bool)

GetSdsTotalScannedBytesSumOk returns a tuple with the SdsTotalScannedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetSyntheticsBrowserCheckCallsCountSum ¶

func (o *UsageSummaryDateOrg) GetSyntheticsBrowserCheckCallsCountSum() int64

GetSyntheticsBrowserCheckCallsCountSum returns the SyntheticsBrowserCheckCallsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetSyntheticsBrowserCheckCallsCountSumOk ¶

func (o *UsageSummaryDateOrg) GetSyntheticsBrowserCheckCallsCountSumOk() (*int64, bool)

GetSyntheticsBrowserCheckCallsCountSumOk returns a tuple with the SyntheticsBrowserCheckCallsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetSyntheticsCheckCallsCountSum ¶

func (o *UsageSummaryDateOrg) GetSyntheticsCheckCallsCountSum() int64

GetSyntheticsCheckCallsCountSum returns the SyntheticsCheckCallsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetSyntheticsCheckCallsCountSumOk ¶

func (o *UsageSummaryDateOrg) GetSyntheticsCheckCallsCountSumOk() (*int64, bool)

GetSyntheticsCheckCallsCountSumOk returns a tuple with the SyntheticsCheckCallsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetTraceSearchIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) GetTraceSearchIndexedEventsCountSum() int64

GetTraceSearchIndexedEventsCountSum returns the TraceSearchIndexedEventsCountSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetTraceSearchIndexedEventsCountSumOk ¶

func (o *UsageSummaryDateOrg) GetTraceSearchIndexedEventsCountSumOk() (*int64, bool)

GetTraceSearchIndexedEventsCountSumOk returns a tuple with the TraceSearchIndexedEventsCountSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetTwolIngestedEventsBytesSum ¶

func (o *UsageSummaryDateOrg) GetTwolIngestedEventsBytesSum() int64

GetTwolIngestedEventsBytesSum returns the TwolIngestedEventsBytesSum field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetTwolIngestedEventsBytesSumOk ¶

func (o *UsageSummaryDateOrg) GetTwolIngestedEventsBytesSumOk() (*int64, bool)

GetTwolIngestedEventsBytesSumOk returns a tuple with the TwolIngestedEventsBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) GetVsphereHostTop99p ¶

func (o *UsageSummaryDateOrg) GetVsphereHostTop99p() int64

GetVsphereHostTop99p returns the VsphereHostTop99p field value if set, zero value otherwise.

func (*UsageSummaryDateOrg) GetVsphereHostTop99pOk ¶

func (o *UsageSummaryDateOrg) GetVsphereHostTop99pOk() (*int64, bool)

GetVsphereHostTop99pOk returns a tuple with the VsphereHostTop99p field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryDateOrg) HasAgentHostTop99p ¶

func (o *UsageSummaryDateOrg) HasAgentHostTop99p() bool

HasAgentHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasApmAzureAppServiceHostTop99p ¶

func (o *UsageSummaryDateOrg) HasApmAzureAppServiceHostTop99p() bool

HasApmAzureAppServiceHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasApmHostTop99p ¶

func (o *UsageSummaryDateOrg) HasApmHostTop99p() bool

HasApmHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasAuditLogsLinesIndexedSum ¶

func (o *UsageSummaryDateOrg) HasAuditLogsLinesIndexedSum() bool

HasAuditLogsLinesIndexedSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) HasAvgProfiledFargateTasks() bool

HasAvgProfiledFargateTasks returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasAwsHostTop99p ¶

func (o *UsageSummaryDateOrg) HasAwsHostTop99p() bool

HasAwsHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasAwsLambdaFuncCount ¶

func (o *UsageSummaryDateOrg) HasAwsLambdaFuncCount() bool

HasAwsLambdaFuncCount returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasAwsLambdaInvocationsSum ¶

func (o *UsageSummaryDateOrg) HasAwsLambdaInvocationsSum() bool

HasAwsLambdaInvocationsSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasAzureAppServiceTop99p ¶

func (o *UsageSummaryDateOrg) HasAzureAppServiceTop99p() bool

HasAzureAppServiceTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasBillableIngestedBytesSum ¶

func (o *UsageSummaryDateOrg) HasBillableIngestedBytesSum() bool

HasBillableIngestedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasBrowserRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) HasBrowserRumLiteSessionCountSum() bool

HasBrowserRumLiteSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasBrowserRumReplaySessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) HasBrowserRumReplaySessionCountSum() bool

HasBrowserRumReplaySessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasBrowserRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) HasBrowserRumUnitsSum() bool

HasBrowserRumUnitsSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCiPipelineIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) HasCiPipelineIndexedSpansSum() bool

HasCiPipelineIndexedSpansSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCiTestIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) HasCiTestIndexedSpansSum() bool

HasCiTestIndexedSpansSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCiVisibilityPipelineCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) HasCiVisibilityPipelineCommittersHwm() bool

HasCiVisibilityPipelineCommittersHwm returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCiVisibilityTestCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) HasCiVisibilityTestCommittersHwm() bool

HasCiVisibilityTestCommittersHwm returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasContainerAvg ¶

func (o *UsageSummaryDateOrg) HasContainerAvg() bool

HasContainerAvg returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasContainerHwm ¶

func (o *UsageSummaryDateOrg) HasContainerHwm() bool

HasContainerHwm returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCspmAasHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) HasCspmAasHostTop99p() bool

HasCspmAasHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCspmAzureHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) HasCspmAzureHostTop99p() bool

HasCspmAzureHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCspmContainerAvg ¶

func (o *UsageSummaryDateOrg) HasCspmContainerAvg() bool

HasCspmContainerAvg returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCspmContainerHwm ¶

func (o *UsageSummaryDateOrg) HasCspmContainerHwm() bool

HasCspmContainerHwm returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCspmHostTop99p ¶

func (o *UsageSummaryDateOrg) HasCspmHostTop99p() bool

HasCspmHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCustomTsAvg ¶

func (o *UsageSummaryDateOrg) HasCustomTsAvg() bool

HasCustomTsAvg returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCwsContainerCountAvg ¶

func (o *UsageSummaryDateOrg) HasCwsContainerCountAvg() bool

HasCwsContainerCountAvg returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasCwsHostTop99p ¶

func (o *UsageSummaryDateOrg) HasCwsHostTop99p() bool

HasCwsHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasDbmHostTop99pSum ¶ added in v1.3.0

func (o *UsageSummaryDateOrg) HasDbmHostTop99pSum() bool

HasDbmHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasDbmQueriesAvgSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) HasDbmQueriesAvgSum() bool

HasDbmQueriesAvgSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasFargateTasksCountAvg ¶

func (o *UsageSummaryDateOrg) HasFargateTasksCountAvg() bool

HasFargateTasksCountAvg returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasFargateTasksCountHwm ¶

func (o *UsageSummaryDateOrg) HasFargateTasksCountHwm() bool

HasFargateTasksCountHwm returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasGcpHostTop99p ¶

func (o *UsageSummaryDateOrg) HasGcpHostTop99p() bool

HasGcpHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasHerokuHostTop99p ¶

func (o *UsageSummaryDateOrg) HasHerokuHostTop99p() bool

HasHerokuHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasId ¶

func (o *UsageSummaryDateOrg) HasId() bool

HasId returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasIncidentManagementMonthlyActiveUsersHwm ¶

func (o *UsageSummaryDateOrg) HasIncidentManagementMonthlyActiveUsersHwm() bool

HasIncidentManagementMonthlyActiveUsersHwm returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) HasIndexedEventsCountSum() bool

HasIndexedEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasInfraHostTop99p ¶

func (o *UsageSummaryDateOrg) HasInfraHostTop99p() bool

HasInfraHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasIngestedEventsBytesSum ¶

func (o *UsageSummaryDateOrg) HasIngestedEventsBytesSum() bool

HasIngestedEventsBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasIotDeviceAggSum ¶

func (o *UsageSummaryDateOrg) HasIotDeviceAggSum() bool

HasIotDeviceAggSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasIotDeviceTop99pSum ¶

func (o *UsageSummaryDateOrg) HasIotDeviceTop99pSum() bool

HasIotDeviceTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasMobileRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) HasMobileRumLiteSessionCountSum() bool

HasMobileRumLiteSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasMobileRumSessionCountAndroidSum ¶

func (o *UsageSummaryDateOrg) HasMobileRumSessionCountAndroidSum() bool

HasMobileRumSessionCountAndroidSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasMobileRumSessionCountIosSum ¶

func (o *UsageSummaryDateOrg) HasMobileRumSessionCountIosSum() bool

HasMobileRumSessionCountIosSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasMobileRumSessionCountReactnativeSum ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) HasMobileRumSessionCountReactnativeSum() bool

HasMobileRumSessionCountReactnativeSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasMobileRumSessionCountSum ¶

func (o *UsageSummaryDateOrg) HasMobileRumSessionCountSum() bool

HasMobileRumSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasMobileRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) HasMobileRumUnitsSum() bool

HasMobileRumUnitsSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasName ¶

func (o *UsageSummaryDateOrg) HasName() bool

HasName returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasNetflowIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) HasNetflowIndexedEventsCountSum() bool

HasNetflowIndexedEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasNpmHostTop99p ¶

func (o *UsageSummaryDateOrg) HasNpmHostTop99p() bool

HasNpmHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasObservabilityPipelinesBytesProcessedSum ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) HasObservabilityPipelinesBytesProcessedSum() bool

HasObservabilityPipelinesBytesProcessedSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasOnlineArchiveEventsCountSum ¶ added in v1.11.0

func (o *UsageSummaryDateOrg) HasOnlineArchiveEventsCountSum() bool

HasOnlineArchiveEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasOpentelemetryHostTop99p ¶

func (o *UsageSummaryDateOrg) HasOpentelemetryHostTop99p() bool

HasOpentelemetryHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasProfilingHostTop99p ¶

func (o *UsageSummaryDateOrg) HasProfilingHostTop99p() bool

HasProfilingHostTop99p returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasPublicId ¶

func (o *UsageSummaryDateOrg) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryDateOrg) HasRumBrowserAndMobileSessionCount() bool

HasRumBrowserAndMobileSessionCount returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasRumSessionCountSum ¶

func (o *UsageSummaryDateOrg) HasRumSessionCountSum() bool

HasRumSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasRumTotalSessionCountSum ¶

func (o *UsageSummaryDateOrg) HasRumTotalSessionCountSum() bool

HasRumTotalSessionCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) HasRumUnitsSum() bool

HasRumUnitsSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) HasSdsLogsScannedBytesSum() bool

HasSdsLogsScannedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) HasSdsTotalScannedBytesSum() bool

HasSdsTotalScannedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasSyntheticsBrowserCheckCallsCountSum ¶

func (o *UsageSummaryDateOrg) HasSyntheticsBrowserCheckCallsCountSum() bool

HasSyntheticsBrowserCheckCallsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasSyntheticsCheckCallsCountSum ¶

func (o *UsageSummaryDateOrg) HasSyntheticsCheckCallsCountSum() bool

HasSyntheticsCheckCallsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasTraceSearchIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) HasTraceSearchIndexedEventsCountSum() bool

HasTraceSearchIndexedEventsCountSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasTwolIngestedEventsBytesSum ¶

func (o *UsageSummaryDateOrg) HasTwolIngestedEventsBytesSum() bool

HasTwolIngestedEventsBytesSum returns a boolean if a field has been set.

func (*UsageSummaryDateOrg) HasVsphereHostTop99p ¶

func (o *UsageSummaryDateOrg) HasVsphereHostTop99p() bool

HasVsphereHostTop99p returns a boolean if a field has been set.

func (UsageSummaryDateOrg) MarshalJSON ¶

func (o UsageSummaryDateOrg) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSummaryDateOrg) SetAgentHostTop99p ¶

func (o *UsageSummaryDateOrg) SetAgentHostTop99p(v int64)

SetAgentHostTop99p gets a reference to the given int64 and assigns it to the AgentHostTop99p field.

func (*UsageSummaryDateOrg) SetApmAzureAppServiceHostTop99p ¶

func (o *UsageSummaryDateOrg) SetApmAzureAppServiceHostTop99p(v int64)

SetApmAzureAppServiceHostTop99p gets a reference to the given int64 and assigns it to the ApmAzureAppServiceHostTop99p field.

func (*UsageSummaryDateOrg) SetApmHostTop99p ¶

func (o *UsageSummaryDateOrg) SetApmHostTop99p(v int64)

SetApmHostTop99p gets a reference to the given int64 and assigns it to the ApmHostTop99p field.

func (*UsageSummaryDateOrg) SetAuditLogsLinesIndexedSum ¶

func (o *UsageSummaryDateOrg) SetAuditLogsLinesIndexedSum(v int64)

SetAuditLogsLinesIndexedSum gets a reference to the given int64 and assigns it to the AuditLogsLinesIndexedSum field.

func (*UsageSummaryDateOrg) SetAvgProfiledFargateTasks ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) SetAvgProfiledFargateTasks(v int64)

SetAvgProfiledFargateTasks gets a reference to the given int64 and assigns it to the AvgProfiledFargateTasks field.

func (*UsageSummaryDateOrg) SetAwsHostTop99p ¶

func (o *UsageSummaryDateOrg) SetAwsHostTop99p(v int64)

SetAwsHostTop99p gets a reference to the given int64 and assigns it to the AwsHostTop99p field.

func (*UsageSummaryDateOrg) SetAwsLambdaFuncCount ¶

func (o *UsageSummaryDateOrg) SetAwsLambdaFuncCount(v int64)

SetAwsLambdaFuncCount gets a reference to the given int64 and assigns it to the AwsLambdaFuncCount field.

func (*UsageSummaryDateOrg) SetAwsLambdaInvocationsSum ¶

func (o *UsageSummaryDateOrg) SetAwsLambdaInvocationsSum(v int64)

SetAwsLambdaInvocationsSum gets a reference to the given int64 and assigns it to the AwsLambdaInvocationsSum field.

func (*UsageSummaryDateOrg) SetAzureAppServiceTop99p ¶

func (o *UsageSummaryDateOrg) SetAzureAppServiceTop99p(v int64)

SetAzureAppServiceTop99p gets a reference to the given int64 and assigns it to the AzureAppServiceTop99p field.

func (*UsageSummaryDateOrg) SetBillableIngestedBytesSum ¶

func (o *UsageSummaryDateOrg) SetBillableIngestedBytesSum(v int64)

SetBillableIngestedBytesSum gets a reference to the given int64 and assigns it to the BillableIngestedBytesSum field.

func (*UsageSummaryDateOrg) SetBrowserRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) SetBrowserRumLiteSessionCountSum(v int64)

SetBrowserRumLiteSessionCountSum gets a reference to the given int64 and assigns it to the BrowserRumLiteSessionCountSum field.

func (*UsageSummaryDateOrg) SetBrowserRumReplaySessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) SetBrowserRumReplaySessionCountSum(v int64)

SetBrowserRumReplaySessionCountSum gets a reference to the given int64 and assigns it to the BrowserRumReplaySessionCountSum field.

func (*UsageSummaryDateOrg) SetBrowserRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) SetBrowserRumUnitsSum(v int64)

SetBrowserRumUnitsSum gets a reference to the given int64 and assigns it to the BrowserRumUnitsSum field.

func (*UsageSummaryDateOrg) SetCiPipelineIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) SetCiPipelineIndexedSpansSum(v int64)

SetCiPipelineIndexedSpansSum gets a reference to the given int64 and assigns it to the CiPipelineIndexedSpansSum field.

func (*UsageSummaryDateOrg) SetCiTestIndexedSpansSum ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) SetCiTestIndexedSpansSum(v int64)

SetCiTestIndexedSpansSum gets a reference to the given int64 and assigns it to the CiTestIndexedSpansSum field.

func (*UsageSummaryDateOrg) SetCiVisibilityPipelineCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) SetCiVisibilityPipelineCommittersHwm(v int64)

SetCiVisibilityPipelineCommittersHwm gets a reference to the given int64 and assigns it to the CiVisibilityPipelineCommittersHwm field.

func (*UsageSummaryDateOrg) SetCiVisibilityTestCommittersHwm ¶ added in v1.10.0

func (o *UsageSummaryDateOrg) SetCiVisibilityTestCommittersHwm(v int64)

SetCiVisibilityTestCommittersHwm gets a reference to the given int64 and assigns it to the CiVisibilityTestCommittersHwm field.

func (*UsageSummaryDateOrg) SetContainerAvg ¶

func (o *UsageSummaryDateOrg) SetContainerAvg(v int64)

SetContainerAvg gets a reference to the given int64 and assigns it to the ContainerAvg field.

func (*UsageSummaryDateOrg) SetContainerHwm ¶

func (o *UsageSummaryDateOrg) SetContainerHwm(v int64)

SetContainerHwm gets a reference to the given int64 and assigns it to the ContainerHwm field.

func (*UsageSummaryDateOrg) SetCspmAasHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) SetCspmAasHostTop99p(v int64)

SetCspmAasHostTop99p gets a reference to the given int64 and assigns it to the CspmAasHostTop99p field.

func (*UsageSummaryDateOrg) SetCspmAzureHostTop99p ¶ added in v1.9.0

func (o *UsageSummaryDateOrg) SetCspmAzureHostTop99p(v int64)

SetCspmAzureHostTop99p gets a reference to the given int64 and assigns it to the CspmAzureHostTop99p field.

func (*UsageSummaryDateOrg) SetCspmContainerAvg ¶

func (o *UsageSummaryDateOrg) SetCspmContainerAvg(v int64)

SetCspmContainerAvg gets a reference to the given int64 and assigns it to the CspmContainerAvg field.

func (*UsageSummaryDateOrg) SetCspmContainerHwm ¶

func (o *UsageSummaryDateOrg) SetCspmContainerHwm(v int64)

SetCspmContainerHwm gets a reference to the given int64 and assigns it to the CspmContainerHwm field.

func (*UsageSummaryDateOrg) SetCspmHostTop99p ¶

func (o *UsageSummaryDateOrg) SetCspmHostTop99p(v int64)

SetCspmHostTop99p gets a reference to the given int64 and assigns it to the CspmHostTop99p field.

func (*UsageSummaryDateOrg) SetCustomTsAvg ¶

func (o *UsageSummaryDateOrg) SetCustomTsAvg(v int64)

SetCustomTsAvg gets a reference to the given int64 and assigns it to the CustomTsAvg field.

func (*UsageSummaryDateOrg) SetCwsContainerCountAvg ¶

func (o *UsageSummaryDateOrg) SetCwsContainerCountAvg(v int64)

SetCwsContainerCountAvg gets a reference to the given int64 and assigns it to the CwsContainerCountAvg field.

func (*UsageSummaryDateOrg) SetCwsHostTop99p ¶

func (o *UsageSummaryDateOrg) SetCwsHostTop99p(v int64)

SetCwsHostTop99p gets a reference to the given int64 and assigns it to the CwsHostTop99p field.

func (*UsageSummaryDateOrg) SetDbmHostTop99pSum ¶ added in v1.3.0

func (o *UsageSummaryDateOrg) SetDbmHostTop99pSum(v int64)

SetDbmHostTop99pSum gets a reference to the given int64 and assigns it to the DbmHostTop99pSum field.

func (*UsageSummaryDateOrg) SetDbmQueriesAvgSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) SetDbmQueriesAvgSum(v int64)

SetDbmQueriesAvgSum gets a reference to the given int64 and assigns it to the DbmQueriesAvgSum field.

func (*UsageSummaryDateOrg) SetFargateTasksCountAvg ¶

func (o *UsageSummaryDateOrg) SetFargateTasksCountAvg(v int64)

SetFargateTasksCountAvg gets a reference to the given int64 and assigns it to the FargateTasksCountAvg field.

func (*UsageSummaryDateOrg) SetFargateTasksCountHwm ¶

func (o *UsageSummaryDateOrg) SetFargateTasksCountHwm(v int64)

SetFargateTasksCountHwm gets a reference to the given int64 and assigns it to the FargateTasksCountHwm field.

func (*UsageSummaryDateOrg) SetGcpHostTop99p ¶

func (o *UsageSummaryDateOrg) SetGcpHostTop99p(v int64)

SetGcpHostTop99p gets a reference to the given int64 and assigns it to the GcpHostTop99p field.

func (*UsageSummaryDateOrg) SetHerokuHostTop99p ¶

func (o *UsageSummaryDateOrg) SetHerokuHostTop99p(v int64)

SetHerokuHostTop99p gets a reference to the given int64 and assigns it to the HerokuHostTop99p field.

func (*UsageSummaryDateOrg) SetId ¶

func (o *UsageSummaryDateOrg) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UsageSummaryDateOrg) SetIncidentManagementMonthlyActiveUsersHwm ¶

func (o *UsageSummaryDateOrg) SetIncidentManagementMonthlyActiveUsersHwm(v int64)

SetIncidentManagementMonthlyActiveUsersHwm gets a reference to the given int64 and assigns it to the IncidentManagementMonthlyActiveUsersHwm field.

func (*UsageSummaryDateOrg) SetIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) SetIndexedEventsCountSum(v int64)

SetIndexedEventsCountSum gets a reference to the given int64 and assigns it to the IndexedEventsCountSum field.

func (*UsageSummaryDateOrg) SetInfraHostTop99p ¶

func (o *UsageSummaryDateOrg) SetInfraHostTop99p(v int64)

SetInfraHostTop99p gets a reference to the given int64 and assigns it to the InfraHostTop99p field.

func (*UsageSummaryDateOrg) SetIngestedEventsBytesSum ¶

func (o *UsageSummaryDateOrg) SetIngestedEventsBytesSum(v int64)

SetIngestedEventsBytesSum gets a reference to the given int64 and assigns it to the IngestedEventsBytesSum field.

func (*UsageSummaryDateOrg) SetIotDeviceAggSum ¶

func (o *UsageSummaryDateOrg) SetIotDeviceAggSum(v int64)

SetIotDeviceAggSum gets a reference to the given int64 and assigns it to the IotDeviceAggSum field.

func (*UsageSummaryDateOrg) SetIotDeviceTop99pSum ¶

func (o *UsageSummaryDateOrg) SetIotDeviceTop99pSum(v int64)

SetIotDeviceTop99pSum gets a reference to the given int64 and assigns it to the IotDeviceTop99pSum field.

func (*UsageSummaryDateOrg) SetMobileRumLiteSessionCountSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) SetMobileRumLiteSessionCountSum(v int64)

SetMobileRumLiteSessionCountSum gets a reference to the given int64 and assigns it to the MobileRumLiteSessionCountSum field.

func (*UsageSummaryDateOrg) SetMobileRumSessionCountAndroidSum ¶

func (o *UsageSummaryDateOrg) SetMobileRumSessionCountAndroidSum(v int64)

SetMobileRumSessionCountAndroidSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountAndroidSum field.

func (*UsageSummaryDateOrg) SetMobileRumSessionCountIosSum ¶

func (o *UsageSummaryDateOrg) SetMobileRumSessionCountIosSum(v int64)

SetMobileRumSessionCountIosSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountIosSum field.

func (*UsageSummaryDateOrg) SetMobileRumSessionCountReactnativeSum ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) SetMobileRumSessionCountReactnativeSum(v int64)

SetMobileRumSessionCountReactnativeSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountReactnativeSum field.

func (*UsageSummaryDateOrg) SetMobileRumSessionCountSum ¶

func (o *UsageSummaryDateOrg) SetMobileRumSessionCountSum(v int64)

SetMobileRumSessionCountSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountSum field.

func (*UsageSummaryDateOrg) SetMobileRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) SetMobileRumUnitsSum(v int64)

SetMobileRumUnitsSum gets a reference to the given int64 and assigns it to the MobileRumUnitsSum field.

func (*UsageSummaryDateOrg) SetName ¶

func (o *UsageSummaryDateOrg) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UsageSummaryDateOrg) SetNetflowIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) SetNetflowIndexedEventsCountSum(v int64)

SetNetflowIndexedEventsCountSum gets a reference to the given int64 and assigns it to the NetflowIndexedEventsCountSum field.

func (*UsageSummaryDateOrg) SetNpmHostTop99p ¶

func (o *UsageSummaryDateOrg) SetNpmHostTop99p(v int64)

SetNpmHostTop99p gets a reference to the given int64 and assigns it to the NpmHostTop99p field.

func (*UsageSummaryDateOrg) SetObservabilityPipelinesBytesProcessedSum ¶ added in v1.14.0

func (o *UsageSummaryDateOrg) SetObservabilityPipelinesBytesProcessedSum(v int64)

SetObservabilityPipelinesBytesProcessedSum gets a reference to the given int64 and assigns it to the ObservabilityPipelinesBytesProcessedSum field.

func (*UsageSummaryDateOrg) SetOnlineArchiveEventsCountSum ¶ added in v1.11.0

func (o *UsageSummaryDateOrg) SetOnlineArchiveEventsCountSum(v int64)

SetOnlineArchiveEventsCountSum gets a reference to the given int64 and assigns it to the OnlineArchiveEventsCountSum field.

func (*UsageSummaryDateOrg) SetOpentelemetryHostTop99p ¶

func (o *UsageSummaryDateOrg) SetOpentelemetryHostTop99p(v int64)

SetOpentelemetryHostTop99p gets a reference to the given int64 and assigns it to the OpentelemetryHostTop99p field.

func (*UsageSummaryDateOrg) SetProfilingHostTop99p ¶

func (o *UsageSummaryDateOrg) SetProfilingHostTop99p(v int64)

SetProfilingHostTop99p gets a reference to the given int64 and assigns it to the ProfilingHostTop99p field.

func (*UsageSummaryDateOrg) SetPublicId ¶

func (o *UsageSummaryDateOrg) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageSummaryDateOrg) SetRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryDateOrg) SetRumBrowserAndMobileSessionCount(v int64)

SetRumBrowserAndMobileSessionCount gets a reference to the given int64 and assigns it to the RumBrowserAndMobileSessionCount field.

func (*UsageSummaryDateOrg) SetRumSessionCountSum ¶

func (o *UsageSummaryDateOrg) SetRumSessionCountSum(v int64)

SetRumSessionCountSum gets a reference to the given int64 and assigns it to the RumSessionCountSum field.

func (*UsageSummaryDateOrg) SetRumTotalSessionCountSum ¶

func (o *UsageSummaryDateOrg) SetRumTotalSessionCountSum(v int64)

SetRumTotalSessionCountSum gets a reference to the given int64 and assigns it to the RumTotalSessionCountSum field.

func (*UsageSummaryDateOrg) SetRumUnitsSum ¶ added in v1.7.0

func (o *UsageSummaryDateOrg) SetRumUnitsSum(v int64)

SetRumUnitsSum gets a reference to the given int64 and assigns it to the RumUnitsSum field.

func (*UsageSummaryDateOrg) SetSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) SetSdsLogsScannedBytesSum(v int64)

SetSdsLogsScannedBytesSum gets a reference to the given int64 and assigns it to the SdsLogsScannedBytesSum field.

func (*UsageSummaryDateOrg) SetSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryDateOrg) SetSdsTotalScannedBytesSum(v int64)

SetSdsTotalScannedBytesSum gets a reference to the given int64 and assigns it to the SdsTotalScannedBytesSum field.

func (*UsageSummaryDateOrg) SetSyntheticsBrowserCheckCallsCountSum ¶

func (o *UsageSummaryDateOrg) SetSyntheticsBrowserCheckCallsCountSum(v int64)

SetSyntheticsBrowserCheckCallsCountSum gets a reference to the given int64 and assigns it to the SyntheticsBrowserCheckCallsCountSum field.

func (*UsageSummaryDateOrg) SetSyntheticsCheckCallsCountSum ¶

func (o *UsageSummaryDateOrg) SetSyntheticsCheckCallsCountSum(v int64)

SetSyntheticsCheckCallsCountSum gets a reference to the given int64 and assigns it to the SyntheticsCheckCallsCountSum field.

func (*UsageSummaryDateOrg) SetTraceSearchIndexedEventsCountSum ¶

func (o *UsageSummaryDateOrg) SetTraceSearchIndexedEventsCountSum(v int64)

SetTraceSearchIndexedEventsCountSum gets a reference to the given int64 and assigns it to the TraceSearchIndexedEventsCountSum field.

func (*UsageSummaryDateOrg) SetTwolIngestedEventsBytesSum ¶

func (o *UsageSummaryDateOrg) SetTwolIngestedEventsBytesSum(v int64)

SetTwolIngestedEventsBytesSum gets a reference to the given int64 and assigns it to the TwolIngestedEventsBytesSum field.

func (*UsageSummaryDateOrg) SetVsphereHostTop99p ¶

func (o *UsageSummaryDateOrg) SetVsphereHostTop99p(v int64)

SetVsphereHostTop99p gets a reference to the given int64 and assigns it to the VsphereHostTop99p field.

func (*UsageSummaryDateOrg) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSummaryResponse ¶

type UsageSummaryResponse struct {
	// Shows the 99th percentile of all agent hosts over all hours in the current months for all organizations.
	AgentHostTop99pSum *int64 `json:"agent_host_top99p_sum,omitempty"`
	// Shows the 99th percentile of all Azure app services using APM over all hours in the current months all organizations.
	ApmAzureAppServiceHostTop99pSum *int64 `json:"apm_azure_app_service_host_top99p_sum,omitempty"`
	// Shows the 99th percentile of all distinct APM hosts over all hours in the current months for all organizations.
	ApmHostTop99pSum *int64 `json:"apm_host_top99p_sum,omitempty"`
	// Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations.
	AuditLogsLinesIndexedAggSum *int64 `json:"audit_logs_lines_indexed_agg_sum,omitempty"`
	// Shows the average of all profiled Fargate tasks over all hours in the current months for all organizations.
	AvgProfiledFargateTasksSum *int64 `json:"avg_profiled_fargate_tasks_sum,omitempty"`
	// Shows the 99th percentile of all AWS hosts over all hours in the current months for all organizations.
	AwsHostTop99pSum *int64 `json:"aws_host_top99p_sum,omitempty"`
	// Shows the average of the number of functions that executed 1 or more times each hour in the current months for all organizations.
	AwsLambdaFuncCount *int64 `json:"aws_lambda_func_count,omitempty"`
	// Shows the sum of all AWS Lambda invocations over all hours in the current months for all organizations.
	AwsLambdaInvocationsSum *int64 `json:"aws_lambda_invocations_sum,omitempty"`
	// Shows the 99th percentile of all Azure app services over all hours in the current months for all organizations.
	AzureAppServiceTop99pSum *int64 `json:"azure_app_service_top99p_sum,omitempty"`
	// Shows the 99th percentile of all Azure hosts over all hours in the current months for all organizations.
	AzureHostTop99pSum *int64 `json:"azure_host_top99p_sum,omitempty"`
	// Shows the sum of all log bytes ingested over all hours in the current months for all organizations.
	BillableIngestedBytesAggSum *int64 `json:"billable_ingested_bytes_agg_sum,omitempty"`
	// Shows the sum of all browser lite sessions over all hours in the current months for all organizations.
	BrowserRumLiteSessionCountAggSum *int64 `json:"browser_rum_lite_session_count_agg_sum,omitempty"`
	// Shows the sum of all browser replay sessions over all hours in the current months for all organizations.
	BrowserRumReplaySessionCountAggSum *int64 `json:"browser_rum_replay_session_count_agg_sum,omitempty"`
	// Shows the sum of all browser RUM units over all hours in the current months for all organizations.
	BrowserRumUnitsAggSum *int64 `json:"browser_rum_units_agg_sum,omitempty"`
	// Shows the sum of all CI pipeline indexed spans over all hours in the current months for all organizations.
	CiPipelineIndexedSpansAggSum *int64 `json:"ci_pipeline_indexed_spans_agg_sum,omitempty"`
	// Shows the sum of all CI test indexed spans over all hours in the current months for all organizations.
	CiTestIndexedSpansAggSum *int64 `json:"ci_test_indexed_spans_agg_sum,omitempty"`
	// Shows the high-water mark of all CI visibility pipeline committers over all hours in the current months for all organizations.
	CiVisibilityPipelineCommittersHwmSum *int64 `json:"ci_visibility_pipeline_committers_hwm_sum,omitempty"`
	// Shows the high-water mark of all CI visibility test committers over all hours in the current months for all organizations.
	CiVisibilityTestCommittersHwmSum *int64 `json:"ci_visibility_test_committers_hwm_sum,omitempty"`
	// Shows the average of all distinct containers over all hours in the current months for all organizations.
	ContainerAvgSum *int64 `json:"container_avg_sum,omitempty"`
	// Shows the sum of the high-water marks of all distinct containers over all hours in the current months for all organizations.
	ContainerHwmSum *int64 `json:"container_hwm_sum,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management Azure app services hosts over all hours in the current months for all organizations.
	CspmAasHostTop99pSum *int64 `json:"cspm_aas_host_top99p_sum,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management Azure hosts over all hours in the current months for all organizations.
	CspmAzureHostTop99pSum *int64 `json:"cspm_azure_host_top99p_sum,omitempty"`
	// Shows the average number of Cloud Security Posture Management containers over all hours in the current months for all organizations.
	CspmContainerAvgSum *int64 `json:"cspm_container_avg_sum,omitempty"`
	// Shows the sum of the the high-water marks of Cloud Security Posture Management containers over all hours in the current months for all organizations.
	CspmContainerHwmSum *int64 `json:"cspm_container_hwm_sum,omitempty"`
	// Shows the 99th percentile of all Cloud Security Posture Management hosts over all hours in the current months for all organizations.
	CspmHostTop99pSum *int64 `json:"cspm_host_top99p_sum,omitempty"`
	// Shows the average number of distinct custom metrics over all hours in the current months for all organizations.
	CustomTsSum *int64 `json:"custom_ts_sum,omitempty"`
	// Shows the average of all distinct Cloud Workload Security containers over all hours in the current months for all organizations.
	CwsContainersAvgSum *int64 `json:"cws_containers_avg_sum,omitempty"`
	// Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current months for all organizations.
	CwsHostTop99pSum *int64 `json:"cws_host_top99p_sum,omitempty"`
	// Shows the 99th percentile of all Database Monitoring hosts over all hours in the current month for all organizations.
	DbmHostTop99pSum *int64 `json:"dbm_host_top99p_sum,omitempty"`
	// Shows the average of all distinct Database Monitoring Normalized Queries over all hours in the current month for all organizations.
	DbmQueriesAvgSum *int64 `json:"dbm_queries_avg_sum,omitempty"`
	// Shows the last date of usage in the current months for all organizations.
	EndDate *time.Time `json:"end_date,omitempty"`
	// Shows the average of all Fargate tasks over all hours in the current months for all organizations.
	FargateTasksCountAvgSum *int64 `json:"fargate_tasks_count_avg_sum,omitempty"`
	// Shows the sum of the high-water marks of all Fargate tasks over all hours in the current months for all organizations.
	FargateTasksCountHwmSum *int64 `json:"fargate_tasks_count_hwm_sum,omitempty"`
	// Shows the 99th percentile of all GCP hosts over all hours in the current months for all organizations.
	GcpHostTop99pSum *int64 `json:"gcp_host_top99p_sum,omitempty"`
	// Shows the 99th percentile of all Heroku dynos over all hours in the current months for all organizations.
	HerokuHostTop99pSum *int64 `json:"heroku_host_top99p_sum,omitempty"`
	// Shows sum of the the high-water marks of incident management monthly active users in the current months for all organizations.
	IncidentManagementMonthlyActiveUsersHwmSum *int64 `json:"incident_management_monthly_active_users_hwm_sum,omitempty"`
	// Shows the sum of all log events indexed over all hours in the current months for all organizations.
	IndexedEventsCountAggSum *int64 `json:"indexed_events_count_agg_sum,omitempty"`
	// Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current months for all organizations.
	InfraHostTop99pSum *int64 `json:"infra_host_top99p_sum,omitempty"`
	// Shows the sum of all log bytes ingested over all hours in the current months for all organizations.
	IngestedEventsBytesAggSum *int64 `json:"ingested_events_bytes_agg_sum,omitempty"`
	// Shows the sum of all IoT devices over all hours in the current months for all organizations.
	IotDeviceAggSum *int64 `json:"iot_device_agg_sum,omitempty"`
	// Shows the 99th percentile of all IoT devices over all hours in the current months of all organizations.
	IotDeviceTop99pSum *int64 `json:"iot_device_top99p_sum,omitempty"`
	// Shows the the most recent hour in the current months for all organizations for which all usages were calculated.
	LastUpdated *time.Time `json:"last_updated,omitempty"`
	// Shows the sum of all live logs indexed over all hours in the current months for all organizations (data available as of December 1, 2020).
	LiveIndexedEventsAggSum *int64 `json:"live_indexed_events_agg_sum,omitempty"`
	// Shows the sum of all live logs bytes ingested over all hours in the current months for all organizations (data available as of December 1, 2020).
	LiveIngestedBytesAggSum *int64 `json:"live_ingested_bytes_agg_sum,omitempty"`
	// Object containing logs usage data broken down by retention period.
	LogsByRetention *LogsByRetention `json:"logs_by_retention,omitempty"`
	// Shows the sum of all mobile lite sessions over all hours in the current months for all organizations.
	MobileRumLiteSessionCountAggSum *int64 `json:"mobile_rum_lite_session_count_agg_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions over all hours in the current months for all organizations.
	MobileRumSessionCountAggSum *int64 `json:"mobile_rum_session_count_agg_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on Android over all hours in the current months for all organizations.
	MobileRumSessionCountAndroidAggSum *int64 `json:"mobile_rum_session_count_android_agg_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on iOS over all hours in the current months for all organizations.
	MobileRumSessionCountIosAggSum *int64 `json:"mobile_rum_session_count_ios_agg_sum,omitempty"`
	// Shows the sum of all mobile RUM Sessions on React Native over all hours in the current months for all organizations.
	MobileRumSessionCountReactnativeAggSum *int64 `json:"mobile_rum_session_count_reactnative_agg_sum,omitempty"`
	// Shows the sum of all mobile RUM units over all hours in the current months for all organizations.
	MobileRumUnitsAggSum *int64 `json:"mobile_rum_units_agg_sum,omitempty"`
	// Shows the sum of all Network flows indexed over all hours in the current months for all organizations.
	NetflowIndexedEventsCountAggSum *int64 `json:"netflow_indexed_events_count_agg_sum,omitempty"`
	// Shows the 99th percentile of all distinct Networks hosts over all hours in the current months for all organizations.
	NpmHostTop99pSum *int64 `json:"npm_host_top99p_sum,omitempty"`
	// Sum of all observability pipelines bytes processed over all hours in the current months for all organizations.
	ObservabilityPipelinesBytesProcessedAggSum *int64 `json:"observability_pipelines_bytes_processed_agg_sum,omitempty"`
	// Sum of all online archived events over all hours in the current months for all organizations.
	OnlineArchiveEventsCountAggSum *int64 `json:"online_archive_events_count_agg_sum,omitempty"`
	// Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations.
	OpentelemetryHostTop99pSum *int64 `json:"opentelemetry_host_top99p_sum,omitempty"`
	// Shows the average number of profiled containers over all hours in the current months for all organizations.
	ProfilingContainerAgentCountAvg *int64 `json:"profiling_container_agent_count_avg,omitempty"`
	// Shows the 99th percentile of all profiled hosts over all hours in the current months for all organizations.
	ProfilingHostCountTop99pSum *int64 `json:"profiling_host_count_top99p_sum,omitempty"`
	// Shows the sum of all rehydrated logs indexed over all hours in the current months for all organizations (data available as of December 1, 2020).
	RehydratedIndexedEventsAggSum *int64 `json:"rehydrated_indexed_events_agg_sum,omitempty"`
	// Shows the sum of all rehydrated logs bytes ingested over all hours in the current months for all organizations (data available as of December 1, 2020).
	RehydratedIngestedBytesAggSum *int64 `json:"rehydrated_ingested_bytes_agg_sum,omitempty"`
	// Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations.
	RumBrowserAndMobileSessionCount *int64 `json:"rum_browser_and_mobile_session_count,omitempty"`
	// Shows the sum of all browser RUM Lite Sessions over all hours in the current months for all organizations.
	RumSessionCountAggSum *int64 `json:"rum_session_count_agg_sum,omitempty"`
	// Shows the sum of RUM Sessions (browser and mobile) over all hours in the current months for all organizations.
	RumTotalSessionCountAggSum *int64 `json:"rum_total_session_count_agg_sum,omitempty"`
	// Shows the sum of all browser and mobile RUM units over all hours in the current months for all organizations.
	RumUnitsAggSum *int64 `json:"rum_units_agg_sum,omitempty"`
	// Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations.
	SdsLogsScannedBytesSum *int64 `json:"sds_logs_scanned_bytes_sum,omitempty"`
	// Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations.
	SdsTotalScannedBytesSum *int64 `json:"sds_total_scanned_bytes_sum,omitempty"`
	// Shows the first date of usage in the current months for all organizations.
	StartDate *time.Time `json:"start_date,omitempty"`
	// Shows the sum of all Synthetic browser tests over all hours in the current months for all organizations.
	SyntheticsBrowserCheckCallsCountAggSum *int64 `json:"synthetics_browser_check_calls_count_agg_sum,omitempty"`
	// Shows the sum of all Synthetic API tests over all hours in the current months for all organizations.
	SyntheticsCheckCallsCountAggSum *int64 `json:"synthetics_check_calls_count_agg_sum,omitempty"`
	// Shows the sum of all Indexed Spans indexed over all hours in the current months for all organizations.
	TraceSearchIndexedEventsCountAggSum *int64 `json:"trace_search_indexed_events_count_agg_sum,omitempty"`
	// Shows the sum of all ingested APM span bytes over all hours in the current months for all organizations.
	TwolIngestedEventsBytesAggSum *int64 `json:"twol_ingested_events_bytes_agg_sum,omitempty"`
	// An array of objects regarding hourly usage.
	Usage []UsageSummaryDate `json:"usage,omitempty"`
	// Shows the 99th percentile of all vSphere hosts over all hours in the current months for all organizations.
	VsphereHostTop99pSum *int64 `json:"vsphere_host_top99p_sum,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSummaryResponse Response summarizing all usage aggregated across the months in the request for all organizations, and broken down by month and by organization.

func NewUsageSummaryResponse ¶

func NewUsageSummaryResponse() *UsageSummaryResponse

NewUsageSummaryResponse instantiates a new UsageSummaryResponse 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 NewUsageSummaryResponseWithDefaults ¶

func NewUsageSummaryResponseWithDefaults() *UsageSummaryResponse

NewUsageSummaryResponseWithDefaults instantiates a new UsageSummaryResponse 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 (*UsageSummaryResponse) GetAgentHostTop99pSum ¶

func (o *UsageSummaryResponse) GetAgentHostTop99pSum() int64

GetAgentHostTop99pSum returns the AgentHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAgentHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetAgentHostTop99pSumOk() (*int64, bool)

GetAgentHostTop99pSumOk returns a tuple with the AgentHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetApmAzureAppServiceHostTop99pSum ¶

func (o *UsageSummaryResponse) GetApmAzureAppServiceHostTop99pSum() int64

GetApmAzureAppServiceHostTop99pSum returns the ApmAzureAppServiceHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetApmAzureAppServiceHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetApmAzureAppServiceHostTop99pSumOk() (*int64, bool)

GetApmAzureAppServiceHostTop99pSumOk returns a tuple with the ApmAzureAppServiceHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetApmHostTop99pSum ¶

func (o *UsageSummaryResponse) GetApmHostTop99pSum() int64

GetApmHostTop99pSum returns the ApmHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetApmHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetApmHostTop99pSumOk() (*int64, bool)

GetApmHostTop99pSumOk returns a tuple with the ApmHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetAuditLogsLinesIndexedAggSum ¶

func (o *UsageSummaryResponse) GetAuditLogsLinesIndexedAggSum() int64

GetAuditLogsLinesIndexedAggSum returns the AuditLogsLinesIndexedAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAuditLogsLinesIndexedAggSumOk ¶

func (o *UsageSummaryResponse) GetAuditLogsLinesIndexedAggSumOk() (*int64, bool)

GetAuditLogsLinesIndexedAggSumOk returns a tuple with the AuditLogsLinesIndexedAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetAvgProfiledFargateTasksSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetAvgProfiledFargateTasksSum() int64

GetAvgProfiledFargateTasksSum returns the AvgProfiledFargateTasksSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAvgProfiledFargateTasksSumOk ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetAvgProfiledFargateTasksSumOk() (*int64, bool)

GetAvgProfiledFargateTasksSumOk returns a tuple with the AvgProfiledFargateTasksSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetAwsHostTop99pSum ¶

func (o *UsageSummaryResponse) GetAwsHostTop99pSum() int64

GetAwsHostTop99pSum returns the AwsHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAwsHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetAwsHostTop99pSumOk() (*int64, bool)

GetAwsHostTop99pSumOk returns a tuple with the AwsHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetAwsLambdaFuncCount ¶

func (o *UsageSummaryResponse) GetAwsLambdaFuncCount() int64

GetAwsLambdaFuncCount returns the AwsLambdaFuncCount field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAwsLambdaFuncCountOk ¶

func (o *UsageSummaryResponse) GetAwsLambdaFuncCountOk() (*int64, bool)

GetAwsLambdaFuncCountOk returns a tuple with the AwsLambdaFuncCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetAwsLambdaInvocationsSum ¶

func (o *UsageSummaryResponse) GetAwsLambdaInvocationsSum() int64

GetAwsLambdaInvocationsSum returns the AwsLambdaInvocationsSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAwsLambdaInvocationsSumOk ¶

func (o *UsageSummaryResponse) GetAwsLambdaInvocationsSumOk() (*int64, bool)

GetAwsLambdaInvocationsSumOk returns a tuple with the AwsLambdaInvocationsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetAzureAppServiceTop99pSum ¶

func (o *UsageSummaryResponse) GetAzureAppServiceTop99pSum() int64

GetAzureAppServiceTop99pSum returns the AzureAppServiceTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAzureAppServiceTop99pSumOk ¶

func (o *UsageSummaryResponse) GetAzureAppServiceTop99pSumOk() (*int64, bool)

GetAzureAppServiceTop99pSumOk returns a tuple with the AzureAppServiceTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetAzureHostTop99pSum ¶

func (o *UsageSummaryResponse) GetAzureHostTop99pSum() int64

GetAzureHostTop99pSum returns the AzureHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetAzureHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetAzureHostTop99pSumOk() (*int64, bool)

GetAzureHostTop99pSumOk returns a tuple with the AzureHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetBillableIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) GetBillableIngestedBytesAggSum() int64

GetBillableIngestedBytesAggSum returns the BillableIngestedBytesAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetBillableIngestedBytesAggSumOk ¶

func (o *UsageSummaryResponse) GetBillableIngestedBytesAggSumOk() (*int64, bool)

GetBillableIngestedBytesAggSumOk returns a tuple with the BillableIngestedBytesAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetBrowserRumLiteSessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetBrowserRumLiteSessionCountAggSum() int64

GetBrowserRumLiteSessionCountAggSum returns the BrowserRumLiteSessionCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetBrowserRumLiteSessionCountAggSumOk ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetBrowserRumLiteSessionCountAggSumOk() (*int64, bool)

GetBrowserRumLiteSessionCountAggSumOk returns a tuple with the BrowserRumLiteSessionCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetBrowserRumReplaySessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetBrowserRumReplaySessionCountAggSum() int64

GetBrowserRumReplaySessionCountAggSum returns the BrowserRumReplaySessionCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetBrowserRumReplaySessionCountAggSumOk ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetBrowserRumReplaySessionCountAggSumOk() (*int64, bool)

GetBrowserRumReplaySessionCountAggSumOk returns a tuple with the BrowserRumReplaySessionCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetBrowserRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetBrowserRumUnitsAggSum() int64

GetBrowserRumUnitsAggSum returns the BrowserRumUnitsAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetBrowserRumUnitsAggSumOk ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetBrowserRumUnitsAggSumOk() (*int64, bool)

GetBrowserRumUnitsAggSumOk returns a tuple with the BrowserRumUnitsAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCiPipelineIndexedSpansAggSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiPipelineIndexedSpansAggSum() int64

GetCiPipelineIndexedSpansAggSum returns the CiPipelineIndexedSpansAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCiPipelineIndexedSpansAggSumOk ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiPipelineIndexedSpansAggSumOk() (*int64, bool)

GetCiPipelineIndexedSpansAggSumOk returns a tuple with the CiPipelineIndexedSpansAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCiTestIndexedSpansAggSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiTestIndexedSpansAggSum() int64

GetCiTestIndexedSpansAggSum returns the CiTestIndexedSpansAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCiTestIndexedSpansAggSumOk ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiTestIndexedSpansAggSumOk() (*int64, bool)

GetCiTestIndexedSpansAggSumOk returns a tuple with the CiTestIndexedSpansAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCiVisibilityPipelineCommittersHwmSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiVisibilityPipelineCommittersHwmSum() int64

GetCiVisibilityPipelineCommittersHwmSum returns the CiVisibilityPipelineCommittersHwmSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCiVisibilityPipelineCommittersHwmSumOk ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiVisibilityPipelineCommittersHwmSumOk() (*int64, bool)

GetCiVisibilityPipelineCommittersHwmSumOk returns a tuple with the CiVisibilityPipelineCommittersHwmSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCiVisibilityTestCommittersHwmSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiVisibilityTestCommittersHwmSum() int64

GetCiVisibilityTestCommittersHwmSum returns the CiVisibilityTestCommittersHwmSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCiVisibilityTestCommittersHwmSumOk ¶ added in v1.10.0

func (o *UsageSummaryResponse) GetCiVisibilityTestCommittersHwmSumOk() (*int64, bool)

GetCiVisibilityTestCommittersHwmSumOk returns a tuple with the CiVisibilityTestCommittersHwmSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetContainerAvgSum ¶

func (o *UsageSummaryResponse) GetContainerAvgSum() int64

GetContainerAvgSum returns the ContainerAvgSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetContainerAvgSumOk ¶

func (o *UsageSummaryResponse) GetContainerAvgSumOk() (*int64, bool)

GetContainerAvgSumOk returns a tuple with the ContainerAvgSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetContainerHwmSum ¶

func (o *UsageSummaryResponse) GetContainerHwmSum() int64

GetContainerHwmSum returns the ContainerHwmSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetContainerHwmSumOk ¶

func (o *UsageSummaryResponse) GetContainerHwmSumOk() (*int64, bool)

GetContainerHwmSumOk returns a tuple with the ContainerHwmSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCspmAasHostTop99pSum ¶ added in v1.9.0

func (o *UsageSummaryResponse) GetCspmAasHostTop99pSum() int64

GetCspmAasHostTop99pSum returns the CspmAasHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCspmAasHostTop99pSumOk ¶ added in v1.9.0

func (o *UsageSummaryResponse) GetCspmAasHostTop99pSumOk() (*int64, bool)

GetCspmAasHostTop99pSumOk returns a tuple with the CspmAasHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCspmAzureHostTop99pSum ¶ added in v1.9.0

func (o *UsageSummaryResponse) GetCspmAzureHostTop99pSum() int64

GetCspmAzureHostTop99pSum returns the CspmAzureHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCspmAzureHostTop99pSumOk ¶ added in v1.9.0

func (o *UsageSummaryResponse) GetCspmAzureHostTop99pSumOk() (*int64, bool)

GetCspmAzureHostTop99pSumOk returns a tuple with the CspmAzureHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCspmContainerAvgSum ¶

func (o *UsageSummaryResponse) GetCspmContainerAvgSum() int64

GetCspmContainerAvgSum returns the CspmContainerAvgSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCspmContainerAvgSumOk ¶

func (o *UsageSummaryResponse) GetCspmContainerAvgSumOk() (*int64, bool)

GetCspmContainerAvgSumOk returns a tuple with the CspmContainerAvgSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCspmContainerHwmSum ¶

func (o *UsageSummaryResponse) GetCspmContainerHwmSum() int64

GetCspmContainerHwmSum returns the CspmContainerHwmSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCspmContainerHwmSumOk ¶

func (o *UsageSummaryResponse) GetCspmContainerHwmSumOk() (*int64, bool)

GetCspmContainerHwmSumOk returns a tuple with the CspmContainerHwmSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCspmHostTop99pSum ¶

func (o *UsageSummaryResponse) GetCspmHostTop99pSum() int64

GetCspmHostTop99pSum returns the CspmHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCspmHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetCspmHostTop99pSumOk() (*int64, bool)

GetCspmHostTop99pSumOk returns a tuple with the CspmHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCustomTsSum ¶

func (o *UsageSummaryResponse) GetCustomTsSum() int64

GetCustomTsSum returns the CustomTsSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCustomTsSumOk ¶

func (o *UsageSummaryResponse) GetCustomTsSumOk() (*int64, bool)

GetCustomTsSumOk returns a tuple with the CustomTsSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCwsContainersAvgSum ¶

func (o *UsageSummaryResponse) GetCwsContainersAvgSum() int64

GetCwsContainersAvgSum returns the CwsContainersAvgSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCwsContainersAvgSumOk ¶

func (o *UsageSummaryResponse) GetCwsContainersAvgSumOk() (*int64, bool)

GetCwsContainersAvgSumOk returns a tuple with the CwsContainersAvgSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetCwsHostTop99pSum ¶

func (o *UsageSummaryResponse) GetCwsHostTop99pSum() int64

GetCwsHostTop99pSum returns the CwsHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetCwsHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetCwsHostTop99pSumOk() (*int64, bool)

GetCwsHostTop99pSumOk returns a tuple with the CwsHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetDbmHostTop99pSum ¶ added in v1.3.0

func (o *UsageSummaryResponse) GetDbmHostTop99pSum() int64

GetDbmHostTop99pSum returns the DbmHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetDbmHostTop99pSumOk ¶ added in v1.3.0

func (o *UsageSummaryResponse) GetDbmHostTop99pSumOk() (*int64, bool)

GetDbmHostTop99pSumOk returns a tuple with the DbmHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetDbmQueriesAvgSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) GetDbmQueriesAvgSum() int64

GetDbmQueriesAvgSum returns the DbmQueriesAvgSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetDbmQueriesAvgSumOk ¶ added in v1.5.0

func (o *UsageSummaryResponse) GetDbmQueriesAvgSumOk() (*int64, bool)

GetDbmQueriesAvgSumOk returns a tuple with the DbmQueriesAvgSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetEndDate ¶

func (o *UsageSummaryResponse) GetEndDate() time.Time

GetEndDate returns the EndDate field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetEndDateOk ¶

func (o *UsageSummaryResponse) GetEndDateOk() (*time.Time, bool)

GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetFargateTasksCountAvgSum ¶

func (o *UsageSummaryResponse) GetFargateTasksCountAvgSum() int64

GetFargateTasksCountAvgSum returns the FargateTasksCountAvgSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetFargateTasksCountAvgSumOk ¶

func (o *UsageSummaryResponse) GetFargateTasksCountAvgSumOk() (*int64, bool)

GetFargateTasksCountAvgSumOk returns a tuple with the FargateTasksCountAvgSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetFargateTasksCountHwmSum ¶

func (o *UsageSummaryResponse) GetFargateTasksCountHwmSum() int64

GetFargateTasksCountHwmSum returns the FargateTasksCountHwmSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetFargateTasksCountHwmSumOk ¶

func (o *UsageSummaryResponse) GetFargateTasksCountHwmSumOk() (*int64, bool)

GetFargateTasksCountHwmSumOk returns a tuple with the FargateTasksCountHwmSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetGcpHostTop99pSum ¶

func (o *UsageSummaryResponse) GetGcpHostTop99pSum() int64

GetGcpHostTop99pSum returns the GcpHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetGcpHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetGcpHostTop99pSumOk() (*int64, bool)

GetGcpHostTop99pSumOk returns a tuple with the GcpHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetHerokuHostTop99pSum ¶

func (o *UsageSummaryResponse) GetHerokuHostTop99pSum() int64

GetHerokuHostTop99pSum returns the HerokuHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetHerokuHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetHerokuHostTop99pSumOk() (*int64, bool)

GetHerokuHostTop99pSumOk returns a tuple with the HerokuHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetIncidentManagementMonthlyActiveUsersHwmSum ¶

func (o *UsageSummaryResponse) GetIncidentManagementMonthlyActiveUsersHwmSum() int64

GetIncidentManagementMonthlyActiveUsersHwmSum returns the IncidentManagementMonthlyActiveUsersHwmSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetIncidentManagementMonthlyActiveUsersHwmSumOk ¶

func (o *UsageSummaryResponse) GetIncidentManagementMonthlyActiveUsersHwmSumOk() (*int64, bool)

GetIncidentManagementMonthlyActiveUsersHwmSumOk returns a tuple with the IncidentManagementMonthlyActiveUsersHwmSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) GetIndexedEventsCountAggSum() int64

GetIndexedEventsCountAggSum returns the IndexedEventsCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetIndexedEventsCountAggSumOk ¶

func (o *UsageSummaryResponse) GetIndexedEventsCountAggSumOk() (*int64, bool)

GetIndexedEventsCountAggSumOk returns a tuple with the IndexedEventsCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetInfraHostTop99pSum ¶

func (o *UsageSummaryResponse) GetInfraHostTop99pSum() int64

GetInfraHostTop99pSum returns the InfraHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetInfraHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetInfraHostTop99pSumOk() (*int64, bool)

GetInfraHostTop99pSumOk returns a tuple with the InfraHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetIngestedEventsBytesAggSum ¶

func (o *UsageSummaryResponse) GetIngestedEventsBytesAggSum() int64

GetIngestedEventsBytesAggSum returns the IngestedEventsBytesAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetIngestedEventsBytesAggSumOk ¶

func (o *UsageSummaryResponse) GetIngestedEventsBytesAggSumOk() (*int64, bool)

GetIngestedEventsBytesAggSumOk returns a tuple with the IngestedEventsBytesAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetIotDeviceAggSum ¶

func (o *UsageSummaryResponse) GetIotDeviceAggSum() int64

GetIotDeviceAggSum returns the IotDeviceAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetIotDeviceAggSumOk ¶

func (o *UsageSummaryResponse) GetIotDeviceAggSumOk() (*int64, bool)

GetIotDeviceAggSumOk returns a tuple with the IotDeviceAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetIotDeviceTop99pSum ¶

func (o *UsageSummaryResponse) GetIotDeviceTop99pSum() int64

GetIotDeviceTop99pSum returns the IotDeviceTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetIotDeviceTop99pSumOk ¶

func (o *UsageSummaryResponse) GetIotDeviceTop99pSumOk() (*int64, bool)

GetIotDeviceTop99pSumOk returns a tuple with the IotDeviceTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetLastUpdated ¶

func (o *UsageSummaryResponse) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetLastUpdatedOk ¶

func (o *UsageSummaryResponse) GetLastUpdatedOk() (*time.Time, 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 (*UsageSummaryResponse) GetLiveIndexedEventsAggSum ¶

func (o *UsageSummaryResponse) GetLiveIndexedEventsAggSum() int64

GetLiveIndexedEventsAggSum returns the LiveIndexedEventsAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetLiveIndexedEventsAggSumOk ¶

func (o *UsageSummaryResponse) GetLiveIndexedEventsAggSumOk() (*int64, bool)

GetLiveIndexedEventsAggSumOk returns a tuple with the LiveIndexedEventsAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetLiveIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) GetLiveIngestedBytesAggSum() int64

GetLiveIngestedBytesAggSum returns the LiveIngestedBytesAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetLiveIngestedBytesAggSumOk ¶

func (o *UsageSummaryResponse) GetLiveIngestedBytesAggSumOk() (*int64, bool)

GetLiveIngestedBytesAggSumOk returns a tuple with the LiveIngestedBytesAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetLogsByRetention ¶

func (o *UsageSummaryResponse) GetLogsByRetention() LogsByRetention

GetLogsByRetention returns the LogsByRetention field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetLogsByRetentionOk ¶

func (o *UsageSummaryResponse) GetLogsByRetentionOk() (*LogsByRetention, bool)

GetLogsByRetentionOk returns a tuple with the LogsByRetention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetMobileRumLiteSessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetMobileRumLiteSessionCountAggSum() int64

GetMobileRumLiteSessionCountAggSum returns the MobileRumLiteSessionCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetMobileRumLiteSessionCountAggSumOk ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetMobileRumLiteSessionCountAggSumOk() (*int64, bool)

GetMobileRumLiteSessionCountAggSumOk returns a tuple with the MobileRumLiteSessionCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetMobileRumSessionCountAggSum ¶

func (o *UsageSummaryResponse) GetMobileRumSessionCountAggSum() int64

GetMobileRumSessionCountAggSum returns the MobileRumSessionCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetMobileRumSessionCountAggSumOk ¶

func (o *UsageSummaryResponse) GetMobileRumSessionCountAggSumOk() (*int64, bool)

GetMobileRumSessionCountAggSumOk returns a tuple with the MobileRumSessionCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetMobileRumSessionCountAndroidAggSum ¶

func (o *UsageSummaryResponse) GetMobileRumSessionCountAndroidAggSum() int64

GetMobileRumSessionCountAndroidAggSum returns the MobileRumSessionCountAndroidAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetMobileRumSessionCountAndroidAggSumOk ¶

func (o *UsageSummaryResponse) GetMobileRumSessionCountAndroidAggSumOk() (*int64, bool)

GetMobileRumSessionCountAndroidAggSumOk returns a tuple with the MobileRumSessionCountAndroidAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetMobileRumSessionCountIosAggSum ¶

func (o *UsageSummaryResponse) GetMobileRumSessionCountIosAggSum() int64

GetMobileRumSessionCountIosAggSum returns the MobileRumSessionCountIosAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetMobileRumSessionCountIosAggSumOk ¶

func (o *UsageSummaryResponse) GetMobileRumSessionCountIosAggSumOk() (*int64, bool)

GetMobileRumSessionCountIosAggSumOk returns a tuple with the MobileRumSessionCountIosAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetMobileRumSessionCountReactnativeAggSum ¶ added in v1.14.0

func (o *UsageSummaryResponse) GetMobileRumSessionCountReactnativeAggSum() int64

GetMobileRumSessionCountReactnativeAggSum returns the MobileRumSessionCountReactnativeAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetMobileRumSessionCountReactnativeAggSumOk ¶ added in v1.14.0

func (o *UsageSummaryResponse) GetMobileRumSessionCountReactnativeAggSumOk() (*int64, bool)

GetMobileRumSessionCountReactnativeAggSumOk returns a tuple with the MobileRumSessionCountReactnativeAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetMobileRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetMobileRumUnitsAggSum() int64

GetMobileRumUnitsAggSum returns the MobileRumUnitsAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetMobileRumUnitsAggSumOk ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetMobileRumUnitsAggSumOk() (*int64, bool)

GetMobileRumUnitsAggSumOk returns a tuple with the MobileRumUnitsAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetNetflowIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) GetNetflowIndexedEventsCountAggSum() int64

GetNetflowIndexedEventsCountAggSum returns the NetflowIndexedEventsCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetNetflowIndexedEventsCountAggSumOk ¶

func (o *UsageSummaryResponse) GetNetflowIndexedEventsCountAggSumOk() (*int64, bool)

GetNetflowIndexedEventsCountAggSumOk returns a tuple with the NetflowIndexedEventsCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetNpmHostTop99pSum ¶

func (o *UsageSummaryResponse) GetNpmHostTop99pSum() int64

GetNpmHostTop99pSum returns the NpmHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetNpmHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetNpmHostTop99pSumOk() (*int64, bool)

GetNpmHostTop99pSumOk returns a tuple with the NpmHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetObservabilityPipelinesBytesProcessedAggSum ¶ added in v1.14.0

func (o *UsageSummaryResponse) GetObservabilityPipelinesBytesProcessedAggSum() int64

GetObservabilityPipelinesBytesProcessedAggSum returns the ObservabilityPipelinesBytesProcessedAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetObservabilityPipelinesBytesProcessedAggSumOk ¶ added in v1.14.0

func (o *UsageSummaryResponse) GetObservabilityPipelinesBytesProcessedAggSumOk() (*int64, bool)

GetObservabilityPipelinesBytesProcessedAggSumOk returns a tuple with the ObservabilityPipelinesBytesProcessedAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetOnlineArchiveEventsCountAggSum ¶ added in v1.11.0

func (o *UsageSummaryResponse) GetOnlineArchiveEventsCountAggSum() int64

GetOnlineArchiveEventsCountAggSum returns the OnlineArchiveEventsCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetOnlineArchiveEventsCountAggSumOk ¶ added in v1.11.0

func (o *UsageSummaryResponse) GetOnlineArchiveEventsCountAggSumOk() (*int64, bool)

GetOnlineArchiveEventsCountAggSumOk returns a tuple with the OnlineArchiveEventsCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetOpentelemetryHostTop99pSum ¶

func (o *UsageSummaryResponse) GetOpentelemetryHostTop99pSum() int64

GetOpentelemetryHostTop99pSum returns the OpentelemetryHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetOpentelemetryHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetOpentelemetryHostTop99pSumOk() (*int64, bool)

GetOpentelemetryHostTop99pSumOk returns a tuple with the OpentelemetryHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetProfilingContainerAgentCountAvg ¶

func (o *UsageSummaryResponse) GetProfilingContainerAgentCountAvg() int64

GetProfilingContainerAgentCountAvg returns the ProfilingContainerAgentCountAvg field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetProfilingContainerAgentCountAvgOk ¶

func (o *UsageSummaryResponse) GetProfilingContainerAgentCountAvgOk() (*int64, bool)

GetProfilingContainerAgentCountAvgOk returns a tuple with the ProfilingContainerAgentCountAvg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetProfilingHostCountTop99pSum ¶

func (o *UsageSummaryResponse) GetProfilingHostCountTop99pSum() int64

GetProfilingHostCountTop99pSum returns the ProfilingHostCountTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetProfilingHostCountTop99pSumOk ¶

func (o *UsageSummaryResponse) GetProfilingHostCountTop99pSumOk() (*int64, bool)

GetProfilingHostCountTop99pSumOk returns a tuple with the ProfilingHostCountTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetRehydratedIndexedEventsAggSum ¶

func (o *UsageSummaryResponse) GetRehydratedIndexedEventsAggSum() int64

GetRehydratedIndexedEventsAggSum returns the RehydratedIndexedEventsAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetRehydratedIndexedEventsAggSumOk ¶

func (o *UsageSummaryResponse) GetRehydratedIndexedEventsAggSumOk() (*int64, bool)

GetRehydratedIndexedEventsAggSumOk returns a tuple with the RehydratedIndexedEventsAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetRehydratedIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) GetRehydratedIngestedBytesAggSum() int64

GetRehydratedIngestedBytesAggSum returns the RehydratedIngestedBytesAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetRehydratedIngestedBytesAggSumOk ¶

func (o *UsageSummaryResponse) GetRehydratedIngestedBytesAggSumOk() (*int64, bool)

GetRehydratedIngestedBytesAggSumOk returns a tuple with the RehydratedIngestedBytesAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryResponse) GetRumBrowserAndMobileSessionCount() int64

GetRumBrowserAndMobileSessionCount returns the RumBrowserAndMobileSessionCount field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetRumBrowserAndMobileSessionCountOk ¶ added in v1.8.0

func (o *UsageSummaryResponse) GetRumBrowserAndMobileSessionCountOk() (*int64, bool)

GetRumBrowserAndMobileSessionCountOk returns a tuple with the RumBrowserAndMobileSessionCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetRumSessionCountAggSum ¶

func (o *UsageSummaryResponse) GetRumSessionCountAggSum() int64

GetRumSessionCountAggSum returns the RumSessionCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetRumSessionCountAggSumOk ¶

func (o *UsageSummaryResponse) GetRumSessionCountAggSumOk() (*int64, bool)

GetRumSessionCountAggSumOk returns a tuple with the RumSessionCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetRumTotalSessionCountAggSum ¶

func (o *UsageSummaryResponse) GetRumTotalSessionCountAggSum() int64

GetRumTotalSessionCountAggSum returns the RumTotalSessionCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetRumTotalSessionCountAggSumOk ¶

func (o *UsageSummaryResponse) GetRumTotalSessionCountAggSumOk() (*int64, bool)

GetRumTotalSessionCountAggSumOk returns a tuple with the RumTotalSessionCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetRumUnitsAggSum() int64

GetRumUnitsAggSum returns the RumUnitsAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetRumUnitsAggSumOk ¶ added in v1.7.0

func (o *UsageSummaryResponse) GetRumUnitsAggSumOk() (*int64, bool)

GetRumUnitsAggSumOk returns a tuple with the RumUnitsAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) GetSdsLogsScannedBytesSum() int64

GetSdsLogsScannedBytesSum returns the SdsLogsScannedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetSdsLogsScannedBytesSumOk ¶ added in v1.5.0

func (o *UsageSummaryResponse) GetSdsLogsScannedBytesSumOk() (*int64, bool)

GetSdsLogsScannedBytesSumOk returns a tuple with the SdsLogsScannedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) GetSdsTotalScannedBytesSum() int64

GetSdsTotalScannedBytesSum returns the SdsTotalScannedBytesSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetSdsTotalScannedBytesSumOk ¶ added in v1.5.0

func (o *UsageSummaryResponse) GetSdsTotalScannedBytesSumOk() (*int64, bool)

GetSdsTotalScannedBytesSumOk returns a tuple with the SdsTotalScannedBytesSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetStartDate ¶

func (o *UsageSummaryResponse) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetStartDateOk ¶

func (o *UsageSummaryResponse) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetSyntheticsBrowserCheckCallsCountAggSum ¶

func (o *UsageSummaryResponse) GetSyntheticsBrowserCheckCallsCountAggSum() int64

GetSyntheticsBrowserCheckCallsCountAggSum returns the SyntheticsBrowserCheckCallsCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetSyntheticsBrowserCheckCallsCountAggSumOk ¶

func (o *UsageSummaryResponse) GetSyntheticsBrowserCheckCallsCountAggSumOk() (*int64, bool)

GetSyntheticsBrowserCheckCallsCountAggSumOk returns a tuple with the SyntheticsBrowserCheckCallsCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetSyntheticsCheckCallsCountAggSum ¶

func (o *UsageSummaryResponse) GetSyntheticsCheckCallsCountAggSum() int64

GetSyntheticsCheckCallsCountAggSum returns the SyntheticsCheckCallsCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetSyntheticsCheckCallsCountAggSumOk ¶

func (o *UsageSummaryResponse) GetSyntheticsCheckCallsCountAggSumOk() (*int64, bool)

GetSyntheticsCheckCallsCountAggSumOk returns a tuple with the SyntheticsCheckCallsCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetTraceSearchIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) GetTraceSearchIndexedEventsCountAggSum() int64

GetTraceSearchIndexedEventsCountAggSum returns the TraceSearchIndexedEventsCountAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetTraceSearchIndexedEventsCountAggSumOk ¶

func (o *UsageSummaryResponse) GetTraceSearchIndexedEventsCountAggSumOk() (*int64, bool)

GetTraceSearchIndexedEventsCountAggSumOk returns a tuple with the TraceSearchIndexedEventsCountAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetTwolIngestedEventsBytesAggSum ¶

func (o *UsageSummaryResponse) GetTwolIngestedEventsBytesAggSum() int64

GetTwolIngestedEventsBytesAggSum returns the TwolIngestedEventsBytesAggSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetTwolIngestedEventsBytesAggSumOk ¶

func (o *UsageSummaryResponse) GetTwolIngestedEventsBytesAggSumOk() (*int64, bool)

GetTwolIngestedEventsBytesAggSumOk returns a tuple with the TwolIngestedEventsBytesAggSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetUsage ¶

func (o *UsageSummaryResponse) GetUsage() []UsageSummaryDate

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetUsageOk ¶

func (o *UsageSummaryResponse) GetUsageOk() (*[]UsageSummaryDate, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) GetVsphereHostTop99pSum ¶

func (o *UsageSummaryResponse) GetVsphereHostTop99pSum() int64

GetVsphereHostTop99pSum returns the VsphereHostTop99pSum field value if set, zero value otherwise.

func (*UsageSummaryResponse) GetVsphereHostTop99pSumOk ¶

func (o *UsageSummaryResponse) GetVsphereHostTop99pSumOk() (*int64, bool)

GetVsphereHostTop99pSumOk returns a tuple with the VsphereHostTop99pSum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSummaryResponse) HasAgentHostTop99pSum ¶

func (o *UsageSummaryResponse) HasAgentHostTop99pSum() bool

HasAgentHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasApmAzureAppServiceHostTop99pSum ¶

func (o *UsageSummaryResponse) HasApmAzureAppServiceHostTop99pSum() bool

HasApmAzureAppServiceHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasApmHostTop99pSum ¶

func (o *UsageSummaryResponse) HasApmHostTop99pSum() bool

HasApmHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasAuditLogsLinesIndexedAggSum ¶

func (o *UsageSummaryResponse) HasAuditLogsLinesIndexedAggSum() bool

HasAuditLogsLinesIndexedAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasAvgProfiledFargateTasksSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) HasAvgProfiledFargateTasksSum() bool

HasAvgProfiledFargateTasksSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasAwsHostTop99pSum ¶

func (o *UsageSummaryResponse) HasAwsHostTop99pSum() bool

HasAwsHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasAwsLambdaFuncCount ¶

func (o *UsageSummaryResponse) HasAwsLambdaFuncCount() bool

HasAwsLambdaFuncCount returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasAwsLambdaInvocationsSum ¶

func (o *UsageSummaryResponse) HasAwsLambdaInvocationsSum() bool

HasAwsLambdaInvocationsSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasAzureAppServiceTop99pSum ¶

func (o *UsageSummaryResponse) HasAzureAppServiceTop99pSum() bool

HasAzureAppServiceTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasAzureHostTop99pSum ¶

func (o *UsageSummaryResponse) HasAzureHostTop99pSum() bool

HasAzureHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasBillableIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) HasBillableIngestedBytesAggSum() bool

HasBillableIngestedBytesAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasBrowserRumLiteSessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) HasBrowserRumLiteSessionCountAggSum() bool

HasBrowserRumLiteSessionCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasBrowserRumReplaySessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) HasBrowserRumReplaySessionCountAggSum() bool

HasBrowserRumReplaySessionCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasBrowserRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) HasBrowserRumUnitsAggSum() bool

HasBrowserRumUnitsAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCiPipelineIndexedSpansAggSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) HasCiPipelineIndexedSpansAggSum() bool

HasCiPipelineIndexedSpansAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCiTestIndexedSpansAggSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) HasCiTestIndexedSpansAggSum() bool

HasCiTestIndexedSpansAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCiVisibilityPipelineCommittersHwmSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) HasCiVisibilityPipelineCommittersHwmSum() bool

HasCiVisibilityPipelineCommittersHwmSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCiVisibilityTestCommittersHwmSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) HasCiVisibilityTestCommittersHwmSum() bool

HasCiVisibilityTestCommittersHwmSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasContainerAvgSum ¶

func (o *UsageSummaryResponse) HasContainerAvgSum() bool

HasContainerAvgSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasContainerHwmSum ¶

func (o *UsageSummaryResponse) HasContainerHwmSum() bool

HasContainerHwmSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCspmAasHostTop99pSum ¶ added in v1.9.0

func (o *UsageSummaryResponse) HasCspmAasHostTop99pSum() bool

HasCspmAasHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCspmAzureHostTop99pSum ¶ added in v1.9.0

func (o *UsageSummaryResponse) HasCspmAzureHostTop99pSum() bool

HasCspmAzureHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCspmContainerAvgSum ¶

func (o *UsageSummaryResponse) HasCspmContainerAvgSum() bool

HasCspmContainerAvgSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCspmContainerHwmSum ¶

func (o *UsageSummaryResponse) HasCspmContainerHwmSum() bool

HasCspmContainerHwmSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCspmHostTop99pSum ¶

func (o *UsageSummaryResponse) HasCspmHostTop99pSum() bool

HasCspmHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCustomTsSum ¶

func (o *UsageSummaryResponse) HasCustomTsSum() bool

HasCustomTsSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCwsContainersAvgSum ¶

func (o *UsageSummaryResponse) HasCwsContainersAvgSum() bool

HasCwsContainersAvgSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasCwsHostTop99pSum ¶

func (o *UsageSummaryResponse) HasCwsHostTop99pSum() bool

HasCwsHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasDbmHostTop99pSum ¶ added in v1.3.0

func (o *UsageSummaryResponse) HasDbmHostTop99pSum() bool

HasDbmHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasDbmQueriesAvgSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) HasDbmQueriesAvgSum() bool

HasDbmQueriesAvgSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasEndDate ¶

func (o *UsageSummaryResponse) HasEndDate() bool

HasEndDate returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasFargateTasksCountAvgSum ¶

func (o *UsageSummaryResponse) HasFargateTasksCountAvgSum() bool

HasFargateTasksCountAvgSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasFargateTasksCountHwmSum ¶

func (o *UsageSummaryResponse) HasFargateTasksCountHwmSum() bool

HasFargateTasksCountHwmSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasGcpHostTop99pSum ¶

func (o *UsageSummaryResponse) HasGcpHostTop99pSum() bool

HasGcpHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasHerokuHostTop99pSum ¶

func (o *UsageSummaryResponse) HasHerokuHostTop99pSum() bool

HasHerokuHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasIncidentManagementMonthlyActiveUsersHwmSum ¶

func (o *UsageSummaryResponse) HasIncidentManagementMonthlyActiveUsersHwmSum() bool

HasIncidentManagementMonthlyActiveUsersHwmSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) HasIndexedEventsCountAggSum() bool

HasIndexedEventsCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasInfraHostTop99pSum ¶

func (o *UsageSummaryResponse) HasInfraHostTop99pSum() bool

HasInfraHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasIngestedEventsBytesAggSum ¶

func (o *UsageSummaryResponse) HasIngestedEventsBytesAggSum() bool

HasIngestedEventsBytesAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasIotDeviceAggSum ¶

func (o *UsageSummaryResponse) HasIotDeviceAggSum() bool

HasIotDeviceAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasIotDeviceTop99pSum ¶

func (o *UsageSummaryResponse) HasIotDeviceTop99pSum() bool

HasIotDeviceTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasLastUpdated ¶

func (o *UsageSummaryResponse) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasLiveIndexedEventsAggSum ¶

func (o *UsageSummaryResponse) HasLiveIndexedEventsAggSum() bool

HasLiveIndexedEventsAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasLiveIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) HasLiveIngestedBytesAggSum() bool

HasLiveIngestedBytesAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasLogsByRetention ¶

func (o *UsageSummaryResponse) HasLogsByRetention() bool

HasLogsByRetention returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasMobileRumLiteSessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) HasMobileRumLiteSessionCountAggSum() bool

HasMobileRumLiteSessionCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasMobileRumSessionCountAggSum ¶

func (o *UsageSummaryResponse) HasMobileRumSessionCountAggSum() bool

HasMobileRumSessionCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasMobileRumSessionCountAndroidAggSum ¶

func (o *UsageSummaryResponse) HasMobileRumSessionCountAndroidAggSum() bool

HasMobileRumSessionCountAndroidAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasMobileRumSessionCountIosAggSum ¶

func (o *UsageSummaryResponse) HasMobileRumSessionCountIosAggSum() bool

HasMobileRumSessionCountIosAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasMobileRumSessionCountReactnativeAggSum ¶ added in v1.14.0

func (o *UsageSummaryResponse) HasMobileRumSessionCountReactnativeAggSum() bool

HasMobileRumSessionCountReactnativeAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasMobileRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) HasMobileRumUnitsAggSum() bool

HasMobileRumUnitsAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasNetflowIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) HasNetflowIndexedEventsCountAggSum() bool

HasNetflowIndexedEventsCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasNpmHostTop99pSum ¶

func (o *UsageSummaryResponse) HasNpmHostTop99pSum() bool

HasNpmHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasObservabilityPipelinesBytesProcessedAggSum ¶ added in v1.14.0

func (o *UsageSummaryResponse) HasObservabilityPipelinesBytesProcessedAggSum() bool

HasObservabilityPipelinesBytesProcessedAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasOnlineArchiveEventsCountAggSum ¶ added in v1.11.0

func (o *UsageSummaryResponse) HasOnlineArchiveEventsCountAggSum() bool

HasOnlineArchiveEventsCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasOpentelemetryHostTop99pSum ¶

func (o *UsageSummaryResponse) HasOpentelemetryHostTop99pSum() bool

HasOpentelemetryHostTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasProfilingContainerAgentCountAvg ¶

func (o *UsageSummaryResponse) HasProfilingContainerAgentCountAvg() bool

HasProfilingContainerAgentCountAvg returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasProfilingHostCountTop99pSum ¶

func (o *UsageSummaryResponse) HasProfilingHostCountTop99pSum() bool

HasProfilingHostCountTop99pSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasRehydratedIndexedEventsAggSum ¶

func (o *UsageSummaryResponse) HasRehydratedIndexedEventsAggSum() bool

HasRehydratedIndexedEventsAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasRehydratedIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) HasRehydratedIngestedBytesAggSum() bool

HasRehydratedIngestedBytesAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryResponse) HasRumBrowserAndMobileSessionCount() bool

HasRumBrowserAndMobileSessionCount returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasRumSessionCountAggSum ¶

func (o *UsageSummaryResponse) HasRumSessionCountAggSum() bool

HasRumSessionCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasRumTotalSessionCountAggSum ¶

func (o *UsageSummaryResponse) HasRumTotalSessionCountAggSum() bool

HasRumTotalSessionCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) HasRumUnitsAggSum() bool

HasRumUnitsAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) HasSdsLogsScannedBytesSum() bool

HasSdsLogsScannedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) HasSdsTotalScannedBytesSum() bool

HasSdsTotalScannedBytesSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasStartDate ¶

func (o *UsageSummaryResponse) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasSyntheticsBrowserCheckCallsCountAggSum ¶

func (o *UsageSummaryResponse) HasSyntheticsBrowserCheckCallsCountAggSum() bool

HasSyntheticsBrowserCheckCallsCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasSyntheticsCheckCallsCountAggSum ¶

func (o *UsageSummaryResponse) HasSyntheticsCheckCallsCountAggSum() bool

HasSyntheticsCheckCallsCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasTraceSearchIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) HasTraceSearchIndexedEventsCountAggSum() bool

HasTraceSearchIndexedEventsCountAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasTwolIngestedEventsBytesAggSum ¶

func (o *UsageSummaryResponse) HasTwolIngestedEventsBytesAggSum() bool

HasTwolIngestedEventsBytesAggSum returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasUsage ¶

func (o *UsageSummaryResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (*UsageSummaryResponse) HasVsphereHostTop99pSum ¶

func (o *UsageSummaryResponse) HasVsphereHostTop99pSum() bool

HasVsphereHostTop99pSum returns a boolean if a field has been set.

func (UsageSummaryResponse) MarshalJSON ¶

func (o UsageSummaryResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSummaryResponse) SetAgentHostTop99pSum ¶

func (o *UsageSummaryResponse) SetAgentHostTop99pSum(v int64)

SetAgentHostTop99pSum gets a reference to the given int64 and assigns it to the AgentHostTop99pSum field.

func (*UsageSummaryResponse) SetApmAzureAppServiceHostTop99pSum ¶

func (o *UsageSummaryResponse) SetApmAzureAppServiceHostTop99pSum(v int64)

SetApmAzureAppServiceHostTop99pSum gets a reference to the given int64 and assigns it to the ApmAzureAppServiceHostTop99pSum field.

func (*UsageSummaryResponse) SetApmHostTop99pSum ¶

func (o *UsageSummaryResponse) SetApmHostTop99pSum(v int64)

SetApmHostTop99pSum gets a reference to the given int64 and assigns it to the ApmHostTop99pSum field.

func (*UsageSummaryResponse) SetAuditLogsLinesIndexedAggSum ¶

func (o *UsageSummaryResponse) SetAuditLogsLinesIndexedAggSum(v int64)

SetAuditLogsLinesIndexedAggSum gets a reference to the given int64 and assigns it to the AuditLogsLinesIndexedAggSum field.

func (*UsageSummaryResponse) SetAvgProfiledFargateTasksSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) SetAvgProfiledFargateTasksSum(v int64)

SetAvgProfiledFargateTasksSum gets a reference to the given int64 and assigns it to the AvgProfiledFargateTasksSum field.

func (*UsageSummaryResponse) SetAwsHostTop99pSum ¶

func (o *UsageSummaryResponse) SetAwsHostTop99pSum(v int64)

SetAwsHostTop99pSum gets a reference to the given int64 and assigns it to the AwsHostTop99pSum field.

func (*UsageSummaryResponse) SetAwsLambdaFuncCount ¶

func (o *UsageSummaryResponse) SetAwsLambdaFuncCount(v int64)

SetAwsLambdaFuncCount gets a reference to the given int64 and assigns it to the AwsLambdaFuncCount field.

func (*UsageSummaryResponse) SetAwsLambdaInvocationsSum ¶

func (o *UsageSummaryResponse) SetAwsLambdaInvocationsSum(v int64)

SetAwsLambdaInvocationsSum gets a reference to the given int64 and assigns it to the AwsLambdaInvocationsSum field.

func (*UsageSummaryResponse) SetAzureAppServiceTop99pSum ¶

func (o *UsageSummaryResponse) SetAzureAppServiceTop99pSum(v int64)

SetAzureAppServiceTop99pSum gets a reference to the given int64 and assigns it to the AzureAppServiceTop99pSum field.

func (*UsageSummaryResponse) SetAzureHostTop99pSum ¶

func (o *UsageSummaryResponse) SetAzureHostTop99pSum(v int64)

SetAzureHostTop99pSum gets a reference to the given int64 and assigns it to the AzureHostTop99pSum field.

func (*UsageSummaryResponse) SetBillableIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) SetBillableIngestedBytesAggSum(v int64)

SetBillableIngestedBytesAggSum gets a reference to the given int64 and assigns it to the BillableIngestedBytesAggSum field.

func (*UsageSummaryResponse) SetBrowserRumLiteSessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) SetBrowserRumLiteSessionCountAggSum(v int64)

SetBrowserRumLiteSessionCountAggSum gets a reference to the given int64 and assigns it to the BrowserRumLiteSessionCountAggSum field.

func (*UsageSummaryResponse) SetBrowserRumReplaySessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) SetBrowserRumReplaySessionCountAggSum(v int64)

SetBrowserRumReplaySessionCountAggSum gets a reference to the given int64 and assigns it to the BrowserRumReplaySessionCountAggSum field.

func (*UsageSummaryResponse) SetBrowserRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) SetBrowserRumUnitsAggSum(v int64)

SetBrowserRumUnitsAggSum gets a reference to the given int64 and assigns it to the BrowserRumUnitsAggSum field.

func (*UsageSummaryResponse) SetCiPipelineIndexedSpansAggSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) SetCiPipelineIndexedSpansAggSum(v int64)

SetCiPipelineIndexedSpansAggSum gets a reference to the given int64 and assigns it to the CiPipelineIndexedSpansAggSum field.

func (*UsageSummaryResponse) SetCiTestIndexedSpansAggSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) SetCiTestIndexedSpansAggSum(v int64)

SetCiTestIndexedSpansAggSum gets a reference to the given int64 and assigns it to the CiTestIndexedSpansAggSum field.

func (*UsageSummaryResponse) SetCiVisibilityPipelineCommittersHwmSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) SetCiVisibilityPipelineCommittersHwmSum(v int64)

SetCiVisibilityPipelineCommittersHwmSum gets a reference to the given int64 and assigns it to the CiVisibilityPipelineCommittersHwmSum field.

func (*UsageSummaryResponse) SetCiVisibilityTestCommittersHwmSum ¶ added in v1.10.0

func (o *UsageSummaryResponse) SetCiVisibilityTestCommittersHwmSum(v int64)

SetCiVisibilityTestCommittersHwmSum gets a reference to the given int64 and assigns it to the CiVisibilityTestCommittersHwmSum field.

func (*UsageSummaryResponse) SetContainerAvgSum ¶

func (o *UsageSummaryResponse) SetContainerAvgSum(v int64)

SetContainerAvgSum gets a reference to the given int64 and assigns it to the ContainerAvgSum field.

func (*UsageSummaryResponse) SetContainerHwmSum ¶

func (o *UsageSummaryResponse) SetContainerHwmSum(v int64)

SetContainerHwmSum gets a reference to the given int64 and assigns it to the ContainerHwmSum field.

func (*UsageSummaryResponse) SetCspmAasHostTop99pSum ¶ added in v1.9.0

func (o *UsageSummaryResponse) SetCspmAasHostTop99pSum(v int64)

SetCspmAasHostTop99pSum gets a reference to the given int64 and assigns it to the CspmAasHostTop99pSum field.

func (*UsageSummaryResponse) SetCspmAzureHostTop99pSum ¶ added in v1.9.0

func (o *UsageSummaryResponse) SetCspmAzureHostTop99pSum(v int64)

SetCspmAzureHostTop99pSum gets a reference to the given int64 and assigns it to the CspmAzureHostTop99pSum field.

func (*UsageSummaryResponse) SetCspmContainerAvgSum ¶

func (o *UsageSummaryResponse) SetCspmContainerAvgSum(v int64)

SetCspmContainerAvgSum gets a reference to the given int64 and assigns it to the CspmContainerAvgSum field.

func (*UsageSummaryResponse) SetCspmContainerHwmSum ¶

func (o *UsageSummaryResponse) SetCspmContainerHwmSum(v int64)

SetCspmContainerHwmSum gets a reference to the given int64 and assigns it to the CspmContainerHwmSum field.

func (*UsageSummaryResponse) SetCspmHostTop99pSum ¶

func (o *UsageSummaryResponse) SetCspmHostTop99pSum(v int64)

SetCspmHostTop99pSum gets a reference to the given int64 and assigns it to the CspmHostTop99pSum field.

func (*UsageSummaryResponse) SetCustomTsSum ¶

func (o *UsageSummaryResponse) SetCustomTsSum(v int64)

SetCustomTsSum gets a reference to the given int64 and assigns it to the CustomTsSum field.

func (*UsageSummaryResponse) SetCwsContainersAvgSum ¶

func (o *UsageSummaryResponse) SetCwsContainersAvgSum(v int64)

SetCwsContainersAvgSum gets a reference to the given int64 and assigns it to the CwsContainersAvgSum field.

func (*UsageSummaryResponse) SetCwsHostTop99pSum ¶

func (o *UsageSummaryResponse) SetCwsHostTop99pSum(v int64)

SetCwsHostTop99pSum gets a reference to the given int64 and assigns it to the CwsHostTop99pSum field.

func (*UsageSummaryResponse) SetDbmHostTop99pSum ¶ added in v1.3.0

func (o *UsageSummaryResponse) SetDbmHostTop99pSum(v int64)

SetDbmHostTop99pSum gets a reference to the given int64 and assigns it to the DbmHostTop99pSum field.

func (*UsageSummaryResponse) SetDbmQueriesAvgSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) SetDbmQueriesAvgSum(v int64)

SetDbmQueriesAvgSum gets a reference to the given int64 and assigns it to the DbmQueriesAvgSum field.

func (*UsageSummaryResponse) SetEndDate ¶

func (o *UsageSummaryResponse) SetEndDate(v time.Time)

SetEndDate gets a reference to the given time.Time and assigns it to the EndDate field.

func (*UsageSummaryResponse) SetFargateTasksCountAvgSum ¶

func (o *UsageSummaryResponse) SetFargateTasksCountAvgSum(v int64)

SetFargateTasksCountAvgSum gets a reference to the given int64 and assigns it to the FargateTasksCountAvgSum field.

func (*UsageSummaryResponse) SetFargateTasksCountHwmSum ¶

func (o *UsageSummaryResponse) SetFargateTasksCountHwmSum(v int64)

SetFargateTasksCountHwmSum gets a reference to the given int64 and assigns it to the FargateTasksCountHwmSum field.

func (*UsageSummaryResponse) SetGcpHostTop99pSum ¶

func (o *UsageSummaryResponse) SetGcpHostTop99pSum(v int64)

SetGcpHostTop99pSum gets a reference to the given int64 and assigns it to the GcpHostTop99pSum field.

func (*UsageSummaryResponse) SetHerokuHostTop99pSum ¶

func (o *UsageSummaryResponse) SetHerokuHostTop99pSum(v int64)

SetHerokuHostTop99pSum gets a reference to the given int64 and assigns it to the HerokuHostTop99pSum field.

func (*UsageSummaryResponse) SetIncidentManagementMonthlyActiveUsersHwmSum ¶

func (o *UsageSummaryResponse) SetIncidentManagementMonthlyActiveUsersHwmSum(v int64)

SetIncidentManagementMonthlyActiveUsersHwmSum gets a reference to the given int64 and assigns it to the IncidentManagementMonthlyActiveUsersHwmSum field.

func (*UsageSummaryResponse) SetIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) SetIndexedEventsCountAggSum(v int64)

SetIndexedEventsCountAggSum gets a reference to the given int64 and assigns it to the IndexedEventsCountAggSum field.

func (*UsageSummaryResponse) SetInfraHostTop99pSum ¶

func (o *UsageSummaryResponse) SetInfraHostTop99pSum(v int64)

SetInfraHostTop99pSum gets a reference to the given int64 and assigns it to the InfraHostTop99pSum field.

func (*UsageSummaryResponse) SetIngestedEventsBytesAggSum ¶

func (o *UsageSummaryResponse) SetIngestedEventsBytesAggSum(v int64)

SetIngestedEventsBytesAggSum gets a reference to the given int64 and assigns it to the IngestedEventsBytesAggSum field.

func (*UsageSummaryResponse) SetIotDeviceAggSum ¶

func (o *UsageSummaryResponse) SetIotDeviceAggSum(v int64)

SetIotDeviceAggSum gets a reference to the given int64 and assigns it to the IotDeviceAggSum field.

func (*UsageSummaryResponse) SetIotDeviceTop99pSum ¶

func (o *UsageSummaryResponse) SetIotDeviceTop99pSum(v int64)

SetIotDeviceTop99pSum gets a reference to the given int64 and assigns it to the IotDeviceTop99pSum field.

func (*UsageSummaryResponse) SetLastUpdated ¶

func (o *UsageSummaryResponse) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*UsageSummaryResponse) SetLiveIndexedEventsAggSum ¶

func (o *UsageSummaryResponse) SetLiveIndexedEventsAggSum(v int64)

SetLiveIndexedEventsAggSum gets a reference to the given int64 and assigns it to the LiveIndexedEventsAggSum field.

func (*UsageSummaryResponse) SetLiveIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) SetLiveIngestedBytesAggSum(v int64)

SetLiveIngestedBytesAggSum gets a reference to the given int64 and assigns it to the LiveIngestedBytesAggSum field.

func (*UsageSummaryResponse) SetLogsByRetention ¶

func (o *UsageSummaryResponse) SetLogsByRetention(v LogsByRetention)

SetLogsByRetention gets a reference to the given LogsByRetention and assigns it to the LogsByRetention field.

func (*UsageSummaryResponse) SetMobileRumLiteSessionCountAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) SetMobileRumLiteSessionCountAggSum(v int64)

SetMobileRumLiteSessionCountAggSum gets a reference to the given int64 and assigns it to the MobileRumLiteSessionCountAggSum field.

func (*UsageSummaryResponse) SetMobileRumSessionCountAggSum ¶

func (o *UsageSummaryResponse) SetMobileRumSessionCountAggSum(v int64)

SetMobileRumSessionCountAggSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountAggSum field.

func (*UsageSummaryResponse) SetMobileRumSessionCountAndroidAggSum ¶

func (o *UsageSummaryResponse) SetMobileRumSessionCountAndroidAggSum(v int64)

SetMobileRumSessionCountAndroidAggSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountAndroidAggSum field.

func (*UsageSummaryResponse) SetMobileRumSessionCountIosAggSum ¶

func (o *UsageSummaryResponse) SetMobileRumSessionCountIosAggSum(v int64)

SetMobileRumSessionCountIosAggSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountIosAggSum field.

func (*UsageSummaryResponse) SetMobileRumSessionCountReactnativeAggSum ¶ added in v1.14.0

func (o *UsageSummaryResponse) SetMobileRumSessionCountReactnativeAggSum(v int64)

SetMobileRumSessionCountReactnativeAggSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountReactnativeAggSum field.

func (*UsageSummaryResponse) SetMobileRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) SetMobileRumUnitsAggSum(v int64)

SetMobileRumUnitsAggSum gets a reference to the given int64 and assigns it to the MobileRumUnitsAggSum field.

func (*UsageSummaryResponse) SetNetflowIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) SetNetflowIndexedEventsCountAggSum(v int64)

SetNetflowIndexedEventsCountAggSum gets a reference to the given int64 and assigns it to the NetflowIndexedEventsCountAggSum field.

func (*UsageSummaryResponse) SetNpmHostTop99pSum ¶

func (o *UsageSummaryResponse) SetNpmHostTop99pSum(v int64)

SetNpmHostTop99pSum gets a reference to the given int64 and assigns it to the NpmHostTop99pSum field.

func (*UsageSummaryResponse) SetObservabilityPipelinesBytesProcessedAggSum ¶ added in v1.14.0

func (o *UsageSummaryResponse) SetObservabilityPipelinesBytesProcessedAggSum(v int64)

SetObservabilityPipelinesBytesProcessedAggSum gets a reference to the given int64 and assigns it to the ObservabilityPipelinesBytesProcessedAggSum field.

func (*UsageSummaryResponse) SetOnlineArchiveEventsCountAggSum ¶ added in v1.11.0

func (o *UsageSummaryResponse) SetOnlineArchiveEventsCountAggSum(v int64)

SetOnlineArchiveEventsCountAggSum gets a reference to the given int64 and assigns it to the OnlineArchiveEventsCountAggSum field.

func (*UsageSummaryResponse) SetOpentelemetryHostTop99pSum ¶

func (o *UsageSummaryResponse) SetOpentelemetryHostTop99pSum(v int64)

SetOpentelemetryHostTop99pSum gets a reference to the given int64 and assigns it to the OpentelemetryHostTop99pSum field.

func (*UsageSummaryResponse) SetProfilingContainerAgentCountAvg ¶

func (o *UsageSummaryResponse) SetProfilingContainerAgentCountAvg(v int64)

SetProfilingContainerAgentCountAvg gets a reference to the given int64 and assigns it to the ProfilingContainerAgentCountAvg field.

func (*UsageSummaryResponse) SetProfilingHostCountTop99pSum ¶

func (o *UsageSummaryResponse) SetProfilingHostCountTop99pSum(v int64)

SetProfilingHostCountTop99pSum gets a reference to the given int64 and assigns it to the ProfilingHostCountTop99pSum field.

func (*UsageSummaryResponse) SetRehydratedIndexedEventsAggSum ¶

func (o *UsageSummaryResponse) SetRehydratedIndexedEventsAggSum(v int64)

SetRehydratedIndexedEventsAggSum gets a reference to the given int64 and assigns it to the RehydratedIndexedEventsAggSum field.

func (*UsageSummaryResponse) SetRehydratedIngestedBytesAggSum ¶

func (o *UsageSummaryResponse) SetRehydratedIngestedBytesAggSum(v int64)

SetRehydratedIngestedBytesAggSum gets a reference to the given int64 and assigns it to the RehydratedIngestedBytesAggSum field.

func (*UsageSummaryResponse) SetRumBrowserAndMobileSessionCount ¶ added in v1.8.0

func (o *UsageSummaryResponse) SetRumBrowserAndMobileSessionCount(v int64)

SetRumBrowserAndMobileSessionCount gets a reference to the given int64 and assigns it to the RumBrowserAndMobileSessionCount field.

func (*UsageSummaryResponse) SetRumSessionCountAggSum ¶

func (o *UsageSummaryResponse) SetRumSessionCountAggSum(v int64)

SetRumSessionCountAggSum gets a reference to the given int64 and assigns it to the RumSessionCountAggSum field.

func (*UsageSummaryResponse) SetRumTotalSessionCountAggSum ¶

func (o *UsageSummaryResponse) SetRumTotalSessionCountAggSum(v int64)

SetRumTotalSessionCountAggSum gets a reference to the given int64 and assigns it to the RumTotalSessionCountAggSum field.

func (*UsageSummaryResponse) SetRumUnitsAggSum ¶ added in v1.7.0

func (o *UsageSummaryResponse) SetRumUnitsAggSum(v int64)

SetRumUnitsAggSum gets a reference to the given int64 and assigns it to the RumUnitsAggSum field.

func (*UsageSummaryResponse) SetSdsLogsScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) SetSdsLogsScannedBytesSum(v int64)

SetSdsLogsScannedBytesSum gets a reference to the given int64 and assigns it to the SdsLogsScannedBytesSum field.

func (*UsageSummaryResponse) SetSdsTotalScannedBytesSum ¶ added in v1.5.0

func (o *UsageSummaryResponse) SetSdsTotalScannedBytesSum(v int64)

SetSdsTotalScannedBytesSum gets a reference to the given int64 and assigns it to the SdsTotalScannedBytesSum field.

func (*UsageSummaryResponse) SetStartDate ¶

func (o *UsageSummaryResponse) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*UsageSummaryResponse) SetSyntheticsBrowserCheckCallsCountAggSum ¶

func (o *UsageSummaryResponse) SetSyntheticsBrowserCheckCallsCountAggSum(v int64)

SetSyntheticsBrowserCheckCallsCountAggSum gets a reference to the given int64 and assigns it to the SyntheticsBrowserCheckCallsCountAggSum field.

func (*UsageSummaryResponse) SetSyntheticsCheckCallsCountAggSum ¶

func (o *UsageSummaryResponse) SetSyntheticsCheckCallsCountAggSum(v int64)

SetSyntheticsCheckCallsCountAggSum gets a reference to the given int64 and assigns it to the SyntheticsCheckCallsCountAggSum field.

func (*UsageSummaryResponse) SetTraceSearchIndexedEventsCountAggSum ¶

func (o *UsageSummaryResponse) SetTraceSearchIndexedEventsCountAggSum(v int64)

SetTraceSearchIndexedEventsCountAggSum gets a reference to the given int64 and assigns it to the TraceSearchIndexedEventsCountAggSum field.

func (*UsageSummaryResponse) SetTwolIngestedEventsBytesAggSum ¶

func (o *UsageSummaryResponse) SetTwolIngestedEventsBytesAggSum(v int64)

SetTwolIngestedEventsBytesAggSum gets a reference to the given int64 and assigns it to the TwolIngestedEventsBytesAggSum field.

func (*UsageSummaryResponse) SetUsage ¶

func (o *UsageSummaryResponse) SetUsage(v []UsageSummaryDate)

SetUsage gets a reference to the given []UsageSummaryDate and assigns it to the Usage field.

func (*UsageSummaryResponse) SetVsphereHostTop99pSum ¶

func (o *UsageSummaryResponse) SetVsphereHostTop99pSum(v int64)

SetVsphereHostTop99pSum gets a reference to the given int64 and assigns it to the VsphereHostTop99pSum field.

func (*UsageSummaryResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSyntheticsAPIHour ¶

type UsageSyntheticsAPIHour struct {
	// Contains the number of Synthetics API tests run.
	CheckCallsCount *int64 `json:"check_calls_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSyntheticsAPIHour Number of Synthetics API tests run for each hour for a given organization.

func NewUsageSyntheticsAPIHour ¶

func NewUsageSyntheticsAPIHour() *UsageSyntheticsAPIHour

NewUsageSyntheticsAPIHour instantiates a new UsageSyntheticsAPIHour 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 NewUsageSyntheticsAPIHourWithDefaults ¶

func NewUsageSyntheticsAPIHourWithDefaults() *UsageSyntheticsAPIHour

NewUsageSyntheticsAPIHourWithDefaults instantiates a new UsageSyntheticsAPIHour 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 (*UsageSyntheticsAPIHour) GetCheckCallsCount ¶

func (o *UsageSyntheticsAPIHour) GetCheckCallsCount() int64

GetCheckCallsCount returns the CheckCallsCount field value if set, zero value otherwise.

func (*UsageSyntheticsAPIHour) GetCheckCallsCountOk ¶

func (o *UsageSyntheticsAPIHour) GetCheckCallsCountOk() (*int64, bool)

GetCheckCallsCountOk returns a tuple with the CheckCallsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsAPIHour) GetHour ¶

func (o *UsageSyntheticsAPIHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageSyntheticsAPIHour) GetHourOk ¶

func (o *UsageSyntheticsAPIHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsAPIHour) GetOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageSyntheticsAPIHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsAPIHour) GetPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageSyntheticsAPIHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsAPIHour) HasCheckCallsCount ¶

func (o *UsageSyntheticsAPIHour) HasCheckCallsCount() bool

HasCheckCallsCount returns a boolean if a field has been set.

func (*UsageSyntheticsAPIHour) HasHour ¶

func (o *UsageSyntheticsAPIHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageSyntheticsAPIHour) HasOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageSyntheticsAPIHour) HasPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageSyntheticsAPIHour) MarshalJSON ¶

func (o UsageSyntheticsAPIHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSyntheticsAPIHour) SetCheckCallsCount ¶

func (o *UsageSyntheticsAPIHour) SetCheckCallsCount(v int64)

SetCheckCallsCount gets a reference to the given int64 and assigns it to the CheckCallsCount field.

func (*UsageSyntheticsAPIHour) SetHour ¶

func (o *UsageSyntheticsAPIHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageSyntheticsAPIHour) SetOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageSyntheticsAPIHour) SetPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsAPIHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageSyntheticsAPIHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSyntheticsAPIHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSyntheticsAPIResponse ¶

type UsageSyntheticsAPIResponse struct {
	// Get hourly usage for Synthetics API tests.
	Usage []UsageSyntheticsAPIHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSyntheticsAPIResponse Response containing the number of Synthetics API tests run for each hour for a given organization.

func NewUsageSyntheticsAPIResponse ¶

func NewUsageSyntheticsAPIResponse() *UsageSyntheticsAPIResponse

NewUsageSyntheticsAPIResponse instantiates a new UsageSyntheticsAPIResponse 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 NewUsageSyntheticsAPIResponseWithDefaults ¶

func NewUsageSyntheticsAPIResponseWithDefaults() *UsageSyntheticsAPIResponse

NewUsageSyntheticsAPIResponseWithDefaults instantiates a new UsageSyntheticsAPIResponse 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 (*UsageSyntheticsAPIResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageSyntheticsAPIResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsAPIResponse) HasUsage ¶

func (o *UsageSyntheticsAPIResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageSyntheticsAPIResponse) MarshalJSON ¶

func (o UsageSyntheticsAPIResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSyntheticsAPIResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageSyntheticsAPIHour and assigns it to the Usage field.

func (*UsageSyntheticsAPIResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSyntheticsAPIResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSyntheticsBrowserHour ¶

type UsageSyntheticsBrowserHour struct {
	// Contains the number of Synthetics Browser tests run.
	BrowserCheckCallsCount *int64 `json:"browser_check_calls_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSyntheticsBrowserHour Number of Synthetics Browser tests run for each hour for a given organization.

func NewUsageSyntheticsBrowserHour ¶

func NewUsageSyntheticsBrowserHour() *UsageSyntheticsBrowserHour

NewUsageSyntheticsBrowserHour instantiates a new UsageSyntheticsBrowserHour 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 NewUsageSyntheticsBrowserHourWithDefaults ¶

func NewUsageSyntheticsBrowserHourWithDefaults() *UsageSyntheticsBrowserHour

NewUsageSyntheticsBrowserHourWithDefaults instantiates a new UsageSyntheticsBrowserHour 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 (*UsageSyntheticsBrowserHour) GetBrowserCheckCallsCount ¶

func (o *UsageSyntheticsBrowserHour) GetBrowserCheckCallsCount() int64

GetBrowserCheckCallsCount returns the BrowserCheckCallsCount field value if set, zero value otherwise.

func (*UsageSyntheticsBrowserHour) GetBrowserCheckCallsCountOk ¶

func (o *UsageSyntheticsBrowserHour) GetBrowserCheckCallsCountOk() (*int64, bool)

GetBrowserCheckCallsCountOk returns a tuple with the BrowserCheckCallsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsBrowserHour) GetHour ¶

func (o *UsageSyntheticsBrowserHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageSyntheticsBrowserHour) GetHourOk ¶

func (o *UsageSyntheticsBrowserHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsBrowserHour) GetOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageSyntheticsBrowserHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsBrowserHour) GetPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageSyntheticsBrowserHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsBrowserHour) HasBrowserCheckCallsCount ¶

func (o *UsageSyntheticsBrowserHour) HasBrowserCheckCallsCount() bool

HasBrowserCheckCallsCount returns a boolean if a field has been set.

func (*UsageSyntheticsBrowserHour) HasHour ¶

func (o *UsageSyntheticsBrowserHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageSyntheticsBrowserHour) HasOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageSyntheticsBrowserHour) HasPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageSyntheticsBrowserHour) MarshalJSON ¶

func (o UsageSyntheticsBrowserHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSyntheticsBrowserHour) SetBrowserCheckCallsCount ¶

func (o *UsageSyntheticsBrowserHour) SetBrowserCheckCallsCount(v int64)

SetBrowserCheckCallsCount gets a reference to the given int64 and assigns it to the BrowserCheckCallsCount field.

func (*UsageSyntheticsBrowserHour) SetHour ¶

func (o *UsageSyntheticsBrowserHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageSyntheticsBrowserHour) SetOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageSyntheticsBrowserHour) SetPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsBrowserHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageSyntheticsBrowserHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSyntheticsBrowserHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSyntheticsBrowserResponse ¶

type UsageSyntheticsBrowserResponse struct {
	// Get hourly usage for Synthetics Browser tests.
	Usage []UsageSyntheticsBrowserHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSyntheticsBrowserResponse Response containing the number of Synthetics Browser tests run for each hour for a given organization.

func NewUsageSyntheticsBrowserResponse ¶

func NewUsageSyntheticsBrowserResponse() *UsageSyntheticsBrowserResponse

NewUsageSyntheticsBrowserResponse instantiates a new UsageSyntheticsBrowserResponse 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 NewUsageSyntheticsBrowserResponseWithDefaults ¶

func NewUsageSyntheticsBrowserResponseWithDefaults() *UsageSyntheticsBrowserResponse

NewUsageSyntheticsBrowserResponseWithDefaults instantiates a new UsageSyntheticsBrowserResponse 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 (*UsageSyntheticsBrowserResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageSyntheticsBrowserResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsBrowserResponse) HasUsage ¶

func (o *UsageSyntheticsBrowserResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageSyntheticsBrowserResponse) MarshalJSON ¶

func (o UsageSyntheticsBrowserResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSyntheticsBrowserResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageSyntheticsBrowserHour and assigns it to the Usage field.

func (*UsageSyntheticsBrowserResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSyntheticsBrowserResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSyntheticsHour ¶

type UsageSyntheticsHour struct {
	// Contains the number of Synthetics API tests run.
	CheckCallsCount *int64 `json:"check_calls_count,omitempty"`
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSyntheticsHour The number of synthetics tests run for each hour for a given organization.

func NewUsageSyntheticsHour ¶

func NewUsageSyntheticsHour() *UsageSyntheticsHour

NewUsageSyntheticsHour instantiates a new UsageSyntheticsHour 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 NewUsageSyntheticsHourWithDefaults ¶

func NewUsageSyntheticsHourWithDefaults() *UsageSyntheticsHour

NewUsageSyntheticsHourWithDefaults instantiates a new UsageSyntheticsHour 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 (*UsageSyntheticsHour) GetCheckCallsCount ¶

func (o *UsageSyntheticsHour) GetCheckCallsCount() int64

GetCheckCallsCount returns the CheckCallsCount field value if set, zero value otherwise.

func (*UsageSyntheticsHour) GetCheckCallsCountOk ¶

func (o *UsageSyntheticsHour) GetCheckCallsCountOk() (*int64, bool)

GetCheckCallsCountOk returns a tuple with the CheckCallsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsHour) GetHour ¶

func (o *UsageSyntheticsHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageSyntheticsHour) GetHourOk ¶

func (o *UsageSyntheticsHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsHour) GetOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageSyntheticsHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageSyntheticsHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsHour) GetPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageSyntheticsHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageSyntheticsHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsHour) HasCheckCallsCount ¶

func (o *UsageSyntheticsHour) HasCheckCallsCount() bool

HasCheckCallsCount returns a boolean if a field has been set.

func (*UsageSyntheticsHour) HasHour ¶

func (o *UsageSyntheticsHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageSyntheticsHour) HasOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageSyntheticsHour) HasPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageSyntheticsHour) MarshalJSON ¶

func (o UsageSyntheticsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSyntheticsHour) SetCheckCallsCount ¶

func (o *UsageSyntheticsHour) SetCheckCallsCount(v int64)

SetCheckCallsCount gets a reference to the given int64 and assigns it to the CheckCallsCount field.

func (*UsageSyntheticsHour) SetHour ¶

func (o *UsageSyntheticsHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageSyntheticsHour) SetOrgName ¶ added in v1.9.0

func (o *UsageSyntheticsHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageSyntheticsHour) SetPublicId ¶ added in v1.9.0

func (o *UsageSyntheticsHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageSyntheticsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSyntheticsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageSyntheticsResponse ¶

type UsageSyntheticsResponse struct {
	// Array with the number of hourly Synthetics test run for a given organization.
	Usage []UsageSyntheticsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageSyntheticsResponse Response containing the number of Synthetics API tests run for each hour for a given organization.

func NewUsageSyntheticsResponse ¶

func NewUsageSyntheticsResponse() *UsageSyntheticsResponse

NewUsageSyntheticsResponse instantiates a new UsageSyntheticsResponse 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 NewUsageSyntheticsResponseWithDefaults ¶

func NewUsageSyntheticsResponseWithDefaults() *UsageSyntheticsResponse

NewUsageSyntheticsResponseWithDefaults instantiates a new UsageSyntheticsResponse 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 (*UsageSyntheticsResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageSyntheticsResponse) GetUsageOk ¶

func (o *UsageSyntheticsResponse) GetUsageOk() (*[]UsageSyntheticsHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageSyntheticsResponse) HasUsage ¶

func (o *UsageSyntheticsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageSyntheticsResponse) MarshalJSON ¶

func (o UsageSyntheticsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageSyntheticsResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageSyntheticsHour and assigns it to the Usage field.

func (*UsageSyntheticsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageSyntheticsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageTimeseriesHour ¶

type UsageTimeseriesHour struct {
	// The hour for the usage.
	Hour *time.Time `json:"hour,omitempty"`
	// Contains the number of custom metrics that are inputs for aggregations (metric configured is custom).
	NumCustomInputTimeseries *int64 `json:"num_custom_input_timeseries,omitempty"`
	// Contains the number of custom metrics that are outputs for aggregations (metric configured is custom).
	NumCustomOutputTimeseries *int64 `json:"num_custom_output_timeseries,omitempty"`
	// Contains sum of non-aggregation custom metrics and custom metrics that are outputs for aggregations.
	NumCustomTimeseries *int64 `json:"num_custom_timeseries,omitempty"`
	// The organization name.
	OrgName *string `json:"org_name,omitempty"`
	// The organization public ID.
	PublicId *string `json:"public_id,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageTimeseriesHour The hourly usage of timeseries.

func NewUsageTimeseriesHour ¶

func NewUsageTimeseriesHour() *UsageTimeseriesHour

NewUsageTimeseriesHour instantiates a new UsageTimeseriesHour 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 NewUsageTimeseriesHourWithDefaults ¶

func NewUsageTimeseriesHourWithDefaults() *UsageTimeseriesHour

NewUsageTimeseriesHourWithDefaults instantiates a new UsageTimeseriesHour 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 (*UsageTimeseriesHour) GetHour ¶

func (o *UsageTimeseriesHour) GetHour() time.Time

GetHour returns the Hour field value if set, zero value otherwise.

func (*UsageTimeseriesHour) GetHourOk ¶

func (o *UsageTimeseriesHour) GetHourOk() (*time.Time, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeseriesHour) GetNumCustomInputTimeseries ¶

func (o *UsageTimeseriesHour) GetNumCustomInputTimeseries() int64

GetNumCustomInputTimeseries returns the NumCustomInputTimeseries field value if set, zero value otherwise.

func (*UsageTimeseriesHour) GetNumCustomInputTimeseriesOk ¶

func (o *UsageTimeseriesHour) GetNumCustomInputTimeseriesOk() (*int64, bool)

GetNumCustomInputTimeseriesOk returns a tuple with the NumCustomInputTimeseries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeseriesHour) GetNumCustomOutputTimeseries ¶

func (o *UsageTimeseriesHour) GetNumCustomOutputTimeseries() int64

GetNumCustomOutputTimeseries returns the NumCustomOutputTimeseries field value if set, zero value otherwise.

func (*UsageTimeseriesHour) GetNumCustomOutputTimeseriesOk ¶

func (o *UsageTimeseriesHour) GetNumCustomOutputTimeseriesOk() (*int64, bool)

GetNumCustomOutputTimeseriesOk returns a tuple with the NumCustomOutputTimeseries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeseriesHour) GetNumCustomTimeseries ¶

func (o *UsageTimeseriesHour) GetNumCustomTimeseries() int64

GetNumCustomTimeseries returns the NumCustomTimeseries field value if set, zero value otherwise.

func (*UsageTimeseriesHour) GetNumCustomTimeseriesOk ¶

func (o *UsageTimeseriesHour) GetNumCustomTimeseriesOk() (*int64, bool)

GetNumCustomTimeseriesOk returns a tuple with the NumCustomTimeseries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeseriesHour) GetOrgName ¶ added in v1.9.0

func (o *UsageTimeseriesHour) GetOrgName() string

GetOrgName returns the OrgName field value if set, zero value otherwise.

func (*UsageTimeseriesHour) GetOrgNameOk ¶ added in v1.9.0

func (o *UsageTimeseriesHour) GetOrgNameOk() (*string, bool)

GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeseriesHour) GetPublicId ¶ added in v1.9.0

func (o *UsageTimeseriesHour) GetPublicId() string

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*UsageTimeseriesHour) GetPublicIdOk ¶ added in v1.9.0

func (o *UsageTimeseriesHour) GetPublicIdOk() (*string, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeseriesHour) HasHour ¶

func (o *UsageTimeseriesHour) HasHour() bool

HasHour returns a boolean if a field has been set.

func (*UsageTimeseriesHour) HasNumCustomInputTimeseries ¶

func (o *UsageTimeseriesHour) HasNumCustomInputTimeseries() bool

HasNumCustomInputTimeseries returns a boolean if a field has been set.

func (*UsageTimeseriesHour) HasNumCustomOutputTimeseries ¶

func (o *UsageTimeseriesHour) HasNumCustomOutputTimeseries() bool

HasNumCustomOutputTimeseries returns a boolean if a field has been set.

func (*UsageTimeseriesHour) HasNumCustomTimeseries ¶

func (o *UsageTimeseriesHour) HasNumCustomTimeseries() bool

HasNumCustomTimeseries returns a boolean if a field has been set.

func (*UsageTimeseriesHour) HasOrgName ¶ added in v1.9.0

func (o *UsageTimeseriesHour) HasOrgName() bool

HasOrgName returns a boolean if a field has been set.

func (*UsageTimeseriesHour) HasPublicId ¶ added in v1.9.0

func (o *UsageTimeseriesHour) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (UsageTimeseriesHour) MarshalJSON ¶

func (o UsageTimeseriesHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTimeseriesHour) SetHour ¶

func (o *UsageTimeseriesHour) SetHour(v time.Time)

SetHour gets a reference to the given time.Time and assigns it to the Hour field.

func (*UsageTimeseriesHour) SetNumCustomInputTimeseries ¶

func (o *UsageTimeseriesHour) SetNumCustomInputTimeseries(v int64)

SetNumCustomInputTimeseries gets a reference to the given int64 and assigns it to the NumCustomInputTimeseries field.

func (*UsageTimeseriesHour) SetNumCustomOutputTimeseries ¶

func (o *UsageTimeseriesHour) SetNumCustomOutputTimeseries(v int64)

SetNumCustomOutputTimeseries gets a reference to the given int64 and assigns it to the NumCustomOutputTimeseries field.

func (*UsageTimeseriesHour) SetNumCustomTimeseries ¶

func (o *UsageTimeseriesHour) SetNumCustomTimeseries(v int64)

SetNumCustomTimeseries gets a reference to the given int64 and assigns it to the NumCustomTimeseries field.

func (*UsageTimeseriesHour) SetOrgName ¶ added in v1.9.0

func (o *UsageTimeseriesHour) SetOrgName(v string)

SetOrgName gets a reference to the given string and assigns it to the OrgName field.

func (*UsageTimeseriesHour) SetPublicId ¶ added in v1.9.0

func (o *UsageTimeseriesHour) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*UsageTimeseriesHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageTimeseriesHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageTimeseriesResponse ¶

type UsageTimeseriesResponse struct {
	// An array of objects regarding hourly usage of timeseries.
	Usage []UsageTimeseriesHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageTimeseriesResponse Response containing hourly usage of timeseries.

func NewUsageTimeseriesResponse ¶

func NewUsageTimeseriesResponse() *UsageTimeseriesResponse

NewUsageTimeseriesResponse instantiates a new UsageTimeseriesResponse 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 NewUsageTimeseriesResponseWithDefaults ¶

func NewUsageTimeseriesResponseWithDefaults() *UsageTimeseriesResponse

NewUsageTimeseriesResponseWithDefaults instantiates a new UsageTimeseriesResponse 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 (*UsageTimeseriesResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageTimeseriesResponse) GetUsageOk ¶

func (o *UsageTimeseriesResponse) GetUsageOk() (*[]UsageTimeseriesHour, bool)

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTimeseriesResponse) HasUsage ¶

func (o *UsageTimeseriesResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageTimeseriesResponse) MarshalJSON ¶

func (o UsageTimeseriesResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTimeseriesResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageTimeseriesHour and assigns it to the Usage field.

func (*UsageTimeseriesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageTimeseriesResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageTopAvgMetricsHour ¶

type UsageTopAvgMetricsHour struct {
	// Average number of timeseries per hour in which the metric occurs.
	AvgMetricHour *int64 `json:"avg_metric_hour,omitempty"`
	// Maximum number of timeseries per hour in which the metric occurs.
	MaxMetricHour *int64 `json:"max_metric_hour,omitempty"`
	// Contains the metric category.
	MetricCategory *UsageMetricCategory `json:"metric_category,omitempty"`
	// Contains the custom metric name.
	MetricName *string `json:"metric_name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageTopAvgMetricsHour Number of hourly recorded custom metrics for a given organization.

func NewUsageTopAvgMetricsHour ¶

func NewUsageTopAvgMetricsHour() *UsageTopAvgMetricsHour

NewUsageTopAvgMetricsHour instantiates a new UsageTopAvgMetricsHour 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 NewUsageTopAvgMetricsHourWithDefaults ¶

func NewUsageTopAvgMetricsHourWithDefaults() *UsageTopAvgMetricsHour

NewUsageTopAvgMetricsHourWithDefaults instantiates a new UsageTopAvgMetricsHour 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 (*UsageTopAvgMetricsHour) GetAvgMetricHour ¶

func (o *UsageTopAvgMetricsHour) GetAvgMetricHour() int64

GetAvgMetricHour returns the AvgMetricHour field value if set, zero value otherwise.

func (*UsageTopAvgMetricsHour) GetAvgMetricHourOk ¶

func (o *UsageTopAvgMetricsHour) GetAvgMetricHourOk() (*int64, bool)

GetAvgMetricHourOk returns a tuple with the AvgMetricHour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsHour) GetMaxMetricHour ¶

func (o *UsageTopAvgMetricsHour) GetMaxMetricHour() int64

GetMaxMetricHour returns the MaxMetricHour field value if set, zero value otherwise.

func (*UsageTopAvgMetricsHour) GetMaxMetricHourOk ¶

func (o *UsageTopAvgMetricsHour) GetMaxMetricHourOk() (*int64, bool)

GetMaxMetricHourOk returns a tuple with the MaxMetricHour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsHour) GetMetricCategory ¶

func (o *UsageTopAvgMetricsHour) GetMetricCategory() UsageMetricCategory

GetMetricCategory returns the MetricCategory field value if set, zero value otherwise.

func (*UsageTopAvgMetricsHour) GetMetricCategoryOk ¶

func (o *UsageTopAvgMetricsHour) GetMetricCategoryOk() (*UsageMetricCategory, bool)

GetMetricCategoryOk returns a tuple with the MetricCategory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsHour) GetMetricName ¶

func (o *UsageTopAvgMetricsHour) GetMetricName() string

GetMetricName returns the MetricName field value if set, zero value otherwise.

func (*UsageTopAvgMetricsHour) GetMetricNameOk ¶

func (o *UsageTopAvgMetricsHour) 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 (*UsageTopAvgMetricsHour) HasAvgMetricHour ¶

func (o *UsageTopAvgMetricsHour) HasAvgMetricHour() bool

HasAvgMetricHour returns a boolean if a field has been set.

func (*UsageTopAvgMetricsHour) HasMaxMetricHour ¶

func (o *UsageTopAvgMetricsHour) HasMaxMetricHour() bool

HasMaxMetricHour returns a boolean if a field has been set.

func (*UsageTopAvgMetricsHour) HasMetricCategory ¶

func (o *UsageTopAvgMetricsHour) HasMetricCategory() bool

HasMetricCategory returns a boolean if a field has been set.

func (*UsageTopAvgMetricsHour) HasMetricName ¶

func (o *UsageTopAvgMetricsHour) HasMetricName() bool

HasMetricName returns a boolean if a field has been set.

func (UsageTopAvgMetricsHour) MarshalJSON ¶

func (o UsageTopAvgMetricsHour) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTopAvgMetricsHour) SetAvgMetricHour ¶

func (o *UsageTopAvgMetricsHour) SetAvgMetricHour(v int64)

SetAvgMetricHour gets a reference to the given int64 and assigns it to the AvgMetricHour field.

func (*UsageTopAvgMetricsHour) SetMaxMetricHour ¶

func (o *UsageTopAvgMetricsHour) SetMaxMetricHour(v int64)

SetMaxMetricHour gets a reference to the given int64 and assigns it to the MaxMetricHour field.

func (*UsageTopAvgMetricsHour) SetMetricCategory ¶

func (o *UsageTopAvgMetricsHour) SetMetricCategory(v UsageMetricCategory)

SetMetricCategory gets a reference to the given UsageMetricCategory and assigns it to the MetricCategory field.

func (*UsageTopAvgMetricsHour) SetMetricName ¶

func (o *UsageTopAvgMetricsHour) SetMetricName(v string)

SetMetricName gets a reference to the given string and assigns it to the MetricName field.

func (*UsageTopAvgMetricsHour) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageTopAvgMetricsHour) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageTopAvgMetricsMetadata ¶

type UsageTopAvgMetricsMetadata struct {
	// The day value from the user request that contains the returned usage data. (If day was used the request)
	Day *time.Time `json:"day,omitempty"`
	// The month value from the user request that contains the returned usage data. (If month was used the request)
	Month *time.Time `json:"month,omitempty"`
	// The metadata for the current pagination.
	Pagination *UsageTopAvgMetricsPagination `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageTopAvgMetricsMetadata The object containing document metadata.

func NewUsageTopAvgMetricsMetadata ¶

func NewUsageTopAvgMetricsMetadata() *UsageTopAvgMetricsMetadata

NewUsageTopAvgMetricsMetadata instantiates a new UsageTopAvgMetricsMetadata 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 NewUsageTopAvgMetricsMetadataWithDefaults ¶

func NewUsageTopAvgMetricsMetadataWithDefaults() *UsageTopAvgMetricsMetadata

NewUsageTopAvgMetricsMetadataWithDefaults instantiates a new UsageTopAvgMetricsMetadata 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 (*UsageTopAvgMetricsMetadata) GetDay ¶

func (o *UsageTopAvgMetricsMetadata) GetDay() time.Time

GetDay returns the Day field value if set, zero value otherwise.

func (*UsageTopAvgMetricsMetadata) GetDayOk ¶

func (o *UsageTopAvgMetricsMetadata) GetDayOk() (*time.Time, bool)

GetDayOk returns a tuple with the Day field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsMetadata) GetMonth ¶

func (o *UsageTopAvgMetricsMetadata) GetMonth() time.Time

GetMonth returns the Month field value if set, zero value otherwise.

func (*UsageTopAvgMetricsMetadata) GetMonthOk ¶

func (o *UsageTopAvgMetricsMetadata) GetMonthOk() (*time.Time, bool)

GetMonthOk returns a tuple with the Month field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsMetadata) GetPagination ¶

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*UsageTopAvgMetricsMetadata) GetPaginationOk ¶

GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsMetadata) HasDay ¶

func (o *UsageTopAvgMetricsMetadata) HasDay() bool

HasDay returns a boolean if a field has been set.

func (*UsageTopAvgMetricsMetadata) HasMonth ¶

func (o *UsageTopAvgMetricsMetadata) HasMonth() bool

HasMonth returns a boolean if a field has been set.

func (*UsageTopAvgMetricsMetadata) HasPagination ¶

func (o *UsageTopAvgMetricsMetadata) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (UsageTopAvgMetricsMetadata) MarshalJSON ¶

func (o UsageTopAvgMetricsMetadata) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTopAvgMetricsMetadata) SetDay ¶

func (o *UsageTopAvgMetricsMetadata) SetDay(v time.Time)

SetDay gets a reference to the given time.Time and assigns it to the Day field.

func (*UsageTopAvgMetricsMetadata) SetMonth ¶

func (o *UsageTopAvgMetricsMetadata) SetMonth(v time.Time)

SetMonth gets a reference to the given time.Time and assigns it to the Month field.

func (*UsageTopAvgMetricsMetadata) SetPagination ¶

SetPagination gets a reference to the given UsageTopAvgMetricsPagination and assigns it to the Pagination field.

func (*UsageTopAvgMetricsMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageTopAvgMetricsMetadata) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsageTopAvgMetricsPagination ¶ added in v1.11.0

type UsageTopAvgMetricsPagination struct {
	// Maximum amount of records to be returned.
	Limit *int64 `json:"limit,omitempty"`
	// The cursor to get the next results (if any). To make the next request, use the same parameters and add `next_record_id`.
	NextRecordId NullableString `json:"next_record_id,omitempty"`
	// Total number of records.
	TotalNumberOfRecords *int64 `json:"total_number_of_records,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageTopAvgMetricsPagination The metadata for the current pagination.

func NewUsageTopAvgMetricsPagination ¶ added in v1.11.0

func NewUsageTopAvgMetricsPagination() *UsageTopAvgMetricsPagination

NewUsageTopAvgMetricsPagination instantiates a new UsageTopAvgMetricsPagination 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 NewUsageTopAvgMetricsPaginationWithDefaults ¶ added in v1.11.0

func NewUsageTopAvgMetricsPaginationWithDefaults() *UsageTopAvgMetricsPagination

NewUsageTopAvgMetricsPaginationWithDefaults instantiates a new UsageTopAvgMetricsPagination 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 (*UsageTopAvgMetricsPagination) GetLimit ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*UsageTopAvgMetricsPagination) GetLimitOk ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsPagination) GetNextRecordId ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) GetNextRecordId() string

GetNextRecordId returns the NextRecordId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UsageTopAvgMetricsPagination) GetNextRecordIdOk ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) GetNextRecordIdOk() (*string, bool)

GetNextRecordIdOk returns a tuple with the NextRecordId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*UsageTopAvgMetricsPagination) GetTotalNumberOfRecords ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) GetTotalNumberOfRecords() int64

GetTotalNumberOfRecords returns the TotalNumberOfRecords field value if set, zero value otherwise.

func (*UsageTopAvgMetricsPagination) GetTotalNumberOfRecordsOk ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) GetTotalNumberOfRecordsOk() (*int64, bool)

GetTotalNumberOfRecordsOk returns a tuple with the TotalNumberOfRecords field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsPagination) HasLimit ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*UsageTopAvgMetricsPagination) HasNextRecordId ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) HasNextRecordId() bool

HasNextRecordId returns a boolean if a field has been set.

func (*UsageTopAvgMetricsPagination) HasTotalNumberOfRecords ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) HasTotalNumberOfRecords() bool

HasTotalNumberOfRecords returns a boolean if a field has been set.

func (UsageTopAvgMetricsPagination) MarshalJSON ¶ added in v1.11.0

func (o UsageTopAvgMetricsPagination) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTopAvgMetricsPagination) SetLimit ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*UsageTopAvgMetricsPagination) SetNextRecordId ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) SetNextRecordId(v string)

SetNextRecordId gets a reference to the given NullableString and assigns it to the NextRecordId field.

func (*UsageTopAvgMetricsPagination) SetNextRecordIdNil ¶ added in v1.12.0

func (o *UsageTopAvgMetricsPagination) SetNextRecordIdNil()

SetNextRecordIdNil sets the value for NextRecordId to be an explicit nil.

func (*UsageTopAvgMetricsPagination) SetTotalNumberOfRecords ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) SetTotalNumberOfRecords(v int64)

SetTotalNumberOfRecords gets a reference to the given int64 and assigns it to the TotalNumberOfRecords field.

func (*UsageTopAvgMetricsPagination) UnmarshalJSON ¶ added in v1.11.0

func (o *UsageTopAvgMetricsPagination) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*UsageTopAvgMetricsPagination) UnsetNextRecordId ¶ added in v1.12.0

func (o *UsageTopAvgMetricsPagination) UnsetNextRecordId()

UnsetNextRecordId ensures that no value is present for NextRecordId, not even an explicit nil.

type UsageTopAvgMetricsResponse ¶

type UsageTopAvgMetricsResponse struct {
	// The object containing document metadata.
	Metadata *UsageTopAvgMetricsMetadata `json:"metadata,omitempty"`
	// Number of hourly recorded custom metrics for a given organization.
	Usage []UsageTopAvgMetricsHour `json:"usage,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsageTopAvgMetricsResponse Response containing the number of hourly recorded custom metrics for a given organization.

func NewUsageTopAvgMetricsResponse ¶

func NewUsageTopAvgMetricsResponse() *UsageTopAvgMetricsResponse

NewUsageTopAvgMetricsResponse instantiates a new UsageTopAvgMetricsResponse 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 NewUsageTopAvgMetricsResponseWithDefaults ¶

func NewUsageTopAvgMetricsResponseWithDefaults() *UsageTopAvgMetricsResponse

NewUsageTopAvgMetricsResponseWithDefaults instantiates a new UsageTopAvgMetricsResponse 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 (*UsageTopAvgMetricsResponse) GetMetadata ¶

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*UsageTopAvgMetricsResponse) GetMetadataOk ¶

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsResponse) GetUsage ¶

GetUsage returns the Usage field value if set, zero value otherwise.

func (*UsageTopAvgMetricsResponse) GetUsageOk ¶

GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsageTopAvgMetricsResponse) HasMetadata ¶

func (o *UsageTopAvgMetricsResponse) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*UsageTopAvgMetricsResponse) HasUsage ¶

func (o *UsageTopAvgMetricsResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (UsageTopAvgMetricsResponse) MarshalJSON ¶

func (o UsageTopAvgMetricsResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UsageTopAvgMetricsResponse) SetMetadata ¶

SetMetadata gets a reference to the given UsageTopAvgMetricsMetadata and assigns it to the Metadata field.

func (*UsageTopAvgMetricsResponse) SetUsage ¶

SetUsage gets a reference to the given []UsageTopAvgMetricsHour and assigns it to the Usage field.

func (*UsageTopAvgMetricsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsageTopAvgMetricsResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type User ¶

type User struct {
	// The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).
	AccessRole *AccessRole `json:"access_role,omitempty"`
	// The new disabled status of the user.
	Disabled *bool `json:"disabled,omitempty"`
	// The new email of the user.
	Email *string `json:"email,omitempty"`
	// The user handle, must be a valid email.
	Handle *string `json:"handle,omitempty"`
	// Gravatar icon associated to the user.
	Icon *string `json:"icon,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// Whether or not the user logged in Datadog at least once.
	Verified *bool `json:"verified,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

User Create, edit, and disable users.

func NewUser ¶

func NewUser() *User

NewUser instantiates a new User 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 NewUserWithDefaults ¶

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User 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 (*User) GetAccessRole ¶

func (o *User) GetAccessRole() AccessRole

GetAccessRole returns the AccessRole field value if set, zero value otherwise.

func (*User) GetAccessRoleOk ¶

func (o *User) GetAccessRoleOk() (*AccessRole, bool)

GetAccessRoleOk returns a tuple with the AccessRole field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetDisabled ¶

func (o *User) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*User) GetDisabledOk ¶

func (o *User) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetEmail ¶

func (o *User) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*User) GetEmailOk ¶

func (o *User) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetHandle ¶

func (o *User) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*User) GetHandleOk ¶

func (o *User) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetIcon ¶

func (o *User) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*User) GetIconOk ¶

func (o *User) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetName ¶

func (o *User) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*User) GetNameOk ¶

func (o *User) 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 (*User) GetVerified ¶

func (o *User) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*User) GetVerifiedOk ¶

func (o *User) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasAccessRole ¶

func (o *User) HasAccessRole() bool

HasAccessRole returns a boolean if a field has been set.

func (*User) HasDisabled ¶

func (o *User) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*User) HasEmail ¶

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasHandle ¶

func (o *User) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*User) HasIcon ¶

func (o *User) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*User) HasName ¶

func (o *User) HasName() bool

HasName returns a boolean if a field has been set.

func (*User) HasVerified ¶

func (o *User) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (User) MarshalJSON ¶

func (o User) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*User) SetAccessRole ¶

func (o *User) SetAccessRole(v AccessRole)

SetAccessRole gets a reference to the given AccessRole and assigns it to the AccessRole field.

func (*User) SetDisabled ¶

func (o *User) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*User) SetEmail ¶

func (o *User) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*User) SetHandle ¶

func (o *User) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*User) SetIcon ¶

func (o *User) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*User) SetName ¶

func (o *User) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*User) SetVerified ¶

func (o *User) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (*User) UnmarshalJSON ¶ added in v1.3.0

func (o *User) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserDisableResponse ¶

type UserDisableResponse struct {
	// Information pertaining to a user disabled for a given organization.
	Message *string `json:"message,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserDisableResponse Array of user disabled for a given organization.

func NewUserDisableResponse ¶

func NewUserDisableResponse() *UserDisableResponse

NewUserDisableResponse instantiates a new UserDisableResponse 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 NewUserDisableResponseWithDefaults ¶

func NewUserDisableResponseWithDefaults() *UserDisableResponse

NewUserDisableResponseWithDefaults instantiates a new UserDisableResponse 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 (*UserDisableResponse) GetMessage ¶

func (o *UserDisableResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UserDisableResponse) GetMessageOk ¶

func (o *UserDisableResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserDisableResponse) HasMessage ¶

func (o *UserDisableResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UserDisableResponse) MarshalJSON ¶

func (o UserDisableResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserDisableResponse) SetMessage ¶

func (o *UserDisableResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UserDisableResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserDisableResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserListResponse ¶

type UserListResponse struct {
	// Array of users.
	Users []User `json:"users,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserListResponse Array of Datadog users for a given organization.

func NewUserListResponse ¶

func NewUserListResponse() *UserListResponse

NewUserListResponse instantiates a new UserListResponse 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 NewUserListResponseWithDefaults ¶

func NewUserListResponseWithDefaults() *UserListResponse

NewUserListResponseWithDefaults instantiates a new UserListResponse 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 (*UserListResponse) GetUsers ¶

func (o *UserListResponse) GetUsers() []User

GetUsers returns the Users field value if set, zero value otherwise.

func (*UserListResponse) GetUsersOk ¶

func (o *UserListResponse) GetUsersOk() (*[]User, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserListResponse) HasUsers ¶

func (o *UserListResponse) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (UserListResponse) MarshalJSON ¶

func (o UserListResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserListResponse) SetUsers ¶

func (o *UserListResponse) SetUsers(v []User)

SetUsers gets a reference to the given []User and assigns it to the Users field.

func (*UserListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserListResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UserResponse ¶

type UserResponse struct {
	// Create, edit, and disable users.
	User *User `json:"user,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserResponse A Datadog User.

func NewUserResponse ¶

func NewUserResponse() *UserResponse

NewUserResponse instantiates a new UserResponse 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 NewUserResponseWithDefaults ¶

func NewUserResponseWithDefaults() *UserResponse

NewUserResponseWithDefaults instantiates a new UserResponse 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 (*UserResponse) GetUser ¶

func (o *UserResponse) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*UserResponse) GetUserOk ¶

func (o *UserResponse) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) HasUser ¶

func (o *UserResponse) HasUser() bool

HasUser returns a boolean if a field has been set.

func (UserResponse) MarshalJSON ¶

func (o UserResponse) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*UserResponse) SetUser ¶

func (o *UserResponse) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*UserResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type UsersApiService ¶

type UsersApiService service

UsersApiService UsersApi service.

func (*UsersApiService) CreateUser ¶

func (a *UsersApiService) CreateUser(ctx _context.Context, body User) (UserResponse, *_nethttp.Response, error)

CreateUser Create a user. Create a user for your organization.

**Note**: Users can only be created with the admin access role if application keys belong to administrators.

func (*UsersApiService) DisableUser ¶

func (a *UsersApiService) DisableUser(ctx _context.Context, userHandle string) (UserDisableResponse, *_nethttp.Response, error)

DisableUser Disable a user. Delete a user from an organization.

**Note**: This endpoint can only be used with application keys belonging to administrators.

func (*UsersApiService) GetUser ¶

func (a *UsersApiService) GetUser(ctx _context.Context, userHandle string) (UserResponse, *_nethttp.Response, error)

GetUser Get user details. Get a user's details.

func (*UsersApiService) ListUsers ¶

ListUsers List all users. List all users for your organization.

func (*UsersApiService) UpdateUser ¶

func (a *UsersApiService) UpdateUser(ctx _context.Context, userHandle string, body User) (UserResponse, *_nethttp.Response, error)

UpdateUser Update a user. Update a user information.

**Note**: It can only be used with application keys belonging to administrators.

type WebhooksIntegration ¶ added in v1.3.0

type WebhooksIntegration struct {
	// If `null`, uses no header.
	// If given a JSON payload, these will be headers attached to your webhook.
	CustomHeaders NullableString `json:"custom_headers,omitempty"`
	// Encoding type. Can be given either `json` or `form`.
	EncodeAs *WebhooksIntegrationEncoding `json:"encode_as,omitempty"`
	// The name of the webhook. It corresponds with `<WEBHOOK_NAME>`.
	// Learn more on how to use it in
	// [monitor notifications](https://docs.datadoghq.com/monitors/notify).
	Name string `json:"name"`
	// If `null`, uses the default payload.
	// If given a JSON payload, the webhook returns the payload
	// specified by the given payload.
	// [Webhooks variable usage](https://docs.datadoghq.com/integrations/webhooks/#usage).
	Payload NullableString `json:"payload,omitempty"`
	// URL of the webhook.
	Url string `json:"url"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WebhooksIntegration Datadog-Webhooks integration.

func NewWebhooksIntegration ¶ added in v1.3.0

func NewWebhooksIntegration(name string, url string) *WebhooksIntegration

NewWebhooksIntegration instantiates a new WebhooksIntegration 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 NewWebhooksIntegrationWithDefaults ¶ added in v1.3.0

func NewWebhooksIntegrationWithDefaults() *WebhooksIntegration

NewWebhooksIntegrationWithDefaults instantiates a new WebhooksIntegration 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 (*WebhooksIntegration) GetCustomHeaders ¶ added in v1.3.0

func (o *WebhooksIntegration) GetCustomHeaders() string

GetCustomHeaders returns the CustomHeaders field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WebhooksIntegration) GetCustomHeadersOk ¶ added in v1.3.0

func (o *WebhooksIntegration) GetCustomHeadersOk() (*string, bool)

GetCustomHeadersOk returns a tuple with the CustomHeaders field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*WebhooksIntegration) GetEncodeAs ¶ added in v1.3.0

GetEncodeAs returns the EncodeAs field value if set, zero value otherwise.

func (*WebhooksIntegration) GetEncodeAsOk ¶ added in v1.3.0

func (o *WebhooksIntegration) GetEncodeAsOk() (*WebhooksIntegrationEncoding, bool)

GetEncodeAsOk returns a tuple with the EncodeAs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhooksIntegration) GetName ¶ added in v1.3.0

func (o *WebhooksIntegration) GetName() string

GetName returns the Name field value.

func (*WebhooksIntegration) GetNameOk ¶ added in v1.3.0

func (o *WebhooksIntegration) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*WebhooksIntegration) GetPayload ¶ added in v1.3.0

func (o *WebhooksIntegration) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WebhooksIntegration) GetPayloadOk ¶ added in v1.3.0

func (o *WebhooksIntegration) GetPayloadOk() (*string, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*WebhooksIntegration) GetUrl ¶ added in v1.3.0

func (o *WebhooksIntegration) GetUrl() string

GetUrl returns the Url field value.

func (*WebhooksIntegration) GetUrlOk ¶ added in v1.3.0

func (o *WebhooksIntegration) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*WebhooksIntegration) HasCustomHeaders ¶ added in v1.3.0

func (o *WebhooksIntegration) HasCustomHeaders() bool

HasCustomHeaders returns a boolean if a field has been set.

func (*WebhooksIntegration) HasEncodeAs ¶ added in v1.3.0

func (o *WebhooksIntegration) HasEncodeAs() bool

HasEncodeAs returns a boolean if a field has been set.

func (*WebhooksIntegration) HasPayload ¶ added in v1.3.0

func (o *WebhooksIntegration) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (WebhooksIntegration) MarshalJSON ¶ added in v1.3.0

func (o WebhooksIntegration) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WebhooksIntegration) SetCustomHeaders ¶ added in v1.3.0

func (o *WebhooksIntegration) SetCustomHeaders(v string)

SetCustomHeaders gets a reference to the given NullableString and assigns it to the CustomHeaders field.

func (*WebhooksIntegration) SetCustomHeadersNil ¶ added in v1.3.0

func (o *WebhooksIntegration) SetCustomHeadersNil()

SetCustomHeadersNil sets the value for CustomHeaders to be an explicit nil.

func (*WebhooksIntegration) SetEncodeAs ¶ added in v1.3.0

SetEncodeAs gets a reference to the given WebhooksIntegrationEncoding and assigns it to the EncodeAs field.

func (*WebhooksIntegration) SetName ¶ added in v1.3.0

func (o *WebhooksIntegration) SetName(v string)

SetName sets field value.

func (*WebhooksIntegration) SetPayload ¶ added in v1.3.0

func (o *WebhooksIntegration) SetPayload(v string)

SetPayload gets a reference to the given NullableString and assigns it to the Payload field.

func (*WebhooksIntegration) SetPayloadNil ¶ added in v1.3.0

func (o *WebhooksIntegration) SetPayloadNil()

SetPayloadNil sets the value for Payload to be an explicit nil.

func (*WebhooksIntegration) SetUrl ¶ added in v1.3.0

func (o *WebhooksIntegration) SetUrl(v string)

SetUrl sets field value.

func (*WebhooksIntegration) UnmarshalJSON ¶ added in v1.3.0

func (o *WebhooksIntegration) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*WebhooksIntegration) UnsetCustomHeaders ¶ added in v1.3.0

func (o *WebhooksIntegration) UnsetCustomHeaders()

UnsetCustomHeaders ensures that no value is present for CustomHeaders, not even an explicit nil.

func (*WebhooksIntegration) UnsetPayload ¶ added in v1.3.0

func (o *WebhooksIntegration) UnsetPayload()

UnsetPayload ensures that no value is present for Payload, not even an explicit nil.

type WebhooksIntegrationApiService ¶ added in v1.3.0

type WebhooksIntegrationApiService service

WebhooksIntegrationApiService WebhooksIntegrationApi service.

func (*WebhooksIntegrationApiService) CreateWebhooksIntegration ¶ added in v1.3.0

CreateWebhooksIntegration Create a webhooks integration. Creates an endpoint with the name `<WEBHOOK_NAME>`.

func (*WebhooksIntegrationApiService) CreateWebhooksIntegrationCustomVariable ¶ added in v1.3.0

CreateWebhooksIntegrationCustomVariable Create a custom variable. Creates an endpoint with the name `<CUSTOM_VARIABLE_NAME>`.

func (*WebhooksIntegrationApiService) DeleteWebhooksIntegration ¶ added in v1.3.0

func (a *WebhooksIntegrationApiService) DeleteWebhooksIntegration(ctx _context.Context, webhookName string) (*_nethttp.Response, error)

DeleteWebhooksIntegration Delete a webhook. Deletes the endpoint with the name `<WEBHOOK NAME>`.

func (*WebhooksIntegrationApiService) DeleteWebhooksIntegrationCustomVariable ¶ added in v1.3.0

func (a *WebhooksIntegrationApiService) DeleteWebhooksIntegrationCustomVariable(ctx _context.Context, customVariableName string) (*_nethttp.Response, error)

DeleteWebhooksIntegrationCustomVariable Delete a custom variable. Deletes the endpoint with the name `<CUSTOM_VARIABLE_NAME>`.

func (*WebhooksIntegrationApiService) GetWebhooksIntegration ¶ added in v1.3.0

func (a *WebhooksIntegrationApiService) GetWebhooksIntegration(ctx _context.Context, webhookName string) (WebhooksIntegration, *_nethttp.Response, error)

GetWebhooksIntegration Get a webhook integration. Gets the content of the webhook with the name `<WEBHOOK_NAME>`.

func (*WebhooksIntegrationApiService) GetWebhooksIntegrationCustomVariable ¶ added in v1.3.0

func (a *WebhooksIntegrationApiService) GetWebhooksIntegrationCustomVariable(ctx _context.Context, customVariableName string) (WebhooksIntegrationCustomVariableResponse, *_nethttp.Response, error)

GetWebhooksIntegrationCustomVariable Get a custom variable. Shows the content of the custom variable with the name `<CUSTOM_VARIABLE_NAME>`.

If the custom variable is secret, the value does not return in the response payload.

func (*WebhooksIntegrationApiService) UpdateWebhooksIntegration ¶ added in v1.3.0

UpdateWebhooksIntegration Update a webhook. Updates the endpoint with the name `<WEBHOOK_NAME>`.

func (*WebhooksIntegrationApiService) UpdateWebhooksIntegrationCustomVariable ¶ added in v1.3.0

UpdateWebhooksIntegrationCustomVariable Update a custom variable. Updates the endpoint with the name `<CUSTOM_VARIABLE_NAME>`.

type WebhooksIntegrationCustomVariable ¶ added in v1.3.0

type WebhooksIntegrationCustomVariable struct {
	// Make custom variable is secret or not.
	// If the custom variable is secret, the value is not returned in the response payload.
	IsSecret bool `json:"is_secret"`
	// The name of the variable. It corresponds with `<CUSTOM_VARIABLE_NAME>`.
	Name string `json:"name"`
	// Value of the custom variable.
	Value string `json:"value"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WebhooksIntegrationCustomVariable Custom variable for Webhook integration.

func NewWebhooksIntegrationCustomVariable ¶ added in v1.3.0

func NewWebhooksIntegrationCustomVariable(isSecret bool, name string, value string) *WebhooksIntegrationCustomVariable

NewWebhooksIntegrationCustomVariable instantiates a new WebhooksIntegrationCustomVariable 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 NewWebhooksIntegrationCustomVariableWithDefaults ¶ added in v1.3.0

func NewWebhooksIntegrationCustomVariableWithDefaults() *WebhooksIntegrationCustomVariable

NewWebhooksIntegrationCustomVariableWithDefaults instantiates a new WebhooksIntegrationCustomVariable 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 (*WebhooksIntegrationCustomVariable) GetIsSecret ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariable) GetIsSecret() bool

GetIsSecret returns the IsSecret field value.

func (*WebhooksIntegrationCustomVariable) GetIsSecretOk ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariable) GetIsSecretOk() (*bool, bool)

GetIsSecretOk returns a tuple with the IsSecret field value and a boolean to check if the value has been set.

func (*WebhooksIntegrationCustomVariable) GetName ¶ added in v1.3.0

GetName returns the Name field value.

func (*WebhooksIntegrationCustomVariable) GetNameOk ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariable) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*WebhooksIntegrationCustomVariable) GetValue ¶ added in v1.3.0

GetValue returns the Value field value.

func (*WebhooksIntegrationCustomVariable) GetValueOk ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariable) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (WebhooksIntegrationCustomVariable) MarshalJSON ¶ added in v1.3.0

func (o WebhooksIntegrationCustomVariable) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WebhooksIntegrationCustomVariable) SetIsSecret ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariable) SetIsSecret(v bool)

SetIsSecret sets field value.

func (*WebhooksIntegrationCustomVariable) SetName ¶ added in v1.3.0

SetName sets field value.

func (*WebhooksIntegrationCustomVariable) SetValue ¶ added in v1.3.0

SetValue sets field value.

func (*WebhooksIntegrationCustomVariable) UnmarshalJSON ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariable) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WebhooksIntegrationCustomVariableResponse ¶ added in v1.3.0

type WebhooksIntegrationCustomVariableResponse struct {
	// Make custom variable is secret or not.
	// If the custom variable is secret, the value is not returned in the response payload.
	IsSecret bool `json:"is_secret"`
	// The name of the variable. It corresponds with `<CUSTOM_VARIABLE_NAME>`. It must only contains upper-case characters, integers or underscores.
	Name string `json:"name"`
	// Value of the custom variable. It won't be returned if the variable is secret.
	Value *string `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WebhooksIntegrationCustomVariableResponse Custom variable for Webhook integration.

func NewWebhooksIntegrationCustomVariableResponse ¶ added in v1.3.0

func NewWebhooksIntegrationCustomVariableResponse(isSecret bool, name string) *WebhooksIntegrationCustomVariableResponse

NewWebhooksIntegrationCustomVariableResponse instantiates a new WebhooksIntegrationCustomVariableResponse 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 NewWebhooksIntegrationCustomVariableResponseWithDefaults ¶ added in v1.3.0

func NewWebhooksIntegrationCustomVariableResponseWithDefaults() *WebhooksIntegrationCustomVariableResponse

NewWebhooksIntegrationCustomVariableResponseWithDefaults instantiates a new WebhooksIntegrationCustomVariableResponse 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 (*WebhooksIntegrationCustomVariableResponse) GetIsSecret ¶ added in v1.3.0

GetIsSecret returns the IsSecret field value.

func (*WebhooksIntegrationCustomVariableResponse) GetIsSecretOk ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariableResponse) GetIsSecretOk() (*bool, bool)

GetIsSecretOk returns a tuple with the IsSecret field value and a boolean to check if the value has been set.

func (*WebhooksIntegrationCustomVariableResponse) GetName ¶ added in v1.3.0

GetName returns the Name field value.

func (*WebhooksIntegrationCustomVariableResponse) GetNameOk ¶ added in v1.3.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*WebhooksIntegrationCustomVariableResponse) GetValue ¶ added in v1.3.0

GetValue returns the Value field value if set, zero value otherwise.

func (*WebhooksIntegrationCustomVariableResponse) GetValueOk ¶ added in v1.3.0

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhooksIntegrationCustomVariableResponse) HasValue ¶ added in v1.3.0

HasValue returns a boolean if a field has been set.

func (WebhooksIntegrationCustomVariableResponse) MarshalJSON ¶ added in v1.3.0

MarshalJSON serializes the struct using spec logic.

func (*WebhooksIntegrationCustomVariableResponse) SetIsSecret ¶ added in v1.3.0

SetIsSecret sets field value.

func (*WebhooksIntegrationCustomVariableResponse) SetName ¶ added in v1.3.0

SetName sets field value.

func (*WebhooksIntegrationCustomVariableResponse) SetValue ¶ added in v1.3.0

SetValue gets a reference to the given string and assigns it to the Value field.

func (*WebhooksIntegrationCustomVariableResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariableResponse) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WebhooksIntegrationCustomVariableUpdateRequest ¶ added in v1.3.0

type WebhooksIntegrationCustomVariableUpdateRequest struct {
	// Make custom variable is secret or not.
	// If the custom variable is secret, the value is not returned in the response payload.
	IsSecret *bool `json:"is_secret,omitempty"`
	// The name of the variable. It corresponds with `<CUSTOM_VARIABLE_NAME>`. It must only contains upper-case characters, integers or underscores.
	Name *string `json:"name,omitempty"`
	// Value of the custom variable.
	Value *string `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WebhooksIntegrationCustomVariableUpdateRequest Update request of a custom variable object.

*All properties are optional.*

func NewWebhooksIntegrationCustomVariableUpdateRequest ¶ added in v1.3.0

func NewWebhooksIntegrationCustomVariableUpdateRequest() *WebhooksIntegrationCustomVariableUpdateRequest

NewWebhooksIntegrationCustomVariableUpdateRequest instantiates a new WebhooksIntegrationCustomVariableUpdateRequest 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 NewWebhooksIntegrationCustomVariableUpdateRequestWithDefaults ¶ added in v1.3.0

func NewWebhooksIntegrationCustomVariableUpdateRequestWithDefaults() *WebhooksIntegrationCustomVariableUpdateRequest

NewWebhooksIntegrationCustomVariableUpdateRequestWithDefaults instantiates a new WebhooksIntegrationCustomVariableUpdateRequest 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 (*WebhooksIntegrationCustomVariableUpdateRequest) GetIsSecret ¶ added in v1.3.0

GetIsSecret returns the IsSecret field value if set, zero value otherwise.

func (*WebhooksIntegrationCustomVariableUpdateRequest) GetIsSecretOk ¶ added in v1.3.0

GetIsSecretOk returns a tuple with the IsSecret field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhooksIntegrationCustomVariableUpdateRequest) GetName ¶ added in v1.3.0

GetName returns the Name field value if set, zero value otherwise.

func (*WebhooksIntegrationCustomVariableUpdateRequest) GetNameOk ¶ added in v1.3.0

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 (*WebhooksIntegrationCustomVariableUpdateRequest) GetValue ¶ added in v1.3.0

GetValue returns the Value field value if set, zero value otherwise.

func (*WebhooksIntegrationCustomVariableUpdateRequest) GetValueOk ¶ added in v1.3.0

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhooksIntegrationCustomVariableUpdateRequest) HasIsSecret ¶ added in v1.3.0

HasIsSecret returns a boolean if a field has been set.

func (*WebhooksIntegrationCustomVariableUpdateRequest) HasName ¶ added in v1.3.0

HasName returns a boolean if a field has been set.

func (*WebhooksIntegrationCustomVariableUpdateRequest) HasValue ¶ added in v1.3.0

HasValue returns a boolean if a field has been set.

func (WebhooksIntegrationCustomVariableUpdateRequest) MarshalJSON ¶ added in v1.3.0

MarshalJSON serializes the struct using spec logic.

func (*WebhooksIntegrationCustomVariableUpdateRequest) SetIsSecret ¶ added in v1.3.0

SetIsSecret gets a reference to the given bool and assigns it to the IsSecret field.

func (*WebhooksIntegrationCustomVariableUpdateRequest) SetName ¶ added in v1.3.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*WebhooksIntegrationCustomVariableUpdateRequest) SetValue ¶ added in v1.3.0

SetValue gets a reference to the given string and assigns it to the Value field.

func (*WebhooksIntegrationCustomVariableUpdateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *WebhooksIntegrationCustomVariableUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WebhooksIntegrationEncoding ¶ added in v1.3.0

type WebhooksIntegrationEncoding string

WebhooksIntegrationEncoding Encoding type. Can be given either `json` or `form`.

const (
	WEBHOOKSINTEGRATIONENCODING_JSON WebhooksIntegrationEncoding = "json"
	WEBHOOKSINTEGRATIONENCODING_FORM WebhooksIntegrationEncoding = "form"
)

List of WebhooksIntegrationEncoding.

func NewWebhooksIntegrationEncodingFromValue ¶ added in v1.3.0

func NewWebhooksIntegrationEncodingFromValue(v string) (*WebhooksIntegrationEncoding, error)

NewWebhooksIntegrationEncodingFromValue returns a pointer to a valid WebhooksIntegrationEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WebhooksIntegrationEncoding) GetAllowedValues ¶ added in v1.3.0

GetAllowedValues reeturns the list of possible values.

func (WebhooksIntegrationEncoding) IsValid ¶ added in v1.3.0

func (v WebhooksIntegrationEncoding) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WebhooksIntegrationEncoding) Ptr ¶ added in v1.3.0

Ptr returns reference to WebhooksIntegrationEncoding value.

func (*WebhooksIntegrationEncoding) UnmarshalJSON ¶ added in v1.3.0

func (v *WebhooksIntegrationEncoding) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WebhooksIntegrationUpdateRequest ¶ added in v1.3.0

type WebhooksIntegrationUpdateRequest struct {
	// If `null`, uses no header.
	// If given a JSON payload, these will be headers attached to your webhook.
	CustomHeaders *string `json:"custom_headers,omitempty"`
	// Encoding type. Can be given either `json` or `form`.
	EncodeAs *WebhooksIntegrationEncoding `json:"encode_as,omitempty"`
	// The name of the webhook. It corresponds with `<WEBHOOK_NAME>`.
	// Learn more on how to use it in
	// [monitor notifications](https://docs.datadoghq.com/monitors/notify).
	Name *string `json:"name,omitempty"`
	// If `null`, uses the default payload.
	// If given a JSON payload, the webhook returns the payload
	// specified by the given payload.
	// [Webhooks variable usage](https://docs.datadoghq.com/integrations/webhooks/#usage).
	Payload NullableString `json:"payload,omitempty"`
	// URL of the webhook.
	Url *string `json:"url,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WebhooksIntegrationUpdateRequest Update request of a Webhooks integration object.

*All properties are optional.*

func NewWebhooksIntegrationUpdateRequest ¶ added in v1.3.0

func NewWebhooksIntegrationUpdateRequest() *WebhooksIntegrationUpdateRequest

NewWebhooksIntegrationUpdateRequest instantiates a new WebhooksIntegrationUpdateRequest 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 NewWebhooksIntegrationUpdateRequestWithDefaults ¶ added in v1.3.0

func NewWebhooksIntegrationUpdateRequestWithDefaults() *WebhooksIntegrationUpdateRequest

NewWebhooksIntegrationUpdateRequestWithDefaults instantiates a new WebhooksIntegrationUpdateRequest 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 (*WebhooksIntegrationUpdateRequest) GetCustomHeaders ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) GetCustomHeaders() string

GetCustomHeaders returns the CustomHeaders field value if set, zero value otherwise.

func (*WebhooksIntegrationUpdateRequest) GetCustomHeadersOk ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) GetCustomHeadersOk() (*string, bool)

GetCustomHeadersOk returns a tuple with the CustomHeaders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhooksIntegrationUpdateRequest) GetEncodeAs ¶ added in v1.3.0

GetEncodeAs returns the EncodeAs field value if set, zero value otherwise.

func (*WebhooksIntegrationUpdateRequest) GetEncodeAsOk ¶ added in v1.3.0

GetEncodeAsOk returns a tuple with the EncodeAs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhooksIntegrationUpdateRequest) GetName ¶ added in v1.3.0

GetName returns the Name field value if set, zero value otherwise.

func (*WebhooksIntegrationUpdateRequest) GetNameOk ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) 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 (*WebhooksIntegrationUpdateRequest) GetPayload ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) GetPayload() string

GetPayload returns the Payload field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WebhooksIntegrationUpdateRequest) GetPayloadOk ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) GetPayloadOk() (*string, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.

func (*WebhooksIntegrationUpdateRequest) GetUrl ¶ added in v1.3.0

GetUrl returns the Url field value if set, zero value otherwise.

func (*WebhooksIntegrationUpdateRequest) GetUrlOk ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhooksIntegrationUpdateRequest) HasCustomHeaders ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) HasCustomHeaders() bool

HasCustomHeaders returns a boolean if a field has been set.

func (*WebhooksIntegrationUpdateRequest) HasEncodeAs ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) HasEncodeAs() bool

HasEncodeAs returns a boolean if a field has been set.

func (*WebhooksIntegrationUpdateRequest) HasName ¶ added in v1.3.0

HasName returns a boolean if a field has been set.

func (*WebhooksIntegrationUpdateRequest) HasPayload ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*WebhooksIntegrationUpdateRequest) HasUrl ¶ added in v1.3.0

HasUrl returns a boolean if a field has been set.

func (WebhooksIntegrationUpdateRequest) MarshalJSON ¶ added in v1.3.0

func (o WebhooksIntegrationUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WebhooksIntegrationUpdateRequest) SetCustomHeaders ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) SetCustomHeaders(v string)

SetCustomHeaders gets a reference to the given string and assigns it to the CustomHeaders field.

func (*WebhooksIntegrationUpdateRequest) SetEncodeAs ¶ added in v1.3.0

SetEncodeAs gets a reference to the given WebhooksIntegrationEncoding and assigns it to the EncodeAs field.

func (*WebhooksIntegrationUpdateRequest) SetName ¶ added in v1.3.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*WebhooksIntegrationUpdateRequest) SetPayload ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) SetPayload(v string)

SetPayload gets a reference to the given NullableString and assigns it to the Payload field.

func (*WebhooksIntegrationUpdateRequest) SetPayloadNil ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) SetPayloadNil()

SetPayloadNil sets the value for Payload to be an explicit nil.

func (*WebhooksIntegrationUpdateRequest) SetUrl ¶ added in v1.3.0

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*WebhooksIntegrationUpdateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

func (*WebhooksIntegrationUpdateRequest) UnsetPayload ¶ added in v1.3.0

func (o *WebhooksIntegrationUpdateRequest) UnsetPayload()

UnsetPayload ensures that no value is present for Payload, not even an explicit nil.

type Widget ¶

type Widget struct {
	// [Definition of the widget](https://docs.datadoghq.com/dashboards/widgets/).
	Definition WidgetDefinition `json:"definition"`
	// ID of the widget.
	Id *int64 `json:"id,omitempty"`
	// The layout for a widget on a `free` or **new dashboard layout** dashboard.
	Layout *WidgetLayout `json:"layout,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

Widget Information about widget.

**Note**: The `layout` property is required for widgets in dashboards with `free` `layout_type`.

For the **new dashboard layout**, the `layout` property depends on the `reflow_type` of the dashboard.
- If `reflow_type` is `fixed`, `layout` is required.
- If `reflow_type` is `auto`, `layout` should not be set.

func NewWidget ¶

func NewWidget(definition WidgetDefinition) *Widget

NewWidget instantiates a new Widget 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 NewWidgetWithDefaults ¶

func NewWidgetWithDefaults() *Widget

NewWidgetWithDefaults instantiates a new Widget 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 (*Widget) GetDefinition ¶

func (o *Widget) GetDefinition() WidgetDefinition

GetDefinition returns the Definition field value.

func (*Widget) GetDefinitionOk ¶

func (o *Widget) GetDefinitionOk() (*WidgetDefinition, bool)

GetDefinitionOk returns a tuple with the Definition field value and a boolean to check if the value has been set.

func (*Widget) GetId ¶

func (o *Widget) GetId() int64

GetId returns the Id field value if set, zero value otherwise.

func (*Widget) GetIdOk ¶

func (o *Widget) GetIdOk() (*int64, 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 (*Widget) GetLayout ¶

func (o *Widget) GetLayout() WidgetLayout

GetLayout returns the Layout field value if set, zero value otherwise.

func (*Widget) GetLayoutOk ¶

func (o *Widget) GetLayoutOk() (*WidgetLayout, bool)

GetLayoutOk returns a tuple with the Layout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Widget) HasId ¶

func (o *Widget) HasId() bool

HasId returns a boolean if a field has been set.

func (*Widget) HasLayout ¶

func (o *Widget) HasLayout() bool

HasLayout returns a boolean if a field has been set.

func (Widget) MarshalJSON ¶

func (o Widget) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*Widget) SetDefinition ¶

func (o *Widget) SetDefinition(v WidgetDefinition)

SetDefinition sets field value.

func (*Widget) SetId ¶

func (o *Widget) SetId(v int64)

SetId gets a reference to the given int64 and assigns it to the Id field.

func (*Widget) SetLayout ¶

func (o *Widget) SetLayout(v WidgetLayout)

SetLayout gets a reference to the given WidgetLayout and assigns it to the Layout field.

func (*Widget) UnmarshalJSON ¶

func (o *Widget) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetAggregator ¶

type WidgetAggregator string

WidgetAggregator Aggregator used for the request.

const (
	WIDGETAGGREGATOR_AVERAGE    WidgetAggregator = "avg"
	WIDGETAGGREGATOR_LAST       WidgetAggregator = "last"
	WIDGETAGGREGATOR_MAXIMUM    WidgetAggregator = "max"
	WIDGETAGGREGATOR_MINIMUM    WidgetAggregator = "min"
	WIDGETAGGREGATOR_SUM        WidgetAggregator = "sum"
	WIDGETAGGREGATOR_PERCENTILE WidgetAggregator = "percentile"
)

List of WidgetAggregator.

func NewWidgetAggregatorFromValue ¶

func NewWidgetAggregatorFromValue(v string) (*WidgetAggregator, error)

NewWidgetAggregatorFromValue returns a pointer to a valid WidgetAggregator for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetAggregator) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetAggregator) GetAllowedValues() []WidgetAggregator

GetAllowedValues reeturns the list of possible values.

func (WidgetAggregator) IsValid ¶

func (v WidgetAggregator) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetAggregator) Ptr ¶

Ptr returns reference to WidgetAggregator value.

func (*WidgetAggregator) UnmarshalJSON ¶

func (v *WidgetAggregator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetAxis ¶

type WidgetAxis struct {
	// True includes zero.
	IncludeZero *bool `json:"include_zero,omitempty"`
	// The label of the axis to display on the graph.
	Label *string `json:"label,omitempty"`
	// Specifies the maximum value to show on the y-axis. It takes a number, or auto for default behavior.
	Max *string `json:"max,omitempty"`
	// Specifies minimum value to show on the y-axis. It takes a number, or auto for default behavior.
	Min *string `json:"min,omitempty"`
	// Specifies the scale type. Possible values are `linear`, `log`, `sqrt`, `pow##` (for example `pow2`, `pow0.5` etc.).
	Scale *string `json:"scale,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetAxis Axis controls for the widget.

func NewWidgetAxis ¶

func NewWidgetAxis() *WidgetAxis

NewWidgetAxis instantiates a new WidgetAxis 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 NewWidgetAxisWithDefaults ¶

func NewWidgetAxisWithDefaults() *WidgetAxis

NewWidgetAxisWithDefaults instantiates a new WidgetAxis 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 (*WidgetAxis) GetIncludeZero ¶

func (o *WidgetAxis) GetIncludeZero() bool

GetIncludeZero returns the IncludeZero field value if set, zero value otherwise.

func (*WidgetAxis) GetIncludeZeroOk ¶

func (o *WidgetAxis) GetIncludeZeroOk() (*bool, bool)

GetIncludeZeroOk returns a tuple with the IncludeZero field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetLabel ¶

func (o *WidgetAxis) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*WidgetAxis) GetLabelOk ¶

func (o *WidgetAxis) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetMax ¶

func (o *WidgetAxis) GetMax() string

GetMax returns the Max field value if set, zero value otherwise.

func (*WidgetAxis) GetMaxOk ¶

func (o *WidgetAxis) GetMaxOk() (*string, bool)

GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetMin ¶

func (o *WidgetAxis) GetMin() string

GetMin returns the Min field value if set, zero value otherwise.

func (*WidgetAxis) GetMinOk ¶

func (o *WidgetAxis) GetMinOk() (*string, bool)

GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetScale ¶

func (o *WidgetAxis) GetScale() string

GetScale returns the Scale field value if set, zero value otherwise.

func (*WidgetAxis) GetScaleOk ¶

func (o *WidgetAxis) GetScaleOk() (*string, bool)

GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) HasIncludeZero ¶

func (o *WidgetAxis) HasIncludeZero() bool

HasIncludeZero returns a boolean if a field has been set.

func (*WidgetAxis) HasLabel ¶

func (o *WidgetAxis) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*WidgetAxis) HasMax ¶

func (o *WidgetAxis) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*WidgetAxis) HasMin ¶

func (o *WidgetAxis) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*WidgetAxis) HasScale ¶

func (o *WidgetAxis) HasScale() bool

HasScale returns a boolean if a field has been set.

func (WidgetAxis) MarshalJSON ¶

func (o WidgetAxis) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetAxis) SetIncludeZero ¶

func (o *WidgetAxis) SetIncludeZero(v bool)

SetIncludeZero gets a reference to the given bool and assigns it to the IncludeZero field.

func (*WidgetAxis) SetLabel ¶

func (o *WidgetAxis) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*WidgetAxis) SetMax ¶

func (o *WidgetAxis) SetMax(v string)

SetMax gets a reference to the given string and assigns it to the Max field.

func (*WidgetAxis) SetMin ¶

func (o *WidgetAxis) SetMin(v string)

SetMin gets a reference to the given string and assigns it to the Min field.

func (*WidgetAxis) SetScale ¶

func (o *WidgetAxis) SetScale(v string)

SetScale gets a reference to the given string and assigns it to the Scale field.

func (*WidgetAxis) UnmarshalJSON ¶ added in v1.3.0

func (o *WidgetAxis) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetChangeType ¶

type WidgetChangeType string

WidgetChangeType Show the absolute or the relative change.

const (
	WIDGETCHANGETYPE_ABSOLUTE WidgetChangeType = "absolute"
	WIDGETCHANGETYPE_RELATIVE WidgetChangeType = "relative"
)

List of WidgetChangeType.

func NewWidgetChangeTypeFromValue ¶

func NewWidgetChangeTypeFromValue(v string) (*WidgetChangeType, error)

NewWidgetChangeTypeFromValue returns a pointer to a valid WidgetChangeType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetChangeType) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetChangeType) GetAllowedValues() []WidgetChangeType

GetAllowedValues reeturns the list of possible values.

func (WidgetChangeType) IsValid ¶

func (v WidgetChangeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetChangeType) Ptr ¶

Ptr returns reference to WidgetChangeType value.

func (*WidgetChangeType) UnmarshalJSON ¶

func (v *WidgetChangeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetColorPreference ¶

type WidgetColorPreference string

WidgetColorPreference Which color to use on the widget.

const (
	WIDGETCOLORPREFERENCE_BACKGROUND WidgetColorPreference = "background"
	WIDGETCOLORPREFERENCE_TEXT       WidgetColorPreference = "text"
)

List of WidgetColorPreference.

func NewWidgetColorPreferenceFromValue ¶

func NewWidgetColorPreferenceFromValue(v string) (*WidgetColorPreference, error)

NewWidgetColorPreferenceFromValue returns a pointer to a valid WidgetColorPreference for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetColorPreference) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetColorPreference) GetAllowedValues() []WidgetColorPreference

GetAllowedValues reeturns the list of possible values.

func (WidgetColorPreference) IsValid ¶

func (v WidgetColorPreference) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetColorPreference) Ptr ¶

Ptr returns reference to WidgetColorPreference value.

func (*WidgetColorPreference) UnmarshalJSON ¶

func (v *WidgetColorPreference) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetComparator ¶

type WidgetComparator string

WidgetComparator Comparator to apply.

const (
	WIDGETCOMPARATOR_GREATER_THAN             WidgetComparator = ">"
	WIDGETCOMPARATOR_GREATER_THAN_OR_EQUAL_TO WidgetComparator = ">="
	WIDGETCOMPARATOR_LESS_THAN                WidgetComparator = "<"
	WIDGETCOMPARATOR_LESS_THAN_OR_EQUAL_TO    WidgetComparator = "<="
)

List of WidgetComparator.

func NewWidgetComparatorFromValue ¶

func NewWidgetComparatorFromValue(v string) (*WidgetComparator, error)

NewWidgetComparatorFromValue returns a pointer to a valid WidgetComparator for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetComparator) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetComparator) GetAllowedValues() []WidgetComparator

GetAllowedValues reeturns the list of possible values.

func (WidgetComparator) IsValid ¶

func (v WidgetComparator) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetComparator) Ptr ¶

Ptr returns reference to WidgetComparator value.

func (*WidgetComparator) UnmarshalJSON ¶

func (v *WidgetComparator) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetCompareTo ¶

type WidgetCompareTo string

WidgetCompareTo Timeframe used for the change comparison.

const (
	WIDGETCOMPARETO_HOUR_BEFORE  WidgetCompareTo = "hour_before"
	WIDGETCOMPARETO_DAY_BEFORE   WidgetCompareTo = "day_before"
	WIDGETCOMPARETO_WEEK_BEFORE  WidgetCompareTo = "week_before"
	WIDGETCOMPARETO_MONTH_BEFORE WidgetCompareTo = "month_before"
)

List of WidgetCompareTo.

func NewWidgetCompareToFromValue ¶

func NewWidgetCompareToFromValue(v string) (*WidgetCompareTo, error)

NewWidgetCompareToFromValue returns a pointer to a valid WidgetCompareTo for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetCompareTo) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetCompareTo) GetAllowedValues() []WidgetCompareTo

GetAllowedValues reeturns the list of possible values.

func (WidgetCompareTo) IsValid ¶

func (v WidgetCompareTo) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetCompareTo) Ptr ¶

Ptr returns reference to WidgetCompareTo value.

func (*WidgetCompareTo) UnmarshalJSON ¶

func (v *WidgetCompareTo) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetConditionalFormat ¶

type WidgetConditionalFormat struct {
	// Comparator to apply.
	Comparator WidgetComparator `json:"comparator"`
	// Color palette to apply to the background, same values available as palette.
	CustomBgColor *string `json:"custom_bg_color,omitempty"`
	// Color palette to apply to the foreground, same values available as palette.
	CustomFgColor *string `json:"custom_fg_color,omitempty"`
	// True hides values.
	HideValue *bool `json:"hide_value,omitempty"`
	// Displays an image as the background.
	ImageUrl *string `json:"image_url,omitempty"`
	// Metric from the request to correlate this conditional format with.
	Metric *string `json:"metric,omitempty"`
	// Color palette to apply.
	Palette WidgetPalette `json:"palette"`
	// Defines the displayed timeframe.
	Timeframe *string `json:"timeframe,omitempty"`
	// Value for the comparator.
	Value float64 `json:"value"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetConditionalFormat Define a conditional format for the widget.

func NewWidgetConditionalFormat ¶

func NewWidgetConditionalFormat(comparator WidgetComparator, palette WidgetPalette, value float64) *WidgetConditionalFormat

NewWidgetConditionalFormat instantiates a new WidgetConditionalFormat 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 NewWidgetConditionalFormatWithDefaults ¶

func NewWidgetConditionalFormatWithDefaults() *WidgetConditionalFormat

NewWidgetConditionalFormatWithDefaults instantiates a new WidgetConditionalFormat 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 (*WidgetConditionalFormat) GetComparator ¶

func (o *WidgetConditionalFormat) GetComparator() WidgetComparator

GetComparator returns the Comparator field value.

func (*WidgetConditionalFormat) GetComparatorOk ¶

func (o *WidgetConditionalFormat) GetComparatorOk() (*WidgetComparator, bool)

GetComparatorOk returns a tuple with the Comparator field value and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetCustomBgColor ¶

func (o *WidgetConditionalFormat) GetCustomBgColor() string

GetCustomBgColor returns the CustomBgColor field value if set, zero value otherwise.

func (*WidgetConditionalFormat) GetCustomBgColorOk ¶

func (o *WidgetConditionalFormat) GetCustomBgColorOk() (*string, bool)

GetCustomBgColorOk returns a tuple with the CustomBgColor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetCustomFgColor ¶

func (o *WidgetConditionalFormat) GetCustomFgColor() string

GetCustomFgColor returns the CustomFgColor field value if set, zero value otherwise.

func (*WidgetConditionalFormat) GetCustomFgColorOk ¶

func (o *WidgetConditionalFormat) GetCustomFgColorOk() (*string, bool)

GetCustomFgColorOk returns a tuple with the CustomFgColor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetHideValue ¶

func (o *WidgetConditionalFormat) GetHideValue() bool

GetHideValue returns the HideValue field value if set, zero value otherwise.

func (*WidgetConditionalFormat) GetHideValueOk ¶

func (o *WidgetConditionalFormat) GetHideValueOk() (*bool, bool)

GetHideValueOk returns a tuple with the HideValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetImageUrl ¶

func (o *WidgetConditionalFormat) GetImageUrl() string

GetImageUrl returns the ImageUrl field value if set, zero value otherwise.

func (*WidgetConditionalFormat) GetImageUrlOk ¶

func (o *WidgetConditionalFormat) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetMetric ¶

func (o *WidgetConditionalFormat) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*WidgetConditionalFormat) GetMetricOk ¶

func (o *WidgetConditionalFormat) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetPalette ¶

func (o *WidgetConditionalFormat) GetPalette() WidgetPalette

GetPalette returns the Palette field value.

func (*WidgetConditionalFormat) GetPaletteOk ¶

func (o *WidgetConditionalFormat) GetPaletteOk() (*WidgetPalette, bool)

GetPaletteOk returns a tuple with the Palette field value and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetTimeframe ¶

func (o *WidgetConditionalFormat) GetTimeframe() string

GetTimeframe returns the Timeframe field value if set, zero value otherwise.

func (*WidgetConditionalFormat) GetTimeframeOk ¶

func (o *WidgetConditionalFormat) GetTimeframeOk() (*string, bool)

GetTimeframeOk returns a tuple with the Timeframe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetValue ¶

func (o *WidgetConditionalFormat) GetValue() float64

GetValue returns the Value field value.

func (*WidgetConditionalFormat) GetValueOk ¶

func (o *WidgetConditionalFormat) GetValueOk() (*float64, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) HasCustomBgColor ¶

func (o *WidgetConditionalFormat) HasCustomBgColor() bool

HasCustomBgColor returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasCustomFgColor ¶

func (o *WidgetConditionalFormat) HasCustomFgColor() bool

HasCustomFgColor returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasHideValue ¶

func (o *WidgetConditionalFormat) HasHideValue() bool

HasHideValue returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasImageUrl ¶

func (o *WidgetConditionalFormat) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasMetric ¶

func (o *WidgetConditionalFormat) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasTimeframe ¶

func (o *WidgetConditionalFormat) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (WidgetConditionalFormat) MarshalJSON ¶

func (o WidgetConditionalFormat) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetConditionalFormat) SetComparator ¶

func (o *WidgetConditionalFormat) SetComparator(v WidgetComparator)

SetComparator sets field value.

func (*WidgetConditionalFormat) SetCustomBgColor ¶

func (o *WidgetConditionalFormat) SetCustomBgColor(v string)

SetCustomBgColor gets a reference to the given string and assigns it to the CustomBgColor field.

func (*WidgetConditionalFormat) SetCustomFgColor ¶

func (o *WidgetConditionalFormat) SetCustomFgColor(v string)

SetCustomFgColor gets a reference to the given string and assigns it to the CustomFgColor field.

func (*WidgetConditionalFormat) SetHideValue ¶

func (o *WidgetConditionalFormat) SetHideValue(v bool)

SetHideValue gets a reference to the given bool and assigns it to the HideValue field.

func (*WidgetConditionalFormat) SetImageUrl ¶

func (o *WidgetConditionalFormat) SetImageUrl(v string)

SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.

func (*WidgetConditionalFormat) SetMetric ¶

func (o *WidgetConditionalFormat) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*WidgetConditionalFormat) SetPalette ¶

func (o *WidgetConditionalFormat) SetPalette(v WidgetPalette)

SetPalette sets field value.

func (*WidgetConditionalFormat) SetTimeframe ¶

func (o *WidgetConditionalFormat) SetTimeframe(v string)

SetTimeframe gets a reference to the given string and assigns it to the Timeframe field.

func (*WidgetConditionalFormat) SetValue ¶

func (o *WidgetConditionalFormat) SetValue(v float64)

SetValue sets field value.

func (*WidgetConditionalFormat) UnmarshalJSON ¶

func (o *WidgetConditionalFormat) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetCustomLink struct {
	// The flag for toggling context menu link visibility.
	IsHidden *bool `json:"is_hidden,omitempty"`
	// The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.
	Label *string `json:"label,omitempty"`
	// The URL of the custom link. URL must include `http` or `https`. A relative URL must start with `/`.
	Link *string `json:"link,omitempty"`
	// The label ID that refers to a context menu link. Can be `logs`, `hosts`, `traces`, `profiles`, `processes`, `containers`, or `rum`.
	OverrideLabel *string `json:"override_label,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetCustomLink Custom links help you connect a data value to a URL, like a Datadog page or your AWS console.

func NewWidgetCustomLink() *WidgetCustomLink

NewWidgetCustomLink instantiates a new WidgetCustomLink 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 NewWidgetCustomLinkWithDefaults ¶

func NewWidgetCustomLinkWithDefaults() *WidgetCustomLink

NewWidgetCustomLinkWithDefaults instantiates a new WidgetCustomLink 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 (*WidgetCustomLink) GetIsHidden ¶

func (o *WidgetCustomLink) GetIsHidden() bool

GetIsHidden returns the IsHidden field value if set, zero value otherwise.

func (*WidgetCustomLink) GetIsHiddenOk ¶

func (o *WidgetCustomLink) GetIsHiddenOk() (*bool, bool)

GetIsHiddenOk returns a tuple with the IsHidden field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetCustomLink) GetLabel ¶

func (o *WidgetCustomLink) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*WidgetCustomLink) GetLabelOk ¶

func (o *WidgetCustomLink) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *WidgetCustomLink) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*WidgetCustomLink) GetLinkOk ¶

func (o *WidgetCustomLink) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetCustomLink) GetOverrideLabel ¶

func (o *WidgetCustomLink) GetOverrideLabel() string

GetOverrideLabel returns the OverrideLabel field value if set, zero value otherwise.

func (*WidgetCustomLink) GetOverrideLabelOk ¶

func (o *WidgetCustomLink) GetOverrideLabelOk() (*string, bool)

GetOverrideLabelOk returns a tuple with the OverrideLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetCustomLink) HasIsHidden ¶

func (o *WidgetCustomLink) HasIsHidden() bool

HasIsHidden returns a boolean if a field has been set.

func (*WidgetCustomLink) HasLabel ¶

func (o *WidgetCustomLink) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (o *WidgetCustomLink) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*WidgetCustomLink) HasOverrideLabel ¶

func (o *WidgetCustomLink) HasOverrideLabel() bool

HasOverrideLabel returns a boolean if a field has been set.

func (WidgetCustomLink) MarshalJSON ¶

func (o WidgetCustomLink) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetCustomLink) SetIsHidden ¶

func (o *WidgetCustomLink) SetIsHidden(v bool)

SetIsHidden gets a reference to the given bool and assigns it to the IsHidden field.

func (*WidgetCustomLink) SetLabel ¶

func (o *WidgetCustomLink) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (o *WidgetCustomLink) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*WidgetCustomLink) SetOverrideLabel ¶

func (o *WidgetCustomLink) SetOverrideLabel(v string)

SetOverrideLabel gets a reference to the given string and assigns it to the OverrideLabel field.

func (*WidgetCustomLink) UnmarshalJSON ¶ added in v1.3.0

func (o *WidgetCustomLink) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetDefinition ¶

type WidgetDefinition struct {
	AlertGraphWidgetDefinition     *AlertGraphWidgetDefinition
	AlertValueWidgetDefinition     *AlertValueWidgetDefinition
	ChangeWidgetDefinition         *ChangeWidgetDefinition
	CheckStatusWidgetDefinition    *CheckStatusWidgetDefinition
	DistributionWidgetDefinition   *DistributionWidgetDefinition
	EventStreamWidgetDefinition    *EventStreamWidgetDefinition
	EventTimelineWidgetDefinition  *EventTimelineWidgetDefinition
	FreeTextWidgetDefinition       *FreeTextWidgetDefinition
	GeomapWidgetDefinition         *GeomapWidgetDefinition
	GroupWidgetDefinition          *GroupWidgetDefinition
	HeatMapWidgetDefinition        *HeatMapWidgetDefinition
	HostMapWidgetDefinition        *HostMapWidgetDefinition
	IFrameWidgetDefinition         *IFrameWidgetDefinition
	ImageWidgetDefinition          *ImageWidgetDefinition
	LogStreamWidgetDefinition      *LogStreamWidgetDefinition
	MonitorSummaryWidgetDefinition *MonitorSummaryWidgetDefinition
	NoteWidgetDefinition           *NoteWidgetDefinition
	QueryValueWidgetDefinition     *QueryValueWidgetDefinition
	ScatterPlotWidgetDefinition    *ScatterPlotWidgetDefinition
	SLOWidgetDefinition            *SLOWidgetDefinition
	ServiceMapWidgetDefinition     *ServiceMapWidgetDefinition
	ServiceSummaryWidgetDefinition *ServiceSummaryWidgetDefinition
	SunburstWidgetDefinition       *SunburstWidgetDefinition
	TableWidgetDefinition          *TableWidgetDefinition
	TimeseriesWidgetDefinition     *TimeseriesWidgetDefinition
	ToplistWidgetDefinition        *ToplistWidgetDefinition
	TreeMapWidgetDefinition        *TreeMapWidgetDefinition
	ListStreamWidgetDefinition     *ListStreamWidgetDefinition
	FunnelWidgetDefinition         *FunnelWidgetDefinition

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

WidgetDefinition - [Definition of the widget](https://docs.datadoghq.com/dashboards/widgets/).

func AlertGraphWidgetDefinitionAsWidgetDefinition ¶

func AlertGraphWidgetDefinitionAsWidgetDefinition(v *AlertGraphWidgetDefinition) WidgetDefinition

AlertGraphWidgetDefinitionAsWidgetDefinition is a convenience function that returns AlertGraphWidgetDefinition wrapped in WidgetDefinition.

func AlertValueWidgetDefinitionAsWidgetDefinition ¶

func AlertValueWidgetDefinitionAsWidgetDefinition(v *AlertValueWidgetDefinition) WidgetDefinition

AlertValueWidgetDefinitionAsWidgetDefinition is a convenience function that returns AlertValueWidgetDefinition wrapped in WidgetDefinition.

func ChangeWidgetDefinitionAsWidgetDefinition ¶

func ChangeWidgetDefinitionAsWidgetDefinition(v *ChangeWidgetDefinition) WidgetDefinition

ChangeWidgetDefinitionAsWidgetDefinition is a convenience function that returns ChangeWidgetDefinition wrapped in WidgetDefinition.

func CheckStatusWidgetDefinitionAsWidgetDefinition ¶

func CheckStatusWidgetDefinitionAsWidgetDefinition(v *CheckStatusWidgetDefinition) WidgetDefinition

CheckStatusWidgetDefinitionAsWidgetDefinition is a convenience function that returns CheckStatusWidgetDefinition wrapped in WidgetDefinition.

func DistributionWidgetDefinitionAsWidgetDefinition ¶

func DistributionWidgetDefinitionAsWidgetDefinition(v *DistributionWidgetDefinition) WidgetDefinition

DistributionWidgetDefinitionAsWidgetDefinition is a convenience function that returns DistributionWidgetDefinition wrapped in WidgetDefinition.

func EventStreamWidgetDefinitionAsWidgetDefinition ¶

func EventStreamWidgetDefinitionAsWidgetDefinition(v *EventStreamWidgetDefinition) WidgetDefinition

EventStreamWidgetDefinitionAsWidgetDefinition is a convenience function that returns EventStreamWidgetDefinition wrapped in WidgetDefinition.

func EventTimelineWidgetDefinitionAsWidgetDefinition ¶

func EventTimelineWidgetDefinitionAsWidgetDefinition(v *EventTimelineWidgetDefinition) WidgetDefinition

EventTimelineWidgetDefinitionAsWidgetDefinition is a convenience function that returns EventTimelineWidgetDefinition wrapped in WidgetDefinition.

func FreeTextWidgetDefinitionAsWidgetDefinition ¶

func FreeTextWidgetDefinitionAsWidgetDefinition(v *FreeTextWidgetDefinition) WidgetDefinition

FreeTextWidgetDefinitionAsWidgetDefinition is a convenience function that returns FreeTextWidgetDefinition wrapped in WidgetDefinition.

func FunnelWidgetDefinitionAsWidgetDefinition ¶ added in v1.5.0

func FunnelWidgetDefinitionAsWidgetDefinition(v *FunnelWidgetDefinition) WidgetDefinition

FunnelWidgetDefinitionAsWidgetDefinition is a convenience function that returns FunnelWidgetDefinition wrapped in WidgetDefinition.

func GeomapWidgetDefinitionAsWidgetDefinition ¶

func GeomapWidgetDefinitionAsWidgetDefinition(v *GeomapWidgetDefinition) WidgetDefinition

GeomapWidgetDefinitionAsWidgetDefinition is a convenience function that returns GeomapWidgetDefinition wrapped in WidgetDefinition.

func GroupWidgetDefinitionAsWidgetDefinition ¶

func GroupWidgetDefinitionAsWidgetDefinition(v *GroupWidgetDefinition) WidgetDefinition

GroupWidgetDefinitionAsWidgetDefinition is a convenience function that returns GroupWidgetDefinition wrapped in WidgetDefinition.

func HeatMapWidgetDefinitionAsWidgetDefinition ¶

func HeatMapWidgetDefinitionAsWidgetDefinition(v *HeatMapWidgetDefinition) WidgetDefinition

HeatMapWidgetDefinitionAsWidgetDefinition is a convenience function that returns HeatMapWidgetDefinition wrapped in WidgetDefinition.

func HostMapWidgetDefinitionAsWidgetDefinition ¶

func HostMapWidgetDefinitionAsWidgetDefinition(v *HostMapWidgetDefinition) WidgetDefinition

HostMapWidgetDefinitionAsWidgetDefinition is a convenience function that returns HostMapWidgetDefinition wrapped in WidgetDefinition.

func IFrameWidgetDefinitionAsWidgetDefinition ¶

func IFrameWidgetDefinitionAsWidgetDefinition(v *IFrameWidgetDefinition) WidgetDefinition

IFrameWidgetDefinitionAsWidgetDefinition is a convenience function that returns IFrameWidgetDefinition wrapped in WidgetDefinition.

func ImageWidgetDefinitionAsWidgetDefinition ¶

func ImageWidgetDefinitionAsWidgetDefinition(v *ImageWidgetDefinition) WidgetDefinition

ImageWidgetDefinitionAsWidgetDefinition is a convenience function that returns ImageWidgetDefinition wrapped in WidgetDefinition.

func ListStreamWidgetDefinitionAsWidgetDefinition ¶ added in v1.3.0

func ListStreamWidgetDefinitionAsWidgetDefinition(v *ListStreamWidgetDefinition) WidgetDefinition

ListStreamWidgetDefinitionAsWidgetDefinition is a convenience function that returns ListStreamWidgetDefinition wrapped in WidgetDefinition.

func LogStreamWidgetDefinitionAsWidgetDefinition ¶

func LogStreamWidgetDefinitionAsWidgetDefinition(v *LogStreamWidgetDefinition) WidgetDefinition

LogStreamWidgetDefinitionAsWidgetDefinition is a convenience function that returns LogStreamWidgetDefinition wrapped in WidgetDefinition.

func MonitorSummaryWidgetDefinitionAsWidgetDefinition ¶

func MonitorSummaryWidgetDefinitionAsWidgetDefinition(v *MonitorSummaryWidgetDefinition) WidgetDefinition

MonitorSummaryWidgetDefinitionAsWidgetDefinition is a convenience function that returns MonitorSummaryWidgetDefinition wrapped in WidgetDefinition.

func NoteWidgetDefinitionAsWidgetDefinition ¶

func NoteWidgetDefinitionAsWidgetDefinition(v *NoteWidgetDefinition) WidgetDefinition

NoteWidgetDefinitionAsWidgetDefinition is a convenience function that returns NoteWidgetDefinition wrapped in WidgetDefinition.

func QueryValueWidgetDefinitionAsWidgetDefinition ¶

func QueryValueWidgetDefinitionAsWidgetDefinition(v *QueryValueWidgetDefinition) WidgetDefinition

QueryValueWidgetDefinitionAsWidgetDefinition is a convenience function that returns QueryValueWidgetDefinition wrapped in WidgetDefinition.

func SLOWidgetDefinitionAsWidgetDefinition ¶

func SLOWidgetDefinitionAsWidgetDefinition(v *SLOWidgetDefinition) WidgetDefinition

SLOWidgetDefinitionAsWidgetDefinition is a convenience function that returns SLOWidgetDefinition wrapped in WidgetDefinition.

func ScatterPlotWidgetDefinitionAsWidgetDefinition ¶

func ScatterPlotWidgetDefinitionAsWidgetDefinition(v *ScatterPlotWidgetDefinition) WidgetDefinition

ScatterPlotWidgetDefinitionAsWidgetDefinition is a convenience function that returns ScatterPlotWidgetDefinition wrapped in WidgetDefinition.

func ServiceMapWidgetDefinitionAsWidgetDefinition ¶

func ServiceMapWidgetDefinitionAsWidgetDefinition(v *ServiceMapWidgetDefinition) WidgetDefinition

ServiceMapWidgetDefinitionAsWidgetDefinition is a convenience function that returns ServiceMapWidgetDefinition wrapped in WidgetDefinition.

func ServiceSummaryWidgetDefinitionAsWidgetDefinition ¶

func ServiceSummaryWidgetDefinitionAsWidgetDefinition(v *ServiceSummaryWidgetDefinition) WidgetDefinition

ServiceSummaryWidgetDefinitionAsWidgetDefinition is a convenience function that returns ServiceSummaryWidgetDefinition wrapped in WidgetDefinition.

func SunburstWidgetDefinitionAsWidgetDefinition ¶ added in v1.8.0

func SunburstWidgetDefinitionAsWidgetDefinition(v *SunburstWidgetDefinition) WidgetDefinition

SunburstWidgetDefinitionAsWidgetDefinition is a convenience function that returns SunburstWidgetDefinition wrapped in WidgetDefinition.

func TableWidgetDefinitionAsWidgetDefinition ¶

func TableWidgetDefinitionAsWidgetDefinition(v *TableWidgetDefinition) WidgetDefinition

TableWidgetDefinitionAsWidgetDefinition is a convenience function that returns TableWidgetDefinition wrapped in WidgetDefinition.

func TimeseriesWidgetDefinitionAsWidgetDefinition ¶

func TimeseriesWidgetDefinitionAsWidgetDefinition(v *TimeseriesWidgetDefinition) WidgetDefinition

TimeseriesWidgetDefinitionAsWidgetDefinition is a convenience function that returns TimeseriesWidgetDefinition wrapped in WidgetDefinition.

func ToplistWidgetDefinitionAsWidgetDefinition ¶

func ToplistWidgetDefinitionAsWidgetDefinition(v *ToplistWidgetDefinition) WidgetDefinition

ToplistWidgetDefinitionAsWidgetDefinition is a convenience function that returns ToplistWidgetDefinition wrapped in WidgetDefinition.

func TreeMapWidgetDefinitionAsWidgetDefinition ¶ added in v1.2.0

func TreeMapWidgetDefinitionAsWidgetDefinition(v *TreeMapWidgetDefinition) WidgetDefinition

TreeMapWidgetDefinitionAsWidgetDefinition is a convenience function that returns TreeMapWidgetDefinition wrapped in WidgetDefinition.

func (*WidgetDefinition) GetActualInstance ¶

func (obj *WidgetDefinition) GetActualInstance() interface{}

GetActualInstance returns the actual instance.

func (WidgetDefinition) MarshalJSON ¶

func (obj WidgetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON turns data from the first non-nil pointers in the struct to JSON.

func (*WidgetDefinition) UnmarshalJSON ¶

func (obj *WidgetDefinition) UnmarshalJSON(data []byte) error

UnmarshalJSON turns data into one of the pointers in the struct.

type WidgetDisplayType ¶

type WidgetDisplayType string

WidgetDisplayType Type of display to use for the request.

const (
	WIDGETDISPLAYTYPE_AREA WidgetDisplayType = "area"
	WIDGETDISPLAYTYPE_BARS WidgetDisplayType = "bars"
	WIDGETDISPLAYTYPE_LINE WidgetDisplayType = "line"
)

List of WidgetDisplayType.

func NewWidgetDisplayTypeFromValue ¶

func NewWidgetDisplayTypeFromValue(v string) (*WidgetDisplayType, error)

NewWidgetDisplayTypeFromValue returns a pointer to a valid WidgetDisplayType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetDisplayType) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetDisplayType) GetAllowedValues() []WidgetDisplayType

GetAllowedValues reeturns the list of possible values.

func (WidgetDisplayType) IsValid ¶

func (v WidgetDisplayType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetDisplayType) Ptr ¶

Ptr returns reference to WidgetDisplayType value.

func (*WidgetDisplayType) UnmarshalJSON ¶

func (v *WidgetDisplayType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetEvent ¶

type WidgetEvent struct {
	// Query definition.
	Q string `json:"q"`
	// The execution method for multi-value filters.
	TagsExecution *string `json:"tags_execution,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetEvent Event overlay control options.

See the dedicated [Events JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/widget_json/#events-schema) to learn how to build the `<EVENTS_SCHEMA>`.

func NewWidgetEvent ¶

func NewWidgetEvent(q string) *WidgetEvent

NewWidgetEvent instantiates a new WidgetEvent 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 NewWidgetEventWithDefaults ¶

func NewWidgetEventWithDefaults() *WidgetEvent

NewWidgetEventWithDefaults instantiates a new WidgetEvent 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 (*WidgetEvent) GetQ ¶

func (o *WidgetEvent) GetQ() string

GetQ returns the Q field value.

func (*WidgetEvent) GetQOk ¶

func (o *WidgetEvent) GetQOk() (*string, bool)

GetQOk returns a tuple with the Q field value and a boolean to check if the value has been set.

func (*WidgetEvent) GetTagsExecution ¶

func (o *WidgetEvent) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field value if set, zero value otherwise.

func (*WidgetEvent) GetTagsExecutionOk ¶

func (o *WidgetEvent) GetTagsExecutionOk() (*string, bool)

GetTagsExecutionOk returns a tuple with the TagsExecution field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetEvent) HasTagsExecution ¶

func (o *WidgetEvent) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (WidgetEvent) MarshalJSON ¶

func (o WidgetEvent) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetEvent) SetQ ¶

func (o *WidgetEvent) SetQ(v string)

SetQ sets field value.

func (*WidgetEvent) SetTagsExecution ¶

func (o *WidgetEvent) SetTagsExecution(v string)

SetTagsExecution gets a reference to the given string and assigns it to the TagsExecution field.

func (*WidgetEvent) UnmarshalJSON ¶

func (o *WidgetEvent) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetEventSize ¶

type WidgetEventSize string

WidgetEventSize Size to use to display an event.

const (
	WIDGETEVENTSIZE_SMALL WidgetEventSize = "s"
	WIDGETEVENTSIZE_LARGE WidgetEventSize = "l"
)

List of WidgetEventSize.

func NewWidgetEventSizeFromValue ¶

func NewWidgetEventSizeFromValue(v string) (*WidgetEventSize, error)

NewWidgetEventSizeFromValue returns a pointer to a valid WidgetEventSize for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetEventSize) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetEventSize) GetAllowedValues() []WidgetEventSize

GetAllowedValues reeturns the list of possible values.

func (WidgetEventSize) IsValid ¶

func (v WidgetEventSize) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetEventSize) Ptr ¶

Ptr returns reference to WidgetEventSize value.

func (*WidgetEventSize) UnmarshalJSON ¶

func (v *WidgetEventSize) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetFieldSort ¶

type WidgetFieldSort struct {
	// Facet path for the column
	Column string `json:"column"`
	// Widget sorting methods.
	Order WidgetSort `json:"order"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetFieldSort Which column and order to sort by

func NewWidgetFieldSort ¶

func NewWidgetFieldSort(column string, order WidgetSort) *WidgetFieldSort

NewWidgetFieldSort instantiates a new WidgetFieldSort 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 NewWidgetFieldSortWithDefaults ¶

func NewWidgetFieldSortWithDefaults() *WidgetFieldSort

NewWidgetFieldSortWithDefaults instantiates a new WidgetFieldSort 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 (*WidgetFieldSort) GetColumn ¶

func (o *WidgetFieldSort) GetColumn() string

GetColumn returns the Column field value.

func (*WidgetFieldSort) GetColumnOk ¶

func (o *WidgetFieldSort) GetColumnOk() (*string, bool)

GetColumnOk returns a tuple with the Column field value and a boolean to check if the value has been set.

func (*WidgetFieldSort) GetOrder ¶

func (o *WidgetFieldSort) GetOrder() WidgetSort

GetOrder returns the Order field value.

func (*WidgetFieldSort) GetOrderOk ¶

func (o *WidgetFieldSort) GetOrderOk() (*WidgetSort, bool)

GetOrderOk returns a tuple with the Order field value and a boolean to check if the value has been set.

func (WidgetFieldSort) MarshalJSON ¶

func (o WidgetFieldSort) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetFieldSort) SetColumn ¶

func (o *WidgetFieldSort) SetColumn(v string)

SetColumn sets field value.

func (*WidgetFieldSort) SetOrder ¶

func (o *WidgetFieldSort) SetOrder(v WidgetSort)

SetOrder sets field value.

func (*WidgetFieldSort) UnmarshalJSON ¶

func (o *WidgetFieldSort) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetFormula ¶

type WidgetFormula struct {
	// Expression alias.
	Alias *string `json:"alias,omitempty"`
	// Define a display mode for the table cell.
	CellDisplayMode *TableWidgetCellDisplayMode `json:"cell_display_mode,omitempty"`
	// List of conditional formats.
	ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"`
	// String expression built from queries, formulas, and functions.
	Formula string `json:"formula"`
	// Options for limiting results returned.
	Limit *WidgetFormulaLimit `json:"limit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetFormula Formula to be used in a widget query.

func NewWidgetFormula ¶

func NewWidgetFormula(formula string) *WidgetFormula

NewWidgetFormula instantiates a new WidgetFormula 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 NewWidgetFormulaWithDefaults ¶

func NewWidgetFormulaWithDefaults() *WidgetFormula

NewWidgetFormulaWithDefaults instantiates a new WidgetFormula 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 (*WidgetFormula) GetAlias ¶

func (o *WidgetFormula) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*WidgetFormula) GetAliasOk ¶

func (o *WidgetFormula) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetFormula) GetCellDisplayMode ¶ added in v1.3.0

func (o *WidgetFormula) GetCellDisplayMode() TableWidgetCellDisplayMode

GetCellDisplayMode returns the CellDisplayMode field value if set, zero value otherwise.

func (*WidgetFormula) GetCellDisplayModeOk ¶ added in v1.3.0

func (o *WidgetFormula) GetCellDisplayModeOk() (*TableWidgetCellDisplayMode, bool)

GetCellDisplayModeOk returns a tuple with the CellDisplayMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetFormula) GetConditionalFormats ¶ added in v1.3.0

func (o *WidgetFormula) GetConditionalFormats() []WidgetConditionalFormat

GetConditionalFormats returns the ConditionalFormats field value if set, zero value otherwise.

func (*WidgetFormula) GetConditionalFormatsOk ¶ added in v1.3.0

func (o *WidgetFormula) GetConditionalFormatsOk() (*[]WidgetConditionalFormat, bool)

GetConditionalFormatsOk returns a tuple with the ConditionalFormats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetFormula) GetFormula ¶

func (o *WidgetFormula) GetFormula() string

GetFormula returns the Formula field value.

func (*WidgetFormula) GetFormulaOk ¶

func (o *WidgetFormula) GetFormulaOk() (*string, bool)

GetFormulaOk returns a tuple with the Formula field value and a boolean to check if the value has been set.

func (*WidgetFormula) GetLimit ¶

func (o *WidgetFormula) GetLimit() WidgetFormulaLimit

GetLimit returns the Limit field value if set, zero value otherwise.

func (*WidgetFormula) GetLimitOk ¶

func (o *WidgetFormula) GetLimitOk() (*WidgetFormulaLimit, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetFormula) HasAlias ¶

func (o *WidgetFormula) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*WidgetFormula) HasCellDisplayMode ¶ added in v1.3.0

func (o *WidgetFormula) HasCellDisplayMode() bool

HasCellDisplayMode returns a boolean if a field has been set.

func (*WidgetFormula) HasConditionalFormats ¶ added in v1.3.0

func (o *WidgetFormula) HasConditionalFormats() bool

HasConditionalFormats returns a boolean if a field has been set.

func (*WidgetFormula) HasLimit ¶

func (o *WidgetFormula) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (WidgetFormula) MarshalJSON ¶

func (o WidgetFormula) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetFormula) SetAlias ¶

func (o *WidgetFormula) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*WidgetFormula) SetCellDisplayMode ¶ added in v1.3.0

func (o *WidgetFormula) SetCellDisplayMode(v TableWidgetCellDisplayMode)

SetCellDisplayMode gets a reference to the given TableWidgetCellDisplayMode and assigns it to the CellDisplayMode field.

func (*WidgetFormula) SetConditionalFormats ¶ added in v1.3.0

func (o *WidgetFormula) SetConditionalFormats(v []WidgetConditionalFormat)

SetConditionalFormats gets a reference to the given []WidgetConditionalFormat and assigns it to the ConditionalFormats field.

func (*WidgetFormula) SetFormula ¶

func (o *WidgetFormula) SetFormula(v string)

SetFormula sets field value.

func (*WidgetFormula) SetLimit ¶

func (o *WidgetFormula) SetLimit(v WidgetFormulaLimit)

SetLimit gets a reference to the given WidgetFormulaLimit and assigns it to the Limit field.

func (*WidgetFormula) UnmarshalJSON ¶

func (o *WidgetFormula) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetFormulaLimit ¶

type WidgetFormulaLimit struct {
	// Number of results to return.
	Count *int64 `json:"count,omitempty"`
	// Direction of sort.
	Order *QuerySortOrder `json:"order,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetFormulaLimit Options for limiting results returned.

func NewWidgetFormulaLimit ¶

func NewWidgetFormulaLimit() *WidgetFormulaLimit

NewWidgetFormulaLimit instantiates a new WidgetFormulaLimit 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 NewWidgetFormulaLimitWithDefaults ¶

func NewWidgetFormulaLimitWithDefaults() *WidgetFormulaLimit

NewWidgetFormulaLimitWithDefaults instantiates a new WidgetFormulaLimit 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 (*WidgetFormulaLimit) GetCount ¶

func (o *WidgetFormulaLimit) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*WidgetFormulaLimit) GetCountOk ¶

func (o *WidgetFormulaLimit) GetCountOk() (*int64, 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 (*WidgetFormulaLimit) GetOrder ¶

func (o *WidgetFormulaLimit) GetOrder() QuerySortOrder

GetOrder returns the Order field value if set, zero value otherwise.

func (*WidgetFormulaLimit) GetOrderOk ¶

func (o *WidgetFormulaLimit) GetOrderOk() (*QuerySortOrder, bool)

GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetFormulaLimit) HasCount ¶

func (o *WidgetFormulaLimit) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*WidgetFormulaLimit) HasOrder ¶

func (o *WidgetFormulaLimit) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (WidgetFormulaLimit) MarshalJSON ¶

func (o WidgetFormulaLimit) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetFormulaLimit) SetCount ¶

func (o *WidgetFormulaLimit) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

func (*WidgetFormulaLimit) SetOrder ¶

func (o *WidgetFormulaLimit) SetOrder(v QuerySortOrder)

SetOrder gets a reference to the given QuerySortOrder and assigns it to the Order field.

func (*WidgetFormulaLimit) UnmarshalJSON ¶ added in v1.3.0

func (o *WidgetFormulaLimit) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetGrouping ¶

type WidgetGrouping string

WidgetGrouping The kind of grouping to use.

const (
	WIDGETGROUPING_CHECK   WidgetGrouping = "check"
	WIDGETGROUPING_CLUSTER WidgetGrouping = "cluster"
)

List of WidgetGrouping.

func NewWidgetGroupingFromValue ¶

func NewWidgetGroupingFromValue(v string) (*WidgetGrouping, error)

NewWidgetGroupingFromValue returns a pointer to a valid WidgetGrouping for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetGrouping) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetGrouping) GetAllowedValues() []WidgetGrouping

GetAllowedValues reeturns the list of possible values.

func (WidgetGrouping) IsValid ¶

func (v WidgetGrouping) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetGrouping) Ptr ¶

func (v WidgetGrouping) Ptr() *WidgetGrouping

Ptr returns reference to WidgetGrouping value.

func (*WidgetGrouping) UnmarshalJSON ¶

func (v *WidgetGrouping) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetHorizontalAlign ¶

type WidgetHorizontalAlign string

WidgetHorizontalAlign Horizontal alignment.

const (
	WIDGETHORIZONTALALIGN_CENTER WidgetHorizontalAlign = "center"
	WIDGETHORIZONTALALIGN_LEFT   WidgetHorizontalAlign = "left"
	WIDGETHORIZONTALALIGN_RIGHT  WidgetHorizontalAlign = "right"
)

List of WidgetHorizontalAlign.

func NewWidgetHorizontalAlignFromValue ¶

func NewWidgetHorizontalAlignFromValue(v string) (*WidgetHorizontalAlign, error)

NewWidgetHorizontalAlignFromValue returns a pointer to a valid WidgetHorizontalAlign for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetHorizontalAlign) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetHorizontalAlign) GetAllowedValues() []WidgetHorizontalAlign

GetAllowedValues reeturns the list of possible values.

func (WidgetHorizontalAlign) IsValid ¶

func (v WidgetHorizontalAlign) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetHorizontalAlign) Ptr ¶

Ptr returns reference to WidgetHorizontalAlign value.

func (*WidgetHorizontalAlign) UnmarshalJSON ¶

func (v *WidgetHorizontalAlign) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetImageSizing ¶

type WidgetImageSizing string

WidgetImageSizing How to size the image on the widget. The values are based on the image `object-fit` CSS properties. **Note**: `zoom`, `fit` and `center` values are deprecated.

const (
	WIDGETIMAGESIZING_FILL      WidgetImageSizing = "fill"
	WIDGETIMAGESIZING_CONTAIN   WidgetImageSizing = "contain"
	WIDGETIMAGESIZING_COVER     WidgetImageSizing = "cover"
	WIDGETIMAGESIZING_NONE      WidgetImageSizing = "none"
	WIDGETIMAGESIZING_SCALEDOWN WidgetImageSizing = "scale-down"
	WIDGETIMAGESIZING_ZOOM      WidgetImageSizing = "zoom"
	WIDGETIMAGESIZING_FIT       WidgetImageSizing = "fit"
	WIDGETIMAGESIZING_CENTER    WidgetImageSizing = "center"
)

List of WidgetImageSizing.

func NewWidgetImageSizingFromValue ¶

func NewWidgetImageSizingFromValue(v string) (*WidgetImageSizing, error)

NewWidgetImageSizingFromValue returns a pointer to a valid WidgetImageSizing for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetImageSizing) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetImageSizing) GetAllowedValues() []WidgetImageSizing

GetAllowedValues reeturns the list of possible values.

func (WidgetImageSizing) IsValid ¶

func (v WidgetImageSizing) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetImageSizing) Ptr ¶

Ptr returns reference to WidgetImageSizing value.

func (*WidgetImageSizing) UnmarshalJSON ¶

func (v *WidgetImageSizing) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetLayout ¶

type WidgetLayout struct {
	// The height of the widget. Should be a non-negative integer.
	Height int64 `json:"height"`
	// Whether the widget should be the first one on the second column in high density or not.
	// **Note**: Only for the **new dashboard layout** and only one widget in the dashboard should have this property set to `true`.
	IsColumnBreak *bool `json:"is_column_break,omitempty"`
	// The width of the widget. Should be a non-negative integer.
	Width int64 `json:"width"`
	// The position of the widget on the x (horizontal) axis. Should be a non-negative integer.
	X int64 `json:"x"`
	// The position of the widget on the y (vertical) axis. Should be a non-negative integer.
	Y int64 `json:"y"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetLayout The layout for a widget on a `free` or **new dashboard layout** dashboard.

func NewWidgetLayout ¶

func NewWidgetLayout(height int64, width int64, x int64, y int64) *WidgetLayout

NewWidgetLayout instantiates a new WidgetLayout 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 NewWidgetLayoutWithDefaults ¶

func NewWidgetLayoutWithDefaults() *WidgetLayout

NewWidgetLayoutWithDefaults instantiates a new WidgetLayout 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 (*WidgetLayout) GetHeight ¶

func (o *WidgetLayout) GetHeight() int64

GetHeight returns the Height field value.

func (*WidgetLayout) GetHeightOk ¶

func (o *WidgetLayout) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (*WidgetLayout) GetIsColumnBreak ¶

func (o *WidgetLayout) GetIsColumnBreak() bool

GetIsColumnBreak returns the IsColumnBreak field value if set, zero value otherwise.

func (*WidgetLayout) GetIsColumnBreakOk ¶

func (o *WidgetLayout) GetIsColumnBreakOk() (*bool, bool)

GetIsColumnBreakOk returns a tuple with the IsColumnBreak field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetLayout) GetWidth ¶

func (o *WidgetLayout) GetWidth() int64

GetWidth returns the Width field value.

func (*WidgetLayout) GetWidthOk ¶

func (o *WidgetLayout) GetWidthOk() (*int64, bool)

GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.

func (*WidgetLayout) GetX ¶

func (o *WidgetLayout) GetX() int64

GetX returns the X field value.

func (*WidgetLayout) GetXOk ¶

func (o *WidgetLayout) GetXOk() (*int64, bool)

GetXOk returns a tuple with the X field value and a boolean to check if the value has been set.

func (*WidgetLayout) GetY ¶

func (o *WidgetLayout) GetY() int64

GetY returns the Y field value.

func (*WidgetLayout) GetYOk ¶

func (o *WidgetLayout) GetYOk() (*int64, bool)

GetYOk returns a tuple with the Y field value and a boolean to check if the value has been set.

func (*WidgetLayout) HasIsColumnBreak ¶

func (o *WidgetLayout) HasIsColumnBreak() bool

HasIsColumnBreak returns a boolean if a field has been set.

func (WidgetLayout) MarshalJSON ¶

func (o WidgetLayout) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetLayout) SetHeight ¶

func (o *WidgetLayout) SetHeight(v int64)

SetHeight sets field value.

func (*WidgetLayout) SetIsColumnBreak ¶

func (o *WidgetLayout) SetIsColumnBreak(v bool)

SetIsColumnBreak gets a reference to the given bool and assigns it to the IsColumnBreak field.

func (*WidgetLayout) SetWidth ¶

func (o *WidgetLayout) SetWidth(v int64)

SetWidth sets field value.

func (*WidgetLayout) SetX ¶

func (o *WidgetLayout) SetX(v int64)

SetX sets field value.

func (*WidgetLayout) SetY ¶

func (o *WidgetLayout) SetY(v int64)

SetY sets field value.

func (*WidgetLayout) UnmarshalJSON ¶

func (o *WidgetLayout) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetLayoutType ¶

type WidgetLayoutType string

WidgetLayoutType Layout type of the group.

const (
	WIDGETLAYOUTTYPE_ORDERED WidgetLayoutType = "ordered"
)

List of WidgetLayoutType.

func NewWidgetLayoutTypeFromValue ¶

func NewWidgetLayoutTypeFromValue(v string) (*WidgetLayoutType, error)

NewWidgetLayoutTypeFromValue returns a pointer to a valid WidgetLayoutType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetLayoutType) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetLayoutType) GetAllowedValues() []WidgetLayoutType

GetAllowedValues reeturns the list of possible values.

func (WidgetLayoutType) IsValid ¶

func (v WidgetLayoutType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetLayoutType) Ptr ¶

Ptr returns reference to WidgetLayoutType value.

func (*WidgetLayoutType) UnmarshalJSON ¶

func (v *WidgetLayoutType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetLineType ¶

type WidgetLineType string

WidgetLineType Type of lines displayed.

const (
	WIDGETLINETYPE_DASHED WidgetLineType = "dashed"
	WIDGETLINETYPE_DOTTED WidgetLineType = "dotted"
	WIDGETLINETYPE_SOLID  WidgetLineType = "solid"
)

List of WidgetLineType.

func NewWidgetLineTypeFromValue ¶

func NewWidgetLineTypeFromValue(v string) (*WidgetLineType, error)

NewWidgetLineTypeFromValue returns a pointer to a valid WidgetLineType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetLineType) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetLineType) GetAllowedValues() []WidgetLineType

GetAllowedValues reeturns the list of possible values.

func (WidgetLineType) IsValid ¶

func (v WidgetLineType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetLineType) Ptr ¶

func (v WidgetLineType) Ptr() *WidgetLineType

Ptr returns reference to WidgetLineType value.

func (*WidgetLineType) UnmarshalJSON ¶

func (v *WidgetLineType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetLineWidth ¶

type WidgetLineWidth string

WidgetLineWidth Width of line displayed.

const (
	WIDGETLINEWIDTH_NORMAL WidgetLineWidth = "normal"
	WIDGETLINEWIDTH_THICK  WidgetLineWidth = "thick"
	WIDGETLINEWIDTH_THIN   WidgetLineWidth = "thin"
)

List of WidgetLineWidth.

func NewWidgetLineWidthFromValue ¶

func NewWidgetLineWidthFromValue(v string) (*WidgetLineWidth, error)

NewWidgetLineWidthFromValue returns a pointer to a valid WidgetLineWidth for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetLineWidth) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetLineWidth) GetAllowedValues() []WidgetLineWidth

GetAllowedValues reeturns the list of possible values.

func (WidgetLineWidth) IsValid ¶

func (v WidgetLineWidth) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetLineWidth) Ptr ¶

Ptr returns reference to WidgetLineWidth value.

func (*WidgetLineWidth) UnmarshalJSON ¶

func (v *WidgetLineWidth) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetLiveSpan ¶

type WidgetLiveSpan string

WidgetLiveSpan The available timeframes depend on the widget you are using.

const (
	WIDGETLIVESPAN_PAST_ONE_MINUTE      WidgetLiveSpan = "1m"
	WIDGETLIVESPAN_PAST_FIVE_MINUTES    WidgetLiveSpan = "5m"
	WIDGETLIVESPAN_PAST_TEN_MINUTES     WidgetLiveSpan = "10m"
	WIDGETLIVESPAN_PAST_FIFTEEN_MINUTES WidgetLiveSpan = "15m"
	WIDGETLIVESPAN_PAST_THIRTY_MINUTES  WidgetLiveSpan = "30m"
	WIDGETLIVESPAN_PAST_ONE_HOUR        WidgetLiveSpan = "1h"
	WIDGETLIVESPAN_PAST_FOUR_HOURS      WidgetLiveSpan = "4h"
	WIDGETLIVESPAN_PAST_ONE_DAY         WidgetLiveSpan = "1d"
	WIDGETLIVESPAN_PAST_TWO_DAYS        WidgetLiveSpan = "2d"
	WIDGETLIVESPAN_PAST_ONE_WEEK        WidgetLiveSpan = "1w"
	WIDGETLIVESPAN_PAST_ONE_MONTH       WidgetLiveSpan = "1mo"
	WIDGETLIVESPAN_PAST_THREE_MONTHS    WidgetLiveSpan = "3mo"
	WIDGETLIVESPAN_PAST_SIX_MONTHS      WidgetLiveSpan = "6mo"
	WIDGETLIVESPAN_PAST_ONE_YEAR        WidgetLiveSpan = "1y"
	WIDGETLIVESPAN_ALERT                WidgetLiveSpan = "alert"
)

List of WidgetLiveSpan.

func NewWidgetLiveSpanFromValue ¶

func NewWidgetLiveSpanFromValue(v string) (*WidgetLiveSpan, error)

NewWidgetLiveSpanFromValue returns a pointer to a valid WidgetLiveSpan for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetLiveSpan) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetLiveSpan) GetAllowedValues() []WidgetLiveSpan

GetAllowedValues reeturns the list of possible values.

func (WidgetLiveSpan) IsValid ¶

func (v WidgetLiveSpan) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetLiveSpan) Ptr ¶

func (v WidgetLiveSpan) Ptr() *WidgetLiveSpan

Ptr returns reference to WidgetLiveSpan value.

func (*WidgetLiveSpan) UnmarshalJSON ¶

func (v *WidgetLiveSpan) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetMargin ¶

type WidgetMargin string

WidgetMargin Size of the margins around the image. **Note**: `small` and `large` values are deprecated.

const (
	WIDGETMARGIN_SM    WidgetMargin = "sm"
	WIDGETMARGIN_MD    WidgetMargin = "md"
	WIDGETMARGIN_LG    WidgetMargin = "lg"
	WIDGETMARGIN_SMALL WidgetMargin = "small"
	WIDGETMARGIN_LARGE WidgetMargin = "large"
)

List of WidgetMargin.

func NewWidgetMarginFromValue ¶

func NewWidgetMarginFromValue(v string) (*WidgetMargin, error)

NewWidgetMarginFromValue returns a pointer to a valid WidgetMargin for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetMargin) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetMargin) GetAllowedValues() []WidgetMargin

GetAllowedValues reeturns the list of possible values.

func (WidgetMargin) IsValid ¶

func (v WidgetMargin) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetMargin) Ptr ¶

func (v WidgetMargin) Ptr() *WidgetMargin

Ptr returns reference to WidgetMargin value.

func (*WidgetMargin) UnmarshalJSON ¶

func (v *WidgetMargin) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetMarker ¶

type WidgetMarker struct {
	// Combination of:
	//   - A severity error, warning, ok, or info
	//   - A line type: dashed, solid, or bold
	// In this case of a Distribution widget, this can be set to be `x_axis_percentile`.
	//
	DisplayType *string `json:"display_type,omitempty"`
	// Label to display over the marker.
	Label *string `json:"label,omitempty"`
	// Timestamp for the widget.
	Time *string `json:"time,omitempty"`
	// Value to apply. Can be a single value y = 15 or a range of values 0 < y < 10.
	Value string `json:"value"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetMarker Markers allow you to add visual conditional formatting for your graphs.

func NewWidgetMarker ¶

func NewWidgetMarker(value string) *WidgetMarker

NewWidgetMarker instantiates a new WidgetMarker 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 NewWidgetMarkerWithDefaults ¶

func NewWidgetMarkerWithDefaults() *WidgetMarker

NewWidgetMarkerWithDefaults instantiates a new WidgetMarker 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 (*WidgetMarker) GetDisplayType ¶

func (o *WidgetMarker) GetDisplayType() string

GetDisplayType returns the DisplayType field value if set, zero value otherwise.

func (*WidgetMarker) GetDisplayTypeOk ¶

func (o *WidgetMarker) GetDisplayTypeOk() (*string, bool)

GetDisplayTypeOk returns a tuple with the DisplayType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetMarker) GetLabel ¶

func (o *WidgetMarker) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*WidgetMarker) GetLabelOk ¶

func (o *WidgetMarker) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetMarker) GetTime ¶

func (o *WidgetMarker) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*WidgetMarker) GetTimeOk ¶

func (o *WidgetMarker) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetMarker) GetValue ¶

func (o *WidgetMarker) GetValue() string

GetValue returns the Value field value.

func (*WidgetMarker) GetValueOk ¶

func (o *WidgetMarker) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*WidgetMarker) HasDisplayType ¶

func (o *WidgetMarker) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*WidgetMarker) HasLabel ¶

func (o *WidgetMarker) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*WidgetMarker) HasTime ¶

func (o *WidgetMarker) HasTime() bool

HasTime returns a boolean if a field has been set.

func (WidgetMarker) MarshalJSON ¶

func (o WidgetMarker) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetMarker) SetDisplayType ¶

func (o *WidgetMarker) SetDisplayType(v string)

SetDisplayType gets a reference to the given string and assigns it to the DisplayType field.

func (*WidgetMarker) SetLabel ¶

func (o *WidgetMarker) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*WidgetMarker) SetTime ¶

func (o *WidgetMarker) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (*WidgetMarker) SetValue ¶

func (o *WidgetMarker) SetValue(v string)

SetValue sets field value.

func (*WidgetMarker) UnmarshalJSON ¶

func (o *WidgetMarker) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetMessageDisplay ¶

type WidgetMessageDisplay string

WidgetMessageDisplay Amount of log lines to display

const (
	WIDGETMESSAGEDISPLAY_INLINE          WidgetMessageDisplay = "inline"
	WIDGETMESSAGEDISPLAY_EXPANDED_MEDIUM WidgetMessageDisplay = "expanded-md"
	WIDGETMESSAGEDISPLAY_EXPANDED_LARGE  WidgetMessageDisplay = "expanded-lg"
)

List of WidgetMessageDisplay.

func NewWidgetMessageDisplayFromValue ¶

func NewWidgetMessageDisplayFromValue(v string) (*WidgetMessageDisplay, error)

NewWidgetMessageDisplayFromValue returns a pointer to a valid WidgetMessageDisplay for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetMessageDisplay) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetMessageDisplay) GetAllowedValues() []WidgetMessageDisplay

GetAllowedValues reeturns the list of possible values.

func (WidgetMessageDisplay) IsValid ¶

func (v WidgetMessageDisplay) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetMessageDisplay) Ptr ¶

Ptr returns reference to WidgetMessageDisplay value.

func (*WidgetMessageDisplay) UnmarshalJSON ¶

func (v *WidgetMessageDisplay) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetMonitorSummaryDisplayFormat ¶

type WidgetMonitorSummaryDisplayFormat string

WidgetMonitorSummaryDisplayFormat What to display on the widget.

const (
	WIDGETMONITORSUMMARYDISPLAYFORMAT_COUNTS          WidgetMonitorSummaryDisplayFormat = "counts"
	WIDGETMONITORSUMMARYDISPLAYFORMAT_COUNTS_AND_LIST WidgetMonitorSummaryDisplayFormat = "countsAndList"
	WIDGETMONITORSUMMARYDISPLAYFORMAT_LIST            WidgetMonitorSummaryDisplayFormat = "list"
)

List of WidgetMonitorSummaryDisplayFormat.

func NewWidgetMonitorSummaryDisplayFormatFromValue ¶

func NewWidgetMonitorSummaryDisplayFormatFromValue(v string) (*WidgetMonitorSummaryDisplayFormat, error)

NewWidgetMonitorSummaryDisplayFormatFromValue returns a pointer to a valid WidgetMonitorSummaryDisplayFormat for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetMonitorSummaryDisplayFormat) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (WidgetMonitorSummaryDisplayFormat) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetMonitorSummaryDisplayFormat) Ptr ¶

Ptr returns reference to WidgetMonitorSummaryDisplayFormat value.

func (*WidgetMonitorSummaryDisplayFormat) UnmarshalJSON ¶

func (v *WidgetMonitorSummaryDisplayFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetMonitorSummarySort ¶

type WidgetMonitorSummarySort string

WidgetMonitorSummarySort Widget sorting methods.

const (
	WIDGETMONITORSUMMARYSORT_NAME                 WidgetMonitorSummarySort = "name"
	WIDGETMONITORSUMMARYSORT_GROUP                WidgetMonitorSummarySort = "group"
	WIDGETMONITORSUMMARYSORT_STATUS               WidgetMonitorSummarySort = "status"
	WIDGETMONITORSUMMARYSORT_TAGS                 WidgetMonitorSummarySort = "tags"
	WIDGETMONITORSUMMARYSORT_TRIGGERED            WidgetMonitorSummarySort = "triggered"
	WIDGETMONITORSUMMARYSORT_GROUP_ASCENDING      WidgetMonitorSummarySort = "group,asc"
	WIDGETMONITORSUMMARYSORT_GROUP_DESCENDING     WidgetMonitorSummarySort = "group,desc"
	WIDGETMONITORSUMMARYSORT_NAME_ASCENDING       WidgetMonitorSummarySort = "name,asc"
	WIDGETMONITORSUMMARYSORT_NAME_DESCENDING      WidgetMonitorSummarySort = "name,desc"
	WIDGETMONITORSUMMARYSORT_STATUS_ASCENDING     WidgetMonitorSummarySort = "status,asc"
	WIDGETMONITORSUMMARYSORT_STATUS_DESCENDING    WidgetMonitorSummarySort = "status,desc"
	WIDGETMONITORSUMMARYSORT_TAGS_ASCENDING       WidgetMonitorSummarySort = "tags,asc"
	WIDGETMONITORSUMMARYSORT_TAGS_DESCENDING      WidgetMonitorSummarySort = "tags,desc"
	WIDGETMONITORSUMMARYSORT_TRIGGERED_ASCENDING  WidgetMonitorSummarySort = "triggered,asc"
	WIDGETMONITORSUMMARYSORT_TRIGGERED_DESCENDING WidgetMonitorSummarySort = "triggered,desc"
)

List of WidgetMonitorSummarySort.

func NewWidgetMonitorSummarySortFromValue ¶

func NewWidgetMonitorSummarySortFromValue(v string) (*WidgetMonitorSummarySort, error)

NewWidgetMonitorSummarySortFromValue returns a pointer to a valid WidgetMonitorSummarySort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetMonitorSummarySort) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetMonitorSummarySort) GetAllowedValues() []WidgetMonitorSummarySort

GetAllowedValues reeturns the list of possible values.

func (WidgetMonitorSummarySort) IsValid ¶

func (v WidgetMonitorSummarySort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetMonitorSummarySort) Ptr ¶

Ptr returns reference to WidgetMonitorSummarySort value.

func (*WidgetMonitorSummarySort) UnmarshalJSON ¶

func (v *WidgetMonitorSummarySort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetNodeType ¶

type WidgetNodeType string

WidgetNodeType Which type of node to use in the map.

const (
	WIDGETNODETYPE_HOST      WidgetNodeType = "host"
	WIDGETNODETYPE_CONTAINER WidgetNodeType = "container"
)

List of WidgetNodeType.

func NewWidgetNodeTypeFromValue ¶

func NewWidgetNodeTypeFromValue(v string) (*WidgetNodeType, error)

NewWidgetNodeTypeFromValue returns a pointer to a valid WidgetNodeType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetNodeType) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetNodeType) GetAllowedValues() []WidgetNodeType

GetAllowedValues reeturns the list of possible values.

func (WidgetNodeType) IsValid ¶

func (v WidgetNodeType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetNodeType) Ptr ¶

func (v WidgetNodeType) Ptr() *WidgetNodeType

Ptr returns reference to WidgetNodeType value.

func (*WidgetNodeType) UnmarshalJSON ¶

func (v *WidgetNodeType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetOrderBy ¶

type WidgetOrderBy string

WidgetOrderBy What to order by.

const (
	WIDGETORDERBY_CHANGE  WidgetOrderBy = "change"
	WIDGETORDERBY_NAME    WidgetOrderBy = "name"
	WIDGETORDERBY_PRESENT WidgetOrderBy = "present"
	WIDGETORDERBY_PAST    WidgetOrderBy = "past"
)

List of WidgetOrderBy.

func NewWidgetOrderByFromValue ¶

func NewWidgetOrderByFromValue(v string) (*WidgetOrderBy, error)

NewWidgetOrderByFromValue returns a pointer to a valid WidgetOrderBy for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetOrderBy) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetOrderBy) GetAllowedValues() []WidgetOrderBy

GetAllowedValues reeturns the list of possible values.

func (WidgetOrderBy) IsValid ¶

func (v WidgetOrderBy) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetOrderBy) Ptr ¶

func (v WidgetOrderBy) Ptr() *WidgetOrderBy

Ptr returns reference to WidgetOrderBy value.

func (*WidgetOrderBy) UnmarshalJSON ¶

func (v *WidgetOrderBy) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetPalette ¶

type WidgetPalette string

WidgetPalette Color palette to apply.

const (
	WIDGETPALETTE_BLUE                  WidgetPalette = "blue"
	WIDGETPALETTE_CUSTOM_BACKGROUND     WidgetPalette = "custom_bg"
	WIDGETPALETTE_CUSTOM_IMAGE          WidgetPalette = "custom_image"
	WIDGETPALETTE_CUSTOM_TEXT           WidgetPalette = "custom_text"
	WIDGETPALETTE_GRAY_ON_WHITE         WidgetPalette = "gray_on_white"
	WIDGETPALETTE_GREY                  WidgetPalette = "grey"
	WIDGETPALETTE_GREEN                 WidgetPalette = "green"
	WIDGETPALETTE_ORANGE                WidgetPalette = "orange"
	WIDGETPALETTE_RED                   WidgetPalette = "red"
	WIDGETPALETTE_RED_ON_WHITE          WidgetPalette = "red_on_white"
	WIDGETPALETTE_WHITE_ON_GRAY         WidgetPalette = "white_on_gray"
	WIDGETPALETTE_WHITE_ON_GREEN        WidgetPalette = "white_on_green"
	WIDGETPALETTE_GREEN_ON_WHITE        WidgetPalette = "green_on_white"
	WIDGETPALETTE_WHITE_ON_RED          WidgetPalette = "white_on_red"
	WIDGETPALETTE_WHITE_ON_YELLOW       WidgetPalette = "white_on_yellow"
	WIDGETPALETTE_YELLOW_ON_WHITE       WidgetPalette = "yellow_on_white"
	WIDGETPALETTE_BLACK_ON_LIGHT_YELLOW WidgetPalette = "black_on_light_yellow"
	WIDGETPALETTE_BLACK_ON_LIGHT_GREEN  WidgetPalette = "black_on_light_green"
	WIDGETPALETTE_BLACK_ON_LIGHT_RED    WidgetPalette = "black_on_light_red"
)

List of WidgetPalette.

func NewWidgetPaletteFromValue ¶

func NewWidgetPaletteFromValue(v string) (*WidgetPalette, error)

NewWidgetPaletteFromValue returns a pointer to a valid WidgetPalette for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetPalette) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetPalette) GetAllowedValues() []WidgetPalette

GetAllowedValues reeturns the list of possible values.

func (WidgetPalette) IsValid ¶

func (v WidgetPalette) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetPalette) Ptr ¶

func (v WidgetPalette) Ptr() *WidgetPalette

Ptr returns reference to WidgetPalette value.

func (*WidgetPalette) UnmarshalJSON ¶

func (v *WidgetPalette) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetRequestStyle ¶

type WidgetRequestStyle struct {
	// Type of lines displayed.
	LineType *WidgetLineType `json:"line_type,omitempty"`
	// Width of line displayed.
	LineWidth *WidgetLineWidth `json:"line_width,omitempty"`
	// Color palette to apply to the widget.
	Palette *string `json:"palette,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetRequestStyle Define request widget style.

func NewWidgetRequestStyle ¶

func NewWidgetRequestStyle() *WidgetRequestStyle

NewWidgetRequestStyle instantiates a new WidgetRequestStyle 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 NewWidgetRequestStyleWithDefaults ¶

func NewWidgetRequestStyleWithDefaults() *WidgetRequestStyle

NewWidgetRequestStyleWithDefaults instantiates a new WidgetRequestStyle 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 (*WidgetRequestStyle) GetLineType ¶

func (o *WidgetRequestStyle) GetLineType() WidgetLineType

GetLineType returns the LineType field value if set, zero value otherwise.

func (*WidgetRequestStyle) GetLineTypeOk ¶

func (o *WidgetRequestStyle) GetLineTypeOk() (*WidgetLineType, bool)

GetLineTypeOk returns a tuple with the LineType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetRequestStyle) GetLineWidth ¶

func (o *WidgetRequestStyle) GetLineWidth() WidgetLineWidth

GetLineWidth returns the LineWidth field value if set, zero value otherwise.

func (*WidgetRequestStyle) GetLineWidthOk ¶

func (o *WidgetRequestStyle) GetLineWidthOk() (*WidgetLineWidth, bool)

GetLineWidthOk returns a tuple with the LineWidth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetRequestStyle) GetPalette ¶

func (o *WidgetRequestStyle) GetPalette() string

GetPalette returns the Palette field value if set, zero value otherwise.

func (*WidgetRequestStyle) GetPaletteOk ¶

func (o *WidgetRequestStyle) GetPaletteOk() (*string, bool)

GetPaletteOk returns a tuple with the Palette field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetRequestStyle) HasLineType ¶

func (o *WidgetRequestStyle) HasLineType() bool

HasLineType returns a boolean if a field has been set.

func (*WidgetRequestStyle) HasLineWidth ¶

func (o *WidgetRequestStyle) HasLineWidth() bool

HasLineWidth returns a boolean if a field has been set.

func (*WidgetRequestStyle) HasPalette ¶

func (o *WidgetRequestStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (WidgetRequestStyle) MarshalJSON ¶

func (o WidgetRequestStyle) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetRequestStyle) SetLineType ¶

func (o *WidgetRequestStyle) SetLineType(v WidgetLineType)

SetLineType gets a reference to the given WidgetLineType and assigns it to the LineType field.

func (*WidgetRequestStyle) SetLineWidth ¶

func (o *WidgetRequestStyle) SetLineWidth(v WidgetLineWidth)

SetLineWidth gets a reference to the given WidgetLineWidth and assigns it to the LineWidth field.

func (*WidgetRequestStyle) SetPalette ¶

func (o *WidgetRequestStyle) SetPalette(v string)

SetPalette gets a reference to the given string and assigns it to the Palette field.

func (*WidgetRequestStyle) UnmarshalJSON ¶ added in v1.3.0

func (o *WidgetRequestStyle) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetServiceSummaryDisplayFormat ¶

type WidgetServiceSummaryDisplayFormat string

WidgetServiceSummaryDisplayFormat Number of columns to display.

const (
	WIDGETSERVICESUMMARYDISPLAYFORMAT_ONE_COLUMN   WidgetServiceSummaryDisplayFormat = "one_column"
	WIDGETSERVICESUMMARYDISPLAYFORMAT_TWO_COLUMN   WidgetServiceSummaryDisplayFormat = "two_column"
	WIDGETSERVICESUMMARYDISPLAYFORMAT_THREE_COLUMN WidgetServiceSummaryDisplayFormat = "three_column"
)

List of WidgetServiceSummaryDisplayFormat.

func NewWidgetServiceSummaryDisplayFormatFromValue ¶

func NewWidgetServiceSummaryDisplayFormatFromValue(v string) (*WidgetServiceSummaryDisplayFormat, error)

NewWidgetServiceSummaryDisplayFormatFromValue returns a pointer to a valid WidgetServiceSummaryDisplayFormat for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetServiceSummaryDisplayFormat) GetAllowedValues ¶ added in v1.1.0

GetAllowedValues reeturns the list of possible values.

func (WidgetServiceSummaryDisplayFormat) IsValid ¶

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetServiceSummaryDisplayFormat) Ptr ¶

Ptr returns reference to WidgetServiceSummaryDisplayFormat value.

func (*WidgetServiceSummaryDisplayFormat) UnmarshalJSON ¶

func (v *WidgetServiceSummaryDisplayFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetSizeFormat ¶

type WidgetSizeFormat string

WidgetSizeFormat Size of the widget.

const (
	WIDGETSIZEFORMAT_SMALL  WidgetSizeFormat = "small"
	WIDGETSIZEFORMAT_MEDIUM WidgetSizeFormat = "medium"
	WIDGETSIZEFORMAT_LARGE  WidgetSizeFormat = "large"
)

List of WidgetSizeFormat.

func NewWidgetSizeFormatFromValue ¶

func NewWidgetSizeFormatFromValue(v string) (*WidgetSizeFormat, error)

NewWidgetSizeFormatFromValue returns a pointer to a valid WidgetSizeFormat for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetSizeFormat) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetSizeFormat) GetAllowedValues() []WidgetSizeFormat

GetAllowedValues reeturns the list of possible values.

func (WidgetSizeFormat) IsValid ¶

func (v WidgetSizeFormat) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetSizeFormat) Ptr ¶

Ptr returns reference to WidgetSizeFormat value.

func (*WidgetSizeFormat) UnmarshalJSON ¶

func (v *WidgetSizeFormat) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetSort ¶

type WidgetSort string

WidgetSort Widget sorting methods.

const (
	WIDGETSORT_ASCENDING  WidgetSort = "asc"
	WIDGETSORT_DESCENDING WidgetSort = "desc"
)

List of WidgetSort.

func NewWidgetSortFromValue ¶

func NewWidgetSortFromValue(v string) (*WidgetSort, error)

NewWidgetSortFromValue returns a pointer to a valid WidgetSort for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetSort) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetSort) GetAllowedValues() []WidgetSort

GetAllowedValues reeturns the list of possible values.

func (WidgetSort) IsValid ¶

func (v WidgetSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetSort) Ptr ¶

func (v WidgetSort) Ptr() *WidgetSort

Ptr returns reference to WidgetSort value.

func (*WidgetSort) UnmarshalJSON ¶

func (v *WidgetSort) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetStyle ¶

type WidgetStyle struct {
	// Color palette to apply to the widget.
	Palette *string `json:"palette,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetStyle Widget style definition.

func NewWidgetStyle ¶

func NewWidgetStyle() *WidgetStyle

NewWidgetStyle instantiates a new WidgetStyle 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 NewWidgetStyleWithDefaults ¶

func NewWidgetStyleWithDefaults() *WidgetStyle

NewWidgetStyleWithDefaults instantiates a new WidgetStyle 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 (*WidgetStyle) GetPalette ¶

func (o *WidgetStyle) GetPalette() string

GetPalette returns the Palette field value if set, zero value otherwise.

func (*WidgetStyle) GetPaletteOk ¶

func (o *WidgetStyle) GetPaletteOk() (*string, bool)

GetPaletteOk returns a tuple with the Palette field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetStyle) HasPalette ¶

func (o *WidgetStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (WidgetStyle) MarshalJSON ¶

func (o WidgetStyle) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetStyle) SetPalette ¶

func (o *WidgetStyle) SetPalette(v string)

SetPalette gets a reference to the given string and assigns it to the Palette field.

func (*WidgetStyle) UnmarshalJSON ¶ added in v1.3.0

func (o *WidgetStyle) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetSummaryType ¶

type WidgetSummaryType string

WidgetSummaryType Which summary type should be used.

const (
	WIDGETSUMMARYTYPE_MONITORS WidgetSummaryType = "monitors"
	WIDGETSUMMARYTYPE_GROUPS   WidgetSummaryType = "groups"
	WIDGETSUMMARYTYPE_COMBINED WidgetSummaryType = "combined"
)

List of WidgetSummaryType.

func NewWidgetSummaryTypeFromValue ¶

func NewWidgetSummaryTypeFromValue(v string) (*WidgetSummaryType, error)

NewWidgetSummaryTypeFromValue returns a pointer to a valid WidgetSummaryType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetSummaryType) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetSummaryType) GetAllowedValues() []WidgetSummaryType

GetAllowedValues reeturns the list of possible values.

func (WidgetSummaryType) IsValid ¶

func (v WidgetSummaryType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetSummaryType) Ptr ¶

Ptr returns reference to WidgetSummaryType value.

func (*WidgetSummaryType) UnmarshalJSON ¶

func (v *WidgetSummaryType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetTextAlign ¶

type WidgetTextAlign string

WidgetTextAlign How to align the text on the widget.

const (
	WIDGETTEXTALIGN_CENTER WidgetTextAlign = "center"
	WIDGETTEXTALIGN_LEFT   WidgetTextAlign = "left"
	WIDGETTEXTALIGN_RIGHT  WidgetTextAlign = "right"
)

List of WidgetTextAlign.

func NewWidgetTextAlignFromValue ¶

func NewWidgetTextAlignFromValue(v string) (*WidgetTextAlign, error)

NewWidgetTextAlignFromValue returns a pointer to a valid WidgetTextAlign for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetTextAlign) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetTextAlign) GetAllowedValues() []WidgetTextAlign

GetAllowedValues reeturns the list of possible values.

func (WidgetTextAlign) IsValid ¶

func (v WidgetTextAlign) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetTextAlign) Ptr ¶

Ptr returns reference to WidgetTextAlign value.

func (*WidgetTextAlign) UnmarshalJSON ¶

func (v *WidgetTextAlign) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetTickEdge ¶

type WidgetTickEdge string

WidgetTickEdge Define how you want to align the text on the widget.

const (
	WIDGETTICKEDGE_BOTTOM WidgetTickEdge = "bottom"
	WIDGETTICKEDGE_LEFT   WidgetTickEdge = "left"
	WIDGETTICKEDGE_RIGHT  WidgetTickEdge = "right"
	WIDGETTICKEDGE_TOP    WidgetTickEdge = "top"
)

List of WidgetTickEdge.

func NewWidgetTickEdgeFromValue ¶

func NewWidgetTickEdgeFromValue(v string) (*WidgetTickEdge, error)

NewWidgetTickEdgeFromValue returns a pointer to a valid WidgetTickEdge for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetTickEdge) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetTickEdge) GetAllowedValues() []WidgetTickEdge

GetAllowedValues reeturns the list of possible values.

func (WidgetTickEdge) IsValid ¶

func (v WidgetTickEdge) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetTickEdge) Ptr ¶

func (v WidgetTickEdge) Ptr() *WidgetTickEdge

Ptr returns reference to WidgetTickEdge value.

func (*WidgetTickEdge) UnmarshalJSON ¶

func (v *WidgetTickEdge) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetTime ¶

type WidgetTime struct {
	// The available timeframes depend on the widget you are using.
	LiveSpan *WidgetLiveSpan `json:"live_span,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

WidgetTime Time setting for the widget.

func NewWidgetTime ¶

func NewWidgetTime() *WidgetTime

NewWidgetTime instantiates a new WidgetTime 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 NewWidgetTimeWithDefaults ¶

func NewWidgetTimeWithDefaults() *WidgetTime

NewWidgetTimeWithDefaults instantiates a new WidgetTime 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 (*WidgetTime) GetLiveSpan ¶

func (o *WidgetTime) GetLiveSpan() WidgetLiveSpan

GetLiveSpan returns the LiveSpan field value if set, zero value otherwise.

func (*WidgetTime) GetLiveSpanOk ¶

func (o *WidgetTime) GetLiveSpanOk() (*WidgetLiveSpan, bool)

GetLiveSpanOk returns a tuple with the LiveSpan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WidgetTime) HasLiveSpan ¶

func (o *WidgetTime) HasLiveSpan() bool

HasLiveSpan returns a boolean if a field has been set.

func (WidgetTime) MarshalJSON ¶

func (o WidgetTime) MarshalJSON() ([]byte, error)

MarshalJSON serializes the struct using spec logic.

func (*WidgetTime) SetLiveSpan ¶

func (o *WidgetTime) SetLiveSpan(v WidgetLiveSpan)

SetLiveSpan gets a reference to the given WidgetLiveSpan and assigns it to the LiveSpan field.

func (*WidgetTime) UnmarshalJSON ¶ added in v1.3.0

func (o *WidgetTime) UnmarshalJSON(bytes []byte) (err error)

UnmarshalJSON deserializes the given payload.

type WidgetTimeWindows ¶

type WidgetTimeWindows string

WidgetTimeWindows Define a time window.

const (
	WIDGETTIMEWINDOWS_SEVEN_DAYS     WidgetTimeWindows = "7d"
	WIDGETTIMEWINDOWS_THIRTY_DAYS    WidgetTimeWindows = "30d"
	WIDGETTIMEWINDOWS_NINETY_DAYS    WidgetTimeWindows = "90d"
	WIDGETTIMEWINDOWS_WEEK_TO_DATE   WidgetTimeWindows = "week_to_date"
	WIDGETTIMEWINDOWS_PREVIOUS_WEEK  WidgetTimeWindows = "previous_week"
	WIDGETTIMEWINDOWS_MONTH_TO_DATE  WidgetTimeWindows = "month_to_date"
	WIDGETTIMEWINDOWS_PREVIOUS_MONTH WidgetTimeWindows = "previous_month"
	WIDGETTIMEWINDOWS_GLOBAL_TIME    WidgetTimeWindows = "global_time"
)

List of WidgetTimeWindows.

func NewWidgetTimeWindowsFromValue ¶

func NewWidgetTimeWindowsFromValue(v string) (*WidgetTimeWindows, error)

NewWidgetTimeWindowsFromValue returns a pointer to a valid WidgetTimeWindows for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetTimeWindows) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetTimeWindows) GetAllowedValues() []WidgetTimeWindows

GetAllowedValues reeturns the list of possible values.

func (WidgetTimeWindows) IsValid ¶

func (v WidgetTimeWindows) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetTimeWindows) Ptr ¶

Ptr returns reference to WidgetTimeWindows value.

func (*WidgetTimeWindows) UnmarshalJSON ¶

func (v *WidgetTimeWindows) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetVerticalAlign ¶

type WidgetVerticalAlign string

WidgetVerticalAlign Vertical alignment.

const (
	WIDGETVERTICALALIGN_CENTER WidgetVerticalAlign = "center"
	WIDGETVERTICALALIGN_TOP    WidgetVerticalAlign = "top"
	WIDGETVERTICALALIGN_BOTTOM WidgetVerticalAlign = "bottom"
)

List of WidgetVerticalAlign.

func NewWidgetVerticalAlignFromValue ¶

func NewWidgetVerticalAlignFromValue(v string) (*WidgetVerticalAlign, error)

NewWidgetVerticalAlignFromValue returns a pointer to a valid WidgetVerticalAlign for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetVerticalAlign) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetVerticalAlign) GetAllowedValues() []WidgetVerticalAlign

GetAllowedValues reeturns the list of possible values.

func (WidgetVerticalAlign) IsValid ¶

func (v WidgetVerticalAlign) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetVerticalAlign) Ptr ¶

Ptr returns reference to WidgetVerticalAlign value.

func (*WidgetVerticalAlign) UnmarshalJSON ¶

func (v *WidgetVerticalAlign) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetViewMode ¶

type WidgetViewMode string

WidgetViewMode Define how you want the SLO to be displayed.

const (
	WIDGETVIEWMODE_OVERALL   WidgetViewMode = "overall"
	WIDGETVIEWMODE_COMPONENT WidgetViewMode = "component"
	WIDGETVIEWMODE_BOTH      WidgetViewMode = "both"
)

List of WidgetViewMode.

func NewWidgetViewModeFromValue ¶

func NewWidgetViewModeFromValue(v string) (*WidgetViewMode, error)

NewWidgetViewModeFromValue returns a pointer to a valid WidgetViewMode for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetViewMode) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetViewMode) GetAllowedValues() []WidgetViewMode

GetAllowedValues reeturns the list of possible values.

func (WidgetViewMode) IsValid ¶

func (v WidgetViewMode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetViewMode) Ptr ¶

func (v WidgetViewMode) Ptr() *WidgetViewMode

Ptr returns reference to WidgetViewMode value.

func (*WidgetViewMode) UnmarshalJSON ¶

func (v *WidgetViewMode) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

type WidgetVizType ¶

type WidgetVizType string

WidgetVizType Whether to display the Alert Graph as a timeseries or a top list.

const (
	WIDGETVIZTYPE_TIMESERIES WidgetVizType = "timeseries"
	WIDGETVIZTYPE_TOPLIST    WidgetVizType = "toplist"
)

List of WidgetVizType.

func NewWidgetVizTypeFromValue ¶

func NewWidgetVizTypeFromValue(v string) (*WidgetVizType, error)

NewWidgetVizTypeFromValue returns a pointer to a valid WidgetVizType for the value passed as argument, or an error if the value passed is not allowed by the enum.

func (*WidgetVizType) GetAllowedValues ¶ added in v1.1.0

func (v *WidgetVizType) GetAllowedValues() []WidgetVizType

GetAllowedValues reeturns the list of possible values.

func (WidgetVizType) IsValid ¶

func (v WidgetVizType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise.

func (WidgetVizType) Ptr ¶

func (v WidgetVizType) Ptr() *WidgetVizType

Ptr returns reference to WidgetVizType value.

func (*WidgetVizType) UnmarshalJSON ¶

func (v *WidgetVizType) UnmarshalJSON(src []byte) error

UnmarshalJSON deserializes the given payload.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL