cloudquery

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MPL-2.0 Imports: 23 Imported by: 0

README

Go API client for cloudquery

An API providing access to observation data using an AppDynamics domain-specific language.

The language is declarative, read-only (it does not allow for data modification) and specific to the AppD MELT model. It presents MELT data (metrics, events, logs, traces) and State in the scope of monitored topology.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import cloudquery "github.com/cisco-open/appd-cloud-go-client"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), cloudquery.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), cloudquery.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), cloudquery.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), cloudquery.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://customer1.observe.appdynamics.com/monitoring/v1

Class Method HTTP request Description
ExecuteQueryApi ExecuteQuery Post /query/execute Execute a query to fetch observation data.
ResultPaginationApi ResultPagination Get /query/continue Fetch the next page of results.

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	ExecuteQueryApi *ExecuteQueryApiService

	ResultPaginationApi *ResultPaginationApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the AppDynamics Cloud Query Service API API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *client.Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *client.Configuration

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

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiExecuteQueryRequest

type ApiExecuteQueryRequest struct {
	ApiService *ExecuteQueryApiService
	// contains filtered or unexported fields
}

func (ApiExecuteQueryRequest) Execute

func (ApiExecuteQueryRequest) QueryRequestBody

func (r ApiExecuteQueryRequest) QueryRequestBody(queryRequestBody QueryRequestBody) ApiExecuteQueryRequest

A simple JSON object containing a query string.

type ApiResultPaginationRequest

type ApiResultPaginationRequest struct {
	ApiService *ResultPaginationApiService
	// contains filtered or unexported fields
}

func (ApiResultPaginationRequest) Cursor

An opaque string which will allow the retrieval of the next page of results. The cursor is obtained from a previous query response.

func (ApiResultPaginationRequest) Execute

type ComplexModelResultItem

type ComplexModelResultItem struct {
	Alias *string `json:"alias,omitempty"`
	// Specifies a type of the complex value. Individual fields are described in the 'model'.
	Type  *string `json:"type,omitempty"`
	Hints *Hints  `json:"hints,omitempty"`
	// Describes where timeseries or complex objects are located in the response. Possible values are: inline, reference, link
	Form  *string `json:"form,omitempty"`
	Model *Model  `json:"model,omitempty"`
}

ComplexModelResultItem A description of a complex data type of a single fetched expression in the result.

func NewComplexModelResultItem

func NewComplexModelResultItem() *ComplexModelResultItem

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

func NewComplexModelResultItemWithDefaults

func NewComplexModelResultItemWithDefaults() *ComplexModelResultItem

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

func (*ComplexModelResultItem) GetAlias

func (o *ComplexModelResultItem) GetAlias() string

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

func (*ComplexModelResultItem) GetAliasOk

func (o *ComplexModelResultItem) 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 (*ComplexModelResultItem) GetForm

func (o *ComplexModelResultItem) GetForm() string

GetForm returns the Form field value if set, zero value otherwise.

func (*ComplexModelResultItem) GetFormOk

func (o *ComplexModelResultItem) GetFormOk() (*string, bool)

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

func (*ComplexModelResultItem) GetHints

func (o *ComplexModelResultItem) GetHints() Hints

GetHints returns the Hints field value if set, zero value otherwise.

func (*ComplexModelResultItem) GetHintsOk

func (o *ComplexModelResultItem) GetHintsOk() (*Hints, bool)

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

func (*ComplexModelResultItem) GetModel

func (o *ComplexModelResultItem) GetModel() Model

GetModel returns the Model field value if set, zero value otherwise.

func (*ComplexModelResultItem) GetModelOk

func (o *ComplexModelResultItem) GetModelOk() (*Model, bool)

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

func (*ComplexModelResultItem) GetType

func (o *ComplexModelResultItem) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ComplexModelResultItem) GetTypeOk

func (o *ComplexModelResultItem) 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 (*ComplexModelResultItem) HasAlias

func (o *ComplexModelResultItem) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*ComplexModelResultItem) HasForm

func (o *ComplexModelResultItem) HasForm() bool

HasForm returns a boolean if a field has been set.

func (*ComplexModelResultItem) HasHints

func (o *ComplexModelResultItem) HasHints() bool

HasHints returns a boolean if a field has been set.

func (*ComplexModelResultItem) HasModel

func (o *ComplexModelResultItem) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*ComplexModelResultItem) HasType

func (o *ComplexModelResultItem) HasType() bool

HasType returns a boolean if a field has been set.

func (ComplexModelResultItem) MarshalJSON

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

func (*ComplexModelResultItem) SetAlias

func (o *ComplexModelResultItem) SetAlias(v string)

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

func (*ComplexModelResultItem) SetForm

func (o *ComplexModelResultItem) SetForm(v string)

SetForm gets a reference to the given string and assigns it to the Form field.

func (*ComplexModelResultItem) SetHints

func (o *ComplexModelResultItem) SetHints(v Hints)

SetHints gets a reference to the given Hints and assigns it to the Hints field.

func (*ComplexModelResultItem) SetModel

func (o *ComplexModelResultItem) SetModel(v Model)

SetModel gets a reference to the given Model and assigns it to the Model field.

func (*ComplexModelResultItem) SetType

func (o *ComplexModelResultItem) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type DataResultChunk

type DataResultChunk struct {
	// Attribute identifying a response chunk holding data.
	Type  *string              `json:"type,omitempty"`
	Links *PaginationReference `json:"_links,omitempty"`
	// Name of the dataset. May be used as a reference in other datasets when returning multi dimensional data.
	Dataset  *string                 `json:"dataset,omitempty"`
	Model    *ModelReference         `json:"model,omitempty"`
	Metadata *MetadataResultItem     `json:"metadata,omitempty"`
	Data     [][]DataResultItemInner `json:"data,omitempty"`
}

DataResultChunk A part of the result data. There may be multiple chunks of this type in the response.

func NewDataResultChunk

func NewDataResultChunk() *DataResultChunk

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

func NewDataResultChunkWithDefaults

func NewDataResultChunkWithDefaults() *DataResultChunk

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

func (*DataResultChunk) GetData

func (o *DataResultChunk) GetData() [][]DataResultItemInner

GetData returns the Data field value if set, zero value otherwise.

func (*DataResultChunk) GetDataOk

func (o *DataResultChunk) GetDataOk() ([][]DataResultItemInner, 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 (*DataResultChunk) GetDataset

func (o *DataResultChunk) GetDataset() string

GetDataset returns the Dataset field value if set, zero value otherwise.

func (*DataResultChunk) GetDatasetOk

func (o *DataResultChunk) GetDatasetOk() (*string, bool)

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

func (o *DataResultChunk) GetLinks() PaginationReference

GetLinks returns the Links field value if set, zero value otherwise.

func (*DataResultChunk) GetLinksOk

func (o *DataResultChunk) GetLinksOk() (*PaginationReference, 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 (*DataResultChunk) GetMetadata

func (o *DataResultChunk) GetMetadata() MetadataResultItem

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*DataResultChunk) GetMetadataOk

func (o *DataResultChunk) GetMetadataOk() (*MetadataResultItem, 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 (*DataResultChunk) GetModel

func (o *DataResultChunk) GetModel() ModelReference

GetModel returns the Model field value if set, zero value otherwise.

func (*DataResultChunk) GetModelOk

func (o *DataResultChunk) GetModelOk() (*ModelReference, bool)

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

func (*DataResultChunk) GetType

func (o *DataResultChunk) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DataResultChunk) GetTypeOk

func (o *DataResultChunk) 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 (*DataResultChunk) HasData

func (o *DataResultChunk) HasData() bool

HasData returns a boolean if a field has been set.

func (*DataResultChunk) HasDataset

func (o *DataResultChunk) HasDataset() bool

HasDataset returns a boolean if a field has been set.

func (o *DataResultChunk) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*DataResultChunk) HasMetadata

