api

package
v1.0.0-beta.11 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.12.2 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "BearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewAuthGetAccessTokenRequestWithBody

func NewAuthGetAccessTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAuthGetAccessTokenRequestWithBody generates requests for AuthGetAccessToken with any type of body

func NewHealthAPIHealthRequest

func NewHealthAPIHealthRequest(server string) (*http.Request, error)

NewHealthAPIHealthRequest generates requests for HealthAPIHealth

func NewManagementCreateApplicationRequest

func NewManagementCreateApplicationRequest(server string, body ManagementCreateApplicationJSONRequestBody) (*http.Request, error)

NewManagementCreateApplicationRequest calls the generic ManagementCreateApplication builder with application/json body

func NewManagementCreateApplicationRequestWithBody

func NewManagementCreateApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewManagementCreateApplicationRequestWithBody generates requests for ManagementCreateApplication with any type of body

func NewManagementCreateNamespaceRequest

func NewManagementCreateNamespaceRequest(server string, body ManagementCreateNamespaceJSONRequestBody) (*http.Request, error)

NewManagementCreateNamespaceRequest calls the generic ManagementCreateNamespace builder with application/json body

func NewManagementCreateNamespaceRequestWithBody

func NewManagementCreateNamespaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewManagementCreateNamespaceRequestWithBody generates requests for ManagementCreateNamespace with any type of body

func NewManagementDeleteApplicationRequest

func NewManagementDeleteApplicationRequest(server string, body ManagementDeleteApplicationJSONRequestBody) (*http.Request, error)

NewManagementDeleteApplicationRequest calls the generic ManagementDeleteApplication builder with application/json body

func NewManagementDeleteApplicationRequestWithBody

func NewManagementDeleteApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewManagementDeleteApplicationRequestWithBody generates requests for ManagementDeleteApplication with any type of body

func NewManagementDescribeNamespacesRequest

func NewManagementDescribeNamespacesRequest(server string) (*http.Request, error)

NewManagementDescribeNamespacesRequest generates requests for ManagementDescribeNamespaces

func NewManagementGetNamespaceMetadataRequest

func NewManagementGetNamespaceMetadataRequest(server string, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody) (*http.Request, error)

NewManagementGetNamespaceMetadataRequest calls the generic ManagementGetNamespaceMetadata builder with application/json body

func NewManagementGetNamespaceMetadataRequestWithBody

func NewManagementGetNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)

NewManagementGetNamespaceMetadataRequestWithBody generates requests for ManagementGetNamespaceMetadata with any type of body

func NewManagementGetUserMetadataRequest

func NewManagementGetUserMetadataRequest(server string, metadataKey string, body ManagementGetUserMetadataJSONRequestBody) (*http.Request, error)

NewManagementGetUserMetadataRequest calls the generic ManagementGetUserMetadata builder with application/json body

func NewManagementGetUserMetadataRequestWithBody

func NewManagementGetUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)

NewManagementGetUserMetadataRequestWithBody generates requests for ManagementGetUserMetadata with any type of body

func NewManagementInsertNamespaceMetadataRequest

func NewManagementInsertNamespaceMetadataRequest(server string, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody) (*http.Request, error)

NewManagementInsertNamespaceMetadataRequest calls the generic ManagementInsertNamespaceMetadata builder with application/json body

func NewManagementInsertNamespaceMetadataRequestWithBody

func NewManagementInsertNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)

NewManagementInsertNamespaceMetadataRequestWithBody generates requests for ManagementInsertNamespaceMetadata with any type of body

func NewManagementInsertUserMetadataRequest

func NewManagementInsertUserMetadataRequest(server string, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody) (*http.Request, error)

NewManagementInsertUserMetadataRequest calls the generic ManagementInsertUserMetadata builder with application/json body

func NewManagementInsertUserMetadataRequestWithBody

func NewManagementInsertUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)

NewManagementInsertUserMetadataRequestWithBody generates requests for ManagementInsertUserMetadata with any type of body

func NewManagementListApplicationsRequest

func NewManagementListApplicationsRequest(server string, body ManagementListApplicationsJSONRequestBody) (*http.Request, error)

NewManagementListApplicationsRequest calls the generic ManagementListApplications builder with application/json body

func NewManagementListApplicationsRequestWithBody

func NewManagementListApplicationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewManagementListApplicationsRequestWithBody generates requests for ManagementListApplications with any type of body

func NewManagementListNamespacesRequest

func NewManagementListNamespacesRequest(server string) (*http.Request, error)

NewManagementListNamespacesRequest generates requests for ManagementListNamespaces

func NewManagementRotateApplicationSecretRequest

func NewManagementRotateApplicationSecretRequest(server string, body ManagementRotateApplicationSecretJSONRequestBody) (*http.Request, error)

NewManagementRotateApplicationSecretRequest calls the generic ManagementRotateApplicationSecret builder with application/json body

func NewManagementRotateApplicationSecretRequestWithBody

func NewManagementRotateApplicationSecretRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewManagementRotateApplicationSecretRequestWithBody generates requests for ManagementRotateApplicationSecret with any type of body

func NewManagementUpdateApplicationRequest

func NewManagementUpdateApplicationRequest(server string, body ManagementUpdateApplicationJSONRequestBody) (*http.Request, error)

NewManagementUpdateApplicationRequest calls the generic ManagementUpdateApplication builder with application/json body

func NewManagementUpdateApplicationRequestWithBody

func NewManagementUpdateApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewManagementUpdateApplicationRequestWithBody generates requests for ManagementUpdateApplication with any type of body

func NewManagementUpdateNamespaceMetadataRequest

func NewManagementUpdateNamespaceMetadataRequest(server string, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody) (*http.Request, error)

NewManagementUpdateNamespaceMetadataRequest calls the generic ManagementUpdateNamespaceMetadata builder with application/json body

func NewManagementUpdateNamespaceMetadataRequestWithBody

func NewManagementUpdateNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)

NewManagementUpdateNamespaceMetadataRequestWithBody generates requests for ManagementUpdateNamespaceMetadata with any type of body

func NewManagementUpdateUserMetadataRequest

func NewManagementUpdateUserMetadataRequest(server string, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody) (*http.Request, error)

NewManagementUpdateUserMetadataRequest calls the generic ManagementUpdateUserMetadata builder with application/json body

func NewManagementUpdateUserMetadataRequestWithBody

func NewManagementUpdateUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)

NewManagementUpdateUserMetadataRequestWithBody generates requests for ManagementUpdateUserMetadata with any type of body

func NewObservabilityGetInfoRequest

func NewObservabilityGetInfoRequest(server string) (*http.Request, error)

NewObservabilityGetInfoRequest generates requests for ObservabilityGetInfo

func NewObservabilityQueryTimeSeriesMetricsRequest

func NewObservabilityQueryTimeSeriesMetricsRequest(server string, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody) (*http.Request, error)

NewObservabilityQueryTimeSeriesMetricsRequest calls the generic ObservabilityQueryTimeSeriesMetrics builder with application/json body

func NewObservabilityQueryTimeSeriesMetricsRequestWithBody

func NewObservabilityQueryTimeSeriesMetricsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewObservabilityQueryTimeSeriesMetricsRequestWithBody generates requests for ObservabilityQueryTimeSeriesMetrics with any type of body

func NewObservabilityQuotaLimitsRequest

func NewObservabilityQuotaLimitsRequest(server string, body ObservabilityQuotaLimitsJSONRequestBody) (*http.Request, error)

NewObservabilityQuotaLimitsRequest calls the generic ObservabilityQuotaLimits builder with application/json body

func NewObservabilityQuotaLimitsRequestWithBody

func NewObservabilityQuotaLimitsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewObservabilityQuotaLimitsRequestWithBody generates requests for ObservabilityQuotaLimits with any type of body

func NewObservabilityQuotaUsageRequest

func NewObservabilityQuotaUsageRequest(server string, body ObservabilityQuotaUsageJSONRequestBody) (*http.Request, error)

NewObservabilityQuotaUsageRequest calls the generic ObservabilityQuotaUsage builder with application/json body

func NewObservabilityQuotaUsageRequestWithBody

func NewObservabilityQuotaUsageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewObservabilityQuotaUsageRequestWithBody generates requests for ObservabilityQuotaUsage with any type of body

func NewTigrisBeginTransactionRequest

func NewTigrisBeginTransactionRequest(server string, db string, body TigrisBeginTransactionJSONRequestBody) (*http.Request, error)

NewTigrisBeginTransactionRequest calls the generic TigrisBeginTransaction builder with application/json body

func NewTigrisBeginTransactionRequestWithBody

func NewTigrisBeginTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisBeginTransactionRequestWithBody generates requests for TigrisBeginTransaction with any type of body

func NewTigrisCommitTransactionRequest

func NewTigrisCommitTransactionRequest(server string, db string, body TigrisCommitTransactionJSONRequestBody) (*http.Request, error)

NewTigrisCommitTransactionRequest calls the generic TigrisCommitTransaction builder with application/json body

func NewTigrisCommitTransactionRequestWithBody

func NewTigrisCommitTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisCommitTransactionRequestWithBody generates requests for TigrisCommitTransaction with any type of body

func NewTigrisCreateDatabaseRequest

func NewTigrisCreateDatabaseRequest(server string, db string, body TigrisCreateDatabaseJSONRequestBody) (*http.Request, error)

NewTigrisCreateDatabaseRequest calls the generic TigrisCreateDatabase builder with application/json body

func NewTigrisCreateDatabaseRequestWithBody

func NewTigrisCreateDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisCreateDatabaseRequestWithBody generates requests for TigrisCreateDatabase with any type of body

func NewTigrisCreateOrUpdateCollectionRequest

func NewTigrisCreateOrUpdateCollectionRequest(server string, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody) (*http.Request, error)

NewTigrisCreateOrUpdateCollectionRequest calls the generic TigrisCreateOrUpdateCollection builder with application/json body

func NewTigrisCreateOrUpdateCollectionRequestWithBody

func NewTigrisCreateOrUpdateCollectionRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisCreateOrUpdateCollectionRequestWithBody generates requests for TigrisCreateOrUpdateCollection with any type of body

func NewTigrisDeleteRequest

func NewTigrisDeleteRequest(server string, db string, collection string, body TigrisDeleteJSONRequestBody) (*http.Request, error)

NewTigrisDeleteRequest calls the generic TigrisDelete builder with application/json body

func NewTigrisDeleteRequestWithBody

func NewTigrisDeleteRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisDeleteRequestWithBody generates requests for TigrisDelete with any type of body

func NewTigrisDescribeCollectionRequest

func NewTigrisDescribeCollectionRequest(server string, db string, collection string, body TigrisDescribeCollectionJSONRequestBody) (*http.Request, error)

NewTigrisDescribeCollectionRequest calls the generic TigrisDescribeCollection builder with application/json body

func NewTigrisDescribeCollectionRequestWithBody

func NewTigrisDescribeCollectionRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisDescribeCollectionRequestWithBody generates requests for TigrisDescribeCollection with any type of body

func NewTigrisDescribeDatabaseRequest

func NewTigrisDescribeDatabaseRequest(server string, db string, body TigrisDescribeDatabaseJSONRequestBody) (*http.Request, error)

NewTigrisDescribeDatabaseRequest calls the generic TigrisDescribeDatabase builder with application/json body

func NewTigrisDescribeDatabaseRequestWithBody

func NewTigrisDescribeDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisDescribeDatabaseRequestWithBody generates requests for TigrisDescribeDatabase with any type of body

func NewTigrisDropCollectionRequest

func NewTigrisDropCollectionRequest(server string, db string, collection string, body TigrisDropCollectionJSONRequestBody) (*http.Request, error)

NewTigrisDropCollectionRequest calls the generic TigrisDropCollection builder with application/json body

func NewTigrisDropCollectionRequestWithBody

func NewTigrisDropCollectionRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisDropCollectionRequestWithBody generates requests for TigrisDropCollection with any type of body

func NewTigrisDropDatabaseRequest

func NewTigrisDropDatabaseRequest(server string, db string, body TigrisDropDatabaseJSONRequestBody) (*http.Request, error)

NewTigrisDropDatabaseRequest calls the generic TigrisDropDatabase builder with application/json body

func NewTigrisDropDatabaseRequestWithBody

func NewTigrisDropDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisDropDatabaseRequestWithBody generates requests for TigrisDropDatabase with any type of body

func NewTigrisInsertRequest

func NewTigrisInsertRequest(server string, db string, collection string, body TigrisInsertJSONRequestBody) (*http.Request, error)

NewTigrisInsertRequest calls the generic TigrisInsert builder with application/json body

func NewTigrisInsertRequestWithBody

func NewTigrisInsertRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisInsertRequestWithBody generates requests for TigrisInsert with any type of body

func NewTigrisListCollectionsRequest

func NewTigrisListCollectionsRequest(server string, db string, body TigrisListCollectionsJSONRequestBody) (*http.Request, error)

NewTigrisListCollectionsRequest calls the generic TigrisListCollections builder with application/json body

func NewTigrisListCollectionsRequestWithBody

func NewTigrisListCollectionsRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisListCollectionsRequestWithBody generates requests for TigrisListCollections with any type of body

func NewTigrisListDatabasesRequest

func NewTigrisListDatabasesRequest(server string) (*http.Request, error)

NewTigrisListDatabasesRequest generates requests for TigrisListDatabases

func NewTigrisPublishRequest

func NewTigrisPublishRequest(server string, db string, collection string, body TigrisPublishJSONRequestBody) (*http.Request, error)

NewTigrisPublishRequest calls the generic TigrisPublish builder with application/json body

func NewTigrisPublishRequestWithBody

func NewTigrisPublishRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisPublishRequestWithBody generates requests for TigrisPublish with any type of body

func NewTigrisReadRequest

func NewTigrisReadRequest(server string, db string, collection string, body TigrisReadJSONRequestBody) (*http.Request, error)

NewTigrisReadRequest calls the generic TigrisRead builder with application/json body

func NewTigrisReadRequestWithBody

func NewTigrisReadRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisReadRequestWithBody generates requests for TigrisRead with any type of body

func NewTigrisReplaceRequest

func NewTigrisReplaceRequest(server string, db string, collection string, body TigrisReplaceJSONRequestBody) (*http.Request, error)

NewTigrisReplaceRequest calls the generic TigrisReplace builder with application/json body

func NewTigrisReplaceRequestWithBody

func NewTigrisReplaceRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisReplaceRequestWithBody generates requests for TigrisReplace with any type of body

func NewTigrisRollbackTransactionRequest

func NewTigrisRollbackTransactionRequest(server string, db string, body TigrisRollbackTransactionJSONRequestBody) (*http.Request, error)

NewTigrisRollbackTransactionRequest calls the generic TigrisRollbackTransaction builder with application/json body

func NewTigrisRollbackTransactionRequestWithBody

func NewTigrisRollbackTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisRollbackTransactionRequestWithBody generates requests for TigrisRollbackTransaction with any type of body

func NewTigrisSearchRequest

func NewTigrisSearchRequest(server string, db string, collection string, body TigrisSearchJSONRequestBody) (*http.Request, error)

NewTigrisSearchRequest calls the generic TigrisSearch builder with application/json body

func NewTigrisSearchRequestWithBody

func NewTigrisSearchRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisSearchRequestWithBody generates requests for TigrisSearch with any type of body

func NewTigrisSubscribeRequest

func NewTigrisSubscribeRequest(server string, db string, collection string, body TigrisSubscribeJSONRequestBody) (*http.Request, error)

NewTigrisSubscribeRequest calls the generic TigrisSubscribe builder with application/json body

func NewTigrisSubscribeRequestWithBody

func NewTigrisSubscribeRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisSubscribeRequestWithBody generates requests for TigrisSubscribe with any type of body

func NewTigrisUpdateRequest

func NewTigrisUpdateRequest(server string, db string, collection string, body TigrisUpdateJSONRequestBody) (*http.Request, error)

NewTigrisUpdateRequest calls the generic TigrisUpdate builder with application/json body

func NewTigrisUpdateRequestWithBody

func NewTigrisUpdateRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisUpdateRequestWithBody generates requests for TigrisUpdate with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AdditionalFunction

type AdditionalFunction struct {
	// Rollup Rollup function aggregates the slices of metrics returned by original query and lets you operate on the slices using aggregator and constructs the bigger slice of your choice of interval (specified in seconds).
	Rollup *RollupFunction `json:"rollup,omitempty"`
}

AdditionalFunction Additional function to apply on metrics query

type Application

type Application struct {
	// CreatedAt Created at
	CreatedAt *int64 `json:"created_at,omitempty"`

	// CreatedBy Created by
	CreatedBy *string `json:"created_by,omitempty"`

	// Description A human readable app description
	Description *string `json:"description,omitempty"`

	// Id Generated client id
	Id *string `json:"id,omitempty"`

	// Name A human readable app name
	Name *string `json:"name,omitempty"`

	// Secret Generated app secret
	Secret *string `json:"secret,omitempty"`

	// UpdatedAt Updated at
	UpdatedAt *int64 `json:"updated_at,omitempty"`

	// UpdatedBy Updated by
	UpdatedBy *string `json:"updated_by,omitempty"`
}

Application An user application

type AuthGetAccessTokenResponse

type AuthGetAccessTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetAccessTokenResponse
	JSONDefault  *Status
}

func ParseAuthGetAccessTokenResponse

func ParseAuthGetAccessTokenResponse(rsp *http.Response) (*AuthGetAccessTokenResponse, error)

ParseAuthGetAccessTokenResponse parses an HTTP response from a AuthGetAccessTokenWithResponse call

func (AuthGetAccessTokenResponse) Status

Status returns HTTPResponse.Status

func (AuthGetAccessTokenResponse) StatusCode

