data_views

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for data_views

OpenAPI schema for data view endpoints

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: 0.1
  • 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/net/context

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

import data_views "github.com/elastic/terraform-provider-elasticstack/data_views"

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(), data_views.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(), data_views.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(), data_views.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), data_views.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DataViewsAPI CreateDataView Post /s/{spaceId}/api/data_views/data_view Creates a data view.
DataViewsAPI CreateRuntimeField Post /s/{spaceId}/api/data_views/data_view/{viewId}/runtime_field Creates a runtime field.
DataViewsAPI CreateUpdateRuntimeField Put /s/{spaceId}/api/data_views/data_view/{viewId}/runtime_field Create or update an existing runtime field.
DataViewsAPI DeleteDataView Delete /s/{spaceId}/api/data_views/data_view/{viewId} Deletes a data view.
DataViewsAPI DeleteRuntimeField Delete /s/{spaceId}/api/data_views/data_view/{viewId}/runtime_field/{fieldName} Delete a runtime field from a data view.
DataViewsAPI GetAllDataViews Get /s/{spaceId}/api/data_views Retrieves a list of all data views.
DataViewsAPI GetDataView Get /s/{spaceId}/api/data_views/data_view/{viewId} Retrieves a single data view by identifier.
DataViewsAPI GetDefaultDataView Get /s/{spaceId}/api/data_views/default Retrieves the default data view identifier.
DataViewsAPI GetRuntimeField Get /s/{spaceId}/api/data_views/data_view/{viewId}/runtime_field/{fieldName} Retrieves a runtime field.
DataViewsAPI SetDefaultDatailView Post /s/{spaceId}/api/data_views/default Sets the default data view identifier.
DataViewsAPI UpdateDataView Post /s/{spaceId}/api/data_views/data_view/{viewId} Updates a data view.
DataViewsAPI UpdateFieldsMetadata Post /s/{spaceId}/api/data_views/data_view/{viewId}/fields Update fields presentation metadata such as count, customLabel and format.
DataViewsAPI UpdateRuntimeField Post /s/{spaceId}/api/data_views/data_view/{viewId}/runtime_field/{fieldName} Update an existing runtime field.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)
apiKeyAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

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

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

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	DataViewsAPI DataViewsAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the Data views API v0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type 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 ApiCreateDataViewRequest

type ApiCreateDataViewRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiCreateDataViewRequest) CreateDataViewRequestObject

func (r ApiCreateDataViewRequest) CreateDataViewRequestObject(createDataViewRequestObject CreateDataViewRequestObject) ApiCreateDataViewRequest

func (ApiCreateDataViewRequest) Execute

func (ApiCreateDataViewRequest) KbnXsrf

Cross-site request forgery protection

type ApiCreateRuntimeFieldRequest

type ApiCreateRuntimeFieldRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiCreateRuntimeFieldRequest) CreateUpdateRuntimeFieldRequest

func (r ApiCreateRuntimeFieldRequest) CreateUpdateRuntimeFieldRequest(createUpdateRuntimeFieldRequest CreateUpdateRuntimeFieldRequest) ApiCreateRuntimeFieldRequest

func (ApiCreateRuntimeFieldRequest) Execute

func (ApiCreateRuntimeFieldRequest) KbnXsrf

Cross-site request forgery protection

type ApiCreateUpdateRuntimeFieldRequest

type ApiCreateUpdateRuntimeFieldRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiCreateUpdateRuntimeFieldRequest) CreateUpdateRuntimeFieldRequest

func (r ApiCreateUpdateRuntimeFieldRequest) CreateUpdateRuntimeFieldRequest(createUpdateRuntimeFieldRequest CreateUpdateRuntimeFieldRequest) ApiCreateUpdateRuntimeFieldRequest

func (ApiCreateUpdateRuntimeFieldRequest) Execute

func (ApiCreateUpdateRuntimeFieldRequest) KbnXsrf

Cross-site request forgery protection

type ApiDeleteDataViewRequest

type ApiDeleteDataViewRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteDataViewRequest) Execute

func (r ApiDeleteDataViewRequest) Execute() (*http.Response, error)

func (ApiDeleteDataViewRequest) KbnXsrf

Cross-site request forgery protection

type ApiDeleteRuntimeFieldRequest

type ApiDeleteRuntimeFieldRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiDeleteRuntimeFieldRequest) Execute

type ApiGetAllDataViewsRequest

type ApiGetAllDataViewsRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiGetAllDataViewsRequest) Execute

type ApiGetDataViewRequest

type ApiGetDataViewRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiGetDataViewRequest) Execute

type ApiGetDefaultDataViewRequest

type ApiGetDefaultDataViewRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiGetDefaultDataViewRequest) Execute

type ApiGetRuntimeFieldRequest

type ApiGetRuntimeFieldRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiGetRuntimeFieldRequest) Execute

type ApiSetDefaultDatailViewRequest

type ApiSetDefaultDatailViewRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiSetDefaultDatailViewRequest) Execute

func (ApiSetDefaultDatailViewRequest) KbnXsrf

Cross-site request forgery protection

func (ApiSetDefaultDatailViewRequest) SetDefaultDatailViewRequest

func (r ApiSetDefaultDatailViewRequest) SetDefaultDatailViewRequest(setDefaultDatailViewRequest SetDefaultDatailViewRequest) ApiSetDefaultDatailViewRequest

type ApiUpdateDataViewRequest

type ApiUpdateDataViewRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateDataViewRequest) Execute

func (ApiUpdateDataViewRequest) KbnXsrf

Cross-site request forgery protection

func (ApiUpdateDataViewRequest) UpdateDataViewRequestObject

func (r ApiUpdateDataViewRequest) UpdateDataViewRequestObject(updateDataViewRequestObject UpdateDataViewRequestObject) ApiUpdateDataViewRequest

type ApiUpdateFieldsMetadataRequest

type ApiUpdateFieldsMetadataRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateFieldsMetadataRequest) Execute

func (ApiUpdateFieldsMetadataRequest) KbnXsrf

Cross-site request forgery protection

func (ApiUpdateFieldsMetadataRequest) UpdateFieldsMetadataRequest

func (r ApiUpdateFieldsMetadataRequest) UpdateFieldsMetadataRequest(updateFieldsMetadataRequest UpdateFieldsMetadataRequest) ApiUpdateFieldsMetadataRequest

type ApiUpdateRuntimeFieldRequest

type ApiUpdateRuntimeFieldRequest struct {
	ApiService DataViewsAPI
	// contains filtered or unexported fields
}

func (ApiUpdateRuntimeFieldRequest) Execute

func (ApiUpdateRuntimeFieldRequest) UpdateRuntimeFieldRequest

func (r ApiUpdateRuntimeFieldRequest) UpdateRuntimeFieldRequest(updateRuntimeFieldRequest UpdateRuntimeFieldRequest) ApiUpdateRuntimeFieldRequest

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type CreateDataViewRequestObject

type CreateDataViewRequestObject struct {
	DataView CreateDataViewRequestObjectDataView `json:"data_view"`
	// Override an existing data view if a data view with the provided title already exists.
	Override *bool `json:"override,omitempty"`
}

CreateDataViewRequestObject struct for CreateDataViewRequestObject

func NewCreateDataViewRequestObject

func NewCreateDataViewRequestObject(dataView CreateDataViewRequestObjectDataView) *CreateDataViewRequestObject

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

func NewCreateDataViewRequestObjectWithDefaults

func NewCreateDataViewRequestObjectWithDefaults() *CreateDataViewRequestObject

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

func (*CreateDataViewRequestObject) GetDataView

GetDataView returns the DataView field value

func (*CreateDataViewRequestObject) GetDataViewOk

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

func (*CreateDataViewRequestObject) GetOverride

func (o *CreateDataViewRequestObject) GetOverride() bool

GetOverride returns the Override field value if set, zero value otherwise.

func (*CreateDataViewRequestObject) GetOverrideOk

func (o *CreateDataViewRequestObject) GetOverrideOk() (*bool, bool)

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

func (*CreateDataViewRequestObject) HasOverride

func (o *CreateDataViewRequestObject) HasOverride() bool

HasOverride returns a boolean if a field has been set.

func (CreateDataViewRequestObject) MarshalJSON

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

func (*CreateDataViewRequestObject) SetDataView

SetDataView sets field value

func (*CreateDataViewRequestObject) SetOverride

func (o *CreateDataViewRequestObject) SetOverride(v bool)

SetOverride gets a reference to the given bool and assigns it to the Override field.

func (CreateDataViewRequestObject) ToMap

func (o CreateDataViewRequestObject) ToMap() (map[string]interface{}, error)

type CreateDataViewRequestObjectDataView

type CreateDataViewRequestObjectDataView struct {
	// Allows the data view saved object to exist before the data is available.
	AllowNoIndex *bool `json:"allowNoIndex,omitempty"`
	// A map of field attributes by field name.
	FieldAttrs map[string]interface{} `json:"fieldAttrs,omitempty"`
	// A map of field formats by field name.
	FieldFormats map[string]interface{} `json:"fieldFormats,omitempty"`
	Fields       map[string]interface{} `json:"fields,omitempty"`
	Id           *string                `json:"id,omitempty"`
	// The data view name.
	Name *string `json:"name,omitempty"`
	// An array of space identifiers for sharing the data view between multiple spaces.
	Namespaces []string `json:"namespaces,omitempty"`
	// A map of runtime field definitions by field name.
	RuntimeFieldMap map[string]interface{} `json:"runtimeFieldMap,omitempty"`
	// The array of field names you want to filter out in Discover.
	SourceFilters []SourcefiltersInner `json:"sourceFilters,omitempty"`
	// The timestamp field name, which you use for time-based data views.
	TimeFieldName *string `json:"timeFieldName,omitempty"`
	// Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (`*`).
	Title string `json:"title"`
	// When set to `rollup`, identifies the rollup data views.
	Type *string `json:"type,omitempty"`
	// When you use rollup indices, contains the field list for the rollup data view API endpoints.
	TypeMeta map[string]interface{} `json:"typeMeta,omitempty"`
	Version  *string                `json:"version,omitempty"`
}

CreateDataViewRequestObjectDataView The data view object.

func NewCreateDataViewRequestObjectDataView

func NewCreateDataViewRequestObjectDataView(title string) *CreateDataViewRequestObjectDataView

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

func NewCreateDataViewRequestObjectDataViewWithDefaults

func NewCreateDataViewRequestObjectDataViewWithDefaults() *CreateDataViewRequestObjectDataView

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

func (*CreateDataViewRequestObjectDataView) GetAllowNoIndex

func (o *CreateDataViewRequestObjectDataView) GetAllowNoIndex() bool

GetAllowNoIndex returns the AllowNoIndex field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetAllowNoIndexOk

func (o *CreateDataViewRequestObjectDataView) GetAllowNoIndexOk() (*bool, bool)

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

func (*CreateDataViewRequestObjectDataView) GetFieldAttrs

func (o *CreateDataViewRequestObjectDataView) GetFieldAttrs() map[string]interface{}