func (o *DataResultChunk) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*DataResultChunk) HasModel

func (o *DataResultChunk) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*DataResultChunk) HasType

func (o *DataResultChunk) HasType() bool

HasType returns a boolean if a field has been set.

func (DataResultChunk) MarshalJSON

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

func (*DataResultChunk) SetData

func (o *DataResultChunk) SetData(v [][]DataResultItemInner)

SetData gets a reference to the given [][]DataResultItemInner and assigns it to the Data field.

func (*DataResultChunk) SetDataset

func (o *DataResultChunk) SetDataset(v string)

SetDataset gets a reference to the given string and assigns it to the Dataset field.

func (o *DataResultChunk) SetLinks(v PaginationReference)

SetLinks gets a reference to the given PaginationReference and assigns it to the Links field.

func (*DataResultChunk) SetMetadata

func (o *DataResultChunk) SetMetadata(v MetadataResultItem)

SetMetadata gets a reference to the given MetadataResultItem and assigns it to the Metadata field.

func (*DataResultChunk) SetModel

func (o *DataResultChunk) SetModel(v ModelReference)

SetModel gets a reference to the given ModelReference and assigns it to the Model field.

func (*DataResultChunk) SetType

func (o *DataResultChunk) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type DataResultItemInner

type DataResultItemInner struct {
	DatasetReference *DatasetReference
	// contains filtered or unexported fields
}

DataResultItemInner struct for DataResultItemInner

func (*DataResultItemInner) MarshalJSON

func (src *DataResultItemInner) MarshalJSON() ([]byte, error)

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

func (*DataResultItemInner) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type DatasetReference

type DatasetReference struct {
	// Unique name of the dataset.
	Dataset *string `json:"$dataset,omitempty"`
	// JSON Path that filters the correct dataset from the list of all datasets.
	JsonPath *string `json:"$jsonPath,omitempty"`
}

DatasetReference A reference to a specific dataset.

func NewDatasetReference

func NewDatasetReference() *DatasetReference

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

func NewDatasetReferenceWithDefaults

func NewDatasetReferenceWithDefaults() *DatasetReference

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

func (*DatasetReference) GetDataset

func (o *DatasetReference) GetDataset() string

GetDataset returns the Dataset field value if set, zero value otherwise.

func (*DatasetReference) GetDatasetOk

func (o *DatasetReference) GetDatasetOk() (*string, bool)

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

func (*DatasetReference) GetJsonPath

func (o *DatasetReference) GetJsonPath() string

GetJsonPath returns the JsonPath field value if set, zero value otherwise.

func (*DatasetReference) GetJsonPathOk

func (o *DatasetReference) 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 (*DatasetReference) HasDataset

func (o *DatasetReference) HasDataset() bool

HasDataset returns a boolean if a field has been set.

func (*DatasetReference) HasJsonPath

func (o *DatasetReference) HasJsonPath() bool

HasJsonPath returns a boolean if a field has been set.

func (DatasetReference) MarshalJSON

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

func (*DatasetReference) SetDataset

func (o *DatasetReference) SetDataset(v string)

SetDataset gets a reference to the given string and assigns it to the Dataset field.

func (*DatasetReference) SetJsonPath

func (o *DatasetReference) SetJsonPath(v string)

SetJsonPath gets a reference to the given string and assigns it to the JsonPath field.

type ErrorDetailItem

type ErrorDetailItem struct {
	// A short description on error cause.
	Message string `json:"message"`
	// A hint to resolve the error.
	FixSuggestion *string `json:"fixSuggestion,omitempty"`
	// A list of fix possibilities to resolve the error.
	FixPossibilities []ErrorDetailItemFixPossibilitiesInner `json:"fixPossibilities"`
	// The type of the error.
	ErrorType string `json:"errorType"`
	// The start position of the error in format 'lineNum:charIdx'.
	ErrorFrom string `json:"errorFrom"`
	// The end position of the error in format 'lineNum:charIdx'.
	ErrorTo string `json:"errorTo"`
}

ErrorDetailItem A detailed description of the error.

func NewErrorDetailItem

func NewErrorDetailItem(message string, fixPossibilities []ErrorDetailItemFixPossibilitiesInner, errorType string, errorFrom string, errorTo string) *ErrorDetailItem

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

func NewErrorDetailItemWithDefaults

func NewErrorDetailItemWithDefaults() *ErrorDetailItem

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

func (*ErrorDetailItem) GetErrorFrom

func (o *ErrorDetailItem) GetErrorFrom() string

GetErrorFrom returns the ErrorFrom field value

func (*ErrorDetailItem) GetErrorFromOk

func (o *ErrorDetailItem) GetErrorFromOk() (*string, bool)

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

func (*ErrorDetailItem) GetErrorTo

func (o *ErrorDetailItem) GetErrorTo() string

GetErrorTo returns the ErrorTo field value

func (*ErrorDetailItem) GetErrorToOk

func (o *ErrorDetailItem) GetErrorToOk() (*string, bool)

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

func (*ErrorDetailItem) GetErrorType

func (o *ErrorDetailItem) GetErrorType() string

GetErrorType returns the ErrorType field value

func (*ErrorDetailItem) GetErrorTypeOk

func (o *ErrorDetailItem) GetErrorTypeOk() (*string, bool)

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

func (*ErrorDetailItem) GetFixPossibilities

func (o *ErrorDetailItem) GetFixPossibilities() []ErrorDetailItemFixPossibilitiesInner

GetFixPossibilities returns the FixPossibilities field value

func (*ErrorDetailItem) GetFixPossibilitiesOk

func (o *ErrorDetailItem) GetFixPossibilitiesOk() ([]ErrorDetailItemFixPossibilitiesInner, bool)

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

func (*ErrorDetailItem) GetFixSuggestion

func (o *ErrorDetailItem) GetFixSuggestion() string

GetFixSuggestion returns the FixSuggestion field value if set, zero value otherwise.

func (*ErrorDetailItem) GetFixSuggestionOk

func (o *ErrorDetailItem) GetFixSuggestionOk() (*string, bool)

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

func (*ErrorDetailItem) GetMessage

func (o *ErrorDetailItem) GetMessage() string

GetMessage returns the Message field value

func (*ErrorDetailItem) GetMessageOk

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

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

func (*ErrorDetailItem) HasFixSuggestion

func (o *ErrorDetailItem) HasFixSuggestion() bool

HasFixSuggestion returns a boolean if a field has been set.

func (ErrorDetailItem) MarshalJSON

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

func (*ErrorDetailItem) SetErrorFrom

func (o *ErrorDetailItem) SetErrorFrom(v string)

SetErrorFrom sets field value

func (*ErrorDetailItem) SetErrorTo

func (o *ErrorDetailItem) SetErrorTo(v string)