func (r AuthGetAccessTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BeginTransactionRequest

type BeginTransactionRequest struct {
	// Options Options that can be used to modify the transaction semantics.
	Options *TransactionOptions `json:"options,omitempty"`
}

BeginTransactionRequest Start new transaction in database specified by "db".

type BeginTransactionResponse

type BeginTransactionResponse struct {
	// TxCtx Contains ID which uniquely identifies transaction This context is returned by BeginTransaction request and should be passed in the metadata (headers) of subsequent requests in order to run them in the context of the same transaction.
	TxCtx *TransactionCtx `json:"tx_ctx,omitempty"`
}

BeginTransactionResponse Start transaction returns transaction context which uniquely identifies the transaction

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AuthGetAccessTokenWithBody

func (c *Client) AuthGetAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HealthAPIHealth

func (c *Client) HealthAPIHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementCreateApplication

func (c *Client) ManagementCreateApplication(ctx context.Context, body ManagementCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementCreateApplicationWithBody

func (c *Client) ManagementCreateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementCreateNamespace

func (c *Client) ManagementCreateNamespace(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementCreateNamespaceWithBody

func (c *Client) ManagementCreateNamespaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementDeleteApplication

func (c *Client) ManagementDeleteApplication(ctx context.Context, body ManagementDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementDeleteApplicationWithBody

func (c *Client) ManagementDeleteApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementDescribeNamespaces

func (c *Client) ManagementDescribeNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementGetNamespaceMetadata

func (c *Client) ManagementGetNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementGetNamespaceMetadataWithBody

func (c *Client) ManagementGetNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementGetUserMetadata

func (c *Client) ManagementGetUserMetadata(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementGetUserMetadataWithBody

func (c *Client) ManagementGetUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementInsertNamespaceMetadata

func (c *Client) ManagementInsertNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementInsertNamespaceMetadataWithBody

func (c *Client) ManagementInsertNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementInsertUserMetadata

func (c *Client) ManagementInsertUserMetadata(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementInsertUserMetadataWithBody

func (c *Client) ManagementInsertUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementListApplications

func (c *Client) ManagementListApplications(ctx context.Context, body ManagementListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementListApplicationsWithBody

func (c *Client) ManagementListApplicationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementListNamespaces

func (c *Client) ManagementListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementRotateApplicationSecret

func (c *Client) ManagementRotateApplicationSecret(ctx context.Context, body ManagementRotateApplicationSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementRotateApplicationSecretWithBody

func (c *Client) ManagementRotateApplicationSecretWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementUpdateApplication

func (c *Client) ManagementUpdateApplication(ctx context.Context, body ManagementUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementUpdateApplicationWithBody

func (c *Client) ManagementUpdateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementUpdateNamespaceMetadata

func (c *Client) ManagementUpdateNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementUpdateNamespaceMetadataWithBody

func (c *Client) ManagementUpdateNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementUpdateUserMetadata

func (c *Client) ManagementUpdateUserMetadata(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementUpdateUserMetadataWithBody

func (c *Client) ManagementUpdateUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ObservabilityGetInfo

func (c *Client) ObservabilityGetInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ObservabilityQueryTimeSeriesMetrics

func (c *Client) ObservabilityQueryTimeSeriesMetrics(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ObservabilityQueryTimeSeriesMetricsWithBody

func (c *Client) ObservabilityQueryTimeSeriesMetricsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ObservabilityQuotaLimits

func (c *Client) ObservabilityQuotaLimits(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ObservabilityQuotaLimitsWithBody

func (c *Client) ObservabilityQuotaLimitsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ObservabilityQuotaUsage

func (c *Client) ObservabilityQuotaUsage(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ObservabilityQuotaUsageWithBody

func (c *Client) ObservabilityQuotaUsageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisBeginTransaction

func (c *Client) TigrisBeginTransaction(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisBeginTransactionWithBody

func (c *Client) TigrisBeginTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCommitTransaction

func (c *Client) TigrisCommitTransaction(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCommitTransactionWithBody

func (c *Client) TigrisCommitTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCreateDatabase

func (c *Client) TigrisCreateDatabase(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCreateDatabaseWithBody

func (c *Client) TigrisCreateDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCreateOrUpdateCollection

func (c *Client) TigrisCreateOrUpdateCollection(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCreateOrUpdateCollectionWithBody

func (c *Client) TigrisCreateOrUpdateCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDelete

func (c *Client) TigrisDelete(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDeleteWithBody

func (c *Client) TigrisDeleteWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDescribeCollection

func (c *Client) TigrisDescribeCollection(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDescribeCollectionWithBody

func (c *Client) TigrisDescribeCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDescribeDatabase

func (c *Client) TigrisDescribeDatabase(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDescribeDatabaseWithBody

func (c *Client) TigrisDescribeDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDropCollection

func (c *Client) TigrisDropCollection(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDropCollectionWithBody

func (c *Client) TigrisDropCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDropDatabase

func (c *Client) TigrisDropDatabase(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDropDatabaseWithBody

func (c *Client) TigrisDropDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisInsert

func (c *Client) TigrisInsert(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisInsertWithBody

func (c *Client) TigrisInsertWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisListCollections

func (c *Client) TigrisListCollections(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisListCollectionsWithBody

func (c *Client) TigrisListCollectionsWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisListDatabases

func (c *Client) TigrisListDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisPublish

func (c *Client) TigrisPublish(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisPublishWithBody

func (c *Client) TigrisPublishWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisRead

func (c *Client) TigrisRead(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisReadWithBody

func (c *Client) TigrisReadWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisReplace

func (c *Client) TigrisReplace(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisReplaceWithBody

func (c *Client) TigrisReplaceWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisRollbackTransaction

func (c *Client) TigrisRollbackTransaction(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisRollbackTransactionWithBody

func (c *Client) TigrisRollbackTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisSearch

func (c *Client) TigrisSearch(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisSearchWithBody

func (c *Client) TigrisSearchWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisSubscribe

func (c *Client) TigrisSubscribe(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisSubscribeWithBody

func (c *Client) TigrisSubscribeWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisUpdate

func (c *Client) TigrisUpdate(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisUpdateWithBody

func (c *Client) TigrisUpdateWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// AuthGetAccessToken request with any body
	AuthGetAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisListDatabases request
	TigrisListDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisListCollections request with any body
	TigrisListCollectionsWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisListCollections(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisCreateOrUpdateCollection request with any body
	TigrisCreateOrUpdateCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisCreateOrUpdateCollection(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisDescribeCollection request with any body
	TigrisDescribeCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisDescribeCollection(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisDelete request with any body
	TigrisDeleteWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisDelete(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisInsert request with any body
	TigrisInsertWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisInsert(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisRead request with any body
	TigrisReadWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisRead(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisReplace request with any body
	TigrisReplaceWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisReplace(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisSearch request with any body
	TigrisSearchWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisSearch(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisUpdate request with any body
	TigrisUpdateWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisUpdate(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisDropCollection request with any body
	TigrisDropCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisDropCollection(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisPublish request with any body
	TigrisPublishWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisPublish(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisSubscribe request with any body
	TigrisSubscribeWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisSubscribe(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisCreateDatabase request with any body
	TigrisCreateDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisCreateDatabase(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisDescribeDatabase request with any body
	TigrisDescribeDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisDescribeDatabase(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisDropDatabase request with any body
	TigrisDropDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisDropDatabase(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisBeginTransaction request with any body
	TigrisBeginTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisBeginTransaction(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisCommitTransaction request with any body
	TigrisCommitTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisCommitTransaction(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisRollbackTransaction request with any body
	TigrisRollbackTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisRollbackTransaction(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HealthAPIHealth request
	HealthAPIHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementCreateApplication request with any body
	ManagementCreateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementCreateApplication(ctx context.Context, body ManagementCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementDeleteApplication request with any body
	ManagementDeleteApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementDeleteApplication(ctx context.Context, body ManagementDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementListApplications request with any body
	ManagementListApplicationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementListApplications(ctx context.Context, body ManagementListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementRotateApplicationSecret request with any body
	ManagementRotateApplicationSecretWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementRotateApplicationSecret(ctx context.Context, body ManagementRotateApplicationSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementUpdateApplication request with any body
	ManagementUpdateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementUpdateApplication(ctx context.Context, body ManagementUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementGetNamespaceMetadata request with any body
	ManagementGetNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementGetNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementInsertNamespaceMetadata request with any body
	ManagementInsertNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementInsertNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementUpdateNamespaceMetadata request with any body
	ManagementUpdateNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementUpdateNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementCreateNamespace request with any body
	ManagementCreateNamespaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementCreateNamespace(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementDescribeNamespaces request
	ManagementDescribeNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementListNamespaces request
	ManagementListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementGetUserMetadata request with any body
	ManagementGetUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementGetUserMetadata(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementInsertUserMetadata request with any body
	ManagementInsertUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementInsertUserMetadata(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementUpdateUserMetadata request with any body
	ManagementUpdateUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ManagementUpdateUserMetadata(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityGetInfo request
	ObservabilityGetInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityQueryTimeSeriesMetrics request with any body
	ObservabilityQueryTimeSeriesMetricsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ObservabilityQueryTimeSeriesMetrics(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityQuotaLimits request with any body
	ObservabilityQuotaLimitsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ObservabilityQuotaLimits(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityQuotaUsage request with any body
	ObservabilityQuotaUsageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ObservabilityQuotaUsage(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AuthGetAccessTokenWithBodyWithResponse

func (c *ClientWithResponses) AuthGetAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error)

AuthGetAccessTokenWithBodyWithResponse request with arbitrary body returning *AuthGetAccessTokenResponse

func (*ClientWithResponses) HealthAPIHealthWithResponse

func (c *ClientWithResponses) HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error)

HealthAPIHealthWithResponse request returning *HealthAPIHealthResponse

func (*ClientWithResponses) ManagementCreateApplicationWithBodyWithResponse

func (c *ClientWithResponses) ManagementCreateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementCreateApplicationResponse, error)

ManagementCreateApplicationWithBodyWithResponse request with arbitrary body returning *ManagementCreateApplicationResponse

func (*ClientWithResponses) ManagementCreateApplicationWithResponse

func (c *ClientWithResponses) ManagementCreateApplicationWithResponse(ctx context.Context, body ManagementCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementCreateApplicationResponse, error)

func (*ClientWithResponses) ManagementCreateNamespaceWithBodyWithResponse

func (c *ClientWithResponses) ManagementCreateNamespaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error)

ManagementCreateNamespaceWithBodyWithResponse request with arbitrary body returning *ManagementCreateNamespaceResponse

func (*ClientWithResponses) ManagementCreateNamespaceWithResponse

func (c *ClientWithResponses) ManagementCreateNamespaceWithResponse(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error)

func (*ClientWithResponses) ManagementDeleteApplicationWithBodyWithResponse

func (c *ClientWithResponses) ManagementDeleteApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementDeleteApplicationResponse, error)

ManagementDeleteApplicationWithBodyWithResponse request with arbitrary body returning *ManagementDeleteApplicationResponse

func (*ClientWithResponses) ManagementDeleteApplicationWithResponse

func (c *ClientWithResponses) ManagementDeleteApplicationWithResponse(ctx context.Context, body ManagementDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementDeleteApplicationResponse, error)

func (*ClientWithResponses) ManagementDescribeNamespacesWithResponse

func (c *ClientWithResponses) ManagementDescribeNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementDescribeNamespacesResponse, error)

ManagementDescribeNamespacesWithResponse request returning *ManagementDescribeNamespacesResponse

func (*ClientWithResponses) ManagementGetNamespaceMetadataWithBodyWithResponse

func (c *ClientWithResponses) ManagementGetNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error)

ManagementGetNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementGetNamespaceMetadataResponse

func (*ClientWithResponses) ManagementGetNamespaceMetadataWithResponse

func (c *ClientWithResponses) ManagementGetNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error)

func (*ClientWithResponses) ManagementGetUserMetadataWithBodyWithResponse

func (c *ClientWithResponses) ManagementGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error)

ManagementGetUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementGetUserMetadataResponse

func (*ClientWithResponses) ManagementGetUserMetadataWithResponse

func (c *ClientWithResponses) ManagementGetUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error)

func (*ClientWithResponses) ManagementInsertNamespaceMetadataWithBodyWithResponse

func (c *ClientWithResponses) ManagementInsertNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error)

ManagementInsertNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementInsertNamespaceMetadataResponse

func (*ClientWithResponses) ManagementInsertNamespaceMetadataWithResponse

func (c *ClientWithResponses) ManagementInsertNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error)

func (*ClientWithResponses) ManagementInsertUserMetadataWithBodyWithResponse

func (c *ClientWithResponses) ManagementInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error)

ManagementInsertUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementInsertUserMetadataResponse

func (*ClientWithResponses) ManagementInsertUserMetadataWithResponse

func (c *ClientWithResponses) ManagementInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error)

func (*ClientWithResponses) ManagementListApplicationsWithBodyWithResponse

func (c *ClientWithResponses) ManagementListApplicationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementListApplicationsResponse, error)

ManagementListApplicationsWithBodyWithResponse request with arbitrary body returning *ManagementListApplicationsResponse

func (*ClientWithResponses) ManagementListApplicationsWithResponse

func (c *ClientWithResponses) ManagementListApplicationsWithResponse(ctx context.Context, body ManagementListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementListApplicationsResponse, error)

func (*ClientWithResponses) ManagementListNamespacesWithResponse

func (c *ClientWithResponses) ManagementListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementListNamespacesResponse, error)

ManagementListNamespacesWithResponse request returning *ManagementListNamespacesResponse

func (*ClientWithResponses) ManagementRotateApplicationSecretWithBodyWithResponse

func (c *ClientWithResponses) ManagementRotateApplicationSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementRotateApplicationSecretResponse, error)

ManagementRotateApplicationSecretWithBodyWithResponse request with arbitrary body returning *ManagementRotateApplicationSecretResponse

func (*ClientWithResponses) ManagementUpdateApplicationWithBodyWithResponse

func (c *ClientWithResponses) ManagementUpdateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateApplicationResponse, error)

ManagementUpdateApplicationWithBodyWithResponse request with arbitrary body returning *ManagementUpdateApplicationResponse

func (*ClientWithResponses) ManagementUpdateApplicationWithResponse

func (c *ClientWithResponses) ManagementUpdateApplicationWithResponse(ctx context.Context, body ManagementUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateApplicationResponse, error)

func (*ClientWithResponses) ManagementUpdateNamespaceMetadataWithBodyWithResponse

func (c *ClientWithResponses) ManagementUpdateNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error)

ManagementUpdateNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementUpdateNamespaceMetadataResponse

func (*ClientWithResponses) ManagementUpdateNamespaceMetadataWithResponse

func (c *ClientWithResponses) ManagementUpdateNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error)

func (*ClientWithResponses) ManagementUpdateUserMetadataWithBodyWithResponse

func (c *ClientWithResponses) ManagementUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error)

ManagementUpdateUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementUpdateUserMetadataResponse

func (*ClientWithResponses) ManagementUpdateUserMetadataWithResponse

func (c *ClientWithResponses) ManagementUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error)

func (*ClientWithResponses) ObservabilityGetInfoWithResponse

func (c *ClientWithResponses) ObservabilityGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ObservabilityGetInfoResponse, error)

ObservabilityGetInfoWithResponse request returning *ObservabilityGetInfoResponse

func (*ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse

func (c *ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQueryTimeSeriesMetricsResponse, error)

ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse request with arbitrary body returning *ObservabilityQueryTimeSeriesMetricsResponse

func (*ClientWithResponses) ObservabilityQuotaLimitsWithBodyWithResponse

func (c *ClientWithResponses) ObservabilityQuotaLimitsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error)

ObservabilityQuotaLimitsWithBodyWithResponse request with arbitrary body returning *ObservabilityQuotaLimitsResponse

func (*ClientWithResponses) ObservabilityQuotaLimitsWithResponse

func (c *ClientWithResponses) ObservabilityQuotaLimitsWithResponse(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error)

func (*ClientWithResponses) ObservabilityQuotaUsageWithBodyWithResponse

func (c *ClientWithResponses) ObservabilityQuotaUsageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error)

ObservabilityQuotaUsageWithBodyWithResponse request with arbitrary body returning *ObservabilityQuotaUsageResponse

func (*ClientWithResponses) ObservabilityQuotaUsageWithResponse

func (c *ClientWithResponses) ObservabilityQuotaUsageWithResponse(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error)

func (*ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse

func (c *ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)

TigrisBeginTransactionWithBodyWithResponse request with arbitrary body returning *TigrisBeginTransactionResponse

func (*ClientWithResponses) TigrisBeginTransactionWithResponse

func (c *ClientWithResponses) TigrisBeginTransactionWithResponse(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)

func (*ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse

func (c *ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)

TigrisCommitTransactionWithBodyWithResponse request with arbitrary body returning *TigrisCommitTransactionResponse

func (*ClientWithResponses) TigrisCommitTransactionWithResponse

func (c *ClientWithResponses) TigrisCommitTransactionWithResponse(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)

func (*ClientWithResponses) TigrisCreateDatabaseWithBodyWithResponse

func (c *ClientWithResponses) TigrisCreateDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error)

TigrisCreateDatabaseWithBodyWithResponse request with arbitrary body returning *TigrisCreateDatabaseResponse

func (*ClientWithResponses) TigrisCreateDatabaseWithResponse

func (c *ClientWithResponses) TigrisCreateDatabaseWithResponse(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error)

func (*ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse

func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)

TigrisCreateOrUpdateCollectionWithBodyWithResponse request with arbitrary body returning *TigrisCreateOrUpdateCollectionResponse

func (*ClientWithResponses) TigrisCreateOrUpdateCollectionWithResponse

func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)

func (*ClientWithResponses) TigrisDeleteWithBodyWithResponse

func (c *ClientWithResponses) TigrisDeleteWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)

TigrisDeleteWithBodyWithResponse request with arbitrary body returning *TigrisDeleteResponse

func (*ClientWithResponses) TigrisDeleteWithResponse

func (c *ClientWithResponses) TigrisDeleteWithResponse(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)

func (*ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse

func (c *ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)

TigrisDescribeCollectionWithBodyWithResponse request with arbitrary body returning *TigrisDescribeCollectionResponse

func (*ClientWithResponses) TigrisDescribeCollectionWithResponse

func (c *ClientWithResponses) TigrisDescribeCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)

func (*ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse

func (c *ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)

TigrisDescribeDatabaseWithBodyWithResponse request with arbitrary body returning *TigrisDescribeDatabaseResponse

func (*ClientWithResponses) TigrisDescribeDatabaseWithResponse

func (c *ClientWithResponses) TigrisDescribeDatabaseWithResponse(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)

func (*ClientWithResponses) TigrisDropCollectionWithBodyWithResponse

func (c *ClientWithResponses) TigrisDropCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)

TigrisDropCollectionWithBodyWithResponse request with arbitrary body returning *TigrisDropCollectionResponse

func (*ClientWithResponses) TigrisDropCollectionWithResponse

func (c *ClientWithResponses) TigrisDropCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)

func (*ClientWithResponses) TigrisDropDatabaseWithBodyWithResponse

func (c *ClientWithResponses) TigrisDropDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error)

TigrisDropDatabaseWithBodyWithResponse request with arbitrary body returning *TigrisDropDatabaseResponse

func (*ClientWithResponses) TigrisDropDatabaseWithResponse

func (c *ClientWithResponses) TigrisDropDatabaseWithResponse(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error)

func (*ClientWithResponses) TigrisInsertWithBodyWithResponse

func (c *ClientWithResponses) TigrisInsertWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)

TigrisInsertWithBodyWithResponse request with arbitrary body returning *TigrisInsertResponse

func (*ClientWithResponses) TigrisInsertWithResponse

func (c *ClientWithResponses) TigrisInsertWithResponse(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)

func (*ClientWithResponses) TigrisListCollectionsWithBodyWithResponse

func (c *ClientWithResponses) TigrisListCollectionsWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)

TigrisListCollectionsWithBodyWithResponse request with arbitrary body returning *TigrisListCollectionsResponse

func (*ClientWithResponses) TigrisListCollectionsWithResponse

func (c *ClientWithResponses) TigrisListCollectionsWithResponse(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)

func (*ClientWithResponses) TigrisListDatabasesWithResponse

func (c *ClientWithResponses) TigrisListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListDatabasesResponse, error)

TigrisListDatabasesWithResponse request returning *TigrisListDatabasesResponse

func (*ClientWithResponses) TigrisPublishWithBodyWithResponse

func (c *ClientWithResponses) TigrisPublishWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error)

TigrisPublishWithBodyWithResponse request with arbitrary body returning *TigrisPublishResponse

func (*ClientWithResponses) TigrisPublishWithResponse

func (c *ClientWithResponses) TigrisPublishWithResponse(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error)

func (*ClientWithResponses) TigrisReadWithBodyWithResponse

func (c *ClientWithResponses) TigrisReadWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)

TigrisReadWithBodyWithResponse request with arbitrary body returning *TigrisReadResponse

func (*ClientWithResponses) TigrisReadWithResponse

func (c *ClientWithResponses) TigrisReadWithResponse(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)

func (*ClientWithResponses) TigrisReplaceWithBodyWithResponse

func (c *ClientWithResponses) TigrisReplaceWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)

TigrisReplaceWithBodyWithResponse request with arbitrary body returning *TigrisReplaceResponse

func (*ClientWithResponses) TigrisReplaceWithResponse

func (c *ClientWithResponses) TigrisReplaceWithResponse(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)

func (*ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse

func (c *ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)

TigrisRollbackTransactionWithBodyWithResponse request with arbitrary body returning *TigrisRollbackTransactionResponse

func (*ClientWithResponses) TigrisRollbackTransactionWithResponse

func (c *ClientWithResponses) TigrisRollbackTransactionWithResponse(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)

func (*ClientWithResponses) TigrisSearchWithBodyWithResponse

func (c *ClientWithResponses) TigrisSearchWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)

TigrisSearchWithBodyWithResponse request with arbitrary body returning *TigrisSearchResponse

func (*ClientWithResponses) TigrisSearchWithResponse

func (c *ClientWithResponses) TigrisSearchWithResponse(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)

func (*ClientWithResponses) TigrisSubscribeWithBodyWithResponse

func (c *ClientWithResponses) TigrisSubscribeWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error)

TigrisSubscribeWithBodyWithResponse request with arbitrary body returning *TigrisSubscribeResponse

func (*ClientWithResponses) TigrisSubscribeWithResponse

func (c *ClientWithResponses) TigrisSubscribeWithResponse(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error)

func (*ClientWithResponses) TigrisUpdateWithBodyWithResponse

func (c *ClientWithResponses) TigrisUpdateWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error)

TigrisUpdateWithBodyWithResponse request with arbitrary body returning *TigrisUpdateResponse

func (*ClientWithResponses) TigrisUpdateWithResponse

func (c *ClientWithResponses) TigrisUpdateWithResponse(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// AuthGetAccessToken request with any body
	AuthGetAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error)

	// TigrisListDatabases request
	TigrisListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListDatabasesResponse, error)

	// TigrisListCollections request with any body
	TigrisListCollectionsWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)

	TigrisListCollectionsWithResponse(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)

	// TigrisCreateOrUpdateCollection request with any body
	TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)

	TigrisCreateOrUpdateCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)

	// TigrisDescribeCollection request with any body
	TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)

	TigrisDescribeCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)

	// TigrisDelete request with any body
	TigrisDeleteWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)

	TigrisDeleteWithResponse(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)

	// TigrisInsert request with any body
	TigrisInsertWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)

	TigrisInsertWithResponse(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)

	// TigrisRead request with any body
	TigrisReadWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)

	TigrisReadWithResponse(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)

	// TigrisReplace request with any body
	TigrisReplaceWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)

	TigrisReplaceWithResponse(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)

	// TigrisSearch request with any body
	TigrisSearchWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)

	TigrisSearchWithResponse(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)

	// TigrisUpdate request with any body
	TigrisUpdateWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error)

	TigrisUpdateWithResponse(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error)

	// TigrisDropCollection request with any body
	TigrisDropCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)

	TigrisDropCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)

	// TigrisPublish request with any body
	TigrisPublishWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error)

	TigrisPublishWithResponse(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error)

	// TigrisSubscribe request with any body
	TigrisSubscribeWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error)

	TigrisSubscribeWithResponse(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error)

	// TigrisCreateDatabase request with any body
	TigrisCreateDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error)

	TigrisCreateDatabaseWithResponse(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error)

	// TigrisDescribeDatabase request with any body
	TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)

	TigrisDescribeDatabaseWithResponse(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)

	// TigrisDropDatabase request with any body
	TigrisDropDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error)

	TigrisDropDatabaseWithResponse(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error)

	// TigrisBeginTransaction request with any body
	TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)

	TigrisBeginTransactionWithResponse(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)

	// TigrisCommitTransaction request with any body
	TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)

	TigrisCommitTransactionWithResponse(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)

	// TigrisRollbackTransaction request with any body
	TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)

	TigrisRollbackTransactionWithResponse(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)

	// HealthAPIHealth request
	HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error)

	// ManagementCreateApplication request with any body
	ManagementCreateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementCreateApplicationResponse, error)

	ManagementCreateApplicationWithResponse(ctx context.Context, body ManagementCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementCreateApplicationResponse, error)

	// ManagementDeleteApplication request with any body
	ManagementDeleteApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementDeleteApplicationResponse, error)

	ManagementDeleteApplicationWithResponse(ctx context.Context, body ManagementDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementDeleteApplicationResponse, error)

	// ManagementListApplications request with any body
	ManagementListApplicationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementListApplicationsResponse, error)

	ManagementListApplicationsWithResponse(ctx context.Context, body ManagementListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementListApplicationsResponse, error)

	// ManagementRotateApplicationSecret request with any body
	ManagementRotateApplicationSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementRotateApplicationSecretResponse, error)

	ManagementRotateApplicationSecretWithResponse(ctx context.Context, body ManagementRotateApplicationSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementRotateApplicationSecretResponse, error)

	// ManagementUpdateApplication request with any body
	ManagementUpdateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateApplicationResponse, error)

	ManagementUpdateApplicationWithResponse(ctx context.Context, body ManagementUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateApplicationResponse, error)

	// ManagementGetNamespaceMetadata request with any body
	ManagementGetNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error)

	ManagementGetNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error)

	// ManagementInsertNamespaceMetadata request with any body
	ManagementInsertNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error)

	ManagementInsertNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error)

	// ManagementUpdateNamespaceMetadata request with any body
	ManagementUpdateNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error)

	ManagementUpdateNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error)

	// ManagementCreateNamespace request with any body
	ManagementCreateNamespaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error)

	ManagementCreateNamespaceWithResponse(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error)

	// ManagementDescribeNamespaces request
	ManagementDescribeNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementDescribeNamespacesResponse, error)

	// ManagementListNamespaces request
	ManagementListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementListNamespacesResponse, error)

	// ManagementGetUserMetadata request with any body
	ManagementGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error)

	ManagementGetUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error)

	// ManagementInsertUserMetadata request with any body
	ManagementInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error)

	ManagementInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error)

	// ManagementUpdateUserMetadata request with any body
	ManagementUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error)

	ManagementUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error)

	// ObservabilityGetInfo request
	ObservabilityGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ObservabilityGetInfoResponse, error)

	// ObservabilityQueryTimeSeriesMetrics request with any body
	ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQueryTimeSeriesMetricsResponse, error)

	ObservabilityQueryTimeSeriesMetricsWithResponse(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQueryTimeSeriesMetricsResponse, error)

	// ObservabilityQuotaLimits request with any body
	ObservabilityQuotaLimitsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error)

	ObservabilityQuotaLimitsWithResponse(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error)

	// ObservabilityQuotaUsage request with any body
	ObservabilityQuotaUsageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error)

	ObservabilityQuotaUsageWithResponse(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Collation

type Collation struct {
	Case *string `json:"case,omitempty"`
}

Collation A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters.

type CollectionDescription

type CollectionDescription struct {
	// Collection Name of the collection.
	Collection *string             `json:"collection,omitempty"`
	Metadata   *CollectionMetadata `json:"metadata,omitempty"`

	// Schema Collections schema
	Schema json.RawMessage `json:"schema,omitempty"`

	// Size Collection size in bytes
	Size *int64 `json:"size,omitempty"`
}

CollectionDescription defines model for CollectionDescription.

type CollectionInfo

type CollectionInfo struct {
	// Collection Collection name.
	Collection *string             `json:"collection,omitempty"`
	Metadata   *CollectionMetadata `json:"metadata,omitempty"`
}

CollectionInfo defines model for CollectionInfo.

type CollectionMetadata

type CollectionMetadata = map[string]interface{}

CollectionMetadata defines model for CollectionMetadata.

type CollectionOptions

type CollectionOptions = map[string]interface{}

CollectionOptions Collection requests modifying options.

type CommitTransactionRequest

type CommitTransactionRequest = map[string]interface{}

CommitTransactionRequest Commit transaction with the given ID

type CommitTransactionResponse

type CommitTransactionResponse struct {
	// Status Status of commit transaction operation.
	Status *string `json:"status,omitempty"`
}

CommitTransactionResponse defines model for CommitTransactionResponse.

type CreateApplicationRequest

type CreateApplicationRequest struct {
	// Description A human readable app description
	Description *string `json:"description,omitempty"`

	// Name A human readable app name
	Name *string `json:"name,omitempty"`
}

CreateApplicationRequest Request creation of user application

type CreateApplicationResponse

type CreateApplicationResponse struct {
	// CreatedApplication An user application
	CreatedApplication *Application `json:"created_application,omitempty"`
}

CreateApplicationResponse CreateApplication returns created application

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	// Options Database requests modifying options.
	Options *DatabaseOptions `json:"options,omitempty"`
}