GetFieldAttrs returns the FieldAttrs field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetFieldAttrsOk

func (o *CreateDataViewRequestObjectDataView) GetFieldAttrsOk() (map[string]interface{}, bool)

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

func (*CreateDataViewRequestObjectDataView) GetFieldFormats

func (o *CreateDataViewRequestObjectDataView) GetFieldFormats() map[string]interface{}

GetFieldFormats returns the FieldFormats field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetFieldFormatsOk

func (o *CreateDataViewRequestObjectDataView) GetFieldFormatsOk() (map[string]interface{}, bool)

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

func (*CreateDataViewRequestObjectDataView) GetFields

func (o *CreateDataViewRequestObjectDataView) GetFields() map[string]interface{}

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

func (*CreateDataViewRequestObjectDataView) GetFieldsOk

func (o *CreateDataViewRequestObjectDataView) GetFieldsOk() (map[string]interface{}, 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 (*CreateDataViewRequestObjectDataView) GetId

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

func (*CreateDataViewRequestObjectDataView) GetIdOk

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

func (*CreateDataViewRequestObjectDataView) GetName

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

func (*CreateDataViewRequestObjectDataView) GetNameOk

func (o *CreateDataViewRequestObjectDataView) 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 (*CreateDataViewRequestObjectDataView) GetNamespaces

func (o *CreateDataViewRequestObjectDataView) GetNamespaces() []string

GetNamespaces returns the Namespaces field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetNamespacesOk

func (o *CreateDataViewRequestObjectDataView) GetNamespacesOk() ([]string, bool)

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

func (*CreateDataViewRequestObjectDataView) GetRuntimeFieldMap

func (o *CreateDataViewRequestObjectDataView) GetRuntimeFieldMap() map[string]interface{}

GetRuntimeFieldMap returns the RuntimeFieldMap field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetRuntimeFieldMapOk

func (o *CreateDataViewRequestObjectDataView) GetRuntimeFieldMapOk() (map[string]interface{}, bool)

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

func (*CreateDataViewRequestObjectDataView) GetSourceFilters

GetSourceFilters returns the SourceFilters field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetSourceFiltersOk

func (o *CreateDataViewRequestObjectDataView) GetSourceFiltersOk() ([]SourcefiltersInner, bool)

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

func (*CreateDataViewRequestObjectDataView) GetTimeFieldName

func (o *CreateDataViewRequestObjectDataView) GetTimeFieldName() string

GetTimeFieldName returns the TimeFieldName field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetTimeFieldNameOk

func (o *CreateDataViewRequestObjectDataView) GetTimeFieldNameOk() (*string, bool)

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

func (*CreateDataViewRequestObjectDataView) GetTitle

GetTitle returns the Title field value

func (*CreateDataViewRequestObjectDataView) GetTitleOk

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

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

func (*CreateDataViewRequestObjectDataView) GetType

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

func (*CreateDataViewRequestObjectDataView) GetTypeMeta

func (o *CreateDataViewRequestObjectDataView) GetTypeMeta() map[string]interface{}

GetTypeMeta returns the TypeMeta field value if set, zero value otherwise.

func (*CreateDataViewRequestObjectDataView) GetTypeMetaOk

func (o *CreateDataViewRequestObjectDataView) GetTypeMetaOk() (map[string]interface{}, bool)

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

func (*CreateDataViewRequestObjectDataView) GetTypeOk

func (o *CreateDataViewRequestObjectDataView) 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 (*CreateDataViewRequestObjectDataView) GetVersion

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

func (*CreateDataViewRequestObjectDataView) GetVersionOk

func (o *CreateDataViewRequestObjectDataView) GetVersionOk() (*string, bool)

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

func (*CreateDataViewRequestObjectDataView) HasAllowNoIndex

func (o *CreateDataViewRequestObjectDataView) HasAllowNoIndex() bool

HasAllowNoIndex returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasFieldAttrs

func (o *CreateDataViewRequestObjectDataView) HasFieldAttrs() bool

HasFieldAttrs returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasFieldFormats

func (o *CreateDataViewRequestObjectDataView) HasFieldFormats() bool

HasFieldFormats returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasFields

HasFields returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasId

HasId returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasName

HasName returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasNamespaces

func (o *CreateDataViewRequestObjectDataView) HasNamespaces() bool

HasNamespaces returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasRuntimeFieldMap

func (o *CreateDataViewRequestObjectDataView) HasRuntimeFieldMap() bool

HasRuntimeFieldMap returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasSourceFilters

func (o *CreateDataViewRequestObjectDataView) HasSourceFilters() bool

HasSourceFilters returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasTimeFieldName

func (o *CreateDataViewRequestObjectDataView) HasTimeFieldName() bool

HasTimeFieldName returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasType

HasType returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasTypeMeta

func (o *CreateDataViewRequestObjectDataView) HasTypeMeta() bool

HasTypeMeta returns a boolean if a field has been set.

func (*CreateDataViewRequestObjectDataView) HasVersion

func (o *CreateDataViewRequestObjectDataView) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (CreateDataViewRequestObjectDataView) MarshalJSON

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

func (*CreateDataViewRequestObjectDataView) SetAllowNoIndex

func (o *CreateDataViewRequestObjectDataView) SetAllowNoIndex(v bool)

SetAllowNoIndex gets a reference to the given bool and assigns it to the AllowNoIndex field.

func (*CreateDataViewRequestObjectDataView) SetFieldAttrs

func (o *CreateDataViewRequestObjectDataView) SetFieldAttrs(v map[string]interface{})

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

func (*CreateDataViewRequestObjectDataView) SetFieldFormats

func (o *CreateDataViewRequestObjectDataView) SetFieldFormats(v map[string]interface{})

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

func (*CreateDataViewRequestObjectDataView) SetFields

func (o *CreateDataViewRequestObjectDataView) SetFields(v map[string]interface{})

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

func (*CreateDataViewRequestObjectDataView) SetId

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

func (*CreateDataViewRequestObjectDataView) SetName

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

func (*CreateDataViewRequestObjectDataView) SetNamespaces

func (o *CreateDataViewRequestObjectDataView) SetNamespaces(v []string)

SetNamespaces gets a reference to the given []string and assigns it to the Namespaces field.

func (*CreateDataViewRequestObjectDataView) SetRuntimeFieldMap

func (o *CreateDataViewRequestObjectDataView) SetRuntimeFieldMap(v map[string]interface{})

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

func (*CreateDataViewRequestObjectDataView) SetSourceFilters

SetSourceFilters gets a reference to the given []SourcefiltersInner and assigns it to the SourceFilters field.

func (*CreateDataViewRequestObjectDataView) SetTimeFieldName

func (o *CreateDataViewRequestObjectDataView) SetTimeFieldName(v string)

SetTimeFieldName gets a reference to the given string and assigns it to the TimeFieldName field.

func (*CreateDataViewRequestObjectDataView) SetTitle

SetTitle sets field value

func (*CreateDataViewRequestObjectDataView) SetType

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

func (*CreateDataViewRequestObjectDataView) SetTypeMeta

func (o *CreateDataViewRequestObjectDataView) SetTypeMeta(v map[string]interface{})

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

func (*CreateDataViewRequestObjectDataView) SetVersion

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

func (CreateDataViewRequestObjectDataView) ToMap

func (o CreateDataViewRequestObjectDataView) ToMap() (map[string]interface{}, error)

type CreateRuntimeFieldRequest

type CreateRuntimeFieldRequest struct {
	// The name for a runtime field.
	Name interface{} `json:"name"`
	// The runtime field definition object.
	RuntimeField interface{} `json:"runtimeField"`
}

CreateRuntimeFieldRequest struct for CreateRuntimeFieldRequest

func NewCreateRuntimeFieldRequest

func NewCreateRuntimeFieldRequest(name interface{}, runtimeField interface{}) *CreateRuntimeFieldRequest

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

func NewCreateRuntimeFieldRequestWithDefaults

func NewCreateRuntimeFieldRequestWithDefaults() *CreateRuntimeFieldRequest

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

func (*CreateRuntimeFieldRequest) GetName

func (o *CreateRuntimeFieldRequest) GetName() interface{}

GetName returns the Name field value If the value is explicit nil, the zero value for interface{} will be returned

func (*CreateRuntimeFieldRequest) GetNameOk

func (o *CreateRuntimeFieldRequest) GetNameOk() (*interface{}, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateRuntimeFieldRequest) GetRuntimeField

func (o *CreateRuntimeFieldRequest) GetRuntimeField() interface{}

GetRuntimeField returns the RuntimeField field value If the value is explicit nil, the zero value for interface{} will be returned

func (*CreateRuntimeFieldRequest) GetRuntimeFieldOk

func (o *CreateRuntimeFieldRequest) GetRuntimeFieldOk() (*interface{}, bool)

GetRuntimeFieldOk returns a tuple with the RuntimeField field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (CreateRuntimeFieldRequest) MarshalJSON

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

func (*CreateRuntimeFieldRequest) SetName

func (o *CreateRuntimeFieldRequest) SetName(v interface{})

SetName sets field value

func (*CreateRuntimeFieldRequest) SetRuntimeField

func (o *CreateRuntimeFieldRequest) SetRuntimeField(v interface{})

SetRuntimeField sets field value

func (CreateRuntimeFieldRequest) ToMap

func (o CreateRuntimeFieldRequest) ToMap() (map[string]interface{}, error)

type CreateUpdateRuntimeField200Response

type CreateUpdateRuntimeField200Response struct {
	DataView map[string]interface{}   `json:"data_view,omitempty"`
	Fields   []map[string]interface{} `json:"fields,omitempty"`
}

CreateUpdateRuntimeField200Response struct for CreateUpdateRuntimeField200Response

func NewCreateUpdateRuntimeField200Response

func NewCreateUpdateRuntimeField200Response() *CreateUpdateRuntimeField200Response

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

func NewCreateUpdateRuntimeField200ResponseWithDefaults

func NewCreateUpdateRuntimeField200ResponseWithDefaults() *CreateUpdateRuntimeField200Response

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

func (*CreateUpdateRuntimeField200Response) GetDataView

func (o *CreateUpdateRuntimeField200Response) GetDataView() map[string]interface{}

GetDataView returns the DataView field value if set, zero value otherwise.

func (*CreateUpdateRuntimeField200Response) GetDataViewOk

func (o *CreateUpdateRuntimeField200Response) GetDataViewOk() (map[string]interface{}, bool)

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

func (*CreateUpdateRuntimeField200Response) GetFields

func (o *CreateUpdateRuntimeField200Response) GetFields() []map[string]interface{}

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

func (*CreateUpdateRuntimeField200Response) GetFieldsOk

func (o *CreateUpdateRuntimeField200Response) GetFieldsOk() ([]map[string]interface{}, 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 (*CreateUpdateRuntimeField200Response) HasDataView

func (o *CreateUpdateRuntimeField200Response) HasDataView() bool

HasDataView returns a boolean if a field has been set.

func (*CreateUpdateRuntimeField200Response) HasFields

HasFields returns a boolean if a field has been set.

func (CreateUpdateRuntimeField200Response) MarshalJSON

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

func (*CreateUpdateRuntimeField200Response) SetDataView

func (o *CreateUpdateRuntimeField200Response) SetDataView(v map[string]interface{})

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

func (*CreateUpdateRuntimeField200Response) SetFields

func (o *CreateUpdateRuntimeField200Response) SetFields(v []map[string]interface{})

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

func (CreateUpdateRuntimeField200Response) ToMap

func (o CreateUpdateRuntimeField200Response) ToMap() (map[string]interface{}, error)

type CreateUpdateRuntimeFieldRequest

type CreateUpdateRuntimeFieldRequest struct {
	// The name for a runtime field.
	Name string `json:"name"`
	// The runtime field definition object.
	RuntimeField map[string]interface{} `json:"runtimeField"`
}

CreateUpdateRuntimeFieldRequest struct for CreateUpdateRuntimeFieldRequest

func NewCreateUpdateRuntimeFieldRequest

func NewCreateUpdateRuntimeFieldRequest(name string, runtimeField map[string]interface{}) *CreateUpdateRuntimeFieldRequest

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

func NewCreateUpdateRuntimeFieldRequestWithDefaults

func NewCreateUpdateRuntimeFieldRequestWithDefaults() *CreateUpdateRuntimeFieldRequest

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

func (*CreateUpdateRuntimeFieldRequest) GetName

GetName returns the Name field value

func (*CreateUpdateRuntimeFieldRequest) GetNameOk

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

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

func (*CreateUpdateRuntimeFieldRequest) GetRuntimeField

func (o *CreateUpdateRuntimeFieldRequest) GetRuntimeField() map[string]interface{}

GetRuntimeField returns the RuntimeField field value

func (*CreateUpdateRuntimeFieldRequest) GetRuntimeFieldOk

func (o *CreateUpdateRuntimeFieldRequest) GetRuntimeFieldOk() (map[string]interface{}, bool)

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

func (CreateUpdateRuntimeFieldRequest) MarshalJSON

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

func (*CreateUpdateRuntimeFieldRequest) SetName

SetName sets field value

func (*CreateUpdateRuntimeFieldRequest) SetRuntimeField

func (o *CreateUpdateRuntimeFieldRequest) SetRuntimeField(v map[string]interface{})

SetRuntimeField sets field value

func (CreateUpdateRuntimeFieldRequest) ToMap

func (o CreateUpdateRuntimeFieldRequest) ToMap() (map[string]interface{}, error)

type DataViewResponseObject

type DataViewResponseObject struct {
	DataView *DataViewResponseObjectDataView `json:"data_view,omitempty"`
}

DataViewResponseObject struct for DataViewResponseObject

func NewDataViewResponseObject

func NewDataViewResponseObject() *DataViewResponseObject

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

func NewDataViewResponseObjectWithDefaults

func NewDataViewResponseObjectWithDefaults() *DataViewResponseObject

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

func (*DataViewResponseObject) GetDataView

GetDataView returns the DataView field value if set, zero value otherwise.

func (*DataViewResponseObject) GetDataViewOk

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

func (*DataViewResponseObject) HasDataView

func (o *DataViewResponseObject) HasDataView() bool

HasDataView returns a boolean if a field has been set.

func (DataViewResponseObject) MarshalJSON

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

func (*DataViewResponseObject) SetDataView

SetDataView gets a reference to the given DataViewResponseObjectDataView and assigns it to the DataView field.

func (DataViewResponseObject) ToMap

func (o DataViewResponseObject) ToMap() (map[string]interface{}, error)

type DataViewResponseObjectDataView

type DataViewResponseObjectDataView struct {
	// Allows the data view saved object to exist before the data is available.
	AllowNoIndex *bool `json:"allowNoIndex,omitempty"`
	// A map of field attributes by field name.
	FieldAttrs map[string]interface{} `json:"fieldAttrs,omitempty"`
	// A map of field formats by field name.
	FieldFormats map[string]interface{} `json:"fieldFormats,omitempty"`
	Fields       map[string]interface{} `json:"fields,omitempty"`
	Id           *string                `json:"id,omitempty"`
	// The data view name.
	Name *string `json:"name,omitempty"`
	// An array of space identifiers for sharing the data view between multiple spaces.
	Namespaces []string `json:"namespaces,omitempty"`
	// A map of runtime field definitions by field name.
	RuntimeFieldMap map[string]interface{} `json:"runtimeFieldMap,omitempty"`
	// The array of field names you want to filter out in Discover.
	SourceFilters []SourcefiltersInner `json:"sourceFilters,omitempty"`
	// The timestamp field name, which you use for time-based data views.
	TimeFieldName *string `json:"timeFieldName,omitempty"`
	// Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (`*`).
	Title *string `json:"title,omitempty"`
	// When you use rollup indices, contains the field list for the rollup data view API endpoints.
	TypeMeta map[string]interface{} `json:"typeMeta,omitempty"`
	Version  *string                `json:"version,omitempty"`
}

DataViewResponseObjectDataView struct for DataViewResponseObjectDataView

func NewDataViewResponseObjectDataView

func NewDataViewResponseObjectDataView() *DataViewResponseObjectDataView

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

func NewDataViewResponseObjectDataViewWithDefaults

func NewDataViewResponseObjectDataViewWithDefaults() *DataViewResponseObjectDataView

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

func (*DataViewResponseObjectDataView) GetAllowNoIndex

func (o *DataViewResponseObjectDataView) GetAllowNoIndex() bool

GetAllowNoIndex returns the AllowNoIndex field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetAllowNoIndexOk

func (o *DataViewResponseObjectDataView) GetAllowNoIndexOk() (*bool, bool)

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

func (*DataViewResponseObjectDataView) GetFieldAttrs

func (o *DataViewResponseObjectDataView) GetFieldAttrs() map[string]interface{}

GetFieldAttrs returns the FieldAttrs field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetFieldAttrsOk

func (o *DataViewResponseObjectDataView) GetFieldAttrsOk() (map[string]interface{}, bool)

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

func (*DataViewResponseObjectDataView) GetFieldFormats

func (o *DataViewResponseObjectDataView) GetFieldFormats() map[string]interface{}

GetFieldFormats returns the FieldFormats field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetFieldFormatsOk

func (o *DataViewResponseObjectDataView) GetFieldFormatsOk() (map[string]interface{}, bool)

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

func (*DataViewResponseObjectDataView) GetFields

func (o *DataViewResponseObjectDataView) GetFields() map[string]interface{}

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

func (*DataViewResponseObjectDataView) GetFieldsOk

func (o *DataViewResponseObjectDataView) GetFieldsOk() (map[string]interface{}, 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 (*DataViewResponseObjectDataView) GetId

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

func (*DataViewResponseObjectDataView) GetIdOk

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

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

func (*DataViewResponseObjectDataView) GetName

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

func (*DataViewResponseObjectDataView) GetNameOk

func (o *DataViewResponseObjectDataView) 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 (*DataViewResponseObjectDataView) GetNamespaces

func (o *DataViewResponseObjectDataView) GetNamespaces() []string

GetNamespaces returns the Namespaces field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetNamespacesOk

func (o *DataViewResponseObjectDataView) GetNamespacesOk() ([]string, bool)

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

func (*DataViewResponseObjectDataView) GetRuntimeFieldMap

func (o *DataViewResponseObjectDataView) GetRuntimeFieldMap() map[string]interface{}

GetRuntimeFieldMap returns the RuntimeFieldMap field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetRuntimeFieldMapOk

func (o *DataViewResponseObjectDataView) GetRuntimeFieldMapOk() (map[string]interface{}, bool)

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

func (*DataViewResponseObjectDataView) GetSourceFilters

func (o *DataViewResponseObjectDataView) GetSourceFilters() []SourcefiltersInner

GetSourceFilters returns the SourceFilters field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetSourceFiltersOk

func (o *DataViewResponseObjectDataView) GetSourceFiltersOk() ([]SourcefiltersInner, bool)

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

func (*DataViewResponseObjectDataView) GetTimeFieldName

func (o *DataViewResponseObjectDataView) GetTimeFieldName() string

GetTimeFieldName returns the TimeFieldName field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetTimeFieldNameOk

func (o *DataViewResponseObjectDataView) GetTimeFieldNameOk() (*string, bool)

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

func (*DataViewResponseObjectDataView) GetTitle

func (o *DataViewResponseObjectDataView) GetTitle() string

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

func (*DataViewResponseObjectDataView) GetTitleOk

func (o *DataViewResponseObjectDataView) 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 (*DataViewResponseObjectDataView) GetTypeMeta

func (o *DataViewResponseObjectDataView) GetTypeMeta() map[string]interface{}

GetTypeMeta returns the TypeMeta field value if set, zero value otherwise.

func (*DataViewResponseObjectDataView) GetTypeMetaOk

func (o *DataViewResponseObjectDataView) GetTypeMetaOk() (map[string]interface{}, bool)

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

func (*DataViewResponseObjectDataView) GetVersion

func (o *DataViewResponseObjectDataView) GetVersion() string

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

func (*DataViewResponseObjectDataView) GetVersionOk

func (o *DataViewResponseObjectDataView) GetVersionOk() (*string, bool)

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

func (*DataViewResponseObjectDataView) HasAllowNoIndex

func (o *DataViewResponseObjectDataView) HasAllowNoIndex() bool

HasAllowNoIndex returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasFieldAttrs

func (o *DataViewResponseObjectDataView) HasFieldAttrs() bool

HasFieldAttrs returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasFieldFormats

func (o *DataViewResponseObjectDataView) HasFieldFormats() bool

HasFieldFormats returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasFields

func (o *DataViewResponseObjectDataView) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasId

HasId returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasName

func (o *DataViewResponseObjectDataView) HasName() bool

HasName returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasNamespaces

func (o *DataViewResponseObjectDataView) HasNamespaces() bool

HasNamespaces returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasRuntimeFieldMap

func (o *DataViewResponseObjectDataView) HasRuntimeFieldMap() bool

HasRuntimeFieldMap returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasSourceFilters

func (o *DataViewResponseObjectDataView) HasSourceFilters() bool

HasSourceFilters returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasTimeFieldName

func (o *DataViewResponseObjectDataView) HasTimeFieldName() bool

HasTimeFieldName returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasTitle

func (o *DataViewResponseObjectDataView) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasTypeMeta

func (o *DataViewResponseObjectDataView) HasTypeMeta() bool

HasTypeMeta returns a boolean if a field has been set.

func (*DataViewResponseObjectDataView) HasVersion

func (o *DataViewResponseObjectDataView) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (DataViewResponseObjectDataView) MarshalJSON

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

func (*DataViewResponseObjectDataView) SetAllowNoIndex

func (o *DataViewResponseObjectDataView) SetAllowNoIndex(v bool)

SetAllowNoIndex gets a reference to the given bool and assigns it to the AllowNoIndex field.

func (*DataViewResponseObjectDataView) SetFieldAttrs

func (o *DataViewResponseObjectDataView) SetFieldAttrs(v map[string]interface{})

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

func (*DataViewResponseObjectDataView) SetFieldFormats

func (o *DataViewResponseObjectDataView) SetFieldFormats(v map[string]interface{})

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

func (*DataViewResponseObjectDataView) SetFields

func (o *DataViewResponseObjectDataView) SetFields(v map[string]interface{})

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

func (*DataViewResponseObjectDataView) SetId

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

func (*DataViewResponseObjectDataView) SetName

func (o *DataViewResponseObjectDataView) SetName(v string)

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

func (*DataViewResponseObjectDataView) SetNamespaces

func (o *DataViewResponseObjectDataView) SetNamespaces(v []string)

SetNamespaces gets a reference to the given []string and assigns it to the Namespaces field.

func (*DataViewResponseObjectDataView) SetRuntimeFieldMap

func (o *DataViewResponseObjectDataView) SetRuntimeFieldMap(v map[string]interface{})

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

func (*DataViewResponseObjectDataView) SetSourceFilters

func (o *DataViewResponseObjectDataView) SetSourceFilters(v []SourcefiltersInner)

SetSourceFilters gets a reference to the given []SourcefiltersInner and assigns it to the SourceFilters field.

func (*DataViewResponseObjectDataView) SetTimeFieldName

func (o *DataViewResponseObjectDataView) SetTimeFieldName(v string)

SetTimeFieldName gets a reference to the given string and assigns it to the TimeFieldName field.

func (*DataViewResponseObjectDataView) SetTitle

func (o *DataViewResponseObjectDataView) SetTitle(v string)

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

func (*DataViewResponseObjectDataView) SetTypeMeta

func (o *DataViewResponseObjectDataView) SetTypeMeta(v map[string]interface{})

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

func (*DataViewResponseObjectDataView) SetVersion

func (o *DataViewResponseObjectDataView) SetVersion(v string)

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

func (DataViewResponseObjectDataView) ToMap

func (o DataViewResponseObjectDataView) ToMap() (map[string]interface{}, error)

type DataViewsAPI

type DataViewsAPI interface {

	/*
		CreateDataView Creates a data view.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiCreateDataViewRequest
	*/
	CreateDataView(ctx context.Context, spaceId string) ApiCreateDataViewRequest

	// CreateDataViewExecute executes the request
	//  @return DataViewResponseObject
	CreateDataViewExecute(r ApiCreateDataViewRequest) (*DataViewResponseObject, *http.Response, error)

	/*
		CreateRuntimeField Creates a runtime field.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiCreateRuntimeFieldRequest
	*/
	CreateRuntimeField(ctx context.Context, viewId string, spaceId string) ApiCreateRuntimeFieldRequest

	// CreateRuntimeFieldExecute executes the request
	CreateRuntimeFieldExecute(r ApiCreateRuntimeFieldRequest) (*http.Response, error)

	/*
		CreateUpdateRuntimeField Create or update an existing runtime field.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param viewId The ID of the data view fields you want to update.
		@return ApiCreateUpdateRuntimeFieldRequest
	*/
	CreateUpdateRuntimeField(ctx context.Context, spaceId string, viewId string) ApiCreateUpdateRuntimeFieldRequest

	// CreateUpdateRuntimeFieldExecute executes the request
	//  @return CreateUpdateRuntimeField200Response
	CreateUpdateRuntimeFieldExecute(r ApiCreateUpdateRuntimeFieldRequest) (*CreateUpdateRuntimeField200Response, *http.Response, error)

	/*
		DeleteDataView Deletes a data view.

		WARNING: When you delete a data view, it cannot be recovered. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiDeleteDataViewRequest
	*/
	DeleteDataView(ctx context.Context, viewId string, spaceId string) ApiDeleteDataViewRequest

	// DeleteDataViewExecute executes the request
	DeleteDataViewExecute(r ApiDeleteDataViewRequest) (*http.Response, error)

	/*
		DeleteRuntimeField Delete a runtime field from a data view.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param fieldName The name of the runtime field.
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiDeleteRuntimeFieldRequest
	*/
	DeleteRuntimeField(ctx context.Context, fieldName string, viewId string, spaceId string) ApiDeleteRuntimeFieldRequest

	// DeleteRuntimeFieldExecute executes the request
	DeleteRuntimeFieldExecute(r ApiDeleteRuntimeFieldRequest) (*http.Response, error)

	/*
		GetAllDataViews Retrieves a list of all data views.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiGetAllDataViewsRequest
	*/
	GetAllDataViews(ctx context.Context, spaceId string) ApiGetAllDataViewsRequest

	// GetAllDataViewsExecute executes the request
	//  @return GetAllDataViews200Response
	GetAllDataViewsExecute(r ApiGetAllDataViewsRequest) (*GetAllDataViews200Response, *http.Response, error)

	/*
		GetDataView Retrieves a single data view by identifier.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiGetDataViewRequest
	*/
	GetDataView(ctx context.Context, viewId string, spaceId string) ApiGetDataViewRequest

	// GetDataViewExecute executes the request
	//  @return DataViewResponseObject
	GetDataViewExecute(r ApiGetDataViewRequest) (*DataViewResponseObject, *http.Response, error)

	/*
		GetDefaultDataView Retrieves the default data view identifier.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiGetDefaultDataViewRequest
	*/
	GetDefaultDataView(ctx context.Context, spaceId string) ApiGetDefaultDataViewRequest

	// GetDefaultDataViewExecute executes the request
	//  @return GetDefaultDataView200Response
	GetDefaultDataViewExecute(r ApiGetDefaultDataViewRequest) (*GetDefaultDataView200Response, *http.Response, error)

	/*
		GetRuntimeField Retrieves a runtime field.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param fieldName The name of the runtime field.
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiGetRuntimeFieldRequest
	*/
	GetRuntimeField(ctx context.Context, fieldName string, viewId string, spaceId string) ApiGetRuntimeFieldRequest

	// GetRuntimeFieldExecute executes the request
	//  @return CreateUpdateRuntimeField200Response
	GetRuntimeFieldExecute(r ApiGetRuntimeFieldRequest) (*CreateUpdateRuntimeField200Response, *http.Response, error)

	/*
		SetDefaultDatailView Sets the default data view identifier.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiSetDefaultDatailViewRequest
	*/
	SetDefaultDatailView(ctx context.Context, spaceId string) ApiSetDefaultDatailViewRequest

	// SetDefaultDatailViewExecute executes the request
	//  @return SetDefaultDatailView200Response
	SetDefaultDatailViewExecute(r ApiSetDefaultDatailViewRequest) (*SetDefaultDatailView200Response, *http.Response, error)

	/*
		UpdateDataView Updates a data view.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiUpdateDataViewRequest
	*/
	UpdateDataView(ctx context.Context, viewId string, spaceId string) ApiUpdateDataViewRequest

	// UpdateDataViewExecute executes the request
	//  @return DataViewResponseObject
	UpdateDataViewExecute(r ApiUpdateDataViewRequest) (*DataViewResponseObject, *http.Response, error)

	/*
		UpdateFieldsMetadata Update fields presentation metadata such as count, customLabel and format.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. You can update multiple fields in one request. Updates are merged with persisted metadata. To remove existing metadata, specify null as the value.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiUpdateFieldsMetadataRequest
	*/
	UpdateFieldsMetadata(ctx context.Context, viewId string, spaceId string) ApiUpdateFieldsMetadataRequest

	// UpdateFieldsMetadataExecute executes the request
	//  @return SetDefaultDatailView200Response
	UpdateFieldsMetadataExecute(r ApiUpdateFieldsMetadataRequest) (*SetDefaultDatailView200Response, *http.Response, error)

	/*
		UpdateRuntimeField Update an existing runtime field.

		This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param fieldName The name of the runtime field.
		@param viewId An identifier for the data view.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiUpdateRuntimeFieldRequest
	*/
	UpdateRuntimeField(ctx context.Context, fieldName string, viewId string, spaceId string) ApiUpdateRuntimeFieldRequest

	// UpdateRuntimeFieldExecute executes the request
	UpdateRuntimeFieldExecute(r ApiUpdateRuntimeFieldRequest) (*http.Response, error)
}

type DataViewsAPIService

type DataViewsAPIService service

DataViewsAPIService DataViewsAPI service

func (*DataViewsAPIService) CreateDataView

func (a *DataViewsAPIService) CreateDataView(ctx context.Context, spaceId string) ApiCreateDataViewRequest

CreateDataView Creates a data view.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiCreateDataViewRequest

func (*DataViewsAPIService) CreateDataViewExecute

Execute executes the request

@return DataViewResponseObject

func (*DataViewsAPIService) CreateRuntimeField

func (a *DataViewsAPIService) CreateRuntimeField(ctx context.Context, viewId string, spaceId string) ApiCreateRuntimeFieldRequest

CreateRuntimeField Creates a runtime field.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiCreateRuntimeFieldRequest

func (*DataViewsAPIService) CreateRuntimeFieldExecute

func (a *DataViewsAPIService) CreateRuntimeFieldExecute(r ApiCreateRuntimeFieldRequest) (*http.Response, error)

Execute executes the request

func (*DataViewsAPIService) CreateUpdateRuntimeField

func (a *DataViewsAPIService) CreateUpdateRuntimeField(ctx context.Context, spaceId string, viewId string) ApiCreateUpdateRuntimeFieldRequest

CreateUpdateRuntimeField Create or update an existing runtime field.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param viewId The ID of the data view fields you want to update.
@return ApiCreateUpdateRuntimeFieldRequest

func (*DataViewsAPIService) CreateUpdateRuntimeFieldExecute

Execute executes the request

@return CreateUpdateRuntimeField200Response

func (*DataViewsAPIService) DeleteDataView

func (a *DataViewsAPIService) DeleteDataView(ctx context.Context, viewId string, spaceId string) ApiDeleteDataViewRequest

DeleteDataView Deletes a data view.

WARNING: When you delete a data view, it cannot be recovered. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiDeleteDataViewRequest

func (*DataViewsAPIService) DeleteDataViewExecute

func (a *DataViewsAPIService) DeleteDataViewExecute(r ApiDeleteDataViewRequest) (*http.Response, error)

Execute executes the request

func (*DataViewsAPIService) DeleteRuntimeField

func (a *DataViewsAPIService) DeleteRuntimeField(ctx context.Context, fieldName string, viewId string, spaceId string) ApiDeleteRuntimeFieldRequest

DeleteRuntimeField Delete a runtime field from a data view.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fieldName The name of the runtime field.
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiDeleteRuntimeFieldRequest

func (*DataViewsAPIService) DeleteRuntimeFieldExecute

func (a *DataViewsAPIService) DeleteRuntimeFieldExecute(r ApiDeleteRuntimeFieldRequest) (*http.Response, error)

Execute executes the request

func (*DataViewsAPIService) GetAllDataViews

func (a *DataViewsAPIService) GetAllDataViews(ctx context.Context, spaceId string) ApiGetAllDataViewsRequest

GetAllDataViews Retrieves a list of all data views.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiGetAllDataViewsRequest

func (*DataViewsAPIService) GetAllDataViewsExecute

Execute executes the request

@return GetAllDataViews200Response

func (*DataViewsAPIService) GetDataView

func (a *DataViewsAPIService) GetDataView(ctx context.Context, viewId string, spaceId string) ApiGetDataViewRequest

GetDataView Retrieves a single data view by identifier.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiGetDataViewRequest

func (*DataViewsAPIService) GetDataViewExecute

Execute executes the request

@return DataViewResponseObject

func (*DataViewsAPIService) GetDefaultDataView

func (a *DataViewsAPIService) GetDefaultDataView(ctx context.Context, spaceId string) ApiGetDefaultDataViewRequest

GetDefaultDataView Retrieves the default data view identifier.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiGetDefaultDataViewRequest

func (*DataViewsAPIService) GetDefaultDataViewExecute

Execute executes the request

@return GetDefaultDataView200Response

func (*DataViewsAPIService) GetRuntimeField

func (a *DataViewsAPIService) GetRuntimeField(ctx context.Context, fieldName string, viewId string, spaceId string) ApiGetRuntimeFieldRequest

GetRuntimeField Retrieves a runtime field.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fieldName The name of the runtime field.
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiGetRuntimeFieldRequest

func (*DataViewsAPIService) GetRuntimeFieldExecute

Execute executes the request

@return CreateUpdateRuntimeField200Response

func (*DataViewsAPIService) SetDefaultDatailView

func (a *DataViewsAPIService) SetDefaultDatailView(ctx context.Context, spaceId string) ApiSetDefaultDatailViewRequest

SetDefaultDatailView Sets the default data view identifier.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiSetDefaultDatailViewRequest

func (*DataViewsAPIService) SetDefaultDatailViewExecute

Execute executes the request

@return SetDefaultDatailView200Response

func (*DataViewsAPIService) UpdateDataView

func (a *DataViewsAPIService) UpdateDataView(ctx context.Context, viewId string, spaceId string) ApiUpdateDataViewRequest

UpdateDataView Updates a data view.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiUpdateDataViewRequest

func (*DataViewsAPIService) UpdateDataViewExecute

Execute executes the request

@return DataViewResponseObject

func (*DataViewsAPIService) UpdateFieldsMetadata

func (a *DataViewsAPIService) UpdateFieldsMetadata(ctx context.Context, viewId string, spaceId string) ApiUpdateFieldsMetadataRequest

UpdateFieldsMetadata Update fields presentation metadata such as count, customLabel and format.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. You can update multiple fields in one request. Updates are merged with persisted metadata. To remove existing metadata, specify null as the value.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiUpdateFieldsMetadataRequest

func (*DataViewsAPIService) UpdateFieldsMetadataExecute

Execute executes the request

@return SetDefaultDatailView200Response

func (*DataViewsAPIService) UpdateRuntimeField

func (a *DataViewsAPIService) UpdateRuntimeField(ctx context.Context, fieldName string, viewId string, spaceId string) ApiUpdateRuntimeFieldRequest

UpdateRuntimeField Update an existing runtime field.

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fieldName The name of the runtime field.
@param viewId An identifier for the data view.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiUpdateRuntimeFieldRequest

func (*DataViewsAPIService) UpdateRuntimeFieldExecute

func (a *DataViewsAPIService) UpdateRuntimeFieldExecute(r ApiUpdateRuntimeFieldRequest) (*http.Response, error)

Execute executes the request

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 GetAllDataViews200Response

type GetAllDataViews200Response struct {
	DataView []GetAllDataViews200ResponseDataViewInner `json:"data_view,omitempty"`
}

GetAllDataViews200Response struct for GetAllDataViews200Response

func NewGetAllDataViews200Response

func NewGetAllDataViews200Response() *GetAllDataViews200Response

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

func NewGetAllDataViews200ResponseWithDefaults

func NewGetAllDataViews200ResponseWithDefaults() *GetAllDataViews200Response

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

func (*GetAllDataViews200Response) GetDataView

GetDataView returns the DataView field value if set, zero value otherwise.

func (*GetAllDataViews200Response) GetDataViewOk

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

func (*GetAllDataViews200Response) HasDataView

func (o *GetAllDataViews200Response) HasDataView() bool

HasDataView returns a boolean if a field has been set.

func (GetAllDataViews200Response) MarshalJSON

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

func (*GetAllDataViews200Response) SetDataView

SetDataView gets a reference to the given []GetAllDataViews200ResponseDataViewInner and assigns it to the DataView field.

func (GetAllDataViews200Response) ToMap

func (o GetAllDataViews200Response) ToMap() (map[string]interface{}, error)

type GetAllDataViews200ResponseDataViewInner

type GetAllDataViews200ResponseDataViewInner struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Namespaces []string               `json:"namespaces,omitempty"`
	Title      *string                `json:"title,omitempty"`
	TypeMeta   map[string]interface{} `json:"typeMeta,omitempty"`
}

GetAllDataViews200ResponseDataViewInner struct for GetAllDataViews200ResponseDataViewInner

func NewGetAllDataViews200ResponseDataViewInner

func NewGetAllDataViews200ResponseDataViewInner() *GetAllDataViews200ResponseDataViewInner

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

func NewGetAllDataViews200ResponseDataViewInnerWithDefaults

func NewGetAllDataViews200ResponseDataViewInnerWithDefaults() *GetAllDataViews200ResponseDataViewInner

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

func (*GetAllDataViews200ResponseDataViewInner) GetId

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

func (*GetAllDataViews200ResponseDataViewInner) GetIdOk

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

func (*GetAllDataViews200ResponseDataViewInner) GetName

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

func (*GetAllDataViews200ResponseDataViewInner) GetNameOk

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

func (*GetAllDataViews200ResponseDataViewInner) GetNamespaces

func (o *GetAllDataViews200ResponseDataViewInner) GetNamespaces() []string

GetNamespaces returns the Namespaces field value if set, zero value otherwise.

func (*GetAllDataViews200ResponseDataViewInner) GetNamespacesOk

func (o *GetAllDataViews200ResponseDataViewInner) GetNamespacesOk() ([]string, bool)

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

func (*GetAllDataViews200ResponseDataViewInner) GetTitle

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

func (*GetAllDataViews200ResponseDataViewInner) GetTitleOk

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 (*GetAllDataViews200ResponseDataViewInner) GetTypeMeta

func (o *GetAllDataViews200ResponseDataViewInner) GetTypeMeta() map[string]interface{}

GetTypeMeta returns the TypeMeta field value if set, zero value otherwise.

func (*GetAllDataViews200ResponseDataViewInner) GetTypeMetaOk

func (o *GetAllDataViews200ResponseDataViewInner) GetTypeMetaOk() (map[string]interface{}, bool)

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

func (*GetAllDataViews200ResponseDataViewInner) HasId

HasId returns a boolean if a field has been set.

func (*GetAllDataViews200ResponseDataViewInner) HasName

HasName returns a boolean if a field has been set.

func (*GetAllDataViews200ResponseDataViewInner) HasNamespaces

func (o *GetAllDataViews200ResponseDataViewInner) HasNamespaces() bool

HasNamespaces returns a boolean if a field has been set.

func (*GetAllDataViews200ResponseDataViewInner) HasTitle

HasTitle returns a boolean if a field has been set.

func (*GetAllDataViews200ResponseDataViewInner) HasTypeMeta

HasTypeMeta returns a boolean if a field has been set.

func (GetAllDataViews200ResponseDataViewInner) MarshalJSON

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

func (*GetAllDataViews200ResponseDataViewInner) SetId

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

func (*GetAllDataViews200ResponseDataViewInner) SetName

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

func (*GetAllDataViews200ResponseDataViewInner) SetNamespaces

func (o *GetAllDataViews200ResponseDataViewInner) SetNamespaces(v []string)

SetNamespaces gets a reference to the given []string and assigns it to the Namespaces field.

func (*GetAllDataViews200ResponseDataViewInner) SetTitle

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

func (*GetAllDataViews200ResponseDataViewInner) SetTypeMeta

func (o *GetAllDataViews200ResponseDataViewInner) SetTypeMeta(v map[string]interface{})

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

func (GetAllDataViews200ResponseDataViewInner) ToMap

func (o GetAllDataViews200ResponseDataViewInner) ToMap() (map[string]interface{}, error)

type GetDefaultDataView200Response

type GetDefaultDataView200Response struct {
	DataViewId *string `json:"data_view_id,omitempty"`
}

GetDefaultDataView200Response struct for GetDefaultDataView200Response

func NewGetDefaultDataView200Response

func NewGetDefaultDataView200Response() *GetDefaultDataView200Response

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

func NewGetDefaultDataView200ResponseWithDefaults

func NewGetDefaultDataView200ResponseWithDefaults() *GetDefaultDataView200Response

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

func (*GetDefaultDataView200Response) GetDataViewId

func (o *GetDefaultDataView200Response) GetDataViewId() string

GetDataViewId returns the DataViewId field value if set, zero value otherwise.

func (*GetDefaultDataView200Response) GetDataViewIdOk

func (o *GetDefaultDataView200Response) GetDataViewIdOk() (*string, bool)

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

func (*GetDefaultDataView200Response) HasDataViewId

func (o *GetDefaultDataView200Response) HasDataViewId() bool

HasDataViewId returns a boolean if a field has been set.

func (GetDefaultDataView200Response) MarshalJSON

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

func (*GetDefaultDataView200Response) SetDataViewId

func (o *GetDefaultDataView200Response) SetDataViewId(v string)

SetDataViewId gets a reference to the given string and assigns it to the DataViewId field.

func (GetDefaultDataView200Response) ToMap

func (o GetDefaultDataView200Response) ToMap() (map[string]interface{}, error)

type GetRuntimeField200Response

type GetRuntimeField200Response struct {
	DataView map[string]interface{}   `json:"data_view,omitempty"`
	Fields   []map[string]interface{} `json:"fields,omitempty"`
}

GetRuntimeField200Response struct for GetRuntimeField200Response

func NewGetRuntimeField200Response

func NewGetRuntimeField200Response() *GetRuntimeField200Response

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

func NewGetRuntimeField200ResponseWithDefaults

func NewGetRuntimeField200ResponseWithDefaults() *GetRuntimeField200Response

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

func (*GetRuntimeField200Response) GetDataView

func (o *GetRuntimeField200Response) GetDataView() map[string]interface{}

GetDataView returns the DataView field value if set, zero value otherwise.

func (*GetRuntimeField200Response) GetDataViewOk

func (o *GetRuntimeField200Response) GetDataViewOk() (map[string]interface{}, bool)

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

func (*GetRuntimeField200Response) GetFields

func (o *GetRuntimeField200Response) GetFields() []map[string]interface{}

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

func (*GetRuntimeField200Response) GetFieldsOk

func (o *GetRuntimeField200Response) GetFieldsOk() ([]map[string]interface{}, 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 (*GetRuntimeField200Response) HasDataView

func (o *GetRuntimeField200Response) HasDataView() bool

HasDataView returns a boolean if a field has been set.

func (*GetRuntimeField200Response) HasFields

func (o *GetRuntimeField200Response) HasFields() bool

HasFields returns a boolean if a field has been set.

func (GetRuntimeField200Response) MarshalJSON

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

func (*GetRuntimeField200Response) SetDataView

func (o *GetRuntimeField200Response) SetDataView(v map[string]interface{})

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

func (*GetRuntimeField200Response) SetFields

func (o *GetRuntimeField200Response) SetFields(v []map[string]interface{})

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

func (GetRuntimeField200Response) ToMap

func (o GetRuntimeField200Response) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Model400Response

type Model400Response struct {
	StatusCode float32 `json:"statusCode"`
	Error      string  `json:"error"`
	Message    string  `json:"message"`
}

Model400Response struct for Model400Response

func NewModel400Response

func NewModel400Response(statusCode float32, error_ string, message string) *Model400Response

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

func NewModel400ResponseWithDefaults

func NewModel400ResponseWithDefaults() *Model400Response

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

func (*Model400Response) GetError

func (o *Model400Response) GetError() string

GetError returns the Error field value

func (*Model400Response) GetErrorOk

func (o *Model400Response) GetErrorOk() (*string, bool)

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

func (*Model400Response) GetMessage

func (o *Model400Response) GetMessage() string

GetMessage returns the Message field value

func (*Model400Response) GetMessageOk

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

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

func (*Model400Response) GetStatusCode

func (o *Model400Response) GetStatusCode() float32

GetStatusCode returns the StatusCode field value

func (*Model400Response) GetStatusCodeOk

func (o *Model400Response) GetStatusCodeOk() (*float32, bool)

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

func (Model400Response) MarshalJSON

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

func (*Model400Response) SetError

func (o *Model400Response) SetError(v string)

SetError sets field value

func (*Model400Response) SetMessage

func (o *Model400Response) SetMessage(v string)

SetMessage sets field value

func (*Model400Response) SetStatusCode

func (o *Model400Response) SetStatusCode(v float32)

SetStatusCode sets field value

func (Model400Response) ToMap

func (o Model400Response) ToMap() (map[string]interface{}, error)

type Model404Response

type Model404Response struct {
	Error      *string `json:"error,omitempty"`
	Message    *string `json:"message,omitempty"`
	StatusCode *int32  `json:"statusCode,omitempty"`
}

Model404Response struct for Model404Response

func NewModel404Response

func NewModel404Response() *Model404Response

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

func NewModel404ResponseWithDefaults

func NewModel404ResponseWithDefaults() *Model404Response

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

func (*Model404Response) GetError

func (o *Model404Response) GetError() string

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

func (*Model404Response) GetErrorOk

func (o *Model404Response) GetErrorOk() (*string, bool)

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

func (*Model404Response) GetMessage

func (o *Model404Response) GetMessage() string

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

func (*Model404Response) GetMessageOk

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

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

func (*Model404Response) GetStatusCode

func (o *Model404Response) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*Model404Response) GetStatusCodeOk

func (o *Model404Response) GetStatusCodeOk() (*int32, bool)

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

func (*Model404Response) HasError

func (o *Model404Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*Model404Response) HasMessage

func (o *Model404Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Model404Response) HasStatusCode

func (o *Model404Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (Model404Response) MarshalJSON

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

func (*Model404Response) SetError

func (o *Model404Response) SetError(v string)

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

func (*Model404Response) SetMessage

func (o *Model404Response) SetMessage(v string)

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

func (*Model404Response) SetStatusCode

func (o *Model404Response) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (Model404Response) ToMap

func (o Model404Response) ToMap() (map[string]interface{}, error)

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 NullableCreateDataViewRequestObject

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

func (NullableCreateDataViewRequestObject) Get

func (NullableCreateDataViewRequestObject) IsSet

func (NullableCreateDataViewRequestObject) MarshalJSON

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

func (*NullableCreateDataViewRequestObject) Set

func (*NullableCreateDataViewRequestObject) UnmarshalJSON

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

func (*NullableCreateDataViewRequestObject) Unset

type NullableCreateDataViewRequestObjectDataView

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

func (NullableCreateDataViewRequestObjectDataView) Get

func (NullableCreateDataViewRequestObjectDataView) IsSet

func (NullableCreateDataViewRequestObjectDataView) MarshalJSON

func (*NullableCreateDataViewRequestObjectDataView) Set

func (*NullableCreateDataViewRequestObjectDataView) UnmarshalJSON

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

func (*NullableCreateDataViewRequestObjectDataView) Unset

type NullableCreateRuntimeFieldRequest

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

func (NullableCreateRuntimeFieldRequest) Get

func (NullableCreateRuntimeFieldRequest) IsSet

func (NullableCreateRuntimeFieldRequest) MarshalJSON

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

func (*NullableCreateRuntimeFieldRequest) Set

func (*NullableCreateRuntimeFieldRequest) UnmarshalJSON

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

func (*NullableCreateRuntimeFieldRequest) Unset

type NullableCreateUpdateRuntimeField200Response

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

func (NullableCreateUpdateRuntimeField200Response) Get

func (NullableCreateUpdateRuntimeField200Response) IsSet

func (NullableCreateUpdateRuntimeField200Response) MarshalJSON

func (*NullableCreateUpdateRuntimeField200Response) Set

func (*NullableCreateUpdateRuntimeField200Response) UnmarshalJSON

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

func (*NullableCreateUpdateRuntimeField200Response) Unset

type NullableCreateUpdateRuntimeFieldRequest

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

func (NullableCreateUpdateRuntimeFieldRequest) Get

func (NullableCreateUpdateRuntimeFieldRequest) IsSet

func (NullableCreateUpdateRuntimeFieldRequest) MarshalJSON

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

func (*NullableCreateUpdateRuntimeFieldRequest) Set

func (*NullableCreateUpdateRuntimeFieldRequest) UnmarshalJSON

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

func (*NullableCreateUpdateRuntimeFieldRequest) Unset

type NullableDataViewResponseObject

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

func (NullableDataViewResponseObject) Get

func (NullableDataViewResponseObject) IsSet

func (NullableDataViewResponseObject) MarshalJSON

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

func (*NullableDataViewResponseObject) Set

func (*NullableDataViewResponseObject) UnmarshalJSON

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

func (*NullableDataViewResponseObject) Unset

func (v *NullableDataViewResponseObject) Unset()

type NullableDataViewResponseObjectDataView

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

func (NullableDataViewResponseObjectDataView) Get

func (NullableDataViewResponseObjectDataView) IsSet

func (NullableDataViewResponseObjectDataView) MarshalJSON

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

func (*NullableDataViewResponseObjectDataView) Set

func (*NullableDataViewResponseObjectDataView) UnmarshalJSON

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

func (*NullableDataViewResponseObjectDataView) 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 NullableGetAllDataViews200Response

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

func (NullableGetAllDataViews200Response) Get

func (NullableGetAllDataViews200Response) IsSet

func (NullableGetAllDataViews200Response) MarshalJSON

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

func (*NullableGetAllDataViews200Response) Set

func (*NullableGetAllDataViews200Response) UnmarshalJSON

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

func (*NullableGetAllDataViews200Response) Unset

type NullableGetAllDataViews200ResponseDataViewInner

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

func (NullableGetAllDataViews200ResponseDataViewInner) Get

func (NullableGetAllDataViews200ResponseDataViewInner) IsSet

func (NullableGetAllDataViews200ResponseDataViewInner) MarshalJSON

func (*NullableGetAllDataViews200ResponseDataViewInner) Set

func (*NullableGetAllDataViews200ResponseDataViewInner) UnmarshalJSON

func (*NullableGetAllDataViews200ResponseDataViewInner) Unset

type NullableGetDefaultDataView200Response

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

func (NullableGetDefaultDataView200Response) Get

func (NullableGetDefaultDataView200Response) IsSet

func (NullableGetDefaultDataView200Response) MarshalJSON

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

func (*NullableGetDefaultDataView200Response) Set

func (*NullableGetDefaultDataView200Response) UnmarshalJSON

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

func (*NullableGetDefaultDataView200Response) Unset

type NullableGetRuntimeField200Response

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

func (NullableGetRuntimeField200Response) Get

func (NullableGetRuntimeField200Response) IsSet

func (NullableGetRuntimeField200Response) MarshalJSON

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

func (*NullableGetRuntimeField200Response) Set

func (*NullableGetRuntimeField200Response) UnmarshalJSON

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

func (*NullableGetRuntimeField200Response) 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 NullableModel400Response

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

func NewNullableModel400Response

func NewNullableModel400Response(val *Model400Response) *NullableModel400Response

func (NullableModel400Response) Get

func (NullableModel400Response) IsSet

func (v NullableModel400Response) IsSet() bool

func (NullableModel400Response) MarshalJSON

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

func (*NullableModel400Response) Set

func (*NullableModel400Response) UnmarshalJSON

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

func (*NullableModel400Response) Unset

func (v *NullableModel400Response) Unset()

type NullableModel404Response

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

func NewNullableModel404Response

func NewNullableModel404Response(val *Model404Response) *NullableModel404Response

func (NullableModel404Response) Get

func (NullableModel404Response) IsSet

func (v NullableModel404Response) IsSet() bool

func (NullableModel404Response) MarshalJSON

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

func (*NullableModel404Response) Set

func (*NullableModel404Response) UnmarshalJSON

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

func (*NullableModel404Response) Unset

func (v *NullableModel404Response) Unset()

type NullableSetDefaultDatailView200Response added in v0.11.1

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

func NewNullableSetDefaultDatailView200Response added in v0.11.1

func NewNullableSetDefaultDatailView200Response(val *SetDefaultDatailView200Response) *NullableSetDefaultDatailView200Response

func (NullableSetDefaultDatailView200Response) Get added in v0.11.1

func (NullableSetDefaultDatailView200Response) IsSet added in v0.11.1

func (NullableSetDefaultDatailView200Response) MarshalJSON added in v0.11.1

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

func (*NullableSetDefaultDatailView200Response) Set added in v0.11.1

func (*NullableSetDefaultDatailView200Response) UnmarshalJSON added in v0.11.1

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

func (*NullableSetDefaultDatailView200Response) Unset added in v0.11.1

type NullableSetDefaultDatailViewRequest

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

func (NullableSetDefaultDatailViewRequest) Get

func (NullableSetDefaultDatailViewRequest) IsSet

func (NullableSetDefaultDatailViewRequest) MarshalJSON

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

func (*NullableSetDefaultDatailViewRequest) Set

func (*NullableSetDefaultDatailViewRequest) UnmarshalJSON

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

func (*NullableSetDefaultDatailViewRequest) Unset

type NullableSourcefiltersInner

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

func NewNullableSourcefiltersInner

func NewNullableSourcefiltersInner(val *SourcefiltersInner) *NullableSourcefiltersInner

func (NullableSourcefiltersInner) Get

func (NullableSourcefiltersInner) IsSet

func (v NullableSourcefiltersInner) IsSet() bool

func (NullableSourcefiltersInner) MarshalJSON

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

func (*NullableSourcefiltersInner) Set

func (*NullableSourcefiltersInner) UnmarshalJSON

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

func (*NullableSourcefiltersInner) Unset

func (v *NullableSourcefiltersInner) 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 NullableUpdateDataViewRequestObject

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

func (NullableUpdateDataViewRequestObject) Get

func (NullableUpdateDataViewRequestObject) IsSet

func (NullableUpdateDataViewRequestObject) MarshalJSON

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

func (*NullableUpdateDataViewRequestObject) Set

func (*NullableUpdateDataViewRequestObject) UnmarshalJSON

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

func (*NullableUpdateDataViewRequestObject) Unset

type NullableUpdateDataViewRequestObjectDataView

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

func (NullableUpdateDataViewRequestObjectDataView) Get

func (NullableUpdateDataViewRequestObjectDataView) IsSet

func (NullableUpdateDataViewRequestObjectDataView) MarshalJSON

func (*NullableUpdateDataViewRequestObjectDataView) Set

func (*NullableUpdateDataViewRequestObjectDataView) UnmarshalJSON

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

func (*NullableUpdateDataViewRequestObjectDataView) Unset

type NullableUpdateFieldsMetadata200Response

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

func (NullableUpdateFieldsMetadata200Response) Get

func (NullableUpdateFieldsMetadata200Response) IsSet

func (NullableUpdateFieldsMetadata200Response) MarshalJSON

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

func (*NullableUpdateFieldsMetadata200Response) Set

func (*NullableUpdateFieldsMetadata200Response) UnmarshalJSON

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

func (*NullableUpdateFieldsMetadata200Response) Unset

type NullableUpdateFieldsMetadataRequest

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

func (NullableUpdateFieldsMetadataRequest) Get

func (NullableUpdateFieldsMetadataRequest) IsSet

func (NullableUpdateFieldsMetadataRequest) MarshalJSON

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

func (*NullableUpdateFieldsMetadataRequest) Set

func (*NullableUpdateFieldsMetadataRequest) UnmarshalJSON

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

func (*NullableUpdateFieldsMetadataRequest) Unset

type NullableUpdateRuntimeFieldRequest

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

func (NullableUpdateRuntimeFieldRequest) Get

func (NullableUpdateRuntimeFieldRequest) IsSet

func (NullableUpdateRuntimeFieldRequest) MarshalJSON

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

func (*NullableUpdateRuntimeFieldRequest) Set

func (*NullableUpdateRuntimeFieldRequest) UnmarshalJSON

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

func (*NullableUpdateRuntimeFieldRequest) Unset

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type SetDefaultDatailView200Response added in v0.11.1

type SetDefaultDatailView200Response struct {
	Acknowledged *bool `json:"acknowledged,omitempty"`
}

SetDefaultDatailView200Response struct for SetDefaultDatailView200Response

func NewSetDefaultDatailView200Response added in v0.11.1

func NewSetDefaultDatailView200Response() *SetDefaultDatailView200Response

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

func NewSetDefaultDatailView200ResponseWithDefaults added in v0.11.1

func NewSetDefaultDatailView200ResponseWithDefaults() *SetDefaultDatailView200Response

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

func (*SetDefaultDatailView200Response) GetAcknowledged added in v0.11.1

func (o *SetDefaultDatailView200Response) GetAcknowledged() bool

GetAcknowledged returns the Acknowledged field value if set, zero value otherwise.

func (*SetDefaultDatailView200Response) GetAcknowledgedOk added in v0.11.1

func (o *SetDefaultDatailView200Response) GetAcknowledgedOk() (*bool, bool)

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

func (*SetDefaultDatailView200Response) HasAcknowledged added in v0.11.1

func (o *SetDefaultDatailView200Response) HasAcknowledged() bool

HasAcknowledged returns a boolean if a field has been set.

func (SetDefaultDatailView200Response) MarshalJSON added in v0.11.1

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

func (*SetDefaultDatailView200Response) SetAcknowledged added in v0.11.1

func (o *SetDefaultDatailView200Response) SetAcknowledged(v bool)

SetAcknowledged gets a reference to the given bool and assigns it to the Acknowledged field.

func (SetDefaultDatailView200Response) ToMap added in v0.11.1

func (o SetDefaultDatailView200Response) ToMap() (map[string]interface{}, error)

type SetDefaultDatailViewRequest

type SetDefaultDatailViewRequest struct {
	// The data view identifier. NOTE: The API does not validate whether it is a valid identifier. Use `null` to unset the default data view.
	DataViewId interface{} `json:"data_view_id"`
	// Update an existing default data view identifier.
	Force *bool `json:"force,omitempty"`
}

SetDefaultDatailViewRequest struct for SetDefaultDatailViewRequest

func NewSetDefaultDatailViewRequest

func NewSetDefaultDatailViewRequest(dataViewId interface{}) *SetDefaultDatailViewRequest

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

func NewSetDefaultDatailViewRequestWithDefaults

func NewSetDefaultDatailViewRequestWithDefaults() *SetDefaultDatailViewRequest

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

func (*SetDefaultDatailViewRequest) GetDataViewId

func (o *SetDefaultDatailViewRequest) GetDataViewId() interface{}

GetDataViewId returns the DataViewId field value If the value is explicit nil, the zero value for interface{} will be returned

func (*SetDefaultDatailViewRequest) GetDataViewIdOk

func (o *SetDefaultDatailViewRequest) GetDataViewIdOk() (*interface{}, bool)

GetDataViewIdOk returns a tuple with the DataViewId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SetDefaultDatailViewRequest) GetForce

func (o *SetDefaultDatailViewRequest) GetForce() bool

GetForce returns the Force field value if set, zero value otherwise.

func (*SetDefaultDatailViewRequest) GetForceOk

func (o *SetDefaultDatailViewRequest) GetForceOk() (*bool, bool)

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

func (*SetDefaultDatailViewRequest) HasForce

func (o *SetDefaultDatailViewRequest) HasForce() bool

HasForce returns a boolean if a field has been set.

func (SetDefaultDatailViewRequest) MarshalJSON

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

func (*SetDefaultDatailViewRequest) SetDataViewId

func (o *SetDefaultDatailViewRequest) SetDataViewId(v interface{})

SetDataViewId sets field value

func (*SetDefaultDatailViewRequest) SetForce

func (o *SetDefaultDatailViewRequest) SetForce(v bool)

SetForce gets a reference to the given bool and assigns it to the Force field.

func (SetDefaultDatailViewRequest) ToMap

func (o SetDefaultDatailViewRequest) ToMap() (map[string]interface{}, error)

type SourcefiltersInner

type SourcefiltersInner struct {
	Value string `json:"value"`
}

SourcefiltersInner struct for SourcefiltersInner

func NewSourcefiltersInner

func NewSourcefiltersInner(value string) *SourcefiltersInner

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

func NewSourcefiltersInnerWithDefaults

func NewSourcefiltersInnerWithDefaults() *SourcefiltersInner

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

func (*SourcefiltersInner) GetValue

func (o *SourcefiltersInner) GetValue() string

GetValue returns the Value field value

func (*SourcefiltersInner) GetValueOk

func (o *SourcefiltersInner) GetValueOk() (*string, bool)

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

func (SourcefiltersInner) MarshalJSON

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

func (*SourcefiltersInner) SetValue

func (o *SourcefiltersInner) SetValue(v string)

SetValue sets field value

func (SourcefiltersInner) ToMap

func (o SourcefiltersInner) ToMap() (map[string]interface{}, error)

type UpdateDataViewRequestObject

type UpdateDataViewRequestObject struct {
	DataView UpdateDataViewRequestObjectDataView `json:"data_view"`
	// Reloads the data view fields after the data view is updated.
	RefreshFields *bool `json:"refresh_fields,omitempty"`
}

UpdateDataViewRequestObject struct for UpdateDataViewRequestObject

func NewUpdateDataViewRequestObject

func NewUpdateDataViewRequestObject(dataView UpdateDataViewRequestObjectDataView) *UpdateDataViewRequestObject

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

func NewUpdateDataViewRequestObjectWithDefaults

func NewUpdateDataViewRequestObjectWithDefaults() *UpdateDataViewRequestObject

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

func (*UpdateDataViewRequestObject) GetDataView

GetDataView returns the DataView field value

func (*UpdateDataViewRequestObject) GetDataViewOk

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

func (*UpdateDataViewRequestObject) GetRefreshFields

func (o *UpdateDataViewRequestObject) GetRefreshFields() bool

GetRefreshFields returns the RefreshFields field value if set, zero value otherwise.

func (*UpdateDataViewRequestObject) GetRefreshFieldsOk

func (o *UpdateDataViewRequestObject) GetRefreshFieldsOk() (*bool, bool)

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

func (*UpdateDataViewRequestObject) HasRefreshFields

func (o *UpdateDataViewRequestObject) HasRefreshFields() bool

HasRefreshFields returns a boolean if a field has been set.

func (UpdateDataViewRequestObject) MarshalJSON

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

func (*UpdateDataViewRequestObject) SetDataView

SetDataView sets field value

func (*UpdateDataViewRequestObject) SetRefreshFields

func (o *UpdateDataViewRequestObject) SetRefreshFields(v bool)

SetRefreshFields gets a reference to the given bool and assigns it to the RefreshFields field.

func (UpdateDataViewRequestObject) ToMap

func (o UpdateDataViewRequestObject) ToMap() (map[string]interface{}, error)

type UpdateDataViewRequestObjectDataView

type UpdateDataViewRequestObjectDataView struct {
	// Allows the data view saved object to exist before the data is available.
	AllowNoIndex *bool `json:"allowNoIndex,omitempty"`
	// A map of field formats by field name.
	FieldFormats map[string]interface{} `json:"fieldFormats,omitempty"`
	Fields       map[string]interface{} `json:"fields,omitempty"`
	Name         *string                `json:"name,omitempty"`
	// A map of runtime field definitions by field name.
	RuntimeFieldMap map[string]interface{} `json:"runtimeFieldMap,omitempty"`
	// The array of field names you want to filter out in Discover.
	SourceFilters []SourcefiltersInner `json:"sourceFilters,omitempty"`
	// The timestamp field name, which you use for time-based data views.
	TimeFieldName *string `json:"timeFieldName,omitempty"`
	// Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (`*`).
	Title *string `json:"title,omitempty"`
	// When set to `rollup`, identifies the rollup data views.
	Type *string `json:"type,omitempty"`
	// When you use rollup indices, contains the field list for the rollup data view API endpoints.
	TypeMeta map[string]interface{} `json:"typeMeta,omitempty"`
}

UpdateDataViewRequestObjectDataView The data view properties you want to update. Only the specified properties are updated in the data view. Unspecified fields stay as they are persisted.

func NewUpdateDataViewRequestObjectDataView

func NewUpdateDataViewRequestObjectDataView() *UpdateDataViewRequestObjectDataView

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

func NewUpdateDataViewRequestObjectDataViewWithDefaults

func NewUpdateDataViewRequestObjectDataViewWithDefaults() *UpdateDataViewRequestObjectDataView

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

func (*UpdateDataViewRequestObjectDataView) GetAllowNoIndex

func (o *UpdateDataViewRequestObjectDataView) GetAllowNoIndex() bool

GetAllowNoIndex returns the AllowNoIndex field value if set, zero value otherwise.

func (*UpdateDataViewRequestObjectDataView) GetAllowNoIndexOk

func (o *UpdateDataViewRequestObjectDataView) GetAllowNoIndexOk() (*bool, bool)

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

func (*UpdateDataViewRequestObjectDataView) GetFieldFormats

func (o *UpdateDataViewRequestObjectDataView) GetFieldFormats() map[string]interface{}

GetFieldFormats returns the FieldFormats field value if set, zero value otherwise.

func (*UpdateDataViewRequestObjectDataView) GetFieldFormatsOk

func (o *UpdateDataViewRequestObjectDataView) GetFieldFormatsOk() (map[string]interface{}, bool)

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

func (*UpdateDataViewRequestObjectDataView) GetFields

func (o *UpdateDataViewRequestObjectDataView) GetFields() map[string]interface{}

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

func (*UpdateDataViewRequestObjectDataView) GetFieldsOk

func (o *UpdateDataViewRequestObjectDataView) GetFieldsOk() (map[string]interface{}, 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 (*UpdateDataViewRequestObjectDataView) GetName

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

func (*UpdateDataViewRequestObjectDataView) GetNameOk

func (o *UpdateDataViewRequestObjectDataView) 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 (*UpdateDataViewRequestObjectDataView) GetRuntimeFieldMap

func (o *UpdateDataViewRequestObjectDataView) GetRuntimeFieldMap() map[string]interface{}

GetRuntimeFieldMap returns the RuntimeFieldMap field value if set, zero value otherwise.

func (*UpdateDataViewRequestObjectDataView) GetRuntimeFieldMapOk

func (o *UpdateDataViewRequestObjectDataView) GetRuntimeFieldMapOk() (map[string]interface{}, bool)

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

func (*UpdateDataViewRequestObjectDataView) GetSourceFilters

GetSourceFilters returns the SourceFilters field value if set, zero value otherwise.

func (*UpdateDataViewRequestObjectDataView) GetSourceFiltersOk

func (o *UpdateDataViewRequestObjectDataView) GetSourceFiltersOk() ([]SourcefiltersInner, bool)

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

func (*UpdateDataViewRequestObjectDataView) GetTimeFieldName

func (o *UpdateDataViewRequestObjectDataView) GetTimeFieldName() string

GetTimeFieldName returns the TimeFieldName field value if set, zero value otherwise.

func (*UpdateDataViewRequestObjectDataView) GetTimeFieldNameOk

func (o *UpdateDataViewRequestObjectDataView) GetTimeFieldNameOk() (*string, bool)

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

func (*UpdateDataViewRequestObjectDataView) GetTitle

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

func (*UpdateDataViewRequestObjectDataView) GetTitleOk

func (o *UpdateDataViewRequestObjectDataView) 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 (*UpdateDataViewRequestObjectDataView) GetType

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

func (*UpdateDataViewRequestObjectDataView) GetTypeMeta

func (o *UpdateDataViewRequestObjectDataView) GetTypeMeta() map[string]interface{}

GetTypeMeta returns the TypeMeta field value if set, zero value otherwise.

func (*UpdateDataViewRequestObjectDataView) GetTypeMetaOk

func (o *UpdateDataViewRequestObjectDataView) GetTypeMetaOk() (map[string]interface{}, bool)

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

func (*UpdateDataViewRequestObjectDataView) GetTypeOk

func (o *UpdateDataViewRequestObjectDataView) 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 (*UpdateDataViewRequestObjectDataView) HasAllowNoIndex

func (o *UpdateDataViewRequestObjectDataView) HasAllowNoIndex() bool

HasAllowNoIndex returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasFieldFormats

func (o *UpdateDataViewRequestObjectDataView) HasFieldFormats() bool

HasFieldFormats returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasFields

HasFields returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasName

HasName returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasRuntimeFieldMap

func (o *UpdateDataViewRequestObjectDataView) HasRuntimeFieldMap() bool

HasRuntimeFieldMap returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasSourceFilters

func (o *UpdateDataViewRequestObjectDataView) HasSourceFilters() bool

HasSourceFilters returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasTimeFieldName

func (o *UpdateDataViewRequestObjectDataView) HasTimeFieldName() bool

HasTimeFieldName returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasTitle

HasTitle returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasType

HasType returns a boolean if a field has been set.

func (*UpdateDataViewRequestObjectDataView) HasTypeMeta

func (o *UpdateDataViewRequestObjectDataView) HasTypeMeta() bool

HasTypeMeta returns a boolean if a field has been set.

func (UpdateDataViewRequestObjectDataView) MarshalJSON

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

func (*UpdateDataViewRequestObjectDataView) SetAllowNoIndex

func (o *UpdateDataViewRequestObjectDataView) SetAllowNoIndex(v bool)

SetAllowNoIndex gets a reference to the given bool and assigns it to the AllowNoIndex field.

func (*UpdateDataViewRequestObjectDataView) SetFieldFormats

func (o *UpdateDataViewRequestObjectDataView) SetFieldFormats(v map[string]interface{})

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

func (*UpdateDataViewRequestObjectDataView) SetFields

func (o *UpdateDataViewRequestObjectDataView) SetFields(v map[string]interface{})

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

func (*UpdateDataViewRequestObjectDataView) SetName

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

func (*UpdateDataViewRequestObjectDataView) SetRuntimeFieldMap

func (o *UpdateDataViewRequestObjectDataView) SetRuntimeFieldMap(v map[string]interface{})

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

func (*UpdateDataViewRequestObjectDataView) SetSourceFilters

SetSourceFilters gets a reference to the given []SourcefiltersInner and assigns it to the SourceFilters field.

func (*UpdateDataViewRequestObjectDataView) SetTimeFieldName

func (o *UpdateDataViewRequestObjectDataView) SetTimeFieldName(v string)

SetTimeFieldName gets a reference to the given string and assigns it to the TimeFieldName field.

func (*UpdateDataViewRequestObjectDataView) SetTitle

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

func (*UpdateDataViewRequestObjectDataView) SetType

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

func (*UpdateDataViewRequestObjectDataView) SetTypeMeta

func (o *UpdateDataViewRequestObjectDataView) SetTypeMeta(v map[string]interface{})

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

func (UpdateDataViewRequestObjectDataView) ToMap

func (o UpdateDataViewRequestObjectDataView) ToMap() (map[string]interface{}, error)

type UpdateFieldsMetadata200Response

type UpdateFieldsMetadata200Response struct {
	Acknowledged *bool `json:"acknowledged,omitempty"`
}

UpdateFieldsMetadata200Response struct for UpdateFieldsMetadata200Response

func NewUpdateFieldsMetadata200Response

func NewUpdateFieldsMetadata200Response() *UpdateFieldsMetadata200Response

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

func NewUpdateFieldsMetadata200ResponseWithDefaults

func NewUpdateFieldsMetadata200ResponseWithDefaults() *UpdateFieldsMetadata200Response

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

func (*UpdateFieldsMetadata200Response) GetAcknowledged

func (o *UpdateFieldsMetadata200Response) GetAcknowledged() bool

GetAcknowledged returns the Acknowledged field value if set, zero value otherwise.

func (*UpdateFieldsMetadata200Response) GetAcknowledgedOk

func (o *UpdateFieldsMetadata200Response) GetAcknowledgedOk() (*bool, bool)

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

func (*UpdateFieldsMetadata200Response) HasAcknowledged

func (o *UpdateFieldsMetadata200Response) HasAcknowledged() bool

HasAcknowledged returns a boolean if a field has been set.

func (UpdateFieldsMetadata200Response) MarshalJSON

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

func (*UpdateFieldsMetadata200Response) SetAcknowledged

func (o *UpdateFieldsMetadata200Response) SetAcknowledged(v bool)

SetAcknowledged gets a reference to the given bool and assigns it to the Acknowledged field.

func (UpdateFieldsMetadata200Response) ToMap

func (o UpdateFieldsMetadata200Response) ToMap() (map[string]interface{}, error)

type UpdateFieldsMetadataRequest

type UpdateFieldsMetadataRequest struct {
	// The field object.
	Fields map[string]interface{} `json:"fields"`
}

UpdateFieldsMetadataRequest struct for UpdateFieldsMetadataRequest

func NewUpdateFieldsMetadataRequest

func NewUpdateFieldsMetadataRequest(fields map[string]interface{}) *UpdateFieldsMetadataRequest

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

func NewUpdateFieldsMetadataRequestWithDefaults

func NewUpdateFieldsMetadataRequestWithDefaults() *UpdateFieldsMetadataRequest

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

func (*UpdateFieldsMetadataRequest) GetFields

func (o *UpdateFieldsMetadataRequest) GetFields() map[string]interface{}

GetFields returns the Fields field value

func (*UpdateFieldsMetadataRequest) GetFieldsOk

func (o *UpdateFieldsMetadataRequest) GetFieldsOk() (map[string]interface{}, bool)

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

func (UpdateFieldsMetadataRequest) MarshalJSON

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

func (*UpdateFieldsMetadataRequest) SetFields

func (o *UpdateFieldsMetadataRequest) SetFields(v map[string]interface{})

SetFields sets field value

func (UpdateFieldsMetadataRequest) ToMap

func (o UpdateFieldsMetadataRequest) ToMap() (map[string]interface{}, error)

type UpdateRuntimeFieldRequest

type UpdateRuntimeFieldRequest struct {
	// The runtime field definition object.  You can update following fields:  - `type` - `script`
	RuntimeField map[string]interface{} `json:"runtimeField"`
}

UpdateRuntimeFieldRequest struct for UpdateRuntimeFieldRequest

func NewUpdateRuntimeFieldRequest

func NewUpdateRuntimeFieldRequest(runtimeField map[string]interface{}) *UpdateRuntimeFieldRequest

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

func NewUpdateRuntimeFieldRequestWithDefaults

func NewUpdateRuntimeFieldRequestWithDefaults() *UpdateRuntimeFieldRequest

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

func (*UpdateRuntimeFieldRequest) GetRuntimeField

func (o *UpdateRuntimeFieldRequest) GetRuntimeField() map[string]interface{}

GetRuntimeField returns the RuntimeField field value

func (*UpdateRuntimeFieldRequest) GetRuntimeFieldOk

func (o *UpdateRuntimeFieldRequest) GetRuntimeFieldOk() (map[string]interface{}, bool)

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

func (UpdateRuntimeFieldRequest) MarshalJSON

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

func (*UpdateRuntimeFieldRequest) SetRuntimeField

func (o *UpdateRuntimeFieldRequest) SetRuntimeField(v map[string]interface{})

SetRuntimeField sets field value

func (UpdateRuntimeFieldRequest) ToMap

func (o UpdateRuntimeFieldRequest) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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