SetErrorTo sets field value

func (*ErrorDetailItem) SetErrorType

func (o *ErrorDetailItem) SetErrorType(v string)

SetErrorType sets field value

func (*ErrorDetailItem) SetFixPossibilities

func (o *ErrorDetailItem) SetFixPossibilities(v []ErrorDetailItemFixPossibilitiesInner)

SetFixPossibilities sets field value

func (*ErrorDetailItem) SetFixSuggestion

func (o *ErrorDetailItem) SetFixSuggestion(v string)

SetFixSuggestion gets a reference to the given string and assigns it to the FixSuggestion field.

func (*ErrorDetailItem) SetMessage

func (o *ErrorDetailItem) SetMessage(v string)

SetMessage sets field value

type ErrorDetailItemFixPossibilitiesInner

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

ErrorDetailItemFixPossibilitiesInner struct for ErrorDetailItemFixPossibilitiesInner

func (*ErrorDetailItemFixPossibilitiesInner) MarshalJSON

func (src *ErrorDetailItemFixPossibilitiesInner) MarshalJSON() ([]byte, error)

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

func (*ErrorDetailItemFixPossibilitiesInner) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ErrorDetailsArrayInner

type ErrorDetailsArrayInner struct {
	ErrorDetailItem *ErrorDetailItem
}

ErrorDetailsArrayInner struct for ErrorDetailsArrayInner

func (*ErrorDetailsArrayInner) MarshalJSON

func (src *ErrorDetailsArrayInner) MarshalJSON() ([]byte, error)

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

func (*ErrorDetailsArrayInner) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ErrorResult

type ErrorResult struct {
	// URI to the documentation of the error.
	Type string `json:"type"`
	// The code of a error.
	ErrorCode *string `json:"errorCode,omitempty"`
	// Time and date the error occurred.
	Timestamp time.Time `json:"timestamp"`
	// Id to correlate events and logs across dependent services for a single query.
	TraceId string `json:"traceId"`
	// Brief description of the error.
	Title string `json:"title"`
	// Usually a more detailed description of the error.
	Detail string `json:"detail"`
	// The id of a tenant for which the query was executed.
	TenantId string `json:"tenantId"`
	// The input query.
	Query string `json:"query"`
	// An array containing the details of an error.
	ErrorDetails []ErrorDetailsArrayInner `json:"errorDetails,omitempty"`
}

ErrorResult A representation of an error that occurred during query execution. It contains at least brief a description of the error and contextual information of the corresponding request.

func NewErrorResult

func NewErrorResult(type_ string, timestamp time.Time, traceId string, title string, detail string, tenantId string, query string) *ErrorResult

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

func NewErrorResultWithDefaults

func NewErrorResultWithDefaults() *ErrorResult

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

func (*ErrorResult) GetDetail

func (o *ErrorResult) GetDetail() string

GetDetail returns the Detail field value

func (*ErrorResult) GetDetailOk

func (o *ErrorResult) GetDetailOk() (*string, bool)

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

func (*ErrorResult) GetErrorCode

func (o *ErrorResult) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorResult) GetErrorCodeOk

func (o *ErrorResult) GetErrorCodeOk() (*string, bool)

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

func (*ErrorResult) GetErrorDetails

func (o *ErrorResult) GetErrorDetails() []ErrorDetailsArrayInner

GetErrorDetails returns the ErrorDetails field value if set, zero value otherwise.

func (*ErrorResult) GetErrorDetailsOk

func (o *ErrorResult) GetErrorDetailsOk() ([]ErrorDetailsArrayInner, bool)

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

func (*ErrorResult) GetQuery

func (o *ErrorResult) GetQuery() string

GetQuery returns the Query field value

func (*ErrorResult) GetQueryOk

func (o *ErrorResult) GetQueryOk() (*string, bool)

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

func (*ErrorResult) GetTenantId

func (o *ErrorResult) GetTenantId() string

GetTenantId returns the TenantId field value

func (*ErrorResult) GetTenantIdOk

func (o *ErrorResult) GetTenantIdOk() (*string, bool)

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

func (*ErrorResult) GetTimestamp

func (o *ErrorResult) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*ErrorResult) GetTimestampOk

func (o *ErrorResult) GetTimestampOk() (*time.Time, bool)

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

func (*ErrorResult) GetTitle

func (o *ErrorResult) GetTitle() string

GetTitle returns the Title field value

func (*ErrorResult) GetTitleOk

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

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

func (*ErrorResult) GetTraceId

func (o *ErrorResult) GetTraceId() string

GetTraceId returns the TraceId field value

func (*ErrorResult) GetTraceIdOk

func (o *ErrorResult) GetTraceIdOk() (*string, bool)

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

func (*ErrorResult) GetType

func (o *ErrorResult) GetType() string

GetType returns the Type field value

func (*ErrorResult) GetTypeOk

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

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

func (*ErrorResult) HasErrorCode

func (o *ErrorResult) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorResult) HasErrorDetails

func (o *ErrorResult) HasErrorDetails() bool

HasErrorDetails returns a boolean if a field has been set.

func (ErrorResult) MarshalJSON

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

func (*ErrorResult) SetDetail

func (o *ErrorResult) SetDetail(v string)

SetDetail sets field value

func (*ErrorResult) SetErrorCode

func (o *ErrorResult) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorResult) SetErrorDetails

func (o *ErrorResult) SetErrorDetails(v []ErrorDetailsArrayInner)

SetErrorDetails gets a reference to the given []ErrorDetailsArrayInner and assigns it to the ErrorDetails field.

func (*ErrorResult) SetQuery

func (o *ErrorResult) SetQuery(v string)

SetQuery sets field value

func (*ErrorResult) SetTenantId

func (o *ErrorResult) SetTenantId(v string)

SetTenantId sets field value

func (*ErrorResult) SetTimestamp

func (o *ErrorResult) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*ErrorResult) SetTitle

func (o *ErrorResult) SetTitle(v string)

SetTitle sets field value

func (*ErrorResult) SetTraceId

func (o *ErrorResult) SetTraceId(v string)

SetTraceId sets field value

func (*ErrorResult) SetType

func (o *ErrorResult) SetType(v string)

SetType sets field value

type ErrorResultChunk

type ErrorResultChunk struct {
	// Attribute identifying a response chunk as holding information of an error.
	Type  *string                `json:"type,omitempty"`
	Error *ErrorResultChunkError `json:"error,omitempty"`
}

ErrorResultChunk A signal that an error occurred during query execution.

func NewErrorResultChunk

func NewErrorResultChunk() *ErrorResultChunk

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

func NewErrorResultChunkWithDefaults

func NewErrorResultChunkWithDefaults() *ErrorResultChunk

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

func (*ErrorResultChunk) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorResultChunk) GetErrorOk

func (o *ErrorResultChunk) GetErrorOk() (*ErrorResultChunkError, 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 (*ErrorResultChunk) GetType

func (o *ErrorResultChunk) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ErrorResultChunk) GetTypeOk

func (o *ErrorResultChunk) 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 (*ErrorResultChunk) HasError

func (o *ErrorResultChunk) HasError() bool

HasError returns a boolean if a field has been set.

func (*ErrorResultChunk) HasType

func (o *ErrorResultChunk) HasType() bool

HasType returns a boolean if a field has been set.