CreateDatabaseRequest defines model for CreateDatabaseRequest.

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	// Message A detailed response message.
	Message *string `json:"message,omitempty"`

	// Status An enum with value set as "created".
	Status *string `json:"status,omitempty"`
}

CreateDatabaseResponse defines model for CreateDatabaseResponse.

type CreateNamespaceRequest

type CreateNamespaceRequest struct {
	// Code Optional: unique id
	Code *uint32 `json:"code,omitempty"`

	// Id Optional: unique string id
	Id *string `json:"id,omitempty"`

	// Name Required: The display name for namespace.
	Name *string `json:"name,omitempty"`
}

CreateNamespaceRequest defines model for CreateNamespaceRequest.

type CreateNamespaceResponse

type CreateNamespaceResponse struct {
	// Message A detailed response message.
	Message   *string        `json:"message,omitempty"`
	Namespace *NamespaceInfo `json:"namespace,omitempty"`

	// Status An enum with value set as "created".
	Status *string `json:"status,omitempty"`
}

CreateNamespaceResponse defines model for CreateNamespaceResponse.

type CreateOrUpdateCollectionRequest

type CreateOrUpdateCollectionRequest struct {
	// OnlyCreate If set to `true` then the update schema request to the collection will fail by returning a conflict with HTTP Status code 409. The default is false.
	OnlyCreate *bool `json:"only_create,omitempty"`

	// Options Collection requests modifying options.
	Options *CollectionOptions `json:"options,omitempty"`

	// Schema The schema specifications are same as JSON schema specification defined <a href="https://json-schema.org/specification.html" title="here">here</a>. The schema of the `documents` collection differs from the schema of `topic` collection as `topic` collection does not have any concept of `primary_key`. The server recognizes type of the collection by the `collection_type` set in the schema.<p></p> Schema example of `documents`: `{  "title": "user",  "description": "Collection of documents with details of users",  "properties": {    "id": {      "description": "A unique identifier for the user",      "type": "integer"    },    "name": {      "description": "Name of the user",      "type": "string",      "maxLength": 100    },    "balance": {      "description": "User account balance",      "type": "number"    }  },  "primary_key": ["id"] }` <p></p>*Note: The `collection_type` is not set as default is documents.* <p></p>Schema example of `topic`: `{  "title": "user_events",  "description": "Topic for user events",  "properties": {    "event_id": {      "description": "A id for the event",      "type": "integer"    },    "event_type": {      "description": "Type of the Event",      "type": "string",      "maxLength": 100    }    "event_details": {      "description": "Details about the Event",      "type": "string"    }  },  "collection_type": "topic" }` <p></p> *Note: The `collection_type` is set as "topic".*
	Schema json.RawMessage `json:"schema,omitempty"`
}

CreateOrUpdateCollectionRequest defines model for CreateOrUpdateCollectionRequest.

type CreateOrUpdateCollectionResponse

type CreateOrUpdateCollectionResponse struct {
	// Message A detailed response message.
	Message *string `json:"message,omitempty"`

	// Status An enum with value set as "created" or "updated"
	Status *string `json:"status,omitempty"`
}

CreateOrUpdateCollectionResponse defines model for CreateOrUpdateCollectionResponse.

type DataPoint

type DataPoint struct {
	Timestamp *int64   `json:"timestamp,omitempty"`
	Value     *float64 `json:"value,omitempty"`
}

DataPoint Represents the data point in timeseries.

type DatabaseInfo

type DatabaseInfo struct {
	// Db Database name.
	Db       *string           `json:"db,omitempty"`
	Metadata *DatabaseMetadata `json:"metadata,omitempty"`
}

DatabaseInfo defines model for DatabaseInfo.

type DatabaseMetadata

type DatabaseMetadata = map[string]interface{}

DatabaseMetadata defines model for DatabaseMetadata.

type DatabaseOptions

type DatabaseOptions = map[string]interface{}

DatabaseOptions Database requests modifying options.

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
	// Deleted status flag for delete operation
	Deleted *bool `json:"deleted,omitempty"`
}

DeleteApplicationResponse DeleteApplication returns the flag to convey if application was deleted

type DeleteApplicationsRequest

type DeleteApplicationsRequest struct {
	// Id application id
	Id *string `json:"id,omitempty"`
}

DeleteApplicationsRequest Request deletion of an application

type DeleteRequest

type DeleteRequest struct {
	// Filter Delete documents which matching specified filter. A filter can simply be key, value where key is the field name and value would be the value for this field. Or a filter can be logical where two or more fields can be logically joined using $or and $and. A few examples of filter: <li> To delete a user document where the id has a value 1: “`{"id": 1 }“` <li> To delete all the user documents where the key "id" has a value 1 or 2 or 3: `{"$or": [{"id": 1}, {"id": 2}, {"id": 3}]}`
	Filter json.RawMessage `json:"filter,omitempty"`

	// Options Additional options for deleted requests.
	Options *DeleteRequestOptions `json:"options,omitempty"`
}

DeleteRequest defines model for DeleteRequest.

type DeleteRequestOptions

type DeleteRequestOptions struct {
	// Collation A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters.
	Collation *Collation `json:"collation,omitempty"`

	// Limit Limit the number of documents to be deleted
	Limit *int64 `json:"limit,omitempty"`

	// WriteOptions Additional options to modify write requests.
	WriteOptions *WriteOptions `json:"write_options,omitempty"`
}

DeleteRequestOptions Additional options for deleted requests.

type DeleteResponse

type DeleteResponse struct {
	// Metadata Has metadata related to the documents stored.
	Metadata *ResponseMetadata `json:"metadata,omitempty"`

	// Status an enum with value set as "deleted"
	Status *string `json:"status,omitempty"`
}

DeleteResponse defines model for DeleteResponse.

type DescribeCollectionRequest

type DescribeCollectionRequest struct {
	// Collection Name of the collection.
	Collection *string `json:"collection,omitempty"`

	// Db Name of the database.
	Db *string `json:"db,omitempty"`

	// Options Collection requests modifying options.
	Options *CollectionOptions `json:"options,omitempty"`

	// SchemaFormat Return schema in the requested format. Format can be JSON, Go, TypeScript, Java. Default is JSON.
	SchemaFormat *string `json:"schema_format,omitempty"`
}

DescribeCollectionRequest defines model for DescribeCollectionRequest.

type DescribeCollectionResponse

type DescribeCollectionResponse struct {
	// Collection Name of the collection.
	Collection *string             `json:"collection,omitempty"`
	Metadata   *CollectionMetadata `json:"metadata,omitempty"`

	// Schema Schema of this collection.
	Schema json.RawMessage `json:"schema,omitempty"`

	// Size The size of this collection in bytes.
	Size *int64 `json:"size,omitempty"`
}

DescribeCollectionResponse A detailed description of the collection. The description returns collection metadata and the schema.

type DescribeDatabaseRequest

type DescribeDatabaseRequest struct {
	// Db Name of the database.
	Db *string `json:"db,omitempty"`

	// SchemaFormat Return schema in the requested format. Format can be JSON, Go, TypeScript, Java. Default is JSON.
	SchemaFormat *string `json:"schema_format,omitempty"`
}

DescribeDatabaseRequest defines model for DescribeDatabaseRequest.

type DescribeDatabaseResponse

type DescribeDatabaseResponse struct {
	// Collections A detailed description about all the collections. The description returns collection metadata and the schema.
	Collections *[]CollectionDescription `json:"collections,omitempty"`

	// Db Name of the database.
	Db       *string           `json:"db,omitempty"`
	Metadata *DatabaseMetadata `json:"metadata,omitempty"`

	// Size Sum of all the collections sizes present in this database
	Size *int64 `json:"size,omitempty"`
}

DescribeDatabaseResponse A detailed description of the database and all the associated collections. Description of the collection includes schema details as well.

type DescribeNamespacesData

type DescribeNamespacesData struct {
	Details *string `json:"details,omitempty"`
}

DescribeNamespacesData defines model for DescribeNamespacesData.

type DescribeNamespacesResponse

type DescribeNamespacesResponse struct {
	Data *DescribeNamespacesData `json:"data,omitempty"`
}

DescribeNamespacesResponse defines model for DescribeNamespacesResponse.

type DropCollectionRequest

type DropCollectionRequest struct {
	// Options Collection requests modifying options.
	Options *CollectionOptions `json:"options,omitempty"`
}

DropCollectionRequest defines model for DropCollectionRequest.

type DropCollectionResponse

type DropCollectionResponse struct {
	// Message A detailed response message.
	Message *string `json:"message,omitempty"`

	// Status An enum with value set as "dropped".
	Status *string `json:"status,omitempty"`
}

DropCollectionResponse defines model for DropCollectionResponse.

type DropDatabaseRequest

type DropDatabaseRequest struct {
	// Options Database requests modifying options.
	Options *DatabaseOptions `json:"options,omitempty"`
}

DropDatabaseRequest defines model for DropDatabaseRequest.

type DropDatabaseResponse

type DropDatabaseResponse struct {
	// Message A detailed response message.
	Message *string `json:"message,omitempty"`

	// Status An enum with value set as "dropped".
	Status *string `json:"status,omitempty"`
}

DropDatabaseResponse defines model for DropDatabaseResponse.

type Error

type Error struct {
	// Code The status code is a short, machine parsable string, which uniquely identifies the error type. Tigris to HTTP code mapping [here](/reference/http-code)
	Code *ErrorCode `json:"code,omitempty"`

	// Message A developer-facing descriptive error message
	Message *string `json:"message,omitempty"`
}

Error The Error type defines a logical error model

type ErrorCode

type ErrorCode string

ErrorCode The status code is a short, machine parsable string, which uniquely identifies the error type. Tigris to HTTP code mapping [here](/reference/http-code)

