api

package
v1.0.0-beta.19 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 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 NewAuthGetAccessTokenRequestWithBody

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

NewAuthGetAccessTokenRequestWithBody generates requests for AuthGetAccessToken with any type of body

func NewCacheCreateCacheRequest

func NewCacheCreateCacheRequest(server string, project string, name string, body CacheCreateCacheJSONRequestBody) (*http.Request, error)

NewCacheCreateCacheRequest calls the generic CacheCreateCache builder with application/json body

func NewCacheCreateCacheRequestWithBody

func NewCacheCreateCacheRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)

NewCacheCreateCacheRequestWithBody generates requests for CacheCreateCache with any type of body

func NewCacheDelRequest

func NewCacheDelRequest(server string, project string, name string, key string, body CacheDelJSONRequestBody) (*http.Request, error)

NewCacheDelRequest calls the generic CacheDel builder with application/json body

func NewCacheDelRequestWithBody

func NewCacheDelRequestWithBody(server string, project string, name string, key string, contentType string, body io.Reader) (*http.Request, error)

NewCacheDelRequestWithBody generates requests for CacheDel with any type of body

func NewCacheDeleteCacheRequest

func NewCacheDeleteCacheRequest(server string, project string, name string, body CacheDeleteCacheJSONRequestBody) (*http.Request, error)

NewCacheDeleteCacheRequest calls the generic CacheDeleteCache builder with application/json body

func NewCacheDeleteCacheRequestWithBody

func NewCacheDeleteCacheRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)

NewCacheDeleteCacheRequestWithBody generates requests for CacheDeleteCache with any type of body

func NewCacheGetRequest

func NewCacheGetRequest(server string, project string, name string, key string) (*http.Request, error)

NewCacheGetRequest generates requests for CacheGet

func NewCacheKeysRequest

func NewCacheKeysRequest(server string, project string, name string, params *CacheKeysParams) (*http.Request, error)

NewCacheKeysRequest generates requests for CacheKeys

func NewCacheSetRequest

func NewCacheSetRequest(server string, project string, name string, key string, body CacheSetJSONRequestBody) (*http.Request, error)

NewCacheSetRequest calls the generic CacheSet builder with application/json body

func NewCacheSetRequestWithBody

func NewCacheSetRequestWithBody(server string, project string, name string, key string, contentType string, body io.Reader) (*http.Request, error)

NewCacheSetRequestWithBody generates requests for CacheSet with any type of body

func NewHealthAPIHealthRequest

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

NewHealthAPIHealthRequest generates requests for HealthAPIHealth

func NewManagementCreateNamespaceRequest

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

NewManagementCreateNamespaceRequest calls the generic ManagementCreateNamespace builder with application/json body

func NewManagementCreateNamespaceRequestWithBody

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

NewManagementCreateNamespaceRequestWithBody generates requests for ManagementCreateNamespace with any type of body

func NewManagementDescribeNamespacesRequest

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

NewManagementDescribeNamespacesRequest generates requests for ManagementDescribeNamespaces

func NewManagementGetNamespaceMetadataRequest

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

NewManagementGetNamespaceMetadataRequest calls the generic ManagementGetNamespaceMetadata builder with application/json body

func NewManagementGetNamespaceMetadataRequestWithBody

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

NewManagementGetNamespaceMetadataRequestWithBody generates requests for ManagementGetNamespaceMetadata with any type of body

func NewManagementGetUserMetadataRequest

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

NewManagementGetUserMetadataRequest calls the generic ManagementGetUserMetadata builder with application/json body

func NewManagementGetUserMetadataRequestWithBody

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

NewManagementGetUserMetadataRequestWithBody generates requests for ManagementGetUserMetadata with any type of body

func NewManagementInsertNamespaceMetadataRequest

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

NewManagementInsertNamespaceMetadataRequest calls the generic ManagementInsertNamespaceMetadata builder with application/json body

func NewManagementInsertNamespaceMetadataRequestWithBody

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

NewManagementInsertNamespaceMetadataRequestWithBody generates requests for ManagementInsertNamespaceMetadata with any type of body

func NewManagementInsertUserMetadataRequest

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

NewManagementInsertUserMetadataRequest calls the generic ManagementInsertUserMetadata builder with application/json body

func NewManagementInsertUserMetadataRequestWithBody

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

NewManagementInsertUserMetadataRequestWithBody generates requests for ManagementInsertUserMetadata with any type of body

func NewManagementListNamespacesRequest

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

NewManagementListNamespacesRequest generates requests for ManagementListNamespaces

func NewManagementUpdateNamespaceMetadataRequest

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

NewManagementUpdateNamespaceMetadataRequest calls the generic ManagementUpdateNamespaceMetadata builder with application/json body

func NewManagementUpdateNamespaceMetadataRequestWithBody

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

NewManagementUpdateNamespaceMetadataRequestWithBody generates requests for ManagementUpdateNamespaceMetadata with any type of body

func NewManagementUpdateUserMetadataRequest

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

NewManagementUpdateUserMetadataRequest calls the generic ManagementUpdateUserMetadata builder with application/json body

func NewManagementUpdateUserMetadataRequestWithBody

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

NewManagementUpdateUserMetadataRequestWithBody generates requests for ManagementUpdateUserMetadata with any type of body

func NewObservabilityGetInfoRequest

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

NewObservabilityGetInfoRequest generates requests for ObservabilityGetInfo

func NewObservabilityQueryTimeSeriesMetricsRequest

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

NewObservabilityQueryTimeSeriesMetricsRequest calls the generic ObservabilityQueryTimeSeriesMetrics builder with application/json body

func NewObservabilityQueryTimeSeriesMetricsRequestWithBody

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

NewObservabilityQueryTimeSeriesMetricsRequestWithBody generates requests for ObservabilityQueryTimeSeriesMetrics with any type of body

func NewObservabilityQuotaLimitsRequest

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

NewObservabilityQuotaLimitsRequest calls the generic ObservabilityQuotaLimits builder with application/json body

func NewObservabilityQuotaLimitsRequestWithBody

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

NewObservabilityQuotaLimitsRequestWithBody generates requests for ObservabilityQuotaLimits with any type of body

func NewObservabilityQuotaUsageRequest

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

NewObservabilityQuotaUsageRequest calls the generic ObservabilityQuotaUsage builder with application/json body

func NewObservabilityQuotaUsageRequestWithBody

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

NewObservabilityQuotaUsageRequestWithBody generates requests for ObservabilityQuotaUsage with any type of body

func NewRealtimeGetRTChannelRequest

func NewRealtimeGetRTChannelRequest(server string, project string, channel string) (*http.Request, error)

NewRealtimeGetRTChannelRequest generates requests for RealtimeGetRTChannel

func NewRealtimeGetRTChannelsRequest

func NewRealtimeGetRTChannelsRequest(server string, project string) (*http.Request, error)

NewRealtimeGetRTChannelsRequest generates requests for RealtimeGetRTChannels

func NewRealtimeListSubscriptionsRequest

func NewRealtimeListSubscriptionsRequest(server string, project string, channel string, params *RealtimeListSubscriptionsParams) (*http.Request, error)

NewRealtimeListSubscriptionsRequest generates requests for RealtimeListSubscriptions

func NewRealtimeMessagesRequest

func NewRealtimeMessagesRequest(server string, project string, channel string, body RealtimeMessagesJSONRequestBody) (*http.Request, error)

NewRealtimeMessagesRequest calls the generic RealtimeMessages builder with application/json body

func NewRealtimeMessagesRequestWithBody

func NewRealtimeMessagesRequestWithBody(server string, project string, channel string, contentType string, body io.Reader) (*http.Request, error)

NewRealtimeMessagesRequestWithBody generates requests for RealtimeMessages with any type of body

func NewRealtimePresenceRequest

func NewRealtimePresenceRequest(server string, project string, channel string) (*http.Request, error)

NewRealtimePresenceRequest generates requests for RealtimePresence

func NewRealtimeReadMessagesRequest

func NewRealtimeReadMessagesRequest(server string, project string, channel string, params *RealtimeReadMessagesParams) (*http.Request, error)

NewRealtimeReadMessagesRequest generates requests for RealtimeReadMessages

func NewTigrisBeginTransactionRequest

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

NewTigrisBeginTransactionRequest calls the generic TigrisBeginTransaction builder with application/json body

func NewTigrisBeginTransactionRequestWithBody

func NewTigrisBeginTransactionRequestWithBody(server string, project 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, project string, body TigrisCommitTransactionJSONRequestBody) (*http.Request, error)

NewTigrisCommitTransactionRequest calls the generic TigrisCommitTransaction builder with application/json body

func NewTigrisCommitTransactionRequestWithBody

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

NewTigrisCommitTransactionRequestWithBody generates requests for TigrisCommitTransaction with any type of body

func NewTigrisCreateAppKeyRequest

func NewTigrisCreateAppKeyRequest(server string, project string, body TigrisCreateAppKeyJSONRequestBody) (*http.Request, error)

NewTigrisCreateAppKeyRequest calls the generic TigrisCreateAppKey builder with application/json body

func NewTigrisCreateAppKeyRequestWithBody

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