func (ErrorResultChunk) MarshalJSON

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

func (*ErrorResultChunk) SetError

func (o *ErrorResultChunk) SetError(v ErrorResultChunkError)

SetError gets a reference to the given ErrorResultChunkError and assigns it to the Error field.

func (*ErrorResultChunk) SetType

func (o *ErrorResultChunk) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ErrorResultChunkError

type ErrorResultChunkError struct {
	// URI to the documentation of the error.
	Type *string `json:"type,omitempty"`
	// The code of the error.
	ErrorCode *string `json:"errorCode,omitempty"`
	// Time and date the `ErrorResultChunk` was created.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// It correlates events and logs messages across dependent services for single business transaction.
	TraceId *string `json:"traceId,omitempty"`
	// Brief description of the error.
	Title *string `json:"title,omitempty"`
	// Usually more detailed description of the error.
	Detail *string `json:"detail,omitempty"`
	// The input query.
	Query *string `json:"query,omitempty"`
}

ErrorResultChunkError struct for ErrorResultChunkError

func NewErrorResultChunkError

func NewErrorResultChunkError() *ErrorResultChunkError

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

func NewErrorResultChunkErrorWithDefaults

func NewErrorResultChunkErrorWithDefaults() *ErrorResultChunkError

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

func (*ErrorResultChunkError) GetDetail

func (o *ErrorResultChunkError) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ErrorResultChunkError) GetDetailOk

func (o *ErrorResultChunkError) GetDetailOk() (*string, bool)

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

func (*ErrorResultChunkError) GetErrorCode

func (o *ErrorResultChunkError) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorResultChunkError) GetErrorCodeOk

func (o *ErrorResultChunkError) GetErrorCodeOk() (*string, bool)

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

func (*ErrorResultChunkError) GetQuery

func (o *ErrorResultChunkError) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*ErrorResultChunkError) GetQueryOk

func (o *ErrorResultChunkError) 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 (*ErrorResultChunkError) GetTimestamp

func (o *ErrorResultChunkError) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ErrorResultChunkError) GetTimestampOk

func (o *ErrorResultChunkError) 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 (*ErrorResultChunkError) GetTitle

func (o *ErrorResultChunkError) GetTitle() string

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

func (*ErrorResultChunkError) GetTitleOk

func (o *ErrorResultChunkError) 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 (*ErrorResultChunkError) GetTraceId

func (o *ErrorResultChunkError) GetTraceId() string

GetTraceId returns the TraceId field value if set, zero value otherwise.

func (*ErrorResultChunkError) GetTraceIdOk

func (o *ErrorResultChunkError) GetTraceIdOk() (*string, bool)

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

func (*ErrorResultChunkError) GetType

func (o *ErrorResultChunkError) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ErrorResultChunkError) GetTypeOk

func (o *ErrorResultChunkError) 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 (*ErrorResultChunkError) HasDetail

func (o *ErrorResultChunkError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ErrorResultChunkError) HasErrorCode

func (o *ErrorResultChunkError) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorResultChunkError) HasQuery

func (o *ErrorResultChunkError) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ErrorResultChunkError) HasTimestamp

func (o *ErrorResultChunkError) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*ErrorResultChunkError) HasTitle

func (o *ErrorResultChunkError) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ErrorResultChunkError) HasTraceId

func (o *ErrorResultChunkError) HasTraceId() bool

HasTraceId returns a boolean if a field has been set.

func (*ErrorResultChunkError) HasType

func (o *ErrorResultChunkError) HasType() bool

HasType returns a boolean if a field has been set.

func (ErrorResultChunkError) MarshalJSON

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

func (*ErrorResultChunkError) SetDetail

func (o *ErrorResultChunkError) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*ErrorResultChunkError) SetErrorCode

func (o *ErrorResultChunkError) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorResultChunkError) SetQuery

func (o *ErrorResultChunkError) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*ErrorResultChunkError) SetTimestamp

func (o *ErrorResultChunkError) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*ErrorResultChunkError) SetTitle

func (o *ErrorResultChunkError) SetTitle(v string)

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

func (*ErrorResultChunkError) SetTraceId

func (o *ErrorResultChunkError) SetTraceId(v string)

SetTraceId gets a reference to the given string and assigns it to the TraceId field.

func (*ErrorResultChunkError) SetType

func (o *ErrorResultChunkError) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type EventMetadataResultItem

type EventMetadataResultItem struct {
	// Arbitrary map of keys and values associated with the event data.
	Schema map[string]interface{} `json:"schema,omitempty"`
	// Arbitrary map of statistics associated with the event data.
	Statistics map[string]interface{} `json:"statistics,omitempty"`
}

EventMetadataResultItem Metadata for an event data chunk.

func NewEventMetadataResultItem

func NewEventMetadataResultItem() *EventMetadataResultItem

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

func NewEventMetadataResultItemWithDefaults

func NewEventMetadataResultItemWithDefaults() *EventMetadataResultItem

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

func (*EventMetadataResultItem) GetSchema

func (o *EventMetadataResultItem) GetSchema() map[string]interface{}

GetSchema returns the Schema field value if set, zero value otherwise.

func (*EventMetadataResultItem) GetSchemaOk

func (o *EventMetadataResultItem) GetSchemaOk() (map[string]interface{}, bool)

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

func (*EventMetadataResultItem) GetStatistics

func (o *EventMetadataResultItem) GetStatistics() map[string]interface{}

GetStatistics returns the Statistics field value if set, zero value otherwise.

func (*EventMetadataResultItem) GetStatisticsOk

func (o *EventMetadataResultItem) GetStatisticsOk() (map[string]interface{}, bool)

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

func (*EventMetadataResultItem) HasSchema

func (o *EventMetadataResultItem) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (*EventMetadataResultItem) HasStatistics

func (o *EventMetadataResultItem) HasStatistics() bool

HasStatistics returns a boolean if a field has been set.

func (EventMetadataResultItem) MarshalJSON

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

func (*EventMetadataResultItem) SetSchema

func (o *EventMetadataResultItem) SetSchema(v map[string]interface{})

SetSchema gets a reference to the given map[string]interface{} and assigns it to the Schema field.

func (*EventMetadataResultItem) SetStatistics

func (o *EventMetadataResultItem) SetStatistics(v map[string]interface{})

SetStatistics gets a reference to the given map[string]interface{} and assigns it to the Statistics field.

type ExecuteQuery200Response

type ExecuteQuery200Response struct {
	DataResultChunk      *DataResultChunk
	ErrorResultChunk     *ErrorResultChunk
	HeartbeatResultChunk *HeartbeatResultChunk
	ModelResultChunk     *ModelResultChunk
}

ExecuteQuery200Response struct for ExecuteQuery200Response

func (*ExecuteQuery200Response) MarshalJSON

func (src *ExecuteQuery200Response) MarshalJSON() ([]byte, error)

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

func (*ExecuteQuery200Response) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ExecuteQueryApiService

type ExecuteQueryApiService service

ExecuteQueryApiService ExecuteQueryApi service

func (*ExecuteQueryApiService) ExecuteQuery

ExecuteQuery Execute a query to fetch observation data.

Execute a query to fetch observation data.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiExecuteQueryRequest

func (*ExecuteQueryApiService) ExecuteQueryExecute

Execute executes the request

@return []QueryResponseArrayBodyInner

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 HeartbeatResultChunk

