api

package
v1.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 15 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.11.0 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 NewAuthGetAccessTokenRequest

func NewAuthGetAccessTokenRequest(server string, body AuthGetAccessTokenJSONRequestBody) (*http.Request, error)

NewAuthGetAccessTokenRequest calls the generic AuthGetAccessToken builder with application/json body

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, name string, body ManagementCreateNamespaceJSONRequestBody) (*http.Request, error)

NewManagementCreateNamespaceRequest calls the generic ManagementCreateNamespace builder with application/json body

func NewManagementCreateNamespaceRequestWithBody

func NewManagementCreateNamespaceRequestWithBody(server string, name 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 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 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 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 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"`
}

Additional function to apply on metrics query

type Application

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

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

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

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

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

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

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

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

An user application

type AuthGetAccessTokenJSONBody

type AuthGetAccessTokenJSONBody = GetAccessTokenRequest

AuthGetAccessTokenJSONBody defines parameters for AuthGetAccessToken.

type AuthGetAccessTokenJSONRequestBody

type AuthGetAccessTokenJSONRequestBody = AuthGetAccessTokenJSONBody

AuthGetAccessTokenJSONRequestBody defines body for AuthGetAccessToken for application/json ContentType.

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 that can be used to modify the transaction semantics.
	Options *TransactionOptions `json:"options,omitempty"`
}

Start new transaction in database specified by "db".

type BeginTransactionResponse

type BeginTransactionResponse struct {
	// 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"`
}

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

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

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, name string, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ManagementCreateNamespaceWithBody

func (c *Client) ManagementCreateNamespaceWithBody(ctx context.Context, name string, 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) 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) 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) 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)

	AuthGetAccessToken(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, 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)

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

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

	ManagementCreateNamespace(ctx context.Context, name string, body ManagementCreateNamespaceJSONRequestBody, 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) AuthGetAccessTokenWithResponse