const (
	ABORTED            ErrorCode = "ABORTED"
	ALREADYEXISTS      ErrorCode = "ALREADY_EXISTS"
	BADGATEWAY         ErrorCode = "BAD_GATEWAY"
	CANCELLED          ErrorCode = "CANCELLED"
	CONFLICT           ErrorCode = "CONFLICT"
	DATALOSS           ErrorCode = "DATA_LOSS"
	DEADLINEEXCEEDED   ErrorCode = "DEADLINE_EXCEEDED"
	FAILEDPRECONDITION ErrorCode = "FAILED_PRECONDITION"
	INTERNAL           ErrorCode = "INTERNAL"
	INVALIDARGUMENT    ErrorCode = "INVALID_ARGUMENT"
	METHODNOTALLOWED   ErrorCode = "METHOD_NOT_ALLOWED"
	NOTFOUND           ErrorCode = "NOT_FOUND"
	OK                 ErrorCode = "OK"
	OUTOFRANGE         ErrorCode = "OUT_OF_RANGE"
	PERMISSIONDENIED   ErrorCode = "PERMISSION_DENIED"
	RESOURCEEXHAUSTED  ErrorCode = "RESOURCE_EXHAUSTED"
	UNAUTHENTICATED    ErrorCode = "UNAUTHENTICATED"
	UNAVAILABLE        ErrorCode = "UNAVAILABLE"
	UNIMPLEMENTED      ErrorCode = "UNIMPLEMENTED"
	UNKNOWN            ErrorCode = "UNKNOWN"
)

Defines values for ErrorCode.

type FacetCount

type FacetCount struct {
	Count *int64  `json:"count,omitempty"`
	Value *string `json:"value,omitempty"`
}

FacetCount defines model for FacetCount.

type FacetStats

type FacetStats struct {
	// Avg Average of all values in a field. Only available for numeric fields
	Avg *float64 `json:"avg,omitempty"`

	// Count Total number of values in a field
	Count *int64 `json:"count,omitempty"`

	// Max Maximum of all values in a field. Only available for numeric fields
	Max *float64 `json:"max,omitempty"`

	// Min Minimum of all values in a field. Only available for numeric fields
	Min *float64 `json:"min,omitempty"`

	// Sum Sum of all values in a field. Only available for numeric fields
	Sum *float64 `json:"sum,omitempty"`
}

FacetStats Additional stats for faceted field

type GetAccessTokenRequest

type GetAccessTokenRequest struct {
	// ClientId Client Id is required when grant type is set as `CLIENT_CREDENTIALS`.
	ClientId *string `json:"client_id,omitempty"`

	// ClientSecret Your Tigris API Key is required when grant type is set as `CLIENT_CREDENTIALS`.
	ClientSecret *string                         `json:"client_secret,omitempty"`
	GrantType    *GetAccessTokenRequestGrantType `json:"grant_type,omitempty"`

	// RefreshToken Refresh token is required when grant type is set as `REFRESH_TOKEN`.
	RefreshToken *string `json:"refresh_token,omitempty"`
}

GetAccessTokenRequest The Request message for the GetAccessToken. The grant type is a required field and based on the grant type the other fields are used as mentioned below.

type GetAccessTokenRequestGrantType

type GetAccessTokenRequestGrantType string

GetAccessTokenRequestGrantType defines model for GetAccessTokenRequest.GrantType.

const (
	CLIENTCREDENTIALS GetAccessTokenRequestGrantType = "CLIENT_CREDENTIALS"
	REFRESHTOKEN      GetAccessTokenRequestGrantType = "REFRESH_TOKEN"
)

Defines values for GetAccessTokenRequestGrantType.

type GetAccessTokenResponse

type GetAccessTokenResponse struct {
	// AccessToken An Access Token.
	AccessToken *string `json:"access_token,omitempty"`

	// ExpiresIn Access token expiration timeout in seconds.
	ExpiresIn *int32 `json:"expires_in,omitempty"`

	// RefreshToken The Refresh Token.
	RefreshToken *string `json:"refresh_token,omitempty"`
}

GetAccessTokenResponse The response of GetAccessToken which contains access_token and optionally refresh_token.

type GetInfoResponse

type GetInfoResponse struct {
	ServerVersion *string `json:"server_version,omitempty"`
}

GetInfoResponse defines model for GetInfoResponse.

type GetNamespaceMetadataRequest

type GetNamespaceMetadataRequest struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

GetNamespaceMetadataRequest Request namespace metadata

type GetNamespaceMetadataResponse

type GetNamespaceMetadataResponse struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	NamespaceId *uint32                 `json:"namespaceId,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

GetNamespaceMetadataResponse Namespace metadata response

type GetUserMetadataRequest

type GetUserMetadataRequest struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

GetUserMetadataRequest Request user metadata

type GetUserMetadataResponse

type GetUserMetadataResponse struct {
	MetadataKey *string `json:"metadataKey,omitempty"`
	NamespaceId *uint32 `json:"namespaceId,omitempty"`
	UserId      *string `json:"userId,omitempty"`
	Value       *[]byte `json:"value,omitempty"`
}

GetUserMetadataResponse User metadata response

type HealthAPIHealthResponse

type HealthAPIHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *HealthCheckResponse
	JSONDefault  *Status
}

func ParseHealthAPIHealthResponse

func ParseHealthAPIHealthResponse(rsp *http.Response) (*HealthAPIHealthResponse, error)

ParseHealthAPIHealthResponse parses an HTTP response from a HealthAPIHealthWithResponse call

func (HealthAPIHealthResponse) Status

func (r HealthAPIHealthResponse) Status() string

Status returns HTTPResponse.Status

func (HealthAPIHealthResponse) StatusCode

func (r HealthAPIHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HealthCheckResponse

type HealthCheckResponse struct {
	Response *string `json:"response,omitempty"`
}

HealthCheckResponse defines model for HealthCheckResponse.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InsertNamespaceMetadataRequest

type InsertNamespaceMetadataRequest struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

InsertNamespaceMetadataRequest Request insertion of namespace metadata

type InsertNamespaceMetadataResponse

type InsertNamespaceMetadataResponse struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	NamespaceId *uint32                 `json:"namespaceId,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

InsertNamespaceMetadataResponse Insertion of namespace metadata response

type InsertRequest

type InsertRequest struct {
	// Documents Array of documents to insert. Each document is a JSON object.
	Documents *[]json.RawMessage `json:"documents,omitempty"`

	// Options additional options for insert requests.
	Options *InsertRequestOptions `json:"options,omitempty"`
}

InsertRequest defines model for InsertRequest.

type InsertRequestOptions

type InsertRequestOptions struct {
	// WriteOptions Additional options to modify write requests.
	WriteOptions *WriteOptions `json:"write_options,omitempty"`
}

InsertRequestOptions additional options for insert requests.

type InsertResponse

type InsertResponse struct {
	// Keys an array returns the value of the primary keys.
	Keys *[][]byte `json:"keys,omitempty"`

	// Metadata Has metadata related to the documents stored.
	Metadata *ResponseMetadata `json:"metadata,omitempty"`

	// Status An enum with value set as "inserted"
	Status *string `json:"status,omitempty"`
}

InsertResponse defines model for InsertResponse.

type InsertUserMetadataRequest

type InsertUserMetadataRequest struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

InsertUserMetadataRequest Request insertion of user metadata

type InsertUserMetadataResponse