type HeartbeatResultChunk struct {
	// Attribute identifying a response chunk as a heartbeat.
	Type *string `json:"type,omitempty"`
}

HeartbeatResultChunk An empty chunk sent to prevent the HTTP connection from being pre-maturely closed.

func NewHeartbeatResultChunk

func NewHeartbeatResultChunk() *HeartbeatResultChunk

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

func NewHeartbeatResultChunkWithDefaults

func NewHeartbeatResultChunkWithDefaults() *HeartbeatResultChunk

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

func (*HeartbeatResultChunk) GetType

func (o *HeartbeatResultChunk) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*HeartbeatResultChunk) GetTypeOk

func (o *HeartbeatResultChunk) 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 (*HeartbeatResultChunk) HasType

func (o *HeartbeatResultChunk) HasType() bool

HasType returns a boolean if a field has been set.

func (HeartbeatResultChunk) MarshalJSON

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

func (*HeartbeatResultChunk) SetType

func (o *HeartbeatResultChunk) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type Hints

type Hints struct {
	// Type of observed component from AppD MELT Model. Optional, if applicable
	Kind *string `json:"kind,omitempty"`
	// Name of the MELT model property mentioned in the 'kind' hint. See AppD MELT Model  Optional, if applicable (for example not for expression)
	Field *string `json:"field,omitempty"`
	// Full name with namespace of the type.
	Type *string `json:"type,omitempty"`
}

Hints Additional information about a single fetched expression from the query.

func NewHints

func NewHints() *Hints

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

func NewHintsWithDefaults

func NewHintsWithDefaults() *Hints

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

func (*Hints) GetField

func (o *Hints) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*Hints) GetFieldOk

func (o *Hints) 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 (*Hints) GetKind

func (o *Hints) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Hints) GetKindOk

func (o *Hints) GetKindOk() (*string, bool)

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

func (*Hints) GetType

func (o *Hints) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Hints) GetTypeOk

func (o *Hints) 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 (*Hints) HasField

func (o *Hints) HasField() bool

HasField returns a boolean if a field has been set.

func (*Hints) HasKind

func (o *Hints) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Hints) HasType

func (o *Hints) HasType() bool

HasType returns a boolean if a field has been set.

func (Hints) MarshalJSON

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

func (*Hints) SetField

func (o *Hints) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*Hints) SetKind

func (o *Hints) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Hints) SetType

func (o *Hints) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type MainMetadataResultItem

type MainMetadataResultItem struct {
	// Specifies the start of the time range which was used for querying.
	Since *time.Time `json:"since,omitempty"`
	// Specifies the end of the time range which was used for querying.
	Until *time.Time `json:"until,omitempty"`
}

MainMetadataResultItem Metadata for the main data chunk.

func NewMainMetadataResultItem

func NewMainMetadataResultItem() *MainMetadataResultItem

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

func NewMainMetadataResultItemWithDefaults

func NewMainMetadataResultItemWithDefaults() *MainMetadataResultItem

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

func (*MainMetadataResultItem) GetSince

func (o *MainMetadataResultItem) GetSince() time.Time

GetSince returns the Since field value if set, zero value otherwise.

func (*MainMetadataResultItem) GetSinceOk

func (o *MainMetadataResultItem) GetSinceOk() (*time.Time, bool)

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

func (*MainMetadataResultItem) GetUntil

func (o *MainMetadataResultItem) GetUntil() time.Time

GetUntil returns the Until field value if set, zero value otherwise.

func (*MainMetadataResultItem) GetUntilOk

func (o *MainMetadataResultItem) GetUntilOk() (*time.Time, bool)

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

func (*MainMetadataResultItem) HasSince

func (o *MainMetadataResultItem) HasSince() bool

HasSince returns a boolean if a field has been set.

func (*MainMetadataResultItem) HasUntil

func (o *MainMetadataResultItem) HasUntil() bool

HasUntil returns a boolean if a field has been set.

func (MainMetadataResultItem) MarshalJSON

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

func (*MainMetadataResultItem) SetSince

func (o *MainMetadataResultItem) SetSince(v time.Time)

SetSince gets a reference to the given time.Time and assigns it to the Since field.

func (*MainMetadataResultItem) SetUntil

func (o *MainMetadataResultItem) SetUntil(v time.Time)

SetUntil gets a reference to the given time.Time and assigns it to the Until field.

type MetadataResultItem

type MetadataResultItem struct {
	EventMetadataResultItem  *EventMetadataResultItem
	MainMetadataResultItem   *MainMetadataResultItem
	MetricMetadataResultItem *MetricMetadataResultItem
}

MetadataResultItem Additional information collected for the data contained in the data chunk.

func (*MetadataResultItem) MarshalJSON

func (src *MetadataResultItem) MarshalJSON() ([]byte, error)

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

func (*MetadataResultItem) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type MetricMetadataResultItem

type MetricMetadataResultItem struct {
	// Actual granularity of metric data points. The value is the length of the time interval of a single data point.
	GranularitySeconds *float32 `json:"granularitySeconds,omitempty"`
}

MetricMetadataResultItem Metadata for a metric data chunk.

func NewMetricMetadataResultItem

func NewMetricMetadataResultItem() *MetricMetadataResultItem

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

func NewMetricMetadataResultItemWithDefaults

func NewMetricMetadataResultItemWithDefaults() *MetricMetadataResultItem

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

func (*MetricMetadataResultItem) GetGranularitySeconds

func (o *MetricMetadataResultItem) GetGranularitySeconds() float32

GetGranularitySeconds returns the GranularitySeconds field value if set, zero value otherwise.

func (*MetricMetadataResultItem) GetGranularitySecondsOk

func (o *MetricMetadataResultItem) GetGranularitySecondsOk() (*float32, bool)

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

func (*MetricMetadataResultItem) HasGranularitySeconds

func (o *MetricMetadataResultItem) HasGranularitySeconds() bool

HasGranularitySeconds returns a boolean if a field has been set.

func (MetricMetadataResultItem) MarshalJSON

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

func (*MetricMetadataResultItem) SetGranularitySeconds

func (o *MetricMetadataResultItem) SetGranularitySeconds(v float32)

SetGranularitySeconds gets a reference to the given float32 and assigns it to the GranularitySeconds field.

type Model

type Model struct {
	// This name will be used by the following DataResultChunks as a reference to the description of their structure.
	Name *string `json:"name,omitempty"`
	// An array of type descriptors for each fetched expression in the query. The order of the array matches the order of values in the DataResultChunks with this schema model.'
	Fields []ModelFieldsInner `json:"fields,omitempty"`
}

Model A description of the schema of the data to follow in the DataResultChunks.

func NewModel

func NewModel() *Model

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

func NewModelWithDefaults

func NewModelWithDefaults() *Model

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

func (*Model) GetFields

func (o *Model) GetFields() []ModelFieldsInner

GetFields returns the Fields field value if set, zero value otherwise.

func (*Model) GetFieldsOk

func (o *Model) GetFieldsOk() ([]ModelFieldsInner, bool)

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

func (*Model) GetName

func (o *Model) GetName() string

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

func (*Model) GetNameOk

func (o *Model) 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 (*Model) HasFields

func (o *Model) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*Model) HasName

func (o *Model) HasName() bool

HasName returns a boolean if a field has been set.