func (c *ClientWithResponses) AuthGetAccessTokenWithResponse(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error)

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, name string, 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, name string, 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) 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) 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) 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)

	AuthGetAccessTokenWithResponse(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, 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)

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

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

	ManagementCreateNamespaceWithResponse(ctx context.Context, name string, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, 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"`
}

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 {
	// Name of the collection.
	Collection *string             `json:"collection,omitempty"`
	Metadata   *CollectionMetadata `json:"metadata,omitempty"`

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

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

CollectionDescription defines model for CollectionDescription.

type CollectionInfo

type CollectionInfo struct {
	// 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{}

Collection requests modifying options.

type CommitTransactionRequest

type CommitTransactionRequest = map[string]interface{}

Commit transaction with the given ID

type CommitTransactionResponse

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

CommitTransactionResponse defines model for CommitTransactionResponse.

type CreateApplicationRequest

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

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

Request creation of user application

type CreateApplicationResponse

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

CreateApplication returns created application

type CreateDatabaseRequest

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

CreateDatabaseRequest defines model for CreateDatabaseRequest.

type CreateDatabaseResponse

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

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

CreateDatabaseResponse defines model for CreateDatabaseResponse.

type CreateNamespaceRequest

type CreateNamespaceRequest struct {
	// A unique namespace id.
	Id *int32 `json:"id,omitempty"`
}

CreateNamespaceRequest defines model for CreateNamespaceRequest.

type CreateNamespaceResponse

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

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

CreateNamespaceResponse defines model for CreateNamespaceResponse.

type CreateOrUpdateCollectionRequest

type CreateOrUpdateCollectionRequest struct {
	// 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"`

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

	// 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 {
	// A detailed response message.
	Message *string `json:"message,omitempty"`

	// 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"`
}

Represents the data point in timeseries.

type DatabaseInfo

type DatabaseInfo struct {
	// 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{}

Database requests modifying options.

type DeleteApplicationResponse

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

DeleteApplication returns the flag to convey if application was deleted

type DeleteApplicationsRequest

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

Request deletion of an application

type DeleteRequest

type DeleteRequest struct {
	// 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"`

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

DeleteRequest defines model for DeleteRequest.

type DeleteRequestOptions

type DeleteRequestOptions struct {
	// 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"`

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

Additional options for deleted requests.

type DeleteResponse

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

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

DeleteResponse defines model for DeleteResponse.

type DescribeCollectionRequest

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

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

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

DescribeCollectionRequest defines model for DescribeCollectionRequest.

type DescribeCollectionResponse

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

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

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

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

type DescribeDatabaseRequest

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

DescribeDatabaseRequest defines model for DescribeDatabaseRequest.

type DescribeDatabaseResponse

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

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

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

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

type DropCollectionRequest

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

DropCollectionRequest defines model for DropCollectionRequest.

type DropCollectionResponse

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

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

DropCollectionResponse defines model for DropCollectionResponse.

type DropDatabaseRequest

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

DropDatabaseRequest defines model for DropDatabaseRequest.

type DropDatabaseResponse

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

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

DropDatabaseResponse defines model for DropDatabaseResponse.

type Error

type Error struct {
	// 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"`

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

The Error type defines a logical error model

type ErrorCode

type ErrorCode string

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 {
	// Average of all values in a field. Only available for numeric fields
	Avg *float64 `json:"avg,omitempty"`

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

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

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

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

Additional stats for faceted field

type GetAccessTokenRequest

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

	// 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"`

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

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 {
	// An Access Token.
	AccessToken *string `json:"access_token,omitempty"`

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

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

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 GetUserMetadataRequest

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

Request user metadata

type GetUserMetadataResponse

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

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 InsertRequest

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

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

InsertRequest defines model for InsertRequest.

type InsertRequestOptions

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

additional options for insert requests.

type InsertResponse

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

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

	// 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"`
}

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"`
}

Insertion of user metadata response

type ListApplicationsRequest

type ListApplicationsRequest = map[string]interface{}

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

type ListApplicationsResponse

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

ListApplication returns one or more visible application to user

type ListCollectionsRequest

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

ListCollectionsRequest defines model for ListCollectionsRequest.

type ListCollectionsResponse

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

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

ListCollectionsResponse defines model for ListCollectionsResponse.

type ListDatabasesResponse

type ListDatabasesResponse struct {
	// 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 ManagementCreateApplicationJSONBody

type ManagementCreateApplicationJSONBody = CreateApplicationRequest

ManagementCreateApplicationJSONBody defines parameters for ManagementCreateApplication.

type ManagementCreateApplicationJSONRequestBody

type ManagementCreateApplicationJSONRequestBody = ManagementCreateApplicationJSONBody

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 ManagementCreateNamespaceJSONBody

type ManagementCreateNamespaceJSONBody = CreateNamespaceRequest

ManagementCreateNamespaceJSONBody defines parameters for ManagementCreateNamespace.

type ManagementCreateNamespaceJSONRequestBody

type ManagementCreateNamespaceJSONRequestBody = ManagementCreateNamespaceJSONBody

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 ManagementDeleteApplicationJSONBody

type ManagementDeleteApplicationJSONBody = DeleteApplicationsRequest

ManagementDeleteApplicationJSONBody defines parameters for ManagementDeleteApplication.

type ManagementDeleteApplicationJSONRequestBody

type ManagementDeleteApplicationJSONRequestBody = ManagementDeleteApplicationJSONBody

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 ManagementGetUserMetadataJSONBody

type ManagementGetUserMetadataJSONBody = GetUserMetadataRequest

ManagementGetUserMetadataJSONBody defines parameters for ManagementGetUserMetadata.

type ManagementGetUserMetadataJSONRequestBody

type ManagementGetUserMetadataJSONRequestBody = ManagementGetUserMetadataJSONBody

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 ManagementInsertUserMetadataJSONBody

type ManagementInsertUserMetadataJSONBody = InsertUserMetadataRequest

ManagementInsertUserMetadataJSONBody defines parameters for ManagementInsertUserMetadata.

type ManagementInsertUserMetadataJSONRequestBody

type ManagementInsertUserMetadataJSONRequestBody = ManagementInsertUserMetadataJSONBody

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 ManagementListApplicationsJSONBody

type ManagementListApplicationsJSONBody = ListApplicationsRequest

ManagementListApplicationsJSONBody defines parameters for ManagementListApplications.

type ManagementListApplicationsJSONRequestBody

type ManagementListApplicationsJSONRequestBody = ManagementListApplicationsJSONBody

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 ManagementRotateApplicationSecretJSONBody

type ManagementRotateApplicationSecretJSONBody = RotateApplicationSecretRequest

ManagementRotateApplicationSecretJSONBody defines parameters for ManagementRotateApplicationSecret.

type ManagementRotateApplicationSecretJSONRequestBody

type ManagementRotateApplicationSecretJSONRequestBody = ManagementRotateApplicationSecretJSONBody

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 ManagementUpdateApplicationJSONBody

type ManagementUpdateApplicationJSONBody = UpdateApplicationRequest

ManagementUpdateApplicationJSONBody defines parameters for ManagementUpdateApplication.

type ManagementUpdateApplicationJSONRequestBody

type ManagementUpdateApplicationJSONRequestBody = ManagementUpdateApplicationJSONBody

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 ManagementUpdateUserMetadataJSONBody

type ManagementUpdateUserMetadataJSONBody = UpdateUserMetadataRequest

ManagementUpdateUserMetadataJSONBody defines parameters for ManagementUpdateUserMetadata.

type ManagementUpdateUserMetadataJSONRequestBody

type ManagementUpdateUserMetadataJSONRequestBody = ManagementUpdateUserMetadataJSONBody

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"`
}

Represents series in timeseries based on input query.

type NamespaceInfo

type NamespaceInfo struct {
	// A unique namespace id.
	Id *int32 `json:"id,omitempty"`

	// A namespace 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 ObservabilityQueryTimeSeriesMetricsJSONBody

type ObservabilityQueryTimeSeriesMetricsJSONBody = QueryTimeSeriesMetricsRequest

ObservabilityQueryTimeSeriesMetricsJSONBody defines parameters for ObservabilityQueryTimeSeriesMetrics.

type ObservabilityQueryTimeSeriesMetricsJSONRequestBody

type ObservabilityQueryTimeSeriesMetricsJSONRequestBody = ObservabilityQueryTimeSeriesMetricsJSONBody

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 ObservabilityQuotaLimitsJSONBody

type ObservabilityQuotaLimitsJSONBody = QuotaLimitsRequest

ObservabilityQuotaLimitsJSONBody defines parameters for ObservabilityQuotaLimits.

type ObservabilityQuotaLimitsJSONRequestBody

type ObservabilityQuotaLimitsJSONRequestBody = ObservabilityQuotaLimitsJSONBody

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 ObservabilityQuotaUsageJSONBody

type ObservabilityQuotaUsageJSONBody = QuotaUsageRequest

ObservabilityQuotaUsageJSONBody defines parameters for ObservabilityQuotaUsage.

type ObservabilityQuotaUsageJSONRequestBody

type ObservabilityQuotaUsageJSONRequestBody = ObservabilityQuotaUsageJSONBody

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 {
	// Number representing the current page of results
	Current *int32 `json:"current,omitempty"`

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

Pagination metadata for SearchResponse

type PublishRequest

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

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

	// 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"`

	// 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"`
}

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"`
}

QueryTimeSeriesMetric responds with this type.

type QuotaLimitsRequest

type QuotaLimitsRequest = map[string]interface{}

Request current namespace quota limits

type QuotaLimitsResponse

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

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

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

Contains current quota limits

type QuotaUsageRequest

type QuotaUsageRequest = map[string]interface{}

Request current namespace quota usage

type QuotaUsageResponse

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

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

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

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

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

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

Contains current quota usage

type ReadRequest

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

	// 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 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"`
}

ReadRequest defines model for ReadRequest.

type ReadRequestOptions

type ReadRequestOptions struct {
	// 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 the number of documents returned by the read operation.
	Limit *int64 `json:"limit,omitempty"`

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

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

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 {
	// Object containing the collection document.
	Data json.RawMessage `json:"data,omitempty"`

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

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

ReadResponse defines model for ReadResponse.

type ReplaceRequest

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

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

ReplaceRequest defines model for ReplaceRequest.

type ReplaceRequestOptions

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

Additional options for replace requests.

type ReplaceResponse

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

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

	// 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 {
	// Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch.
	CreatedAt *time.Time `json:"created_at,omitempty"`

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

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

Has metadata related to the documents stored.

type RollbackTransactionRequest

type RollbackTransactionRequest = map[string]interface{}

Rollback transaction with the given ID

type RollbackTransactionResponse

type RollbackTransactionResponse struct {
	// 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"`
}

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 {
	// application id
	Id *string `json:"id,omitempty"`
}

Request rotation of an application secret

type RotateApplicationSecretResponse

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

RotateApplicationRequest returns the new application with rotated secret

type SearchFacet

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

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

SearchFacet defines model for SearchFacet.

type SearchHit

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

	// 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 {
	// Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch.
	CreatedAt *time.Time `json:"created_at,omitempty"`

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

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

type SearchMetadata

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

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

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

SearchMetadata defines model for SearchMetadata.

type SearchRequest

type SearchRequest struct {
	// 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"`

	// 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 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 stacks on top of query results to further narrow down the results. Similar to `ReadRequest.filter`
	Filter json.RawMessage `json:"filter,omitempty"`

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

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

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

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

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

	// 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 *SearchResponse_Facets `json:"facets,omitempty"`
	Hits   *[]SearchHit           `json:"hits,omitempty"`
	Meta   *SearchMetadata        `json:"meta,omitempty"`
}

Response struct for search

type SearchResponse_Facets

type SearchResponse_Facets struct {
	AdditionalProperties map[string]SearchFacet `json:"-"`
}

SearchResponse_Facets defines model for SearchResponse.Facets.

func (SearchResponse_Facets) Get

func (a SearchResponse_Facets) Get(fieldName string) (value SearchFacet, found bool)

Getter for additional properties for SearchResponse_Facets. Returns the specified element and whether it was found

func (SearchResponse_Facets) MarshalJSON

func (a SearchResponse_Facets) MarshalJSON() ([]byte, error)

Override default JSON handling for SearchResponse_Facets to handle AdditionalProperties

func (*SearchResponse_Facets) Set

func (a *SearchResponse_Facets) Set(fieldName string, value SearchFacet)

Setter for additional properties for SearchResponse_Facets

func (*SearchResponse_Facets) UnmarshalJSON

func (a *SearchResponse_Facets) UnmarshalJSON(b []byte) error

Override default JSON handling for SearchResponse_Facets to handle AdditionalProperties

type Status

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

Status defines model for Status.

type StreamingReadResponse

type StreamingReadResponse struct {
	// 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 {
	// The Error type defines a logical error model
	Error *Error `json:"error,omitempty"`

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

StreamingSearchResponse defines model for StreamingSearchResponse.

type StreamingSubscribeResponse

type StreamingSubscribeResponse struct {
	// 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 {
	// Topic name.
	Collection *string `json:"collection,omitempty"`

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

	// 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 TigrisBeginTransactionJSONBody

type TigrisBeginTransactionJSONBody = BeginTransactionRequest

TigrisBeginTransactionJSONBody defines parameters for TigrisBeginTransaction.

type TigrisBeginTransactionJSONRequestBody

type TigrisBeginTransactionJSONRequestBody = TigrisBeginTransactionJSONBody

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 TigrisCommitTransactionJSONBody

type TigrisCommitTransactionJSONBody = CommitTransactionRequest

TigrisCommitTransactionJSONBody defines parameters for TigrisCommitTransaction.

type TigrisCommitTransactionJSONRequestBody

type TigrisCommitTransactionJSONRequestBody = TigrisCommitTransactionJSONBody

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 TigrisCreateDatabaseJSONBody

type TigrisCreateDatabaseJSONBody = CreateDatabaseRequest

TigrisCreateDatabaseJSONBody defines parameters for TigrisCreateDatabase.

type TigrisCreateDatabaseJSONRequestBody

type TigrisCreateDatabaseJSONRequestBody = TigrisCreateDatabaseJSONBody

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 TigrisCreateOrUpdateCollectionJSONBody

type TigrisCreateOrUpdateCollectionJSONBody = CreateOrUpdateCollectionRequest

TigrisCreateOrUpdateCollectionJSONBody defines parameters for TigrisCreateOrUpdateCollection.

type TigrisCreateOrUpdateCollectionJSONRequestBody

type TigrisCreateOrUpdateCollectionJSONRequestBody = TigrisCreateOrUpdateCollectionJSONBody

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 TigrisDeleteJSONBody

type TigrisDeleteJSONBody = DeleteRequest

TigrisDeleteJSONBody defines parameters for TigrisDelete.

type TigrisDeleteJSONRequestBody

type TigrisDeleteJSONRequestBody = TigrisDeleteJSONBody

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 TigrisDescribeCollectionJSONBody

type TigrisDescribeCollectionJSONBody = DescribeCollectionRequest

TigrisDescribeCollectionJSONBody defines parameters for TigrisDescribeCollection.

type TigrisDescribeCollectionJSONRequestBody

type TigrisDescribeCollectionJSONRequestBody = TigrisDescribeCollectionJSONBody

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 TigrisDescribeDatabaseJSONBody

type TigrisDescribeDatabaseJSONBody = DescribeDatabaseRequest

TigrisDescribeDatabaseJSONBody defines parameters for TigrisDescribeDatabase.

type TigrisDescribeDatabaseJSONRequestBody

type TigrisDescribeDatabaseJSONRequestBody = TigrisDescribeDatabaseJSONBody

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 TigrisDropCollectionJSONBody

type TigrisDropCollectionJSONBody = DropCollectionRequest

TigrisDropCollectionJSONBody defines parameters for TigrisDropCollection.

type TigrisDropCollectionJSONRequestBody

type TigrisDropCollectionJSONRequestBody = TigrisDropCollectionJSONBody

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 TigrisDropDatabaseJSONBody

type TigrisDropDatabaseJSONBody = DropDatabaseRequest

TigrisDropDatabaseJSONBody defines parameters for TigrisDropDatabase.

type TigrisDropDatabaseJSONRequestBody

type TigrisDropDatabaseJSONRequestBody = TigrisDropDatabaseJSONBody

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 TigrisInsertJSONBody

type TigrisInsertJSONBody = InsertRequest

TigrisInsertJSONBody defines parameters for TigrisInsert.

type TigrisInsertJSONRequestBody

type TigrisInsertJSONRequestBody = TigrisInsertJSONBody

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 TigrisListCollectionsJSONBody

type TigrisListCollectionsJSONBody = ListCollectionsRequest

TigrisListCollectionsJSONBody defines parameters for TigrisListCollections.

type TigrisListCollectionsJSONRequestBody

type TigrisListCollectionsJSONRequestBody = TigrisListCollectionsJSONBody

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 TigrisPublishJSONBody

type TigrisPublishJSONBody = PublishRequest

TigrisPublishJSONBody defines parameters for TigrisPublish.

type TigrisPublishJSONRequestBody

type TigrisPublishJSONRequestBody = TigrisPublishJSONBody

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 TigrisReadJSONBody

type TigrisReadJSONBody = ReadRequest

TigrisReadJSONBody defines parameters for TigrisRead.

type TigrisReadJSONRequestBody

type TigrisReadJSONRequestBody = TigrisReadJSONBody

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 TigrisReplaceJSONBody

type TigrisReplaceJSONBody = ReplaceRequest

TigrisReplaceJSONBody defines parameters for TigrisReplace.

type TigrisReplaceJSONRequestBody

type TigrisReplaceJSONRequestBody = TigrisReplaceJSONBody

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 TigrisRollbackTransactionJSONBody

type TigrisRollbackTransactionJSONBody = RollbackTransactionRequest

TigrisRollbackTransactionJSONBody defines parameters for TigrisRollbackTransaction.

type TigrisRollbackTransactionJSONRequestBody

type TigrisRollbackTransactionJSONRequestBody = TigrisRollbackTransactionJSONBody

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 TigrisSearchJSONBody

type TigrisSearchJSONBody = SearchRequest

TigrisSearchJSONBody defines parameters for TigrisSearch.

type TigrisSearchJSONRequestBody

type TigrisSearchJSONRequestBody = TigrisSearchJSONBody

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 TigrisSubscribeJSONBody

type TigrisSubscribeJSONBody = SubscribeRequest

TigrisSubscribeJSONBody defines parameters for TigrisSubscribe.

type TigrisSubscribeJSONRequestBody

type TigrisSubscribeJSONRequestBody = TigrisSubscribeJSONBody

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 TigrisUpdateJSONBody

type TigrisUpdateJSONBody = UpdateRequest

TigrisUpdateJSONBody defines parameters for TigrisUpdate.

type TigrisUpdateJSONRequestBody

type TigrisUpdateJSONRequestBody = TigrisUpdateJSONBody

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 {
	// Unique for a single transactional request.
	Id *string `json:"id,omitempty"`

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

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{}

Options that can be used to modify the transaction semantics.

type UpdateApplicationRequest

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

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

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

Request creation of user application

type UpdateApplicationResponse

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

CreateApplication returns created application

type UpdateRequest

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

	// 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"`

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

UpdateRequest defines model for UpdateRequest.

type UpdateRequestOptions

type UpdateRequestOptions struct {
	// 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"`

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

Additional options for update requests.

type UpdateResponse

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

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

	// 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"`
}

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"`
}

Update of user metadata response

type WriteOptions

type WriteOptions = map[string]interface{}

Additional options to modify write requests.

Jump to

Keyboard shortcuts

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