NewTigrisCreateAppKeyRequestWithBody generates requests for TigrisCreateAppKey with any type of body

func NewTigrisCreateBranchRequest

func NewTigrisCreateBranchRequest(server string, project string, branch string, body TigrisCreateBranchJSONRequestBody) (*http.Request, error)

NewTigrisCreateBranchRequest calls the generic TigrisCreateBranch builder with application/json body

func NewTigrisCreateBranchRequestWithBody

func NewTigrisCreateBranchRequestWithBody(server string, project string, branch string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisCreateBranchRequestWithBody generates requests for TigrisCreateBranch with any type of body

func NewTigrisCreateOrUpdateCollectionRequest

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

NewTigrisCreateOrUpdateCollectionRequest calls the generic TigrisCreateOrUpdateCollection builder with application/json body

func NewTigrisCreateOrUpdateCollectionRequestWithBody

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

NewTigrisCreateOrUpdateCollectionRequestWithBody generates requests for TigrisCreateOrUpdateCollection with any type of body

func NewTigrisCreateProjectRequest

func NewTigrisCreateProjectRequest(server string, project string, body TigrisCreateProjectJSONRequestBody) (*http.Request, error)

NewTigrisCreateProjectRequest calls the generic TigrisCreateProject builder with application/json body

func NewTigrisCreateProjectRequestWithBody

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

NewTigrisCreateProjectRequestWithBody generates requests for TigrisCreateProject with any type of body

func NewTigrisDeleteAppKeyRequest

func NewTigrisDeleteAppKeyRequest(server string, project string, body TigrisDeleteAppKeyJSONRequestBody) (*http.Request, error)

NewTigrisDeleteAppKeyRequest calls the generic TigrisDeleteAppKey builder with application/json body

func NewTigrisDeleteAppKeyRequestWithBody

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

NewTigrisDeleteAppKeyRequestWithBody generates requests for TigrisDeleteAppKey with any type of body

func NewTigrisDeleteBranchRequest

func NewTigrisDeleteBranchRequest(server string, project string, branch string, body TigrisDeleteBranchJSONRequestBody) (*http.Request, error)

NewTigrisDeleteBranchRequest calls the generic TigrisDeleteBranch builder with application/json body

func NewTigrisDeleteBranchRequestWithBody

func NewTigrisDeleteBranchRequestWithBody(server string, project string, branch string, contentType string, body io.Reader) (*http.Request, error)

NewTigrisDeleteBranchRequestWithBody generates requests for TigrisDeleteBranch with any type of body

func NewTigrisDeleteProjectRequest

func NewTigrisDeleteProjectRequest(server string, project string, body TigrisDeleteProjectJSONRequestBody) (*http.Request, error)

NewTigrisDeleteProjectRequest calls the generic TigrisDeleteProject builder with application/json body

func NewTigrisDeleteProjectRequestWithBody

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

NewTigrisDeleteProjectRequestWithBody generates requests for TigrisDeleteProject with any type of body

func NewTigrisDeleteRequest

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

NewTigrisDeleteRequest calls the generic TigrisDelete builder with application/json body

func NewTigrisDeleteRequestWithBody

func NewTigrisDeleteRequestWithBody(server string, project 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, project string, collection string, body TigrisDescribeCollectionJSONRequestBody) (*http.Request, error)

NewTigrisDescribeCollectionRequest calls the generic TigrisDescribeCollection builder with application/json body

func NewTigrisDescribeCollectionRequestWithBody

func NewTigrisDescribeCollectionRequestWithBody(server string, project 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, project string, body TigrisDescribeDatabaseJSONRequestBody) (*http.Request, error)

NewTigrisDescribeDatabaseRequest calls the generic TigrisDescribeDatabase builder with application/json body

func NewTigrisDescribeDatabaseRequestWithBody

func NewTigrisDescribeDatabaseRequestWithBody(server string, project 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, project string, collection string, body TigrisDropCollectionJSONRequestBody) (*http.Request, error)

NewTigrisDropCollectionRequest calls the generic TigrisDropCollection builder with application/json body

func NewTigrisDropCollectionRequestWithBody

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

NewTigrisDropCollectionRequestWithBody generates requests for TigrisDropCollection with any type of body

func NewTigrisImportRequest

func NewTigrisImportRequest(server string, project string, collection string, body TigrisImportJSONRequestBody) (*http.Request, error)

NewTigrisImportRequest calls the generic TigrisImport builder with application/json body

func NewTigrisImportRequestWithBody

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

NewTigrisImportRequestWithBody generates requests for TigrisImport with any type of body

func NewTigrisInsertRequest

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

NewTigrisInsertRequest calls the generic TigrisInsert builder with application/json body

func NewTigrisInsertRequestWithBody

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

NewTigrisInsertRequestWithBody generates requests for TigrisInsert with any type of body

func NewTigrisListAppKeysRequest

func NewTigrisListAppKeysRequest(server string, project string) (*http.Request, error)

NewTigrisListAppKeysRequest generates requests for TigrisListAppKeys

func NewTigrisListCollectionsRequest

func NewTigrisListCollectionsRequest(server string, project string, params *TigrisListCollectionsParams) (*http.Request, error)

NewTigrisListCollectionsRequest generates requests for TigrisListCollections

func NewTigrisListProjectsRequest

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

NewTigrisListProjectsRequest generates requests for TigrisListProjects

func NewTigrisReadRequest

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

NewTigrisReadRequest calls the generic TigrisRead builder with application/json body

func NewTigrisReadRequestWithBody

func NewTigrisReadRequestWithBody(server string, project 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, project string, collection string, body TigrisReplaceJSONRequestBody) (*http.Request, error)

NewTigrisReplaceRequest calls the generic TigrisReplace builder with application/json body

func NewTigrisReplaceRequestWithBody

func NewTigrisReplaceRequestWithBody(server string, project 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, project string, body TigrisRollbackTransactionJSONRequestBody) (*http.Request, error)

NewTigrisRollbackTransactionRequest calls the generic TigrisRollbackTransaction builder with application/json body

func NewTigrisRollbackTransactionRequestWithBody

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

NewTigrisRollbackTransactionRequestWithBody generates requests for TigrisRollbackTransaction with any type of body

func NewTigrisRotateAppKeySecretRequest

func NewTigrisRotateAppKeySecretRequest(server string, project string, body TigrisRotateAppKeySecretJSONRequestBody) (*http.Request, error)

NewTigrisRotateAppKeySecretRequest calls the generic TigrisRotateAppKeySecret builder with application/json body

func NewTigrisRotateAppKeySecretRequestWithBody

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

NewTigrisRotateAppKeySecretRequestWithBody generates requests for TigrisRotateAppKeySecret with any type of body

func NewTigrisSearchRequest

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

NewTigrisSearchRequest calls the generic TigrisSearch builder with application/json body

func NewTigrisSearchRequestWithBody

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

NewTigrisSearchRequestWithBody generates requests for TigrisSearch with any type of body

func NewTigrisUpdateAppKeyRequest

func NewTigrisUpdateAppKeyRequest(server string, project string, body TigrisUpdateAppKeyJSONRequestBody) (*http.Request, error)

NewTigrisUpdateAppKeyRequest calls the generic TigrisUpdateAppKey builder with application/json body

func NewTigrisUpdateAppKeyRequestWithBody

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

NewTigrisUpdateAppKeyRequestWithBody generates requests for TigrisUpdateAppKey with any type of body

func NewTigrisUpdateRequest

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

NewTigrisUpdateRequest calls the generic TigrisUpdate builder with application/json body

func NewTigrisUpdateRequestWithBody

func NewTigrisUpdateRequestWithBody(server string, project 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 AppKey

type AppKey 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"`

	// Project it belongs to
	Project *string `json:"project,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 AppKey

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 {
	// Optionally specify a project branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

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

Start new transaction in project specified by "project".

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 CacheCreateCacheJSONBody

type CacheCreateCacheJSONBody = CreateCacheRequest

CacheCreateCacheJSONBody defines parameters for CacheCreateCache.

type CacheCreateCacheJSONRequestBody

type CacheCreateCacheJSONRequestBody = CacheCreateCacheJSONBody

CacheCreateCacheJSONRequestBody defines body for CacheCreateCache for application/json ContentType.

type CacheCreateCacheResponse

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

func ParseCacheCreateCacheResponse

func ParseCacheCreateCacheResponse(rsp *http.Response) (*CacheCreateCacheResponse, error)

ParseCacheCreateCacheResponse parses an HTTP response from a CacheCreateCacheWithResponse call

func (CacheCreateCacheResponse) Status

func (r CacheCreateCacheResponse) Status() string

Status returns HTTPResponse.Status

func (CacheCreateCacheResponse) StatusCode

func (r CacheCreateCacheResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CacheDelJSONBody

type CacheDelJSONBody = DelRequest

CacheDelJSONBody defines parameters for CacheDel.

type CacheDelJSONRequestBody

type CacheDelJSONRequestBody = CacheDelJSONBody

CacheDelJSONRequestBody defines body for CacheDel for application/json ContentType.

type CacheDelResponse

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

func ParseCacheDelResponse

func ParseCacheDelResponse(rsp *http.Response) (*CacheDelResponse, error)

ParseCacheDelResponse parses an HTTP response from a CacheDelWithResponse call

func (CacheDelResponse) Status

func (r CacheDelResponse) Status() string

Status returns HTTPResponse.Status

func (CacheDelResponse) StatusCode

func (r CacheDelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CacheDeleteCacheJSONBody

type CacheDeleteCacheJSONBody = DeleteCacheRequest

CacheDeleteCacheJSONBody defines parameters for CacheDeleteCache.

type CacheDeleteCacheJSONRequestBody

type CacheDeleteCacheJSONRequestBody = CacheDeleteCacheJSONBody

CacheDeleteCacheJSONRequestBody defines body for CacheDeleteCache for application/json ContentType.

type CacheDeleteCacheResponse

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

func ParseCacheDeleteCacheResponse

func ParseCacheDeleteCacheResponse(rsp *http.Response) (*CacheDeleteCacheResponse, error)

ParseCacheDeleteCacheResponse parses an HTTP response from a CacheDeleteCacheWithResponse call

func (CacheDeleteCacheResponse) Status

func (r CacheDeleteCacheResponse) Status() string

Status returns HTTPResponse.Status

func (CacheDeleteCacheResponse) StatusCode

func (r CacheDeleteCacheResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CacheGetResponse

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

func ParseCacheGetResponse

func ParseCacheGetResponse(rsp *http.Response) (*CacheGetResponse, error)

ParseCacheGetResponse parses an HTTP response from a CacheGetWithResponse call

func (CacheGetResponse) Status

func (r CacheGetResponse) Status() string

Status returns HTTPResponse.Status

func (CacheGetResponse) StatusCode

func (r CacheGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CacheKeysParams

type CacheKeysParams struct {
	// optional key pattern
	Pattern *string `form:"pattern,omitempty" json:"pattern,omitempty"`
}

CacheKeysParams defines parameters for CacheKeys.

type CacheKeysResponse

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

func ParseCacheKeysResponse

func ParseCacheKeysResponse(rsp *http.Response) (*CacheKeysResponse, error)

ParseCacheKeysResponse parses an HTTP response from a CacheKeysWithResponse call

func (CacheKeysResponse) Status

func (r CacheKeysResponse) Status() string

Status returns HTTPResponse.Status

func (CacheKeysResponse) StatusCode

func (r CacheKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CacheSetJSONBody

type CacheSetJSONBody = SetRequest

CacheSetJSONBody defines parameters for CacheSet.

type CacheSetJSONRequestBody

type CacheSetJSONRequestBody = CacheSetJSONBody

CacheSetJSONRequestBody defines body for CacheSet for application/json ContentType.

type CacheSetResponse

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

func ParseCacheSetResponse

func ParseCacheSetResponse(rsp *http.Response) (*CacheSetResponse, error)

ParseCacheSetResponse parses an HTTP response from a CacheSetWithResponse call

func (CacheSetResponse) Status

func (r CacheSetResponse) Status() string

Status returns HTTPResponse.Status

func (CacheSetResponse) StatusCode

func (r CacheSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ChannelMetadata

type ChannelMetadata struct {
	Channel *string `json:"channel,omitempty"`
}

ChannelMetadata defines model for ChannelMetadata.

type Client

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

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

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

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

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

Creates a new Client, with reasonable defaults

func (*Client) AuthGetAccessTokenWithBody

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

func (*Client) CacheCreateCache

func (c *Client) CacheCreateCache(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CacheCreateCacheWithBody

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

func (*Client) CacheDel

func (c *Client) CacheDel(ctx context.Context, project string, name string, key string, body CacheDelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CacheDelWithBody

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

func (*Client) CacheDeleteCache

func (c *Client) CacheDeleteCache(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CacheDeleteCacheWithBody

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

func (*Client) CacheGet

func (c *Client) CacheGet(ctx context.Context, project string, name string, key string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CacheKeys

func (c *Client) CacheKeys(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CacheSet

func (c *Client) CacheSet(ctx context.Context, project string, name string, key string, body CacheSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CacheSetWithBody

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

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

func (*Client) ManagementCreateNamespaceWithBody

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

func (*Client) ManagementDescribeNamespaces

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

func (*Client) ManagementGetNamespaceMetadata

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

func (*Client) ManagementGetNamespaceMetadataWithBody

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

func (*Client) ManagementGetUserMetadata

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

func (*Client) ManagementGetUserMetadataWithBody

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

func (*Client) ManagementInsertNamespaceMetadata

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

func (*Client) ManagementInsertNamespaceMetadataWithBody

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

func (*Client) ManagementInsertUserMetadata

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

func (*Client) ManagementInsertUserMetadataWithBody

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

func (*Client) ManagementListNamespaces

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

func (*Client) ManagementUpdateNamespaceMetadata

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

func (*Client) ManagementUpdateNamespaceMetadataWithBody

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

func (*Client) ManagementUpdateUserMetadata

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

func (*Client) ManagementUpdateUserMetadataWithBody

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

func (*Client) ObservabilityGetInfo

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

func (*Client) ObservabilityQueryTimeSeriesMetrics

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

func (*Client) ObservabilityQueryTimeSeriesMetricsWithBody

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

func (*Client) ObservabilityQuotaLimits

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

func (*Client) ObservabilityQuotaLimitsWithBody

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

func (*Client) ObservabilityQuotaUsage

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

func (*Client) ObservabilityQuotaUsageWithBody

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

func (*Client) RealtimeGetRTChannel

func (c *Client) RealtimeGetRTChannel(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RealtimeGetRTChannels

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

func (*Client) RealtimeListSubscriptions

func (c *Client) RealtimeListSubscriptions(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RealtimeMessages

func (c *Client) RealtimeMessages(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RealtimeMessagesWithBody

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

func (*Client) RealtimePresence

func (c *Client) RealtimePresence(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RealtimeReadMessages

func (c *Client) RealtimeReadMessages(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisBeginTransaction

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

func (*Client) TigrisBeginTransactionWithBody

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

func (*Client) TigrisCommitTransaction

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

func (*Client) TigrisCommitTransactionWithBody

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

func (*Client) TigrisCreateAppKey

func (c *Client) TigrisCreateAppKey(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCreateAppKeyWithBody

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

func (*Client) TigrisCreateBranch

func (c *Client) TigrisCreateBranch(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCreateBranchWithBody

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

func (*Client) TigrisCreateOrUpdateCollection

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

func (*Client) TigrisCreateOrUpdateCollectionWithBody

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

func (*Client) TigrisCreateProject

func (c *Client) TigrisCreateProject(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisCreateProjectWithBody

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

func (*Client) TigrisDelete

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

func (*Client) TigrisDeleteAppKey

func (c *Client) TigrisDeleteAppKey(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDeleteAppKeyWithBody

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

func (*Client) TigrisDeleteBranch

func (c *Client) TigrisDeleteBranch(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDeleteBranchWithBody

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

func (*Client) TigrisDeleteProject

func (c *Client) TigrisDeleteProject(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisDeleteProjectWithBody

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

func (*Client) TigrisDeleteWithBody

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

func (*Client) TigrisDescribeCollection

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

func (*Client) TigrisDescribeCollectionWithBody

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

func (*Client) TigrisDescribeDatabase

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

func (*Client) TigrisDescribeDatabaseWithBody

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

func (*Client) TigrisDropCollection

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

func (*Client) TigrisDropCollectionWithBody

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

func (*Client) TigrisImport

func (c *Client) TigrisImport(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisImportWithBody

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

func (*Client) TigrisInsert

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

func (*Client) TigrisInsertWithBody

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

func (*Client) TigrisListAppKeys

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

func (*Client) TigrisListCollections

func (c *Client) TigrisListCollections(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisListProjects

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

func (*Client) TigrisRead

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

func (*Client) TigrisReadWithBody

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

func (*Client) TigrisReplace

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

func (*Client) TigrisReplaceWithBody

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

func (*Client) TigrisRollbackTransaction

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

func (*Client) TigrisRollbackTransactionWithBody

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

func (*Client) TigrisRotateAppKeySecret

func (c *Client) TigrisRotateAppKeySecret(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisRotateAppKeySecretWithBody

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

func (*Client) TigrisSearch

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

func (*Client) TigrisSearchWithBody

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

func (*Client) TigrisUpdate

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

func (*Client) TigrisUpdateAppKey

func (c *Client) TigrisUpdateAppKey(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TigrisUpdateAppKeyWithBody

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

func (*Client) TigrisUpdateWithBody

func (c *Client) TigrisUpdateWithBody(ctx context.Context, project 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// TigrisListAppKeys request
	TigrisListAppKeys(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	TigrisCreateAppKey(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	TigrisDeleteAppKey(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	TigrisRotateAppKeySecret(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	TigrisUpdateAppKey(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CacheCreateCache(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CacheDeleteCache(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CacheKeys request
	CacheKeys(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CacheDel request with any body
	CacheDelWithBody(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CacheDel(ctx context.Context, project string, name string, key string, body CacheDelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CacheGet request
	CacheGet(ctx context.Context, project string, name string, key string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CacheSet request with any body
	CacheSetWithBody(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CacheSet(ctx context.Context, project string, name string, key string, body CacheSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	TigrisCreateProject(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisCreateBranch request with any body
	TigrisCreateBranchWithBody(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisCreateBranch(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisDeleteBranch request with any body
	TigrisDeleteBranchWithBody(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisDeleteBranch(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TigrisListCollections request
	TigrisListCollections(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

	// TigrisImport request with any body
	TigrisImportWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TigrisImport(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	TigrisDeleteProject(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RealtimeGetRTChannels request
	RealtimeGetRTChannels(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RealtimeGetRTChannel request
	RealtimeGetRTChannel(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RealtimeReadMessages request
	RealtimeReadMessages(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RealtimeMessages request with any body
	RealtimeMessagesWithBody(ctx context.Context, project string, channel string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RealtimeMessages(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RealtimePresence request
	RealtimePresence(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RealtimeListSubscriptions request
	RealtimeListSubscriptions(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, 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) CacheCreateCacheWithBodyWithResponse

func (c *ClientWithResponses) CacheCreateCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error)

CacheCreateCacheWithBodyWithResponse request with arbitrary body returning *CacheCreateCacheResponse

func (*ClientWithResponses) CacheCreateCacheWithResponse

func (c *ClientWithResponses) CacheCreateCacheWithResponse(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error)

func (*ClientWithResponses) CacheDelWithBodyWithResponse

func (c *ClientWithResponses) CacheDelWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDelResponse, error)

CacheDelWithBodyWithResponse request with arbitrary body returning *CacheDelResponse

func (*ClientWithResponses) CacheDelWithResponse

func (c *ClientWithResponses) CacheDelWithResponse(ctx context.Context, project string, name string, key string, body CacheDelJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDelResponse, error)

func (*ClientWithResponses) CacheDeleteCacheWithBodyWithResponse

func (c *ClientWithResponses) CacheDeleteCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error)

CacheDeleteCacheWithBodyWithResponse request with arbitrary body returning *CacheDeleteCacheResponse

func (*ClientWithResponses) CacheDeleteCacheWithResponse

func (c *ClientWithResponses) CacheDeleteCacheWithResponse(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error)

func (*ClientWithResponses) CacheGetWithResponse

func (c *ClientWithResponses) CacheGetWithResponse(ctx context.Context, project string, name string, key string, reqEditors ...RequestEditorFn) (*CacheGetResponse, error)

CacheGetWithResponse request returning *CacheGetResponse

func (*ClientWithResponses) CacheKeysWithResponse

func (c *ClientWithResponses) CacheKeysWithResponse(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*CacheKeysResponse, error)

CacheKeysWithResponse request returning *CacheKeysResponse

func (*ClientWithResponses) CacheSetWithBodyWithResponse

func (c *ClientWithResponses) CacheSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheSetResponse, error)

CacheSetWithBodyWithResponse request with arbitrary body returning *CacheSetResponse

func (*ClientWithResponses) CacheSetWithResponse

func (c *ClientWithResponses) CacheSetWithResponse(ctx context.Context, project string, name string, key string, body CacheSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheSetResponse, error)

func (*ClientWithResponses) HealthAPIHealthWithResponse

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

HealthAPIHealthWithResponse request returning *HealthAPIHealthResponse

func (*ClientWithResponses) ManagementCreateNamespaceWithBodyWithResponse

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

ManagementCreateNamespaceWithBodyWithResponse request with arbitrary body returning *ManagementCreateNamespaceResponse

func (*ClientWithResponses) ManagementCreateNamespaceWithResponse

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

func (*ClientWithResponses) ManagementDescribeNamespacesWithResponse

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

ManagementDescribeNamespacesWithResponse request returning *ManagementDescribeNamespacesResponse

func (*ClientWithResponses) ManagementGetNamespaceMetadataWithBodyWithResponse

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

ManagementGetNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementGetNamespaceMetadataResponse

func (*ClientWithResponses) ManagementGetNamespaceMetadataWithResponse

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

func (*ClientWithResponses) ManagementGetUserMetadataWithBodyWithResponse

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

ManagementGetUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementGetUserMetadataResponse

func (*ClientWithResponses) ManagementGetUserMetadataWithResponse

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

func (*ClientWithResponses) ManagementInsertNamespaceMetadataWithBodyWithResponse

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

ManagementInsertNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementInsertNamespaceMetadataResponse

func (*ClientWithResponses) ManagementInsertNamespaceMetadataWithResponse

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

func (*ClientWithResponses) ManagementInsertUserMetadataWithBodyWithResponse

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

ManagementInsertUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementInsertUserMetadataResponse

func (*ClientWithResponses) ManagementInsertUserMetadataWithResponse

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

func (*ClientWithResponses) ManagementListNamespacesWithResponse

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

ManagementListNamespacesWithResponse request returning *ManagementListNamespacesResponse

func (*ClientWithResponses) ManagementUpdateNamespaceMetadataWithBodyWithResponse

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

ManagementUpdateNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementUpdateNamespaceMetadataResponse

func (*ClientWithResponses) ManagementUpdateNamespaceMetadataWithResponse

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

func (*ClientWithResponses) ManagementUpdateUserMetadataWithBodyWithResponse

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

ManagementUpdateUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementUpdateUserMetadataResponse

func (*ClientWithResponses) ManagementUpdateUserMetadataWithResponse

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

func (*ClientWithResponses) ObservabilityGetInfoWithResponse

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

ObservabilityGetInfoWithResponse request returning *ObservabilityGetInfoResponse

func (*ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse

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

ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse request with arbitrary body returning *ObservabilityQueryTimeSeriesMetricsResponse

func (*ClientWithResponses) ObservabilityQuotaLimitsWithBodyWithResponse

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

ObservabilityQuotaLimitsWithBodyWithResponse request with arbitrary body returning *ObservabilityQuotaLimitsResponse

func (*ClientWithResponses) ObservabilityQuotaLimitsWithResponse

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

func (*ClientWithResponses) ObservabilityQuotaUsageWithBodyWithResponse

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

ObservabilityQuotaUsageWithBodyWithResponse request with arbitrary body returning *ObservabilityQuotaUsageResponse

func (*ClientWithResponses) ObservabilityQuotaUsageWithResponse

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

func (*ClientWithResponses) RealtimeGetRTChannelWithResponse

func (c *ClientWithResponses) RealtimeGetRTChannelWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelResponse, error)

RealtimeGetRTChannelWithResponse request returning *RealtimeGetRTChannelResponse

func (*ClientWithResponses) RealtimeGetRTChannelsWithResponse

func (c *ClientWithResponses) RealtimeGetRTChannelsWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelsResponse, error)

RealtimeGetRTChannelsWithResponse request returning *RealtimeGetRTChannelsResponse

func (*ClientWithResponses) RealtimeListSubscriptionsWithResponse

func (c *ClientWithResponses) RealtimeListSubscriptionsWithResponse(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, reqEditors ...RequestEditorFn) (*RealtimeListSubscriptionsResponse, error)

RealtimeListSubscriptionsWithResponse request returning *RealtimeListSubscriptionsResponse

func (*ClientWithResponses) RealtimeMessagesWithBodyWithResponse

func (c *ClientWithResponses) RealtimeMessagesWithBodyWithResponse(ctx context.Context, project string, channel string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error)

RealtimeMessagesWithBodyWithResponse request with arbitrary body returning *RealtimeMessagesResponse

func (*ClientWithResponses) RealtimeMessagesWithResponse

func (c *ClientWithResponses) RealtimeMessagesWithResponse(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error)

func (*ClientWithResponses) RealtimePresenceWithResponse

func (c *ClientWithResponses) RealtimePresenceWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimePresenceResponse, error)

RealtimePresenceWithResponse request returning *RealtimePresenceResponse

func (*ClientWithResponses) RealtimeReadMessagesWithResponse

func (c *ClientWithResponses) RealtimeReadMessagesWithResponse(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*RealtimeReadMessagesResponse, error)

RealtimeReadMessagesWithResponse request returning *RealtimeReadMessagesResponse

func (*ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse

func (c *ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)

func (*ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse

func (c *ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)

func (*ClientWithResponses) TigrisCreateAppKeyWithBodyWithResponse

func (c *ClientWithResponses) TigrisCreateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error)

TigrisCreateAppKeyWithBodyWithResponse request with arbitrary body returning *TigrisCreateAppKeyResponse

func (*ClientWithResponses) TigrisCreateAppKeyWithResponse

func (c *ClientWithResponses) TigrisCreateAppKeyWithResponse(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error)

func (*ClientWithResponses) TigrisCreateBranchWithBodyWithResponse

func (c *ClientWithResponses) TigrisCreateBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error)

TigrisCreateBranchWithBodyWithResponse request with arbitrary body returning *TigrisCreateBranchResponse

func (*ClientWithResponses) TigrisCreateBranchWithResponse

func (c *ClientWithResponses) TigrisCreateBranchWithResponse(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error)

func (*ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse

func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)

func (*ClientWithResponses) TigrisCreateProjectWithBodyWithResponse

func (c *ClientWithResponses) TigrisCreateProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error)

TigrisCreateProjectWithBodyWithResponse request with arbitrary body returning *TigrisCreateProjectResponse

func (*ClientWithResponses) TigrisCreateProjectWithResponse

func (c *ClientWithResponses) TigrisCreateProjectWithResponse(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error)

func (*ClientWithResponses) TigrisDeleteAppKeyWithBodyWithResponse

func (c *ClientWithResponses) TigrisDeleteAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error)

TigrisDeleteAppKeyWithBodyWithResponse request with arbitrary body returning *TigrisDeleteAppKeyResponse

func (*ClientWithResponses) TigrisDeleteAppKeyWithResponse

func (c *ClientWithResponses) TigrisDeleteAppKeyWithResponse(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error)

func (*ClientWithResponses) TigrisDeleteBranchWithBodyWithResponse

func (c *ClientWithResponses) TigrisDeleteBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error)

TigrisDeleteBranchWithBodyWithResponse request with arbitrary body returning *TigrisDeleteBranchResponse

func (*ClientWithResponses) TigrisDeleteBranchWithResponse

func (c *ClientWithResponses) TigrisDeleteBranchWithResponse(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error)

func (*ClientWithResponses) TigrisDeleteProjectWithBodyWithResponse

func (c *ClientWithResponses) TigrisDeleteProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error)

TigrisDeleteProjectWithBodyWithResponse request with arbitrary body returning *TigrisDeleteProjectResponse

func (*ClientWithResponses) TigrisDeleteProjectWithResponse

func (c *ClientWithResponses) TigrisDeleteProjectWithResponse(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error)

func (*ClientWithResponses) TigrisDeleteWithBodyWithResponse

func (c *ClientWithResponses) TigrisDeleteWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)

func (*ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse

func (c *ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)

func (*ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse

func (c *ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)

func (*ClientWithResponses) TigrisDropCollectionWithBodyWithResponse

func (c *ClientWithResponses) TigrisDropCollectionWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)

func (*ClientWithResponses) TigrisImportWithBodyWithResponse

func (c *ClientWithResponses) TigrisImportWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error)

TigrisImportWithBodyWithResponse request with arbitrary body returning *TigrisImportResponse

func (*ClientWithResponses) TigrisImportWithResponse

func (c *ClientWithResponses) TigrisImportWithResponse(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error)

func (*ClientWithResponses) TigrisInsertWithBodyWithResponse

func (c *ClientWithResponses) TigrisInsertWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)

func (*ClientWithResponses) TigrisListAppKeysWithResponse

func (c *ClientWithResponses) TigrisListAppKeysWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListAppKeysResponse, error)

TigrisListAppKeysWithResponse request returning *TigrisListAppKeysResponse

func (*ClientWithResponses) TigrisListCollectionsWithResponse

func (c *ClientWithResponses) TigrisListCollectionsWithResponse(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)

TigrisListCollectionsWithResponse request returning *TigrisListCollectionsResponse

func (*ClientWithResponses) TigrisListProjectsWithResponse

func (c *ClientWithResponses) TigrisListProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListProjectsResponse, error)

TigrisListProjectsWithResponse request returning *TigrisListProjectsResponse

func (*ClientWithResponses) TigrisReadWithBodyWithResponse

func (c *ClientWithResponses) TigrisReadWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)

func (*ClientWithResponses) TigrisReplaceWithBodyWithResponse

func (c *ClientWithResponses) TigrisReplaceWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)

func (*ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse

func (c *ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)

func (*ClientWithResponses) TigrisRotateAppKeySecretWithBodyWithResponse

func (c *ClientWithResponses) TigrisRotateAppKeySecretWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error)

TigrisRotateAppKeySecretWithBodyWithResponse request with arbitrary body returning *TigrisRotateAppKeySecretResponse

func (*ClientWithResponses) TigrisRotateAppKeySecretWithResponse

func (c *ClientWithResponses) TigrisRotateAppKeySecretWithResponse(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error)

func (*ClientWithResponses) TigrisSearchWithBodyWithResponse

func (c *ClientWithResponses) TigrisSearchWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)

func (*ClientWithResponses) TigrisUpdateAppKeyWithBodyWithResponse

func (c *ClientWithResponses) TigrisUpdateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error)

TigrisUpdateAppKeyWithBodyWithResponse request with arbitrary body returning *TigrisUpdateAppKeyResponse

func (*ClientWithResponses) TigrisUpdateAppKeyWithResponse

func (c *ClientWithResponses) TigrisUpdateAppKeyWithResponse(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error)

func (*ClientWithResponses) TigrisUpdateWithBodyWithResponse

func (c *ClientWithResponses) TigrisUpdateWithBodyWithResponse(ctx context.Context, project 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, project 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// TigrisListProjects request
	TigrisListProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListProjectsResponse, error)

	// TigrisListAppKeys request
	TigrisListAppKeysWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListAppKeysResponse, error)

	// TigrisCreateAppKey request with any body
	TigrisCreateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error)

	TigrisCreateAppKeyWithResponse(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error)

	// TigrisDeleteAppKey request with any body
	TigrisDeleteAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error)

	TigrisDeleteAppKeyWithResponse(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error)

	// TigrisRotateAppKeySecret request with any body
	TigrisRotateAppKeySecretWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error)

	TigrisRotateAppKeySecretWithResponse(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error)

	// TigrisUpdateAppKey request with any body
	TigrisUpdateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error)

	TigrisUpdateAppKeyWithResponse(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error)

	// CacheCreateCache request with any body
	CacheCreateCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error)

	CacheCreateCacheWithResponse(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error)

	// CacheDeleteCache request with any body
	CacheDeleteCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error)

	CacheDeleteCacheWithResponse(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error)

	// CacheKeys request
	CacheKeysWithResponse(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*CacheKeysResponse, error)

	// CacheDel request with any body
	CacheDelWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDelResponse, error)

	CacheDelWithResponse(ctx context.Context, project string, name string, key string, body CacheDelJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDelResponse, error)

	// CacheGet request
	CacheGetWithResponse(ctx context.Context, project string, name string, key string, reqEditors ...RequestEditorFn) (*CacheGetResponse, error)

	// CacheSet request with any body
	CacheSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheSetResponse, error)

	CacheSetWithResponse(ctx context.Context, project string, name string, key string, body CacheSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheSetResponse, error)

	// TigrisCreateProject request with any body
	TigrisCreateProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error)

	TigrisCreateProjectWithResponse(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error)

	// TigrisCreateBranch request with any body
	TigrisCreateBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error)

	TigrisCreateBranchWithResponse(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error)

	// TigrisDeleteBranch request with any body
	TigrisDeleteBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error)

	TigrisDeleteBranchWithResponse(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error)

	// TigrisListCollections request
	TigrisListCollectionsWithResponse(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)

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

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

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

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

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

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

	// TigrisImport request with any body
	TigrisImportWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error)

	TigrisImportWithResponse(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// TigrisDeleteProject request with any body
	TigrisDeleteProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error)

	TigrisDeleteProjectWithResponse(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error)

	// RealtimeGetRTChannels request
	RealtimeGetRTChannelsWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelsResponse, error)

	// RealtimeGetRTChannel request
	RealtimeGetRTChannelWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelResponse, error)

	// RealtimeReadMessages request
	RealtimeReadMessagesWithResponse(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*RealtimeReadMessagesResponse, error)

	// RealtimeMessages request with any body
	RealtimeMessagesWithBodyWithResponse(ctx context.Context, project string, channel string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error)

	RealtimeMessagesWithResponse(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error)

	// RealtimePresence request
	RealtimePresenceWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimePresenceResponse, error)

	// RealtimeListSubscriptions request
	RealtimeListSubscriptionsWithResponse(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, reqEditors ...RequestEditorFn) (*RealtimeListSubscriptionsResponse, 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 struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`
}

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 CreateAppKeyRequest

type CreateAppKeyRequest 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 app key

type CreateAppKeyResponse

type CreateAppKeyResponse struct {
	// An user AppKey
	CreatedAppKey *AppKey `json:"created_app_key,omitempty"`
}

CreateAppKeyResponse returns created app keys

type CreateBranchRequest

type CreateBranchRequest = map[string]interface{}

CreateBranchRequest defines model for CreateBranchRequest.

type CreateBranchResponse

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

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

CreateBranchResponse defines model for CreateBranchResponse.

type CreateCacheOptions

type CreateCacheOptions struct {
	TtlMs *uint64 `json:"ttl_ms,omitempty"`
}

CreateCacheOptions defines model for CreateCacheOptions.

type CreateCacheRequest

type CreateCacheRequest struct {
	Options *CreateCacheOptions `json:"options,omitempty"`
}

CreateCacheRequest defines model for CreateCacheRequest.

type CreateCacheResponse

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

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

CreateCacheResponse defines model for CreateCacheResponse.

type CreateNamespaceRequest

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

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

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

CreateNamespaceRequest defines model for CreateNamespaceRequest.

type CreateNamespaceResponse

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

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

CreateNamespaceResponse defines model for CreateNamespaceResponse.

type CreateOrUpdateCollectionRequest

type CreateOrUpdateCollectionRequest struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

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

type CreateProjectRequest = map[string]interface{}

CreateProjectRequest defines model for CreateProjectRequest.

type CreateProjectResponse

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

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

CreateProjectResponse defines model for CreateProjectResponse.

type DataPoint

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

Represents the data point in timeseries.

type DatabaseMetadata

type DatabaseMetadata = map[string]interface{}

DatabaseMetadata defines model for DatabaseMetadata.

type DelRequest

type DelRequest = map[string]interface{}

DelRequest defines model for DelRequest.

type DelResponse

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

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

DelResponse defines model for DelResponse.

type DeleteAppKeyRequest

type DeleteAppKeyRequest struct {
	// app_key id
	Id *string `json:"id,omitempty"`
}

Request deletion of an app key

type DeleteAppKeyResponse

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

AppKeys returns the flag to convey if app key was deleted

type DeleteBranchRequest

type DeleteBranchRequest = map[string]interface{}

DeleteBranchRequest defines model for DeleteBranchRequest.

type DeleteBranchResponse

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

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

DeleteBranchResponse defines model for DeleteBranchResponse.

type DeleteCacheRequest

type DeleteCacheRequest = map[string]interface{}

DeleteCacheRequest defines model for DeleteCacheRequest.

type DeleteCacheResponse

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

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

DeleteCacheResponse defines model for DeleteCacheResponse.

type DeleteProjectRequest

type DeleteProjectRequest = map[string]interface{}

DeleteProjectRequest defines model for DeleteProjectRequest.

type DeleteProjectResponse

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

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

DeleteProjectResponse defines model for DeleteProjectResponse.

type DeleteRequest

type DeleteRequest struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

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

	// Limit the number of documents to be deleted
	Limit *int64 `json:"limit,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 {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

	// Name of the collection.
	Collection *string `json:"collection,omitempty"`

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

	// Project name whose db is under target to get description of its collection.
	Project *string `json:"project,omitempty"`

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

DescribeCollectionRequest defines model for DescribeCollectionRequest.

type DescribeCollectionResponse

type DescribeCollectionResponse struct {
	// 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 {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

	// Project name whose db is under target to get description.
	Project *string `json:"project,omitempty"`

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

DescribeDatabaseRequest defines model for DescribeDatabaseRequest.

type DescribeDatabaseResponse

type DescribeDatabaseResponse struct {
	// List of all the branches in this database
	Branches *[]string `json:"branches,omitempty"`

	// A detailed description about all the collections. The description returns collection metadata and the schema.
	Collections *[]CollectionDescription `json:"collections,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 DescribeNamespacesData

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

DescribeNamespacesData defines model for DescribeNamespacesData.

type DescribeNamespacesResponse

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

DescribeNamespacesResponse defines model for DescribeNamespacesResponse.

type DropCollectionRequest

type DropCollectionRequest struct {
	// Optionally specify a project branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

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

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

Request namespace metadata

type GetNamespaceMetadataResponse

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

Namespace metadata response

type GetRTChannelResponse

type GetRTChannelResponse struct {
	Channel *string `json:"channel,omitempty"`
}

GetRTChannelResponse defines model for GetRTChannelResponse.

type GetRTChannelsResponse

type GetRTChannelsResponse struct {
	Channels *[]ChannelMetadata `json:"channels,omitempty"`
}

GetRTChannelsResponse defines model for GetRTChannelsResponse.

type GetResponse

type GetResponse struct {
	// expiration ms
	ExpiresInMs *uint64 `json:"expires_in_ms,omitempty"`

	// value
	Value *[]byte `json:"value,omitempty"`
}

GetResponse defines model for GetResponse.

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       *[]byte `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 ImportRequest

type ImportRequest struct {
	// The list of autogenerated fields of the collection
	Autogenerated *[]string `json:"autogenerated,omitempty"`

	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

	// Allow to create collection if it doesn't exists
	CreateCollection *bool `json:"create_collection,omitempty"`

	// Array of documents to import. Each document is a JSON object.
	Documents *[]map[string]interface{} `json:"documents,omitempty"`

	// additional options for import requests.
	Options *ImportRequestOptions `json:"options,omitempty"`

	// List of fields which constitutes primary key of the collection If not specified and field with name 'id' is present, it's used as a primary key, further if inferred type is UUID, then it's set as autogenerated.
	PrimaryKey *[]string `json:"primary_key,omitempty"`
}

ImportRequest defines model for ImportRequest.

type ImportRequestOptions

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

additional options for import requests.

type ImportResponse

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

ImportResponse defines model for ImportResponse.

type InsertNamespaceMetadataRequest

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

Request insertion of namespace metadata

type InsertNamespaceMetadataResponse

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

Insertion of namespace metadata response

type InsertRequest

type InsertRequest struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

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

type KeysResponse struct {
	// all the keys
	Keys *[]string `json:"keys,omitempty"`
}

KeysResponse defines model for KeysResponse.

type ListAppKeysResponse

type ListAppKeysResponse struct {
	AppKeys *[]AppKey `json:"app_keys,omitempty"`
}

ListAppKeysResponse returns one or more visible app keys to user

type ListCollectionsResponse

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

ListCollectionsResponse defines model for ListCollectionsResponse.

type ListNamespacesResponse

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

ListNamespacesResponse defines model for ListNamespacesResponse.

type ListProjectsResponse

type ListProjectsResponse struct {
	// List of the projects.
	Projects *[]ProjectInfo `json:"projects,omitempty"`
}

ListProjectsResponse defines model for ListProjectsResponse.

type ListSubscriptionResponse

type ListSubscriptionResponse struct {
	Devices *[]string `json:"devices,omitempty"`
}

ListSubscriptionResponse defines model for ListSubscriptionResponse.

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 ManagementDescribeNamespacesResponse

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

func ParseManagementDescribeNamespacesResponse

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

ParseManagementDescribeNamespacesResponse parses an HTTP response from a ManagementDescribeNamespacesWithResponse call

func (ManagementDescribeNamespacesResponse) Status

Status returns HTTPResponse.Status

func (ManagementDescribeNamespacesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementGetNamespaceMetadataJSONBody

type ManagementGetNamespaceMetadataJSONBody = GetNamespaceMetadataRequest

ManagementGetNamespaceMetadataJSONBody defines parameters for ManagementGetNamespaceMetadata.

type ManagementGetNamespaceMetadataJSONRequestBody

type ManagementGetNamespaceMetadataJSONRequestBody = ManagementGetNamespaceMetadataJSONBody

ManagementGetNamespaceMetadataJSONRequestBody defines body for ManagementGetNamespaceMetadata for application/json ContentType.

type ManagementGetNamespaceMetadataResponse

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

func ParseManagementGetNamespaceMetadataResponse

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

ParseManagementGetNamespaceMetadataResponse parses an HTTP response from a ManagementGetNamespaceMetadataWithResponse call

func (ManagementGetNamespaceMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementGetNamespaceMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

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

type ManagementInsertNamespaceMetadataJSONBody = InsertNamespaceMetadataRequest

ManagementInsertNamespaceMetadataJSONBody defines parameters for ManagementInsertNamespaceMetadata.

type ManagementInsertNamespaceMetadataJSONRequestBody

type ManagementInsertNamespaceMetadataJSONRequestBody = ManagementInsertNamespaceMetadataJSONBody

ManagementInsertNamespaceMetadataJSONRequestBody defines body for ManagementInsertNamespaceMetadata for application/json ContentType.

type ManagementInsertNamespaceMetadataResponse

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

func ParseManagementInsertNamespaceMetadataResponse

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

ParseManagementInsertNamespaceMetadataResponse parses an HTTP response from a ManagementInsertNamespaceMetadataWithResponse call

func (ManagementInsertNamespaceMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementInsertNamespaceMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

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

type ManagementUpdateNamespaceMetadataJSONBody = UpdateNamespaceMetadataRequest

ManagementUpdateNamespaceMetadataJSONBody defines parameters for ManagementUpdateNamespaceMetadata.

type ManagementUpdateNamespaceMetadataJSONRequestBody

type ManagementUpdateNamespaceMetadataJSONRequestBody = ManagementUpdateNamespaceMetadataJSONBody

ManagementUpdateNamespaceMetadataJSONRequestBody defines body for ManagementUpdateNamespaceMetadata for application/json ContentType.

type ManagementUpdateNamespaceMetadataResponse

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

func ParseManagementUpdateNamespaceMetadataResponse

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

ParseManagementUpdateNamespaceMetadataResponse parses an HTTP response from a ManagementUpdateNamespaceMetadataWithResponse call

func (ManagementUpdateNamespaceMetadataResponse) Status

Status returns HTTPResponse.Status

func (ManagementUpdateNamespaceMetadataResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

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

type Message struct {
	Data *[]byte `json:"data,omitempty"`

	// an optional id if idempotency is needed to ensure only a single time message is published during retries. If not specified then server will automatically add an id to message.
	Id       *string `json:"id,omitempty"`
	Name     *string `json:"name,omitempty"`
	Sequence *string `json:"sequence,omitempty"`
}

Message defines model for Message.

type MessagesRequest

type MessagesRequest struct {
	Channel  *string    `json:"channel,omitempty"`
	Messages *[]Message `json:"messages,omitempty"`
	Project  *string    `json:"project,omitempty"`
}

MessagesRequest defines model for MessagesRequest.

type MessagesResponse

type MessagesResponse struct {
	// ids of the published messages
	Ids *[]string `json:"ids,omitempty"`
}

MessagesResponse defines model for MessagesResponse.

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 {
	// The unique namespace code.
	Code *int32 `json:"code,omitempty"`

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

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

NamespaceInfo defines model for NamespaceInfo.

type ObservabilityGetInfoResponse

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

func ParseObservabilityGetInfoResponse

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

ParseObservabilityGetInfoResponse parses an HTTP response from a ObservabilityGetInfoWithResponse call

func (ObservabilityGetInfoResponse) Status

Status returns HTTPResponse.Status

func (ObservabilityGetInfoResponse) StatusCode

func (r ObservabilityGetInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

type PresenceResponse struct {
	Response *[]byte `json:"response,omitempty"`
}

PresenceResponse defines model for PresenceResponse.

type ProjectInfo

type ProjectInfo struct {
	Metadata *ProjectMetadata `json:"metadata,omitempty"`

	// Project name.
	Project *string `json:"project,omitempty"`
}

ProjectInfo defines model for ProjectInfo.

type ProjectMetadata

type ProjectMetadata = map[string]interface{}

ProjectMetadata defines model for ProjectMetadata.

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 ReadMessagesResponse

type ReadMessagesResponse struct {
	Message *Message `json:"message,omitempty"`
}

ReadMessagesResponse defines model for ReadMessagesResponse.

type ReadRequest

type ReadRequest struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

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

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

ReadRequest defines model for ReadRequest.

type ReadRequestOptions

type ReadRequestOptions struct {
	// 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 RealtimeGetRTChannelResponse

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

func ParseRealtimeGetRTChannelResponse

func ParseRealtimeGetRTChannelResponse(rsp *http.Response) (*RealtimeGetRTChannelResponse, error)

ParseRealtimeGetRTChannelResponse parses an HTTP response from a RealtimeGetRTChannelWithResponse call

func (RealtimeGetRTChannelResponse) Status

Status returns HTTPResponse.Status

func (RealtimeGetRTChannelResponse) StatusCode

func (r RealtimeGetRTChannelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RealtimeGetRTChannelsResponse

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

func ParseRealtimeGetRTChannelsResponse

func ParseRealtimeGetRTChannelsResponse(rsp *http.Response) (*RealtimeGetRTChannelsResponse, error)

ParseRealtimeGetRTChannelsResponse parses an HTTP response from a RealtimeGetRTChannelsWithResponse call

func (RealtimeGetRTChannelsResponse) Status

Status returns HTTPResponse.Status

func (RealtimeGetRTChannelsResponse) StatusCode

func (r RealtimeGetRTChannelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RealtimeListSubscriptionsParams

type RealtimeListSubscriptionsParams struct {
	PageSize *int32 `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page     *int32 `form:"page,omitempty" json:"page,omitempty"`
}

RealtimeListSubscriptionsParams defines parameters for RealtimeListSubscriptions.

type RealtimeListSubscriptionsResponse

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

func ParseRealtimeListSubscriptionsResponse

func ParseRealtimeListSubscriptionsResponse(rsp *http.Response) (*RealtimeListSubscriptionsResponse, error)

ParseRealtimeListSubscriptionsResponse parses an HTTP response from a RealtimeListSubscriptionsWithResponse call

func (RealtimeListSubscriptionsResponse) Status

Status returns HTTPResponse.Status

func (RealtimeListSubscriptionsResponse) StatusCode

func (r RealtimeListSubscriptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RealtimeMessagesJSONBody

type RealtimeMessagesJSONBody = MessagesRequest

RealtimeMessagesJSONBody defines parameters for RealtimeMessages.

type RealtimeMessagesJSONRequestBody

type RealtimeMessagesJSONRequestBody = RealtimeMessagesJSONBody

RealtimeMessagesJSONRequestBody defines body for RealtimeMessages for application/json ContentType.

type RealtimeMessagesResponse

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

func ParseRealtimeMessagesResponse

func ParseRealtimeMessagesResponse(rsp *http.Response) (*RealtimeMessagesResponse, error)

ParseRealtimeMessagesResponse parses an HTTP response from a RealtimeMessagesWithResponse call

func (RealtimeMessagesResponse) Status

func (r RealtimeMessagesResponse) Status() string

Status returns HTTPResponse.Status

func (RealtimeMessagesResponse) StatusCode

func (r RealtimeMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RealtimePresenceResponse

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

func ParseRealtimePresenceResponse

func ParseRealtimePresenceResponse(rsp *http.Response) (*RealtimePresenceResponse, error)

ParseRealtimePresenceResponse parses an HTTP response from a RealtimePresenceWithResponse call

func (RealtimePresenceResponse) Status

func (r RealtimePresenceResponse) Status() string

Status returns HTTPResponse.Status

func (RealtimePresenceResponse) StatusCode

func (r RealtimePresenceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RealtimeReadMessagesParams

type RealtimeReadMessagesParams struct {
	SessionId *string `form:"session_id,omitempty" json:"session_id,omitempty"`
	SocketId  *string `form:"socket_id,omitempty" json:"socket_id,omitempty"`
	Event     *string `form:"event,omitempty" json:"event,omitempty"`
	Start     *string `form:"start,omitempty" json:"start,omitempty"`
	End       *string `form:"end,omitempty" json:"end,omitempty"`
	Limit     *int64  `form:"limit,omitempty" json:"limit,omitempty"`
}

RealtimeReadMessagesParams defines parameters for RealtimeReadMessages.

type RealtimeReadMessagesResponse

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

func ParseRealtimeReadMessagesResponse

func ParseRealtimeReadMessagesResponse(rsp *http.Response) (*RealtimeReadMessagesResponse, error)

ParseRealtimeReadMessagesResponse parses an HTTP response from a RealtimeReadMessagesWithResponse call

func (RealtimeReadMessagesResponse) Status

Status returns HTTPResponse.Status

func (RealtimeReadMessagesResponse) StatusCode

func (r RealtimeReadMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceRequest

type ReplaceRequest struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

	// 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 struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`
}

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 RotateAppKeyRequest

type RotateAppKeyRequest struct {
	// app key id
	Id *string `json:"id,omitempty"`

	// project name
	Project *string `json:"project,omitempty"`
}

Request rotation of an app key secret

type RotateAppKeyResponse

type RotateAppKeyResponse struct {
	// An user AppKey
	AppKey *AppKey `json:"app_key,omitempty"`
}

RotateAppKeyResponse returns the new app key 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 {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,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.
	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 SetRequest

type SetRequest struct {
	// optional - ttl specific to this key in second
	Ex *uint64 `json:"ex,omitempty"`

	// get the old value as part of response
	Get *bool `json:"get,omitempty"`

	// set only if the key doesn't exist
	Nx *bool `json:"nx,omitempty"`

	// optional - ttl specific to this key in millisecond
	Px *uint64 `json:"px,omitempty"`

	// free form byte[] value
	Value *[]byte `json:"value,omitempty"`

	// set only if the key exist
	Xx *bool `json:"xx,omitempty"`
}

SetRequest defines model for SetRequest.

type SetResponse

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

	// Optionally the old value if requested in SetRequest
	OldValue *[]byte `json:"old_value,omitempty"`

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

SetResponse defines model for SetResponse.

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 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 TigrisCreateAppKeyJSONBody

type TigrisCreateAppKeyJSONBody = CreateAppKeyRequest

TigrisCreateAppKeyJSONBody defines parameters for TigrisCreateAppKey.

type TigrisCreateAppKeyJSONRequestBody

type TigrisCreateAppKeyJSONRequestBody = TigrisCreateAppKeyJSONBody

TigrisCreateAppKeyJSONRequestBody defines body for TigrisCreateAppKey for application/json ContentType.

type TigrisCreateAppKeyResponse

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

func ParseTigrisCreateAppKeyResponse

func ParseTigrisCreateAppKeyResponse(rsp *http.Response) (*TigrisCreateAppKeyResponse, error)

ParseTigrisCreateAppKeyResponse parses an HTTP response from a TigrisCreateAppKeyWithResponse call

func (TigrisCreateAppKeyResponse) Status

Status returns HTTPResponse.Status

func (TigrisCreateAppKeyResponse) StatusCode

func (r TigrisCreateAppKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisCreateBranchJSONBody

type TigrisCreateBranchJSONBody = CreateBranchRequest

TigrisCreateBranchJSONBody defines parameters for TigrisCreateBranch.

type TigrisCreateBranchJSONRequestBody

type TigrisCreateBranchJSONRequestBody = TigrisCreateBranchJSONBody

TigrisCreateBranchJSONRequestBody defines body for TigrisCreateBranch for application/json ContentType.

type TigrisCreateBranchResponse

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

func ParseTigrisCreateBranchResponse

func ParseTigrisCreateBranchResponse(rsp *http.Response) (*TigrisCreateBranchResponse, error)

ParseTigrisCreateBranchResponse parses an HTTP response from a TigrisCreateBranchWithResponse call

func (TigrisCreateBranchResponse) Status

Status returns HTTPResponse.Status

func (TigrisCreateBranchResponse) StatusCode

func (r TigrisCreateBranchResponse) 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 TigrisCreateProjectJSONBody

type TigrisCreateProjectJSONBody = CreateProjectRequest

TigrisCreateProjectJSONBody defines parameters for TigrisCreateProject.

type TigrisCreateProjectJSONRequestBody

type TigrisCreateProjectJSONRequestBody = TigrisCreateProjectJSONBody

TigrisCreateProjectJSONRequestBody defines body for TigrisCreateProject for application/json ContentType.

type TigrisCreateProjectResponse

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

func ParseTigrisCreateProjectResponse

func ParseTigrisCreateProjectResponse(rsp *http.Response) (*TigrisCreateProjectResponse, error)

ParseTigrisCreateProjectResponse parses an HTTP response from a TigrisCreateProjectWithResponse call

func (TigrisCreateProjectResponse) Status

Status returns HTTPResponse.Status

func (TigrisCreateProjectResponse) StatusCode

func (r TigrisCreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisDeleteAppKeyJSONBody

type TigrisDeleteAppKeyJSONBody = DeleteAppKeyRequest

TigrisDeleteAppKeyJSONBody defines parameters for TigrisDeleteAppKey.

type TigrisDeleteAppKeyJSONRequestBody

type TigrisDeleteAppKeyJSONRequestBody = TigrisDeleteAppKeyJSONBody

TigrisDeleteAppKeyJSONRequestBody defines body for TigrisDeleteAppKey for application/json ContentType.

type TigrisDeleteAppKeyResponse

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

func ParseTigrisDeleteAppKeyResponse

func ParseTigrisDeleteAppKeyResponse(rsp *http.Response) (*TigrisDeleteAppKeyResponse, error)

ParseTigrisDeleteAppKeyResponse parses an HTTP response from a TigrisDeleteAppKeyWithResponse call

func (TigrisDeleteAppKeyResponse) Status

Status returns HTTPResponse.Status

func (TigrisDeleteAppKeyResponse) StatusCode

func (r TigrisDeleteAppKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisDeleteBranchJSONBody

type TigrisDeleteBranchJSONBody = DeleteBranchRequest

TigrisDeleteBranchJSONBody defines parameters for TigrisDeleteBranch.

type TigrisDeleteBranchJSONRequestBody

type TigrisDeleteBranchJSONRequestBody = TigrisDeleteBranchJSONBody

TigrisDeleteBranchJSONRequestBody defines body for TigrisDeleteBranch for application/json ContentType.

type TigrisDeleteBranchResponse

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

func ParseTigrisDeleteBranchResponse

func ParseTigrisDeleteBranchResponse(rsp *http.Response) (*TigrisDeleteBranchResponse, error)

ParseTigrisDeleteBranchResponse parses an HTTP response from a TigrisDeleteBranchWithResponse call

func (TigrisDeleteBranchResponse) Status

Status returns HTTPResponse.Status

func (TigrisDeleteBranchResponse) StatusCode

func (r TigrisDeleteBranchResponse) StatusCode() int

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 TigrisDeleteProjectJSONBody

type TigrisDeleteProjectJSONBody = DeleteProjectRequest

TigrisDeleteProjectJSONBody defines parameters for TigrisDeleteProject.

type TigrisDeleteProjectJSONRequestBody

type TigrisDeleteProjectJSONRequestBody = TigrisDeleteProjectJSONBody

TigrisDeleteProjectJSONRequestBody defines body for TigrisDeleteProject for application/json ContentType.

type TigrisDeleteProjectResponse

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

func ParseTigrisDeleteProjectResponse

func ParseTigrisDeleteProjectResponse(rsp *http.Response) (*TigrisDeleteProjectResponse, error)

ParseTigrisDeleteProjectResponse parses an HTTP response from a TigrisDeleteProjectWithResponse call

func (TigrisDeleteProjectResponse) Status

Status returns HTTPResponse.Status

func (TigrisDeleteProjectResponse) StatusCode

func (r TigrisDeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 TigrisImportJSONBody

type TigrisImportJSONBody = ImportRequest

TigrisImportJSONBody defines parameters for TigrisImport.

type TigrisImportJSONRequestBody

type TigrisImportJSONRequestBody = TigrisImportJSONBody

TigrisImportJSONRequestBody defines body for TigrisImport for application/json ContentType.

type TigrisImportResponse

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

func ParseTigrisImportResponse

func ParseTigrisImportResponse(rsp *http.Response) (*TigrisImportResponse, error)

ParseTigrisImportResponse parses an HTTP response from a TigrisImportWithResponse call

func (TigrisImportResponse) Status

func (r TigrisImportResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisImportResponse) StatusCode

func (r TigrisImportResponse) 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 TigrisListAppKeysResponse

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

func ParseTigrisListAppKeysResponse

func ParseTigrisListAppKeysResponse(rsp *http.Response) (*TigrisListAppKeysResponse, error)

ParseTigrisListAppKeysResponse parses an HTTP response from a TigrisListAppKeysWithResponse call

func (TigrisListAppKeysResponse) Status

func (r TigrisListAppKeysResponse) Status() string

Status returns HTTPResponse.Status

func (TigrisListAppKeysResponse) StatusCode

func (r TigrisListAppKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TigrisListCollectionsParams

type TigrisListCollectionsParams struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `form:"branch,omitempty" json:"branch,omitempty"`
}

TigrisListCollectionsParams defines parameters for TigrisListCollections.

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 TigrisListProjectsResponse

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

func ParseTigrisListProjectsResponse

func ParseTigrisListProjectsResponse(rsp *http.Response) (*TigrisListProjectsResponse, error)

ParseTigrisListProjectsResponse parses an HTTP response from a TigrisListProjectsWithResponse call

func (TigrisListProjectsResponse) Status

Status returns HTTPResponse.Status

func (TigrisListProjectsResponse) StatusCode

func (r TigrisListProjectsResponse) 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 TigrisRotateAppKeySecretJSONBody

type TigrisRotateAppKeySecretJSONBody = RotateAppKeyRequest

TigrisRotateAppKeySecretJSONBody defines parameters for TigrisRotateAppKeySecret.

type TigrisRotateAppKeySecretJSONRequestBody

type TigrisRotateAppKeySecretJSONRequestBody = TigrisRotateAppKeySecretJSONBody

TigrisRotateAppKeySecretJSONRequestBody defines body for TigrisRotateAppKeySecret for application/json ContentType.

type TigrisRotateAppKeySecretResponse

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

func ParseTigrisRotateAppKeySecretResponse

func ParseTigrisRotateAppKeySecretResponse(rsp *http.Response) (*TigrisRotateAppKeySecretResponse, error)

ParseTigrisRotateAppKeySecretResponse parses an HTTP response from a TigrisRotateAppKeySecretWithResponse call

func (TigrisRotateAppKeySecretResponse) Status

Status returns HTTPResponse.Status

func (TigrisRotateAppKeySecretResponse) StatusCode

func (r TigrisRotateAppKeySecretResponse) 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 TigrisUpdateAppKeyJSONBody

type TigrisUpdateAppKeyJSONBody = UpdateAppKeyRequest

TigrisUpdateAppKeyJSONBody defines parameters for TigrisUpdateAppKey.

type TigrisUpdateAppKeyJSONRequestBody

type TigrisUpdateAppKeyJSONRequestBody = TigrisUpdateAppKeyJSONBody

TigrisUpdateAppKeyJSONRequestBody defines body for TigrisUpdateAppKey for application/json ContentType.

type TigrisUpdateAppKeyResponse

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

func ParseTigrisUpdateAppKeyResponse

func ParseTigrisUpdateAppKeyResponse(rsp *http.Response) (*TigrisUpdateAppKeyResponse, error)

ParseTigrisUpdateAppKeyResponse parses an HTTP response from a TigrisUpdateAppKeyWithResponse call

func (TigrisUpdateAppKeyResponse) Status

Status returns HTTPResponse.Status

func (TigrisUpdateAppKeyResponse) StatusCode

func (r TigrisUpdateAppKeyResponse) 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 UpdateAppKeyRequest

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

	// app key id - this is not allowed to update
	Id *string `json:"id,omitempty"`

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

To update the description of the app key

type UpdateAppKeyResponse

type UpdateAppKeyResponse struct {
	// An user AppKey
	UpdatedAppKey *AppKey `json:"updated_app_key,omitempty"`
}

Returns response for updating the app key description

type UpdateNamespaceMetadataRequest

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

Request update of namespace metadata

type UpdateNamespaceMetadataResponse

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

Update of namespace metadata response

type UpdateRequest

type UpdateRequest struct {
	// Optionally specify a database branch name to perform operation on
	Branch *string `json:"branch,omitempty"`

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

	// Limit the number of documents to be updated
	Limit *int64 `json:"limit,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