func (Model) MarshalJSON

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

func (*Model) SetFields

func (o *Model) SetFields(v []ModelFieldsInner)

SetFields gets a reference to the given []ModelFieldsInner and assigns it to the Fields field.

func (*Model) SetName

func (o *Model) SetName(v string)

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

type ModelFieldsInner

type ModelFieldsInner struct {
	ComplexModelResultItem *ComplexModelResultItem
	ModelResultItem        *ModelResultItem
}

ModelFieldsInner struct for ModelFieldsInner

func (*ModelFieldsInner) MarshalJSON

func (src *ModelFieldsInner) MarshalJSON() ([]byte, error)

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

func (*ModelFieldsInner) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ModelReference

type ModelReference struct {
	// A unique model name.
	Model *string `json:"$model,omitempty"`
	// JSON Path that filters the correct model from the ModelResultChunk.
	JsonPath *string `json:"$jsonPath,omitempty"`
}

ModelReference A reference to a specific model.

func NewModelReference

func NewModelReference() *ModelReference

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

func NewModelReferenceWithDefaults

func NewModelReferenceWithDefaults() *ModelReference

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

func (*ModelReference) GetJsonPath

func (o *ModelReference) GetJsonPath() string

GetJsonPath returns the JsonPath field value if set, zero value otherwise.

func (*ModelReference) GetJsonPathOk

func (o *ModelReference) 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 (*ModelReference) GetModel

func (o *ModelReference) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*ModelReference) GetModelOk

func (o *ModelReference) GetModelOk() (*string, bool)

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

func (*ModelReference) HasJsonPath

func (o *ModelReference) HasJsonPath() bool

HasJsonPath returns a boolean if a field has been set.

func (*ModelReference) HasModel

func (o *ModelReference) HasModel() bool

HasModel returns a boolean if a field has been set.

func (ModelReference) MarshalJSON

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

func (*ModelReference) SetJsonPath

func (o *ModelReference) SetJsonPath(v string)

SetJsonPath gets a reference to the given string and assigns it to the JsonPath field.

func (*ModelReference) SetModel

func (o *ModelReference) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

type ModelResultChunk

type ModelResultChunk struct {
	// Attribute identifying a response chunk as holding the response model.
	Type  *string `json:"type,omitempty"`
	Model *Model  `json:"model,omitempty"`
}

ModelResultChunk A schema of the data to follow. This object can only be at the first position in the response.

func NewModelResultChunk

func NewModelResultChunk() *ModelResultChunk

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

func NewModelResultChunkWithDefaults

func NewModelResultChunkWithDefaults() *ModelResultChunk

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

func (*ModelResultChunk) GetModel

func (o *ModelResultChunk) GetModel() Model

GetModel returns the Model field value if set, zero value otherwise.

func (*ModelResultChunk) GetModelOk

func (o *ModelResultChunk) GetModelOk() (*Model, bool)

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

func (*ModelResultChunk) GetType

func (o *ModelResultChunk) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ModelResultChunk) GetTypeOk

func (o *ModelResultChunk) 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 (*ModelResultChunk) HasModel

func (o *ModelResultChunk) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*ModelResultChunk) HasType

func (o *ModelResultChunk) HasType() bool

HasType returns a boolean if a field has been set.

func (ModelResultChunk) MarshalJSON

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

func (*ModelResultChunk) SetModel

func (o *ModelResultChunk) SetModel(v Model)

SetModel gets a reference to the given Model and assigns it to the Model field.

func (*ModelResultChunk) SetType

func (o *ModelResultChunk) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type ModelResultItem

type ModelResultItem struct {
	Alias *string `json:"alias,omitempty"`
	// Specifies a type of the value in the JSON response.
	Type  *string `json:"type,omitempty"`
	Hints *Hints  `json:"hints,omitempty"`
}

ModelResultItem A description of a simple data type of a single fetched expression in the result.

func NewModelResultItem

func NewModelResultItem() *ModelResultItem

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

func NewModelResultItemWithDefaults

func NewModelResultItemWithDefaults() *ModelResultItem

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

func (*ModelResultItem) GetAlias

func (o *ModelResultItem) GetAlias() string

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

func (*ModelResultItem) GetAliasOk

func (o *ModelResultItem) 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 (*ModelResultItem) GetHints

func (o *ModelResultItem) GetHints() Hints

GetHints returns the Hints field value if set, zero value otherwise.

func (*ModelResultItem) GetHintsOk

func (o *ModelResultItem) GetHintsOk() (*Hints, bool)

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

func (*ModelResultItem) GetType

func (o *ModelResultItem) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ModelResultItem) GetTypeOk

func (o *ModelResultItem) 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 (*ModelResultItem) HasAlias

func (o *ModelResultItem) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*ModelResultItem) HasHints

func (o *ModelResultItem) HasHints() bool

HasHints returns a boolean if a field has been set.

func (*ModelResultItem) HasType

func (o *ModelResultItem) HasType() bool

HasType returns a boolean if a field has been set.

func (ModelResultItem) MarshalJSON

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

func (*ModelResultItem) SetAlias

func (o *ModelResultItem) SetAlias(v string)

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

func (*ModelResultItem) SetHints

func (o *ModelResultItem) SetHints(v Hints)

SetHints gets a reference to the given Hints and assigns it to the Hints field.

func (*ModelResultItem) SetType

func (o *ModelResultItem) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableComplexModelResultItem

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

func (NullableComplexModelResultItem) Get

func (NullableComplexModelResultItem) IsSet

func (NullableComplexModelResultItem) MarshalJSON

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

func (*NullableComplexModelResultItem) Set

func (*NullableComplexModelResultItem) UnmarshalJSON

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

func (*NullableComplexModelResultItem) Unset

func (v *NullableComplexModelResultItem) Unset()

type NullableDataResultChunk

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

func NewNullableDataResultChunk

func NewNullableDataResultChunk(val *DataResultChunk) *NullableDataResultChunk

func (NullableDataResultChunk) Get

func (NullableDataResultChunk) IsSet

func (v NullableDataResultChunk) IsSet() bool

func (NullableDataResultChunk) MarshalJSON

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

func (*NullableDataResultChunk) Set

func (*NullableDataResultChunk) UnmarshalJSON

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

func (*NullableDataResultChunk) Unset

func (v *NullableDataResultChunk) Unset()

type NullableDataResultItemInner

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

func NewNullableDataResultItemInner

func NewNullableDataResultItemInner(val *DataResultItemInner) *NullableDataResultItemInner

func (NullableDataResultItemInner) Get

func (NullableDataResultItemInner) IsSet

func (NullableDataResultItemInner) MarshalJSON

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

func (*NullableDataResultItemInner) Set

func (*NullableDataResultItemInner) UnmarshalJSON

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

func (*NullableDataResultItemInner) Unset

func (v *NullableDataResultItemInner) Unset()

type NullableDatasetReference

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

func NewNullableDatasetReference

func NewNullableDatasetReference(val *DatasetReference) *NullableDatasetReference

func (NullableDatasetReference) Get

func (NullableDatasetReference) IsSet

func (v NullableDatasetReference) IsSet() bool

func (NullableDatasetReference) MarshalJSON

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

func (*NullableDatasetReference) Set

func (*NullableDatasetReference) UnmarshalJSON

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