type InsertUserMetadataResponse struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	NamespaceId *uint32                 `json:"namespaceId,omitempty"`
	UserId      *string                 `json:"userId,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

InsertUserMetadataResponse Insertion of user metadata response

type ListApplicationsRequest

type ListApplicationsRequest = map[string]interface{}

ListApplicationsRequest Request listing of all the application those are visible to requesting actor

type ListApplicationsResponse

type ListApplicationsResponse struct {
	Applications *[]Application `json:"applications,omitempty"`
}

ListApplicationsResponse ListApplication returns one or more visible application to user

type ListCollectionsRequest

type ListCollectionsRequest struct {
	// Options Collection requests modifying options.
	Options *CollectionOptions `json:"options,omitempty"`
}

ListCollectionsRequest defines model for ListCollectionsRequest.

type ListCollectionsResponse

type ListCollectionsResponse struct {
	// Collections List of the collections info in the database.
	Collections *[]CollectionInfo `json:"collections,omitempty"`

	// Db Name of the database.
	Db *string `json:"db,omitempty"`
}

ListCollectionsResponse defines model for ListCollectionsResponse.

type ListDatabasesResponse

type ListDatabasesResponse struct {
	// Databases List of the databases.
	Databases *[]DatabaseInfo `json:"databases,omitempty"`
}

ListDatabasesResponse defines model for ListDatabasesResponse.

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Namespaces *[]NamespaceInfo `json:"namespaces,omitempty"`
}

ListNamespacesResponse defines model for ListNamespacesResponse.

type ManagementCreateApplicationJSONRequestBody

type ManagementCreateApplicationJSONRequestBody = CreateApplicationRequest

ManagementCreateApplicationJSONRequestBody defines body for ManagementCreateApplication for application/json ContentType.

type ManagementCreateApplicationResponse

type ManagementCreateApplicationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateApplicationResponse
	JSONDefault  *Status
}

func ParseManagementCreateApplicationResponse

func ParseManagementCreateApplicationResponse(rsp *http.Response) (*ManagementCreateApplicationResponse, error)

ParseManagementCreateApplicationResponse parses an HTTP response from a ManagementCreateApplicationWithResponse call

func (ManagementCreateApplicationResponse) Status

Status returns HTTPResponse.Status

func (ManagementCreateApplicationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementCreateNamespaceJSONRequestBody

type ManagementCreateNamespaceJSONRequestBody = CreateNamespaceRequest

ManagementCreateNamespaceJSONRequestBody defines body for ManagementCreateNamespace for application/json ContentType.

type ManagementCreateNamespaceResponse

type ManagementCreateNamespaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateNamespaceResponse
	JSONDefault  *Status
}

func ParseManagementCreateNamespaceResponse

func ParseManagementCreateNamespaceResponse(rsp *http.Response) (*ManagementCreateNamespaceResponse, error)

ParseManagementCreateNamespaceResponse parses an HTTP response from a ManagementCreateNamespaceWithResponse call

func (ManagementCreateNamespaceResponse) Status

Status returns HTTPResponse.Status

func (ManagementCreateNamespaceResponse) StatusCode

func (r ManagementCreateNamespaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementDeleteApplicationJSONRequestBody

type ManagementDeleteApplicationJSONRequestBody = DeleteApplicationsRequest

ManagementDeleteApplicationJSONRequestBody defines body for ManagementDeleteApplication for application/json ContentType.

type ManagementDeleteApplicationResponse

type ManagementDeleteApplicationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteApplicationResponse
	JSONDefault  *Status
}

func ParseManagementDeleteApplicationResponse

func ParseManagementDeleteApplicationResponse(rsp *http.Response) (*ManagementDeleteApplicationResponse, error)

ParseManagementDeleteApplicationResponse parses an HTTP response from a ManagementDeleteApplicationWithResponse call

func (ManagementDeleteApplicationResponse) Status

Status returns HTTPResponse.Status

func (ManagementDeleteApplicationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementDescribeNamespacesResponse

type ManagementDescribeNamespacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DescribeNamespacesResponse
	JSONDefault  *Status
}

func ParseManagementDescribeNamespacesResponse

func ParseManagementDescribeNamespacesResponse(rsp *http.Response) (*ManagementDescribeNamespacesResponse, error)

ParseManagementDescribeNamespacesResponse parses an HTTP response from a ManagementDescribeNamespacesWithResponse call

func (ManagementDescribeNamespacesResponse) Status

Status returns HTTPResponse.Status

func (ManagementDescribeNamespacesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementGetNamespaceMetadataJSONRequestBody

type ManagementGetNamespaceMetadataJSONRequestBody = GetNamespaceMetadataRequest

ManagementGetNamespaceMetadataJSONRequestBody defines body for ManagementGetNamespaceMetadata for application/json ContentType.

type ManagementGetNamespaceMetadataResponse

type ManagementGetNamespaceMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetNamespaceMetadataResponse
	JSONDefault  *Status
}

func ParseManagementGetNamespaceMetadataResponse

func ParseManagementGetNamespaceMetadataResponse(rsp *http.Response) (*ManagementGetNamespaceMetadataResponse, error)

ParseManagementGetNamespaceMetadataResponse parses an HTTP response from a ManagementGetNamespaceMetadataWithResponse call

func (ManagementGetNamespaceMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementGetNamespaceMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementGetUserMetadataJSONRequestBody

type ManagementGetUserMetadataJSONRequestBody = GetUserMetadataRequest

ManagementGetUserMetadataJSONRequestBody defines body for ManagementGetUserMetadata for application/json ContentType.

type ManagementGetUserMetadataResponse

type ManagementGetUserMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetUserMetadataResponse
	JSONDefault  *Status
}

func ParseManagementGetUserMetadataResponse

func ParseManagementGetUserMetadataResponse(rsp *http.Response) (*ManagementGetUserMetadataResponse, error)

ParseManagementGetUserMetadataResponse parses an HTTP response from a ManagementGetUserMetadataWithResponse call

func (ManagementGetUserMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementGetUserMetadataResponse) StatusCode

func (r ManagementGetUserMetadataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementInsertNamespaceMetadataJSONRequestBody

type ManagementInsertNamespaceMetadataJSONRequestBody = InsertNamespaceMetadataRequest

ManagementInsertNamespaceMetadataJSONRequestBody defines body for ManagementInsertNamespaceMetadata for application/json ContentType.

type ManagementInsertNamespaceMetadataResponse

type ManagementInsertNamespaceMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InsertNamespaceMetadataResponse
	JSONDefault  *Status
}

func ParseManagementInsertNamespaceMetadataResponse

func ParseManagementInsertNamespaceMetadataResponse(rsp *http.Response) (*ManagementInsertNamespaceMetadataResponse, error)

ParseManagementInsertNamespaceMetadataResponse parses an HTTP response from a ManagementInsertNamespaceMetadataWithResponse call

func (ManagementInsertNamespaceMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementInsertNamespaceMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementInsertUserMetadataJSONRequestBody

type ManagementInsertUserMetadataJSONRequestBody = InsertUserMetadataRequest

ManagementInsertUserMetadataJSONRequestBody defines body for ManagementInsertUserMetadata for application/json ContentType.

type ManagementInsertUserMetadataResponse

type ManagementInsertUserMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InsertUserMetadataResponse
	JSONDefault  *Status
}

func ParseManagementInsertUserMetadataResponse

func ParseManagementInsertUserMetadataResponse(rsp *http.Response) (*ManagementInsertUserMetadataResponse, error)

ParseManagementInsertUserMetadataResponse parses an HTTP response from a ManagementInsertUserMetadataWithResponse call

func (ManagementInsertUserMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementInsertUserMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementListApplicationsJSONRequestBody

type ManagementListApplicationsJSONRequestBody = ListApplicationsRequest

ManagementListApplicationsJSONRequestBody defines body for ManagementListApplications for application/json ContentType.

type ManagementListApplicationsResponse

type ManagementListApplicationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListApplicationsResponse
	JSONDefault  *Status
}

func ParseManagementListApplicationsResponse

func ParseManagementListApplicationsResponse(rsp *http.Response) (*ManagementListApplicationsResponse, error)

ParseManagementListApplicationsResponse parses an HTTP response from a ManagementListApplicationsWithResponse call

func (ManagementListApplicationsResponse) Status

Status returns HTTPResponse.Status

func (ManagementListApplicationsResponse) StatusCode

func (r ManagementListApplicationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementListNamespacesResponse

type ManagementListNamespacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListNamespacesResponse
	JSONDefault  *Status
}

func ParseManagementListNamespacesResponse

func ParseManagementListNamespacesResponse(rsp *http.Response) (*ManagementListNamespacesResponse, error)

ParseManagementListNamespacesResponse parses an HTTP response from a ManagementListNamespacesWithResponse call

func (ManagementListNamespacesResponse) Status

Status returns HTTPResponse.Status

func (ManagementListNamespacesResponse) StatusCode

func (r ManagementListNamespacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementRotateApplicationSecretJSONRequestBody

type ManagementRotateApplicationSecretJSONRequestBody = RotateApplicationSecretRequest

ManagementRotateApplicationSecretJSONRequestBody defines body for ManagementRotateApplicationSecret for application/json ContentType.

type ManagementRotateApplicationSecretResponse

type ManagementRotateApplicationSecretResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RotateApplicationSecretResponse
	JSONDefault  *Status
}

func ParseManagementRotateApplicationSecretResponse

func ParseManagementRotateApplicationSecretResponse(rsp *http.Response) (*ManagementRotateApplicationSecretResponse, error)

ParseManagementRotateApplicationSecretResponse parses an HTTP response from a ManagementRotateApplicationSecretWithResponse call

func (ManagementRotateApplicationSecretResponse) Status

Status returns HTTPResponse.Status

func (ManagementRotateApplicationSecretResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementUpdateApplicationJSONRequestBody

type ManagementUpdateApplicationJSONRequestBody = UpdateApplicationRequest

ManagementUpdateApplicationJSONRequestBody defines body for ManagementUpdateApplication for application/json ContentType.

type ManagementUpdateApplicationResponse

type ManagementUpdateApplicationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateApplicationResponse
	JSONDefault  *Status
}

func ParseManagementUpdateApplicationResponse

func ParseManagementUpdateApplicationResponse(rsp *http.Response) (*ManagementUpdateApplicationResponse, error)

ParseManagementUpdateApplicationResponse parses an HTTP response from a ManagementUpdateApplicationWithResponse call

func (ManagementUpdateApplicationResponse) Status

Status returns HTTPResponse.Status

func (ManagementUpdateApplicationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementUpdateNamespaceMetadataJSONRequestBody

type ManagementUpdateNamespaceMetadataJSONRequestBody = UpdateNamespaceMetadataRequest

ManagementUpdateNamespaceMetadataJSONRequestBody defines body for ManagementUpdateNamespaceMetadata for application/json ContentType.

type ManagementUpdateNamespaceMetadataResponse

type ManagementUpdateNamespaceMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateNamespaceMetadataResponse
	JSONDefault  *Status
}

func ParseManagementUpdateNamespaceMetadataResponse

func ParseManagementUpdateNamespaceMetadataResponse(rsp *http.Response) (*ManagementUpdateNamespaceMetadataResponse, error)

ParseManagementUpdateNamespaceMetadataResponse parses an HTTP response from a ManagementUpdateNamespaceMetadataWithResponse call

func (ManagementUpdateNamespaceMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementUpdateNamespaceMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementUpdateUserMetadataJSONRequestBody

type ManagementUpdateUserMetadataJSONRequestBody = UpdateUserMetadataRequest

ManagementUpdateUserMetadataJSONRequestBody defines body for ManagementUpdateUserMetadata for application/json ContentType.

type ManagementUpdateUserMetadataResponse

type ManagementUpdateUserMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateUserMetadataResponse
	JSONDefault  *Status
}

func ParseManagementUpdateUserMetadataResponse

func ParseManagementUpdateUserMetadataResponse(rsp *http.Response) (*ManagementUpdateUserMetadataResponse, error)

ParseManagementUpdateUserMetadataResponse parses an HTTP response from a ManagementUpdateUserMetadataWithResponse call

func (ManagementUpdateUserMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementUpdateUserMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type MetricSeries

type MetricSeries struct {
	DataPoints *[]DataPoint `json:"dataPoints,omitempty"`
	From       *int64       `json:"from,omitempty"`
	Metric     *string      `json:"metric,omitempty"`
	Scope      *string      `json:"scope,omitempty"`
	To         *int64       `json:"to,omitempty"`
}

MetricSeries Represents series in timeseries based on input query.

type NamespaceInfo

type NamespaceInfo struct {
	// Code The unique namespace code.
	Code *int32 `json:"code,omitempty"`

	// Id The namespace unique id.
	Id *string `json:"id,omitempty"`

	// Name The namespace display name.
	Name *string `json:"name,omitempty"`
}

NamespaceInfo defines model for NamespaceInfo.

type ObservabilityGetInfoResponse

type ObservabilityGetInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetInfoResponse
	JSONDefault  *Status
}

func ParseObservabilityGetInfoResponse

func ParseObservabilityGetInfoResponse(rsp *http.Response) (*ObservabilityGetInfoResponse, error)

ParseObservabilityGetInfoResponse parses an HTTP response from a ObservabilityGetInfoWithResponse call

func (ObservabilityGetInfoResponse) Status

Status returns HTTPResponse.Status

func (ObservabilityGetInfoResponse) StatusCode

func (r ObservabilityGetInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ObservabilityQueryTimeSeriesMetricsJSONRequestBody

type ObservabilityQueryTimeSeriesMetricsJSONRequestBody = QueryTimeSeriesMetricsRequest

ObservabilityQueryTimeSeriesMetricsJSONRequestBody defines body for ObservabilityQueryTimeSeriesMetrics for application/json ContentType.

type ObservabilityQueryTimeSeriesMetricsResponse

type ObservabilityQueryTimeSeriesMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *QueryTimeSeriesMetricsResponse
	JSONDefault  *Status
}

func ParseObservabilityQueryTimeSeriesMetricsResponse

func ParseObservabilityQueryTimeSeriesMetricsResponse(rsp *http.Response) (*ObservabilityQueryTimeSeriesMetricsResponse, error)

ParseObservabilityQueryTimeSeriesMetricsResponse parses an HTTP response from a ObservabilityQueryTimeSeriesMetricsWithResponse call

func (ObservabilityQueryTimeSeriesMetricsResponse) Status

Status returns HTTPResponse.Status

func (ObservabilityQueryTimeSeriesMetricsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ObservabilityQuotaLimitsJSONRequestBody

type ObservabilityQuotaLimitsJSONRequestBody = QuotaLimitsRequest

ObservabilityQuotaLimitsJSONRequestBody defines body for ObservabilityQuotaLimits for application/json ContentType.

type ObservabilityQuotaLimitsResponse

type ObservabilityQuotaLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *QuotaLimitsResponse
	JSONDefault  *Status
}

func ParseObservabilityQuotaLimitsResponse

func ParseObservabilityQuotaLimitsResponse(rsp *http.Response) (*ObservabilityQuotaLimitsResponse, error)

ParseObservabilityQuotaLimitsResponse parses an HTTP response from a ObservabilityQuotaLimitsWithResponse call

func (ObservabilityQuotaLimitsResponse) Status

Status returns HTTPResponse.Status

func (ObservabilityQuotaLimitsResponse) StatusCode

func (r ObservabilityQuotaLimitsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ObservabilityQuotaUsageJSONRequestBody

type ObservabilityQuotaUsageJSONRequestBody = QuotaUsageRequest

ObservabilityQuotaUsageJSONRequestBody defines body for ObservabilityQuotaUsage for application/json ContentType.

type ObservabilityQuotaUsageResponse

type ObservabilityQuotaUsageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *QuotaUsageResponse
	JSONDefault  *Status
}

func ParseObservabilityQuotaUsageResponse

func ParseObservabilityQuotaUsageResponse(rsp *http.Response) (*ObservabilityQuotaUsageResponse, error)

ParseObservabilityQuotaUsageResponse parses an HTTP response from a ObservabilityQuotaUsageWithResponse call

func (ObservabilityQuotaUsageResponse) Status

Status returns HTTPResponse.Status

func (ObservabilityQuotaUsageResponse) StatusCode

func (r ObservabilityQuotaUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Page

type Page struct {
	// Current Number representing the current page of results
	Current *int32 `json:"current,omitempty"`

	// Size Maximum number of results per page
	Size *int32 `json:"size,omitempty"`
}

Page Pagination metadata for SearchResponse

type PublishRequest

type PublishRequest struct {
	// Collection Topic name where to publish messages.
	Collection *string `json:"collection,omitempty"`

	// Db Database name where to publish messages.
	Db *string `json:"db,omitempty"`

	// Messages An array of JSON messages to publish.
	Messages *[]json.RawMessage     `json:"messages,omitempty"`
	Options  *PublishRequestOptions `json:"options,omitempty"`
}

PublishRequest defines model for PublishRequest.

type PublishRequestOptions

type PublishRequestOptions struct {
	Partition *int32 `json:"partition,omitempty"`
}

PublishRequestOptions defines model for PublishRequestOptions.

type PublishResponse

type PublishResponse struct {
	Keys *[][]byte `json:"keys,omitempty"`

	// Metadata Has metadata related to the documents stored.
	Metadata *ResponseMetadata `json:"metadata,omitempty"`
	Status   *string           `json:"status,omitempty"`
}

PublishResponse defines model for PublishResponse.

type QueryTimeSeriesMetricsRequest

type QueryTimeSeriesMetricsRequest struct {
	AdditionalFunctions *[]AdditionalFunction                          `json:"additionalFunctions,omitempty"`
	Collection          *string                                        `json:"collection,omitempty"`
	Db                  *string                                        `json:"db,omitempty"`
	From                *int64                                         `json:"from,omitempty"`
	Function            *QueryTimeSeriesMetricsRequestFunction         `json:"function,omitempty"`
	MetricName          *string                                        `json:"metric_name,omitempty"`
	Quantile            *float32                                       `json:"quantile,omitempty"`
	SpaceAggregatedBy   *[]string                                      `json:"space_aggregated_by,omitempty"`
	SpaceAggregation    *QueryTimeSeriesMetricsRequestSpaceAggregation `json:"space_aggregation,omitempty"`
	TigrisOperation     *QueryTimeSeriesMetricsRequestTigrisOperation  `json:"tigris_operation,omitempty"`
	To                  *int64                                         `json:"to,omitempty"`
}

QueryTimeSeriesMetricsRequest Requests the time series metrics

type QueryTimeSeriesMetricsRequestFunction

type QueryTimeSeriesMetricsRequestFunction string

QueryTimeSeriesMetricsRequestFunction defines model for QueryTimeSeriesMetricsRequest.Function.

Defines values for QueryTimeSeriesMetricsRequestFunction.

type QueryTimeSeriesMetricsRequestSpaceAggregation

type QueryTimeSeriesMetricsRequestSpaceAggregation string

QueryTimeSeriesMetricsRequestSpaceAggregation defines model for QueryTimeSeriesMetricsRequest.SpaceAggregation.

Defines values for QueryTimeSeriesMetricsRequestSpaceAggregation.

type QueryTimeSeriesMetricsRequestTigrisOperation

type QueryTimeSeriesMetricsRequestTigrisOperation string

QueryTimeSeriesMetricsRequestTigrisOperation defines model for QueryTimeSeriesMetricsRequest.TigrisOperation.

Defines values for QueryTimeSeriesMetricsRequestTigrisOperation.

type QueryTimeSeriesMetricsResponse

type QueryTimeSeriesMetricsResponse struct {
	From   *int64          `json:"from,omitempty"`
	Query  *string         `json:"query,omitempty"`
	Series *[]MetricSeries `json:"series,omitempty"`
	To     *int64          `json:"to,omitempty"`
}

QueryTimeSeriesMetricsResponse QueryTimeSeriesMetric responds with this type.

type QuotaLimitsRequest

type QuotaLimitsRequest = map[string]interface{}

QuotaLimitsRequest Request current namespace quota limits

type QuotaLimitsResponse

type QuotaLimitsResponse struct {
	// ReadUnits Number of allowed read units per second
	ReadUnits *int64 `json:"ReadUnits,omitempty"`

	// StorageSize Maximum number of bytes allowed to store
	StorageSize *int64 `json:"StorageSize,omitempty"`

	// WriteUnits Number of allowed write units per second
	WriteUnits *int64 `json:"WriteUnits,omitempty"`
}

QuotaLimitsResponse Contains current quota limits

type QuotaUsageRequest

type QuotaUsageRequest = map[string]interface{}

QuotaUsageRequest Request current namespace quota usage

type QuotaUsageResponse

type QuotaUsageResponse struct {
	// ReadUnits Number of read units used per second
	ReadUnits *int64 `json:"ReadUnits,omitempty"`

	// ReadUnitsThrottled Number of read units throttled per second. Units which was rejected with "resource exhausted error".
	ReadUnitsThrottled *int64 `json:"ReadUnitsThrottled,omitempty"`

	// StorageSize Number of bytes stored
	StorageSize *int64 `json:"StorageSize,omitempty"`

	// StorageSizeThrottled Number of bytes throttled. Number of bytes which were attempted to write in excess of quota and were rejected.
	StorageSizeThrottled *int64 `json:"StorageSizeThrottled,omitempty"`

	// WriteUnits Number of write units used per second
	WriteUnits *int64 `json:"WriteUnits,omitempty"`

	// WriteUnitsThrottled Number of write units throttled per second. Units which was rejected with "resource exhausted error".
	WriteUnitsThrottled *int64 `json:"WriteUnitsThrottled,omitempty"`
}

QuotaUsageResponse Contains current quota usage

type ReadRequest

type ReadRequest struct {
	// Fields To read specific fields from a document. Default is all.
	Fields json.RawMessage `json:"fields,omitempty"`

	// Filter Returns documents matching this filter. A filter can simply be a key, value pair where a key is the field name and the value would be the value for this field. Tigris also allows complex filtering by passing logical expressions. Logical filters are applied on two or more fields using `$or` and `$and`. A few examples of filters: <li> To read a user document where the id has a value 1: “`{"id": 1 }“` <li> To read all the user documents where the key "id" has a value 1 or 2 or 3: `{"$or": [{"id": 1}, {"id": 2}, {"id": 3}]}` Filter allows setting collation on an individual field level. To set collation for all the fields see options. The detailed documentation of the filter is <a href="https://docs.tigrisdata.com/overview/query#specification-1" title="here">here</a>.
	Filter json.RawMessage `json:"filter,omitempty"`

	// Options Options that can be used to modify the results, for example "limit" to control the number of documents returned by the server.
	Options *ReadRequestOptions `json:"options,omitempty"`

	// Sort Array of fields and corresponding sort orders to order the results. Ex: 1 `[{ "salary": "$desc" }]`, Ex: 2  `[{ "salary": "$asc"}]`
	Sort *[]byte `json:"sort,omitempty"`
}

ReadRequest defines model for ReadRequest.

type ReadRequestOptions

type ReadRequestOptions struct {
	// Collation A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters.
	Collation *Collation `json:"collation,omitempty"`

	// Limit Limit the number of documents returned by the read operation.
	Limit *int64 `json:"limit,omitempty"`

	// Offset A cursor for use in pagination. The next streams will return documents after this offset.
	Offset *[]byte `json:"offset,omitempty"`

	// Skip Number of documents to skip before starting to return resulting documents.
	Skip *int64 `json:"skip,omitempty"`
}

ReadRequestOptions Options that can be used to modify the results, for example "limit" to control the number of documents returned by the server.

type ReadResponse

type ReadResponse struct {
	// Data Object containing the collection document.
	Data json.RawMessage `json:"data,omitempty"`

	// Metadata Has metadata related to the documents stored.
	Metadata *ResponseMetadata `json:"metadata,omitempty"`

	// ResumeToken An internal key, used for pagination.
	ResumeToken *[]byte `json:"resume_token,omitempty"`
}

ReadResponse defines model for ReadResponse.

type ReplaceRequest

type ReplaceRequest struct {
	// Documents Array of documents to be replaced. Each document is a JSON object.
	Documents *[]json.RawMessage `json:"documents,omitempty"`

	// Options Additional options for replace requests.
	Options *ReplaceRequestOptions `json:"options,omitempty"`
}

ReplaceRequest defines model for ReplaceRequest.

type ReplaceRequestOptions

type ReplaceRequestOptions struct {
	// WriteOptions Additional options to modify write requests.
	WriteOptions *WriteOptions `json:"write_options,omitempty"`
}

ReplaceRequestOptions Additional options for replace requests.

type ReplaceResponse

type ReplaceResponse struct {
	// Keys an array returns the value of the primary keys.
	Keys *[][]byte `json:"keys,omitempty"`

	// Metadata Has metadata related to the documents stored.
	Metadata *ResponseMetadata `json:"metadata,omitempty"`

	// Status an enum with value set as "replaced"
	Status *string `json:"status,omitempty"`
}

ReplaceResponse defines model for ReplaceResponse.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResponseMetadata

type ResponseMetadata struct {
	// CreatedAt Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DeletedAt Time at which the document was deleted. Measured in nano-seconds since the Unix epoch.
	DeletedAt *time.Time `json:"deleted_at,omitempty"`

	// UpdatedAt Time at which the document was updated. Measured in nano-seconds since the Unix epoch.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ResponseMetadata Has metadata related to the documents stored.

type RollbackTransactionRequest

type RollbackTransactionRequest = map[string]interface{}

RollbackTransactionRequest Rollback transaction with the given ID

type RollbackTransactionResponse

type RollbackTransactionResponse struct {
	// Status Status of rollback transaction operation.
	Status *string `json:"status,omitempty"`
}

RollbackTransactionResponse defines model for RollbackTransactionResponse.

type RollupFunction

type RollupFunction struct {
	Aggregator *RollupFunctionAggregator `json:"aggregator,omitempty"`
	Interval   *int64                    `json:"interval,omitempty"`
}

RollupFunction Rollup function aggregates the slices of metrics returned by original query and lets you operate on the slices using aggregator and constructs the bigger slice of your choice of interval (specified in seconds).

type RollupFunctionAggregator

type RollupFunctionAggregator string

RollupFunctionAggregator defines model for RollupFunction.Aggregator.

const (
	ROLLUPAGGREGATORAVG   RollupFunctionAggregator = "ROLLUP_AGGREGATOR_AVG"
	ROLLUPAGGREGATORCOUNT RollupFunctionAggregator = "ROLLUP_AGGREGATOR_COUNT"
	ROLLUPAGGREGATORMAX   RollupFunctionAggregator = "ROLLUP_AGGREGATOR_MAX"
	ROLLUPAGGREGATORMIN   RollupFunctionAggregator = "ROLLUP_AGGREGATOR_MIN"
	ROLLUPAGGREGATORSUM   RollupFunctionAggregator = "ROLLUP_AGGREGATOR_SUM"
)

Defines values for RollupFunctionAggregator.

type RotateApplicationSecretRequest

type RotateApplicationSecretRequest struct {
	// Id application id
	Id *string `json:"id,omitempty"`
}

RotateApplicationSecretRequest Request rotation of an application secret

type RotateApplicationSecretResponse

type RotateApplicationSecretResponse struct {
	// Application An user application
	Application *Application `json:"application,omitempty"`
}

RotateApplicationSecretResponse RotateApplicationRequest returns the new application with rotated secret

type SearchFacet

type SearchFacet struct {
	Counts *[]FacetCount `json:"counts,omitempty"`

	// Stats Additional stats for faceted field
	Stats *FacetStats `json:"stats,omitempty"`
}

SearchFacet defines model for SearchFacet.

type SearchHit

type SearchHit struct {
	// Data Actual search document
	Data json.RawMessage `json:"data,omitempty"`

	// Metadata Contains metadata related to the search hit, has information about document created_at/updated_at as well.
	Metadata *SearchHitMeta `json:"metadata,omitempty"`
}

SearchHit defines model for SearchHit.

type SearchHitMeta

type SearchHitMeta struct {
	// CreatedAt Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// UpdatedAt Time at which the document was updated. Measured in nano-seconds since the Unix epoch.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SearchHitMeta Contains metadata related to the search hit, has information about document created_at/updated_at as well.

type SearchMetadata

type SearchMetadata struct {
	// Found Total number of search results across all pages
	Found *int64 `json:"found,omitempty"`

	// Page Pagination metadata for SearchResponse
	Page *Page `json:"page,omitempty"`

	// TotalPages Number representing the total pages of results
	TotalPages *int32 `json:"total_pages,omitempty"`
}

SearchMetadata defines model for SearchMetadata.

type SearchRequest

type SearchRequest struct {
	// Collation A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters.
	Collation *Collation `json:"collation,omitempty"`

	// ExcludeFields Array of document field names to exclude from results. `include_fields`, if specified, takes precedence over `exclude_fields`.
	ExcludeFields *[]string `json:"exclude_fields,omitempty"`

	// Facet Facet query to aggregate results on given fields. The field name for the facet search can be passed like this `{"brand": { "size": 10 }}` where the size controls the total facets for this field.
	Facet  json.RawMessage `json:"facet,omitempty"`
	Fields json.RawMessage `json:"fields,omitempty"`

	// Filter Filter stacks on top of query results to further narrow down the results. Similar to `ReadRequest.filter`
	Filter json.RawMessage `json:"filter,omitempty"`

	// IncludeFields Array of document field names to include in results. By default, all fields are included.
	IncludeFields *[]string `json:"include_fields,omitempty"`

	// Page Optionally can specify the page to retrieve. If page is set then only hits for this page is returned
	Page *int32 `json:"page,omitempty"`

	// PageSize Optionally can set the number of hits to be returned per page, default is 20.
	PageSize *int32 `json:"page_size,omitempty"`

	// Q Query string for searching across text fields
	Q *string `json:"q,omitempty"`

	// SearchFields Array of fields to project search query against
	SearchFields *[]string `json:"search_fields,omitempty"`

	// Sort Array of fields and corresponding sort orders to order the results `[{ "salary": "$desc" }]`
	Sort json.RawMessage `json:"sort,omitempty"`
}

SearchRequest defines model for SearchRequest.

type SearchResponse

type SearchResponse struct {
	Facets *map[string]SearchFacet `json:"facets,omitempty"`
	Hits   *[]SearchHit            `json:"hits,omitempty"`
	Meta   *SearchMetadata         `json:"meta,omitempty"`
}

SearchResponse Response struct for search

type Status

type Status struct {
	// Error The Error type defines a logical error model
	Error *Error `json:"error,omitempty"`
}

Status defines model for Status.

type StreamingReadResponse

type StreamingReadResponse struct {
	// Error The Error type defines a logical error model
	Error  *Error        `json:"error,omitempty"`
	Result *ReadResponse `json:"result,omitempty"`
}

StreamingReadResponse defines model for StreamingReadResponse.

type StreamingSearchResponse

type StreamingSearchResponse struct {
	// Error The Error type defines a logical error model
	Error *Error `json:"error,omitempty"`

	// Result Response struct for search
	Result *SearchResponse `json:"result,omitempty"`
}

StreamingSearchResponse defines model for StreamingSearchResponse.

type StreamingSubscribeResponse

type StreamingSubscribeResponse struct {
	// Error The Error type defines a logical error model
	Error  *Error             `json:"error,omitempty"`
	Result *SubscribeResponse `json:"result,omitempty"`
}

StreamingSubscribeResponse defines model for StreamingSubscribeResponse.

type SubscribeRequest

type SubscribeRequest struct {
	// Collection Topic name.
	Collection *string `json:"collection,omitempty"`

	// Db Database name.
	Db *string `json:"db,omitempty"`

	// Filter Filter allows you to subscribe only for events that you need. Filter syntax is similar to `ReadRequest.filter`.
	Filter  json.RawMessage          `json:"filter,omitempty"`
	Options *SubscribeRequestOptions `json:"options,omitempty"`
}

SubscribeRequest defines model for SubscribeRequest.

type SubscribeRequestOptions

type SubscribeRequestOptions struct {
	Partitions *[]int32 `json:"partitions,omitempty"`
}

SubscribeRequestOptions defines model for SubscribeRequestOptions.

type SubscribeResponse

type SubscribeResponse struct {
	Message json.RawMessage `json:"message,omitempty"`
}

SubscribeResponse defines model for SubscribeResponse.

type TigrisBeginTransactionJSONRequestBody

type TigrisBeginTransactionJSONRequestBody = BeginTransactionRequest

TigrisBeginTransactionJSONRequestBody defines body for TigrisBeginTransaction for application/json ContentType.

type TigrisBeginTransactionResponse

type TigrisBeginTransactionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BeginTransactionResponse
	JSONDefault  *Status
}

func ParseTigrisBeginTransactionResponse

func ParseTigrisBeginTransactionResponse(rsp *http.Response) (*TigrisBeginTransactionResponse, error)

ParseTigrisBeginTransactionResponse parses an HTTP response from a TigrisBeginTransactionWithResponse call

func (TigrisBeginTransactionResponse) Status

Status returns HTTPResponse.Status

func (TigrisBeginTransactionResponse) StatusCode

func (r TigrisBeginTransactionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisCommitTransactionJSONRequestBody

type TigrisCommitTransactionJSONRequestBody = CommitTransactionRequest

TigrisCommitTransactionJSONRequestBody defines body for TigrisCommitTransaction for application/json ContentType.

type TigrisCommitTransactionResponse

type TigrisCommitTransactionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CommitTransactionResponse
	JSONDefault  *Status
}

func ParseTigrisCommitTransactionResponse

func ParseTigrisCommitTransactionResponse(rsp *http.Response) (*TigrisCommitTransactionResponse, error)

ParseTigrisCommitTransactionResponse parses an HTTP response from a TigrisCommitTransactionWithResponse call

func (TigrisCommitTransactionResponse) Status

Status returns HTTPResponse.Status

func (TigrisCommitTransactionResponse) StatusCode

func (r TigrisCommitTransactionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisCreateDatabaseJSONRequestBody

type TigrisCreateDatabaseJSONRequestBody = CreateDatabaseRequest

TigrisCreateDatabaseJSONRequestBody defines body for TigrisCreateDatabase for application/json ContentType.

type TigrisCreateDatabaseResponse

type TigrisCreateDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateDatabaseResponse
	JSONDefault  *Status
}

func ParseTigrisCreateDatabaseResponse

func ParseTigrisCreateDatabaseResponse(rsp *http.Response) (*TigrisCreateDatabaseResponse, error)

ParseTigrisCreateDatabaseResponse parses an HTTP response from a TigrisCreateDatabaseWithResponse call

func (TigrisCreateDatabaseResponse) Status

Status returns HTTPResponse.Status

func (TigrisCreateDatabaseResponse) StatusCode

func (r TigrisCreateDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisCreateOrUpdateCollectionJSONRequestBody

type TigrisCreateOrUpdateCollectionJSONRequestBody = CreateOrUpdateCollectionRequest

TigrisCreateOrUpdateCollectionJSONRequestBody defines body for TigrisCreateOrUpdateCollection for application/json ContentType.

type TigrisCreateOrUpdateCollectionResponse

type TigrisCreateOrUpdateCollectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateOrUpdateCollectionResponse
	JSONDefault  *Status
}

func ParseTigrisCreateOrUpdateCollectionResponse

func ParseTigrisCreateOrUpdateCollectionResponse(rsp *http.Response) (*TigrisCreateOrUpdateCollectionResponse, error)

ParseTigrisCreateOrUpdateCollectionResponse parses an HTTP response from a TigrisCreateOrUpdateCollectionWithResponse call

func (TigrisCreateOrUpdateCollectionResponse) Status

Status returns HTTPResponse.Status

func (TigrisCreateOrUpdateCollectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TigrisDeleteJSONRequestBody

type TigrisDeleteJSONRequestBody = DeleteRequest

TigrisDeleteJSONRequestBody defines body for TigrisDelete for application/json ContentType.

type TigrisDeleteResponse

type TigrisDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteResponse
	JSONDefault  *Status
}

func ParseTigrisDeleteResponse

func ParseTigrisDeleteResponse(rsp *http.Response) (*TigrisDeleteResponse, error)

ParseTigrisDeleteResponse parses an HTTP response from a TigrisDeleteWithResponse call

func (TigrisDeleteResponse) Status

func (r TigrisDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisDeleteResponse) StatusCode

func (r TigrisDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisDescribeCollectionJSONRequestBody

type TigrisDescribeCollectionJSONRequestBody = DescribeCollectionRequest

TigrisDescribeCollectionJSONRequestBody defines body for TigrisDescribeCollection for application/json ContentType.

type TigrisDescribeCollectionResponse

type TigrisDescribeCollectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DescribeCollectionResponse
	JSONDefault  *Status
}

func ParseTigrisDescribeCollectionResponse

func ParseTigrisDescribeCollectionResponse(rsp *http.Response) (*TigrisDescribeCollectionResponse, error)

ParseTigrisDescribeCollectionResponse parses an HTTP response from a TigrisDescribeCollectionWithResponse call

func (TigrisDescribeCollectionResponse) Status

Status returns HTTPResponse.Status

func (TigrisDescribeCollectionResponse) StatusCode

func (r TigrisDescribeCollectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisDescribeDatabaseJSONRequestBody

type TigrisDescribeDatabaseJSONRequestBody = DescribeDatabaseRequest

TigrisDescribeDatabaseJSONRequestBody defines body for TigrisDescribeDatabase for application/json ContentType.

type TigrisDescribeDatabaseResponse

type TigrisDescribeDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DescribeDatabaseResponse
	JSONDefault  *Status
}

func ParseTigrisDescribeDatabaseResponse

func ParseTigrisDescribeDatabaseResponse(rsp *http.Response) (*TigrisDescribeDatabaseResponse, error)

ParseTigrisDescribeDatabaseResponse parses an HTTP response from a TigrisDescribeDatabaseWithResponse call

func (TigrisDescribeDatabaseResponse) Status

Status returns HTTPResponse.Status

func (TigrisDescribeDatabaseResponse) StatusCode

func (r TigrisDescribeDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisDropCollectionJSONRequestBody

type TigrisDropCollectionJSONRequestBody = DropCollectionRequest

TigrisDropCollectionJSONRequestBody defines body for TigrisDropCollection for application/json ContentType.

type TigrisDropCollectionResponse

type TigrisDropCollectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropCollectionResponse
	JSONDefault  *Status
}

func ParseTigrisDropCollectionResponse

func ParseTigrisDropCollectionResponse(rsp *http.Response) (*TigrisDropCollectionResponse, error)

ParseTigrisDropCollectionResponse parses an HTTP response from a TigrisDropCollectionWithResponse call

func (TigrisDropCollectionResponse) Status

Status returns HTTPResponse.Status

func (TigrisDropCollectionResponse) StatusCode

func (r TigrisDropCollectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisDropDatabaseJSONRequestBody

type TigrisDropDatabaseJSONRequestBody = DropDatabaseRequest

TigrisDropDatabaseJSONRequestBody defines body for TigrisDropDatabase for application/json ContentType.

type TigrisDropDatabaseResponse

type TigrisDropDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropDatabaseResponse
	JSONDefault  *Status
}

func ParseTigrisDropDatabaseResponse

func ParseTigrisDropDatabaseResponse(rsp *http.Response) (*TigrisDropDatabaseResponse, error)

ParseTigrisDropDatabaseResponse parses an HTTP response from a TigrisDropDatabaseWithResponse call

func (TigrisDropDatabaseResponse) Status

Status returns HTTPResponse.Status

func (TigrisDropDatabaseResponse) StatusCode

func (r TigrisDropDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisInsertJSONRequestBody

type TigrisInsertJSONRequestBody = InsertRequest

TigrisInsertJSONRequestBody defines body for TigrisInsert for application/json ContentType.

type TigrisInsertResponse

type TigrisInsertResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InsertResponse
	JSONDefault  *Status
}

func ParseTigrisInsertResponse

func ParseTigrisInsertResponse(rsp *http.Response) (*TigrisInsertResponse, error)

ParseTigrisInsertResponse parses an HTTP response from a TigrisInsertWithResponse call

func (TigrisInsertResponse) Status

func (r TigrisInsertResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisInsertResponse) StatusCode

func (r TigrisInsertResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisListCollectionsJSONRequestBody

type TigrisListCollectionsJSONRequestBody = ListCollectionsRequest

TigrisListCollectionsJSONRequestBody defines body for TigrisListCollections for application/json ContentType.

type TigrisListCollectionsResponse

type TigrisListCollectionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCollectionsResponse
	JSONDefault  *Status
}

func ParseTigrisListCollectionsResponse

func ParseTigrisListCollectionsResponse(rsp *http.Response) (*TigrisListCollectionsResponse, error)

ParseTigrisListCollectionsResponse parses an HTTP response from a TigrisListCollectionsWithResponse call

func (TigrisListCollectionsResponse) Status

Status returns HTTPResponse.Status

func (TigrisListCollectionsResponse) StatusCode

func (r TigrisListCollectionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisListDatabasesResponse

type TigrisListDatabasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListDatabasesResponse
	JSONDefault  *Status
}

func ParseTigrisListDatabasesResponse

func ParseTigrisListDatabasesResponse(rsp *http.Response) (*TigrisListDatabasesResponse, error)

ParseTigrisListDatabasesResponse parses an HTTP response from a TigrisListDatabasesWithResponse call

func (TigrisListDatabasesResponse) Status

Status returns HTTPResponse.Status

func (TigrisListDatabasesResponse) StatusCode

func (r TigrisListDatabasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisPublishJSONRequestBody

type TigrisPublishJSONRequestBody = PublishRequest

TigrisPublishJSONRequestBody defines body for TigrisPublish for application/json ContentType.

type TigrisPublishResponse

type TigrisPublishResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PublishResponse
	JSONDefault  *Status
}

func ParseTigrisPublishResponse

func ParseTigrisPublishResponse(rsp *http.Response) (*TigrisPublishResponse, error)

ParseTigrisPublishResponse parses an HTTP response from a TigrisPublishWithResponse call

func (TigrisPublishResponse) Status

func (r TigrisPublishResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisPublishResponse) StatusCode

func (r TigrisPublishResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisReadJSONRequestBody

type TigrisReadJSONRequestBody = ReadRequest

TigrisReadJSONRequestBody defines body for TigrisRead for application/json ContentType.

type TigrisReadResponse

type TigrisReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StreamingReadResponse
	JSONDefault  *Status
}

func ParseTigrisReadResponse

func ParseTigrisReadResponse(rsp *http.Response) (*TigrisReadResponse, error)

ParseTigrisReadResponse parses an HTTP response from a TigrisReadWithResponse call

func (TigrisReadResponse) Status

func (r TigrisReadResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisReadResponse) StatusCode

func (r TigrisReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisReplaceJSONRequestBody

type TigrisReplaceJSONRequestBody = ReplaceRequest

TigrisReplaceJSONRequestBody defines body for TigrisReplace for application/json ContentType.

type TigrisReplaceResponse

type TigrisReplaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReplaceResponse
	JSONDefault  *Status
}

func ParseTigrisReplaceResponse

func ParseTigrisReplaceResponse(rsp *http.Response) (*TigrisReplaceResponse, error)

ParseTigrisReplaceResponse parses an HTTP response from a TigrisReplaceWithResponse call

func (TigrisReplaceResponse) Status

func (r TigrisReplaceResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisReplaceResponse) StatusCode

func (r TigrisReplaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisRollbackTransactionJSONRequestBody

type TigrisRollbackTransactionJSONRequestBody = RollbackTransactionRequest

TigrisRollbackTransactionJSONRequestBody defines body for TigrisRollbackTransaction for application/json ContentType.

type TigrisRollbackTransactionResponse

type TigrisRollbackTransactionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RollbackTransactionResponse
	JSONDefault  *Status
}

func ParseTigrisRollbackTransactionResponse

func ParseTigrisRollbackTransactionResponse(rsp *http.Response) (*TigrisRollbackTransactionResponse, error)

ParseTigrisRollbackTransactionResponse parses an HTTP response from a TigrisRollbackTransactionWithResponse call

func (TigrisRollbackTransactionResponse) Status

Status returns HTTPResponse.Status

func (TigrisRollbackTransactionResponse) StatusCode

func (r TigrisRollbackTransactionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisSearchJSONRequestBody

type TigrisSearchJSONRequestBody = SearchRequest

TigrisSearchJSONRequestBody defines body for TigrisSearch for application/json ContentType.

type TigrisSearchResponse

type TigrisSearchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StreamingSearchResponse
	JSONDefault  *Status
}

func ParseTigrisSearchResponse

func ParseTigrisSearchResponse(rsp *http.Response) (*TigrisSearchResponse, error)

ParseTigrisSearchResponse parses an HTTP response from a TigrisSearchWithResponse call

func (TigrisSearchResponse) Status

func (r TigrisSearchResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisSearchResponse) StatusCode

func (r TigrisSearchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisSubscribeJSONRequestBody

type TigrisSubscribeJSONRequestBody = SubscribeRequest

TigrisSubscribeJSONRequestBody defines body for TigrisSubscribe for application/json ContentType.

type TigrisSubscribeResponse

type TigrisSubscribeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StreamingSubscribeResponse
	JSONDefault  *Status
}

func ParseTigrisSubscribeResponse

func ParseTigrisSubscribeResponse(rsp *http.Response) (*TigrisSubscribeResponse, error)

ParseTigrisSubscribeResponse parses an HTTP response from a TigrisSubscribeWithResponse call

func (TigrisSubscribeResponse) Status

func (r TigrisSubscribeResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisSubscribeResponse) StatusCode

func (r TigrisSubscribeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisUpdateJSONRequestBody

type TigrisUpdateJSONRequestBody = UpdateRequest

TigrisUpdateJSONRequestBody defines body for TigrisUpdate for application/json ContentType.

type TigrisUpdateResponse

type TigrisUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateResponse
	JSONDefault  *Status
}

func ParseTigrisUpdateResponse

func ParseTigrisUpdateResponse(rsp *http.Response) (*TigrisUpdateResponse, error)

ParseTigrisUpdateResponse parses an HTTP response from a TigrisUpdateWithResponse call

func (TigrisUpdateResponse) Status

func (r TigrisUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisUpdateResponse) StatusCode

func (r TigrisUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TransactionCtx

type TransactionCtx struct {
	// Id Unique for a single transactional request.
	Id *string `json:"id,omitempty"`

	// Origin Serves as an internal identifier.
	Origin *string `json:"origin,omitempty"`
}

TransactionCtx Contains ID which uniquely identifies transaction This context is returned by BeginTransaction request and should be passed in the metadata (headers) of subsequent requests in order to run them in the context of the same transaction.

type TransactionOptions

type TransactionOptions = map[string]interface{}

TransactionOptions Options that can be used to modify the transaction semantics.

type UpdateApplicationRequest

type UpdateApplicationRequest struct {
	// Description A new human readable app description
	Description *string `json:"description,omitempty"`

	// Id application id
	Id *string `json:"id,omitempty"`

	// Name A new human readable app name
	Name *string `json:"name,omitempty"`
}

UpdateApplicationRequest Request creation of user application

type UpdateApplicationResponse

type UpdateApplicationResponse struct {
	// UpdatedApplication An user application
	UpdatedApplication *Application `json:"updated_application,omitempty"`
}

UpdateApplicationResponse CreateApplication returns created application

type UpdateNamespaceMetadataRequest

type UpdateNamespaceMetadataRequest struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

UpdateNamespaceMetadataRequest Request update of namespace metadata

type UpdateNamespaceMetadataResponse

type UpdateNamespaceMetadataResponse struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	NamespaceId *uint32                 `json:"namespaceId,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