func (*NullableDatasetReference) Unset

func (v *NullableDatasetReference) Unset()

type NullableErrorDetailItem

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

func NewNullableErrorDetailItem

func NewNullableErrorDetailItem(val *ErrorDetailItem) *NullableErrorDetailItem

func (NullableErrorDetailItem) Get

func (NullableErrorDetailItem) IsSet

func (v NullableErrorDetailItem) IsSet() bool

func (NullableErrorDetailItem) MarshalJSON

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

func (*NullableErrorDetailItem) Set

func (*NullableErrorDetailItem) UnmarshalJSON

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

func (*NullableErrorDetailItem) Unset

func (v *NullableErrorDetailItem) Unset()

type NullableErrorDetailItemFixPossibilitiesInner

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

func (NullableErrorDetailItemFixPossibilitiesInner) Get

func (NullableErrorDetailItemFixPossibilitiesInner) IsSet

func (NullableErrorDetailItemFixPossibilitiesInner) MarshalJSON

func (*NullableErrorDetailItemFixPossibilitiesInner) Set

func (*NullableErrorDetailItemFixPossibilitiesInner) UnmarshalJSON

func (*NullableErrorDetailItemFixPossibilitiesInner) Unset

type NullableErrorDetailsArrayInner

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

func (NullableErrorDetailsArrayInner) Get

func (NullableErrorDetailsArrayInner) IsSet

func (NullableErrorDetailsArrayInner) MarshalJSON

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

func (*NullableErrorDetailsArrayInner) Set

func (*NullableErrorDetailsArrayInner) UnmarshalJSON

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

func (*NullableErrorDetailsArrayInner) Unset

func (v *NullableErrorDetailsArrayInner) Unset()

type NullableErrorResult

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

func NewNullableErrorResult

func NewNullableErrorResult(val *ErrorResult) *NullableErrorResult

func (NullableErrorResult) Get

func (NullableErrorResult) IsSet

func (v NullableErrorResult) IsSet() bool

func (NullableErrorResult) MarshalJSON

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

func (*NullableErrorResult) Set

func (v *NullableErrorResult) Set(val *ErrorResult)

func (*NullableErrorResult) UnmarshalJSON

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

func (*NullableErrorResult) Unset

func (v *NullableErrorResult) Unset()

type NullableErrorResultChunk

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

func NewNullableErrorResultChunk

func NewNullableErrorResultChunk(val *ErrorResultChunk) *NullableErrorResultChunk

func (NullableErrorResultChunk) Get

func (NullableErrorResultChunk) IsSet

func (v NullableErrorResultChunk) IsSet() bool

func (NullableErrorResultChunk) MarshalJSON

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

func (*NullableErrorResultChunk) Set

func (*NullableErrorResultChunk) UnmarshalJSON

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

func (*NullableErrorResultChunk) Unset

func (v *NullableErrorResultChunk) Unset()

type NullableErrorResultChunkError

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

func (NullableErrorResultChunkError) Get

func (NullableErrorResultChunkError) IsSet

func (NullableErrorResultChunkError) MarshalJSON

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

func (*NullableErrorResultChunkError) Set

func (*NullableErrorResultChunkError) UnmarshalJSON

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

func (*NullableErrorResultChunkError) Unset

func (v *NullableErrorResultChunkError) Unset()

type NullableEventMetadataResultItem

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

func (NullableEventMetadataResultItem) Get

func (NullableEventMetadataResultItem) IsSet

func (NullableEventMetadataResultItem) MarshalJSON

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

func (*NullableEventMetadataResultItem) Set

func (*NullableEventMetadataResultItem) UnmarshalJSON

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

func (*NullableEventMetadataResultItem) Unset

type NullableExecuteQuery200Response

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

func (NullableExecuteQuery200Response) Get

func (NullableExecuteQuery200Response) IsSet

func (NullableExecuteQuery200Response) MarshalJSON

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

func (*NullableExecuteQuery200Response) Set

func (*NullableExecuteQuery200Response) UnmarshalJSON

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

func (*NullableExecuteQuery200Response) Unset

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableHeartbeatResultChunk

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

func NewNullableHeartbeatResultChunk

func NewNullableHeartbeatResultChunk(val *HeartbeatResultChunk) *NullableHeartbeatResultChunk

func (NullableHeartbeatResultChunk) Get

func (NullableHeartbeatResultChunk) IsSet

func (NullableHeartbeatResultChunk) MarshalJSON

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

func (*NullableHeartbeatResultChunk) Set

func (*NullableHeartbeatResultChunk) UnmarshalJSON

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

func (*NullableHeartbeatResultChunk) Unset

func (v *NullableHeartbeatResultChunk) Unset()

type NullableHints

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

func NewNullableHints

func NewNullableHints(val *Hints) *NullableHints

func (NullableHints) Get

func (v NullableHints) Get() *Hints

func (NullableHints) IsSet

func (v NullableHints) IsSet() bool

func (NullableHints) MarshalJSON

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

func (*NullableHints) Set

func (v *NullableHints) Set(val *Hints)

func (*NullableHints) UnmarshalJSON

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

func (*NullableHints) Unset

func (v *NullableHints) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableMainMetadataResultItem

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

func (NullableMainMetadataResultItem) Get

func (NullableMainMetadataResultItem) IsSet

func (NullableMainMetadataResultItem) MarshalJSON

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

func (*NullableMainMetadataResultItem) Set

func (*NullableMainMetadataResultItem) UnmarshalJSON

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

func (*NullableMainMetadataResultItem) Unset

func (v *NullableMainMetadataResultItem) Unset()

type NullableMetadataResultItem

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

func NewNullableMetadataResultItem

func NewNullableMetadataResultItem(val *MetadataResultItem) *NullableMetadataResultItem

func (NullableMetadataResultItem) Get

func (NullableMetadataResultItem) IsSet

func (v NullableMetadataResultItem) IsSet() bool

func (NullableMetadataResultItem) MarshalJSON

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

func (*NullableMetadataResultItem) Set

func (*NullableMetadataResultItem) UnmarshalJSON

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

func (*NullableMetadataResultItem) Unset

func (v *NullableMetadataResultItem) Unset()

type NullableMetricMetadataResultItem

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

func (NullableMetricMetadataResultItem) Get

func (NullableMetricMetadataResultItem) IsSet

func (NullableMetricMetadataResultItem) MarshalJSON

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

func (*NullableMetricMetadataResultItem) Set

func (*NullableMetricMetadataResultItem) UnmarshalJSON

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

func (*NullableMetricMetadataResultItem) Unset

type NullableModel

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

func NewNullableModel

func NewNullableModel(val *Model) *NullableModel

func (NullableModel) Get

func (v NullableModel) Get() *Model

func (NullableModel) IsSet

func (v NullableModel) IsSet() bool

func (NullableModel) MarshalJSON

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

func (*NullableModel) Set

func (v *NullableModel) Set(val *Model)

func (*NullableModel) UnmarshalJSON

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

func (*NullableModel) Unset

func (v *NullableModel) Unset()

type NullableModelFieldsInner

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

func NewNullableModelFieldsInner

func NewNullableModelFieldsInner(val *ModelFieldsInner) *NullableModelFieldsInner

func (NullableModelFieldsInner) Get

func (NullableModelFieldsInner) IsSet

func (v NullableModelFieldsInner) IsSet() bool