UpdateNamespaceMetadataResponse Update of namespace metadata response

type UpdateRequest

type UpdateRequest struct {
	// Fields Fields contains set of fields with the values which need to be updated. Should be proper JSON object.
	Fields json.RawMessage `json:"fields,omitempty"`

	// Filter Update documents which matching specified filter. A filter can simply be key, value where key is the field name and value would be the value for this field. Or a filter can be logical where two or more fields can be logically joined using $or and $and. A few examples of filter: <li> To update a user document where the id has a value 1: “`{"id": 1 }“` <li> To update all the user documents where the key "id" has a value 1 or 2 or 3: `{"$or": [{"id": 1}, {"id": 2}, {"id": 3}]}`
	Filter json.RawMessage `json:"filter,omitempty"`

	// Options Additional options for update requests.
	Options *UpdateRequestOptions `json:"options,omitempty"`
}

UpdateRequest defines model for UpdateRequest.

type UpdateRequestOptions

type UpdateRequestOptions struct {
	// Collation A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters.
	Collation *Collation `json:"collation,omitempty"`

	// Limit Limit the number of documents to be updated
	Limit *int64 `json:"limit,omitempty"`

	// WriteOptions Additional options to modify write requests.
	WriteOptions *WriteOptions `json:"write_options,omitempty"`
}

UpdateRequestOptions Additional options for update requests.

type UpdateResponse

type UpdateResponse struct {
	// Metadata Has metadata related to the documents stored.
	Metadata *ResponseMetadata `json:"metadata,omitempty"`

	// ModifiedCount Returns the number of documents modified.
	ModifiedCount *int32 `json:"modified_count,omitempty"`

	// Status an enum with value set as "updated".
	Status *string `json:"status,omitempty"`
}

UpdateResponse defines model for UpdateResponse.

type UpdateUserMetadataRequest

type UpdateUserMetadataRequest struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

UpdateUserMetadataRequest Request update of user metadata

type UpdateUserMetadataResponse

type UpdateUserMetadataResponse struct {
	MetadataKey *string                 `json:"metadataKey,omitempty"`
	NamespaceId *uint32                 `json:"namespaceId,omitempty"`
	UserId      *string                 `json:"userId,omitempty"`
	Value       *map[string]interface{} `json:"value,omitempty"`
}

UpdateUserMetadataResponse Update of user metadata response

type WriteOptions

type WriteOptions = map[string]interface{}

WriteOptions Additional options to modify write requests.

Jump to

Keyboard shortcuts

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