func (NullableModelFieldsInner) MarshalJSON

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

func (*NullableModelFieldsInner) Set

func (*NullableModelFieldsInner) UnmarshalJSON

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

func (*NullableModelFieldsInner) Unset

func (v *NullableModelFieldsInner) Unset()

type NullableModelReference

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

func NewNullableModelReference

func NewNullableModelReference(val *ModelReference) *NullableModelReference

func (NullableModelReference) Get

func (NullableModelReference) IsSet

func (v NullableModelReference) IsSet() bool

func (NullableModelReference) MarshalJSON

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

func (*NullableModelReference) Set

func (*NullableModelReference) UnmarshalJSON

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

func (*NullableModelReference) Unset

func (v *NullableModelReference) Unset()

type NullableModelResultChunk

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

func NewNullableModelResultChunk

func NewNullableModelResultChunk(val *ModelResultChunk) *NullableModelResultChunk

func (NullableModelResultChunk) Get

func (NullableModelResultChunk) IsSet

func (v NullableModelResultChunk) IsSet() bool

func (NullableModelResultChunk) MarshalJSON

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

func (*NullableModelResultChunk) Set

func (*NullableModelResultChunk) UnmarshalJSON

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

func (*NullableModelResultChunk) Unset

func (v *NullableModelResultChunk) Unset()

type NullableModelResultItem

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

func NewNullableModelResultItem

func NewNullableModelResultItem(val *ModelResultItem) *NullableModelResultItem

func (NullableModelResultItem) Get

func (NullableModelResultItem) IsSet

func (v NullableModelResultItem) IsSet() bool

func (NullableModelResultItem) MarshalJSON

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

func (*NullableModelResultItem) Set

func (*NullableModelResultItem) UnmarshalJSON

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

func (*NullableModelResultItem) Unset

func (v *NullableModelResultItem) Unset()

type NullablePaginationReference

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

func NewNullablePaginationReference

func NewNullablePaginationReference(val *PaginationReference) *NullablePaginationReference

func (NullablePaginationReference) Get

func (NullablePaginationReference) IsSet

func (NullablePaginationReference) MarshalJSON

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

func (*NullablePaginationReference) Set

func (*NullablePaginationReference) UnmarshalJSON

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

func (*NullablePaginationReference) Unset

func (v *NullablePaginationReference) Unset()

type NullablePaginationReferenceNext

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

func (NullablePaginationReferenceNext) Get

func (NullablePaginationReferenceNext) IsSet

func (NullablePaginationReferenceNext) MarshalJSON

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

func (*NullablePaginationReferenceNext) Set

func (*NullablePaginationReferenceNext) UnmarshalJSON

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

func (*NullablePaginationReferenceNext) Unset

type NullableQueryRequestBody

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

func NewNullableQueryRequestBody

func NewNullableQueryRequestBody(val *QueryRequestBody) *NullableQueryRequestBody

func (NullableQueryRequestBody) Get

func (NullableQueryRequestBody) IsSet

func (v NullableQueryRequestBody) IsSet() bool

func (NullableQueryRequestBody) MarshalJSON

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

func (*NullableQueryRequestBody) Set

func (*NullableQueryRequestBody) UnmarshalJSON

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

func (*NullableQueryRequestBody) Unset

func (v *NullableQueryRequestBody) Unset()

type NullableQueryResponseArrayBodyInner

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

func (NullableQueryResponseArrayBodyInner) Get

func (NullableQueryResponseArrayBodyInner) IsSet

func (NullableQueryResponseArrayBodyInner) MarshalJSON

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

func (*NullableQueryResponseArrayBodyInner) Set

func (*NullableQueryResponseArrayBodyInner) UnmarshalJSON

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

func (*NullableQueryResponseArrayBodyInner) Unset

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type PaginationReference

type PaginationReference struct {
	Next *PaginationReferenceNext `json:"next,omitempty"`
}

PaginationReference A reference to the next page of results if there are more results to be had.

func NewPaginationReference

func NewPaginationReference() *PaginationReference

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

func NewPaginationReferenceWithDefaults

func NewPaginationReferenceWithDefaults() *PaginationReference

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

func (*PaginationReference) GetNext

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginationReference) GetNextOk

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 (*PaginationReference) HasNext

func (o *PaginationReference) HasNext() bool

HasNext returns a boolean if a field has been set.

func (PaginationReference) MarshalJSON

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

func (*PaginationReference) SetNext

SetNext gets a reference to the given PaginationReferenceNext and assigns it to the Next field.

type PaginationReferenceNext

type PaginationReferenceNext struct {
	// The effective link to the next result page
	Href *string `json:"href,omitempty"`
}

PaginationReferenceNext Holds the link to the next page of results.

func NewPaginationReferenceNext

func NewPaginationReferenceNext() *PaginationReferenceNext

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

func NewPaginationReferenceNextWithDefaults

func NewPaginationReferenceNextWithDefaults() *PaginationReferenceNext

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

func (*PaginationReferenceNext) GetHref

func (o *PaginationReferenceNext) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*PaginationReferenceNext) GetHrefOk

func (o *PaginationReferenceNext) GetHrefOk() (*string, bool)

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

func (*PaginationReferenceNext) HasHref

func (o *PaginationReferenceNext) HasHref() bool

HasHref returns a boolean if a field has been set.

func (PaginationReferenceNext) MarshalJSON

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

func (*PaginationReferenceNext) SetHref

func (o *PaginationReferenceNext) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

type QueryRequestBody

type QueryRequestBody struct {
	// Query string.
	Query *string `json:"query,omitempty"`
}

QueryRequestBody Client request with a query.

func NewQueryRequestBody

func NewQueryRequestBody() *QueryRequestBody

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

func NewQueryRequestBodyWithDefaults

func NewQueryRequestBodyWithDefaults() *QueryRequestBody

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

func (*QueryRequestBody) GetQuery

func (o *QueryRequestBody) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*QueryRequestBody) GetQueryOk

func (o *QueryRequestBody) 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 (*QueryRequestBody) HasQuery

func (o *QueryRequestBody) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (QueryRequestBody) MarshalJSON

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

func (*QueryRequestBody) SetQuery

func (o *QueryRequestBody) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

type QueryResponseArrayBodyInner

type QueryResponseArrayBodyInner struct {
	DataResultChunk      *DataResultChunk
	ErrorResultChunk     *ErrorResultChunk
	HeartbeatResultChunk *HeartbeatResultChunk
	ModelResultChunk     *ModelResultChunk
}

QueryResponseArrayBodyInner struct for QueryResponseArrayBodyInner

func (*QueryResponseArrayBodyInner) MarshalJSON

func (src *QueryResponseArrayBodyInner) MarshalJSON() ([]byte, error)

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

func (*QueryResponseArrayBodyInner) UnmarshalJSON

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

Unmarshal JSON data into any of the pointers in the struct

type ResultPaginationApiService

type ResultPaginationApiService service

ResultPaginationApiService ResultPaginationApi service

func (*ResultPaginationApiService) ResultPagination

ResultPagination Fetch the next page of results.

Fetch the next page of results.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiResultPaginationRequest

func (*ResultPaginationApiService) ResultPaginationExecute

Execute executes the request

@return []QueryResponseArrayBodyInner

Jump to

Keyboard shortcuts

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