qdivzero

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 14 Imported by: 0

README

QDivZero

qdivzero-go

Go client for the QDivZero API, generated from its OpenAPI specification.

CI

Install

go get github.com/QDivZero/qdivzero-go@latest

Quick start

package main

import (
	"context"
	"fmt"
	"log"

	"github.com/QDivZero/qdivzero-go"
)

func main() {
	ctx := context.Background()

	client, err := qdivzero.NewAPI(qdivzero.WithAPIKey("your-api-key"))
	if err != nil {
		log.Fatal(err)
	}

	accounts, err := client.GetAccountsWithResponse(ctx)
	if err != nil {
		log.Fatal(err)
	}
	if accounts.StatusCode() != 200 {
		detail, _ := qdivzero.ParseErrorResponse(accounts.Body)
		log.Fatalf("get accounts: status %d: %s", accounts.StatusCode(), qdivzero.ErrorString(detail))
	}
	for _, m := range *accounts.JSON200.Memberships {
		fmt.Printf("account=%s role=%s\n", deref(m.AccountId), deref(m.Role))
	}
}

func deref(s *string) string {
	if s == nil {
		return ""
	}
	return *s
}

Authentication

Token-based authentication is the primary way to use the client:

  • WithAPIKey(key) authenticates with a QDivZero API key (Authorization: Bearer <key>); WithAuthorization(value) sends a raw Authorization header for other formats.
  • WithAccessToken(token) / WithRefreshToken(token) pre-configure bearer tokens without calling Login.
  • client.Login(ctx, email, password) authenticates with credentials and stores the access and refresh tokens.
  • When a request fails with 401, the client transparently refreshes the access token (using the refresh token, or re-logging in with stored credentials) and retries the request once. Concurrent 401s trigger a single refresh.
  • client.Refresh(ctx) forces a token refresh.

Credentials file

If ~/.qdivzero/credentials exists, the client loads it automatically on NewAPI. All fields are optional:

{
  "email": "you@example.com",
  "password": "your-password",
  "access_token": "...",
  "refresh_token": "...",
  "api_key": "..."
}

email/password enable on-demand login; access_token/refresh_token authenticate directly. Explicit With* options override file values. Keep the file private (chmod 600 ~/.qdivzero/credentials) and never commit it.

Error handling

Generated operations return a typed response with a StatusCode() method; the response body is available on resp.Body and decoded error bodies via qdivzero.ParseErrorResponse. error returns from operations indicate transport-level failures only.

Regeneration

This library is regenerated automatically from https://api.qdiv0.com/openapi by the update workflow (daily at 06:00 UTC, or manually via Actions → update → Run workflow). The upstream spec snapshot is committed at api/openapi.json; the generation pipeline strips the upstream x-go-name extension, which corrupts generated Go field names.

Files types.gen.go and client.gen.go are generated — do not edit them by hand. A new release tag (v1.0.<n>) is published on every change.

Development

Regenerate locally:

go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.8.0
scripts/update.sh

Checks: gofmt -l . (empty), go vet ./..., go test ./....

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Package qdivzero is a client for the QDivZero API (https://api.qdiv0.com). Typed operations and models are generated from the OpenAPI specification snapshot in api/openapi.json; files named *.gen.go are regenerated automatically and must not be edited by hand.

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

View Source
const DefaultBaseURL = "https://api.qdiv0.com"

DefaultBaseURL is the production API endpoint.

Variables

This section is empty.

Functions

func ErrorString

func ErrorString(r *ErrorResponse) string

ErrorString returns the message of an ErrorResponse, or "" when the response is nil or carries no message.

func NewDeleteAccountsCurrentInvitationsByInvitationIDRequest

func NewDeleteAccountsCurrentInvitationsByInvitationIDRequest(server string, invitationID string) (*http.Request, error)

NewDeleteAccountsCurrentInvitationsByInvitationIDRequest constructs an http.Request for the DeleteAccountsCurrentInvitationsByInvitationID method

func NewDeleteAccountsCurrentRequest

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

NewDeleteAccountsCurrentRequest constructs an http.Request for the DeleteAccountsCurrent method

func NewDeleteAuthPasskeysRequest

func NewDeleteAuthPasskeysRequest(server string, credentialID string) (*http.Request, error)

NewDeleteAuthPasskeysRequest constructs an http.Request for the DeleteAuthPasskeys method

func NewDeleteAuthTotpRequest

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

NewDeleteAuthTotpRequest constructs an http.Request for the DeleteAuthTotp method

func NewDeleteFirewallRequest

func NewDeleteFirewallRequest(server string, firewallSlug string) (*http.Request, error)

NewDeleteFirewallRequest constructs an http.Request for the DeleteFirewall method

func NewDeleteFirewallRuleRequest

func NewDeleteFirewallRuleRequest(server string, ruleSlug string) (*http.Request, error)

NewDeleteFirewallRuleRequest constructs an http.Request for the DeleteFirewallRule method

func NewDeleteInstanceRequest

func NewDeleteInstanceRequest(server string, instanceID string) (*http.Request, error)

NewDeleteInstanceRequest constructs an http.Request for the DeleteInstance method

func NewDeleteInstanceScheduleRuleRequest

func NewDeleteInstanceScheduleRuleRequest(server string, instanceID string, ruleID string) (*http.Request, error)

NewDeleteInstanceScheduleRuleRequest constructs an http.Request for the DeleteInstanceScheduleRule method

func NewDeleteReplicaSetRequest

func NewDeleteReplicaSetRequest(server string, replicaSetID string) (*http.Request, error)

NewDeleteReplicaSetRequest constructs an http.Request for the DeleteReplicaSet method

func NewDeleteSmartBalancerRequest

func NewDeleteSmartBalancerRequest(server string, smartBalancerID string) (*http.Request, error)

NewDeleteSmartBalancerRequest constructs an http.Request for the DeleteSmartBalancer method

func NewDeleteStorageVolumeRequest

func NewDeleteStorageVolumeRequest(server string, volumeID string) (*http.Request, error)

NewDeleteStorageVolumeRequest constructs an http.Request for the DeleteStorageVolume method

func NewDeleteTargetGroupRequest

func NewDeleteTargetGroupRequest(server string, targetGroupID string) (*http.Request, error)

NewDeleteTargetGroupRequest constructs an http.Request for the DeleteTargetGroup method

func NewDeleteVectorDatabaseRequest

func NewDeleteVectorDatabaseRequest(server string, databaseID string) (*http.Request, error)

NewDeleteVectorDatabaseRequest constructs an http.Request for the DeleteVectorDatabase method

func NewGetAccountsCurrentMembersRequest

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

NewGetAccountsCurrentMembersRequest constructs an http.Request for the GetAccountsCurrentMembers method

func NewGetAccountsCurrentRequest

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

NewGetAccountsCurrentRequest constructs an http.Request for the GetAccountsCurrent method

func NewGetAccountsRequest

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

NewGetAccountsRequest constructs an http.Request for the GetAccounts method

func NewGetApiKeysRequest

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

NewGetApiKeysRequest constructs an http.Request for the GetApiKeys method

func NewGetAuthMeRequest

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

NewGetAuthMeRequest constructs an http.Request for the GetAuthMe method

func NewGetAuthPasskeysRequest

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

NewGetAuthPasskeysRequest constructs an http.Request for the GetAuthPasskeys method

func NewGetAuthPreferencesRequest

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

NewGetAuthPreferencesRequest constructs an http.Request for the GetAuthPreferences method

func NewGetAuthVerifyEmailRequest

func NewGetAuthVerifyEmailRequest(server string, params *GetAuthVerifyEmailParams) (*http.Request, error)

NewGetAuthVerifyEmailRequest constructs an http.Request for the GetAuthVerifyEmail method

func NewGetBillingBalanceRequest

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

NewGetBillingBalanceRequest constructs an http.Request for the GetBillingBalance method

func NewGetBillingLedgerRequest

func NewGetBillingLedgerRequest(server string, params *GetBillingLedgerParams) (*http.Request, error)

NewGetBillingLedgerRequest constructs an http.Request for the GetBillingLedger method

func NewGetBillingPaymentsPaymentIDInvoicePDFRequest

func NewGetBillingPaymentsPaymentIDInvoicePDFRequest(server string, paymentID string) (*http.Request, error)

NewGetBillingPaymentsPaymentIDInvoicePDFRequest constructs an http.Request for the GetBillingPaymentsPaymentIDInvoicePDF method

func NewGetBillingPaymentsRequest

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

NewGetBillingPaymentsRequest constructs an http.Request for the GetBillingPayments method

func NewGetFirewallRequest

func NewGetFirewallRequest(server string, firewallSlug string) (*http.Request, error)

NewGetFirewallRequest constructs an http.Request for the GetFirewall method

func NewGetFirewallRuleRequest

func NewGetFirewallRuleRequest(server string, ruleSlug string) (*http.Request, error)

NewGetFirewallRuleRequest constructs an http.Request for the GetFirewallRule method

func NewGetFirewallRulesRequest

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

NewGetFirewallRulesRequest constructs an http.Request for the GetFirewallRules method

func NewGetFirewallsRequest

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

NewGetFirewallsRequest constructs an http.Request for the GetFirewalls method

func NewGetHealthRequest

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

NewGetHealthRequest constructs an http.Request for the GetHealth method

func NewGetHuggingfaceEmbeddingsRequest

func NewGetHuggingfaceEmbeddingsRequest(server string, params *GetHuggingfaceEmbeddingsParams) (*http.Request, error)

NewGetHuggingfaceEmbeddingsRequest constructs an http.Request for the GetHuggingfaceEmbeddings method

func NewGetHuggingfaceFilesRequest

func NewGetHuggingfaceFilesRequest(server string, params *GetHuggingfaceFilesParams) (*http.Request, error)

NewGetHuggingfaceFilesRequest constructs an http.Request for the GetHuggingfaceFiles method

func NewGetHuggingfaceModelsRequest

func NewGetHuggingfaceModelsRequest(server string, params *GetHuggingfaceModelsParams) (*http.Request, error)

NewGetHuggingfaceModelsRequest constructs an http.Request for the GetHuggingfaceModels method

func NewGetHuggingfaceOrgsRequest

func NewGetHuggingfaceOrgsRequest(server string, org string) (*http.Request, error)

NewGetHuggingfaceOrgsRequest constructs an http.Request for the GetHuggingfaceOrgs method

func NewGetHuggingfaceSearchTagRequest

func NewGetHuggingfaceSearchTagRequest(server string, params *GetHuggingfaceSearchTagParams) (*http.Request, error)

NewGetHuggingfaceSearchTagRequest constructs an http.Request for the GetHuggingfaceSearchTag method

func NewGetHuggingfaceTrendingRequest

func NewGetHuggingfaceTrendingRequest(server string, params *GetHuggingfaceTrendingParams) (*http.Request, error)

NewGetHuggingfaceTrendingRequest constructs an http.Request for the GetHuggingfaceTrending method

func NewGetInstanceByIDRequest

func NewGetInstanceByIDRequest(server string, instanceID string) (*http.Request, error)

NewGetInstanceByIDRequest constructs an http.Request for the GetInstanceByID method

func NewGetInstanceConfigGpusRequest

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

NewGetInstanceConfigGpusRequest constructs an http.Request for the GetInstanceConfigGpus method

func NewGetInstanceScheduleRulesRequest

func NewGetInstanceScheduleRulesRequest(server string, instanceID string) (*http.Request, error)

NewGetInstanceScheduleRulesRequest constructs an http.Request for the GetInstanceScheduleRules method

func NewGetInstanceUsageRequest

func NewGetInstanceUsageRequest(server string, instanceID string, params *GetInstanceUsageParams) (*http.Request, error)

NewGetInstanceUsageRequest constructs an http.Request for the GetInstanceUsage method

func NewGetInstancesRequest

func NewGetInstancesRequest(server string, params *GetInstancesParams) (*http.Request, error)

NewGetInstancesRequest constructs an http.Request for the GetInstances method

func NewGetInvitationsRequest

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

NewGetInvitationsRequest constructs an http.Request for the GetInvitations method

func NewGetModelsFixedRequest

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

NewGetModelsFixedRequest constructs an http.Request for the GetModelsFixed method

func NewGetReplicaSetRequest

func NewGetReplicaSetRequest(server string, replicaSetID string) (*http.Request, error)

NewGetReplicaSetRequest constructs an http.Request for the GetReplicaSet method

func NewGetReplicaSetsRequest

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

NewGetReplicaSetsRequest constructs an http.Request for the GetReplicaSets method

func NewGetServingEndpointsRequest

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

NewGetServingEndpointsRequest constructs an http.Request for the GetServingEndpoints method

func NewGetSmartBalancersRequest

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

NewGetSmartBalancersRequest constructs an http.Request for the GetSmartBalancers method

func NewGetStorageVolumeRequest

func NewGetStorageVolumeRequest(server string, volumeID string) (*http.Request, error)

NewGetStorageVolumeRequest constructs an http.Request for the GetStorageVolume method

func NewGetStorageVolumesRequest

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

NewGetStorageVolumesRequest constructs an http.Request for the GetStorageVolumes method

func NewGetSystemToolsRequest

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

NewGetSystemToolsRequest constructs an http.Request for the GetSystemTools method

func NewGetTargetGroupRequest

func NewGetTargetGroupRequest(server string, targetGroupID string) (*http.Request, error)

NewGetTargetGroupRequest constructs an http.Request for the GetTargetGroup method

func NewGetTargetGroupsRequest

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

NewGetTargetGroupsRequest constructs an http.Request for the GetTargetGroups method

func NewGetUserAPIKeysRequest added in v1.0.3

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

NewGetUserAPIKeysRequest constructs an http.Request for the GetUserAPIKeys method

func NewGetV1AudioVoicesRequest

func NewGetV1AudioVoicesRequest(server string, params *GetV1AudioVoicesParams) (*http.Request, error)

NewGetV1AudioVoicesRequest constructs an http.Request for the GetV1AudioVoices method

func NewGetV1PublicModelPricesRequest

func NewGetV1PublicModelPricesRequest(server string, params *GetV1PublicModelPricesParams) (*http.Request, error)

NewGetV1PublicModelPricesRequest constructs an http.Request for the GetV1PublicModelPrices method

func NewGetV1PublicPricingRequest

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

NewGetV1PublicPricingRequest constructs an http.Request for the GetV1PublicPricing method

func NewGetV1ResponsesWebSocketRequest

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

NewGetV1ResponsesWebSocketRequest constructs an http.Request for the GetV1ResponsesWebSocket method

func NewGetV1TemplateBySlugRequest

func NewGetV1TemplateBySlugRequest(server string, slug string, params *GetV1TemplateBySlugParams) (*http.Request, error)

NewGetV1TemplateBySlugRequest constructs an http.Request for the GetV1TemplateBySlug method

func NewGetV1TemplateRequest

func NewGetV1TemplateRequest(server string, id string, params *GetV1TemplateParams) (*http.Request, error)

NewGetV1TemplateRequest constructs an http.Request for the GetV1Template method

func NewGetV1TemplatesRequest

func NewGetV1TemplatesRequest(server string, params *GetV1TemplatesParams) (*http.Request, error)

NewGetV1TemplatesRequest constructs an http.Request for the GetV1Templates method

func NewGetVectorDatabaseDocumentsRequest

func NewGetVectorDatabaseDocumentsRequest(server string, databaseID string, params *GetVectorDatabaseDocumentsParams) (*http.Request, error)

NewGetVectorDatabaseDocumentsRequest constructs an http.Request for the GetVectorDatabaseDocuments method

func NewGetVectorDatabaseIndexJobRequest

func NewGetVectorDatabaseIndexJobRequest(server string, databaseID string, jobID string) (*http.Request, error)

NewGetVectorDatabaseIndexJobRequest constructs an http.Request for the GetVectorDatabaseIndexJob method

func NewGetVectorDatabaseRequest

func NewGetVectorDatabaseRequest(server string, databaseID string) (*http.Request, error)

NewGetVectorDatabaseRequest constructs an http.Request for the GetVectorDatabase method

func NewGetVectorDatabasesRequest

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

NewGetVectorDatabasesRequest constructs an http.Request for the GetVectorDatabases method

func NewPatchAccountsCurrentFiscalProfileRequest

func NewPatchAccountsCurrentFiscalProfileRequest(server string, body PatchAccountsCurrentFiscalProfileJSONRequestBody) (*http.Request, error)

NewPatchAccountsCurrentFiscalProfileRequest calls the generic PatchAccountsCurrentFiscalProfile builder with application/json body

func NewPatchAccountsCurrentFiscalProfileRequestWithBody

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

NewPatchAccountsCurrentFiscalProfileRequestWithBody constructs an http.Request for the PatchAccountsCurrentFiscalProfile method, with any body, and a specified content type

func NewPatchAccountsCurrentMembersByUserIDRequest

func NewPatchAccountsCurrentMembersByUserIDRequest(server string, userID string, body PatchAccountsCurrentMembersByUserIDJSONRequestBody) (*http.Request, error)

NewPatchAccountsCurrentMembersByUserIDRequest calls the generic PatchAccountsCurrentMembersByUserID builder with application/json body

func NewPatchAccountsCurrentMembersByUserIDRequestWithBody

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

NewPatchAccountsCurrentMembersByUserIDRequestWithBody constructs an http.Request for the PatchAccountsCurrentMembersByUserID method, with any body, and a specified content type

func NewPatchAccountsCurrentRequest

func NewPatchAccountsCurrentRequest(server string, body PatchAccountsCurrentJSONRequestBody) (*http.Request, error)

NewPatchAccountsCurrentRequest calls the generic PatchAccountsCurrent builder with application/json body

func NewPatchAccountsCurrentRequestWithBody

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

NewPatchAccountsCurrentRequestWithBody constructs an http.Request for the PatchAccountsCurrent method, with any body, and a specified content type

func NewPatchAuthPasswordRequest

func NewPatchAuthPasswordRequest(server string, body PatchAuthPasswordJSONRequestBody) (*http.Request, error)

NewPatchAuthPasswordRequest calls the generic PatchAuthPassword builder with application/json body

func NewPatchAuthPasswordRequestWithBody

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

NewPatchAuthPasswordRequestWithBody constructs an http.Request for the PatchAuthPassword method, with any body, and a specified content type

func NewPatchAuthPreferencesRequest

func NewPatchAuthPreferencesRequest(server string, body PatchAuthPreferencesJSONRequestBody) (*http.Request, error)

NewPatchAuthPreferencesRequest calls the generic PatchAuthPreferences builder with application/json body

func NewPatchAuthPreferencesRequestWithBody

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

NewPatchAuthPreferencesRequestWithBody constructs an http.Request for the PatchAuthPreferences method, with any body, and a specified content type

func NewPatchFirewallRequest

func NewPatchFirewallRequest(server string, firewallSlug string, body PatchFirewallJSONRequestBody) (*http.Request, error)

NewPatchFirewallRequest calls the generic PatchFirewall builder with application/json body

func NewPatchFirewallRequestWithBody

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

NewPatchFirewallRequestWithBody constructs an http.Request for the PatchFirewall method, with any body, and a specified content type

func NewPatchFirewallRuleRequest

func NewPatchFirewallRuleRequest(server string, ruleSlug string, body PatchFirewallRuleJSONRequestBody) (*http.Request, error)

NewPatchFirewallRuleRequest calls the generic PatchFirewallRule builder with application/json body

func NewPatchFirewallRuleRequestWithBody

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

NewPatchFirewallRuleRequestWithBody constructs an http.Request for the PatchFirewallRule method, with any body, and a specified content type

func NewPatchInstanceRequest

func NewPatchInstanceRequest(server string, instanceID string, body PatchInstanceJSONRequestBody) (*http.Request, error)

NewPatchInstanceRequest calls the generic PatchInstance builder with application/json body

func NewPatchInstanceRequestWithBody

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

NewPatchInstanceRequestWithBody constructs an http.Request for the PatchInstance method, with any body, and a specified content type

func NewPatchInstanceScheduleRuleRequest

func NewPatchInstanceScheduleRuleRequest(server string, instanceID string, ruleID string, body PatchInstanceScheduleRuleJSONRequestBody) (*http.Request, error)

NewPatchInstanceScheduleRuleRequest calls the generic PatchInstanceScheduleRule builder with application/json body

func NewPatchInstanceScheduleRuleRequestWithBody

func NewPatchInstanceScheduleRuleRequestWithBody(server string, instanceID string, ruleID string, contentType string, body io.Reader) (*http.Request, error)

NewPatchInstanceScheduleRuleRequestWithBody constructs an http.Request for the PatchInstanceScheduleRule method, with any body, and a specified content type

func NewPatchReplicaSetRequest

func NewPatchReplicaSetRequest(server string, replicaSetID string, body PatchReplicaSetJSONRequestBody) (*http.Request, error)

NewPatchReplicaSetRequest calls the generic PatchReplicaSet builder with application/json body

func NewPatchReplicaSetRequestWithBody

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

NewPatchReplicaSetRequestWithBody constructs an http.Request for the PatchReplicaSet method, with any body, and a specified content type

func NewPatchSmartBalancerRequest

func NewPatchSmartBalancerRequest(server string, smartBalancerID string, body PatchSmartBalancerJSONRequestBody) (*http.Request, error)

NewPatchSmartBalancerRequest calls the generic PatchSmartBalancer builder with application/json body

func NewPatchSmartBalancerRequestWithBody

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

NewPatchSmartBalancerRequestWithBody constructs an http.Request for the PatchSmartBalancer method, with any body, and a specified content type

func NewPatchTargetGroupRequest

func NewPatchTargetGroupRequest(server string, targetGroupID string, body PatchTargetGroupJSONRequestBody) (*http.Request, error)

NewPatchTargetGroupRequest calls the generic PatchTargetGroup builder with application/json body

func NewPatchTargetGroupRequestWithBody

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

NewPatchTargetGroupRequestWithBody constructs an http.Request for the PatchTargetGroup method, with any body, and a specified content type

func NewPatchVectorDatabaseRequest

func NewPatchVectorDatabaseRequest(server string, databaseID string, body PatchVectorDatabaseJSONRequestBody) (*http.Request, error)

NewPatchVectorDatabaseRequest calls the generic PatchVectorDatabase builder with application/json body

func NewPatchVectorDatabaseRequestWithBody

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

NewPatchVectorDatabaseRequestWithBody constructs an http.Request for the PatchVectorDatabase method, with any body, and a specified content type

func NewPostAccountsCurrentInvitationsRequest

func NewPostAccountsCurrentInvitationsRequest(server string, body PostAccountsCurrentInvitationsJSONRequestBody) (*http.Request, error)

NewPostAccountsCurrentInvitationsRequest calls the generic PostAccountsCurrentInvitations builder with application/json body

func NewPostAccountsCurrentInvitationsRequestWithBody

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

NewPostAccountsCurrentInvitationsRequestWithBody constructs an http.Request for the PostAccountsCurrentInvitations method, with any body, and a specified content type

func NewPostAccountsCurrentMembersRequest

func NewPostAccountsCurrentMembersRequest(server string, body PostAccountsCurrentMembersJSONRequestBody) (*http.Request, error)

NewPostAccountsCurrentMembersRequest calls the generic PostAccountsCurrentMembers builder with application/json body

func NewPostAccountsCurrentMembersRequestWithBody

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

NewPostAccountsCurrentMembersRequestWithBody constructs an http.Request for the PostAccountsCurrentMembers method, with any body, and a specified content type

func NewPostAccountsRequest

func NewPostAccountsRequest(server string, body PostAccountsJSONRequestBody) (*http.Request, error)

NewPostAccountsRequest calls the generic PostAccounts builder with application/json body

func NewPostAccountsRequestWithBody

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

NewPostAccountsRequestWithBody constructs an http.Request for the PostAccounts method, with any body, and a specified content type

func NewPostApiKeysKeyIDRevokeRequest

func NewPostApiKeysKeyIDRevokeRequest(server string, keyID string) (*http.Request, error)

NewPostApiKeysKeyIDRevokeRequest constructs an http.Request for the PostApiKeysKeyIDRevoke method

func NewPostApiKeysRequest

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

NewPostApiKeysRequest constructs an http.Request for the PostApiKeys method

func NewPostAuthForgotPasswordRequest

func NewPostAuthForgotPasswordRequest(server string, body PostAuthForgotPasswordJSONRequestBody) (*http.Request, error)

NewPostAuthForgotPasswordRequest calls the generic PostAuthForgotPassword builder with application/json body

func NewPostAuthForgotPasswordRequestWithBody

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

NewPostAuthForgotPasswordRequestWithBody constructs an http.Request for the PostAuthForgotPassword method, with any body, and a specified content type

func NewPostAuthLoginRequest

func NewPostAuthLoginRequest(server string, body PostAuthLoginJSONRequestBody) (*http.Request, error)

NewPostAuthLoginRequest calls the generic PostAuthLogin builder with application/json body

func NewPostAuthLoginRequestWithBody

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

NewPostAuthLoginRequestWithBody constructs an http.Request for the PostAuthLogin method, with any body, and a specified content type

func NewPostAuthPasskeysBeginLoginRequest

func NewPostAuthPasskeysBeginLoginRequest(server string, body PostAuthPasskeysBeginLoginJSONRequestBody) (*http.Request, error)

NewPostAuthPasskeysBeginLoginRequest calls the generic PostAuthPasskeysBeginLogin builder with application/json body

func NewPostAuthPasskeysBeginLoginRequestWithBody

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

NewPostAuthPasskeysBeginLoginRequestWithBody constructs an http.Request for the PostAuthPasskeysBeginLogin method, with any body, and a specified content type

func NewPostAuthPasskeysBeginRegistrationRequest

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

NewPostAuthPasskeysBeginRegistrationRequest constructs an http.Request for the PostAuthPasskeysBeginRegistration method

func NewPostAuthPasskeysFinishLoginRequest

func NewPostAuthPasskeysFinishLoginRequest(server string, body PostAuthPasskeysFinishLoginJSONRequestBody) (*http.Request, error)

NewPostAuthPasskeysFinishLoginRequest calls the generic PostAuthPasskeysFinishLogin builder with application/json body

func NewPostAuthPasskeysFinishLoginRequestWithBody

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

NewPostAuthPasskeysFinishLoginRequestWithBody constructs an http.Request for the PostAuthPasskeysFinishLogin method, with any body, and a specified content type

func NewPostAuthPasskeysFinishRegistrationRequest

func NewPostAuthPasskeysFinishRegistrationRequest(server string, body PostAuthPasskeysFinishRegistrationJSONRequestBody) (*http.Request, error)

NewPostAuthPasskeysFinishRegistrationRequest calls the generic PostAuthPasskeysFinishRegistration builder with application/json body

func NewPostAuthPasskeysFinishRegistrationRequestWithBody

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

NewPostAuthPasskeysFinishRegistrationRequestWithBody constructs an http.Request for the PostAuthPasskeysFinishRegistration method, with any body, and a specified content type

func NewPostAuthPasskeysRequest

func NewPostAuthPasskeysRequest(server string, body PostAuthPasskeysJSONRequestBody) (*http.Request, error)

NewPostAuthPasskeysRequest calls the generic PostAuthPasskeys builder with application/json body

func NewPostAuthPasskeysRequestWithBody

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

NewPostAuthPasskeysRequestWithBody constructs an http.Request for the PostAuthPasskeys method, with any body, and a specified content type

func NewPostAuthRefreshRequest

func NewPostAuthRefreshRequest(server string, body PostAuthRefreshJSONRequestBody) (*http.Request, error)

NewPostAuthRefreshRequest calls the generic PostAuthRefresh builder with application/json body

func NewPostAuthRefreshRequestWithBody

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

NewPostAuthRefreshRequestWithBody constructs an http.Request for the PostAuthRefresh method, with any body, and a specified content type

func NewPostAuthRegisterRequest

func NewPostAuthRegisterRequest(server string, body PostAuthRegisterJSONRequestBody) (*http.Request, error)

NewPostAuthRegisterRequest calls the generic PostAuthRegister builder with application/json body

func NewPostAuthRegisterRequestWithBody

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

NewPostAuthRegisterRequestWithBody constructs an http.Request for the PostAuthRegister method, with any body, and a specified content type

func NewPostAuthResetPasswordRequest

func NewPostAuthResetPasswordRequest(server string, body PostAuthResetPasswordJSONRequestBody) (*http.Request, error)

NewPostAuthResetPasswordRequest calls the generic PostAuthResetPassword builder with application/json body

func NewPostAuthResetPasswordRequestWithBody

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

NewPostAuthResetPasswordRequestWithBody constructs an http.Request for the PostAuthResetPassword method, with any body, and a specified content type

func NewPostAuthTotpBeginRequest

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

NewPostAuthTotpBeginRequest constructs an http.Request for the PostAuthTotpBegin method

func NewPostAuthTotpConfirmRequest

func NewPostAuthTotpConfirmRequest(server string, body PostAuthTotpConfirmJSONRequestBody) (*http.Request, error)

NewPostAuthTotpConfirmRequest calls the generic PostAuthTotpConfirm builder with application/json body

func NewPostAuthTotpConfirmRequestWithBody

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

NewPostAuthTotpConfirmRequestWithBody constructs an http.Request for the PostAuthTotpConfirm method, with any body, and a specified content type

func NewPostBillingCheckoutRequest

func NewPostBillingCheckoutRequest(server string, params *PostBillingCheckoutParams, body PostBillingCheckoutJSONRequestBody) (*http.Request, error)

NewPostBillingCheckoutRequest calls the generic PostBillingCheckout builder with application/json body

func NewPostBillingCheckoutRequestWithBody

func NewPostBillingCheckoutRequestWithBody(server string, params *PostBillingCheckoutParams, contentType string, body io.Reader) (*http.Request, error)

NewPostBillingCheckoutRequestWithBody constructs an http.Request for the PostBillingCheckout method, with any body, and a specified content type

func NewPostBillingDebitRequest

func NewPostBillingDebitRequest(server string, body PostBillingDebitJSONRequestBody) (*http.Request, error)

NewPostBillingDebitRequest calls the generic PostBillingDebit builder with application/json body

func NewPostBillingDebitRequestWithBody

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

NewPostBillingDebitRequestWithBody constructs an http.Request for the PostBillingDebit method, with any body, and a specified content type

func NewPostBillingQuoteRequest

func NewPostBillingQuoteRequest(server string, body PostBillingQuoteJSONRequestBody) (*http.Request, error)

NewPostBillingQuoteRequest calls the generic PostBillingQuote builder with application/json body

func NewPostBillingQuoteRequestWithBody

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

NewPostBillingQuoteRequestWithBody constructs an http.Request for the PostBillingQuote method, with any body, and a specified content type

func NewPostFirewallEvaluateRequest

func NewPostFirewallEvaluateRequest(server string, firewallSlug string, body PostFirewallEvaluateJSONRequestBody) (*http.Request, error)

NewPostFirewallEvaluateRequest calls the generic PostFirewallEvaluate builder with application/json body

func NewPostFirewallEvaluateRequestWithBody

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

NewPostFirewallEvaluateRequestWithBody constructs an http.Request for the PostFirewallEvaluate method, with any body, and a specified content type

func NewPostFirewallRequest

func NewPostFirewallRequest(server string, body PostFirewallJSONRequestBody) (*http.Request, error)

NewPostFirewallRequest calls the generic PostFirewall builder with application/json body

func NewPostFirewallRequestWithBody

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

NewPostFirewallRequestWithBody constructs an http.Request for the PostFirewall method, with any body, and a specified content type

func NewPostFirewallRuleEvaluateRequest

func NewPostFirewallRuleEvaluateRequest(server string, ruleSlug string, body PostFirewallRuleEvaluateJSONRequestBody) (*http.Request, error)

NewPostFirewallRuleEvaluateRequest calls the generic PostFirewallRuleEvaluate builder with application/json body

func NewPostFirewallRuleEvaluateRequestWithBody

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

NewPostFirewallRuleEvaluateRequestWithBody constructs an http.Request for the PostFirewallRuleEvaluate method, with any body, and a specified content type

func NewPostFirewallRuleRequest

func NewPostFirewallRuleRequest(server string, body PostFirewallRuleJSONRequestBody) (*http.Request, error)

NewPostFirewallRuleRequest calls the generic PostFirewallRule builder with application/json body

func NewPostFirewallRuleRequestWithBody

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

NewPostFirewallRuleRequestWithBody constructs an http.Request for the PostFirewallRule method, with any body, and a specified content type

func NewPostInstancePreviewUpdateRequest

func NewPostInstancePreviewUpdateRequest(server string, instanceID string, body PostInstancePreviewUpdateJSONRequestBody) (*http.Request, error)

NewPostInstancePreviewUpdateRequest calls the generic PostInstancePreviewUpdate builder with application/json body

func NewPostInstancePreviewUpdateRequestWithBody

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

NewPostInstancePreviewUpdateRequestWithBody constructs an http.Request for the PostInstancePreviewUpdate method, with any body, and a specified content type

func NewPostInstanceScheduleRuleRequest

func NewPostInstanceScheduleRuleRequest(server string, instanceID string, body PostInstanceScheduleRuleJSONRequestBody) (*http.Request, error)

NewPostInstanceScheduleRuleRequest calls the generic PostInstanceScheduleRule builder with application/json body

func NewPostInstanceScheduleRuleRequestWithBody

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

NewPostInstanceScheduleRuleRequestWithBody constructs an http.Request for the PostInstanceScheduleRule method, with any body, and a specified content type

func NewPostInstanceStartRequest

func NewPostInstanceStartRequest(server string, instanceID string) (*http.Request, error)

NewPostInstanceStartRequest constructs an http.Request for the PostInstanceStart method

func NewPostInstanceStopRequest

func NewPostInstanceStopRequest(server string, instanceID string) (*http.Request, error)

NewPostInstanceStopRequest constructs an http.Request for the PostInstanceStop method

func NewPostInstancesRequest

func NewPostInstancesRequest(server string, params *PostInstancesParams, body PostInstancesJSONRequestBody) (*http.Request, error)

NewPostInstancesRequest calls the generic PostInstances builder with application/json body

func NewPostInstancesRequestWithBody

func NewPostInstancesRequestWithBody(server string, params *PostInstancesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostInstancesRequestWithBody constructs an http.Request for the PostInstances method, with any body, and a specified content type

func NewPostInvitationsAcceptRequest

func NewPostInvitationsAcceptRequest(server string, body PostInvitationsAcceptJSONRequestBody) (*http.Request, error)

NewPostInvitationsAcceptRequest calls the generic PostInvitationsAccept builder with application/json body

func NewPostInvitationsAcceptRequestWithBody

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

NewPostInvitationsAcceptRequestWithBody constructs an http.Request for the PostInvitationsAccept method, with any body, and a specified content type

func NewPostReplicaSetScaleRequest

func NewPostReplicaSetScaleRequest(server string, replicaSetID string, body PostReplicaSetScaleJSONRequestBody) (*http.Request, error)

NewPostReplicaSetScaleRequest calls the generic PostReplicaSetScale builder with application/json body

func NewPostReplicaSetScaleRequestWithBody

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

NewPostReplicaSetScaleRequestWithBody constructs an http.Request for the PostReplicaSetScale method, with any body, and a specified content type

func NewPostRuntimeNotifyCrashRequest

func NewPostRuntimeNotifyCrashRequest(server string, body PostRuntimeNotifyCrashJSONRequestBody) (*http.Request, error)

NewPostRuntimeNotifyCrashRequest calls the generic PostRuntimeNotifyCrash builder with application/json body

func NewPostRuntimeNotifyCrashRequestWithBody

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

NewPostRuntimeNotifyCrashRequestWithBody constructs an http.Request for the PostRuntimeNotifyCrash method, with any body, and a specified content type

func NewPostServingEndpointRequest

func NewPostServingEndpointRequest(server string, body PostServingEndpointJSONRequestBody) (*http.Request, error)

NewPostServingEndpointRequest calls the generic PostServingEndpoint builder with application/json body

func NewPostServingEndpointRequestWithBody

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

NewPostServingEndpointRequestWithBody constructs an http.Request for the PostServingEndpoint method, with any body, and a specified content type

func NewPostSmartBalancerRequest

func NewPostSmartBalancerRequest(server string, body PostSmartBalancerJSONRequestBody) (*http.Request, error)

NewPostSmartBalancerRequest calls the generic PostSmartBalancer builder with application/json body

func NewPostSmartBalancerRequestWithBody

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

NewPostSmartBalancerRequestWithBody constructs an http.Request for the PostSmartBalancer method, with any body, and a specified content type

func NewPostStorageVolumesRequest

func NewPostStorageVolumesRequest(server string, body PostStorageVolumesJSONRequestBody) (*http.Request, error)

NewPostStorageVolumesRequest calls the generic PostStorageVolumes builder with application/json body

func NewPostStorageVolumesRequestWithBody

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

NewPostStorageVolumesRequestWithBody constructs an http.Request for the PostStorageVolumes method, with any body, and a specified content type

func NewPostTargetGroupRequest

func NewPostTargetGroupRequest(server string, body PostTargetGroupJSONRequestBody) (*http.Request, error)

NewPostTargetGroupRequest calls the generic PostTargetGroup builder with application/json body

func NewPostTargetGroupRequestWithBody

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

NewPostTargetGroupRequestWithBody constructs an http.Request for the PostTargetGroup method, with any body, and a specified content type

func NewPostUserAPIKeysKeyIDRevokeRequest added in v1.0.3

func NewPostUserAPIKeysKeyIDRevokeRequest(server string, keyID string) (*http.Request, error)

NewPostUserAPIKeysKeyIDRevokeRequest constructs an http.Request for the PostUserAPIKeysKeyIDRevoke method

func NewPostUserAPIKeysRequest added in v1.0.3

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

NewPostUserAPIKeysRequest constructs an http.Request for the PostUserAPIKeys method

func NewPostV1AudioSpeechRequest

func NewPostV1AudioSpeechRequest(server string, body PostV1AudioSpeechJSONRequestBody) (*http.Request, error)

NewPostV1AudioSpeechRequest calls the generic PostV1AudioSpeech builder with application/json body

func NewPostV1AudioSpeechRequestWithBody

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

NewPostV1AudioSpeechRequestWithBody constructs an http.Request for the PostV1AudioSpeech method, with any body, and a specified content type

func NewPostV1AudioTranscriptionsRequestWithBody

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

NewPostV1AudioTranscriptionsRequestWithBody constructs an http.Request for the PostV1AudioTranscriptions method, with any body, and a specified content type

func NewPostV1ChatCompletionsRequest

func NewPostV1ChatCompletionsRequest(server string, body PostV1ChatCompletionsJSONRequestBody) (*http.Request, error)

NewPostV1ChatCompletionsRequest calls the generic PostV1ChatCompletions builder with application/json body

func NewPostV1ChatCompletionsRequestWithBody

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

NewPostV1ChatCompletionsRequestWithBody constructs an http.Request for the PostV1ChatCompletions method, with any body, and a specified content type

func NewPostV1EmbeddingsRequest

func NewPostV1EmbeddingsRequest(server string, body PostV1EmbeddingsJSONRequestBody) (*http.Request, error)

NewPostV1EmbeddingsRequest calls the generic PostV1Embeddings builder with application/json body

func NewPostV1EmbeddingsRequestWithBody

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

NewPostV1EmbeddingsRequestWithBody constructs an http.Request for the PostV1Embeddings method, with any body, and a specified content type

func NewPostV1ImageEditsRequestWithBody

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

NewPostV1ImageEditsRequestWithBody constructs an http.Request for the PostV1ImageEdits method, with any body, and a specified content type

func NewPostV1ImageGenerationsRequest

func NewPostV1ImageGenerationsRequest(server string, body PostV1ImageGenerationsJSONRequestBody) (*http.Request, error)

NewPostV1ImageGenerationsRequest calls the generic PostV1ImageGenerations builder with application/json body

func NewPostV1ImageGenerationsRequestWithBody

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

NewPostV1ImageGenerationsRequestWithBody constructs an http.Request for the PostV1ImageGenerations method, with any body, and a specified content type

func NewPostV1ResponsesCompactRequest

func NewPostV1ResponsesCompactRequest(server string, body PostV1ResponsesCompactJSONRequestBody) (*http.Request, error)

NewPostV1ResponsesCompactRequest calls the generic PostV1ResponsesCompact builder with application/json body

func NewPostV1ResponsesCompactRequestWithBody

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

NewPostV1ResponsesCompactRequestWithBody constructs an http.Request for the PostV1ResponsesCompact method, with any body, and a specified content type

func NewPostV1ResponsesRequest

func NewPostV1ResponsesRequest(server string, body PostV1ResponsesJSONRequestBody) (*http.Request, error)

NewPostV1ResponsesRequest calls the generic PostV1Responses builder with application/json body

func NewPostV1ResponsesRequestWithBody

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

NewPostV1ResponsesRequestWithBody constructs an http.Request for the PostV1Responses method, with any body, and a specified content type

func NewPostVectorDatabaseIndexDirectRequest

func NewPostVectorDatabaseIndexDirectRequest(server string, databaseID string, body PostVectorDatabaseIndexDirectJSONRequestBody) (*http.Request, error)

NewPostVectorDatabaseIndexDirectRequest calls the generic PostVectorDatabaseIndexDirect builder with application/json body

func NewPostVectorDatabaseIndexDirectRequestWithBody

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

NewPostVectorDatabaseIndexDirectRequestWithBody constructs an http.Request for the PostVectorDatabaseIndexDirect method, with any body, and a specified content type

func NewPostVectorDatabaseIndexJobsRequest

func NewPostVectorDatabaseIndexJobsRequest(server string, databaseID string, body PostVectorDatabaseIndexJobsJSONRequestBody) (*http.Request, error)

NewPostVectorDatabaseIndexJobsRequest calls the generic PostVectorDatabaseIndexJobs builder with application/json body

func NewPostVectorDatabaseIndexJobsRequestWithBody

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

NewPostVectorDatabaseIndexJobsRequestWithBody constructs an http.Request for the PostVectorDatabaseIndexJobs method, with any body, and a specified content type

func NewPostVectorDatabaseRecommendRequest

func NewPostVectorDatabaseRecommendRequest(server string, databaseID string, body PostVectorDatabaseRecommendJSONRequestBody) (*http.Request, error)

NewPostVectorDatabaseRecommendRequest calls the generic PostVectorDatabaseRecommend builder with application/json body

func NewPostVectorDatabaseRecommendRequestWithBody

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

NewPostVectorDatabaseRecommendRequestWithBody constructs an http.Request for the PostVectorDatabaseRecommend method, with any body, and a specified content type

func NewPostVectorDatabaseSearchRequest

func NewPostVectorDatabaseSearchRequest(server string, databaseID string, body PostVectorDatabaseSearchJSONRequestBody) (*http.Request, error)

NewPostVectorDatabaseSearchRequest calls the generic PostVectorDatabaseSearch builder with application/json body

func NewPostVectorDatabaseSearchRequestWithBody

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

NewPostVectorDatabaseSearchRequestWithBody constructs an http.Request for the PostVectorDatabaseSearch method, with any body, and a specified content type

func NewPostVectorDatabaseViewElementRequest

func NewPostVectorDatabaseViewElementRequest(server string, databaseID string, body PostVectorDatabaseViewElementJSONRequestBody) (*http.Request, error)

NewPostVectorDatabaseViewElementRequest calls the generic PostVectorDatabaseViewElement builder with application/json body

func NewPostVectorDatabaseViewElementRequestWithBody

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

NewPostVectorDatabaseViewElementRequestWithBody constructs an http.Request for the PostVectorDatabaseViewElement method, with any body, and a specified content type

func NewPostVectorDatabasesRequest

func NewPostVectorDatabasesRequest(server string, body PostVectorDatabasesJSONRequestBody) (*http.Request, error)

NewPostVectorDatabasesRequest calls the generic PostVectorDatabases builder with application/json body

func NewPostVectorDatabasesRequestWithBody

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

NewPostVectorDatabasesRequestWithBody constructs an http.Request for the PostVectorDatabases method, with any body, and a specified content type

Types

type API

type API struct {
	*ClientWithResponses
	// contains filtered or unexported fields
}

API is the client facade. It embeds the generated ClientWithResponses so every typed operation (e.g. GetAccountsWithResponse) is available directly, and adds automatic authentication: tokens set via Login, Refresh or options are attached to requests and refreshed transparently when the API answers 401 Unauthorized.

func NewAPI

func NewAPI(opts ...Option) (*API, error)

NewAPI creates a client for the QDivZero API.

func (*API) APIKey added in v1.0.2

func (a *API) APIKey() string

APIKey returns the API key currently in use.

func (*API) AccessToken

func (a *API) AccessToken() string

AccessToken returns the access token currently in use.

func (*API) Login

func (a *API) Login(ctx context.Context, email, password string) error

Login authenticates with email and password, storing the returned access and refresh tokens for automatic use by subsequent requests. Subsequent 401 responses re-authenticate with the stored credentials.

func (*API) Refresh

func (a *API) Refresh(ctx context.Context) error

Refresh exchanges the stored refresh token for a new access token.

func (*API) SetAPIKey

func (a *API) SetAPIKey(key string)

SetAPIKey authenticates with a QDivZero API key.

func (*API) SetAccessToken

func (a *API) SetAccessToken(token string)

SetAccessToken replaces the bearer access token used for requests.

func (*API) SetAuthorization

func (a *API) SetAuthorization(value string)

SetAuthorization sets a raw Authorization header value, overriding the bearer token and API key.

func (*API) SetRefreshToken

func (a *API) SetRefreshToken(token string)

SetRefreshToken replaces the refresh token used for automatic refresh.

type AcceptInvitationRequest

type AcceptInvitationRequest struct {
	InvitationId *string `json:"invitation_id,omitempty"`
	Token        *string `json:"token,omitempty"`
}

AcceptInvitationRequest defines model for AcceptInvitationRequest.

type AccountBalanceResponse

type AccountBalanceResponse struct {
	AccountId *string  `json:"account_id,omitempty"`
	Balance   *float32 `json:"balance,omitempty"`
}

AccountBalanceResponse defines model for AccountBalanceResponse.

type AccountListResponse

type AccountListResponse struct {
	Memberships *[]AccountMembershipResponse `json:"memberships,omitempty"`
}

AccountListResponse defines model for AccountListResponse.

type AccountMemberListResponse

type AccountMemberListResponse struct {
	Members *[]AccountMemberResponse `json:"members,omitempty"`
}

AccountMemberListResponse defines model for AccountMemberListResponse.

type AccountMemberResponse

type AccountMemberResponse struct {
	AccountId     *string `json:"account_id,omitempty"`
	CreatedAtUnix *int    `json:"created_at_unix,omitempty"`
	Email         *string `json:"email,omitempty"`
	Role          *string `json:"role,omitempty"`
	UserId        *string `json:"user_id,omitempty"`
}

AccountMemberResponse defines model for AccountMemberResponse.

type AccountMembershipResponse

type AccountMembershipResponse struct {
	Account       *AccountResponse `json:"account,omitempty"`
	AccountId     *string          `json:"account_id,omitempty"`
	CreatedAtUnix *int             `json:"created_at_unix,omitempty"`
	Role          *string          `json:"role,omitempty"`
	UserId        *string          `json:"user_id,omitempty"`
}

AccountMembershipResponse defines model for AccountMembershipResponse.

type AccountResponse

type AccountResponse struct {
	CreatedAtUnix          *int    `json:"created_at_unix,omitempty"`
	Description            *string `json:"description,omitempty"`
	FiscalAddress          *string `json:"fiscal_address,omitempty"`
	FiscalCity             *string `json:"fiscal_city,omitempty"`
	FiscalCompanyName      *string `json:"fiscal_company_name,omitempty"`
	FiscalCountry          *string `json:"fiscal_country,omitempty"`
	FiscalCustomerType     *string `json:"fiscal_customer_type,omitempty"`
	FiscalInvoiceEmail     *string `json:"fiscal_invoice_email,omitempty"`
	FiscalLegalName        *string `json:"fiscal_legal_name,omitempty"`
	FiscalPostcode         *string `json:"fiscal_postcode,omitempty"`
	FiscalProfileCompleted *bool   `json:"fiscal_profile_completed,omitempty"`
	FiscalRegion           *string `json:"fiscal_region,omitempty"`
	FiscalTaxId            *string `json:"fiscal_tax_id,omitempty"`
	FiscalVatValidated     *bool   `json:"fiscal_vat_validated,omitempty"`
	HoldedContactId        *string `json:"holded_contact_id,omitempty"`
	Id                     *string `json:"id,omitempty"`
	Name                   *string `json:"name,omitempty"`
}

AccountResponse defines model for AccountResponse.

type AddAccountMemberRequest

type AddAccountMemberRequest struct {
	Email *string `json:"email,omitempty"`
	Role  *string `json:"role,omitempty"`
}

AddAccountMemberRequest defines model for AddAccountMemberRequest.

type ApiKeyListResponse

type ApiKeyListResponse struct {
	ApiKeys *[]ApiKeyResponse `json:"api_keys,omitempty"`
}

ApiKeyListResponse defines model for ApiKeyListResponse.

type ApiKeyResponse

type ApiKeyResponse struct {
	CreatedAt    *string `json:"created_at,omitempty"`
	Id           *string `json:"id,omitempty"`
	KeyPrefix    *string `json:"key_prefix,omitempty"`
	PlaintextKey *string `json:"plaintext_key,omitempty"`
	RevokedAt    *string `json:"revoked_at,omitempty"`
}

ApiKeyResponse defines model for ApiKeyResponse.

type AudioSpeechRequest

type AudioSpeechRequest struct {
	Input          *string  `json:"input,omitempty"`
	Instructions   *string  `json:"instructions,omitempty"`
	Language       *string  `json:"language,omitempty"`
	Model          *string  `json:"model,omitempty"`
	ResponseFormat *string  `json:"response_format,omitempty"`
	Speed          *float32 `json:"speed,omitempty"`
	TaskType       *string  `json:"task_type,omitempty"`
	Voice          *string  `json:"voice,omitempty"`
}

AudioSpeechRequest defines model for AudioSpeechRequest.

type BeginPasskeyRegistrationResponse

type BeginPasskeyRegistrationResponse struct {
	ChallengeId *string `json:"challenge_id,omitempty"`
	PublicKey   *[]int  `json:"public_key,omitempty"`
}

BeginPasskeyRegistrationResponse defines model for BeginPasskeyRegistrationResponse.

type BeginPasskeyloginRequest

type BeginPasskeyloginRequest struct {
	CfTurnstileResponse *string `json:"cf_turnstile_response,omitempty"`
	Email               string  `json:"email"`
}

BeginPasskeyloginRequest defines model for BeginPasskeyloginRequest.

type BeginPasskeyloginResponse

type BeginPasskeyloginResponse struct {
	ChallengeId *string `json:"challenge_id,omitempty"`
	PublicKey   *[]int  `json:"public_key,omitempty"`
}

BeginPasskeyloginResponse defines model for BeginPasskeyloginResponse.

type BeginTotpEnrollmentResponse

type BeginTotpEnrollmentResponse struct {
	OtpauthUri *string `json:"otpauth_uri,omitempty"`
	Secret     *string `json:"secret,omitempty"`
}

BeginTotpEnrollmentResponse defines model for BeginTotpEnrollmentResponse.

type CatalogGPUResponse

type CatalogGPUResponse struct {
	AvailabilityCount *int     `json:"availability_count,omitempty"`
	AvailabilityTotal *int     `json:"availability_total,omitempty"`
	CapacityTier      *string  `json:"capacity_tier,omitempty"`
	City              *string  `json:"city,omitempty"`
	ComputeTflops     *float32 `json:"compute_tflops,omitempty"`
	Continent         *string  `json:"continent,omitempty"`
	Country           *string  `json:"country,omitempty"`
	CpuCores          *int     `json:"cpu_cores,omitempty"`
	CpuName           *string  `json:"cpu_name,omitempty"`
	CpuRamGb          *int     `json:"cpu_ram_gb,omitempty"`
	CudaMaxGood       *float32 `json:"cuda_max_good,omitempty"`
	DiskBandwidthMbps *float32 `json:"disk_bandwidth_mbps,omitempty"`
	DisplayName       *string  `json:"display_name,omitempty"`
	Enabled           *bool    `json:"enabled,omitempty"`
	GpuCount          *int     `json:"gpu_count,omitempty"`
	InternetDownMbps  *float32 `json:"internet_down_mbps,omitempty"`
	InternetUpMbps    *float32 `json:"internet_up_mbps,omitempty"`
	MarketType        *string  `json:"market_type,omitempty"`
	PricePerHourEur   *float32 `json:"price_per_hour_eur,omitempty"`
	ProviderCodename  *string  `json:"provider_codename,omitempty"`
	PublicGpuId       *string  `json:"public_gpu_id,omitempty"`
	Reliability       *float32 `json:"reliability,omitempty"`
	StockStatus       *string  `json:"stock_status,omitempty"`
	VramGb            *float32 `json:"vram_gb,omitempty"`
}

CatalogGPUResponse defines model for CatalogGPUResponse.

type ChangePasswordRequest

type ChangePasswordRequest struct {
	CurrentPassword string `json:"current_password"`
	NewPassword     string `json:"new_password"`
}

ChangePasswordRequest defines model for ChangePasswordRequest.

type ChatMessageEnvelope

type ChatMessageEnvelope struct {
	Content    *[]int                  `json:"content,omitempty"`
	Role       *string                 `json:"role,omitempty"`
	ToolCallId *string                 `json:"tool_call_id,omitempty"`
	ToolCalls  *[]ChatToolCallEnvelope `json:"tool_calls,omitempty"`
}

ChatMessageEnvelope defines model for ChatMessageEnvelope.

type ChatRequestEnvelope

type ChatRequestEnvelope struct {
	Firewall    *string                `json:"firewall,omitempty"`
	MaxTokens   *int                   `json:"max_tokens,omitempty"`
	Messages    *[]ChatMessageEnvelope `json:"messages,omitempty"`
	Model       *string                `json:"model,omitempty"`
	Stream      *bool                  `json:"stream,omitempty"`
	Temperature *float32               `json:"temperature,omitempty"`
	TopP        *float32               `json:"top_p,omitempty"`
}

ChatRequestEnvelope defines model for ChatRequestEnvelope.

type ChatToolCallEnvelope

type ChatToolCallEnvelope struct {
	Function *ChatToolCallFunctionEnvelope `json:"function,omitempty"`
	Id       *string                       `json:"id,omitempty"`
	Index    *int                          `json:"index,omitempty"`
	Type     *string                       `json:"type,omitempty"`
}

ChatToolCallEnvelope defines model for ChatToolCallEnvelope.

type ChatToolCallFunctionEnvelope

type ChatToolCallFunctionEnvelope struct {
	Arguments *string `json:"arguments,omitempty"`
	Name      *string `json:"name,omitempty"`
}

ChatToolCallFunctionEnvelope defines model for ChatToolCallFunctionEnvelope.

type CheckoutQuoteRequest

type CheckoutQuoteRequest struct {
	AmountCents  *float32 `json:"amount_cents,omitempty"`
	Currency     *string  `json:"currency,omitempty"`
	DiscountCode *string  `json:"discount_code,omitempty"`
}

CheckoutQuoteRequest defines model for CheckoutQuoteRequest.

type CheckoutQuoteResponse

type CheckoutQuoteResponse struct {
	Currency            *string `json:"currency,omitempty"`
	DiscountAmountMinor *int    `json:"discount_amount_minor,omitempty"`
	GrossTotalMinor     *int    `json:"gross_total_minor,omitempty"`
	OriginalAmountMinor *int    `json:"original_amount_minor,omitempty"`
	PolicyVersion       *string `json:"policy_version,omitempty"`
	QuoteHash           *string `json:"quote_hash,omitempty"`
	QuoteId             *string `json:"quote_id,omitempty"`
	Reason              *string `json:"reason,omitempty"`
	ReverseCharge       *bool   `json:"reverse_charge,omitempty"`
	TaxIncluded         *bool   `json:"tax_included,omitempty"`
	TaxMinor            *int    `json:"tax_minor,omitempty"`
	TaxRateBasisPoints  *int    `json:"tax_rate_basis_points,omitempty"`
	TaxableBaseMinor    *int    `json:"taxable_base_minor,omitempty"`
}

CheckoutQuoteResponse defines model for CheckoutQuoteResponse.

type CheckoutSessionResponse

type CheckoutSessionResponse struct {
	CheckoutUrl *string `json:"checkout_url,omitempty"`
	SessionId   *string `json:"session_id,omitempty"`
}

CheckoutSessionResponse defines model for CheckoutSessionResponse.

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

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

DeleteAccountsCurrent Delete the selected account

Deletes the active account context.

Corresponds with DELETE /accounts/current (the `DeleteAccountsCurrent` operationId).

func (*Client) DeleteAccountsCurrentInvitationsByInvitationID

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

DeleteAccountsCurrentInvitationsByInvitationID Cancel an invitation for the selected account

Cancels a pending invitation issued by the active account context.

Corresponds with DELETE /accounts/current/invitations/{invitationID} (the `DeleteAccountsCurrentInvitationsByInvitationID` operationId).

func (*Client) DeleteAuthPasskeys

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

DeleteAuthPasskeys Remove a passkey

Deletes a passkey credential from the authenticated user.

Corresponds with DELETE /auth/passkeys/{credentialID} (the `DeleteAuthPasskeys` operationId).

func (*Client) DeleteAuthTotp

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

DeleteAuthTotp Disable TOTP

Removes the current user's TOTP credential.

Corresponds with DELETE /auth/totp (the `DeleteAuthTotp` operationId).

func (*Client) DeleteFirewall

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

DeleteFirewall Delete a firewall

Removes a firewall by slug.

Corresponds with DELETE /firewalls/{firewallSlug} (the `DeleteFirewall` operationId).

func (*Client) DeleteFirewallRule

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

DeleteFirewallRule Delete a firewall rule

Removes a firewall rule by slug.

Corresponds with DELETE /firewall-rules/{ruleSlug} (the `DeleteFirewallRule` operationId).

func (*Client) DeleteInstance

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

DeleteInstance Delete an inference instance

Corresponds with DELETE /instances/{instanceID} (the `DeleteInstance` operationId).

func (*Client) DeleteInstanceScheduleRule

func (c *Client) DeleteInstanceScheduleRule(ctx context.Context, instanceID string, ruleID string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteInstanceScheduleRule Delete a schedule rule for an instance

Corresponds with DELETE /instances/{instanceID}/schedule-rules/{ruleID} (the `DeleteInstanceScheduleRule` operationId).

func (*Client) DeleteReplicaSet

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

DeleteReplicaSet Delete a replica set

Corresponds with DELETE /replica-sets/{replicaSetID} (the `DeleteReplicaSet` operationId).

func (*Client) DeleteSmartBalancer

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

DeleteSmartBalancer Delete a smart balancer

Corresponds with DELETE /smart-balancers/{smartBalancerID} (the `DeleteSmartBalancer` operationId).

func (*Client) DeleteStorageVolume

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

DeleteStorageVolume Delete a storage volume

Deletes a persistent storage volume and its contents.

Corresponds with DELETE /storage/volumes/{volumeID} (the `DeleteStorageVolume` operationId).

func (*Client) DeleteTargetGroup

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

DeleteTargetGroup Delete a target group

Corresponds with DELETE /target-groups/{targetGroupID} (the `DeleteTargetGroup` operationId).

func (*Client) DeleteVectorDatabase

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

DeleteVectorDatabase Delete a vector database

Removes a vector database owned by the authenticated account.

Corresponds with DELETE /flexible-vector-databases/{databaseID} (the `DeleteVectorDatabase` operationId).

func (*Client) GetAccounts

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

GetAccounts List user accounts

Returns the accounts and memberships visible to the authenticated user.

Corresponds with GET /accounts (the `GetAccounts` operationId).

func (*Client) GetAccountsCurrent

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

GetAccountsCurrent Get the selected account

Returns the account resolved from the active account context.

Corresponds with GET /accounts/current (the `GetAccountsCurrent` operationId).

func (*Client) GetAccountsCurrentMembers

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

GetAccountsCurrentMembers List selected account members

Returns the members and roles for the active account context.

Corresponds with GET /accounts/current/members (the `GetAccountsCurrentMembers` operationId).

func (*Client) GetApiKeys

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

GetApiKeys List API keys for the selected account

Returns the API keys issued for the active account context.

Corresponds with GET /api-keys (the `GetApiKeys` operationId).

func (*Client) GetAuthMe

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

GetAuthMe Return the current authenticated user

Resolves the user attached to the bearer token.

Corresponds with GET /auth/me (the `GetAuthMe` operationId).

func (*Client) GetAuthPasskeys

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

GetAuthPasskeys List passkeys

Returns the current user's passkey credentials.

Corresponds with GET /auth/passkeys (the `GetAuthPasskeys` operationId).

func (*Client) GetAuthPreferences

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

GetAuthPreferences Get the current user's security preferences

Returns the per-user security toggles for the authenticated user.

Corresponds with GET /auth/preferences (the `GetAuthPreferences` operationId).

func (*Client) GetAuthVerifyEmail

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

GetAuthVerifyEmail Verify an email activation link

Consumes the activation token and returns a session.

Corresponds with GET /auth/verify-email (the `GetAuthVerifyEmail` operationId).

func (*Client) GetBillingBalance

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

GetBillingBalance Get the current account balance

Returns the billing balance of the authenticated account.

Corresponds with GET /billing/balance (the `GetBillingBalance` operationId).

func (*Client) GetBillingLedger

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

GetBillingLedger List ledger entries

Returns ledger movements for the authenticated account.

Corresponds with GET /billing/ledger (the `GetBillingLedger` operationId).

func (*Client) GetBillingPayments

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

GetBillingPayments List payments for the authenticated account

Returns the payment history for the active account context.

Corresponds with GET /billing/payments (the `GetBillingPayments` operationId).

func (*Client) GetBillingPaymentsPaymentIDInvoicePDF

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

GetBillingPaymentsPaymentIDInvoicePDF Download a payment invoice PDF

Returns the invoice PDF for a given payment of the active account context.

Corresponds with GET /billing/payments/{paymentID}/invoice.pdf (the `GetBillingPaymentsPaymentIDInvoicePDF` operationId).

func (*Client) GetFirewall

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

GetFirewall Get a firewall

Returns a single firewall by slug.

Corresponds with GET /firewalls/{firewallSlug} (the `GetFirewall` operationId).

func (*Client) GetFirewallRule

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

GetFirewallRule Get a firewall rule

Returns a single firewall rule by slug.

Corresponds with GET /firewall-rules/{ruleSlug} (the `GetFirewallRule` operationId).

func (*Client) GetFirewallRules

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

GetFirewallRules List firewall rules

Returns all firewall rules for the authenticated account.

Corresponds with GET /firewall-rules (the `GetFirewallRules` operationId).

func (*Client) GetFirewalls

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

GetFirewalls List firewalls

Returns all firewalls for the authenticated account.

Corresponds with GET /firewalls (the `GetFirewalls` operationId).

func (*Client) GetHealth

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

GetHealth Health check

Returns service health.

Corresponds with GET /health (the `GetHealth` operationId).

func (*Client) GetHuggingfaceEmbeddings

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

GetHuggingfaceEmbeddings Search embedding models

Searches Hugging Face for embedding models.

Corresponds with GET /huggingface/embeddings (the `GetHuggingfaceEmbeddings` operationId).

func (*Client) GetHuggingfaceFiles

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

GetHuggingfaceFiles Get Hugging Face file sizes

Returns GGUF file sizes and quantization for a Hugging Face repository.

Corresponds with GET /huggingface/files (the `GetHuggingfaceFiles` operationId).

func (*Client) GetHuggingfaceModels

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

GetHuggingfaceModels Search Hugging Face models

Searches Hugging Face for compatible models matching the query.

Corresponds with GET /huggingface/models (the `GetHuggingfaceModels` operationId).

func (*Client) GetHuggingfaceOrgs

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

GetHuggingfaceOrgs Get Hugging Face organization info

Returns profile information for a Hugging Face organization.

Corresponds with GET /huggingface/orgs/{org} (the `GetHuggingfaceOrgs` operationId).

func (*Client) GetHuggingfaceSearchTag

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

GetHuggingfaceSearchTag Search Hugging Face models by tag

Searches Hugging Face for models matching a query and pipeline tag.

Corresponds with GET /huggingface/search-tag (the `GetHuggingfaceSearchTag` operationId).

func (*Client) GetHuggingfaceTrending

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

GetHuggingfaceTrending Trending Hugging Face models

Returns trending Hugging Face models.

Corresponds with GET /huggingface/trending (the `GetHuggingfaceTrending` operationId).

func (*Client) GetInstanceByID

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

GetInstanceByID Get an inference instance

Corresponds with GET /instances/{instanceID} (the `GetInstanceByID` operationId).

func (*Client) GetInstanceConfigGpus

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

GetInstanceConfigGpus List available GPUs

Returns the GPU catalog with pricing, regions, and availability for the authenticated account.

Corresponds with GET /instance-config/gpus (the `GetInstanceConfigGpus` operationId).

func (*Client) GetInstanceScheduleRules

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

GetInstanceScheduleRules List schedule rules for an instance

Corresponds with GET /instances/{instanceID}/schedule-rules (the `GetInstanceScheduleRules` operationId).

func (*Client) GetInstanceUsage

func (c *Client) GetInstanceUsage(ctx context.Context, instanceID string, params *GetInstanceUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetInstanceUsage Get an inference instance usage and cost breakdown

Corresponds with GET /instances/{instanceID}/usage (the `GetInstanceUsage` operationId).

func (*Client) GetInstances

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

GetInstances List inference instances

Corresponds with GET /instances (the `GetInstances` operationId).

func (*Client) GetInvitations

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

GetInvitations List pending invitations for the authenticated user

Returns invitations pending acceptance that were sent to the authenticated user's email.

Corresponds with GET /invitations (the `GetInvitations` operationId).

func (*Client) GetModelsFixed

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

GetModelsFixed List fixed models

Returns the catalog of fixed (curated) models supported by the platform.

Corresponds with GET /models/fixed (the `GetModelsFixed` operationId).

func (*Client) GetReplicaSet

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

GetReplicaSet Get a replica set

Corresponds with GET /replica-sets/{replicaSetID} (the `GetReplicaSet` operationId).

func (*Client) GetReplicaSets

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

GetReplicaSets List replica sets

Corresponds with GET /replica-sets (the `GetReplicaSets` operationId).

func (*Client) GetServingEndpoints

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

GetServingEndpoints List serving endpoints

Corresponds with GET /serving-endpoints (the `GetServingEndpoints` operationId).

func (*Client) GetSmartBalancers

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

GetSmartBalancers List smart balancers

Corresponds with GET /smart-balancers (the `GetSmartBalancers` operationId).

func (*Client) GetStorageVolume

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

GetStorageVolume Get a storage volume

Returns details for a specific persistent storage volume.

Corresponds with GET /storage/volumes/{volumeID} (the `GetStorageVolume` operationId).

func (*Client) GetStorageVolumes

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

GetStorageVolumes List storage volumes

Lists all persistent storage volumes owned by the authenticated account.

Corresponds with GET /storage/volumes (the `GetStorageVolumes` operationId).

func (*Client) GetSystemTools

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

GetSystemTools List system tools

Lists available system tools (code interpreter, web search, etc.) for the authenticated account.

Corresponds with GET /system-tools (the `GetSystemTools` operationId).

func (*Client) GetTargetGroup

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

GetTargetGroup Get a target group

Corresponds with GET /target-groups/{targetGroupID} (the `GetTargetGroup` operationId).

func (*Client) GetTargetGroups

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

GetTargetGroups List target groups

Corresponds with GET /target-groups (the `GetTargetGroups` operationId).

func (*Client) GetUserAPIKeys added in v1.0.3

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

GetUserAPIKeys List API keys for the authenticated user

Returns the API keys issued for the authenticated user identity.

Corresponds with GET /users/me/api-keys (the `GetUserAPIKeys` operationId).

func (*Client) GetV1AudioVoices

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

GetV1AudioVoices List available audio voices for a model

Lists available TTS voices and supported languages for a model. Accepts Bearer access tokens or API keys.

Corresponds with GET /v1/audio/voices (the `GetV1AudioVoices` operationId).

func (*Client) GetV1PublicModelPrices

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

GetV1PublicModelPrices Public model prices

Returns provider model pricing for cost comparison. No authentication required.

Corresponds with GET /v1/public/model-prices (the `GetV1PublicModelPrices` operationId).

func (*Client) GetV1PublicPricing

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

GetV1PublicPricing Public pricing catalog

Returns the public GPU and services pricing catalog. No authentication required.

Corresponds with GET /v1/public/pricing (the `GetV1PublicPricing` operationId).

func (*Client) GetV1ResponsesWebSocket

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

GetV1ResponsesWebSocket OpenAI-compatible Responses API over WebSocket

WebSocket transport for the Responses API. Accepts Bearer access tokens or API keys. Upgrades the HTTP request to a WebSocket session that exchanges Responses payloads.

Corresponds with GET /v1/responses (the `GetV1ResponsesWebSocket` operationId).

func (*Client) GetV1Template

func (c *Client) GetV1Template(ctx context.Context, id string, params *GetV1TemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV1Template Get a template variant

Returns a single template variant by ID for the authenticated user.

Corresponds with GET /v1/templates/{id} (the `GetV1Template` operationId).

func (*Client) GetV1TemplateBySlug

func (c *Client) GetV1TemplateBySlug(ctx context.Context, slug string, params *GetV1TemplateBySlugParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV1TemplateBySlug Get a template by slug

Returns a template variant by its URL slug for the authenticated user.

Corresponds with GET /v1/templates/by-slug/{slug} (the `GetV1TemplateBySlug` operationId).

func (*Client) GetV1Templates

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

GetV1Templates List template variants

Lists pre-configured deployment template variants visible to the authenticated user.

Corresponds with GET /v1/templates (the `GetV1Templates` operationId).

func (*Client) GetVectorDatabase

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

GetVectorDatabase Get a vector database

Returns a single vector database owned by the authenticated account.

Corresponds with GET /flexible-vector-databases/{databaseID} (the `GetVectorDatabase` operationId).

func (*Client) GetVectorDatabaseDocuments

func (c *Client) GetVectorDatabaseDocuments(ctx context.Context, databaseID string, params *GetVectorDatabaseDocumentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVectorDatabaseDocuments List documents in a vector database

Returns documents stored in a vector database with optional pagination.

Corresponds with GET /flexible-vector-databases/{databaseID}/documents (the `GetVectorDatabaseDocuments` operationId).

func (*Client) GetVectorDatabaseIndexJob

func (c *Client) GetVectorDatabaseIndexJob(ctx context.Context, databaseID string, jobID string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVectorDatabaseIndexJob Get an index job

Returns the status of an asynchronous index job.

Corresponds with GET /flexible-vector-databases/{databaseID}/index-jobs/{jobID} (the `GetVectorDatabaseIndexJob` operationId).

func (*Client) GetVectorDatabases

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

GetVectorDatabases List vector databases

Returns the vector databases owned by the authenticated account.

Corresponds with GET /flexible-vector-databases (the `GetVectorDatabases` operationId).

func (*Client) PatchAccountsCurrent

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

PatchAccountsCurrent Update the selected account

Updates editable metadata for the active account context.

Takes a body of the `application/json` content type.

Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).

func (*Client) PatchAccountsCurrentFiscalProfile

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

PatchAccountsCurrentFiscalProfile Update the current account fiscal profile

Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.

Takes a body of the `application/json` content type.

Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).

func (*Client) PatchAccountsCurrentFiscalProfileWithBody

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

PatchAccountsCurrentFiscalProfileWithBody Update the current account fiscal profile

Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.

Takes any type of body and a specified content type.

Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).

func (*Client) PatchAccountsCurrentMembersByUserID

func (c *Client) PatchAccountsCurrentMembersByUserID(ctx context.Context, userID string, body PatchAccountsCurrentMembersByUserIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchAccountsCurrentMembersByUserID Update a selected account member role

Updates the role of an existing user within the active account context.

Takes a body of the `application/json` content type.

Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).

func (*Client) PatchAccountsCurrentMembersByUserIDWithBody

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

PatchAccountsCurrentMembersByUserIDWithBody Update a selected account member role

Updates the role of an existing user within the active account context.

Takes any type of body and a specified content type.

Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).

func (*Client) PatchAccountsCurrentWithBody

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

PatchAccountsCurrentWithBody Update the selected account

Updates editable metadata for the active account context.

Takes any type of body and a specified content type.

Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).

func (*Client) PatchAuthPassword

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

PatchAuthPassword Change the current user's password

Requires the authenticated user to provide the current password and a new password.

Takes a body of the `application/json` content type.

Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).

func (*Client) PatchAuthPasswordWithBody

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

PatchAuthPasswordWithBody Change the current user's password

Requires the authenticated user to provide the current password and a new password.

Takes any type of body and a specified content type.

Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).

func (*Client) PatchAuthPreferences

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

PatchAuthPreferences Update the current user's security preferences

Partial update of the per-user security toggles. Only fields present in the body are applied.

Takes a body of the `application/json` content type.

Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).

func (*Client) PatchAuthPreferencesWithBody

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

PatchAuthPreferencesWithBody Update the current user's security preferences

Partial update of the per-user security toggles. Only fields present in the body are applied.

Takes any type of body and a specified content type.

Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).

func (*Client) PatchFirewall

func (c *Client) PatchFirewall(ctx context.Context, firewallSlug string, body PatchFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchFirewall Update a firewall

Partially updates a firewall by slug.

Takes a body of the `application/json` content type.

Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).

func (*Client) PatchFirewallRule

func (c *Client) PatchFirewallRule(ctx context.Context, ruleSlug string, body PatchFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchFirewallRule Update a firewall rule

Partially updates a firewall rule by slug.

Takes a body of the `application/json` content type.

Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).

func (*Client) PatchFirewallRuleWithBody

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

PatchFirewallRuleWithBody Update a firewall rule

Partially updates a firewall rule by slug.

Takes any type of body and a specified content type.

Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).

func (*Client) PatchFirewallWithBody

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

PatchFirewallWithBody Update a firewall

Partially updates a firewall by slug.

Takes any type of body and a specified content type.

Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).

func (*Client) PatchInstance

func (c *Client) PatchInstance(ctx context.Context, instanceID string, body PatchInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchInstance Update an inference instance

Takes a body of the `application/json` content type.

Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).

func (*Client) PatchInstanceScheduleRule

func (c *Client) PatchInstanceScheduleRule(ctx context.Context, instanceID string, ruleID string, body PatchInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchInstanceScheduleRule Update a schedule rule for an instance

Takes a body of the `application/json` content type.

Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).

func (*Client) PatchInstanceScheduleRuleWithBody

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

PatchInstanceScheduleRuleWithBody Update a schedule rule for an instance

Takes any type of body and a specified content type.

Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).

func (*Client) PatchInstanceWithBody

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

PatchInstanceWithBody Update an inference instance

Takes any type of body and a specified content type.

Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).

func (*Client) PatchReplicaSet

func (c *Client) PatchReplicaSet(ctx context.Context, replicaSetID string, body PatchReplicaSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchReplicaSet Update a replica set

Takes a body of the `application/json` content type.

Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).

func (*Client) PatchReplicaSetWithBody

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

PatchReplicaSetWithBody Update a replica set

Takes any type of body and a specified content type.

Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).

func (*Client) PatchSmartBalancer

func (c *Client) PatchSmartBalancer(ctx context.Context, smartBalancerID string, body PatchSmartBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchSmartBalancer Update a smart balancer

Takes a body of the `application/json` content type.

Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).

func (*Client) PatchSmartBalancerWithBody

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

PatchSmartBalancerWithBody Update a smart balancer

Takes any type of body and a specified content type.

Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).

func (*Client) PatchTargetGroup

func (c *Client) PatchTargetGroup(ctx context.Context, targetGroupID string, body PatchTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchTargetGroup Update a target group

Takes a body of the `application/json` content type.

Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).

func (*Client) PatchTargetGroupWithBody

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

PatchTargetGroupWithBody Update a target group

Takes any type of body and a specified content type.

Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).

func (*Client) PatchVectorDatabase

func (c *Client) PatchVectorDatabase(ctx context.Context, databaseID string, body PatchVectorDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchVectorDatabase Update a vector database

Updates the slug, name, or description of an existing vector database.

Takes a body of the `application/json` content type.

Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).

func (*Client) PatchVectorDatabaseWithBody

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

PatchVectorDatabaseWithBody Update a vector database

Updates the slug, name, or description of an existing vector database.

Takes any type of body and a specified content type.

Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).

func (*Client) PostAccounts

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

PostAccounts Create an account

Creates a new account owned by the authenticated user.

Takes a body of the `application/json` content type.

Corresponds with POST /accounts (the `PostAccounts` operationId).

func (*Client) PostAccountsCurrentInvitations

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

PostAccountsCurrentInvitations Create an invitation for the selected account

Invites a user by email to join the active account context with a given role.

Takes a body of the `application/json` content type.

Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).

func (*Client) PostAccountsCurrentInvitationsWithBody

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

PostAccountsCurrentInvitationsWithBody Create an invitation for the selected account

Invites a user by email to join the active account context with a given role.

Takes any type of body and a specified content type.

Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).

func (*Client) PostAccountsCurrentMembers

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

PostAccountsCurrentMembers Add a member to the selected account

Adds a registered user to the active account context or updates their role if they already belong to it.

Takes a body of the `application/json` content type.

Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).

func (*Client) PostAccountsCurrentMembersWithBody

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

PostAccountsCurrentMembersWithBody Add a member to the selected account

Adds a registered user to the active account context or updates their role if they already belong to it.

Takes any type of body and a specified content type.

Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).

func (*Client) PostAccountsWithBody

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

PostAccountsWithBody Create an account

Creates a new account owned by the authenticated user.

Takes any type of body and a specified content type.

Corresponds with POST /accounts (the `PostAccounts` operationId).

func (*Client) PostApiKeys

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

PostApiKeys Create an API key for the selected account

Issues a new API key for the active account context and returns the plaintext key once.

Corresponds with POST /api-keys (the `PostApiKeys` operationId).

func (*Client) PostApiKeysKeyIDRevoke

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

PostApiKeysKeyIDRevoke Revoke an API key

Revokes an API key issued for the active account context.

Corresponds with POST /api-keys/{keyID}/revoke (the `PostApiKeysKeyIDRevoke` operationId).

func (*Client) PostAuthForgotPassword

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

PostAuthForgotPassword Request a password reset email

Always returns 200 with a generic message to avoid user enumeration.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).

func (*Client) PostAuthForgotPasswordWithBody

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

PostAuthForgotPasswordWithBody Request a password reset email

Always returns 200 with a generic message to avoid user enumeration.

Takes any type of body and a specified content type.

Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).

func (*Client) PostAuthLogin

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

PostAuthLogin Authenticate a user

Exchanges email and password credentials for access and refresh tokens.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/login (the `PostAuthLogin` operationId).

func (*Client) PostAuthLoginWithBody

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

PostAuthLoginWithBody Authenticate a user

Exchanges email and password credentials for access and refresh tokens.

Takes any type of body and a specified content type.

Corresponds with POST /auth/login (the `PostAuthLogin` operationId).

func (*Client) PostAuthPasskeys

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

PostAuthPasskeys Register a passkey

Stores a passkey credential for the authenticated user.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).

func (*Client) PostAuthPasskeysBeginLogin

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

PostAuthPasskeysBeginLogin Begin passkey login

Creates a passkey login challenge for the provided email.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).

func (*Client) PostAuthPasskeysBeginLoginWithBody

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

PostAuthPasskeysBeginLoginWithBody Begin passkey login

Creates a passkey login challenge for the provided email.

Takes any type of body and a specified content type.

Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).

func (*Client) PostAuthPasskeysBeginRegistration

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

PostAuthPasskeysBeginRegistration Begin passkey registration

Creates a passkey registration challenge for the authenticated user.

Corresponds with POST /auth/passkeys/begin-registration (the `PostAuthPasskeysBeginRegistration` operationId).

func (*Client) PostAuthPasskeysFinishLogin

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

PostAuthPasskeysFinishLogin Finish passkey login

Consumes a passkey login challenge and returns a session.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).

func (*Client) PostAuthPasskeysFinishLoginWithBody

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

PostAuthPasskeysFinishLoginWithBody Finish passkey login

Consumes a passkey login challenge and returns a session.

Takes any type of body and a specified content type.

Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).

func (*Client) PostAuthPasskeysFinishRegistration

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

PostAuthPasskeysFinishRegistration Finish passkey registration

Consumes a passkey registration challenge and stores the credential.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).

func (*Client) PostAuthPasskeysFinishRegistrationWithBody

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

PostAuthPasskeysFinishRegistrationWithBody Finish passkey registration

Consumes a passkey registration challenge and stores the credential.

Takes any type of body and a specified content type.

Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).

func (*Client) PostAuthPasskeysWithBody

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

PostAuthPasskeysWithBody Register a passkey

Stores a passkey credential for the authenticated user.

Takes any type of body and a specified content type.

Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).

func (*Client) PostAuthRefresh

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

PostAuthRefresh Refresh an access token

Exchanges a refresh token for a new access token.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).

func (*Client) PostAuthRefreshWithBody

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

PostAuthRefreshWithBody Refresh an access token

Exchanges a refresh token for a new access token.

Takes any type of body and a specified content type.

Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).

func (*Client) PostAuthRegister

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

PostAuthRegister Register a new user

Creates a new account using email and password credentials.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/register (the `PostAuthRegister` operationId).

func (*Client) PostAuthRegisterWithBody

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

PostAuthRegisterWithBody Register a new user

Creates a new account using email and password credentials.

Takes any type of body and a specified content type.

Corresponds with POST /auth/register (the `PostAuthRegister` operationId).

func (*Client) PostAuthResetPassword

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

PostAuthResetPassword Reset a password using a one-time token

Consumes the reset token, updates the password, and returns a fresh session.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).

func (*Client) PostAuthResetPasswordWithBody

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

PostAuthResetPasswordWithBody Reset a password using a one-time token

Consumes the reset token, updates the password, and returns a fresh session.

Takes any type of body and a specified content type.

Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).

func (*Client) PostAuthTotpBegin

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

PostAuthTotpBegin Start TOTP enrollment

Returns a new TOTP secret and otpauth URI for the authenticated user.

Corresponds with POST /auth/totp/begin (the `PostAuthTotpBegin` operationId).

func (*Client) PostAuthTotpConfirm

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

PostAuthTotpConfirm Confirm TOTP enrollment

Stores a TOTP secret for the authenticated user after verifying the code.

Takes a body of the `application/json` content type.

Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).

func (*Client) PostAuthTotpConfirmWithBody

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

PostAuthTotpConfirmWithBody Confirm TOTP enrollment

Stores a TOTP secret for the authenticated user after verifying the code.

Takes any type of body and a specified content type.

Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).

func (*Client) PostBillingCheckout

func (c *Client) PostBillingCheckout(ctx context.Context, params *PostBillingCheckoutParams, body PostBillingCheckoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostBillingCheckout Create a checkout session

Creates a billing checkout session for the authenticated account.

Takes a body of the `application/json` content type.

Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).

func (*Client) PostBillingCheckoutWithBody

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

PostBillingCheckoutWithBody Create a checkout session

Creates a billing checkout session for the authenticated account.

Takes any type of body and a specified content type.

Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).

func (*Client) PostBillingDebit

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

PostBillingDebit Debit the current account balance

Debits a positive amount from the authenticated account.

Takes a body of the `application/json` content type.

Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).

func (*Client) PostBillingDebitWithBody

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

PostBillingDebitWithBody Debit the current account balance

Debits a positive amount from the authenticated account.

Takes any type of body and a specified content type.

Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).

func (*Client) PostBillingQuote

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

PostBillingQuote Quote a checkout total

Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.

Takes a body of the `application/json` content type.

Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).

func (*Client) PostBillingQuoteWithBody

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

PostBillingQuoteWithBody Quote a checkout total

Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.

Takes any type of body and a specified content type.

Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).

func (*Client) PostFirewall

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

PostFirewall Create a firewall

Creates a new firewall for the authenticated account.

Takes a body of the `application/json` content type.

Corresponds with POST /firewalls (the `PostFirewall` operationId).

func (*Client) PostFirewallEvaluate

func (c *Client) PostFirewallEvaluate(ctx context.Context, firewallSlug string, body PostFirewallEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostFirewallEvaluate Evaluate a firewall

Runs input against a firewall and returns the evaluation result.

Takes a body of the `application/json` content type.

Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).

func (*Client) PostFirewallEvaluateWithBody

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

PostFirewallEvaluateWithBody Evaluate a firewall

Runs input against a firewall and returns the evaluation result.

Takes any type of body and a specified content type.

Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).

func (*Client) PostFirewallRule

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

PostFirewallRule Create a firewall rule

Creates a new firewall rule for the authenticated account.

Takes a body of the `application/json` content type.

Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).

func (*Client) PostFirewallRuleEvaluate

func (c *Client) PostFirewallRuleEvaluate(ctx context.Context, ruleSlug string, body PostFirewallRuleEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostFirewallRuleEvaluate Evaluate a firewall rule

Runs input against a single firewall rule and returns the evaluation result.

Takes a body of the `application/json` content type.

Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).

func (*Client) PostFirewallRuleEvaluateWithBody

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

PostFirewallRuleEvaluateWithBody Evaluate a firewall rule

Runs input against a single firewall rule and returns the evaluation result.

Takes any type of body and a specified content type.

Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).

func (*Client) PostFirewallRuleWithBody

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

PostFirewallRuleWithBody Create a firewall rule

Creates a new firewall rule for the authenticated account.

Takes any type of body and a specified content type.

Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).

func (*Client) PostFirewallWithBody

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

PostFirewallWithBody Create a firewall

Creates a new firewall for the authenticated account.

Takes any type of body and a specified content type.

Corresponds with POST /firewalls (the `PostFirewall` operationId).

func (*Client) PostInstancePreviewUpdate

func (c *Client) PostInstancePreviewUpdate(ctx context.Context, instanceID string, body PostInstancePreviewUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostInstancePreviewUpdate Preview smart selection for an existing instance update

Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.

Takes a body of the `application/json` content type.

Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).

func (*Client) PostInstancePreviewUpdateWithBody

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

PostInstancePreviewUpdateWithBody Preview smart selection for an existing instance update

Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.

Takes any type of body and a specified content type.

Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).

func (*Client) PostInstanceScheduleRule

func (c *Client) PostInstanceScheduleRule(ctx context.Context, instanceID string, body PostInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostInstanceScheduleRule Create a schedule rule for an instance

Takes a body of the `application/json` content type.

Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).

func (*Client) PostInstanceScheduleRuleWithBody

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

PostInstanceScheduleRuleWithBody Create a schedule rule for an instance

Takes any type of body and a specified content type.

Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).

func (*Client) PostInstanceStart

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

PostInstanceStart Start an inference instance

Corresponds with POST /instances/{instanceID}/start (the `PostInstanceStart` operationId).

func (*Client) PostInstanceStop

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

PostInstanceStop Stop an inference instance

Corresponds with POST /instances/{instanceID}/stop (the `PostInstanceStop` operationId).

func (*Client) PostInstances

func (c *Client) PostInstances(ctx context.Context, params *PostInstancesParams, body PostInstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostInstances Create an inference instance

Takes a body of the `application/json` content type.

Corresponds with POST /instances (the `PostInstances` operationId).

func (*Client) PostInstancesWithBody

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

PostInstancesWithBody Create an inference instance

Takes any type of body and a specified content type.

Corresponds with POST /instances (the `PostInstances` operationId).

func (*Client) PostInvitationsAccept

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

PostInvitationsAccept Accept an invitation

Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.

Takes a body of the `application/json` content type.

Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).

func (*Client) PostInvitationsAcceptWithBody

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

PostInvitationsAcceptWithBody Accept an invitation

Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.

Takes any type of body and a specified content type.

Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).

func (*Client) PostReplicaSetScale

func (c *Client) PostReplicaSetScale(ctx context.Context, replicaSetID string, body PostReplicaSetScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostReplicaSetScale Scale a replica set

Takes a body of the `application/json` content type.

Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).

func (*Client) PostReplicaSetScaleWithBody

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

PostReplicaSetScaleWithBody Scale a replica set

Takes any type of body and a specified content type.

Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).

func (*Client) PostRuntimeNotifyCrash

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

PostRuntimeNotifyCrash Report a runtime pod crash

Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).

Takes a body of the `application/json` content type.

Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).

func (*Client) PostRuntimeNotifyCrashWithBody

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

PostRuntimeNotifyCrashWithBody Report a runtime pod crash

Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).

Takes any type of body and a specified content type.

Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).

func (*Client) PostServingEndpoint

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

PostServingEndpoint Create a serving endpoint

Takes a body of the `application/json` content type.

Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).

func (*Client) PostServingEndpointWithBody

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

PostServingEndpointWithBody Create a serving endpoint

Takes any type of body and a specified content type.

Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).

func (*Client) PostSmartBalancer

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

PostSmartBalancer Create a smart balancer

Takes a body of the `application/json` content type.

Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).

func (*Client) PostSmartBalancerWithBody

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

PostSmartBalancerWithBody Create a smart balancer

Takes any type of body and a specified content type.

Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).

func (*Client) PostStorageVolumes

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

PostStorageVolumes Create a storage volume

Creates a persistent storage volume for model checkpoints and caches.

Takes a body of the `application/json` content type.

Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).

func (*Client) PostStorageVolumesWithBody

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

PostStorageVolumesWithBody Create a storage volume

Creates a persistent storage volume for model checkpoints and caches.

Takes any type of body and a specified content type.

Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).

func (*Client) PostTargetGroup

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

PostTargetGroup Create a target group

Takes a body of the `application/json` content type.

Corresponds with POST /target-groups (the `PostTargetGroup` operationId).

func (*Client) PostTargetGroupWithBody

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

PostTargetGroupWithBody Create a target group

Takes any type of body and a specified content type.

Corresponds with POST /target-groups (the `PostTargetGroup` operationId).

func (*Client) PostUserAPIKeys added in v1.0.3

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

PostUserAPIKeys Create an API key for the authenticated user

Issues a new API key for the authenticated user identity and returns the plaintext key once.

Corresponds with POST /users/me/api-keys (the `PostUserAPIKeys` operationId).

func (*Client) PostUserAPIKeysKeyIDRevoke added in v1.0.3

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

PostUserAPIKeysKeyIDRevoke Revoke a user API key

Revokes an API key issued for the authenticated user identity.

Corresponds with POST /users/me/api-keys/{keyID}/revoke (the `PostUserAPIKeysKeyIDRevoke` operationId).

func (*Client) PostV1AudioSpeech

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

PostV1AudioSpeech OpenAI-compatible audio speech (TTS)

Generates audio from text. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).

func (*Client) PostV1AudioSpeechWithBody

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

PostV1AudioSpeechWithBody OpenAI-compatible audio speech (TTS)

Generates audio from text. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type.

Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).

func (*Client) PostV1AudioTranscriptionsWithBody

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

PostV1AudioTranscriptionsWithBody OpenAI-compatible audio transcription (STT)

Transcribes an uploaded audio file. Accepts Bearer access tokens or API keys. Handles POST /v1/audio/transcriptions (multipart/form-data).

Takes any type of body and a specified content type.

Corresponds with POST /v1/audio/transcriptions (the `PostV1AudioTranscriptions` operationId).

func (*Client) PostV1ChatCompletions

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

PostV1ChatCompletions OpenAI-compatible chat completions

Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).

func (*Client) PostV1ChatCompletionsWithBody

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

PostV1ChatCompletionsWithBody OpenAI-compatible chat completions

Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes any type of body and a specified content type.

Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).

func (*Client) PostV1Embeddings

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

PostV1Embeddings OpenAI-compatible embeddings

Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).

func (*Client) PostV1EmbeddingsWithBody

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

PostV1EmbeddingsWithBody OpenAI-compatible embeddings

Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type.

Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).

func (*Client) PostV1ImageEditsWithBody

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

PostV1ImageEditsWithBody OpenAI-compatible image edits

Edits an uploaded image using a prompt and optional mask. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type.

Corresponds with POST /v1/images/edits (the `PostV1ImageEdits` operationId).

func (*Client) PostV1ImageGenerations

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

PostV1ImageGenerations OpenAI-compatible image generations

Generates images from a prompt. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).

func (*Client) PostV1ImageGenerationsWithBody

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

PostV1ImageGenerationsWithBody OpenAI-compatible image generations

Generates images from a prompt. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type.

Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).

func (*Client) PostV1Responses

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

PostV1Responses OpenAI-compatible Responses API

Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/responses (the `PostV1Responses` operationId).

func (*Client) PostV1ResponsesCompact

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

PostV1ResponsesCompact Compact a Responses conversation

Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).

func (*Client) PostV1ResponsesCompactWithBody

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

PostV1ResponsesCompactWithBody Compact a Responses conversation

Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type.

Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).

func (*Client) PostV1ResponsesWithBody

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

PostV1ResponsesWithBody OpenAI-compatible Responses API

Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes any type of body and a specified content type.

Corresponds with POST /v1/responses (the `PostV1Responses` operationId).

func (*Client) PostVectorDatabaseIndexDirect

func (c *Client) PostVectorDatabaseIndexDirect(ctx context.Context, databaseID string, body PostVectorDatabaseIndexDirectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostVectorDatabaseIndexDirect Index documents directly

Indexes documents into a vector database synchronously.

Takes a body of the `application/json` content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).

func (*Client) PostVectorDatabaseIndexDirectWithBody

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

PostVectorDatabaseIndexDirectWithBody Index documents directly

Indexes documents into a vector database synchronously.

Takes any type of body and a specified content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).

func (*Client) PostVectorDatabaseIndexJobs

func (c *Client) PostVectorDatabaseIndexJobs(ctx context.Context, databaseID string, body PostVectorDatabaseIndexJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostVectorDatabaseIndexJobs Enqueue an index job

Enqueues documents for asynchronous indexing into a vector database.

Takes a body of the `application/json` content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).

func (*Client) PostVectorDatabaseIndexJobsWithBody

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

PostVectorDatabaseIndexJobsWithBody Enqueue an index job

Enqueues documents for asynchronous indexing into a vector database.

Takes any type of body and a specified content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).

func (*Client) PostVectorDatabaseRecommend

func (c *Client) PostVectorDatabaseRecommend(ctx context.Context, databaseID string, body PostVectorDatabaseRecommendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostVectorDatabaseRecommend Recommend documents

Returns recommended documents for a recommend token.

Takes a body of the `application/json` content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).

func (*Client) PostVectorDatabaseRecommendWithBody

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

PostVectorDatabaseRecommendWithBody Recommend documents

Returns recommended documents for a recommend token.

Takes any type of body and a specified content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).

func (*Client) PostVectorDatabaseSearch

func (c *Client) PostVectorDatabaseSearch(ctx context.Context, databaseID string, body PostVectorDatabaseSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostVectorDatabaseSearch Search a vector database

Searches a vector database by query text and/or image URL.

Takes a body of the `application/json` content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).

func (*Client) PostVectorDatabaseSearchWithBody

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

PostVectorDatabaseSearchWithBody Search a vector database

Searches a vector database by query text and/or image URL.

Takes any type of body and a specified content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).

func (*Client) PostVectorDatabaseViewElement

func (c *Client) PostVectorDatabaseViewElement(ctx context.Context, databaseID string, body PostVectorDatabaseViewElementJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostVectorDatabaseViewElement View an element

Records a view for a document and returns a recommend token.

Takes a body of the `application/json` content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).

func (*Client) PostVectorDatabaseViewElementWithBody

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

PostVectorDatabaseViewElementWithBody View an element

Records a view for a document and returns a recommend token.

Takes any type of body and a specified content type.

Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).

func (*Client) PostVectorDatabases

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

PostVectorDatabases Create a vector database

Creates a new vector database for the authenticated account.

Takes a body of the `application/json` content type.

Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).

func (*Client) PostVectorDatabasesWithBody

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

PostVectorDatabasesWithBody Create a vector database

Creates a new vector database for the authenticated account.

Takes any type of body and a specified content type.

Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).

type ClientInterface

type ClientInterface interface {

	// GetAccounts List user accounts
	//
	// Returns the accounts and memberships visible to the authenticated user.
	//
	// Corresponds with GET /accounts (the `GetAccounts` operationId).
	GetAccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccountsWithBody Create an account
	//
	// Creates a new account owned by the authenticated user.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /accounts (the `PostAccounts` operationId).
	PostAccountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccounts Create an account
	//
	// Creates a new account owned by the authenticated user.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /accounts (the `PostAccounts` operationId).
	PostAccounts(ctx context.Context, body PostAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAccountsCurrent Delete the selected account
	//
	// Deletes the active account context.
	//
	// Corresponds with DELETE /accounts/current (the `DeleteAccountsCurrent` operationId).
	DeleteAccountsCurrent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAccountsCurrent Get the selected account
	//
	// Returns the account resolved from the active account context.
	//
	// Corresponds with GET /accounts/current (the `GetAccountsCurrent` operationId).
	GetAccountsCurrent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAccountsCurrentWithBody Update the selected account
	//
	// Updates editable metadata for the active account context.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).
	PatchAccountsCurrentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAccountsCurrent Update the selected account
	//
	// Updates editable metadata for the active account context.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).
	PatchAccountsCurrent(ctx context.Context, body PatchAccountsCurrentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAccountsCurrentFiscalProfileWithBody Update the current account fiscal profile
	//
	// Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).
	PatchAccountsCurrentFiscalProfileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAccountsCurrentFiscalProfile Update the current account fiscal profile
	//
	// Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).
	PatchAccountsCurrentFiscalProfile(ctx context.Context, body PatchAccountsCurrentFiscalProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccountsCurrentInvitationsWithBody Create an invitation for the selected account
	//
	// Invites a user by email to join the active account context with a given role.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).
	PostAccountsCurrentInvitationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccountsCurrentInvitations Create an invitation for the selected account
	//
	// Invites a user by email to join the active account context with a given role.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).
	PostAccountsCurrentInvitations(ctx context.Context, body PostAccountsCurrentInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAccountsCurrentInvitationsByInvitationID Cancel an invitation for the selected account
	//
	// Cancels a pending invitation issued by the active account context.
	//
	// Corresponds with DELETE /accounts/current/invitations/{invitationID} (the `DeleteAccountsCurrentInvitationsByInvitationID` operationId).
	DeleteAccountsCurrentInvitationsByInvitationID(ctx context.Context, invitationID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAccountsCurrentMembers List selected account members
	//
	// Returns the members and roles for the active account context.
	//
	// Corresponds with GET /accounts/current/members (the `GetAccountsCurrentMembers` operationId).
	GetAccountsCurrentMembers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccountsCurrentMembersWithBody Add a member to the selected account
	//
	// Adds a registered user to the active account context or updates their role if they already belong to it.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).
	PostAccountsCurrentMembersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAccountsCurrentMembers Add a member to the selected account
	//
	// Adds a registered user to the active account context or updates their role if they already belong to it.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).
	PostAccountsCurrentMembers(ctx context.Context, body PostAccountsCurrentMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAccountsCurrentMembersByUserIDWithBody Update a selected account member role
	//
	// Updates the role of an existing user within the active account context.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).
	PatchAccountsCurrentMembersByUserIDWithBody(ctx context.Context, userID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAccountsCurrentMembersByUserID Update a selected account member role
	//
	// Updates the role of an existing user within the active account context.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).
	PatchAccountsCurrentMembersByUserID(ctx context.Context, userID string, body PatchAccountsCurrentMembersByUserIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiKeys List API keys for the selected account
	//
	// Returns the API keys issued for the active account context.
	//
	// Corresponds with GET /api-keys (the `GetApiKeys` operationId).
	GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiKeys Create an API key for the selected account
	//
	// Issues a new API key for the active account context and returns the plaintext key once.
	//
	// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
	PostApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiKeysKeyIDRevoke Revoke an API key
	//
	// Revokes an API key issued for the active account context.
	//
	// Corresponds with POST /api-keys/{keyID}/revoke (the `PostApiKeysKeyIDRevoke` operationId).
	PostApiKeysKeyIDRevoke(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthForgotPasswordWithBody Request a password reset email
	//
	// Always returns 200 with a generic message to avoid user enumeration.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).
	PostAuthForgotPasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthForgotPassword Request a password reset email
	//
	// Always returns 200 with a generic message to avoid user enumeration.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).
	PostAuthForgotPassword(ctx context.Context, body PostAuthForgotPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthLoginWithBody Authenticate a user
	//
	// Exchanges email and password credentials for access and refresh tokens.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/login (the `PostAuthLogin` operationId).
	PostAuthLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthLogin Authenticate a user
	//
	// Exchanges email and password credentials for access and refresh tokens.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/login (the `PostAuthLogin` operationId).
	PostAuthLogin(ctx context.Context, body PostAuthLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAuthMe Return the current authenticated user
	//
	// Resolves the user attached to the bearer token.
	//
	// Corresponds with GET /auth/me (the `GetAuthMe` operationId).
	GetAuthMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAuthPasskeys List passkeys
	//
	// Returns the current user's passkey credentials.
	//
	// Corresponds with GET /auth/passkeys (the `GetAuthPasskeys` operationId).
	GetAuthPasskeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysWithBody Register a passkey
	//
	// Stores a passkey credential for the authenticated user.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).
	PostAuthPasskeysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeys Register a passkey
	//
	// Stores a passkey credential for the authenticated user.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).
	PostAuthPasskeys(ctx context.Context, body PostAuthPasskeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysBeginLoginWithBody Begin passkey login
	//
	// Creates a passkey login challenge for the provided email.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).
	PostAuthPasskeysBeginLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysBeginLogin Begin passkey login
	//
	// Creates a passkey login challenge for the provided email.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).
	PostAuthPasskeysBeginLogin(ctx context.Context, body PostAuthPasskeysBeginLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysBeginRegistration Begin passkey registration
	//
	// Creates a passkey registration challenge for the authenticated user.
	//
	// Corresponds with POST /auth/passkeys/begin-registration (the `PostAuthPasskeysBeginRegistration` operationId).
	PostAuthPasskeysBeginRegistration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysFinishLoginWithBody Finish passkey login
	//
	// Consumes a passkey login challenge and returns a session.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).
	PostAuthPasskeysFinishLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysFinishLogin Finish passkey login
	//
	// Consumes a passkey login challenge and returns a session.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).
	PostAuthPasskeysFinishLogin(ctx context.Context, body PostAuthPasskeysFinishLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysFinishRegistrationWithBody Finish passkey registration
	//
	// Consumes a passkey registration challenge and stores the credential.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).
	PostAuthPasskeysFinishRegistrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthPasskeysFinishRegistration Finish passkey registration
	//
	// Consumes a passkey registration challenge and stores the credential.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).
	PostAuthPasskeysFinishRegistration(ctx context.Context, body PostAuthPasskeysFinishRegistrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAuthPasskeys Remove a passkey
	//
	// Deletes a passkey credential from the authenticated user.
	//
	// Corresponds with DELETE /auth/passkeys/{credentialID} (the `DeleteAuthPasskeys` operationId).
	DeleteAuthPasskeys(ctx context.Context, credentialID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAuthPasswordWithBody Change the current user's password
	//
	// Requires the authenticated user to provide the current password and a new password.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).
	PatchAuthPasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAuthPassword Change the current user's password
	//
	// Requires the authenticated user to provide the current password and a new password.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).
	PatchAuthPassword(ctx context.Context, body PatchAuthPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAuthPreferences Get the current user's security preferences
	//
	// Returns the per-user security toggles for the authenticated user.
	//
	// Corresponds with GET /auth/preferences (the `GetAuthPreferences` operationId).
	GetAuthPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAuthPreferencesWithBody Update the current user's security preferences
	//
	// Partial update of the per-user security toggles. Only fields present in the body are applied.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).
	PatchAuthPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchAuthPreferences Update the current user's security preferences
	//
	// Partial update of the per-user security toggles. Only fields present in the body are applied.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).
	PatchAuthPreferences(ctx context.Context, body PatchAuthPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthRefreshWithBody Refresh an access token
	//
	// Exchanges a refresh token for a new access token.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).
	PostAuthRefreshWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthRefresh Refresh an access token
	//
	// Exchanges a refresh token for a new access token.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).
	PostAuthRefresh(ctx context.Context, body PostAuthRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthRegisterWithBody Register a new user
	//
	// Creates a new account using email and password credentials.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/register (the `PostAuthRegister` operationId).
	PostAuthRegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthRegister Register a new user
	//
	// Creates a new account using email and password credentials.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/register (the `PostAuthRegister` operationId).
	PostAuthRegister(ctx context.Context, body PostAuthRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthResetPasswordWithBody Reset a password using a one-time token
	//
	// Consumes the reset token, updates the password, and returns a fresh session.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).
	PostAuthResetPasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthResetPassword Reset a password using a one-time token
	//
	// Consumes the reset token, updates the password, and returns a fresh session.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).
	PostAuthResetPassword(ctx context.Context, body PostAuthResetPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAuthTotp Disable TOTP
	//
	// Removes the current user's TOTP credential.
	//
	// Corresponds with DELETE /auth/totp (the `DeleteAuthTotp` operationId).
	DeleteAuthTotp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthTotpBegin Start TOTP enrollment
	//
	// Returns a new TOTP secret and otpauth URI for the authenticated user.
	//
	// Corresponds with POST /auth/totp/begin (the `PostAuthTotpBegin` operationId).
	PostAuthTotpBegin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthTotpConfirmWithBody Confirm TOTP enrollment
	//
	// Stores a TOTP secret for the authenticated user after verifying the code.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).
	PostAuthTotpConfirmWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthTotpConfirm Confirm TOTP enrollment
	//
	// Stores a TOTP secret for the authenticated user after verifying the code.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).
	PostAuthTotpConfirm(ctx context.Context, body PostAuthTotpConfirmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAuthVerifyEmail Verify an email activation link
	//
	// Consumes the activation token and returns a session.
	//
	// Corresponds with GET /auth/verify-email (the `GetAuthVerifyEmail` operationId).
	GetAuthVerifyEmail(ctx context.Context, params *GetAuthVerifyEmailParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBillingBalance Get the current account balance
	//
	// Returns the billing balance of the authenticated account.
	//
	// Corresponds with GET /billing/balance (the `GetBillingBalance` operationId).
	GetBillingBalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingCheckoutWithBody Create a checkout session
	//
	// Creates a billing checkout session for the authenticated account.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).
	PostBillingCheckoutWithBody(ctx context.Context, params *PostBillingCheckoutParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingCheckout Create a checkout session
	//
	// Creates a billing checkout session for the authenticated account.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).
	PostBillingCheckout(ctx context.Context, params *PostBillingCheckoutParams, body PostBillingCheckoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingDebitWithBody Debit the current account balance
	//
	// Debits a positive amount from the authenticated account.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).
	PostBillingDebitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingDebit Debit the current account balance
	//
	// Debits a positive amount from the authenticated account.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).
	PostBillingDebit(ctx context.Context, body PostBillingDebitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBillingLedger List ledger entries
	//
	// Returns ledger movements for the authenticated account.
	//
	// Corresponds with GET /billing/ledger (the `GetBillingLedger` operationId).
	GetBillingLedger(ctx context.Context, params *GetBillingLedgerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBillingPayments List payments for the authenticated account
	//
	// Returns the payment history for the active account context.
	//
	// Corresponds with GET /billing/payments (the `GetBillingPayments` operationId).
	GetBillingPayments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBillingPaymentsPaymentIDInvoicePDF Download a payment invoice PDF
	//
	// Returns the invoice PDF for a given payment of the active account context.
	//
	// Corresponds with GET /billing/payments/{paymentID}/invoice.pdf (the `GetBillingPaymentsPaymentIDInvoicePDF` operationId).
	GetBillingPaymentsPaymentIDInvoicePDF(ctx context.Context, paymentID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingQuoteWithBody Quote a checkout total
	//
	// Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).
	PostBillingQuoteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostBillingQuote Quote a checkout total
	//
	// Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).
	PostBillingQuote(ctx context.Context, body PostBillingQuoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFirewallRules List firewall rules
	//
	// Returns all firewall rules for the authenticated account.
	//
	// Corresponds with GET /firewall-rules (the `GetFirewallRules` operationId).
	GetFirewallRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewallRuleWithBody Create a firewall rule
	//
	// Creates a new firewall rule for the authenticated account.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).
	PostFirewallRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewallRule Create a firewall rule
	//
	// Creates a new firewall rule for the authenticated account.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).
	PostFirewallRule(ctx context.Context, body PostFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFirewallRule Delete a firewall rule
	//
	// Removes a firewall rule by slug.
	//
	// Corresponds with DELETE /firewall-rules/{ruleSlug} (the `DeleteFirewallRule` operationId).
	DeleteFirewallRule(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFirewallRule Get a firewall rule
	//
	// Returns a single firewall rule by slug.
	//
	// Corresponds with GET /firewall-rules/{ruleSlug} (the `GetFirewallRule` operationId).
	GetFirewallRule(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchFirewallRuleWithBody Update a firewall rule
	//
	// Partially updates a firewall rule by slug.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).
	PatchFirewallRuleWithBody(ctx context.Context, ruleSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchFirewallRule Update a firewall rule
	//
	// Partially updates a firewall rule by slug.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).
	PatchFirewallRule(ctx context.Context, ruleSlug string, body PatchFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewallRuleEvaluateWithBody Evaluate a firewall rule
	//
	// Runs input against a single firewall rule and returns the evaluation result.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).
	PostFirewallRuleEvaluateWithBody(ctx context.Context, ruleSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewallRuleEvaluate Evaluate a firewall rule
	//
	// Runs input against a single firewall rule and returns the evaluation result.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).
	PostFirewallRuleEvaluate(ctx context.Context, ruleSlug string, body PostFirewallRuleEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFirewalls List firewalls
	//
	// Returns all firewalls for the authenticated account.
	//
	// Corresponds with GET /firewalls (the `GetFirewalls` operationId).
	GetFirewalls(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewallWithBody Create a firewall
	//
	// Creates a new firewall for the authenticated account.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /firewalls (the `PostFirewall` operationId).
	PostFirewallWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewall Create a firewall
	//
	// Creates a new firewall for the authenticated account.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /firewalls (the `PostFirewall` operationId).
	PostFirewall(ctx context.Context, body PostFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFirewall Delete a firewall
	//
	// Removes a firewall by slug.
	//
	// Corresponds with DELETE /firewalls/{firewallSlug} (the `DeleteFirewall` operationId).
	DeleteFirewall(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFirewall Get a firewall
	//
	// Returns a single firewall by slug.
	//
	// Corresponds with GET /firewalls/{firewallSlug} (the `GetFirewall` operationId).
	GetFirewall(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchFirewallWithBody Update a firewall
	//
	// Partially updates a firewall by slug.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).
	PatchFirewallWithBody(ctx context.Context, firewallSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchFirewall Update a firewall
	//
	// Partially updates a firewall by slug.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).
	PatchFirewall(ctx context.Context, firewallSlug string, body PatchFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewallEvaluateWithBody Evaluate a firewall
	//
	// Runs input against a firewall and returns the evaluation result.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).
	PostFirewallEvaluateWithBody(ctx context.Context, firewallSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFirewallEvaluate Evaluate a firewall
	//
	// Runs input against a firewall and returns the evaluation result.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).
	PostFirewallEvaluate(ctx context.Context, firewallSlug string, body PostFirewallEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVectorDatabases List vector databases
	//
	// Returns the vector databases owned by the authenticated account.
	//
	// Corresponds with GET /flexible-vector-databases (the `GetVectorDatabases` operationId).
	GetVectorDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabasesWithBody Create a vector database
	//
	// Creates a new vector database for the authenticated account.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).
	PostVectorDatabasesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabases Create a vector database
	//
	// Creates a new vector database for the authenticated account.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).
	PostVectorDatabases(ctx context.Context, body PostVectorDatabasesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVectorDatabase Delete a vector database
	//
	// Removes a vector database owned by the authenticated account.
	//
	// Corresponds with DELETE /flexible-vector-databases/{databaseID} (the `DeleteVectorDatabase` operationId).
	DeleteVectorDatabase(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVectorDatabase Get a vector database
	//
	// Returns a single vector database owned by the authenticated account.
	//
	// Corresponds with GET /flexible-vector-databases/{databaseID} (the `GetVectorDatabase` operationId).
	GetVectorDatabase(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchVectorDatabaseWithBody Update a vector database
	//
	// Updates the slug, name, or description of an existing vector database.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).
	PatchVectorDatabaseWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchVectorDatabase Update a vector database
	//
	// Updates the slug, name, or description of an existing vector database.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).
	PatchVectorDatabase(ctx context.Context, databaseID string, body PatchVectorDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVectorDatabaseDocuments List documents in a vector database
	//
	// Returns documents stored in a vector database with optional pagination.
	//
	// Corresponds with GET /flexible-vector-databases/{databaseID}/documents (the `GetVectorDatabaseDocuments` operationId).
	GetVectorDatabaseDocuments(ctx context.Context, databaseID string, params *GetVectorDatabaseDocumentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseIndexDirectWithBody Index documents directly
	//
	// Indexes documents into a vector database synchronously.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).
	PostVectorDatabaseIndexDirectWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseIndexDirect Index documents directly
	//
	// Indexes documents into a vector database synchronously.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).
	PostVectorDatabaseIndexDirect(ctx context.Context, databaseID string, body PostVectorDatabaseIndexDirectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseIndexJobsWithBody Enqueue an index job
	//
	// Enqueues documents for asynchronous indexing into a vector database.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).
	PostVectorDatabaseIndexJobsWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseIndexJobs Enqueue an index job
	//
	// Enqueues documents for asynchronous indexing into a vector database.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).
	PostVectorDatabaseIndexJobs(ctx context.Context, databaseID string, body PostVectorDatabaseIndexJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVectorDatabaseIndexJob Get an index job
	//
	// Returns the status of an asynchronous index job.
	//
	// Corresponds with GET /flexible-vector-databases/{databaseID}/index-jobs/{jobID} (the `GetVectorDatabaseIndexJob` operationId).
	GetVectorDatabaseIndexJob(ctx context.Context, databaseID string, jobID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseRecommendWithBody Recommend documents
	//
	// Returns recommended documents for a recommend token.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).
	PostVectorDatabaseRecommendWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseRecommend Recommend documents
	//
	// Returns recommended documents for a recommend token.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).
	PostVectorDatabaseRecommend(ctx context.Context, databaseID string, body PostVectorDatabaseRecommendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseSearchWithBody Search a vector database
	//
	// Searches a vector database by query text and/or image URL.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).
	PostVectorDatabaseSearchWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseSearch Search a vector database
	//
	// Searches a vector database by query text and/or image URL.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).
	PostVectorDatabaseSearch(ctx context.Context, databaseID string, body PostVectorDatabaseSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseViewElementWithBody View an element
	//
	// Records a view for a document and returns a recommend token.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).
	PostVectorDatabaseViewElementWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVectorDatabaseViewElement View an element
	//
	// Records a view for a document and returns a recommend token.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).
	PostVectorDatabaseViewElement(ctx context.Context, databaseID string, body PostVectorDatabaseViewElementJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHealth Health check
	//
	// Returns service health.
	//
	// Corresponds with GET /health (the `GetHealth` operationId).
	GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHuggingfaceEmbeddings Search embedding models
	//
	// Searches Hugging Face for embedding models.
	//
	// Corresponds with GET /huggingface/embeddings (the `GetHuggingfaceEmbeddings` operationId).
	GetHuggingfaceEmbeddings(ctx context.Context, params *GetHuggingfaceEmbeddingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHuggingfaceFiles Get Hugging Face file sizes
	//
	// Returns GGUF file sizes and quantization for a Hugging Face repository.
	//
	// Corresponds with GET /huggingface/files (the `GetHuggingfaceFiles` operationId).
	GetHuggingfaceFiles(ctx context.Context, params *GetHuggingfaceFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHuggingfaceModels Search Hugging Face models
	//
	// Searches Hugging Face for compatible models matching the query.
	//
	// Corresponds with GET /huggingface/models (the `GetHuggingfaceModels` operationId).
	GetHuggingfaceModels(ctx context.Context, params *GetHuggingfaceModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHuggingfaceOrgs Get Hugging Face organization info
	//
	// Returns profile information for a Hugging Face organization.
	//
	// Corresponds with GET /huggingface/orgs/{org} (the `GetHuggingfaceOrgs` operationId).
	GetHuggingfaceOrgs(ctx context.Context, org string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHuggingfaceSearchTag Search Hugging Face models by tag
	//
	// Searches Hugging Face for models matching a query and pipeline tag.
	//
	// Corresponds with GET /huggingface/search-tag (the `GetHuggingfaceSearchTag` operationId).
	GetHuggingfaceSearchTag(ctx context.Context, params *GetHuggingfaceSearchTagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHuggingfaceTrending Trending Hugging Face models
	//
	// Returns trending Hugging Face models.
	//
	// Corresponds with GET /huggingface/trending (the `GetHuggingfaceTrending` operationId).
	GetHuggingfaceTrending(ctx context.Context, params *GetHuggingfaceTrendingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstanceConfigGpus List available GPUs
	//
	// Returns the GPU catalog with pricing, regions, and availability for the authenticated account.
	//
	// Corresponds with GET /instance-config/gpus (the `GetInstanceConfigGpus` operationId).
	GetInstanceConfigGpus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstances List inference instances
	//
	// Corresponds with GET /instances (the `GetInstances` operationId).
	GetInstances(ctx context.Context, params *GetInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstancesWithBody Create an inference instance
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /instances (the `PostInstances` operationId).
	PostInstancesWithBody(ctx context.Context, params *PostInstancesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstances Create an inference instance
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /instances (the `PostInstances` operationId).
	PostInstances(ctx context.Context, params *PostInstancesParams, body PostInstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInstance Delete an inference instance
	//
	// Corresponds with DELETE /instances/{instanceID} (the `DeleteInstance` operationId).
	DeleteInstance(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstanceByID Get an inference instance
	//
	// Corresponds with GET /instances/{instanceID} (the `GetInstanceByID` operationId).
	GetInstanceByID(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchInstanceWithBody Update an inference instance
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).
	PatchInstanceWithBody(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchInstance Update an inference instance
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).
	PatchInstance(ctx context.Context, instanceID string, body PatchInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstancePreviewUpdateWithBody Preview smart selection for an existing instance update
	//
	// Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).
	PostInstancePreviewUpdateWithBody(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstancePreviewUpdate Preview smart selection for an existing instance update
	//
	// Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).
	PostInstancePreviewUpdate(ctx context.Context, instanceID string, body PostInstancePreviewUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstanceScheduleRules List schedule rules for an instance
	//
	// Corresponds with GET /instances/{instanceID}/schedule-rules (the `GetInstanceScheduleRules` operationId).
	GetInstanceScheduleRules(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstanceScheduleRuleWithBody Create a schedule rule for an instance
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).
	PostInstanceScheduleRuleWithBody(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstanceScheduleRule Create a schedule rule for an instance
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).
	PostInstanceScheduleRule(ctx context.Context, instanceID string, body PostInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInstanceScheduleRule Delete a schedule rule for an instance
	//
	// Corresponds with DELETE /instances/{instanceID}/schedule-rules/{ruleID} (the `DeleteInstanceScheduleRule` operationId).
	DeleteInstanceScheduleRule(ctx context.Context, instanceID string, ruleID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchInstanceScheduleRuleWithBody Update a schedule rule for an instance
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).
	PatchInstanceScheduleRuleWithBody(ctx context.Context, instanceID string, ruleID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchInstanceScheduleRule Update a schedule rule for an instance
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).
	PatchInstanceScheduleRule(ctx context.Context, instanceID string, ruleID string, body PatchInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstanceStart Start an inference instance
	//
	// Corresponds with POST /instances/{instanceID}/start (the `PostInstanceStart` operationId).
	PostInstanceStart(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInstanceStop Stop an inference instance
	//
	// Corresponds with POST /instances/{instanceID}/stop (the `PostInstanceStop` operationId).
	PostInstanceStop(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstanceUsage Get an inference instance usage and cost breakdown
	//
	// Corresponds with GET /instances/{instanceID}/usage (the `GetInstanceUsage` operationId).
	GetInstanceUsage(ctx context.Context, instanceID string, params *GetInstanceUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvitations List pending invitations for the authenticated user
	//
	// Returns invitations pending acceptance that were sent to the authenticated user's email.
	//
	// Corresponds with GET /invitations (the `GetInvitations` operationId).
	GetInvitations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvitationsAcceptWithBody Accept an invitation
	//
	// Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).
	PostInvitationsAcceptWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostInvitationsAccept Accept an invitation
	//
	// Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).
	PostInvitationsAccept(ctx context.Context, body PostInvitationsAcceptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModelsFixed List fixed models
	//
	// Returns the catalog of fixed (curated) models supported by the platform.
	//
	// Corresponds with GET /models/fixed (the `GetModelsFixed` operationId).
	GetModelsFixed(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReplicaSets List replica sets
	//
	// Corresponds with GET /replica-sets (the `GetReplicaSets` operationId).
	GetReplicaSets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReplicaSet Delete a replica set
	//
	// Corresponds with DELETE /replica-sets/{replicaSetID} (the `DeleteReplicaSet` operationId).
	DeleteReplicaSet(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReplicaSet Get a replica set
	//
	// Corresponds with GET /replica-sets/{replicaSetID} (the `GetReplicaSet` operationId).
	GetReplicaSet(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchReplicaSetWithBody Update a replica set
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).
	PatchReplicaSetWithBody(ctx context.Context, replicaSetID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchReplicaSet Update a replica set
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).
	PatchReplicaSet(ctx context.Context, replicaSetID string, body PatchReplicaSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostReplicaSetScaleWithBody Scale a replica set
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).
	PostReplicaSetScaleWithBody(ctx context.Context, replicaSetID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostReplicaSetScale Scale a replica set
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).
	PostReplicaSetScale(ctx context.Context, replicaSetID string, body PostReplicaSetScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostRuntimeNotifyCrashWithBody Report a runtime pod crash
	//
	// Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).
	PostRuntimeNotifyCrashWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostRuntimeNotifyCrash Report a runtime pod crash
	//
	// Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).
	PostRuntimeNotifyCrash(ctx context.Context, body PostRuntimeNotifyCrashJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetServingEndpoints List serving endpoints
	//
	// Corresponds with GET /serving-endpoints (the `GetServingEndpoints` operationId).
	GetServingEndpoints(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostServingEndpointWithBody Create a serving endpoint
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).
	PostServingEndpointWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostServingEndpoint Create a serving endpoint
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).
	PostServingEndpoint(ctx context.Context, body PostServingEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSmartBalancers List smart balancers
	//
	// Corresponds with GET /smart-balancers (the `GetSmartBalancers` operationId).
	GetSmartBalancers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSmartBalancerWithBody Create a smart balancer
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).
	PostSmartBalancerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSmartBalancer Create a smart balancer
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).
	PostSmartBalancer(ctx context.Context, body PostSmartBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSmartBalancer Delete a smart balancer
	//
	// Corresponds with DELETE /smart-balancers/{smartBalancerID} (the `DeleteSmartBalancer` operationId).
	DeleteSmartBalancer(ctx context.Context, smartBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchSmartBalancerWithBody Update a smart balancer
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).
	PatchSmartBalancerWithBody(ctx context.Context, smartBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchSmartBalancer Update a smart balancer
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).
	PatchSmartBalancer(ctx context.Context, smartBalancerID string, body PatchSmartBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStorageVolumes List storage volumes
	//
	// Lists all persistent storage volumes owned by the authenticated account.
	//
	// Corresponds with GET /storage/volumes (the `GetStorageVolumes` operationId).
	GetStorageVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostStorageVolumesWithBody Create a storage volume
	//
	// Creates a persistent storage volume for model checkpoints and caches.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).
	PostStorageVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostStorageVolumes Create a storage volume
	//
	// Creates a persistent storage volume for model checkpoints and caches.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).
	PostStorageVolumes(ctx context.Context, body PostStorageVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStorageVolume Delete a storage volume
	//
	// Deletes a persistent storage volume and its contents.
	//
	// Corresponds with DELETE /storage/volumes/{volumeID} (the `DeleteStorageVolume` operationId).
	DeleteStorageVolume(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStorageVolume Get a storage volume
	//
	// Returns details for a specific persistent storage volume.
	//
	// Corresponds with GET /storage/volumes/{volumeID} (the `GetStorageVolume` operationId).
	GetStorageVolume(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSystemTools List system tools
	//
	// Lists available system tools (code interpreter, web search, etc.) for the authenticated account.
	//
	// Corresponds with GET /system-tools (the `GetSystemTools` operationId).
	GetSystemTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTargetGroups List target groups
	//
	// Corresponds with GET /target-groups (the `GetTargetGroups` operationId).
	GetTargetGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTargetGroupWithBody Create a target group
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /target-groups (the `PostTargetGroup` operationId).
	PostTargetGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTargetGroup Create a target group
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /target-groups (the `PostTargetGroup` operationId).
	PostTargetGroup(ctx context.Context, body PostTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTargetGroup Delete a target group
	//
	// Corresponds with DELETE /target-groups/{targetGroupID} (the `DeleteTargetGroup` operationId).
	DeleteTargetGroup(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTargetGroup Get a target group
	//
	// Corresponds with GET /target-groups/{targetGroupID} (the `GetTargetGroup` operationId).
	GetTargetGroup(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTargetGroupWithBody Update a target group
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).
	PatchTargetGroupWithBody(ctx context.Context, targetGroupID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTargetGroup Update a target group
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).
	PatchTargetGroup(ctx context.Context, targetGroupID string, body PatchTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserAPIKeys List API keys for the authenticated user
	//
	// Returns the API keys issued for the authenticated user identity.
	//
	// Corresponds with GET /users/me/api-keys (the `GetUserAPIKeys` operationId).
	GetUserAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUserAPIKeys Create an API key for the authenticated user
	//
	// Issues a new API key for the authenticated user identity and returns the plaintext key once.
	//
	// Corresponds with POST /users/me/api-keys (the `PostUserAPIKeys` operationId).
	PostUserAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUserAPIKeysKeyIDRevoke Revoke a user API key
	//
	// Revokes an API key issued for the authenticated user identity.
	//
	// Corresponds with POST /users/me/api-keys/{keyID}/revoke (the `PostUserAPIKeysKeyIDRevoke` operationId).
	PostUserAPIKeysKeyIDRevoke(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1AudioSpeechWithBody OpenAI-compatible audio speech (TTS)
	//
	// Generates audio from text. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).
	PostV1AudioSpeechWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1AudioSpeech OpenAI-compatible audio speech (TTS)
	//
	// Generates audio from text. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).
	PostV1AudioSpeech(ctx context.Context, body PostV1AudioSpeechJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1AudioTranscriptionsWithBody OpenAI-compatible audio transcription (STT)
	//
	// Transcribes an uploaded audio file. Accepts Bearer access tokens or API keys. Handles POST /v1/audio/transcriptions (multipart/form-data).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/audio/transcriptions (the `PostV1AudioTranscriptions` operationId).
	PostV1AudioTranscriptionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1AudioVoices List available audio voices for a model
	//
	// Lists available TTS voices and supported languages for a model. Accepts Bearer access tokens or API keys.
	//
	// Corresponds with GET /v1/audio/voices (the `GetV1AudioVoices` operationId).
	GetV1AudioVoices(ctx context.Context, params *GetV1AudioVoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ChatCompletionsWithBody OpenAI-compatible chat completions
	//
	// Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).
	PostV1ChatCompletionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ChatCompletions OpenAI-compatible chat completions
	//
	// Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).
	PostV1ChatCompletions(ctx context.Context, body PostV1ChatCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1EmbeddingsWithBody OpenAI-compatible embeddings
	//
	// Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).
	PostV1EmbeddingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1Embeddings OpenAI-compatible embeddings
	//
	// Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).
	PostV1Embeddings(ctx context.Context, body PostV1EmbeddingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ImageEditsWithBody OpenAI-compatible image edits
	//
	// Edits an uploaded image using a prompt and optional mask. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/images/edits (the `PostV1ImageEdits` operationId).
	PostV1ImageEditsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ImageGenerationsWithBody OpenAI-compatible image generations
	//
	// Generates images from a prompt. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).
	PostV1ImageGenerationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ImageGenerations OpenAI-compatible image generations
	//
	// Generates images from a prompt. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).
	PostV1ImageGenerations(ctx context.Context, body PostV1ImageGenerationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1PublicModelPrices Public model prices
	//
	// Returns provider model pricing for cost comparison. No authentication required.
	//
	// Corresponds with GET /v1/public/model-prices (the `GetV1PublicModelPrices` operationId).
	GetV1PublicModelPrices(ctx context.Context, params *GetV1PublicModelPricesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1PublicPricing Public pricing catalog
	//
	// Returns the public GPU and services pricing catalog. No authentication required.
	//
	// Corresponds with GET /v1/public/pricing (the `GetV1PublicPricing` operationId).
	GetV1PublicPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1ResponsesWebSocket OpenAI-compatible Responses API over WebSocket
	//
	// WebSocket transport for the Responses API. Accepts Bearer access tokens or API keys. Upgrades the HTTP request to a WebSocket session that exchanges Responses payloads.
	//
	// Corresponds with GET /v1/responses (the `GetV1ResponsesWebSocket` operationId).
	GetV1ResponsesWebSocket(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ResponsesWithBody OpenAI-compatible Responses API
	//
	// Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/responses (the `PostV1Responses` operationId).
	PostV1ResponsesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1Responses OpenAI-compatible Responses API
	//
	// Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/responses (the `PostV1Responses` operationId).
	PostV1Responses(ctx context.Context, body PostV1ResponsesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ResponsesCompactWithBody Compact a Responses conversation
	//
	// Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).
	PostV1ResponsesCompactWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ResponsesCompact Compact a Responses conversation
	//
	// Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).
	PostV1ResponsesCompact(ctx context.Context, body PostV1ResponsesCompactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Templates List template variants
	//
	// Lists pre-configured deployment template variants visible to the authenticated user.
	//
	// Corresponds with GET /v1/templates (the `GetV1Templates` operationId).
	GetV1Templates(ctx context.Context, params *GetV1TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1TemplateBySlug Get a template by slug
	//
	// Returns a template variant by its URL slug for the authenticated user.
	//
	// Corresponds with GET /v1/templates/by-slug/{slug} (the `GetV1TemplateBySlug` operationId).
	GetV1TemplateBySlug(ctx context.Context, slug string, params *GetV1TemplateBySlugParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Template Get a template variant
	//
	// Returns a single template variant by ID for the authenticated user.
	//
	// Corresponds with GET /v1/templates/{id} (the `GetV1Template` operationId).
	GetV1Template(ctx context.Context, id string, params *GetV1TemplateParams, 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) DeleteAccountsCurrentInvitationsByInvitationIDWithResponse

func (c *ClientWithResponses) DeleteAccountsCurrentInvitationsByInvitationIDWithResponse(ctx context.Context, invitationID string, reqEditors ...RequestEditorFn) (*DeleteAccountsCurrentInvitationsByInvitationIDResponse, error)

DeleteAccountsCurrentInvitationsByInvitationIDWithResponse Cancel an invitation for the selected account

Cancels a pending invitation issued by the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /accounts/current/invitations/{invitationID} (the `DeleteAccountsCurrentInvitationsByInvitationID` operationId).

func (*ClientWithResponses) DeleteAccountsCurrentWithResponse

func (c *ClientWithResponses) DeleteAccountsCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountsCurrentResponse, error)

DeleteAccountsCurrentWithResponse Delete the selected account

Deletes the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /accounts/current (the `DeleteAccountsCurrent` operationId).

func (*ClientWithResponses) DeleteAuthPasskeysWithResponse

func (c *ClientWithResponses) DeleteAuthPasskeysWithResponse(ctx context.Context, credentialID string, reqEditors ...RequestEditorFn) (*DeleteAuthPasskeysResponse, error)

DeleteAuthPasskeysWithResponse Remove a passkey

Deletes a passkey credential from the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /auth/passkeys/{credentialID} (the `DeleteAuthPasskeys` operationId).

func (*ClientWithResponses) DeleteAuthTotpWithResponse

func (c *ClientWithResponses) DeleteAuthTotpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAuthTotpResponse, error)

DeleteAuthTotpWithResponse Disable TOTP

Removes the current user's TOTP credential.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /auth/totp (the `DeleteAuthTotp` operationId).

func (*ClientWithResponses) DeleteFirewallRuleWithResponse

func (c *ClientWithResponses) DeleteFirewallRuleWithResponse(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*DeleteFirewallRuleResponse, error)

DeleteFirewallRuleWithResponse Delete a firewall rule

Removes a firewall rule by slug.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /firewall-rules/{ruleSlug} (the `DeleteFirewallRule` operationId).

func (*ClientWithResponses) DeleteFirewallWithResponse

func (c *ClientWithResponses) DeleteFirewallWithResponse(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*DeleteFirewallResponse, error)

DeleteFirewallWithResponse Delete a firewall

Removes a firewall by slug.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /firewalls/{firewallSlug} (the `DeleteFirewall` operationId).

func (*ClientWithResponses) DeleteInstanceScheduleRuleWithResponse

func (c *ClientWithResponses) DeleteInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, ruleID string, reqEditors ...RequestEditorFn) (*DeleteInstanceScheduleRuleResponse, error)

DeleteInstanceScheduleRuleWithResponse Delete a schedule rule for an instance

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /instances/{instanceID}/schedule-rules/{ruleID} (the `DeleteInstanceScheduleRule` operationId).

func (*ClientWithResponses) DeleteInstanceWithResponse

func (c *ClientWithResponses) DeleteInstanceWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error)

DeleteInstanceWithResponse Delete an inference instance

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /instances/{instanceID} (the `DeleteInstance` operationId).

func (*ClientWithResponses) DeleteReplicaSetWithResponse

func (c *ClientWithResponses) DeleteReplicaSetWithResponse(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*DeleteReplicaSetResponse, error)

DeleteReplicaSetWithResponse Delete a replica set

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /replica-sets/{replicaSetID} (the `DeleteReplicaSet` operationId).

func (*ClientWithResponses) DeleteSmartBalancerWithResponse

func (c *ClientWithResponses) DeleteSmartBalancerWithResponse(ctx context.Context, smartBalancerID string, reqEditors ...RequestEditorFn) (*DeleteSmartBalancerResponse, error)

DeleteSmartBalancerWithResponse Delete a smart balancer

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /smart-balancers/{smartBalancerID} (the `DeleteSmartBalancer` operationId).

func (*ClientWithResponses) DeleteStorageVolumeWithResponse

func (c *ClientWithResponses) DeleteStorageVolumeWithResponse(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*DeleteStorageVolumeResponse, error)

DeleteStorageVolumeWithResponse Delete a storage volume

Deletes a persistent storage volume and its contents.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /storage/volumes/{volumeID} (the `DeleteStorageVolume` operationId).

func (*ClientWithResponses) DeleteTargetGroupWithResponse

func (c *ClientWithResponses) DeleteTargetGroupWithResponse(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*DeleteTargetGroupResponse, error)

DeleteTargetGroupWithResponse Delete a target group

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /target-groups/{targetGroupID} (the `DeleteTargetGroup` operationId).

func (*ClientWithResponses) DeleteVectorDatabaseWithResponse

func (c *ClientWithResponses) DeleteVectorDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DeleteVectorDatabaseResponse, error)

DeleteVectorDatabaseWithResponse Delete a vector database

Removes a vector database owned by the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /flexible-vector-databases/{databaseID} (the `DeleteVectorDatabase` operationId).

func (*ClientWithResponses) GetAccountsCurrentMembersWithResponse

func (c *ClientWithResponses) GetAccountsCurrentMembersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsCurrentMembersResponse, error)

GetAccountsCurrentMembersWithResponse List selected account members

Returns the members and roles for the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /accounts/current/members (the `GetAccountsCurrentMembers` operationId).

func (*ClientWithResponses) GetAccountsCurrentWithResponse

func (c *ClientWithResponses) GetAccountsCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsCurrentResponse, error)

GetAccountsCurrentWithResponse Get the selected account

Returns the account resolved from the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /accounts/current (the `GetAccountsCurrent` operationId).

func (*ClientWithResponses) GetAccountsWithResponse

func (c *ClientWithResponses) GetAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsResponse, error)

GetAccountsWithResponse List user accounts

Returns the accounts and memberships visible to the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /accounts (the `GetAccounts` operationId).

func (*ClientWithResponses) GetApiKeysWithResponse

func (c *ClientWithResponses) GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)

GetApiKeysWithResponse List API keys for the selected account

Returns the API keys issued for the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api-keys (the `GetApiKeys` operationId).

func (*ClientWithResponses) GetAuthMeWithResponse

func (c *ClientWithResponses) GetAuthMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthMeResponse, error)

GetAuthMeWithResponse Return the current authenticated user

Resolves the user attached to the bearer token.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /auth/me (the `GetAuthMe` operationId).

func (*ClientWithResponses) GetAuthPasskeysWithResponse

func (c *ClientWithResponses) GetAuthPasskeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthPasskeysResponse, error)

GetAuthPasskeysWithResponse List passkeys

Returns the current user's passkey credentials.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /auth/passkeys (the `GetAuthPasskeys` operationId).

func (*ClientWithResponses) GetAuthPreferencesWithResponse

func (c *ClientWithResponses) GetAuthPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthPreferencesResponse, error)

GetAuthPreferencesWithResponse Get the current user's security preferences

Returns the per-user security toggles for the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /auth/preferences (the `GetAuthPreferences` operationId).

func (*ClientWithResponses) GetAuthVerifyEmailWithResponse

func (c *ClientWithResponses) GetAuthVerifyEmailWithResponse(ctx context.Context, params *GetAuthVerifyEmailParams, reqEditors ...RequestEditorFn) (*GetAuthVerifyEmailResponse, error)

GetAuthVerifyEmailWithResponse Verify an email activation link

Consumes the activation token and returns a session.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /auth/verify-email (the `GetAuthVerifyEmail` operationId).

func (*ClientWithResponses) GetBillingBalanceWithResponse

func (c *ClientWithResponses) GetBillingBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingBalanceResponse, error)

GetBillingBalanceWithResponse Get the current account balance

Returns the billing balance of the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /billing/balance (the `GetBillingBalance` operationId).

func (*ClientWithResponses) GetBillingLedgerWithResponse

func (c *ClientWithResponses) GetBillingLedgerWithResponse(ctx context.Context, params *GetBillingLedgerParams, reqEditors ...RequestEditorFn) (*GetBillingLedgerResponse, error)

GetBillingLedgerWithResponse List ledger entries

Returns ledger movements for the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /billing/ledger (the `GetBillingLedger` operationId).

func (*ClientWithResponses) GetBillingPaymentsPaymentIDInvoicePDFWithResponse

func (c *ClientWithResponses) GetBillingPaymentsPaymentIDInvoicePDFWithResponse(ctx context.Context, paymentID string, reqEditors ...RequestEditorFn) (*GetBillingPaymentsPaymentIDInvoicePDFResponse, error)

GetBillingPaymentsPaymentIDInvoicePDFWithResponse Download a payment invoice PDF

Returns the invoice PDF for a given payment of the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /billing/payments/{paymentID}/invoice.pdf (the `GetBillingPaymentsPaymentIDInvoicePDF` operationId).

func (*ClientWithResponses) GetBillingPaymentsWithResponse

func (c *ClientWithResponses) GetBillingPaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingPaymentsResponse, error)

GetBillingPaymentsWithResponse List payments for the authenticated account

Returns the payment history for the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /billing/payments (the `GetBillingPayments` operationId).

func (*ClientWithResponses) GetFirewallRuleWithResponse

func (c *ClientWithResponses) GetFirewallRuleWithResponse(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*GetFirewallRuleResponse, error)

GetFirewallRuleWithResponse Get a firewall rule

Returns a single firewall rule by slug.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /firewall-rules/{ruleSlug} (the `GetFirewallRule` operationId).

func (*ClientWithResponses) GetFirewallRulesWithResponse

func (c *ClientWithResponses) GetFirewallRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFirewallRulesResponse, error)

GetFirewallRulesWithResponse List firewall rules

Returns all firewall rules for the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /firewall-rules (the `GetFirewallRules` operationId).

func (*ClientWithResponses) GetFirewallWithResponse

func (c *ClientWithResponses) GetFirewallWithResponse(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*GetFirewallResponse, error)

GetFirewallWithResponse Get a firewall

Returns a single firewall by slug.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /firewalls/{firewallSlug} (the `GetFirewall` operationId).

func (*ClientWithResponses) GetFirewallsWithResponse

func (c *ClientWithResponses) GetFirewallsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFirewallsResponse, error)

GetFirewallsWithResponse List firewalls

Returns all firewalls for the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /firewalls (the `GetFirewalls` operationId).

func (*ClientWithResponses) GetHealthWithResponse

func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

GetHealthWithResponse Health check

Returns service health.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /health (the `GetHealth` operationId).

func (*ClientWithResponses) GetHuggingfaceEmbeddingsWithResponse

func (c *ClientWithResponses) GetHuggingfaceEmbeddingsWithResponse(ctx context.Context, params *GetHuggingfaceEmbeddingsParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceEmbeddingsResponse, error)

GetHuggingfaceEmbeddingsWithResponse Search embedding models

Searches Hugging Face for embedding models.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /huggingface/embeddings (the `GetHuggingfaceEmbeddings` operationId).

func (*ClientWithResponses) GetHuggingfaceFilesWithResponse

func (c *ClientWithResponses) GetHuggingfaceFilesWithResponse(ctx context.Context, params *GetHuggingfaceFilesParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceFilesResponse, error)

GetHuggingfaceFilesWithResponse Get Hugging Face file sizes

Returns GGUF file sizes and quantization for a Hugging Face repository.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /huggingface/files (the `GetHuggingfaceFiles` operationId).

func (*ClientWithResponses) GetHuggingfaceModelsWithResponse

func (c *ClientWithResponses) GetHuggingfaceModelsWithResponse(ctx context.Context, params *GetHuggingfaceModelsParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceModelsResponse, error)

GetHuggingfaceModelsWithResponse Search Hugging Face models

Searches Hugging Face for compatible models matching the query.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /huggingface/models (the `GetHuggingfaceModels` operationId).

func (*ClientWithResponses) GetHuggingfaceOrgsWithResponse

func (c *ClientWithResponses) GetHuggingfaceOrgsWithResponse(ctx context.Context, org string, reqEditors ...RequestEditorFn) (*GetHuggingfaceOrgsResponse, error)

GetHuggingfaceOrgsWithResponse Get Hugging Face organization info

Returns profile information for a Hugging Face organization.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /huggingface/orgs/{org} (the `GetHuggingfaceOrgs` operationId).

func (*ClientWithResponses) GetHuggingfaceSearchTagWithResponse

func (c *ClientWithResponses) GetHuggingfaceSearchTagWithResponse(ctx context.Context, params *GetHuggingfaceSearchTagParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceSearchTagResponse, error)

GetHuggingfaceSearchTagWithResponse Search Hugging Face models by tag

Searches Hugging Face for models matching a query and pipeline tag.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /huggingface/search-tag (the `GetHuggingfaceSearchTag` operationId).

func (*ClientWithResponses) GetHuggingfaceTrendingWithResponse

func (c *ClientWithResponses) GetHuggingfaceTrendingWithResponse(ctx context.Context, params *GetHuggingfaceTrendingParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceTrendingResponse, error)

GetHuggingfaceTrendingWithResponse Trending Hugging Face models

Returns trending Hugging Face models.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /huggingface/trending (the `GetHuggingfaceTrending` operationId).

func (*ClientWithResponses) GetInstanceByIDWithResponse

func (c *ClientWithResponses) GetInstanceByIDWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*GetInstanceByIDResponse, error)

GetInstanceByIDWithResponse Get an inference instance

Returns a wrapper object for the known response body format(s).

Corresponds with GET /instances/{instanceID} (the `GetInstanceByID` operationId).

func (*ClientWithResponses) GetInstanceConfigGpusWithResponse

func (c *ClientWithResponses) GetInstanceConfigGpusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceConfigGpusResponse, error)

GetInstanceConfigGpusWithResponse List available GPUs

Returns the GPU catalog with pricing, regions, and availability for the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /instance-config/gpus (the `GetInstanceConfigGpus` operationId).

func (*ClientWithResponses) GetInstanceScheduleRulesWithResponse

func (c *ClientWithResponses) GetInstanceScheduleRulesWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*GetInstanceScheduleRulesResponse, error)

GetInstanceScheduleRulesWithResponse List schedule rules for an instance

Returns a wrapper object for the known response body format(s).

Corresponds with GET /instances/{instanceID}/schedule-rules (the `GetInstanceScheduleRules` operationId).

func (*ClientWithResponses) GetInstanceUsageWithResponse

func (c *ClientWithResponses) GetInstanceUsageWithResponse(ctx context.Context, instanceID string, params *GetInstanceUsageParams, reqEditors ...RequestEditorFn) (*GetInstanceUsageResponse, error)

GetInstanceUsageWithResponse Get an inference instance usage and cost breakdown

Returns a wrapper object for the known response body format(s).

Corresponds with GET /instances/{instanceID}/usage (the `GetInstanceUsage` operationId).

func (*ClientWithResponses) GetInstancesWithResponse

func (c *ClientWithResponses) GetInstancesWithResponse(ctx context.Context, params *GetInstancesParams, reqEditors ...RequestEditorFn) (*GetInstancesResponse, error)

GetInstancesWithResponse List inference instances

Returns a wrapper object for the known response body format(s).

Corresponds with GET /instances (the `GetInstances` operationId).

func (*ClientWithResponses) GetInvitationsWithResponse

func (c *ClientWithResponses) GetInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInvitationsResponse, error)

GetInvitationsWithResponse List pending invitations for the authenticated user

Returns invitations pending acceptance that were sent to the authenticated user's email.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /invitations (the `GetInvitations` operationId).

func (*ClientWithResponses) GetModelsFixedWithResponse

func (c *ClientWithResponses) GetModelsFixedWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetModelsFixedResponse, error)

GetModelsFixedWithResponse List fixed models

Returns the catalog of fixed (curated) models supported by the platform.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /models/fixed (the `GetModelsFixed` operationId).

func (*ClientWithResponses) GetReplicaSetWithResponse

func (c *ClientWithResponses) GetReplicaSetWithResponse(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*GetReplicaSetResponse, error)

GetReplicaSetWithResponse Get a replica set

Returns a wrapper object for the known response body format(s).

Corresponds with GET /replica-sets/{replicaSetID} (the `GetReplicaSet` operationId).

func (*ClientWithResponses) GetReplicaSetsWithResponse

func (c *ClientWithResponses) GetReplicaSetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReplicaSetsResponse, error)

GetReplicaSetsWithResponse List replica sets

Returns a wrapper object for the known response body format(s).

Corresponds with GET /replica-sets (the `GetReplicaSets` operationId).

func (*ClientWithResponses) GetServingEndpointsWithResponse

func (c *ClientWithResponses) GetServingEndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetServingEndpointsResponse, error)

GetServingEndpointsWithResponse List serving endpoints

Returns a wrapper object for the known response body format(s).

Corresponds with GET /serving-endpoints (the `GetServingEndpoints` operationId).

func (*ClientWithResponses) GetSmartBalancersWithResponse

func (c *ClientWithResponses) GetSmartBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSmartBalancersResponse, error)

GetSmartBalancersWithResponse List smart balancers

Returns a wrapper object for the known response body format(s).

Corresponds with GET /smart-balancers (the `GetSmartBalancers` operationId).

func (*ClientWithResponses) GetStorageVolumeWithResponse

func (c *ClientWithResponses) GetStorageVolumeWithResponse(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*GetStorageVolumeResponse, error)

GetStorageVolumeWithResponse Get a storage volume

Returns details for a specific persistent storage volume.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /storage/volumes/{volumeID} (the `GetStorageVolume` operationId).

func (*ClientWithResponses) GetStorageVolumesWithResponse

func (c *ClientWithResponses) GetStorageVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStorageVolumesResponse, error)

GetStorageVolumesWithResponse List storage volumes

Lists all persistent storage volumes owned by the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /storage/volumes (the `GetStorageVolumes` operationId).

func (*ClientWithResponses) GetSystemToolsWithResponse

func (c *ClientWithResponses) GetSystemToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemToolsResponse, error)

GetSystemToolsWithResponse List system tools

Lists available system tools (code interpreter, web search, etc.) for the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /system-tools (the `GetSystemTools` operationId).

func (*ClientWithResponses) GetTargetGroupWithResponse

func (c *ClientWithResponses) GetTargetGroupWithResponse(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*GetTargetGroupResponse, error)

GetTargetGroupWithResponse Get a target group

Returns a wrapper object for the known response body format(s).

Corresponds with GET /target-groups/{targetGroupID} (the `GetTargetGroup` operationId).

func (*ClientWithResponses) GetTargetGroupsWithResponse

func (c *ClientWithResponses) GetTargetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTargetGroupsResponse, error)

GetTargetGroupsWithResponse List target groups

Returns a wrapper object for the known response body format(s).

Corresponds with GET /target-groups (the `GetTargetGroups` operationId).

func (*ClientWithResponses) GetUserAPIKeysWithResponse added in v1.0.3

func (c *ClientWithResponses) GetUserAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserAPIKeysResponse, error)

GetUserAPIKeysWithResponse List API keys for the authenticated user

Returns the API keys issued for the authenticated user identity.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /users/me/api-keys (the `GetUserAPIKeys` operationId).

func (*ClientWithResponses) GetV1AudioVoicesWithResponse

func (c *ClientWithResponses) GetV1AudioVoicesWithResponse(ctx context.Context, params *GetV1AudioVoicesParams, reqEditors ...RequestEditorFn) (*GetV1AudioVoicesResponse, error)

GetV1AudioVoicesWithResponse List available audio voices for a model

Lists available TTS voices and supported languages for a model. Accepts Bearer access tokens or API keys.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/audio/voices (the `GetV1AudioVoices` operationId).

func (*ClientWithResponses) GetV1PublicModelPricesWithResponse

func (c *ClientWithResponses) GetV1PublicModelPricesWithResponse(ctx context.Context, params *GetV1PublicModelPricesParams, reqEditors ...RequestEditorFn) (*GetV1PublicModelPricesResponse, error)

GetV1PublicModelPricesWithResponse Public model prices

Returns provider model pricing for cost comparison. No authentication required.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/public/model-prices (the `GetV1PublicModelPrices` operationId).

func (*ClientWithResponses) GetV1PublicPricingWithResponse

func (c *ClientWithResponses) GetV1PublicPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1PublicPricingResponse, error)

GetV1PublicPricingWithResponse Public pricing catalog

Returns the public GPU and services pricing catalog. No authentication required.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/public/pricing (the `GetV1PublicPricing` operationId).

func (*ClientWithResponses) GetV1ResponsesWebSocketWithResponse

func (c *ClientWithResponses) GetV1ResponsesWebSocketWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ResponsesWebSocketResponse, error)

GetV1ResponsesWebSocketWithResponse OpenAI-compatible Responses API over WebSocket

WebSocket transport for the Responses API. Accepts Bearer access tokens or API keys. Upgrades the HTTP request to a WebSocket session that exchanges Responses payloads.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/responses (the `GetV1ResponsesWebSocket` operationId).

func (*ClientWithResponses) GetV1TemplateBySlugWithResponse

func (c *ClientWithResponses) GetV1TemplateBySlugWithResponse(ctx context.Context, slug string, params *GetV1TemplateBySlugParams, reqEditors ...RequestEditorFn) (*GetV1TemplateBySlugResponse, error)

GetV1TemplateBySlugWithResponse Get a template by slug

Returns a template variant by its URL slug for the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/templates/by-slug/{slug} (the `GetV1TemplateBySlug` operationId).

func (*ClientWithResponses) GetV1TemplateWithResponse

func (c *ClientWithResponses) GetV1TemplateWithResponse(ctx context.Context, id string, params *GetV1TemplateParams, reqEditors ...RequestEditorFn) (*GetV1TemplateResponse, error)

GetV1TemplateWithResponse Get a template variant

Returns a single template variant by ID for the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/templates/{id} (the `GetV1Template` operationId).

func (*ClientWithResponses) GetV1TemplatesWithResponse

func (c *ClientWithResponses) GetV1TemplatesWithResponse(ctx context.Context, params *GetV1TemplatesParams, reqEditors ...RequestEditorFn) (*GetV1TemplatesResponse, error)

GetV1TemplatesWithResponse List template variants

Lists pre-configured deployment template variants visible to the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/templates (the `GetV1Templates` operationId).

func (*ClientWithResponses) GetVectorDatabaseDocumentsWithResponse

func (c *ClientWithResponses) GetVectorDatabaseDocumentsWithResponse(ctx context.Context, databaseID string, params *GetVectorDatabaseDocumentsParams, reqEditors ...RequestEditorFn) (*GetVectorDatabaseDocumentsResponse, error)

GetVectorDatabaseDocumentsWithResponse List documents in a vector database

Returns documents stored in a vector database with optional pagination.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /flexible-vector-databases/{databaseID}/documents (the `GetVectorDatabaseDocuments` operationId).

func (*ClientWithResponses) GetVectorDatabaseIndexJobWithResponse

func (c *ClientWithResponses) GetVectorDatabaseIndexJobWithResponse(ctx context.Context, databaseID string, jobID string, reqEditors ...RequestEditorFn) (*GetVectorDatabaseIndexJobResponse, error)

GetVectorDatabaseIndexJobWithResponse Get an index job

Returns the status of an asynchronous index job.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /flexible-vector-databases/{databaseID}/index-jobs/{jobID} (the `GetVectorDatabaseIndexJob` operationId).

func (*ClientWithResponses) GetVectorDatabaseWithResponse

func (c *ClientWithResponses) GetVectorDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*GetVectorDatabaseResponse, error)

GetVectorDatabaseWithResponse Get a vector database

Returns a single vector database owned by the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /flexible-vector-databases/{databaseID} (the `GetVectorDatabase` operationId).

func (*ClientWithResponses) GetVectorDatabasesWithResponse

func (c *ClientWithResponses) GetVectorDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVectorDatabasesResponse, error)

GetVectorDatabasesWithResponse List vector databases

Returns the vector databases owned by the authenticated account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /flexible-vector-databases (the `GetVectorDatabases` operationId).

func (*ClientWithResponses) PatchAccountsCurrentFiscalProfileWithBodyWithResponse

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

PatchAccountsCurrentFiscalProfileWithBodyWithResponse Update the current account fiscal profile

Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).

func (*ClientWithResponses) PatchAccountsCurrentFiscalProfileWithResponse

PatchAccountsCurrentFiscalProfileWithResponse Update the current account fiscal profile

Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).

func (*ClientWithResponses) PatchAccountsCurrentMembersByUserIDWithBodyWithResponse

func (c *ClientWithResponses) PatchAccountsCurrentMembersByUserIDWithBodyWithResponse(ctx context.Context, userID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentMembersByUserIDResponse, error)

PatchAccountsCurrentMembersByUserIDWithBodyWithResponse Update a selected account member role

Updates the role of an existing user within the active account context.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).

func (*ClientWithResponses) PatchAccountsCurrentMembersByUserIDWithResponse

func (c *ClientWithResponses) PatchAccountsCurrentMembersByUserIDWithResponse(ctx context.Context, userID string, body PatchAccountsCurrentMembersByUserIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentMembersByUserIDResponse, error)

PatchAccountsCurrentMembersByUserIDWithResponse Update a selected account member role

Updates the role of an existing user within the active account context.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).

func (*ClientWithResponses) PatchAccountsCurrentWithBodyWithResponse

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

PatchAccountsCurrentWithBodyWithResponse Update the selected account

Updates editable metadata for the active account context.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).

func (*ClientWithResponses) PatchAccountsCurrentWithResponse

func (c *ClientWithResponses) PatchAccountsCurrentWithResponse(ctx context.Context, body PatchAccountsCurrentJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentResponse, error)

PatchAccountsCurrentWithResponse Update the selected account

Updates editable metadata for the active account context.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).

func (*ClientWithResponses) PatchAuthPasswordWithBodyWithResponse

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

PatchAuthPasswordWithBodyWithResponse Change the current user's password

Requires the authenticated user to provide the current password and a new password.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).

func (*ClientWithResponses) PatchAuthPasswordWithResponse

func (c *ClientWithResponses) PatchAuthPasswordWithResponse(ctx context.Context, body PatchAuthPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAuthPasswordResponse, error)

PatchAuthPasswordWithResponse Change the current user's password

Requires the authenticated user to provide the current password and a new password.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).

func (*ClientWithResponses) PatchAuthPreferencesWithBodyWithResponse

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

PatchAuthPreferencesWithBodyWithResponse Update the current user's security preferences

Partial update of the per-user security toggles. Only fields present in the body are applied.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).

func (*ClientWithResponses) PatchAuthPreferencesWithResponse

func (c *ClientWithResponses) PatchAuthPreferencesWithResponse(ctx context.Context, body PatchAuthPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAuthPreferencesResponse, error)

PatchAuthPreferencesWithResponse Update the current user's security preferences

Partial update of the per-user security toggles. Only fields present in the body are applied.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).

func (*ClientWithResponses) PatchFirewallRuleWithBodyWithResponse

func (c *ClientWithResponses) PatchFirewallRuleWithBodyWithResponse(ctx context.Context, ruleSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFirewallRuleResponse, error)

PatchFirewallRuleWithBodyWithResponse Update a firewall rule

Partially updates a firewall rule by slug.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).

func (*ClientWithResponses) PatchFirewallRuleWithResponse

func (c *ClientWithResponses) PatchFirewallRuleWithResponse(ctx context.Context, ruleSlug string, body PatchFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFirewallRuleResponse, error)

PatchFirewallRuleWithResponse Update a firewall rule

Partially updates a firewall rule by slug.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).

func (*ClientWithResponses) PatchFirewallWithBodyWithResponse

func (c *ClientWithResponses) PatchFirewallWithBodyWithResponse(ctx context.Context, firewallSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFirewallResponse, error)

PatchFirewallWithBodyWithResponse Update a firewall

Partially updates a firewall by slug.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).

func (*ClientWithResponses) PatchFirewallWithResponse

func (c *ClientWithResponses) PatchFirewallWithResponse(ctx context.Context, firewallSlug string, body PatchFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFirewallResponse, error)

PatchFirewallWithResponse Update a firewall

Partially updates a firewall by slug.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).

func (*ClientWithResponses) PatchInstanceScheduleRuleWithBodyWithResponse

func (c *ClientWithResponses) PatchInstanceScheduleRuleWithBodyWithResponse(ctx context.Context, instanceID string, ruleID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInstanceScheduleRuleResponse, error)

PatchInstanceScheduleRuleWithBodyWithResponse Update a schedule rule for an instance

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).

func (*ClientWithResponses) PatchInstanceScheduleRuleWithResponse

func (c *ClientWithResponses) PatchInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, ruleID string, body PatchInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInstanceScheduleRuleResponse, error)

PatchInstanceScheduleRuleWithResponse Update a schedule rule for an instance

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).

func (*ClientWithResponses) PatchInstanceWithBodyWithResponse

func (c *ClientWithResponses) PatchInstanceWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInstanceResponse, error)

PatchInstanceWithBodyWithResponse Update an inference instance

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).

func (*ClientWithResponses) PatchInstanceWithResponse

func (c *ClientWithResponses) PatchInstanceWithResponse(ctx context.Context, instanceID string, body PatchInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInstanceResponse, error)

PatchInstanceWithResponse Update an inference instance

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).

func (*ClientWithResponses) PatchReplicaSetWithBodyWithResponse

func (c *ClientWithResponses) PatchReplicaSetWithBodyWithResponse(ctx context.Context, replicaSetID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchReplicaSetResponse, error)

PatchReplicaSetWithBodyWithResponse Update a replica set

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).

func (*ClientWithResponses) PatchReplicaSetWithResponse

func (c *ClientWithResponses) PatchReplicaSetWithResponse(ctx context.Context, replicaSetID string, body PatchReplicaSetJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchReplicaSetResponse, error)

PatchReplicaSetWithResponse Update a replica set

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).

func (*ClientWithResponses) PatchSmartBalancerWithBodyWithResponse

func (c *ClientWithResponses) PatchSmartBalancerWithBodyWithResponse(ctx context.Context, smartBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSmartBalancerResponse, error)

PatchSmartBalancerWithBodyWithResponse Update a smart balancer

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).

func (*ClientWithResponses) PatchSmartBalancerWithResponse

func (c *ClientWithResponses) PatchSmartBalancerWithResponse(ctx context.Context, smartBalancerID string, body PatchSmartBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSmartBalancerResponse, error)

PatchSmartBalancerWithResponse Update a smart balancer

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).

func (*ClientWithResponses) PatchTargetGroupWithBodyWithResponse

func (c *ClientWithResponses) PatchTargetGroupWithBodyWithResponse(ctx context.Context, targetGroupID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTargetGroupResponse, error)

PatchTargetGroupWithBodyWithResponse Update a target group

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).

func (*ClientWithResponses) PatchTargetGroupWithResponse

func (c *ClientWithResponses) PatchTargetGroupWithResponse(ctx context.Context, targetGroupID string, body PatchTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTargetGroupResponse, error)

PatchTargetGroupWithResponse Update a target group

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).

func (*ClientWithResponses) PatchVectorDatabaseWithBodyWithResponse

func (c *ClientWithResponses) PatchVectorDatabaseWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchVectorDatabaseResponse, error)

PatchVectorDatabaseWithBodyWithResponse Update a vector database

Updates the slug, name, or description of an existing vector database.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).

func (*ClientWithResponses) PatchVectorDatabaseWithResponse

func (c *ClientWithResponses) PatchVectorDatabaseWithResponse(ctx context.Context, databaseID string, body PatchVectorDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchVectorDatabaseResponse, error)

PatchVectorDatabaseWithResponse Update a vector database

Updates the slug, name, or description of an existing vector database.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).

func (*ClientWithResponses) PostAccountsCurrentInvitationsWithBodyWithResponse

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

PostAccountsCurrentInvitationsWithBodyWithResponse Create an invitation for the selected account

Invites a user by email to join the active account context with a given role.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).

func (*ClientWithResponses) PostAccountsCurrentInvitationsWithResponse

func (c *ClientWithResponses) PostAccountsCurrentInvitationsWithResponse(ctx context.Context, body PostAccountsCurrentInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsCurrentInvitationsResponse, error)

PostAccountsCurrentInvitationsWithResponse Create an invitation for the selected account

Invites a user by email to join the active account context with a given role.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).

func (*ClientWithResponses) PostAccountsCurrentMembersWithBodyWithResponse

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

PostAccountsCurrentMembersWithBodyWithResponse Add a member to the selected account

Adds a registered user to the active account context or updates their role if they already belong to it.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).

func (*ClientWithResponses) PostAccountsCurrentMembersWithResponse

func (c *ClientWithResponses) PostAccountsCurrentMembersWithResponse(ctx context.Context, body PostAccountsCurrentMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsCurrentMembersResponse, error)

PostAccountsCurrentMembersWithResponse Add a member to the selected account

Adds a registered user to the active account context or updates their role if they already belong to it.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).

func (*ClientWithResponses) PostAccountsWithBodyWithResponse

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

PostAccountsWithBodyWithResponse Create an account

Creates a new account owned by the authenticated user.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /accounts (the `PostAccounts` operationId).

func (*ClientWithResponses) PostAccountsWithResponse

func (c *ClientWithResponses) PostAccountsWithResponse(ctx context.Context, body PostAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsResponse, error)

PostAccountsWithResponse Create an account

Creates a new account owned by the authenticated user.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /accounts (the `PostAccounts` operationId).

func (*ClientWithResponses) PostApiKeysKeyIDRevokeWithResponse

func (c *ClientWithResponses) PostApiKeysKeyIDRevokeWithResponse(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*PostApiKeysKeyIDRevokeResponse, error)

PostApiKeysKeyIDRevokeWithResponse Revoke an API key

Revokes an API key issued for the active account context.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api-keys/{keyID}/revoke (the `PostApiKeysKeyIDRevoke` operationId).

func (*ClientWithResponses) PostApiKeysWithResponse

func (c *ClientWithResponses) PostApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

PostApiKeysWithResponse Create an API key for the selected account

Issues a new API key for the active account context and returns the plaintext key once.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api-keys (the `PostApiKeys` operationId).

func (*ClientWithResponses) PostAuthForgotPasswordWithBodyWithResponse

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

PostAuthForgotPasswordWithBodyWithResponse Request a password reset email

Always returns 200 with a generic message to avoid user enumeration.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).

func (*ClientWithResponses) PostAuthForgotPasswordWithResponse

func (c *ClientWithResponses) PostAuthForgotPasswordWithResponse(ctx context.Context, body PostAuthForgotPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthForgotPasswordResponse, error)

PostAuthForgotPasswordWithResponse Request a password reset email

Always returns 200 with a generic message to avoid user enumeration.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).

func (*ClientWithResponses) PostAuthLoginWithBodyWithResponse

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

PostAuthLoginWithBodyWithResponse Authenticate a user

Exchanges email and password credentials for access and refresh tokens.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/login (the `PostAuthLogin` operationId).

func (*ClientWithResponses) PostAuthLoginWithResponse

func (c *ClientWithResponses) PostAuthLoginWithResponse(ctx context.Context, body PostAuthLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthLoginResponse, error)

PostAuthLoginWithResponse Authenticate a user

Exchanges email and password credentials for access and refresh tokens.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/login (the `PostAuthLogin` operationId).

func (*ClientWithResponses) PostAuthPasskeysBeginLoginWithBodyWithResponse

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

PostAuthPasskeysBeginLoginWithBodyWithResponse Begin passkey login

Creates a passkey login challenge for the provided email.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).

func (*ClientWithResponses) PostAuthPasskeysBeginLoginWithResponse

func (c *ClientWithResponses) PostAuthPasskeysBeginLoginWithResponse(ctx context.Context, body PostAuthPasskeysBeginLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthPasskeysBeginLoginResponse, error)

PostAuthPasskeysBeginLoginWithResponse Begin passkey login

Creates a passkey login challenge for the provided email.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).

func (*ClientWithResponses) PostAuthPasskeysBeginRegistrationWithResponse

func (c *ClientWithResponses) PostAuthPasskeysBeginRegistrationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthPasskeysBeginRegistrationResponse, error)

PostAuthPasskeysBeginRegistrationWithResponse Begin passkey registration

Creates a passkey registration challenge for the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys/begin-registration (the `PostAuthPasskeysBeginRegistration` operationId).

func (*ClientWithResponses) PostAuthPasskeysFinishLoginWithBodyWithResponse

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

PostAuthPasskeysFinishLoginWithBodyWithResponse Finish passkey login

Consumes a passkey login challenge and returns a session.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).

func (*ClientWithResponses) PostAuthPasskeysFinishLoginWithResponse

func (c *ClientWithResponses) PostAuthPasskeysFinishLoginWithResponse(ctx context.Context, body PostAuthPasskeysFinishLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthPasskeysFinishLoginResponse, error)

PostAuthPasskeysFinishLoginWithResponse Finish passkey login

Consumes a passkey login challenge and returns a session.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).

func (*ClientWithResponses) PostAuthPasskeysFinishRegistrationWithBodyWithResponse

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

PostAuthPasskeysFinishRegistrationWithBodyWithResponse Finish passkey registration

Consumes a passkey registration challenge and stores the credential.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).

func (*ClientWithResponses) PostAuthPasskeysFinishRegistrationWithResponse

PostAuthPasskeysFinishRegistrationWithResponse Finish passkey registration

Consumes a passkey registration challenge and stores the credential.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).

func (*ClientWithResponses) PostAuthPasskeysWithBodyWithResponse

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

PostAuthPasskeysWithBodyWithResponse Register a passkey

Stores a passkey credential for the authenticated user.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).

func (*ClientWithResponses) PostAuthPasskeysWithResponse

func (c *ClientWithResponses) PostAuthPasskeysWithResponse(ctx context.Context, body PostAuthPasskeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthPasskeysResponse, error)

PostAuthPasskeysWithResponse Register a passkey

Stores a passkey credential for the authenticated user.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).

func (*ClientWithResponses) PostAuthRefreshWithBodyWithResponse

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

PostAuthRefreshWithBodyWithResponse Refresh an access token

Exchanges a refresh token for a new access token.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).

func (*ClientWithResponses) PostAuthRefreshWithResponse

func (c *ClientWithResponses) PostAuthRefreshWithResponse(ctx context.Context, body PostAuthRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthRefreshResponse, error)

PostAuthRefreshWithResponse Refresh an access token

Exchanges a refresh token for a new access token.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).

func (*ClientWithResponses) PostAuthRegisterWithBodyWithResponse

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

PostAuthRegisterWithBodyWithResponse Register a new user

Creates a new account using email and password credentials.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/register (the `PostAuthRegister` operationId).

func (*ClientWithResponses) PostAuthRegisterWithResponse

func (c *ClientWithResponses) PostAuthRegisterWithResponse(ctx context.Context, body PostAuthRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthRegisterResponse, error)

PostAuthRegisterWithResponse Register a new user

Creates a new account using email and password credentials.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/register (the `PostAuthRegister` operationId).

func (*ClientWithResponses) PostAuthResetPasswordWithBodyWithResponse

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

PostAuthResetPasswordWithBodyWithResponse Reset a password using a one-time token

Consumes the reset token, updates the password, and returns a fresh session.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).

func (*ClientWithResponses) PostAuthResetPasswordWithResponse

func (c *ClientWithResponses) PostAuthResetPasswordWithResponse(ctx context.Context, body PostAuthResetPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthResetPasswordResponse, error)

PostAuthResetPasswordWithResponse Reset a password using a one-time token

Consumes the reset token, updates the password, and returns a fresh session.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).

func (*ClientWithResponses) PostAuthTotpBeginWithResponse

func (c *ClientWithResponses) PostAuthTotpBeginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthTotpBeginResponse, error)

PostAuthTotpBeginWithResponse Start TOTP enrollment

Returns a new TOTP secret and otpauth URI for the authenticated user.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/totp/begin (the `PostAuthTotpBegin` operationId).

func (*ClientWithResponses) PostAuthTotpConfirmWithBodyWithResponse

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

PostAuthTotpConfirmWithBodyWithResponse Confirm TOTP enrollment

Stores a TOTP secret for the authenticated user after verifying the code.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).

func (*ClientWithResponses) PostAuthTotpConfirmWithResponse

func (c *ClientWithResponses) PostAuthTotpConfirmWithResponse(ctx context.Context, body PostAuthTotpConfirmJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthTotpConfirmResponse, error)

PostAuthTotpConfirmWithResponse Confirm TOTP enrollment

Stores a TOTP secret for the authenticated user after verifying the code.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).

func (*ClientWithResponses) PostBillingCheckoutWithBodyWithResponse

func (c *ClientWithResponses) PostBillingCheckoutWithBodyWithResponse(ctx context.Context, params *PostBillingCheckoutParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingCheckoutResponse, error)

PostBillingCheckoutWithBodyWithResponse Create a checkout session

Creates a billing checkout session for the authenticated account.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).

func (*ClientWithResponses) PostBillingCheckoutWithResponse

PostBillingCheckoutWithResponse Create a checkout session

Creates a billing checkout session for the authenticated account.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).

func (*ClientWithResponses) PostBillingDebitWithBodyWithResponse

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

PostBillingDebitWithBodyWithResponse Debit the current account balance

Debits a positive amount from the authenticated account.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).

func (*ClientWithResponses) PostBillingDebitWithResponse

func (c *ClientWithResponses) PostBillingDebitWithResponse(ctx context.Context, body PostBillingDebitJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBillingDebitResponse, error)

PostBillingDebitWithResponse Debit the current account balance

Debits a positive amount from the authenticated account.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).

func (*ClientWithResponses) PostBillingQuoteWithBodyWithResponse

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

PostBillingQuoteWithBodyWithResponse Quote a checkout total

Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).

func (*ClientWithResponses) PostBillingQuoteWithResponse

func (c *ClientWithResponses) PostBillingQuoteWithResponse(ctx context.Context, body PostBillingQuoteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBillingQuoteResponse, error)

PostBillingQuoteWithResponse Quote a checkout total

Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).

func (*ClientWithResponses) PostFirewallEvaluateWithBodyWithResponse

func (c *ClientWithResponses) PostFirewallEvaluateWithBodyWithResponse(ctx context.Context, firewallSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFirewallEvaluateResponse, error)

PostFirewallEvaluateWithBodyWithResponse Evaluate a firewall

Runs input against a firewall and returns the evaluation result.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).

func (*ClientWithResponses) PostFirewallEvaluateWithResponse

func (c *ClientWithResponses) PostFirewallEvaluateWithResponse(ctx context.Context, firewallSlug string, body PostFirewallEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallEvaluateResponse, error)

PostFirewallEvaluateWithResponse Evaluate a firewall

Runs input against a firewall and returns the evaluation result.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).

func (*ClientWithResponses) PostFirewallRuleEvaluateWithBodyWithResponse

func (c *ClientWithResponses) PostFirewallRuleEvaluateWithBodyWithResponse(ctx context.Context, ruleSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFirewallRuleEvaluateResponse, error)

PostFirewallRuleEvaluateWithBodyWithResponse Evaluate a firewall rule

Runs input against a single firewall rule and returns the evaluation result.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).

func (*ClientWithResponses) PostFirewallRuleEvaluateWithResponse

func (c *ClientWithResponses) PostFirewallRuleEvaluateWithResponse(ctx context.Context, ruleSlug string, body PostFirewallRuleEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallRuleEvaluateResponse, error)

PostFirewallRuleEvaluateWithResponse Evaluate a firewall rule

Runs input against a single firewall rule and returns the evaluation result.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).

func (*ClientWithResponses) PostFirewallRuleWithBodyWithResponse

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

PostFirewallRuleWithBodyWithResponse Create a firewall rule

Creates a new firewall rule for the authenticated account.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).

func (*ClientWithResponses) PostFirewallRuleWithResponse

func (c *ClientWithResponses) PostFirewallRuleWithResponse(ctx context.Context, body PostFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallRuleResponse, error)

PostFirewallRuleWithResponse Create a firewall rule

Creates a new firewall rule for the authenticated account.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).

func (*ClientWithResponses) PostFirewallWithBodyWithResponse

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

PostFirewallWithBodyWithResponse Create a firewall

Creates a new firewall for the authenticated account.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewalls (the `PostFirewall` operationId).

func (*ClientWithResponses) PostFirewallWithResponse

func (c *ClientWithResponses) PostFirewallWithResponse(ctx context.Context, body PostFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallResponse, error)

PostFirewallWithResponse Create a firewall

Creates a new firewall for the authenticated account.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /firewalls (the `PostFirewall` operationId).

func (*ClientWithResponses) PostInstancePreviewUpdateWithBodyWithResponse

func (c *ClientWithResponses) PostInstancePreviewUpdateWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInstancePreviewUpdateResponse, error)

PostInstancePreviewUpdateWithBodyWithResponse Preview smart selection for an existing instance update

Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).

func (*ClientWithResponses) PostInstancePreviewUpdateWithResponse

func (c *ClientWithResponses) PostInstancePreviewUpdateWithResponse(ctx context.Context, instanceID string, body PostInstancePreviewUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInstancePreviewUpdateResponse, error)

PostInstancePreviewUpdateWithResponse Preview smart selection for an existing instance update

Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).

func (*ClientWithResponses) PostInstanceScheduleRuleWithBodyWithResponse

func (c *ClientWithResponses) PostInstanceScheduleRuleWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInstanceScheduleRuleResponse, error)

PostInstanceScheduleRuleWithBodyWithResponse Create a schedule rule for an instance

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).

func (*ClientWithResponses) PostInstanceScheduleRuleWithResponse

func (c *ClientWithResponses) PostInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, body PostInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInstanceScheduleRuleResponse, error)

PostInstanceScheduleRuleWithResponse Create a schedule rule for an instance

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).

func (*ClientWithResponses) PostInstanceStartWithResponse

func (c *ClientWithResponses) PostInstanceStartWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*PostInstanceStartResponse, error)

PostInstanceStartWithResponse Start an inference instance

Returns a wrapper object for the known response body format(s).

Corresponds with POST /instances/{instanceID}/start (the `PostInstanceStart` operationId).

func (*ClientWithResponses) PostInstanceStopWithResponse

func (c *ClientWithResponses) PostInstanceStopWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*PostInstanceStopResponse, error)

PostInstanceStopWithResponse Stop an inference instance

Returns a wrapper object for the known response body format(s).

Corresponds with POST /instances/{instanceID}/stop (the `PostInstanceStop` operationId).

func (*ClientWithResponses) PostInstancesWithBodyWithResponse

func (c *ClientWithResponses) PostInstancesWithBodyWithResponse(ctx context.Context, params *PostInstancesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInstancesResponse, error)

PostInstancesWithBodyWithResponse Create an inference instance

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /instances (the `PostInstances` operationId).

func (*ClientWithResponses) PostInstancesWithResponse

func (c *ClientWithResponses) PostInstancesWithResponse(ctx context.Context, params *PostInstancesParams, body PostInstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInstancesResponse, error)

PostInstancesWithResponse Create an inference instance

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /instances (the `PostInstances` operationId).

func (*ClientWithResponses) PostInvitationsAcceptWithBodyWithResponse

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

PostInvitationsAcceptWithBodyWithResponse Accept an invitation

Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).

func (*ClientWithResponses) PostInvitationsAcceptWithResponse

func (c *ClientWithResponses) PostInvitationsAcceptWithResponse(ctx context.Context, body PostInvitationsAcceptJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInvitationsAcceptResponse, error)

PostInvitationsAcceptWithResponse Accept an invitation

Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).

func (*ClientWithResponses) PostReplicaSetScaleWithBodyWithResponse

func (c *ClientWithResponses) PostReplicaSetScaleWithBodyWithResponse(ctx context.Context, replicaSetID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostReplicaSetScaleResponse, error)

PostReplicaSetScaleWithBodyWithResponse Scale a replica set

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).

func (*ClientWithResponses) PostReplicaSetScaleWithResponse

func (c *ClientWithResponses) PostReplicaSetScaleWithResponse(ctx context.Context, replicaSetID string, body PostReplicaSetScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostReplicaSetScaleResponse, error)

PostReplicaSetScaleWithResponse Scale a replica set

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).

func (*ClientWithResponses) PostRuntimeNotifyCrashWithBodyWithResponse

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

PostRuntimeNotifyCrashWithBodyWithResponse Report a runtime pod crash

Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).

func (*ClientWithResponses) PostRuntimeNotifyCrashWithResponse

func (c *ClientWithResponses) PostRuntimeNotifyCrashWithResponse(ctx context.Context, body PostRuntimeNotifyCrashJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRuntimeNotifyCrashResponse, error)

PostRuntimeNotifyCrashWithResponse Report a runtime pod crash

Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).

func (*ClientWithResponses) PostServingEndpointWithBodyWithResponse

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

PostServingEndpointWithBodyWithResponse Create a serving endpoint

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).

func (*ClientWithResponses) PostServingEndpointWithResponse

func (c *ClientWithResponses) PostServingEndpointWithResponse(ctx context.Context, body PostServingEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*PostServingEndpointResponse, error)

PostServingEndpointWithResponse Create a serving endpoint

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).

func (*ClientWithResponses) PostSmartBalancerWithBodyWithResponse

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

PostSmartBalancerWithBodyWithResponse Create a smart balancer

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).

func (*ClientWithResponses) PostSmartBalancerWithResponse

func (c *ClientWithResponses) PostSmartBalancerWithResponse(ctx context.Context, body PostSmartBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSmartBalancerResponse, error)

PostSmartBalancerWithResponse Create a smart balancer

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).

func (*ClientWithResponses) PostStorageVolumesWithBodyWithResponse

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

PostStorageVolumesWithBodyWithResponse Create a storage volume

Creates a persistent storage volume for model checkpoints and caches.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).

func (*ClientWithResponses) PostStorageVolumesWithResponse

func (c *ClientWithResponses) PostStorageVolumesWithResponse(ctx context.Context, body PostStorageVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStorageVolumesResponse, error)

PostStorageVolumesWithResponse Create a storage volume

Creates a persistent storage volume for model checkpoints and caches.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).

func (*ClientWithResponses) PostTargetGroupWithBodyWithResponse

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

PostTargetGroupWithBodyWithResponse Create a target group

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /target-groups (the `PostTargetGroup` operationId).

func (*ClientWithResponses) PostTargetGroupWithResponse

func (c *ClientWithResponses) PostTargetGroupWithResponse(ctx context.Context, body PostTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTargetGroupResponse, error)

PostTargetGroupWithResponse Create a target group

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /target-groups (the `PostTargetGroup` operationId).

func (*ClientWithResponses) PostUserAPIKeysKeyIDRevokeWithResponse added in v1.0.3

func (c *ClientWithResponses) PostUserAPIKeysKeyIDRevokeWithResponse(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*PostUserAPIKeysKeyIDRevokeResponse, error)

PostUserAPIKeysKeyIDRevokeWithResponse Revoke a user API key

Revokes an API key issued for the authenticated user identity.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /users/me/api-keys/{keyID}/revoke (the `PostUserAPIKeysKeyIDRevoke` operationId).

func (*ClientWithResponses) PostUserAPIKeysWithResponse added in v1.0.3

func (c *ClientWithResponses) PostUserAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostUserAPIKeysResponse, error)

PostUserAPIKeysWithResponse Create an API key for the authenticated user

Issues a new API key for the authenticated user identity and returns the plaintext key once.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /users/me/api-keys (the `PostUserAPIKeys` operationId).

func (*ClientWithResponses) PostV1AudioSpeechWithBodyWithResponse

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

PostV1AudioSpeechWithBodyWithResponse OpenAI-compatible audio speech (TTS)

Generates audio from text. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).

func (*ClientWithResponses) PostV1AudioSpeechWithResponse

func (c *ClientWithResponses) PostV1AudioSpeechWithResponse(ctx context.Context, body PostV1AudioSpeechJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1AudioSpeechResponse, error)

PostV1AudioSpeechWithResponse OpenAI-compatible audio speech (TTS)

Generates audio from text. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).

func (*ClientWithResponses) PostV1AudioTranscriptionsWithBodyWithResponse

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

PostV1AudioTranscriptionsWithBodyWithResponse OpenAI-compatible audio transcription (STT)

Transcribes an uploaded audio file. Accepts Bearer access tokens or API keys. Handles POST /v1/audio/transcriptions (multipart/form-data).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/transcriptions (the `PostV1AudioTranscriptions` operationId).

func (*ClientWithResponses) PostV1ChatCompletionsWithBodyWithResponse

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

PostV1ChatCompletionsWithBodyWithResponse OpenAI-compatible chat completions

Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).

func (*ClientWithResponses) PostV1ChatCompletionsWithResponse

func (c *ClientWithResponses) PostV1ChatCompletionsWithResponse(ctx context.Context, body PostV1ChatCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ChatCompletionsResponse, error)

PostV1ChatCompletionsWithResponse OpenAI-compatible chat completions

Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).

func (*ClientWithResponses) PostV1EmbeddingsWithBodyWithResponse

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

PostV1EmbeddingsWithBodyWithResponse OpenAI-compatible embeddings

Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).

func (*ClientWithResponses) PostV1EmbeddingsWithResponse

func (c *ClientWithResponses) PostV1EmbeddingsWithResponse(ctx context.Context, body PostV1EmbeddingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1EmbeddingsResponse, error)

PostV1EmbeddingsWithResponse OpenAI-compatible embeddings

Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).

func (*ClientWithResponses) PostV1ImageEditsWithBodyWithResponse

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

PostV1ImageEditsWithBodyWithResponse OpenAI-compatible image edits

Edits an uploaded image using a prompt and optional mask. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/images/edits (the `PostV1ImageEdits` operationId).

func (*ClientWithResponses) PostV1ImageGenerationsWithBodyWithResponse

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

PostV1ImageGenerationsWithBodyWithResponse OpenAI-compatible image generations

Generates images from a prompt. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).

func (*ClientWithResponses) PostV1ImageGenerationsWithResponse

func (c *ClientWithResponses) PostV1ImageGenerationsWithResponse(ctx context.Context, body PostV1ImageGenerationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ImageGenerationsResponse, error)

PostV1ImageGenerationsWithResponse OpenAI-compatible image generations

Generates images from a prompt. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).

func (*ClientWithResponses) PostV1ResponsesCompactWithBodyWithResponse

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

PostV1ResponsesCompactWithBodyWithResponse Compact a Responses conversation

Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).

func (*ClientWithResponses) PostV1ResponsesCompactWithResponse

func (c *ClientWithResponses) PostV1ResponsesCompactWithResponse(ctx context.Context, body PostV1ResponsesCompactJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ResponsesCompactResponse, error)

PostV1ResponsesCompactWithResponse Compact a Responses conversation

Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).

func (*ClientWithResponses) PostV1ResponsesWithBodyWithResponse

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

PostV1ResponsesWithBodyWithResponse OpenAI-compatible Responses API

Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/responses (the `PostV1Responses` operationId).

func (*ClientWithResponses) PostV1ResponsesWithResponse

func (c *ClientWithResponses) PostV1ResponsesWithResponse(ctx context.Context, body PostV1ResponsesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ResponsesResponse, error)

PostV1ResponsesWithResponse OpenAI-compatible Responses API

Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/responses (the `PostV1Responses` operationId).

func (*ClientWithResponses) PostVectorDatabaseIndexDirectWithBodyWithResponse

func (c *ClientWithResponses) PostVectorDatabaseIndexDirectWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexDirectResponse, error)

PostVectorDatabaseIndexDirectWithBodyWithResponse Index documents directly

Indexes documents into a vector database synchronously.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).

func (*ClientWithResponses) PostVectorDatabaseIndexDirectWithResponse

func (c *ClientWithResponses) PostVectorDatabaseIndexDirectWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseIndexDirectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexDirectResponse, error)

PostVectorDatabaseIndexDirectWithResponse Index documents directly

Indexes documents into a vector database synchronously.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).

func (*ClientWithResponses) PostVectorDatabaseIndexJobsWithBodyWithResponse

func (c *ClientWithResponses) PostVectorDatabaseIndexJobsWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexJobsResponse, error)

PostVectorDatabaseIndexJobsWithBodyWithResponse Enqueue an index job

Enqueues documents for asynchronous indexing into a vector database.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).

func (*ClientWithResponses) PostVectorDatabaseIndexJobsWithResponse

func (c *ClientWithResponses) PostVectorDatabaseIndexJobsWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseIndexJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexJobsResponse, error)

PostVectorDatabaseIndexJobsWithResponse Enqueue an index job

Enqueues documents for asynchronous indexing into a vector database.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).

func (*ClientWithResponses) PostVectorDatabaseRecommendWithBodyWithResponse

func (c *ClientWithResponses) PostVectorDatabaseRecommendWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseRecommendResponse, error)

PostVectorDatabaseRecommendWithBodyWithResponse Recommend documents

Returns recommended documents for a recommend token.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).

func (*ClientWithResponses) PostVectorDatabaseRecommendWithResponse

func (c *ClientWithResponses) PostVectorDatabaseRecommendWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseRecommendJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseRecommendResponse, error)

PostVectorDatabaseRecommendWithResponse Recommend documents

Returns recommended documents for a recommend token.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).

func (*ClientWithResponses) PostVectorDatabaseSearchWithBodyWithResponse

func (c *ClientWithResponses) PostVectorDatabaseSearchWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseSearchResponse, error)

PostVectorDatabaseSearchWithBodyWithResponse Search a vector database

Searches a vector database by query text and/or image URL.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).

func (*ClientWithResponses) PostVectorDatabaseSearchWithResponse

func (c *ClientWithResponses) PostVectorDatabaseSearchWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseSearchResponse, error)

PostVectorDatabaseSearchWithResponse Search a vector database

Searches a vector database by query text and/or image URL.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).

func (*ClientWithResponses) PostVectorDatabaseViewElementWithBodyWithResponse

func (c *ClientWithResponses) PostVectorDatabaseViewElementWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseViewElementResponse, error)

PostVectorDatabaseViewElementWithBodyWithResponse View an element

Records a view for a document and returns a recommend token.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).

func (*ClientWithResponses) PostVectorDatabaseViewElementWithResponse

func (c *ClientWithResponses) PostVectorDatabaseViewElementWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseViewElementJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseViewElementResponse, error)

PostVectorDatabaseViewElementWithResponse View an element

Records a view for a document and returns a recommend token.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).

func (*ClientWithResponses) PostVectorDatabasesWithBodyWithResponse

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

PostVectorDatabasesWithBodyWithResponse Create a vector database

Creates a new vector database for the authenticated account.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).

func (*ClientWithResponses) PostVectorDatabasesWithResponse

func (c *ClientWithResponses) PostVectorDatabasesWithResponse(ctx context.Context, body PostVectorDatabasesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabasesResponse, error)

PostVectorDatabasesWithResponse Create a vector database

Creates a new vector database for the authenticated account.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetAccountsWithResponse List user accounts
	//
	// Returns the accounts and memberships visible to the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /accounts (the `GetAccounts` operationId).
	GetAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsResponse, error)

	// PostAccountsWithBodyWithResponse Create an account
	//
	// Creates a new account owned by the authenticated user.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /accounts (the `PostAccounts` operationId).
	PostAccountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountsResponse, error)

	// PostAccountsWithResponse Create an account
	//
	// Creates a new account owned by the authenticated user.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /accounts (the `PostAccounts` operationId).
	PostAccountsWithResponse(ctx context.Context, body PostAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsResponse, error)

	// DeleteAccountsCurrentWithResponse Delete the selected account
	//
	// Deletes the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /accounts/current (the `DeleteAccountsCurrent` operationId).
	DeleteAccountsCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountsCurrentResponse, error)

	// GetAccountsCurrentWithResponse Get the selected account
	//
	// Returns the account resolved from the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /accounts/current (the `GetAccountsCurrent` operationId).
	GetAccountsCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsCurrentResponse, error)

	// PatchAccountsCurrentWithBodyWithResponse Update the selected account
	//
	// Updates editable metadata for the active account context.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).
	PatchAccountsCurrentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentResponse, error)

	// PatchAccountsCurrentWithResponse Update the selected account
	//
	// Updates editable metadata for the active account context.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /accounts/current (the `PatchAccountsCurrent` operationId).
	PatchAccountsCurrentWithResponse(ctx context.Context, body PatchAccountsCurrentJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentResponse, error)

	// PatchAccountsCurrentFiscalProfileWithBodyWithResponse Update the current account fiscal profile
	//
	// Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).
	PatchAccountsCurrentFiscalProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentFiscalProfileResponse, error)

	// PatchAccountsCurrentFiscalProfileWithResponse Update the current account fiscal profile
	//
	// Updates only the fiscal-profile fields of the active account context, preserving the existing account name and description.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /accounts/current/fiscal-profile (the `PatchAccountsCurrentFiscalProfile` operationId).
	PatchAccountsCurrentFiscalProfileWithResponse(ctx context.Context, body PatchAccountsCurrentFiscalProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentFiscalProfileResponse, error)

	// PostAccountsCurrentInvitationsWithBodyWithResponse Create an invitation for the selected account
	//
	// Invites a user by email to join the active account context with a given role.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).
	PostAccountsCurrentInvitationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountsCurrentInvitationsResponse, error)

	// PostAccountsCurrentInvitationsWithResponse Create an invitation for the selected account
	//
	// Invites a user by email to join the active account context with a given role.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /accounts/current/invitations (the `PostAccountsCurrentInvitations` operationId).
	PostAccountsCurrentInvitationsWithResponse(ctx context.Context, body PostAccountsCurrentInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsCurrentInvitationsResponse, error)

	// DeleteAccountsCurrentInvitationsByInvitationIDWithResponse Cancel an invitation for the selected account
	//
	// Cancels a pending invitation issued by the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /accounts/current/invitations/{invitationID} (the `DeleteAccountsCurrentInvitationsByInvitationID` operationId).
	DeleteAccountsCurrentInvitationsByInvitationIDWithResponse(ctx context.Context, invitationID string, reqEditors ...RequestEditorFn) (*DeleteAccountsCurrentInvitationsByInvitationIDResponse, error)

	// GetAccountsCurrentMembersWithResponse List selected account members
	//
	// Returns the members and roles for the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /accounts/current/members (the `GetAccountsCurrentMembers` operationId).
	GetAccountsCurrentMembersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsCurrentMembersResponse, error)

	// PostAccountsCurrentMembersWithBodyWithResponse Add a member to the selected account
	//
	// Adds a registered user to the active account context or updates their role if they already belong to it.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).
	PostAccountsCurrentMembersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAccountsCurrentMembersResponse, error)

	// PostAccountsCurrentMembersWithResponse Add a member to the selected account
	//
	// Adds a registered user to the active account context or updates their role if they already belong to it.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /accounts/current/members (the `PostAccountsCurrentMembers` operationId).
	PostAccountsCurrentMembersWithResponse(ctx context.Context, body PostAccountsCurrentMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAccountsCurrentMembersResponse, error)

	// PatchAccountsCurrentMembersByUserIDWithBodyWithResponse Update a selected account member role
	//
	// Updates the role of an existing user within the active account context.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).
	PatchAccountsCurrentMembersByUserIDWithBodyWithResponse(ctx context.Context, userID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentMembersByUserIDResponse, error)

	// PatchAccountsCurrentMembersByUserIDWithResponse Update a selected account member role
	//
	// Updates the role of an existing user within the active account context.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /accounts/current/members/{userID} (the `PatchAccountsCurrentMembersByUserID` operationId).
	PatchAccountsCurrentMembersByUserIDWithResponse(ctx context.Context, userID string, body PatchAccountsCurrentMembersByUserIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAccountsCurrentMembersByUserIDResponse, error)

	// GetApiKeysWithResponse List API keys for the selected account
	//
	// Returns the API keys issued for the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api-keys (the `GetApiKeys` operationId).
	GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)

	// PostApiKeysWithResponse Create an API key for the selected account
	//
	// Issues a new API key for the active account context and returns the plaintext key once.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
	PostApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

	// PostApiKeysKeyIDRevokeWithResponse Revoke an API key
	//
	// Revokes an API key issued for the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api-keys/{keyID}/revoke (the `PostApiKeysKeyIDRevoke` operationId).
	PostApiKeysKeyIDRevokeWithResponse(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*PostApiKeysKeyIDRevokeResponse, error)

	// PostAuthForgotPasswordWithBodyWithResponse Request a password reset email
	//
	// Always returns 200 with a generic message to avoid user enumeration.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).
	PostAuthForgotPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthForgotPasswordResponse, error)

	// PostAuthForgotPasswordWithResponse Request a password reset email
	//
	// Always returns 200 with a generic message to avoid user enumeration.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/forgot-password (the `PostAuthForgotPassword` operationId).
	PostAuthForgotPasswordWithResponse(ctx context.Context, body PostAuthForgotPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthForgotPasswordResponse, error)

	// PostAuthLoginWithBodyWithResponse Authenticate a user
	//
	// Exchanges email and password credentials for access and refresh tokens.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/login (the `PostAuthLogin` operationId).
	PostAuthLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthLoginResponse, error)

	// PostAuthLoginWithResponse Authenticate a user
	//
	// Exchanges email and password credentials for access and refresh tokens.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/login (the `PostAuthLogin` operationId).
	PostAuthLoginWithResponse(ctx context.Context, body PostAuthLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthLoginResponse, error)

	// GetAuthMeWithResponse Return the current authenticated user
	//
	// Resolves the user attached to the bearer token.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /auth/me (the `GetAuthMe` operationId).
	GetAuthMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthMeResponse, error)

	// GetAuthPasskeysWithResponse List passkeys
	//
	// Returns the current user's passkey credentials.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /auth/passkeys (the `GetAuthPasskeys` operationId).
	GetAuthPasskeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthPasskeysResponse, error)

	// PostAuthPasskeysWithBodyWithResponse Register a passkey
	//
	// Stores a passkey credential for the authenticated user.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).
	PostAuthPasskeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthPasskeysResponse, error)

	// PostAuthPasskeysWithResponse Register a passkey
	//
	// Stores a passkey credential for the authenticated user.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys (the `PostAuthPasskeys` operationId).
	PostAuthPasskeysWithResponse(ctx context.Context, body PostAuthPasskeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthPasskeysResponse, error)

	// PostAuthPasskeysBeginLoginWithBodyWithResponse Begin passkey login
	//
	// Creates a passkey login challenge for the provided email.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).
	PostAuthPasskeysBeginLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthPasskeysBeginLoginResponse, error)

	// PostAuthPasskeysBeginLoginWithResponse Begin passkey login
	//
	// Creates a passkey login challenge for the provided email.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys/begin-login (the `PostAuthPasskeysBeginLogin` operationId).
	PostAuthPasskeysBeginLoginWithResponse(ctx context.Context, body PostAuthPasskeysBeginLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthPasskeysBeginLoginResponse, error)

	// PostAuthPasskeysBeginRegistrationWithResponse Begin passkey registration
	//
	// Creates a passkey registration challenge for the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys/begin-registration (the `PostAuthPasskeysBeginRegistration` operationId).
	PostAuthPasskeysBeginRegistrationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthPasskeysBeginRegistrationResponse, error)

	// PostAuthPasskeysFinishLoginWithBodyWithResponse Finish passkey login
	//
	// Consumes a passkey login challenge and returns a session.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).
	PostAuthPasskeysFinishLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthPasskeysFinishLoginResponse, error)

	// PostAuthPasskeysFinishLoginWithResponse Finish passkey login
	//
	// Consumes a passkey login challenge and returns a session.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys/finish-login (the `PostAuthPasskeysFinishLogin` operationId).
	PostAuthPasskeysFinishLoginWithResponse(ctx context.Context, body PostAuthPasskeysFinishLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthPasskeysFinishLoginResponse, error)

	// PostAuthPasskeysFinishRegistrationWithBodyWithResponse Finish passkey registration
	//
	// Consumes a passkey registration challenge and stores the credential.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).
	PostAuthPasskeysFinishRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthPasskeysFinishRegistrationResponse, error)

	// PostAuthPasskeysFinishRegistrationWithResponse Finish passkey registration
	//
	// Consumes a passkey registration challenge and stores the credential.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/passkeys/finish-registration (the `PostAuthPasskeysFinishRegistration` operationId).
	PostAuthPasskeysFinishRegistrationWithResponse(ctx context.Context, body PostAuthPasskeysFinishRegistrationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthPasskeysFinishRegistrationResponse, error)

	// DeleteAuthPasskeysWithResponse Remove a passkey
	//
	// Deletes a passkey credential from the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /auth/passkeys/{credentialID} (the `DeleteAuthPasskeys` operationId).
	DeleteAuthPasskeysWithResponse(ctx context.Context, credentialID string, reqEditors ...RequestEditorFn) (*DeleteAuthPasskeysResponse, error)

	// PatchAuthPasswordWithBodyWithResponse Change the current user's password
	//
	// Requires the authenticated user to provide the current password and a new password.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).
	PatchAuthPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAuthPasswordResponse, error)

	// PatchAuthPasswordWithResponse Change the current user's password
	//
	// Requires the authenticated user to provide the current password and a new password.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /auth/password (the `PatchAuthPassword` operationId).
	PatchAuthPasswordWithResponse(ctx context.Context, body PatchAuthPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAuthPasswordResponse, error)

	// GetAuthPreferencesWithResponse Get the current user's security preferences
	//
	// Returns the per-user security toggles for the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /auth/preferences (the `GetAuthPreferences` operationId).
	GetAuthPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthPreferencesResponse, error)

	// PatchAuthPreferencesWithBodyWithResponse Update the current user's security preferences
	//
	// Partial update of the per-user security toggles. Only fields present in the body are applied.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).
	PatchAuthPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAuthPreferencesResponse, error)

	// PatchAuthPreferencesWithResponse Update the current user's security preferences
	//
	// Partial update of the per-user security toggles. Only fields present in the body are applied.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /auth/preferences (the `PatchAuthPreferences` operationId).
	PatchAuthPreferencesWithResponse(ctx context.Context, body PatchAuthPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAuthPreferencesResponse, error)

	// PostAuthRefreshWithBodyWithResponse Refresh an access token
	//
	// Exchanges a refresh token for a new access token.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).
	PostAuthRefreshWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthRefreshResponse, error)

	// PostAuthRefreshWithResponse Refresh an access token
	//
	// Exchanges a refresh token for a new access token.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/refresh (the `PostAuthRefresh` operationId).
	PostAuthRefreshWithResponse(ctx context.Context, body PostAuthRefreshJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthRefreshResponse, error)

	// PostAuthRegisterWithBodyWithResponse Register a new user
	//
	// Creates a new account using email and password credentials.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/register (the `PostAuthRegister` operationId).
	PostAuthRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthRegisterResponse, error)

	// PostAuthRegisterWithResponse Register a new user
	//
	// Creates a new account using email and password credentials.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/register (the `PostAuthRegister` operationId).
	PostAuthRegisterWithResponse(ctx context.Context, body PostAuthRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthRegisterResponse, error)

	// PostAuthResetPasswordWithBodyWithResponse Reset a password using a one-time token
	//
	// Consumes the reset token, updates the password, and returns a fresh session.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).
	PostAuthResetPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthResetPasswordResponse, error)

	// PostAuthResetPasswordWithResponse Reset a password using a one-time token
	//
	// Consumes the reset token, updates the password, and returns a fresh session.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/reset-password (the `PostAuthResetPassword` operationId).
	PostAuthResetPasswordWithResponse(ctx context.Context, body PostAuthResetPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthResetPasswordResponse, error)

	// DeleteAuthTotpWithResponse Disable TOTP
	//
	// Removes the current user's TOTP credential.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /auth/totp (the `DeleteAuthTotp` operationId).
	DeleteAuthTotpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAuthTotpResponse, error)

	// PostAuthTotpBeginWithResponse Start TOTP enrollment
	//
	// Returns a new TOTP secret and otpauth URI for the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/totp/begin (the `PostAuthTotpBegin` operationId).
	PostAuthTotpBeginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthTotpBeginResponse, error)

	// PostAuthTotpConfirmWithBodyWithResponse Confirm TOTP enrollment
	//
	// Stores a TOTP secret for the authenticated user after verifying the code.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).
	PostAuthTotpConfirmWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAuthTotpConfirmResponse, error)

	// PostAuthTotpConfirmWithResponse Confirm TOTP enrollment
	//
	// Stores a TOTP secret for the authenticated user after verifying the code.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /auth/totp/confirm (the `PostAuthTotpConfirm` operationId).
	PostAuthTotpConfirmWithResponse(ctx context.Context, body PostAuthTotpConfirmJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAuthTotpConfirmResponse, error)

	// GetAuthVerifyEmailWithResponse Verify an email activation link
	//
	// Consumes the activation token and returns a session.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /auth/verify-email (the `GetAuthVerifyEmail` operationId).
	GetAuthVerifyEmailWithResponse(ctx context.Context, params *GetAuthVerifyEmailParams, reqEditors ...RequestEditorFn) (*GetAuthVerifyEmailResponse, error)

	// GetBillingBalanceWithResponse Get the current account balance
	//
	// Returns the billing balance of the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /billing/balance (the `GetBillingBalance` operationId).
	GetBillingBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingBalanceResponse, error)

	// PostBillingCheckoutWithBodyWithResponse Create a checkout session
	//
	// Creates a billing checkout session for the authenticated account.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).
	PostBillingCheckoutWithBodyWithResponse(ctx context.Context, params *PostBillingCheckoutParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingCheckoutResponse, error)

	// PostBillingCheckoutWithResponse Create a checkout session
	//
	// Creates a billing checkout session for the authenticated account.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /billing/checkout (the `PostBillingCheckout` operationId).
	PostBillingCheckoutWithResponse(ctx context.Context, params *PostBillingCheckoutParams, body PostBillingCheckoutJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBillingCheckoutResponse, error)

	// PostBillingDebitWithBodyWithResponse Debit the current account balance
	//
	// Debits a positive amount from the authenticated account.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).
	PostBillingDebitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingDebitResponse, error)

	// PostBillingDebitWithResponse Debit the current account balance
	//
	// Debits a positive amount from the authenticated account.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /billing/debit (the `PostBillingDebit` operationId).
	PostBillingDebitWithResponse(ctx context.Context, body PostBillingDebitJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBillingDebitResponse, error)

	// GetBillingLedgerWithResponse List ledger entries
	//
	// Returns ledger movements for the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /billing/ledger (the `GetBillingLedger` operationId).
	GetBillingLedgerWithResponse(ctx context.Context, params *GetBillingLedgerParams, reqEditors ...RequestEditorFn) (*GetBillingLedgerResponse, error)

	// GetBillingPaymentsWithResponse List payments for the authenticated account
	//
	// Returns the payment history for the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /billing/payments (the `GetBillingPayments` operationId).
	GetBillingPaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingPaymentsResponse, error)

	// GetBillingPaymentsPaymentIDInvoicePDFWithResponse Download a payment invoice PDF
	//
	// Returns the invoice PDF for a given payment of the active account context.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /billing/payments/{paymentID}/invoice.pdf (the `GetBillingPaymentsPaymentIDInvoicePDF` operationId).
	GetBillingPaymentsPaymentIDInvoicePDFWithResponse(ctx context.Context, paymentID string, reqEditors ...RequestEditorFn) (*GetBillingPaymentsPaymentIDInvoicePDFResponse, error)

	// PostBillingQuoteWithBodyWithResponse Quote a checkout total
	//
	// Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).
	PostBillingQuoteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBillingQuoteResponse, error)

	// PostBillingQuoteWithResponse Quote a checkout total
	//
	// Resolves the authenticated account's application-side tax quote without creating Stripe or checkout state.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /billing/quote (the `PostBillingQuote` operationId).
	PostBillingQuoteWithResponse(ctx context.Context, body PostBillingQuoteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostBillingQuoteResponse, error)

	// GetFirewallRulesWithResponse List firewall rules
	//
	// Returns all firewall rules for the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /firewall-rules (the `GetFirewallRules` operationId).
	GetFirewallRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFirewallRulesResponse, error)

	// PostFirewallRuleWithBodyWithResponse Create a firewall rule
	//
	// Creates a new firewall rule for the authenticated account.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).
	PostFirewallRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFirewallRuleResponse, error)

	// PostFirewallRuleWithResponse Create a firewall rule
	//
	// Creates a new firewall rule for the authenticated account.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewall-rules (the `PostFirewallRule` operationId).
	PostFirewallRuleWithResponse(ctx context.Context, body PostFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallRuleResponse, error)

	// DeleteFirewallRuleWithResponse Delete a firewall rule
	//
	// Removes a firewall rule by slug.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /firewall-rules/{ruleSlug} (the `DeleteFirewallRule` operationId).
	DeleteFirewallRuleWithResponse(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*DeleteFirewallRuleResponse, error)

	// GetFirewallRuleWithResponse Get a firewall rule
	//
	// Returns a single firewall rule by slug.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /firewall-rules/{ruleSlug} (the `GetFirewallRule` operationId).
	GetFirewallRuleWithResponse(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*GetFirewallRuleResponse, error)

	// PatchFirewallRuleWithBodyWithResponse Update a firewall rule
	//
	// Partially updates a firewall rule by slug.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).
	PatchFirewallRuleWithBodyWithResponse(ctx context.Context, ruleSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFirewallRuleResponse, error)

	// PatchFirewallRuleWithResponse Update a firewall rule
	//
	// Partially updates a firewall rule by slug.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /firewall-rules/{ruleSlug} (the `PatchFirewallRule` operationId).
	PatchFirewallRuleWithResponse(ctx context.Context, ruleSlug string, body PatchFirewallRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFirewallRuleResponse, error)

	// PostFirewallRuleEvaluateWithBodyWithResponse Evaluate a firewall rule
	//
	// Runs input against a single firewall rule and returns the evaluation result.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).
	PostFirewallRuleEvaluateWithBodyWithResponse(ctx context.Context, ruleSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFirewallRuleEvaluateResponse, error)

	// PostFirewallRuleEvaluateWithResponse Evaluate a firewall rule
	//
	// Runs input against a single firewall rule and returns the evaluation result.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewall-rules/{ruleSlug}:evaluate (the `PostFirewallRuleEvaluate` operationId).
	PostFirewallRuleEvaluateWithResponse(ctx context.Context, ruleSlug string, body PostFirewallRuleEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallRuleEvaluateResponse, error)

	// GetFirewallsWithResponse List firewalls
	//
	// Returns all firewalls for the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /firewalls (the `GetFirewalls` operationId).
	GetFirewallsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFirewallsResponse, error)

	// PostFirewallWithBodyWithResponse Create a firewall
	//
	// Creates a new firewall for the authenticated account.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewalls (the `PostFirewall` operationId).
	PostFirewallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFirewallResponse, error)

	// PostFirewallWithResponse Create a firewall
	//
	// Creates a new firewall for the authenticated account.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewalls (the `PostFirewall` operationId).
	PostFirewallWithResponse(ctx context.Context, body PostFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallResponse, error)

	// DeleteFirewallWithResponse Delete a firewall
	//
	// Removes a firewall by slug.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /firewalls/{firewallSlug} (the `DeleteFirewall` operationId).
	DeleteFirewallWithResponse(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*DeleteFirewallResponse, error)

	// GetFirewallWithResponse Get a firewall
	//
	// Returns a single firewall by slug.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /firewalls/{firewallSlug} (the `GetFirewall` operationId).
	GetFirewallWithResponse(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*GetFirewallResponse, error)

	// PatchFirewallWithBodyWithResponse Update a firewall
	//
	// Partially updates a firewall by slug.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).
	PatchFirewallWithBodyWithResponse(ctx context.Context, firewallSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFirewallResponse, error)

	// PatchFirewallWithResponse Update a firewall
	//
	// Partially updates a firewall by slug.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /firewalls/{firewallSlug} (the `PatchFirewall` operationId).
	PatchFirewallWithResponse(ctx context.Context, firewallSlug string, body PatchFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFirewallResponse, error)

	// PostFirewallEvaluateWithBodyWithResponse Evaluate a firewall
	//
	// Runs input against a firewall and returns the evaluation result.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).
	PostFirewallEvaluateWithBodyWithResponse(ctx context.Context, firewallSlug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFirewallEvaluateResponse, error)

	// PostFirewallEvaluateWithResponse Evaluate a firewall
	//
	// Runs input against a firewall and returns the evaluation result.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /firewalls/{firewallSlug}:evaluate (the `PostFirewallEvaluate` operationId).
	PostFirewallEvaluateWithResponse(ctx context.Context, firewallSlug string, body PostFirewallEvaluateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFirewallEvaluateResponse, error)

	// GetVectorDatabasesWithResponse List vector databases
	//
	// Returns the vector databases owned by the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /flexible-vector-databases (the `GetVectorDatabases` operationId).
	GetVectorDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVectorDatabasesResponse, error)

	// PostVectorDatabasesWithBodyWithResponse Create a vector database
	//
	// Creates a new vector database for the authenticated account.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).
	PostVectorDatabasesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabasesResponse, error)

	// PostVectorDatabasesWithResponse Create a vector database
	//
	// Creates a new vector database for the authenticated account.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases (the `PostVectorDatabases` operationId).
	PostVectorDatabasesWithResponse(ctx context.Context, body PostVectorDatabasesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabasesResponse, error)

	// DeleteVectorDatabaseWithResponse Delete a vector database
	//
	// Removes a vector database owned by the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /flexible-vector-databases/{databaseID} (the `DeleteVectorDatabase` operationId).
	DeleteVectorDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DeleteVectorDatabaseResponse, error)

	// GetVectorDatabaseWithResponse Get a vector database
	//
	// Returns a single vector database owned by the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /flexible-vector-databases/{databaseID} (the `GetVectorDatabase` operationId).
	GetVectorDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*GetVectorDatabaseResponse, error)

	// PatchVectorDatabaseWithBodyWithResponse Update a vector database
	//
	// Updates the slug, name, or description of an existing vector database.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).
	PatchVectorDatabaseWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchVectorDatabaseResponse, error)

	// PatchVectorDatabaseWithResponse Update a vector database
	//
	// Updates the slug, name, or description of an existing vector database.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /flexible-vector-databases/{databaseID} (the `PatchVectorDatabase` operationId).
	PatchVectorDatabaseWithResponse(ctx context.Context, databaseID string, body PatchVectorDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchVectorDatabaseResponse, error)

	// GetVectorDatabaseDocumentsWithResponse List documents in a vector database
	//
	// Returns documents stored in a vector database with optional pagination.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /flexible-vector-databases/{databaseID}/documents (the `GetVectorDatabaseDocuments` operationId).
	GetVectorDatabaseDocumentsWithResponse(ctx context.Context, databaseID string, params *GetVectorDatabaseDocumentsParams, reqEditors ...RequestEditorFn) (*GetVectorDatabaseDocumentsResponse, error)

	// PostVectorDatabaseIndexDirectWithBodyWithResponse Index documents directly
	//
	// Indexes documents into a vector database synchronously.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).
	PostVectorDatabaseIndexDirectWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexDirectResponse, error)

	// PostVectorDatabaseIndexDirectWithResponse Index documents directly
	//
	// Indexes documents into a vector database synchronously.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-direct (the `PostVectorDatabaseIndexDirect` operationId).
	PostVectorDatabaseIndexDirectWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseIndexDirectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexDirectResponse, error)

	// PostVectorDatabaseIndexJobsWithBodyWithResponse Enqueue an index job
	//
	// Enqueues documents for asynchronous indexing into a vector database.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).
	PostVectorDatabaseIndexJobsWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexJobsResponse, error)

	// PostVectorDatabaseIndexJobsWithResponse Enqueue an index job
	//
	// Enqueues documents for asynchronous indexing into a vector database.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/index-jobs (the `PostVectorDatabaseIndexJobs` operationId).
	PostVectorDatabaseIndexJobsWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseIndexJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseIndexJobsResponse, error)

	// GetVectorDatabaseIndexJobWithResponse Get an index job
	//
	// Returns the status of an asynchronous index job.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /flexible-vector-databases/{databaseID}/index-jobs/{jobID} (the `GetVectorDatabaseIndexJob` operationId).
	GetVectorDatabaseIndexJobWithResponse(ctx context.Context, databaseID string, jobID string, reqEditors ...RequestEditorFn) (*GetVectorDatabaseIndexJobResponse, error)

	// PostVectorDatabaseRecommendWithBodyWithResponse Recommend documents
	//
	// Returns recommended documents for a recommend token.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).
	PostVectorDatabaseRecommendWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseRecommendResponse, error)

	// PostVectorDatabaseRecommendWithResponse Recommend documents
	//
	// Returns recommended documents for a recommend token.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/recommend (the `PostVectorDatabaseRecommend` operationId).
	PostVectorDatabaseRecommendWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseRecommendJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseRecommendResponse, error)

	// PostVectorDatabaseSearchWithBodyWithResponse Search a vector database
	//
	// Searches a vector database by query text and/or image URL.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).
	PostVectorDatabaseSearchWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseSearchResponse, error)

	// PostVectorDatabaseSearchWithResponse Search a vector database
	//
	// Searches a vector database by query text and/or image URL.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/search (the `PostVectorDatabaseSearch` operationId).
	PostVectorDatabaseSearchWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseSearchResponse, error)

	// PostVectorDatabaseViewElementWithBodyWithResponse View an element
	//
	// Records a view for a document and returns a recommend token.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).
	PostVectorDatabaseViewElementWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVectorDatabaseViewElementResponse, error)

	// PostVectorDatabaseViewElementWithResponse View an element
	//
	// Records a view for a document and returns a recommend token.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /flexible-vector-databases/{databaseID}/view-element (the `PostVectorDatabaseViewElement` operationId).
	PostVectorDatabaseViewElementWithResponse(ctx context.Context, databaseID string, body PostVectorDatabaseViewElementJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVectorDatabaseViewElementResponse, error)

	// GetHealthWithResponse Health check
	//
	// Returns service health.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /health (the `GetHealth` operationId).
	GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

	// GetHuggingfaceEmbeddingsWithResponse Search embedding models
	//
	// Searches Hugging Face for embedding models.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /huggingface/embeddings (the `GetHuggingfaceEmbeddings` operationId).
	GetHuggingfaceEmbeddingsWithResponse(ctx context.Context, params *GetHuggingfaceEmbeddingsParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceEmbeddingsResponse, error)

	// GetHuggingfaceFilesWithResponse Get Hugging Face file sizes
	//
	// Returns GGUF file sizes and quantization for a Hugging Face repository.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /huggingface/files (the `GetHuggingfaceFiles` operationId).
	GetHuggingfaceFilesWithResponse(ctx context.Context, params *GetHuggingfaceFilesParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceFilesResponse, error)

	// GetHuggingfaceModelsWithResponse Search Hugging Face models
	//
	// Searches Hugging Face for compatible models matching the query.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /huggingface/models (the `GetHuggingfaceModels` operationId).
	GetHuggingfaceModelsWithResponse(ctx context.Context, params *GetHuggingfaceModelsParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceModelsResponse, error)

	// GetHuggingfaceOrgsWithResponse Get Hugging Face organization info
	//
	// Returns profile information for a Hugging Face organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /huggingface/orgs/{org} (the `GetHuggingfaceOrgs` operationId).
	GetHuggingfaceOrgsWithResponse(ctx context.Context, org string, reqEditors ...RequestEditorFn) (*GetHuggingfaceOrgsResponse, error)

	// GetHuggingfaceSearchTagWithResponse Search Hugging Face models by tag
	//
	// Searches Hugging Face for models matching a query and pipeline tag.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /huggingface/search-tag (the `GetHuggingfaceSearchTag` operationId).
	GetHuggingfaceSearchTagWithResponse(ctx context.Context, params *GetHuggingfaceSearchTagParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceSearchTagResponse, error)

	// GetHuggingfaceTrendingWithResponse Trending Hugging Face models
	//
	// Returns trending Hugging Face models.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /huggingface/trending (the `GetHuggingfaceTrending` operationId).
	GetHuggingfaceTrendingWithResponse(ctx context.Context, params *GetHuggingfaceTrendingParams, reqEditors ...RequestEditorFn) (*GetHuggingfaceTrendingResponse, error)

	// GetInstanceConfigGpusWithResponse List available GPUs
	//
	// Returns the GPU catalog with pricing, regions, and availability for the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /instance-config/gpus (the `GetInstanceConfigGpus` operationId).
	GetInstanceConfigGpusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceConfigGpusResponse, error)

	// GetInstancesWithResponse List inference instances
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /instances (the `GetInstances` operationId).
	GetInstancesWithResponse(ctx context.Context, params *GetInstancesParams, reqEditors ...RequestEditorFn) (*GetInstancesResponse, error)

	// PostInstancesWithBodyWithResponse Create an inference instance
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances (the `PostInstances` operationId).
	PostInstancesWithBodyWithResponse(ctx context.Context, params *PostInstancesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInstancesResponse, error)

	// PostInstancesWithResponse Create an inference instance
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances (the `PostInstances` operationId).
	PostInstancesWithResponse(ctx context.Context, params *PostInstancesParams, body PostInstancesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInstancesResponse, error)

	// DeleteInstanceWithResponse Delete an inference instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /instances/{instanceID} (the `DeleteInstance` operationId).
	DeleteInstanceWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error)

	// GetInstanceByIDWithResponse Get an inference instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /instances/{instanceID} (the `GetInstanceByID` operationId).
	GetInstanceByIDWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*GetInstanceByIDResponse, error)

	// PatchInstanceWithBodyWithResponse Update an inference instance
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).
	PatchInstanceWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInstanceResponse, error)

	// PatchInstanceWithResponse Update an inference instance
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /instances/{instanceID} (the `PatchInstance` operationId).
	PatchInstanceWithResponse(ctx context.Context, instanceID string, body PatchInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInstanceResponse, error)

	// PostInstancePreviewUpdateWithBodyWithResponse Preview smart selection for an existing instance update
	//
	// Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).
	PostInstancePreviewUpdateWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInstancePreviewUpdateResponse, error)

	// PostInstancePreviewUpdateWithResponse Preview smart selection for an existing instance update
	//
	// Previews the compatibility and smart selection for an existing instance while applying smart-setting overrides from the request body. Lets the instance settings page fetch the same backend-filtered GPU list used at launch time instead of reimplementing compatibility filtering in the UI.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances/{instanceID}/preview (the `PostInstancePreviewUpdate` operationId).
	PostInstancePreviewUpdateWithResponse(ctx context.Context, instanceID string, body PostInstancePreviewUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInstancePreviewUpdateResponse, error)

	// GetInstanceScheduleRulesWithResponse List schedule rules for an instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /instances/{instanceID}/schedule-rules (the `GetInstanceScheduleRules` operationId).
	GetInstanceScheduleRulesWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*GetInstanceScheduleRulesResponse, error)

	// PostInstanceScheduleRuleWithBodyWithResponse Create a schedule rule for an instance
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).
	PostInstanceScheduleRuleWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInstanceScheduleRuleResponse, error)

	// PostInstanceScheduleRuleWithResponse Create a schedule rule for an instance
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances/{instanceID}/schedule-rules (the `PostInstanceScheduleRule` operationId).
	PostInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, body PostInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInstanceScheduleRuleResponse, error)

	// DeleteInstanceScheduleRuleWithResponse Delete a schedule rule for an instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /instances/{instanceID}/schedule-rules/{ruleID} (the `DeleteInstanceScheduleRule` operationId).
	DeleteInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, ruleID string, reqEditors ...RequestEditorFn) (*DeleteInstanceScheduleRuleResponse, error)

	// PatchInstanceScheduleRuleWithBodyWithResponse Update a schedule rule for an instance
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).
	PatchInstanceScheduleRuleWithBodyWithResponse(ctx context.Context, instanceID string, ruleID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchInstanceScheduleRuleResponse, error)

	// PatchInstanceScheduleRuleWithResponse Update a schedule rule for an instance
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /instances/{instanceID}/schedule-rules/{ruleID} (the `PatchInstanceScheduleRule` operationId).
	PatchInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, ruleID string, body PatchInstanceScheduleRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchInstanceScheduleRuleResponse, error)

	// PostInstanceStartWithResponse Start an inference instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances/{instanceID}/start (the `PostInstanceStart` operationId).
	PostInstanceStartWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*PostInstanceStartResponse, error)

	// PostInstanceStopWithResponse Stop an inference instance
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /instances/{instanceID}/stop (the `PostInstanceStop` operationId).
	PostInstanceStopWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*PostInstanceStopResponse, error)

	// GetInstanceUsageWithResponse Get an inference instance usage and cost breakdown
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /instances/{instanceID}/usage (the `GetInstanceUsage` operationId).
	GetInstanceUsageWithResponse(ctx context.Context, instanceID string, params *GetInstanceUsageParams, reqEditors ...RequestEditorFn) (*GetInstanceUsageResponse, error)

	// GetInvitationsWithResponse List pending invitations for the authenticated user
	//
	// Returns invitations pending acceptance that were sent to the authenticated user's email.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /invitations (the `GetInvitations` operationId).
	GetInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInvitationsResponse, error)

	// PostInvitationsAcceptWithBodyWithResponse Accept an invitation
	//
	// Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).
	PostInvitationsAcceptWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostInvitationsAcceptResponse, error)

	// PostInvitationsAcceptWithResponse Accept an invitation
	//
	// Accepts a pending invitation by token or invitation ID and attaches the authenticated user to the account.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /invitations/accept (the `PostInvitationsAccept` operationId).
	PostInvitationsAcceptWithResponse(ctx context.Context, body PostInvitationsAcceptJSONRequestBody, reqEditors ...RequestEditorFn) (*PostInvitationsAcceptResponse, error)

	// GetModelsFixedWithResponse List fixed models
	//
	// Returns the catalog of fixed (curated) models supported by the platform.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /models/fixed (the `GetModelsFixed` operationId).
	GetModelsFixedWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetModelsFixedResponse, error)

	// GetReplicaSetsWithResponse List replica sets
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /replica-sets (the `GetReplicaSets` operationId).
	GetReplicaSetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReplicaSetsResponse, error)

	// DeleteReplicaSetWithResponse Delete a replica set
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /replica-sets/{replicaSetID} (the `DeleteReplicaSet` operationId).
	DeleteReplicaSetWithResponse(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*DeleteReplicaSetResponse, error)

	// GetReplicaSetWithResponse Get a replica set
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /replica-sets/{replicaSetID} (the `GetReplicaSet` operationId).
	GetReplicaSetWithResponse(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*GetReplicaSetResponse, error)

	// PatchReplicaSetWithBodyWithResponse Update a replica set
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).
	PatchReplicaSetWithBodyWithResponse(ctx context.Context, replicaSetID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchReplicaSetResponse, error)

	// PatchReplicaSetWithResponse Update a replica set
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /replica-sets/{replicaSetID} (the `PatchReplicaSet` operationId).
	PatchReplicaSetWithResponse(ctx context.Context, replicaSetID string, body PatchReplicaSetJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchReplicaSetResponse, error)

	// PostReplicaSetScaleWithBodyWithResponse Scale a replica set
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).
	PostReplicaSetScaleWithBodyWithResponse(ctx context.Context, replicaSetID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostReplicaSetScaleResponse, error)

	// PostReplicaSetScaleWithResponse Scale a replica set
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /replica-sets/{replicaSetID}/scale (the `PostReplicaSetScale` operationId).
	PostReplicaSetScaleWithResponse(ctx context.Context, replicaSetID string, body PostReplicaSetScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostReplicaSetScaleResponse, error)

	// PostRuntimeNotifyCrashWithBodyWithResponse Report a runtime pod crash
	//
	// Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).
	PostRuntimeNotifyCrashWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRuntimeNotifyCrashResponse, error)

	// PostRuntimeNotifyCrashWithResponse Report a runtime pod crash
	//
	// Handles crash notifications from runtime pods. The request must include a valid runtime JWT in the Authorization header (not a user Bearer token).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /runtime/notify/crash (the `PostRuntimeNotifyCrash` operationId).
	PostRuntimeNotifyCrashWithResponse(ctx context.Context, body PostRuntimeNotifyCrashJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRuntimeNotifyCrashResponse, error)

	// GetServingEndpointsWithResponse List serving endpoints
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /serving-endpoints (the `GetServingEndpoints` operationId).
	GetServingEndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetServingEndpointsResponse, error)

	// PostServingEndpointWithBodyWithResponse Create a serving endpoint
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).
	PostServingEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostServingEndpointResponse, error)

	// PostServingEndpointWithResponse Create a serving endpoint
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /serving-endpoints (the `PostServingEndpoint` operationId).
	PostServingEndpointWithResponse(ctx context.Context, body PostServingEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*PostServingEndpointResponse, error)

	// GetSmartBalancersWithResponse List smart balancers
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /smart-balancers (the `GetSmartBalancers` operationId).
	GetSmartBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSmartBalancersResponse, error)

	// PostSmartBalancerWithBodyWithResponse Create a smart balancer
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).
	PostSmartBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSmartBalancerResponse, error)

	// PostSmartBalancerWithResponse Create a smart balancer
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /smart-balancers (the `PostSmartBalancer` operationId).
	PostSmartBalancerWithResponse(ctx context.Context, body PostSmartBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSmartBalancerResponse, error)

	// DeleteSmartBalancerWithResponse Delete a smart balancer
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /smart-balancers/{smartBalancerID} (the `DeleteSmartBalancer` operationId).
	DeleteSmartBalancerWithResponse(ctx context.Context, smartBalancerID string, reqEditors ...RequestEditorFn) (*DeleteSmartBalancerResponse, error)

	// PatchSmartBalancerWithBodyWithResponse Update a smart balancer
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).
	PatchSmartBalancerWithBodyWithResponse(ctx context.Context, smartBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSmartBalancerResponse, error)

	// PatchSmartBalancerWithResponse Update a smart balancer
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /smart-balancers/{smartBalancerID} (the `PatchSmartBalancer` operationId).
	PatchSmartBalancerWithResponse(ctx context.Context, smartBalancerID string, body PatchSmartBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSmartBalancerResponse, error)

	// GetStorageVolumesWithResponse List storage volumes
	//
	// Lists all persistent storage volumes owned by the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /storage/volumes (the `GetStorageVolumes` operationId).
	GetStorageVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStorageVolumesResponse, error)

	// PostStorageVolumesWithBodyWithResponse Create a storage volume
	//
	// Creates a persistent storage volume for model checkpoints and caches.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).
	PostStorageVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStorageVolumesResponse, error)

	// PostStorageVolumesWithResponse Create a storage volume
	//
	// Creates a persistent storage volume for model checkpoints and caches.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /storage/volumes (the `PostStorageVolumes` operationId).
	PostStorageVolumesWithResponse(ctx context.Context, body PostStorageVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStorageVolumesResponse, error)

	// DeleteStorageVolumeWithResponse Delete a storage volume
	//
	// Deletes a persistent storage volume and its contents.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /storage/volumes/{volumeID} (the `DeleteStorageVolume` operationId).
	DeleteStorageVolumeWithResponse(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*DeleteStorageVolumeResponse, error)

	// GetStorageVolumeWithResponse Get a storage volume
	//
	// Returns details for a specific persistent storage volume.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /storage/volumes/{volumeID} (the `GetStorageVolume` operationId).
	GetStorageVolumeWithResponse(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*GetStorageVolumeResponse, error)

	// GetSystemToolsWithResponse List system tools
	//
	// Lists available system tools (code interpreter, web search, etc.) for the authenticated account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /system-tools (the `GetSystemTools` operationId).
	GetSystemToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemToolsResponse, error)

	// GetTargetGroupsWithResponse List target groups
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /target-groups (the `GetTargetGroups` operationId).
	GetTargetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTargetGroupsResponse, error)

	// PostTargetGroupWithBodyWithResponse Create a target group
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /target-groups (the `PostTargetGroup` operationId).
	PostTargetGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTargetGroupResponse, error)

	// PostTargetGroupWithResponse Create a target group
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /target-groups (the `PostTargetGroup` operationId).
	PostTargetGroupWithResponse(ctx context.Context, body PostTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTargetGroupResponse, error)

	// DeleteTargetGroupWithResponse Delete a target group
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /target-groups/{targetGroupID} (the `DeleteTargetGroup` operationId).
	DeleteTargetGroupWithResponse(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*DeleteTargetGroupResponse, error)

	// GetTargetGroupWithResponse Get a target group
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /target-groups/{targetGroupID} (the `GetTargetGroup` operationId).
	GetTargetGroupWithResponse(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*GetTargetGroupResponse, error)

	// PatchTargetGroupWithBodyWithResponse Update a target group
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).
	PatchTargetGroupWithBodyWithResponse(ctx context.Context, targetGroupID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTargetGroupResponse, error)

	// PatchTargetGroupWithResponse Update a target group
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /target-groups/{targetGroupID} (the `PatchTargetGroup` operationId).
	PatchTargetGroupWithResponse(ctx context.Context, targetGroupID string, body PatchTargetGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTargetGroupResponse, error)

	// GetUserAPIKeysWithResponse List API keys for the authenticated user
	//
	// Returns the API keys issued for the authenticated user identity.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /users/me/api-keys (the `GetUserAPIKeys` operationId).
	GetUserAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserAPIKeysResponse, error)

	// PostUserAPIKeysWithResponse Create an API key for the authenticated user
	//
	// Issues a new API key for the authenticated user identity and returns the plaintext key once.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /users/me/api-keys (the `PostUserAPIKeys` operationId).
	PostUserAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostUserAPIKeysResponse, error)

	// PostUserAPIKeysKeyIDRevokeWithResponse Revoke a user API key
	//
	// Revokes an API key issued for the authenticated user identity.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /users/me/api-keys/{keyID}/revoke (the `PostUserAPIKeysKeyIDRevoke` operationId).
	PostUserAPIKeysKeyIDRevokeWithResponse(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*PostUserAPIKeysKeyIDRevokeResponse, error)

	// PostV1AudioSpeechWithBodyWithResponse OpenAI-compatible audio speech (TTS)
	//
	// Generates audio from text. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).
	PostV1AudioSpeechWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1AudioSpeechResponse, error)

	// PostV1AudioSpeechWithResponse OpenAI-compatible audio speech (TTS)
	//
	// Generates audio from text. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/speech (the `PostV1AudioSpeech` operationId).
	PostV1AudioSpeechWithResponse(ctx context.Context, body PostV1AudioSpeechJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1AudioSpeechResponse, error)

	// PostV1AudioTranscriptionsWithBodyWithResponse OpenAI-compatible audio transcription (STT)
	//
	// Transcribes an uploaded audio file. Accepts Bearer access tokens or API keys. Handles POST /v1/audio/transcriptions (multipart/form-data).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/transcriptions (the `PostV1AudioTranscriptions` operationId).
	PostV1AudioTranscriptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1AudioTranscriptionsResponse, error)

	// GetV1AudioVoicesWithResponse List available audio voices for a model
	//
	// Lists available TTS voices and supported languages for a model. Accepts Bearer access tokens or API keys.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/audio/voices (the `GetV1AudioVoices` operationId).
	GetV1AudioVoicesWithResponse(ctx context.Context, params *GetV1AudioVoicesParams, reqEditors ...RequestEditorFn) (*GetV1AudioVoicesResponse, error)

	// PostV1ChatCompletionsWithBodyWithResponse OpenAI-compatible chat completions
	//
	// Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).
	PostV1ChatCompletionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ChatCompletionsResponse, error)

	// PostV1ChatCompletionsWithResponse OpenAI-compatible chat completions
	//
	// Executes a chat completion using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/completions (the `PostV1ChatCompletions` operationId).
	PostV1ChatCompletionsWithResponse(ctx context.Context, body PostV1ChatCompletionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ChatCompletionsResponse, error)

	// PostV1EmbeddingsWithBodyWithResponse OpenAI-compatible embeddings
	//
	// Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).
	PostV1EmbeddingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1EmbeddingsResponse, error)

	// PostV1EmbeddingsWithResponse OpenAI-compatible embeddings
	//
	// Generates embeddings for a text or multimodal input. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/embeddings (the `PostV1Embeddings` operationId).
	PostV1EmbeddingsWithResponse(ctx context.Context, body PostV1EmbeddingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1EmbeddingsResponse, error)

	// PostV1ImageEditsWithBodyWithResponse OpenAI-compatible image edits
	//
	// Edits an uploaded image using a prompt and optional mask. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/images/edits (the `PostV1ImageEdits` operationId).
	PostV1ImageEditsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ImageEditsResponse, error)

	// PostV1ImageGenerationsWithBodyWithResponse OpenAI-compatible image generations
	//
	// Generates images from a prompt. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).
	PostV1ImageGenerationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ImageGenerationsResponse, error)

	// PostV1ImageGenerationsWithResponse OpenAI-compatible image generations
	//
	// Generates images from a prompt. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/images/generations (the `PostV1ImageGenerations` operationId).
	PostV1ImageGenerationsWithResponse(ctx context.Context, body PostV1ImageGenerationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ImageGenerationsResponse, error)

	// GetV1PublicModelPricesWithResponse Public model prices
	//
	// Returns provider model pricing for cost comparison. No authentication required.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/public/model-prices (the `GetV1PublicModelPrices` operationId).
	GetV1PublicModelPricesWithResponse(ctx context.Context, params *GetV1PublicModelPricesParams, reqEditors ...RequestEditorFn) (*GetV1PublicModelPricesResponse, error)

	// GetV1PublicPricingWithResponse Public pricing catalog
	//
	// Returns the public GPU and services pricing catalog. No authentication required.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/public/pricing (the `GetV1PublicPricing` operationId).
	GetV1PublicPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1PublicPricingResponse, error)

	// GetV1ResponsesWebSocketWithResponse OpenAI-compatible Responses API over WebSocket
	//
	// WebSocket transport for the Responses API. Accepts Bearer access tokens or API keys. Upgrades the HTTP request to a WebSocket session that exchanges Responses payloads.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/responses (the `GetV1ResponsesWebSocket` operationId).
	GetV1ResponsesWebSocketWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ResponsesWebSocketResponse, error)

	// PostV1ResponsesWithBodyWithResponse OpenAI-compatible Responses API
	//
	// Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/responses (the `PostV1Responses` operationId).
	PostV1ResponsesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ResponsesResponse, error)

	// PostV1ResponsesWithResponse OpenAI-compatible Responses API
	//
	// Executes a Responses API request using a managed instance or public model. Accepts Bearer access tokens or API keys. Supports streaming (SSE) when "stream": true.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/responses (the `PostV1Responses` operationId).
	PostV1ResponsesWithResponse(ctx context.Context, body PostV1ResponsesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ResponsesResponse, error)

	// PostV1ResponsesCompactWithBodyWithResponse Compact a Responses conversation
	//
	// Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).
	PostV1ResponsesCompactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ResponsesCompactResponse, error)

	// PostV1ResponsesCompactWithResponse Compact a Responses conversation
	//
	// Compresses a conversation history into a compact representation for context management. Accepts Bearer access tokens or API keys.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/responses/compact (the `PostV1ResponsesCompact` operationId).
	PostV1ResponsesCompactWithResponse(ctx context.Context, body PostV1ResponsesCompactJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ResponsesCompactResponse, error)

	// GetV1TemplatesWithResponse List template variants
	//
	// Lists pre-configured deployment template variants visible to the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/templates (the `GetV1Templates` operationId).
	GetV1TemplatesWithResponse(ctx context.Context, params *GetV1TemplatesParams, reqEditors ...RequestEditorFn) (*GetV1TemplatesResponse, error)

	// GetV1TemplateBySlugWithResponse Get a template by slug
	//
	// Returns a template variant by its URL slug for the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/templates/by-slug/{slug} (the `GetV1TemplateBySlug` operationId).
	GetV1TemplateBySlugWithResponse(ctx context.Context, slug string, params *GetV1TemplateBySlugParams, reqEditors ...RequestEditorFn) (*GetV1TemplateBySlugResponse, error)

	// GetV1TemplateWithResponse Get a template variant
	//
	// Returns a single template variant by ID for the authenticated user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/templates/{id} (the `GetV1Template` operationId).
	GetV1TemplateWithResponse(ctx context.Context, id string, params *GetV1TemplateParams, reqEditors ...RequestEditorFn) (*GetV1TemplateResponse, error)
}

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

type ConfirmTotpEnrollmentRequest

type ConfirmTotpEnrollmentRequest struct {
	Code   string `json:"code"`
	Secret string `json:"secret"`
}

ConfirmTotpEnrollmentRequest defines model for ConfirmTotpEnrollmentRequest.

type CreateAccountRequest

type CreateAccountRequest struct {
	Name *string `json:"name,omitempty"`
}

CreateAccountRequest defines model for CreateAccountRequest.

type CreateCheckoutSessionRequest

type CreateCheckoutSessionRequest struct {
	AmountCents  *float32 `json:"amount_cents,omitempty"`
	CancelUrl    *string  `json:"cancel_url,omitempty"`
	Currency     *string  `json:"currency,omitempty"`
	DiscountCode *string  `json:"discount_code,omitempty"`
	SuccessUrl   *string  `json:"success_url,omitempty"`
}

CreateCheckoutSessionRequest defines model for CreateCheckoutSessionRequest.

type CreateFirewallRequest

type CreateFirewallRequest struct {
	Description          *string   `json:"description,omitempty"`
	EvaluatorServingName *string   `json:"evaluator_serving_name,omitempty"`
	Mode                 *string   `json:"mode,omitempty"`
	Name                 *string   `json:"name,omitempty"`
	RuleSlugs            *[]string `json:"rule_slugs,omitempty"`
	Slug                 *string   `json:"slug,omitempty"`
}

CreateFirewallRequest defines model for CreateFirewallRequest.

type CreateFirewallRuleRequest

type CreateFirewallRuleRequest struct {
	Category        *string `json:"category,omitempty"`
	DefaultSeverity *string `json:"default_severity,omitempty"`
	Description     *string `json:"description,omitempty"`
	Name            *string `json:"name,omitempty"`
	Prompt          *string `json:"prompt,omitempty"`
	Slug            *string `json:"slug,omitempty"`
}

CreateFirewallRuleRequest defines model for CreateFirewallRuleRequest.

type CreateInstanceRequest

type CreateInstanceRequest struct {
	Description             *string                    `json:"description,omitempty"`
	DownloadSizeBytes       *int                       `json:"download_size_bytes,omitempty"`
	GgufModelPath           *string                    `json:"gguf_model_path,omitempty"`
	GpuPreferences          *[]PublicGPUPreferenceJSON `json:"gpu_preferences,omitempty"`
	HuggingfaceRepoId       *string                    `json:"huggingface_repo_id,omitempty"`
	IdleTimeoutSeconds      *int                       `json:"idle_timeout_seconds,omitempty"`
	Name                    *string                    `json:"name,omitempty"`
	ReplicaCount            *int                       `json:"replica_count,omitempty"`
	RuntimeConfig           *RuntimeConfigRequest      `json:"runtime_config,omitempty"`
	RuntimePreset           *string                    `json:"runtime_preset,omitempty"`
	SchedulingMode          *string                    `json:"scheduling_mode,omitempty"`
	ServerlessEnabled       *bool                      `json:"serverless_enabled,omitempty"`
	ServingName             *string                    `json:"serving_name,omitempty"`
	SmartAllowCommunity     *bool                      `json:"smart_allow_community,omitempty"`
	SmartAllowSpot          *bool                      `json:"smart_allow_spot,omitempty"`
	SmartMaxPricePerHourEur *float32                   `json:"smart_max_price_per_hour_eur,omitempty"`
	SmartMinGpuClass        *string                    `json:"smart_min_gpu_class,omitempty"`
	SmartMinTotalTflops     *float32                   `json:"smart_min_total_tflops,omitempty"`
	SmartProviderFilterMode *string                    `json:"smart_provider_filter_mode,omitempty"`
	SmartProviderPreference *string                    `json:"smart_provider_preference,omitempty"`
	SmartRegion             *string                    `json:"smart_region,omitempty"`
	SmartRegions            *[]string                  `json:"smart_regions,omitempty"`
	SmartSelectionLabel     *string                    `json:"smart_selection_label,omitempty"`
	WorkloadKind            *string                    `json:"workload_kind,omitempty"`
}

CreateInstanceRequest defines model for CreateInstanceRequest.

type CreateInvitationRequest

type CreateInvitationRequest struct {
	Email string `json:"email"`
	Role  string `json:"role"`
}

CreateInvitationRequest defines model for CreateInvitationRequest.

type CreateServingEndpointRequest

type CreateServingEndpointRequest struct {
	DisplayName  *string               `json:"display_name,omitempty"`
	Name         *string               `json:"name,omitempty"`
	Target       *ServingTargetRequest `json:"target,omitempty"`
	WorkloadKind *string               `json:"workload_kind,omitempty"`
}

CreateServingEndpointRequest defines model for CreateServingEndpointRequest.

type CreateSmartBalancerRequest

type CreateSmartBalancerRequest struct {
	DisplayName  *string                          `json:"display_name,omitempty"`
	Enabled      *bool                            `json:"enabled,omitempty"`
	Name         *string                          `json:"name,omitempty"`
	RouterModel  *SmartBalancerRouterModelRequest `json:"router_model,omitempty"`
	Routes       *[]SmartBalancerRouteRequest     `json:"routes,omitempty"`
	RoutingMode  *string                          `json:"routing_mode,omitempty"`
	WorkloadKind *string                          `json:"workload_kind,omitempty"`
}

CreateSmartBalancerRequest defines model for CreateSmartBalancerRequest.

type CreateStorageVolumeRequest

type CreateStorageVolumeRequest struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

CreateStorageVolumeRequest defines model for CreateStorageVolumeRequest.

type CreateTargetGroupRequest

type CreateTargetGroupRequest struct {
	Description     *string                     `json:"description,omitempty"`
	DisplayName     *string                     `json:"display_name,omitempty"`
	Enabled         *bool                       `json:"enabled,omitempty"`
	Members         *[]TargetGroupMemberRequest `json:"members,omitempty"`
	Name            *string                     `json:"name,omitempty"`
	SelectionPolicy *string                     `json:"selection_policy,omitempty"`
	WorkloadKind    *string                     `json:"workload_kind,omitempty"`
}

CreateTargetGroupRequest defines model for CreateTargetGroupRequest.

type CreateVectorDatabaseRequest

type CreateVectorDatabaseRequest struct {
	Description          *string `json:"description,omitempty"`
	EmbeddingServingName *string `json:"embedding_serving_name,omitempty"`
	Name                 *string `json:"name,omitempty"`
	Slug                 *string `json:"slug,omitempty"`
}

CreateVectorDatabaseRequest defines model for CreateVectorDatabaseRequest.

type DebitBalanceRequest

type DebitBalanceRequest struct {
	AmountCents *float32 `json:"amount_cents,omitempty"`
	Reference   *string  `json:"reference,omitempty"`
}

DebitBalanceRequest defines model for DebitBalanceRequest.

type DebitBalanceResponse

type DebitBalanceResponse struct {
	NewBalance *float32 `json:"new_balance,omitempty"`
	Success    *bool    `json:"success,omitempty"`
}

DebitBalanceResponse defines model for DebitBalanceResponse.

type DeleteAccountsCurrentInvitationsByInvitationIDResponse

type DeleteAccountsCurrentInvitationsByInvitationIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteAccountsCurrentInvitationsByInvitationIDResponse

func ParseDeleteAccountsCurrentInvitationsByInvitationIDResponse(rsp *http.Response) (*DeleteAccountsCurrentInvitationsByInvitationIDResponse, error)

ParseDeleteAccountsCurrentInvitationsByInvitationIDResponse parses an HTTP response from a DeleteAccountsCurrentInvitationsByInvitationIDWithResponse call

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteAccountsCurrentResponse

type DeleteAccountsCurrentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteAccountsCurrentResponse

func ParseDeleteAccountsCurrentResponse(rsp *http.Response) (*DeleteAccountsCurrentResponse, error)

ParseDeleteAccountsCurrentResponse parses an HTTP response from a DeleteAccountsCurrentWithResponse call

func (DeleteAccountsCurrentResponse) ContentType

func (r DeleteAccountsCurrentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAccountsCurrentResponse) GetBody

func (r DeleteAccountsCurrentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAccountsCurrentResponse) GetJSON401

func (r DeleteAccountsCurrentResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAccountsCurrentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteAccountsCurrentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAccountsCurrentResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteAccountsCurrentResponse) Status

Status returns HTTPResponse.Status

func (DeleteAccountsCurrentResponse) StatusCode

func (r DeleteAccountsCurrentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAuthPasskeysResponse

type DeleteAuthPasskeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON204 the response for an HTTP 204 `application/json` response
	JSON204 *string
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteAuthPasskeysResponse

func ParseDeleteAuthPasskeysResponse(rsp *http.Response) (*DeleteAuthPasskeysResponse, error)

ParseDeleteAuthPasskeysResponse parses an HTTP response from a DeleteAuthPasskeysWithResponse call

func (DeleteAuthPasskeysResponse) ContentType

func (r DeleteAuthPasskeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAuthPasskeysResponse) GetBody

func (r DeleteAuthPasskeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAuthPasskeysResponse) GetJSON204

func (r DeleteAuthPasskeysResponse) GetJSON204() *string

GetJSON204 returns the response for an HTTP 204 `application/json` response

func (DeleteAuthPasskeysResponse) GetJSON401

func (r DeleteAuthPasskeysResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAuthPasskeysResponse) GetJSON404

func (r DeleteAuthPasskeysResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAuthPasskeysResponse) GetJSON500

func (r DeleteAuthPasskeysResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteAuthPasskeysResponse) Status

Status returns HTTPResponse.Status

func (DeleteAuthPasskeysResponse) StatusCode

func (r DeleteAuthPasskeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAuthTotpResponse

type DeleteAuthTotpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON204 the response for an HTTP 204 `application/json` response
	JSON204 *string
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteAuthTotpResponse

func ParseDeleteAuthTotpResponse(rsp *http.Response) (*DeleteAuthTotpResponse, error)

ParseDeleteAuthTotpResponse parses an HTTP response from a DeleteAuthTotpWithResponse call

func (DeleteAuthTotpResponse) ContentType

func (r DeleteAuthTotpResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAuthTotpResponse) GetBody

func (r DeleteAuthTotpResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAuthTotpResponse) GetJSON204

func (r DeleteAuthTotpResponse) GetJSON204() *string

GetJSON204 returns the response for an HTTP 204 `application/json` response

func (DeleteAuthTotpResponse) GetJSON401

func (r DeleteAuthTotpResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAuthTotpResponse) GetJSON404

func (r DeleteAuthTotpResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAuthTotpResponse) GetJSON500

func (r DeleteAuthTotpResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteAuthTotpResponse) Status

func (r DeleteAuthTotpResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAuthTotpResponse) StatusCode

func (r DeleteAuthTotpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFirewallResponse

type DeleteFirewallResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]bool
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteFirewallResponse

func ParseDeleteFirewallResponse(rsp *http.Response) (*DeleteFirewallResponse, error)

ParseDeleteFirewallResponse parses an HTTP response from a DeleteFirewallWithResponse call

func (DeleteFirewallResponse) ContentType

func (r DeleteFirewallResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteFirewallResponse) GetBody

func (r DeleteFirewallResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteFirewallResponse) GetJSON200

func (r DeleteFirewallResponse) GetJSON200() *map[string]bool

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteFirewallResponse) GetJSON400

func (r DeleteFirewallResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteFirewallResponse) GetJSON401

func (r DeleteFirewallResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteFirewallResponse) GetJSON404

func (r DeleteFirewallResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteFirewallResponse) GetJSON500

func (r DeleteFirewallResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteFirewallResponse) Status

func (r DeleteFirewallResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFirewallResponse) StatusCode

func (r DeleteFirewallResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFirewallRuleResponse

type DeleteFirewallRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]bool
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteFirewallRuleResponse

func ParseDeleteFirewallRuleResponse(rsp *http.Response) (*DeleteFirewallRuleResponse, error)

ParseDeleteFirewallRuleResponse parses an HTTP response from a DeleteFirewallRuleWithResponse call

func (DeleteFirewallRuleResponse) ContentType

func (r DeleteFirewallRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteFirewallRuleResponse) GetBody

func (r DeleteFirewallRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteFirewallRuleResponse) GetJSON200

func (r DeleteFirewallRuleResponse) GetJSON200() *map[string]bool

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteFirewallRuleResponse) GetJSON400

func (r DeleteFirewallRuleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteFirewallRuleResponse) GetJSON401

func (r DeleteFirewallRuleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteFirewallRuleResponse) GetJSON404

func (r DeleteFirewallRuleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteFirewallRuleResponse) GetJSON500

func (r DeleteFirewallRuleResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteFirewallRuleResponse) Status

Status returns HTTPResponse.Status

func (DeleteFirewallRuleResponse) StatusCode

func (r DeleteFirewallRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteInstanceResponse

func ParseDeleteInstanceResponse(rsp *http.Response) (*DeleteInstanceResponse, error)

ParseDeleteInstanceResponse parses an HTTP response from a DeleteInstanceWithResponse call

func (DeleteInstanceResponse) ContentType

func (r DeleteInstanceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteInstanceResponse) GetBody

func (r DeleteInstanceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteInstanceResponse) GetJSON400

func (r DeleteInstanceResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteInstanceResponse) GetJSON401

func (r DeleteInstanceResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteInstanceResponse) GetJSON403

func (r DeleteInstanceResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteInstanceResponse) GetJSON404

func (r DeleteInstanceResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteInstanceResponse) GetJSON500

func (r DeleteInstanceResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteInstanceResponse) Status

func (r DeleteInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteInstanceResponse) StatusCode

func (r DeleteInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInstanceScheduleRuleResponse

type DeleteInstanceScheduleRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteInstanceScheduleRuleResponse

func ParseDeleteInstanceScheduleRuleResponse(rsp *http.Response) (*DeleteInstanceScheduleRuleResponse, error)

ParseDeleteInstanceScheduleRuleResponse parses an HTTP response from a DeleteInstanceScheduleRuleWithResponse call

func (DeleteInstanceScheduleRuleResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteInstanceScheduleRuleResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteInstanceScheduleRuleResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteInstanceScheduleRuleResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteInstanceScheduleRuleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteInstanceScheduleRuleResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteInstanceScheduleRuleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteInstanceScheduleRuleResponse) Status

Status returns HTTPResponse.Status

func (DeleteInstanceScheduleRuleResponse) StatusCode

func (r DeleteInstanceScheduleRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteReplicaSetResponse

type DeleteReplicaSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteReplicaSetResponse

func ParseDeleteReplicaSetResponse(rsp *http.Response) (*DeleteReplicaSetResponse, error)

ParseDeleteReplicaSetResponse parses an HTTP response from a DeleteReplicaSetWithResponse call

func (DeleteReplicaSetResponse) ContentType

func (r DeleteReplicaSetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteReplicaSetResponse) GetBody

func (r DeleteReplicaSetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteReplicaSetResponse) GetJSON400

func (r DeleteReplicaSetResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteReplicaSetResponse) GetJSON401

func (r DeleteReplicaSetResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteReplicaSetResponse) GetJSON403

func (r DeleteReplicaSetResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteReplicaSetResponse) GetJSON404

func (r DeleteReplicaSetResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteReplicaSetResponse) GetJSON500

func (r DeleteReplicaSetResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteReplicaSetResponse) Status

func (r DeleteReplicaSetResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteReplicaSetResponse) StatusCode

func (r DeleteReplicaSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSmartBalancerResponse

type DeleteSmartBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteSmartBalancerResponse

func ParseDeleteSmartBalancerResponse(rsp *http.Response) (*DeleteSmartBalancerResponse, error)

ParseDeleteSmartBalancerResponse parses an HTTP response from a DeleteSmartBalancerWithResponse call

func (DeleteSmartBalancerResponse) ContentType

func (r DeleteSmartBalancerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSmartBalancerResponse) GetBody

func (r DeleteSmartBalancerResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSmartBalancerResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteSmartBalancerResponse) GetJSON401

func (r DeleteSmartBalancerResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSmartBalancerResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSmartBalancerResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSmartBalancerResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteSmartBalancerResponse) Status

Status returns HTTPResponse.Status

func (DeleteSmartBalancerResponse) StatusCode

func (r DeleteSmartBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteStorageVolumeResponse

type DeleteStorageVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseDeleteStorageVolumeResponse

func ParseDeleteStorageVolumeResponse(rsp *http.Response) (*DeleteStorageVolumeResponse, error)

ParseDeleteStorageVolumeResponse parses an HTTP response from a DeleteStorageVolumeWithResponse call

func (DeleteStorageVolumeResponse) ContentType

func (r DeleteStorageVolumeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteStorageVolumeResponse) GetBody

func (r DeleteStorageVolumeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteStorageVolumeResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteStorageVolumeResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteStorageVolumeResponse) Status

Status returns HTTPResponse.Status

func (DeleteStorageVolumeResponse) StatusCode

func (r DeleteStorageVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTargetGroupResponse

type DeleteTargetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteTargetGroupResponse

func ParseDeleteTargetGroupResponse(rsp *http.Response) (*DeleteTargetGroupResponse, error)

ParseDeleteTargetGroupResponse parses an HTTP response from a DeleteTargetGroupWithResponse call

func (DeleteTargetGroupResponse) ContentType

func (r DeleteTargetGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTargetGroupResponse) GetBody

func (r DeleteTargetGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTargetGroupResponse) GetJSON400

func (r DeleteTargetGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteTargetGroupResponse) GetJSON401

func (r DeleteTargetGroupResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTargetGroupResponse) GetJSON403

func (r DeleteTargetGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteTargetGroupResponse) GetJSON404

func (r DeleteTargetGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteTargetGroupResponse) GetJSON500

func (r DeleteTargetGroupResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteTargetGroupResponse) Status

func (r DeleteTargetGroupResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTargetGroupResponse) StatusCode

func (r DeleteTargetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVectorDatabaseResponse

type DeleteVectorDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]bool
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteVectorDatabaseResponse

func ParseDeleteVectorDatabaseResponse(rsp *http.Response) (*DeleteVectorDatabaseResponse, error)

ParseDeleteVectorDatabaseResponse parses an HTTP response from a DeleteVectorDatabaseWithResponse call

func (DeleteVectorDatabaseResponse) ContentType

func (r DeleteVectorDatabaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVectorDatabaseResponse) GetBody

func (r DeleteVectorDatabaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVectorDatabaseResponse) GetJSON200

func (r DeleteVectorDatabaseResponse) GetJSON200() *map[string]bool

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteVectorDatabaseResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteVectorDatabaseResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteVectorDatabaseResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteVectorDatabaseResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteVectorDatabaseResponse) Status

Status returns HTTPResponse.Status

func (DeleteVectorDatabaseResponse) StatusCode

func (r DeleteVectorDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EmbeddingsRequestEnvelope

type EmbeddingsRequestEnvelope struct {
	Input *[]int  `json:"input,omitempty"`
	Model *string `json:"model,omitempty"`
}

EmbeddingsRequestEnvelope defines model for EmbeddingsRequestEnvelope.

type ErrorResponse

type ErrorResponse struct {
	Error *string `json:"error,omitempty"`
}

ErrorResponse defines model for ErrorResponse.

func ParseErrorResponse

func ParseErrorResponse(body []byte) (*ErrorResponse, error)

ParseErrorResponse decodes an ErrorResponse from a raw response body, e.g. the Body field of a generated response type.

type FinishPasskeyRegistrationRequest

type FinishPasskeyRegistrationRequest struct {
	ChallengeId string `json:"challenge_id"`
	Credential  []int  `json:"credential"`
}

FinishPasskeyRegistrationRequest defines model for FinishPasskeyRegistrationRequest.

type FinishPasskeyloginRequest

type FinishPasskeyloginRequest struct {
	CfTurnstileResponse *string `json:"cf_turnstile_response,omitempty"`
	ChallengeId         string  `json:"challenge_id"`
	Credential          []int   `json:"credential"`
	Email               string  `json:"email"`
}

FinishPasskeyloginRequest defines model for FinishPasskeyloginRequest.

type FinishPasskeyloginResponse

type FinishPasskeyloginResponse struct {
	AccessToken       *string `json:"access_token,omitempty"`
	AccessTokenExpiry *int    `json:"access_token_expiry,omitempty"`
	RefreshToken      *string `json:"refresh_token,omitempty"`
}

FinishPasskeyloginResponse defines model for FinishPasskeyloginResponse.

type FirewallEvaluationRequest

type FirewallEvaluationRequest struct {
	Input *string `json:"input,omitempty"`
}

FirewallEvaluationRequest defines model for FirewallEvaluationRequest.

type FirewallEvaluationResponse

type FirewallEvaluationResponse struct {
	Allowed              *bool     `json:"allowed,omitempty"`
	EvaluatorServingName *string   `json:"evaluator_serving_name,omitempty"`
	FirewallSlug         *string   `json:"firewall_slug,omitempty"`
	MatchedRules         *[]string `json:"matched_rules,omitempty"`
	Mode                 *string   `json:"mode,omitempty"`
	Reason               *string   `json:"reason,omitempty"`
	Severity             *string   `json:"severity,omitempty"`
}

FirewallEvaluationResponse defines model for FirewallEvaluationResponse.

type FirewallResponse

type FirewallResponse struct {
	CreatedAt            *string   `json:"created_at,omitempty"`
	Description          *string   `json:"description,omitempty"`
	EvaluatorServingName *string   `json:"evaluator_serving_name,omitempty"`
	Mode                 *string   `json:"mode,omitempty"`
	Name                 *string   `json:"name,omitempty"`
	RuleSlugs            *[]string `json:"rule_slugs,omitempty"`
	Slug                 *string   `json:"slug,omitempty"`
	UpdatedAt            *string   `json:"updated_at,omitempty"`
}

FirewallResponse defines model for FirewallResponse.

type FirewallRuleEvaluationRequest

type FirewallRuleEvaluationRequest struct {
	EvaluatorServingName *string `json:"evaluator_serving_name,omitempty"`
	Input                *string `json:"input,omitempty"`
}

FirewallRuleEvaluationRequest defines model for FirewallRuleEvaluationRequest.

type FirewallRuleResponse

type FirewallRuleResponse struct {
	Category        *string `json:"category,omitempty"`
	CreatedAt       *string `json:"created_at,omitempty"`
	DefaultSeverity *string `json:"default_severity,omitempty"`
	Description     *string `json:"description,omitempty"`
	Name            *string `json:"name,omitempty"`
	Prompt          *string `json:"prompt,omitempty"`
	Recommended     *bool   `json:"recommended,omitempty"`
	Slug            *string `json:"slug,omitempty"`
	Source          *string `json:"source,omitempty"`
	UpdatedAt       *string `json:"updated_at,omitempty"`
}

FirewallRuleResponse defines model for FirewallRuleResponse.

type ForgotPasswordRequest

type ForgotPasswordRequest struct {
	CfTurnstileResponse *string `json:"cf_turnstile_response,omitempty"`
	Email               string  `json:"email"`
}

ForgotPasswordRequest defines model for ForgotPasswordRequest.

type ForgotPasswordResponse

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

ForgotPasswordResponse defines model for ForgotPasswordResponse.

type GetAccountsCurrentMembersResponse

type GetAccountsCurrentMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountMemberListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetAccountsCurrentMembersResponse

func ParseGetAccountsCurrentMembersResponse(rsp *http.Response) (*GetAccountsCurrentMembersResponse, error)

ParseGetAccountsCurrentMembersResponse parses an HTTP response from a GetAccountsCurrentMembersWithResponse call

func (GetAccountsCurrentMembersResponse) ContentType

func (r GetAccountsCurrentMembersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAccountsCurrentMembersResponse) GetBody

GetBody returns the raw response body bytes

func (GetAccountsCurrentMembersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAccountsCurrentMembersResponse) GetJSON401

func (r GetAccountsCurrentMembersResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAccountsCurrentMembersResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAccountsCurrentMembersResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAccountsCurrentMembersResponse) Status

Status returns HTTPResponse.Status

func (GetAccountsCurrentMembersResponse) StatusCode

func (r GetAccountsCurrentMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAccountsCurrentResponse

type GetAccountsCurrentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetAccountsCurrentResponse

func ParseGetAccountsCurrentResponse(rsp *http.Response) (*GetAccountsCurrentResponse, error)

ParseGetAccountsCurrentResponse parses an HTTP response from a GetAccountsCurrentWithResponse call

func (GetAccountsCurrentResponse) ContentType

func (r GetAccountsCurrentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAccountsCurrentResponse) GetBody

func (r GetAccountsCurrentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAccountsCurrentResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAccountsCurrentResponse) GetJSON401

func (r GetAccountsCurrentResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAccountsCurrentResponse) GetJSON403

func (r GetAccountsCurrentResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAccountsCurrentResponse) GetJSON404

func (r GetAccountsCurrentResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAccountsCurrentResponse) GetJSON500

func (r GetAccountsCurrentResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAccountsCurrentResponse) Status

Status returns HTTPResponse.Status

func (GetAccountsCurrentResponse) StatusCode

func (r GetAccountsCurrentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAccountsResponse

type GetAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetAccountsResponse

func ParseGetAccountsResponse(rsp *http.Response) (*GetAccountsResponse, error)

ParseGetAccountsResponse parses an HTTP response from a GetAccountsWithResponse call

func (GetAccountsResponse) ContentType

func (r GetAccountsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAccountsResponse) GetBody

func (r GetAccountsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAccountsResponse) GetJSON200

func (r GetAccountsResponse) GetJSON200() *AccountListResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAccountsResponse) GetJSON401

func (r GetAccountsResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAccountsResponse) GetJSON500

func (r GetAccountsResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAccountsResponse) Status

func (r GetAccountsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAccountsResponse) StatusCode

func (r GetAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiKeysResponse

type GetApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ApiKeyListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetApiKeysResponse

func ParseGetApiKeysResponse(rsp *http.Response) (*GetApiKeysResponse, error)

ParseGetApiKeysResponse parses an HTTP response from a GetApiKeysWithResponse call

func (GetApiKeysResponse) ContentType

func (r GetApiKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetApiKeysResponse) GetBody

func (r GetApiKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetApiKeysResponse) GetJSON200

func (r GetApiKeysResponse) GetJSON200() *ApiKeyListResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetApiKeysResponse) GetJSON401

func (r GetApiKeysResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetApiKeysResponse) GetJSON403

func (r GetApiKeysResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetApiKeysResponse) GetJSON500

func (r GetApiKeysResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetApiKeysResponse) Status

func (r GetApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeysResponse) StatusCode

func (r GetApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuthMeResponse

type GetAuthMeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserInfoResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
}

func ParseGetAuthMeResponse

func ParseGetAuthMeResponse(rsp *http.Response) (*GetAuthMeResponse, error)

ParseGetAuthMeResponse parses an HTTP response from a GetAuthMeWithResponse call

func (GetAuthMeResponse) ContentType

func (r GetAuthMeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAuthMeResponse) GetBody

func (r GetAuthMeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAuthMeResponse) GetJSON200

func (r GetAuthMeResponse) GetJSON200() *UserInfoResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAuthMeResponse) GetJSON401

func (r GetAuthMeResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAuthMeResponse) Status

func (r GetAuthMeResponse) Status() string

Status returns HTTPResponse.Status

func (GetAuthMeResponse) StatusCode

func (r GetAuthMeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuthPasskeysResponse

type GetAuthPasskeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PasskeyListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetAuthPasskeysResponse

func ParseGetAuthPasskeysResponse(rsp *http.Response) (*GetAuthPasskeysResponse, error)

ParseGetAuthPasskeysResponse parses an HTTP response from a GetAuthPasskeysWithResponse call

func (GetAuthPasskeysResponse) ContentType

func (r GetAuthPasskeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAuthPasskeysResponse) GetBody

func (r GetAuthPasskeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAuthPasskeysResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAuthPasskeysResponse) GetJSON401

func (r GetAuthPasskeysResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAuthPasskeysResponse) GetJSON500

func (r GetAuthPasskeysResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAuthPasskeysResponse) Status

func (r GetAuthPasskeysResponse) Status() string

Status returns HTTPResponse.Status

func (GetAuthPasskeysResponse) StatusCode

func (r GetAuthPasskeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuthPreferencesResponse

type GetAuthPreferencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserPreferencesResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetAuthPreferencesResponse

func ParseGetAuthPreferencesResponse(rsp *http.Response) (*GetAuthPreferencesResponse, error)

ParseGetAuthPreferencesResponse parses an HTTP response from a GetAuthPreferencesWithResponse call

func (GetAuthPreferencesResponse) ContentType

func (r GetAuthPreferencesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAuthPreferencesResponse) GetBody

func (r GetAuthPreferencesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAuthPreferencesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAuthPreferencesResponse) GetJSON401

func (r GetAuthPreferencesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAuthPreferencesResponse) GetJSON500

func (r GetAuthPreferencesResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAuthPreferencesResponse) Status

Status returns HTTPResponse.Status

func (GetAuthPreferencesResponse) StatusCode

func (r GetAuthPreferencesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuthVerifyEmailParams

type GetAuthVerifyEmailParams struct {
	// Token Activation token from the email
	Token string `form:"token" json:"token"`
}

GetAuthVerifyEmailParams defines parameters for GetAuthVerifyEmail.

type GetAuthVerifyEmailResponse

type GetAuthVerifyEmailResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VerifyEmailResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetAuthVerifyEmailResponse

func ParseGetAuthVerifyEmailResponse(rsp *http.Response) (*GetAuthVerifyEmailResponse, error)

ParseGetAuthVerifyEmailResponse parses an HTTP response from a GetAuthVerifyEmailWithResponse call

func (GetAuthVerifyEmailResponse) ContentType

func (r GetAuthVerifyEmailResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAuthVerifyEmailResponse) GetBody

func (r GetAuthVerifyEmailResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAuthVerifyEmailResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAuthVerifyEmailResponse) GetJSON400

func (r GetAuthVerifyEmailResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetAuthVerifyEmailResponse) GetJSON403

func (r GetAuthVerifyEmailResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAuthVerifyEmailResponse) GetJSON404

func (r GetAuthVerifyEmailResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAuthVerifyEmailResponse) GetJSON500

func (r GetAuthVerifyEmailResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAuthVerifyEmailResponse) Status

Status returns HTTPResponse.Status

func (GetAuthVerifyEmailResponse) StatusCode

func (r GetAuthVerifyEmailResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBillingBalanceResponse

type GetBillingBalanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountBalanceResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetBillingBalanceResponse

func ParseGetBillingBalanceResponse(rsp *http.Response) (*GetBillingBalanceResponse, error)

ParseGetBillingBalanceResponse parses an HTTP response from a GetBillingBalanceWithResponse call

func (GetBillingBalanceResponse) ContentType

func (r GetBillingBalanceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBillingBalanceResponse) GetBody

func (r GetBillingBalanceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBillingBalanceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBillingBalanceResponse) GetJSON401

func (r GetBillingBalanceResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBillingBalanceResponse) GetJSON500

func (r GetBillingBalanceResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetBillingBalanceResponse) Status

func (r GetBillingBalanceResponse) Status() string

Status returns HTTPResponse.Status

func (GetBillingBalanceResponse) StatusCode

func (r GetBillingBalanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBillingLedgerParams

type GetBillingLedgerParams struct {
	// Limit Maximum number of entries
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of entries to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

GetBillingLedgerParams defines parameters for GetBillingLedger.

type GetBillingLedgerResponse

type GetBillingLedgerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LedgerHistoryResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetBillingLedgerResponse

func ParseGetBillingLedgerResponse(rsp *http.Response) (*GetBillingLedgerResponse, error)

ParseGetBillingLedgerResponse parses an HTTP response from a GetBillingLedgerWithResponse call

func (GetBillingLedgerResponse) ContentType

func (r GetBillingLedgerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBillingLedgerResponse) GetBody

func (r GetBillingLedgerResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBillingLedgerResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBillingLedgerResponse) GetJSON400

func (r GetBillingLedgerResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetBillingLedgerResponse) GetJSON401

func (r GetBillingLedgerResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBillingLedgerResponse) GetJSON500

func (r GetBillingLedgerResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetBillingLedgerResponse) Status

func (r GetBillingLedgerResponse) Status() string

Status returns HTTPResponse.Status

func (GetBillingLedgerResponse) StatusCode

func (r GetBillingLedgerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBillingPaymentsPaymentIDInvoicePDFResponse

type GetBillingPaymentsPaymentIDInvoicePDFResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetBillingPaymentsPaymentIDInvoicePDFResponse

func ParseGetBillingPaymentsPaymentIDInvoicePDFResponse(rsp *http.Response) (*GetBillingPaymentsPaymentIDInvoicePDFResponse, error)

ParseGetBillingPaymentsPaymentIDInvoicePDFResponse parses an HTTP response from a GetBillingPaymentsPaymentIDInvoicePDFWithResponse call

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetBody

GetBody returns the raw response body bytes

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) Status

Status returns HTTPResponse.Status

func (GetBillingPaymentsPaymentIDInvoicePDFResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetBillingPaymentsResponse

type GetBillingPaymentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PaymentsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetBillingPaymentsResponse

func ParseGetBillingPaymentsResponse(rsp *http.Response) (*GetBillingPaymentsResponse, error)

ParseGetBillingPaymentsResponse parses an HTTP response from a GetBillingPaymentsWithResponse call

func (GetBillingPaymentsResponse) ContentType

func (r GetBillingPaymentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBillingPaymentsResponse) GetBody

func (r GetBillingPaymentsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBillingPaymentsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBillingPaymentsResponse) GetJSON401

func (r GetBillingPaymentsResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBillingPaymentsResponse) GetJSON500

func (r GetBillingPaymentsResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetBillingPaymentsResponse) Status

Status returns HTTPResponse.Status

func (GetBillingPaymentsResponse) StatusCode

func (r GetBillingPaymentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFirewallResponse

type GetFirewallResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FirewallResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetFirewallResponse

func ParseGetFirewallResponse(rsp *http.Response) (*GetFirewallResponse, error)

ParseGetFirewallResponse parses an HTTP response from a GetFirewallWithResponse call

func (GetFirewallResponse) ContentType

func (r GetFirewallResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetFirewallResponse) GetBody

func (r GetFirewallResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetFirewallResponse) GetJSON200

func (r GetFirewallResponse) GetJSON200() *FirewallResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetFirewallResponse) GetJSON400

func (r GetFirewallResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetFirewallResponse) GetJSON401

func (r GetFirewallResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetFirewallResponse) GetJSON404

func (r GetFirewallResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetFirewallResponse) GetJSON500

func (r GetFirewallResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetFirewallResponse) Status

func (r GetFirewallResponse) Status() string

Status returns HTTPResponse.Status

func (GetFirewallResponse) StatusCode

func (r GetFirewallResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFirewallRuleResponse

type GetFirewallRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FirewallRuleResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetFirewallRuleResponse

func ParseGetFirewallRuleResponse(rsp *http.Response) (*GetFirewallRuleResponse, error)

ParseGetFirewallRuleResponse parses an HTTP response from a GetFirewallRuleWithResponse call

func (GetFirewallRuleResponse) ContentType

func (r GetFirewallRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetFirewallRuleResponse) GetBody

func (r GetFirewallRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetFirewallRuleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetFirewallRuleResponse) GetJSON400

func (r GetFirewallRuleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetFirewallRuleResponse) GetJSON401

func (r GetFirewallRuleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetFirewallRuleResponse) GetJSON404

func (r GetFirewallRuleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetFirewallRuleResponse) GetJSON500

func (r GetFirewallRuleResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetFirewallRuleResponse) Status

func (r GetFirewallRuleResponse) Status() string

Status returns HTTPResponse.Status

func (GetFirewallRuleResponse) StatusCode

func (r GetFirewallRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFirewallRulesResponse

type GetFirewallRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]FirewallRuleResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetFirewallRulesResponse

func ParseGetFirewallRulesResponse(rsp *http.Response) (*GetFirewallRulesResponse, error)

ParseGetFirewallRulesResponse parses an HTTP response from a GetFirewallRulesWithResponse call

func (GetFirewallRulesResponse) ContentType

func (r GetFirewallRulesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetFirewallRulesResponse) GetBody

func (r GetFirewallRulesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetFirewallRulesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetFirewallRulesResponse) GetJSON401

func (r GetFirewallRulesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetFirewallRulesResponse) GetJSON500

func (r GetFirewallRulesResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetFirewallRulesResponse) Status

func (r GetFirewallRulesResponse) Status() string

Status returns HTTPResponse.Status

func (GetFirewallRulesResponse) StatusCode

func (r GetFirewallRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFirewallsResponse

type GetFirewallsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]FirewallResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetFirewallsResponse

func ParseGetFirewallsResponse(rsp *http.Response) (*GetFirewallsResponse, error)

ParseGetFirewallsResponse parses an HTTP response from a GetFirewallsWithResponse call

func (GetFirewallsResponse) ContentType

func (r GetFirewallsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetFirewallsResponse) GetBody

func (r GetFirewallsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetFirewallsResponse) GetJSON200

func (r GetFirewallsResponse) GetJSON200() *[]FirewallResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetFirewallsResponse) GetJSON401

func (r GetFirewallsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetFirewallsResponse) GetJSON500

func (r GetFirewallsResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetFirewallsResponse) Status

func (r GetFirewallsResponse) Status() string

Status returns HTTPResponse.Status

func (GetFirewallsResponse) StatusCode

func (r GetFirewallsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHealthResponse

type GetHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *string
}

func ParseGetHealthResponse

func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)

ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call

func (GetHealthResponse) ContentType

func (r GetHealthResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHealthResponse) GetBody

func (r GetHealthResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHealthResponse) GetJSON200

func (r GetHealthResponse) GetJSON200() *string

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHealthResponse) Status

func (r GetHealthResponse) Status() string

Status returns HTTPResponse.Status

func (GetHealthResponse) StatusCode

func (r GetHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHuggingfaceEmbeddingsParams

type GetHuggingfaceEmbeddingsParams struct {
	// Limit Number of models (default 50, max 100)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Search Search query
	Search *string `form:"search,omitempty" json:"search,omitempty"`
}

GetHuggingfaceEmbeddingsParams defines parameters for GetHuggingfaceEmbeddings.

type GetHuggingfaceEmbeddingsResponse

type GetHuggingfaceEmbeddingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HuggingFaceModelsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetHuggingfaceEmbeddingsResponse

func ParseGetHuggingfaceEmbeddingsResponse(rsp *http.Response) (*GetHuggingfaceEmbeddingsResponse, error)

ParseGetHuggingfaceEmbeddingsResponse parses an HTTP response from a GetHuggingfaceEmbeddingsWithResponse call

func (GetHuggingfaceEmbeddingsResponse) ContentType

func (r GetHuggingfaceEmbeddingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHuggingfaceEmbeddingsResponse) GetBody

func (r GetHuggingfaceEmbeddingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHuggingfaceEmbeddingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHuggingfaceEmbeddingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHuggingfaceEmbeddingsResponse) Status

Status returns HTTPResponse.Status

func (GetHuggingfaceEmbeddingsResponse) StatusCode

func (r GetHuggingfaceEmbeddingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHuggingfaceFilesParams

type GetHuggingfaceFilesParams struct {
	// Repo Hugging Face repository ID (e.g. owner/model)
	Repo string `form:"repo" json:"repo"`
}

GetHuggingfaceFilesParams defines parameters for GetHuggingfaceFiles.

type GetHuggingfaceFilesResponse

type GetHuggingfaceFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HuggingFaceGGUFFileResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetHuggingfaceFilesResponse

func ParseGetHuggingfaceFilesResponse(rsp *http.Response) (*GetHuggingfaceFilesResponse, error)

ParseGetHuggingfaceFilesResponse parses an HTTP response from a GetHuggingfaceFilesWithResponse call

func (GetHuggingfaceFilesResponse) ContentType

func (r GetHuggingfaceFilesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHuggingfaceFilesResponse) GetBody

func (r GetHuggingfaceFilesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHuggingfaceFilesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHuggingfaceFilesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetHuggingfaceFilesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHuggingfaceFilesResponse) Status

Status returns HTTPResponse.Status

func (GetHuggingfaceFilesResponse) StatusCode

func (r GetHuggingfaceFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHuggingfaceModelsParams

type GetHuggingfaceModelsParams struct {
	// Q Search query
	Q *string `form:"q,omitempty" json:"q,omitempty"`
}

GetHuggingfaceModelsParams defines parameters for GetHuggingfaceModels.

type GetHuggingfaceModelsResponse

type GetHuggingfaceModelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HuggingFaceModelsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetHuggingfaceModelsResponse

func ParseGetHuggingfaceModelsResponse(rsp *http.Response) (*GetHuggingfaceModelsResponse, error)

ParseGetHuggingfaceModelsResponse parses an HTTP response from a GetHuggingfaceModelsWithResponse call

func (GetHuggingfaceModelsResponse) ContentType

func (r GetHuggingfaceModelsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHuggingfaceModelsResponse) GetBody

func (r GetHuggingfaceModelsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHuggingfaceModelsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHuggingfaceModelsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHuggingfaceModelsResponse) Status

Status returns HTTPResponse.Status

func (GetHuggingfaceModelsResponse) StatusCode

func (r GetHuggingfaceModelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHuggingfaceOrgsResponse

type GetHuggingfaceOrgsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HuggingFaceOrgInfoResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetHuggingfaceOrgsResponse

func ParseGetHuggingfaceOrgsResponse(rsp *http.Response) (*GetHuggingfaceOrgsResponse, error)

ParseGetHuggingfaceOrgsResponse parses an HTTP response from a GetHuggingfaceOrgsWithResponse call

func (GetHuggingfaceOrgsResponse) ContentType

func (r GetHuggingfaceOrgsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHuggingfaceOrgsResponse) GetBody

func (r GetHuggingfaceOrgsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHuggingfaceOrgsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHuggingfaceOrgsResponse) GetJSON400

func (r GetHuggingfaceOrgsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetHuggingfaceOrgsResponse) GetJSON401

func (r GetHuggingfaceOrgsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHuggingfaceOrgsResponse) Status

Status returns HTTPResponse.Status

func (GetHuggingfaceOrgsResponse) StatusCode

func (r GetHuggingfaceOrgsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHuggingfaceSearchTagParams

type GetHuggingfaceSearchTagParams struct {
	// Q Search query
	Q string `form:"q" json:"q"`

	// PipelineTag Pipeline tag (e.g. text-generation)
	PipelineTag string `form:"pipeline_tag" json:"pipeline_tag"`

	// Limit Number of models (default 50, max 100)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetHuggingfaceSearchTagParams defines parameters for GetHuggingfaceSearchTag.

type GetHuggingfaceSearchTagResponse

type GetHuggingfaceSearchTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HuggingFaceModelsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetHuggingfaceSearchTagResponse

func ParseGetHuggingfaceSearchTagResponse(rsp *http.Response) (*GetHuggingfaceSearchTagResponse, error)

ParseGetHuggingfaceSearchTagResponse parses an HTTP response from a GetHuggingfaceSearchTagWithResponse call

func (GetHuggingfaceSearchTagResponse) ContentType

func (r GetHuggingfaceSearchTagResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHuggingfaceSearchTagResponse) GetBody

func (r GetHuggingfaceSearchTagResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHuggingfaceSearchTagResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHuggingfaceSearchTagResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetHuggingfaceSearchTagResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHuggingfaceSearchTagResponse) Status

Status returns HTTPResponse.Status

func (GetHuggingfaceSearchTagResponse) StatusCode

func (r GetHuggingfaceSearchTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHuggingfaceTrendingParams

type GetHuggingfaceTrendingParams struct {
	// Limit Number of models (default 20, max 100)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetHuggingfaceTrendingParams defines parameters for GetHuggingfaceTrending.

type GetHuggingfaceTrendingResponse

type GetHuggingfaceTrendingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HuggingFaceModelsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetHuggingfaceTrendingResponse

func ParseGetHuggingfaceTrendingResponse(rsp *http.Response) (*GetHuggingfaceTrendingResponse, error)

ParseGetHuggingfaceTrendingResponse parses an HTTP response from a GetHuggingfaceTrendingWithResponse call

func (GetHuggingfaceTrendingResponse) ContentType

func (r GetHuggingfaceTrendingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHuggingfaceTrendingResponse) GetBody

func (r GetHuggingfaceTrendingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHuggingfaceTrendingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHuggingfaceTrendingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHuggingfaceTrendingResponse) Status

Status returns HTTPResponse.Status

func (GetHuggingfaceTrendingResponse) StatusCode

func (r GetHuggingfaceTrendingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstanceByIDResponse

type GetInstanceByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InstanceResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetInstanceByIDResponse

func ParseGetInstanceByIDResponse(rsp *http.Response) (*GetInstanceByIDResponse, error)

ParseGetInstanceByIDResponse parses an HTTP response from a GetInstanceByIDWithResponse call

func (GetInstanceByIDResponse) ContentType

func (r GetInstanceByIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInstanceByIDResponse) GetBody

func (r GetInstanceByIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInstanceByIDResponse) GetJSON200

func (r GetInstanceByIDResponse) GetJSON200() *InstanceResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInstanceByIDResponse) GetJSON401

func (r GetInstanceByIDResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetInstanceByIDResponse) GetJSON403

func (r GetInstanceByIDResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetInstanceByIDResponse) GetJSON404

func (r GetInstanceByIDResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetInstanceByIDResponse) GetJSON500

func (r GetInstanceByIDResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetInstanceByIDResponse) Status

func (r GetInstanceByIDResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstanceByIDResponse) StatusCode

func (r GetInstanceByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstanceConfigGpusResponse

type GetInstanceConfigGpusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GpuListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParseGetInstanceConfigGpusResponse

func ParseGetInstanceConfigGpusResponse(rsp *http.Response) (*GetInstanceConfigGpusResponse, error)

ParseGetInstanceConfigGpusResponse parses an HTTP response from a GetInstanceConfigGpusWithResponse call

func (GetInstanceConfigGpusResponse) ContentType

func (r GetInstanceConfigGpusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInstanceConfigGpusResponse) GetBody

func (r GetInstanceConfigGpusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInstanceConfigGpusResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInstanceConfigGpusResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetInstanceConfigGpusResponse) GetJSON502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetInstanceConfigGpusResponse) Status

Status returns HTTPResponse.Status

func (GetInstanceConfigGpusResponse) StatusCode

func (r GetInstanceConfigGpusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstanceScheduleRulesResponse

type GetInstanceScheduleRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScheduleRuleListResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetInstanceScheduleRulesResponse

func ParseGetInstanceScheduleRulesResponse(rsp *http.Response) (*GetInstanceScheduleRulesResponse, error)

ParseGetInstanceScheduleRulesResponse parses an HTTP response from a GetInstanceScheduleRulesWithResponse call

func (GetInstanceScheduleRulesResponse) ContentType

func (r GetInstanceScheduleRulesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInstanceScheduleRulesResponse) GetBody

func (r GetInstanceScheduleRulesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInstanceScheduleRulesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInstanceScheduleRulesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetInstanceScheduleRulesResponse) GetJSON401

func (r GetInstanceScheduleRulesResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetInstanceScheduleRulesResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetInstanceScheduleRulesResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetInstanceScheduleRulesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetInstanceScheduleRulesResponse) Status

Status returns HTTPResponse.Status

func (GetInstanceScheduleRulesResponse) StatusCode

func (r GetInstanceScheduleRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstanceUsageParams

type GetInstanceUsageParams struct {
	// Range Time range (24h, 7d, 30d)
	Range *GetInstanceUsageParamsRange `form:"range,omitempty" json:"range,omitempty"`
}

GetInstanceUsageParams defines parameters for GetInstanceUsage.

type GetInstanceUsageParamsRange

type GetInstanceUsageParamsRange string

GetInstanceUsageParamsRange defines parameters for GetInstanceUsage.

Defines values for GetInstanceUsageParamsRange.

func (GetInstanceUsageParamsRange) Valid

Valid indicates whether the value is a known member of the GetInstanceUsageParamsRange enum.

type GetInstanceUsageResponse

type GetInstanceUsageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InstanceUsageResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetInstanceUsageResponse

func ParseGetInstanceUsageResponse(rsp *http.Response) (*GetInstanceUsageResponse, error)

ParseGetInstanceUsageResponse parses an HTTP response from a GetInstanceUsageWithResponse call

func (GetInstanceUsageResponse) ContentType

func (r GetInstanceUsageResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInstanceUsageResponse) GetBody

func (r GetInstanceUsageResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInstanceUsageResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInstanceUsageResponse) GetJSON400

func (r GetInstanceUsageResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetInstanceUsageResponse) GetJSON401

func (r GetInstanceUsageResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetInstanceUsageResponse) GetJSON403

func (r GetInstanceUsageResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetInstanceUsageResponse) GetJSON404

func (r GetInstanceUsageResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetInstanceUsageResponse) GetJSON500

func (r GetInstanceUsageResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetInstanceUsageResponse) Status

func (r GetInstanceUsageResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstanceUsageResponse) StatusCode

func (r GetInstanceUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstancesParams

type GetInstancesParams struct {
	// State Optional state filter (non_bootstrap, pending, running, stopped, failed)
	State *string `form:"state,omitempty" json:"state,omitempty"`
}

GetInstancesParams defines parameters for GetInstances.

type GetInstancesResponse

type GetInstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InstanceListResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetInstancesResponse

func ParseGetInstancesResponse(rsp *http.Response) (*GetInstancesResponse, error)

ParseGetInstancesResponse parses an HTTP response from a GetInstancesWithResponse call

func (GetInstancesResponse) ContentType

func (r GetInstancesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInstancesResponse) GetBody

func (r GetInstancesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInstancesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInstancesResponse) GetJSON400

func (r GetInstancesResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetInstancesResponse) GetJSON401

func (r GetInstancesResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetInstancesResponse) GetJSON500

func (r GetInstancesResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetInstancesResponse) Status

func (r GetInstancesResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstancesResponse) StatusCode

func (r GetInstancesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvitationsResponse

type GetInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InvitationListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetInvitationsResponse

func ParseGetInvitationsResponse(rsp *http.Response) (*GetInvitationsResponse, error)

ParseGetInvitationsResponse parses an HTTP response from a GetInvitationsWithResponse call

func (GetInvitationsResponse) ContentType

func (r GetInvitationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetInvitationsResponse) GetBody

func (r GetInvitationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInvitationsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInvitationsResponse) GetJSON401

func (r GetInvitationsResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetInvitationsResponse) GetJSON500

func (r GetInvitationsResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetInvitationsResponse) Status

func (r GetInvitationsResponse) Status() string

Status returns HTTPResponse.Status

func (GetInvitationsResponse) StatusCode

func (r GetInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelsFixedResponse

type GetModelsFixedResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HuggingFaceModelsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetModelsFixedResponse

func ParseGetModelsFixedResponse(rsp *http.Response) (*GetModelsFixedResponse, error)

ParseGetModelsFixedResponse parses an HTTP response from a GetModelsFixedWithResponse call

func (GetModelsFixedResponse) ContentType

func (r GetModelsFixedResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelsFixedResponse) GetBody

func (r GetModelsFixedResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetModelsFixedResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelsFixedResponse) GetJSON401

func (r GetModelsFixedResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetModelsFixedResponse) Status

func (r GetModelsFixedResponse) Status() string

Status returns HTTPResponse.Status

func (GetModelsFixedResponse) StatusCode

func (r GetModelsFixedResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReplicaSetResponse

type GetReplicaSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReplicaSetResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetReplicaSetResponse

func ParseGetReplicaSetResponse(rsp *http.Response) (*GetReplicaSetResponse, error)

ParseGetReplicaSetResponse parses an HTTP response from a GetReplicaSetWithResponse call

func (GetReplicaSetResponse) ContentType

func (r GetReplicaSetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReplicaSetResponse) GetBody

func (r GetReplicaSetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetReplicaSetResponse) GetJSON200

func (r GetReplicaSetResponse) GetJSON200() *ReplicaSetResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetReplicaSetResponse) GetJSON400

func (r GetReplicaSetResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetReplicaSetResponse) GetJSON401

func (r GetReplicaSetResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetReplicaSetResponse) GetJSON403

func (r GetReplicaSetResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetReplicaSetResponse) GetJSON404

func (r GetReplicaSetResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetReplicaSetResponse) GetJSON500

func (r GetReplicaSetResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetReplicaSetResponse) Status

func (r GetReplicaSetResponse) Status() string

Status returns HTTPResponse.Status

func (GetReplicaSetResponse) StatusCode

func (r GetReplicaSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReplicaSetsResponse

type GetReplicaSetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReplicaSetListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetReplicaSetsResponse

func ParseGetReplicaSetsResponse(rsp *http.Response) (*GetReplicaSetsResponse, error)

ParseGetReplicaSetsResponse parses an HTTP response from a GetReplicaSetsWithResponse call

func (GetReplicaSetsResponse) ContentType

func (r GetReplicaSetsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReplicaSetsResponse) GetBody

func (r GetReplicaSetsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetReplicaSetsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetReplicaSetsResponse) GetJSON401

func (r GetReplicaSetsResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetReplicaSetsResponse) GetJSON500

func (r GetReplicaSetsResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetReplicaSetsResponse) Status

func (r GetReplicaSetsResponse) Status() string

Status returns HTTPResponse.Status

func (GetReplicaSetsResponse) StatusCode

func (r GetReplicaSetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetServingEndpointsResponse

type GetServingEndpointsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string][]ServingEndpointResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetServingEndpointsResponse

func ParseGetServingEndpointsResponse(rsp *http.Response) (*GetServingEndpointsResponse, error)

ParseGetServingEndpointsResponse parses an HTTP response from a GetServingEndpointsWithResponse call

func (GetServingEndpointsResponse) ContentType

func (r GetServingEndpointsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetServingEndpointsResponse) GetBody

func (r GetServingEndpointsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetServingEndpointsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetServingEndpointsResponse) GetJSON401

func (r GetServingEndpointsResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetServingEndpointsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetServingEndpointsResponse) Status

Status returns HTTPResponse.Status

func (GetServingEndpointsResponse) StatusCode

func (r GetServingEndpointsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSmartBalancersResponse

type GetSmartBalancersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string][]SmartBalancerViewResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetSmartBalancersResponse

func ParseGetSmartBalancersResponse(rsp *http.Response) (*GetSmartBalancersResponse, error)

ParseGetSmartBalancersResponse parses an HTTP response from a GetSmartBalancersWithResponse call

func (GetSmartBalancersResponse) ContentType

func (r GetSmartBalancersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSmartBalancersResponse) GetBody

func (r GetSmartBalancersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSmartBalancersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSmartBalancersResponse) GetJSON401

func (r GetSmartBalancersResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSmartBalancersResponse) GetJSON500

func (r GetSmartBalancersResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSmartBalancersResponse) Status

func (r GetSmartBalancersResponse) Status() string

Status returns HTTPResponse.Status

func (GetSmartBalancersResponse) StatusCode

func (r GetSmartBalancersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetStorageVolumeResponse

type GetStorageVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *StorageVolumeResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetStorageVolumeResponse

func ParseGetStorageVolumeResponse(rsp *http.Response) (*GetStorageVolumeResponse, error)

ParseGetStorageVolumeResponse parses an HTTP response from a GetStorageVolumeWithResponse call

func (GetStorageVolumeResponse) ContentType

func (r GetStorageVolumeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetStorageVolumeResponse) GetBody

func (r GetStorageVolumeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetStorageVolumeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetStorageVolumeResponse) GetJSON400

func (r GetStorageVolumeResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetStorageVolumeResponse) GetJSON401

func (r GetStorageVolumeResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetStorageVolumeResponse) Status

func (r GetStorageVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (GetStorageVolumeResponse) StatusCode

func (r GetStorageVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetStorageVolumesResponse

type GetStorageVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *StorageVolumeResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetStorageVolumesResponse

func ParseGetStorageVolumesResponse(rsp *http.Response) (*GetStorageVolumesResponse, error)

ParseGetStorageVolumesResponse parses an HTTP response from a GetStorageVolumesWithResponse call

func (GetStorageVolumesResponse) ContentType

func (r GetStorageVolumesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetStorageVolumesResponse) GetBody

func (r GetStorageVolumesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetStorageVolumesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetStorageVolumesResponse) GetJSON401

func (r GetStorageVolumesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetStorageVolumesResponse) Status

func (r GetStorageVolumesResponse) Status() string

Status returns HTTPResponse.Status

func (GetStorageVolumesResponse) StatusCode

func (r GetStorageVolumesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSystemToolsResponse

type GetSystemToolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SystemToolOutput
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetSystemToolsResponse

func ParseGetSystemToolsResponse(rsp *http.Response) (*GetSystemToolsResponse, error)

ParseGetSystemToolsResponse parses an HTTP response from a GetSystemToolsWithResponse call

func (GetSystemToolsResponse) ContentType

func (r GetSystemToolsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSystemToolsResponse) GetBody

func (r GetSystemToolsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSystemToolsResponse) GetJSON200

func (r GetSystemToolsResponse) GetJSON200() *SystemToolOutput

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSystemToolsResponse) GetJSON401

func (r GetSystemToolsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSystemToolsResponse) Status

func (r GetSystemToolsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSystemToolsResponse) StatusCode

func (r GetSystemToolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetGroupResponse

type GetTargetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TargetGroupResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetTargetGroupResponse

func ParseGetTargetGroupResponse(rsp *http.Response) (*GetTargetGroupResponse, error)

ParseGetTargetGroupResponse parses an HTTP response from a GetTargetGroupWithResponse call

func (GetTargetGroupResponse) ContentType

func (r GetTargetGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTargetGroupResponse) GetBody

func (r GetTargetGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTargetGroupResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTargetGroupResponse) GetJSON400

func (r GetTargetGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTargetGroupResponse) GetJSON401

func (r GetTargetGroupResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTargetGroupResponse) GetJSON403

func (r GetTargetGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTargetGroupResponse) GetJSON404

func (r GetTargetGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTargetGroupResponse) GetJSON500

func (r GetTargetGroupResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTargetGroupResponse) Status

func (r GetTargetGroupResponse) Status() string

Status returns HTTPResponse.Status

func (GetTargetGroupResponse) StatusCode

func (r GetTargetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTargetGroupsResponse

type GetTargetGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string][]TargetGroupResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetTargetGroupsResponse

func ParseGetTargetGroupsResponse(rsp *http.Response) (*GetTargetGroupsResponse, error)

ParseGetTargetGroupsResponse parses an HTTP response from a GetTargetGroupsWithResponse call

func (GetTargetGroupsResponse) ContentType

func (r GetTargetGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTargetGroupsResponse) GetBody

func (r GetTargetGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTargetGroupsResponse) GetJSON200

func (r GetTargetGroupsResponse) GetJSON200() *map[string][]TargetGroupResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTargetGroupsResponse) GetJSON401

func (r GetTargetGroupsResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTargetGroupsResponse) GetJSON500

func (r GetTargetGroupsResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTargetGroupsResponse) Status

func (r GetTargetGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (GetTargetGroupsResponse) StatusCode

func (r GetTargetGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplateBySlugResponse

type GetTemplateBySlugResponse struct {
	Template *TemplateWithVariants `json:"template,omitempty"`
}

GetTemplateBySlugResponse defines model for GetTemplateBySlugResponse.

type GetUserAPIKeysResponse added in v1.0.3

type GetUserAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ApiKeyListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetUserAPIKeysResponse added in v1.0.3

func ParseGetUserAPIKeysResponse(rsp *http.Response) (*GetUserAPIKeysResponse, error)

ParseGetUserAPIKeysResponse parses an HTTP response from a GetUserAPIKeysWithResponse call

func (GetUserAPIKeysResponse) ContentType added in v1.0.3

func (r GetUserAPIKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserAPIKeysResponse) GetBody added in v1.0.3

func (r GetUserAPIKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUserAPIKeysResponse) GetJSON200 added in v1.0.3

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserAPIKeysResponse) GetJSON401 added in v1.0.3

func (r GetUserAPIKeysResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUserAPIKeysResponse) GetJSON500 added in v1.0.3

func (r GetUserAPIKeysResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUserAPIKeysResponse) Status added in v1.0.3

func (r GetUserAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserAPIKeysResponse) StatusCode added in v1.0.3

func (r GetUserAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserVariantResponse

type GetUserVariantResponse struct {
	Variant *VariantWithRelations `json:"variant,omitempty"`
}

GetUserVariantResponse defines model for GetUserVariantResponse.

type GetV1AudioVoicesParams

type GetV1AudioVoicesParams struct {
	// Model Model ID
	Model string `form:"model" json:"model"`
}

GetV1AudioVoicesParams defines parameters for GetV1AudioVoices.

type GetV1AudioVoicesResponse

type GetV1AudioVoicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParseGetV1AudioVoicesResponse

func ParseGetV1AudioVoicesResponse(rsp *http.Response) (*GetV1AudioVoicesResponse, error)

ParseGetV1AudioVoicesResponse parses an HTTP response from a GetV1AudioVoicesWithResponse call

func (GetV1AudioVoicesResponse) ContentType

func (r GetV1AudioVoicesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1AudioVoicesResponse) GetBody

func (r GetV1AudioVoicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV1AudioVoicesResponse) GetJSON200

func (r GetV1AudioVoicesResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV1AudioVoicesResponse) GetJSON400

func (r GetV1AudioVoicesResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetV1AudioVoicesResponse) GetJSON401

func (r GetV1AudioVoicesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV1AudioVoicesResponse) GetJSON502

func (r GetV1AudioVoicesResponse) GetJSON502() *ErrorResponse

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetV1AudioVoicesResponse) Status

func (r GetV1AudioVoicesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1AudioVoicesResponse) StatusCode

func (r GetV1AudioVoicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1PublicModelPricesParams

type GetV1PublicModelPricesParams struct {
	// Query Search query for model prices
	Query *string `form:"query,omitempty" json:"query,omitempty"`
}

GetV1PublicModelPricesParams defines parameters for GetV1PublicModelPrices.

type GetV1PublicModelPricesResponse

type GetV1PublicModelPricesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelPricesResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *ErrorResponse
}

func ParseGetV1PublicModelPricesResponse

func ParseGetV1PublicModelPricesResponse(rsp *http.Response) (*GetV1PublicModelPricesResponse, error)

ParseGetV1PublicModelPricesResponse parses an HTTP response from a GetV1PublicModelPricesWithResponse call

func (GetV1PublicModelPricesResponse) ContentType

func (r GetV1PublicModelPricesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1PublicModelPricesResponse) GetBody

func (r GetV1PublicModelPricesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV1PublicModelPricesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV1PublicModelPricesResponse) GetJSON502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetV1PublicModelPricesResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetV1PublicModelPricesResponse) Status

Status returns HTTPResponse.Status

func (GetV1PublicModelPricesResponse) StatusCode

func (r GetV1PublicModelPricesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1PublicPricingResponse

type GetV1PublicPricingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PublicPricingResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParseGetV1PublicPricingResponse

func ParseGetV1PublicPricingResponse(rsp *http.Response) (*GetV1PublicPricingResponse, error)

ParseGetV1PublicPricingResponse parses an HTTP response from a GetV1PublicPricingWithResponse call

func (GetV1PublicPricingResponse) ContentType

func (r GetV1PublicPricingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1PublicPricingResponse) GetBody

func (r GetV1PublicPricingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV1PublicPricingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV1PublicPricingResponse) GetJSON502

func (r GetV1PublicPricingResponse) GetJSON502() *ErrorResponse

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetV1PublicPricingResponse) Status

Status returns HTTPResponse.Status

func (GetV1PublicPricingResponse) StatusCode

func (r GetV1PublicPricingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1ResponsesWebSocketResponse

type GetV1ResponsesWebSocketResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON101 the response for an HTTP 101 `application/json` response
	JSON101 *string
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetV1ResponsesWebSocketResponse

func ParseGetV1ResponsesWebSocketResponse(rsp *http.Response) (*GetV1ResponsesWebSocketResponse, error)

ParseGetV1ResponsesWebSocketResponse parses an HTTP response from a GetV1ResponsesWebSocketWithResponse call

func (GetV1ResponsesWebSocketResponse) ContentType

func (r GetV1ResponsesWebSocketResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1ResponsesWebSocketResponse) GetBody

func (r GetV1ResponsesWebSocketResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV1ResponsesWebSocketResponse) GetJSON101

func (r GetV1ResponsesWebSocketResponse) GetJSON101() *string

GetJSON101 returns the response for an HTTP 101 `application/json` response

func (GetV1ResponsesWebSocketResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV1ResponsesWebSocketResponse) Status

Status returns HTTPResponse.Status

func (GetV1ResponsesWebSocketResponse) StatusCode

func (r GetV1ResponsesWebSocketResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1TemplateBySlugParams

type GetV1TemplateBySlugParams struct {
	// Locale Locale (default en)
	Locale *string `form:"locale,omitempty" json:"locale,omitempty"`
}

GetV1TemplateBySlugParams defines parameters for GetV1TemplateBySlug.

type GetV1TemplateBySlugResponse

type GetV1TemplateBySlugResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetTemplateBySlugResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ErrorResponse
}

func ParseGetV1TemplateBySlugResponse

func ParseGetV1TemplateBySlugResponse(rsp *http.Response) (*GetV1TemplateBySlugResponse, error)

ParseGetV1TemplateBySlugResponse parses an HTTP response from a GetV1TemplateBySlugWithResponse call

func (GetV1TemplateBySlugResponse) ContentType

func (r GetV1TemplateBySlugResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1TemplateBySlugResponse) GetBody

func (r GetV1TemplateBySlugResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV1TemplateBySlugResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV1TemplateBySlugResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetV1TemplateBySlugResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetV1TemplateBySlugResponse) Status

Status returns HTTPResponse.Status

func (GetV1TemplateBySlugResponse) StatusCode

func (r GetV1TemplateBySlugResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1TemplateParams

type GetV1TemplateParams struct {
	// Locale Locale (default en)
	Locale *string `form:"locale,omitempty" json:"locale,omitempty"`
}

GetV1TemplateParams defines parameters for GetV1Template.

type GetV1TemplateResponse

type GetV1TemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetUserVariantResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ErrorResponse
}

func ParseGetV1TemplateResponse

func ParseGetV1TemplateResponse(rsp *http.Response) (*GetV1TemplateResponse, error)

ParseGetV1TemplateResponse parses an HTTP response from a GetV1TemplateWithResponse call

func (GetV1TemplateResponse) ContentType

func (r GetV1TemplateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1TemplateResponse) GetBody

func (r GetV1TemplateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV1TemplateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV1TemplateResponse) GetJSON404

func (r GetV1TemplateResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetV1TemplateResponse) GetJSON503

func (r GetV1TemplateResponse) GetJSON503() *ErrorResponse

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetV1TemplateResponse) Status

func (r GetV1TemplateResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1TemplateResponse) StatusCode

func (r GetV1TemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1TemplatesParams

type GetV1TemplatesParams struct {
	// Limit Page size (default 50, max 100)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Page offset
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Locale Locale (default en)
	Locale *string `form:"locale,omitempty" json:"locale,omitempty"`

	// Category Category filter
	Category *string `form:"category,omitempty" json:"category,omitempty"`

	// Tag Tag filter
	Tag *string `form:"tag,omitempty" json:"tag,omitempty"`

	// FeaturedOnly Only featured templates
	FeaturedOnly *bool `form:"featured_only,omitempty" json:"featured_only,omitempty"`
}

GetV1TemplatesParams defines parameters for GetV1Templates.

type GetV1TemplatesResponse

type GetV1TemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListUserVariantsResponse
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ErrorResponse
}

func ParseGetV1TemplatesResponse

func ParseGetV1TemplatesResponse(rsp *http.Response) (*GetV1TemplatesResponse, error)

ParseGetV1TemplatesResponse parses an HTTP response from a GetV1TemplatesWithResponse call

func (GetV1TemplatesResponse) ContentType

func (r GetV1TemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV1TemplatesResponse) GetBody

func (r GetV1TemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV1TemplatesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV1TemplatesResponse) GetJSON503

func (r GetV1TemplatesResponse) GetJSON503() *ErrorResponse

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetV1TemplatesResponse) Status

func (r GetV1TemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1TemplatesResponse) StatusCode

func (r GetV1TemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVectorDatabaseDocumentsParams

type GetVectorDatabaseDocumentsParams struct {
	// Limit Maximum number of documents to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Pagination cursor from a previous response
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetVectorDatabaseDocumentsParams defines parameters for GetVectorDatabaseDocuments.

type GetVectorDatabaseDocumentsResponse

type GetVectorDatabaseDocumentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListDocumentsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetVectorDatabaseDocumentsResponse

func ParseGetVectorDatabaseDocumentsResponse(rsp *http.Response) (*GetVectorDatabaseDocumentsResponse, error)

ParseGetVectorDatabaseDocumentsResponse parses an HTTP response from a GetVectorDatabaseDocumentsWithResponse call

func (GetVectorDatabaseDocumentsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVectorDatabaseDocumentsResponse) GetBody

GetBody returns the raw response body bytes

func (GetVectorDatabaseDocumentsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVectorDatabaseDocumentsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetVectorDatabaseDocumentsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVectorDatabaseDocumentsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVectorDatabaseDocumentsResponse) Status

Status returns HTTPResponse.Status

func (GetVectorDatabaseDocumentsResponse) StatusCode

func (r GetVectorDatabaseDocumentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVectorDatabaseIndexJobResponse

type GetVectorDatabaseIndexJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *IndexJobResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetVectorDatabaseIndexJobResponse

func ParseGetVectorDatabaseIndexJobResponse(rsp *http.Response) (*GetVectorDatabaseIndexJobResponse, error)

ParseGetVectorDatabaseIndexJobResponse parses an HTTP response from a GetVectorDatabaseIndexJobWithResponse call

func (GetVectorDatabaseIndexJobResponse) ContentType

func (r GetVectorDatabaseIndexJobResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVectorDatabaseIndexJobResponse) GetBody

GetBody returns the raw response body bytes

func (GetVectorDatabaseIndexJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVectorDatabaseIndexJobResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetVectorDatabaseIndexJobResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVectorDatabaseIndexJobResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetVectorDatabaseIndexJobResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVectorDatabaseIndexJobResponse) Status

Status returns HTTPResponse.Status

func (GetVectorDatabaseIndexJobResponse) StatusCode

func (r GetVectorDatabaseIndexJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVectorDatabaseResponse

type GetVectorDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VectorDatabaseResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetVectorDatabaseResponse

func ParseGetVectorDatabaseResponse(rsp *http.Response) (*GetVectorDatabaseResponse, error)

ParseGetVectorDatabaseResponse parses an HTTP response from a GetVectorDatabaseWithResponse call

func (GetVectorDatabaseResponse) ContentType

func (r GetVectorDatabaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVectorDatabaseResponse) GetBody

func (r GetVectorDatabaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVectorDatabaseResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVectorDatabaseResponse) GetJSON400

func (r GetVectorDatabaseResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetVectorDatabaseResponse) GetJSON401

func (r GetVectorDatabaseResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVectorDatabaseResponse) GetJSON404

func (r GetVectorDatabaseResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetVectorDatabaseResponse) GetJSON500

func (r GetVectorDatabaseResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVectorDatabaseResponse) Status

func (r GetVectorDatabaseResponse) Status() string

Status returns HTTPResponse.Status

func (GetVectorDatabaseResponse) StatusCode

func (r GetVectorDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVectorDatabasesResponse

type GetVectorDatabasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VectorDatabaseResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetVectorDatabasesResponse

func ParseGetVectorDatabasesResponse(rsp *http.Response) (*GetVectorDatabasesResponse, error)

ParseGetVectorDatabasesResponse parses an HTTP response from a GetVectorDatabasesWithResponse call

func (GetVectorDatabasesResponse) ContentType

func (r GetVectorDatabasesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVectorDatabasesResponse) GetBody

func (r GetVectorDatabasesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVectorDatabasesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVectorDatabasesResponse) GetJSON401

func (r GetVectorDatabasesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVectorDatabasesResponse) GetJSON500

func (r GetVectorDatabasesResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVectorDatabasesResponse) Status

Status returns HTTPResponse.Status

func (GetVectorDatabasesResponse) StatusCode

func (r GetVectorDatabasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GpuListResponse

type GpuListResponse struct {
	Gpus *[]CatalogGPUResponse `json:"gpus,omitempty"`
}

GpuListResponse defines model for GpuListResponse.

type GpuPreferenceResponse

type GpuPreferenceResponse struct {
	Count            *int    `json:"count,omitempty"`
	ProviderCodename *string `json:"provider_codename,omitempty"`
	PublicGpuId      *string `json:"public_gpu_id,omitempty"`
}

GpuPreferenceResponse defines model for GpuPreferenceResponse.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type HuggingFaceGGUFFileResponse

type HuggingFaceGGUFFileResponse struct {
	Filename     *string `json:"filename,omitempty"`
	Quantization *string `json:"quantization,omitempty"`
	SizeBytes    *int    `json:"size_bytes,omitempty"`
}

HuggingFaceGGUFFileResponse defines model for HuggingFaceGGUFFileResponse.

type HuggingFaceModelResponse

type HuggingFaceModelResponse struct {
	Downloads      *int                           `json:"downloads,omitempty"`
	GgufFiles      *[]HuggingFaceGGUFFileResponse `json:"gguf_files,omitempty"`
	HasGguf        *bool                          `json:"has_gguf,omitempty"`
	HasSafetensors *bool                          `json:"has_safetensors,omitempty"`
	Likes          *int                           `json:"likes,omitempty"`
	PipelineTag    *string                        `json:"pipeline_tag,omitempty"`
	RepoId         *string                        `json:"repo_id,omitempty"`
	Tags           *[]string                      `json:"tags,omitempty"`
	Warnings       *[]string                      `json:"warnings,omitempty"`
}

HuggingFaceModelResponse defines model for HuggingFaceModelResponse.

type HuggingFaceModelsResponse

type HuggingFaceModelsResponse struct {
	Models *[]HuggingFaceModelResponse `json:"models,omitempty"`
}

HuggingFaceModelsResponse defines model for HuggingFaceModelsResponse.

type HuggingFaceOrgInfoResponse

type HuggingFaceOrgInfoResponse struct {
	AvatarUrl *string `json:"avatar_url,omitempty"`
	Fullname  *string `json:"fullname,omitempty"`
}

HuggingFaceOrgInfoResponse defines model for HuggingFaceOrgInfoResponse.

type ImageGenerationRequest

type ImageGenerationRequest struct {
	GuidanceScale     *float32 `json:"guidance_scale,omitempty"`
	Height            *int     `json:"height,omitempty"`
	Model             *string  `json:"model,omitempty"`
	N                 *int     `json:"n,omitempty"`
	NumInferenceSteps *int     `json:"num_inference_steps,omitempty"`
	Prompt            *string  `json:"prompt,omitempty"`
	Quality           *string  `json:"quality,omitempty"`
	ResponseFormat    *string  `json:"response_format,omitempty"`
	Seed              *int     `json:"seed,omitempty"`
	Size              *string  `json:"size,omitempty"`
	Style             *string  `json:"style,omitempty"`
	User              *string  `json:"user,omitempty"`
	Width             *int     `json:"width,omitempty"`
}

ImageGenerationRequest defines model for ImageGenerationRequest.

type IndexDocumentRequest

type IndexDocumentRequest struct {
	Content         *string                     `json:"content,omitempty"`
	ContentImageUrl *string                     `json:"content_image_url,omitempty"`
	Id              *string                     `json:"id,omitempty"`
	Metadata        *map[string]string          `json:"metadata,omitempty"`
	Source          *IndexDocumentSourceRequest `json:"source,omitempty"`
}

IndexDocumentRequest defines model for IndexDocumentRequest.

type IndexDocumentSourceRequest

type IndexDocumentSourceRequest struct {
	ImageUrl *string `json:"image_url,omitempty"`
	Text     *string `json:"text,omitempty"`
}

IndexDocumentSourceRequest defines model for IndexDocumentSourceRequest.

type IndexDocumentsRequest

type IndexDocumentsRequest struct {
	Documents *[]IndexDocumentRequest `json:"documents,omitempty"`
}

IndexDocumentsRequest defines model for IndexDocumentsRequest.

type IndexJobResponse

type IndexJobResponse struct {
	AccountId    *string `json:"account_id,omitempty"`
	CompletedAt  *string `json:"completed_at,omitempty"`
	CreatedAt    *string `json:"created_at,omitempty"`
	DatabaseId   *string `json:"database_id,omitempty"`
	ErrorMessage *string `json:"error_message,omitempty"`
	Id           *string `json:"id,omitempty"`
	Kind         *string `json:"kind,omitempty"`
	Status       *string `json:"status,omitempty"`
	UpdatedAt    *string `json:"updated_at,omitempty"`
}

IndexJobResponse defines model for IndexJobResponse.

type InstanceListResponse

type InstanceListResponse struct {
	Instances *[]InstanceResponse `json:"instances,omitempty"`
}

InstanceListResponse defines model for InstanceListResponse.

type InstanceResponse

type InstanceResponse struct {
	AccountId               *string                  `json:"account_id,omitempty"`
	CapacityTier            *string                  `json:"capacity_tier,omitempty"`
	CreatedAt               *string                  `json:"created_at,omitempty"`
	Description             *string                  `json:"description,omitempty"`
	EstimatedRequiredVramGb *float32                 `json:"estimated_required_vram_gb,omitempty"`
	FailureReason           *string                  `json:"failure_reason,omitempty"`
	GpuCount                *int                     `json:"gpu_count,omitempty"`
	GpuPreferences          *[]GpuPreferenceResponse `json:"gpu_preferences,omitempty"`
	HuggingfaceRepoId       *string                  `json:"huggingface_repo_id,omitempty"`
	Id                      *string                  `json:"id,omitempty"`
	IdleTimeoutSeconds      *int                     `json:"idle_timeout_seconds,omitempty"`
	LastRequestAt           *string                  `json:"last_request_at,omitempty"`
	Name                    *string                  `json:"name,omitempty"`
	PublicGpuId             *string                  `json:"public_gpu_id,omitempty"`
	PublicPricePerHourEur   *float32                 `json:"public_price_per_hour_eur,omitempty"`
	ReplicaSetId            *string                  `json:"replica_set_id,omitempty"`
	RuntimeConfigSnapshot   *string                  `json:"runtime_config_snapshot,omitempty"`
	RuntimePreset           *string                  `json:"runtime_preset,omitempty"`
	SchedulingMode          *string                  `json:"scheduling_mode,omitempty"`
	ServerlessEnabled       *bool                    `json:"serverless_enabled,omitempty"`
	ServingName             *string                  `json:"serving_name,omitempty"`
	SmartAllowCommunity     *bool                    `json:"smart_allow_community,omitempty"`
	SmartAllowSpot          *bool                    `json:"smart_allow_spot,omitempty"`
	SmartMaxPricePerHourEur *float32                 `json:"smart_max_price_per_hour_eur,omitempty"`
	SmartMinGpuClass        *string                  `json:"smart_min_gpu_class,omitempty"`
	SmartMinTotalTflops     *float32                 `json:"smart_min_total_tflops,omitempty"`
	SmartProviderFilterMode *string                  `json:"smart_provider_filter_mode,omitempty"`
	SmartProviderPreference *string                  `json:"smart_provider_preference,omitempty"`
	SmartRegion             *string                  `json:"smart_region,omitempty"`
	SmartRegions            *[]string                `json:"smart_regions,omitempty"`
	SmartSelectionLabel     *string                  `json:"smart_selection_label,omitempty"`
	StartedAt               *string                  `json:"started_at,omitempty"`
	State                   *string                  `json:"state,omitempty"`
	StoppedAt               *string                  `json:"stopped_at,omitempty"`
	WorkloadKind            *string                  `json:"workload_kind,omitempty"`
}

InstanceResponse defines model for InstanceResponse.

type InstanceUsageBucketResponse

type InstanceUsageBucketResponse struct {
	BillableSeconds *int     `json:"billable_seconds,omitempty"`
	CostEur         *float32 `json:"cost_eur,omitempty"`
	EndAt           *string  `json:"end_at,omitempty"`
	StartAt         *string  `json:"start_at,omitempty"`
}

InstanceUsageBucketResponse defines model for InstanceUsageBucketResponse.

type InstanceUsageResponse

type InstanceUsageResponse struct {
	BucketUnit      *string                        `json:"bucket_unit,omitempty"`
	Range           *string                        `json:"range,omitempty"`
	ResourceMetrics *ResourceMetricsResponse       `json:"resource_metrics,omitempty"`
	Series          *[]InstanceUsageBucketResponse `json:"series,omitempty"`
	Summary         *InstanceUsageSummaryResponse  `json:"summary,omitempty"`
}

InstanceUsageResponse defines model for InstanceUsageResponse.

type InstanceUsageSummaryResponse

type InstanceUsageSummaryResponse struct {
	MonthBillableSeconds     *int     `json:"month_billable_seconds,omitempty"`
	MonthDailyAverageCostEur *float32 `json:"month_daily_average_cost_eur,omitempty"`
	MonthTotalCostEur        *float32 `json:"month_total_cost_eur,omitempty"`
}

InstanceUsageSummaryResponse defines model for InstanceUsageSummaryResponse.

type InvitationListResponse

type InvitationListResponse struct {
	Invitations *[]InvitationResponse `json:"invitations,omitempty"`
}

InvitationListResponse defines model for InvitationListResponse.

type InvitationResponse

type InvitationResponse struct {
	AcceptedAtUnix     *int    `json:"accepted_at_unix,omitempty"`
	AcceptedBy         *string `json:"accepted_by,omitempty"`
	AccountDescription *string `json:"account_description,omitempty"`
	AccountId          *string `json:"account_id,omitempty"`
	AccountName        *string `json:"account_name,omitempty"`
	CreatedAtUnix      *int    `json:"created_at_unix,omitempty"`
	Email              *string `json:"email,omitempty"`
	ExpiresAtUnix      *int    `json:"expires_at_unix,omitempty"`
	Id                 *string `json:"id,omitempty"`
	InvitedBy          *string `json:"invited_by,omitempty"`
	Role               *string `json:"role,omitempty"`
	Status             *string `json:"status,omitempty"`
	Token              *string `json:"token,omitempty"`
}

InvitationResponse defines model for InvitationResponse.

type LedgerEntryResponse

type LedgerEntryResponse struct {
	AccountId *string  `json:"account_id,omitempty"`
	Amount    *float32 `json:"amount,omitempty"`
	Balance   *float32 `json:"balance,omitempty"`
	CreatedAt *string  `json:"created_at,omitempty"`
	EventType *string  `json:"event_type,omitempty"`
	Id        *string  `json:"id,omitempty"`
	Reference *string  `json:"reference,omitempty"`
}

LedgerEntryResponse defines model for LedgerEntryResponse.

type LedgerHistoryResponse

type LedgerHistoryResponse struct {
	Entries *[]LedgerEntryResponse `json:"entries,omitempty"`
	Total   *int                   `json:"total,omitempty"`
}

LedgerHistoryResponse defines model for LedgerHistoryResponse.

type ListDocumentsResponse

type ListDocumentsResponse struct {
	Documents  *[]ListedDocumentResponse `json:"documents,omitempty"`
	NextCursor *string                   `json:"next_cursor,omitempty"`
}

ListDocumentsResponse defines model for ListDocumentsResponse.

type ListUserVariantsResponse

type ListUserVariantsResponse struct {
	Items *[]VariantWithRelations `json:"items,omitempty"`
	Total *int                    `json:"total,omitempty"`
}

ListUserVariantsResponse defines model for ListUserVariantsResponse.

type ListedDocumentResponse

type ListedDocumentResponse struct {
	Content   *string                  `json:"content,omitempty"`
	Id        *string                  `json:"id,omitempty"`
	Metadata  *map[string]string       `json:"metadata,omitempty"`
	Source    *SearchHitSourceResponse `json:"source,omitempty"`
	UpdatedAt *string                  `json:"updated_at,omitempty"`
}

ListedDocumentResponse defines model for ListedDocumentResponse.

type LoginRequest

type LoginRequest struct {
	CfTurnstileResponse *string `json:"cf_turnstile_response,omitempty"`
	Email               string  `json:"email"`
	Password            string  `json:"password"`
	TotpCode            *string `json:"totp_code,omitempty"`
}

LoginRequest defines model for LoginRequest.

type LoginResponse

type LoginResponse struct {
	AccessToken       *string `json:"access_token,omitempty"`
	AccessTokenExpiry *int    `json:"access_token_expiry,omitempty"`
	NextStep          *string `json:"next_step,omitempty"`
	RefreshToken      *string `json:"refresh_token,omitempty"`
}

LoginResponse defines model for LoginResponse.

type Model

type Model struct {
	DisplayName         *string         `json:"display_name,omitempty"`
	Downloads           *int            `json:"downloads,omitempty"`
	Likes               *int            `json:"likes,omitempty"`
	Organization        *string         `json:"organization,omitempty"`
	OrganizationLogoUrl *string         `json:"organization_logo_url,omitempty"`
	PipelineTag         *string         `json:"pipeline_tag,omitempty"`
	PriceEurPerHour     *float32        `json:"price_eur_per_hour,omitempty"`
	PricingStatus       *PricingStatus  `json:"pricing_status,omitempty"`
	RecommendedGpu      *RecommendedGPU `json:"recommended_gpu,omitempty"`
	RepoId              *string         `json:"repo_id,omitempty"`
	Tags                *[]string       `json:"tags,omitempty"`
}

Model defines model for Model.

type ModelPricesResponse

type ModelPricesResponse struct {
	Models       *[]Model          `json:"models,omitempty"`
	Query        *string           `json:"query,omitempty"`
	Services     *[]PricingService `json:"services,omitempty"`
	Source       *string           `json:"source,omitempty"`
	SourceStatus *string           `json:"source_status,omitempty"`
	Stale        *bool             `json:"stale,omitempty"`
	UpdatedAt    *string           `json:"updated_at,omitempty"`
	Version      *int              `json:"version,omitempty"`
}

ModelPricesResponse defines model for ModelPricesResponse.

type Option

type Option func(*options)

Option customizes an API client.

func WithAPIKey

func WithAPIKey(key string) Option

WithAPIKey authenticates with a QDivZero API key, sent as "Authorization: Bearer <key>". Use WithAuthorization for other formats.

func WithAccessToken

func WithAccessToken(token string) Option

WithAccessToken pre-authenticates the client with a bearer access token.

func WithAuthorization

func WithAuthorization(value string) Option

WithAuthorization sends the given value verbatim as the Authorization header.

func WithCredentials

func WithCredentials(email, password string) Option

WithCredentials stores credentials for on-demand login when a request receives a 401 response.

func WithCustomHTTPClient

func WithCustomHTTPClient(c *http.Client) Option

WithCustomHTTPClient uses the given HTTP client instead of a default one.

func WithHeader added in v1.0.1

func WithHeader(name, value string) Option

WithHeader sends the given header on every request, unless the request already carries it. Useful for temporary API headers.

func WithRefreshToken

func WithRefreshToken(token string) Option

WithRefreshToken sets a refresh token used for automatic token refresh.

func WithServerURL

func WithServerURL(u string) Option

WithServerURL overrides the default base URL (https://api.qdiv0.com).

type PasskeyListResponse

type PasskeyListResponse struct {
	Passkeys *[]PasskeyResponse `json:"passkeys,omitempty"`
}

PasskeyListResponse defines model for PasskeyListResponse.

type PasskeyResponse

type PasskeyResponse struct {
	CredentialId *string `json:"credential_id,omitempty"`
	PublicKey    *string `json:"public_key,omitempty"`
	SignCount    *int    `json:"sign_count,omitempty"`
}

PasskeyResponse defines model for PasskeyResponse.

type PatchAccountsCurrentFiscalProfileJSONRequestBody

type PatchAccountsCurrentFiscalProfileJSONRequestBody = UpdateFiscalProfileRequest

PatchAccountsCurrentFiscalProfileJSONRequestBody defines body for PatchAccountsCurrentFiscalProfile for application/json ContentType.

type PatchAccountsCurrentFiscalProfileResponse

type PatchAccountsCurrentFiscalProfileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchAccountsCurrentFiscalProfileResponse

func ParsePatchAccountsCurrentFiscalProfileResponse(rsp *http.Response) (*PatchAccountsCurrentFiscalProfileResponse, error)

ParsePatchAccountsCurrentFiscalProfileResponse parses an HTTP response from a PatchAccountsCurrentFiscalProfileWithResponse call

func (PatchAccountsCurrentFiscalProfileResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchAccountsCurrentFiscalProfileResponse) GetBody

GetBody returns the raw response body bytes

func (PatchAccountsCurrentFiscalProfileResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchAccountsCurrentFiscalProfileResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchAccountsCurrentFiscalProfileResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchAccountsCurrentFiscalProfileResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchAccountsCurrentFiscalProfileResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchAccountsCurrentFiscalProfileResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchAccountsCurrentFiscalProfileResponse) Status

Status returns HTTPResponse.Status

func (PatchAccountsCurrentFiscalProfileResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchAccountsCurrentJSONRequestBody

type PatchAccountsCurrentJSONRequestBody = UpdateAccountRequest

PatchAccountsCurrentJSONRequestBody defines body for PatchAccountsCurrent for application/json ContentType.

type PatchAccountsCurrentMembersByUserIDJSONRequestBody

type PatchAccountsCurrentMembersByUserIDJSONRequestBody = UpdateAccountMemberRequest

PatchAccountsCurrentMembersByUserIDJSONRequestBody defines body for PatchAccountsCurrentMembersByUserID for application/json ContentType.

type PatchAccountsCurrentMembersByUserIDResponse

type PatchAccountsCurrentMembersByUserIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountMemberResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON412 the response for an HTTP 412 `application/json` response
	JSON412 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchAccountsCurrentMembersByUserIDResponse

func ParsePatchAccountsCurrentMembersByUserIDResponse(rsp *http.Response) (*PatchAccountsCurrentMembersByUserIDResponse, error)

ParsePatchAccountsCurrentMembersByUserIDResponse parses an HTTP response from a PatchAccountsCurrentMembersByUserIDWithResponse call

func (PatchAccountsCurrentMembersByUserIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchAccountsCurrentMembersByUserIDResponse) GetBody

GetBody returns the raw response body bytes

func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON412

GetJSON412 returns the response for an HTTP 412 `application/json` response

func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchAccountsCurrentMembersByUserIDResponse) Status

Status returns HTTPResponse.Status

func (PatchAccountsCurrentMembersByUserIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchAccountsCurrentResponse

type PatchAccountsCurrentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchAccountsCurrentResponse

func ParsePatchAccountsCurrentResponse(rsp *http.Response) (*PatchAccountsCurrentResponse, error)

ParsePatchAccountsCurrentResponse parses an HTTP response from a PatchAccountsCurrentWithResponse call

func (PatchAccountsCurrentResponse) ContentType

func (r PatchAccountsCurrentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchAccountsCurrentResponse) GetBody

func (r PatchAccountsCurrentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchAccountsCurrentResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchAccountsCurrentResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchAccountsCurrentResponse) GetJSON401

func (r PatchAccountsCurrentResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchAccountsCurrentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchAccountsCurrentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchAccountsCurrentResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchAccountsCurrentResponse) Status

Status returns HTTPResponse.Status

func (PatchAccountsCurrentResponse) StatusCode

func (r PatchAccountsCurrentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchAuthPasswordJSONRequestBody

type PatchAuthPasswordJSONRequestBody = ChangePasswordRequest

PatchAuthPasswordJSONRequestBody defines body for PatchAuthPassword for application/json ContentType.

type PatchAuthPasswordResponse

type PatchAuthPasswordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON204 the response for an HTTP 204 `application/json` response
	JSON204 *string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchAuthPasswordResponse

func ParsePatchAuthPasswordResponse(rsp *http.Response) (*PatchAuthPasswordResponse, error)

ParsePatchAuthPasswordResponse parses an HTTP response from a PatchAuthPasswordWithResponse call

func (PatchAuthPasswordResponse) ContentType

func (r PatchAuthPasswordResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchAuthPasswordResponse) GetBody

func (r PatchAuthPasswordResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchAuthPasswordResponse) GetJSON204

func (r PatchAuthPasswordResponse) GetJSON204() *string

GetJSON204 returns the response for an HTTP 204 `application/json` response

func (PatchAuthPasswordResponse) GetJSON400

func (r PatchAuthPasswordResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchAuthPasswordResponse) GetJSON401

func (r PatchAuthPasswordResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchAuthPasswordResponse) GetJSON404

func (r PatchAuthPasswordResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchAuthPasswordResponse) GetJSON500

func (r PatchAuthPasswordResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchAuthPasswordResponse) Status

func (r PatchAuthPasswordResponse) Status() string

Status returns HTTPResponse.Status

func (PatchAuthPasswordResponse) StatusCode

func (r PatchAuthPasswordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchAuthPreferencesJSONRequestBody

type PatchAuthPreferencesJSONRequestBody = UpdatePreferencesRequest

PatchAuthPreferencesJSONRequestBody defines body for PatchAuthPreferences for application/json ContentType.

type PatchAuthPreferencesResponse

type PatchAuthPreferencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON204 the response for an HTTP 204 `application/json` response
	JSON204 *string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchAuthPreferencesResponse

func ParsePatchAuthPreferencesResponse(rsp *http.Response) (*PatchAuthPreferencesResponse, error)

ParsePatchAuthPreferencesResponse parses an HTTP response from a PatchAuthPreferencesWithResponse call

func (PatchAuthPreferencesResponse) ContentType

func (r PatchAuthPreferencesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchAuthPreferencesResponse) GetBody

func (r PatchAuthPreferencesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchAuthPreferencesResponse) GetJSON204

func (r PatchAuthPreferencesResponse) GetJSON204() *string

GetJSON204 returns the response for an HTTP 204 `application/json` response

func (PatchAuthPreferencesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchAuthPreferencesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchAuthPreferencesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchAuthPreferencesResponse) Status

Status returns HTTPResponse.Status

func (PatchAuthPreferencesResponse) StatusCode

func (r PatchAuthPreferencesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchFirewallJSONRequestBody

type PatchFirewallJSONRequestBody = UpdateFirewallRequest

PatchFirewallJSONRequestBody defines body for PatchFirewall for application/json ContentType.

type PatchFirewallResponse

type PatchFirewallResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FirewallResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchFirewallResponse

func ParsePatchFirewallResponse(rsp *http.Response) (*PatchFirewallResponse, error)

ParsePatchFirewallResponse parses an HTTP response from a PatchFirewallWithResponse call

func (PatchFirewallResponse) ContentType

func (r PatchFirewallResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchFirewallResponse) GetBody

func (r PatchFirewallResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchFirewallResponse) GetJSON200

func (r PatchFirewallResponse) GetJSON200() *FirewallResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchFirewallResponse) GetJSON400

func (r PatchFirewallResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchFirewallResponse) GetJSON401

func (r PatchFirewallResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchFirewallResponse) GetJSON404

func (r PatchFirewallResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchFirewallResponse) GetJSON500

func (r PatchFirewallResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchFirewallResponse) Status

func (r PatchFirewallResponse) Status() string

Status returns HTTPResponse.Status

func (PatchFirewallResponse) StatusCode

func (r PatchFirewallResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchFirewallRuleJSONRequestBody

type PatchFirewallRuleJSONRequestBody = UpdateFirewallRuleRequest

PatchFirewallRuleJSONRequestBody defines body for PatchFirewallRule for application/json ContentType.

type PatchFirewallRuleResponse

type PatchFirewallRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FirewallRuleResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchFirewallRuleResponse

func ParsePatchFirewallRuleResponse(rsp *http.Response) (*PatchFirewallRuleResponse, error)

ParsePatchFirewallRuleResponse parses an HTTP response from a PatchFirewallRuleWithResponse call

func (PatchFirewallRuleResponse) ContentType

func (r PatchFirewallRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchFirewallRuleResponse) GetBody

func (r PatchFirewallRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchFirewallRuleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchFirewallRuleResponse) GetJSON400

func (r PatchFirewallRuleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchFirewallRuleResponse) GetJSON401

func (r PatchFirewallRuleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchFirewallRuleResponse) GetJSON404

func (r PatchFirewallRuleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchFirewallRuleResponse) GetJSON500

func (r PatchFirewallRuleResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchFirewallRuleResponse) Status

func (r PatchFirewallRuleResponse) Status() string

Status returns HTTPResponse.Status

func (PatchFirewallRuleResponse) StatusCode

func (r PatchFirewallRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchInstanceJSONRequestBody

type PatchInstanceJSONRequestBody = UpdateInstanceRequest

PatchInstanceJSONRequestBody defines body for PatchInstance for application/json ContentType.

type PatchInstanceResponse

type PatchInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InstanceResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchInstanceResponse

func ParsePatchInstanceResponse(rsp *http.Response) (*PatchInstanceResponse, error)

ParsePatchInstanceResponse parses an HTTP response from a PatchInstanceWithResponse call

func (PatchInstanceResponse) ContentType

func (r PatchInstanceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchInstanceResponse) GetBody

func (r PatchInstanceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchInstanceResponse) GetJSON200

func (r PatchInstanceResponse) GetJSON200() *InstanceResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchInstanceResponse) GetJSON400

func (r PatchInstanceResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchInstanceResponse) GetJSON401

func (r PatchInstanceResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchInstanceResponse) GetJSON403

func (r PatchInstanceResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchInstanceResponse) GetJSON404

func (r PatchInstanceResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchInstanceResponse) GetJSON500

func (r PatchInstanceResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchInstanceResponse) Status

func (r PatchInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (PatchInstanceResponse) StatusCode

func (r PatchInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchInstanceScheduleRuleJSONRequestBody

type PatchInstanceScheduleRuleJSONRequestBody = ScheduleRuleRequest

PatchInstanceScheduleRuleJSONRequestBody defines body for PatchInstanceScheduleRule for application/json ContentType.

type PatchInstanceScheduleRuleResponse

type PatchInstanceScheduleRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScheduleRuleResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchInstanceScheduleRuleResponse

func ParsePatchInstanceScheduleRuleResponse(rsp *http.Response) (*PatchInstanceScheduleRuleResponse, error)

ParsePatchInstanceScheduleRuleResponse parses an HTTP response from a PatchInstanceScheduleRuleWithResponse call

func (PatchInstanceScheduleRuleResponse) ContentType

func (r PatchInstanceScheduleRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchInstanceScheduleRuleResponse) GetBody

GetBody returns the raw response body bytes

func (PatchInstanceScheduleRuleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchInstanceScheduleRuleResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchInstanceScheduleRuleResponse) GetJSON401

func (r PatchInstanceScheduleRuleResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchInstanceScheduleRuleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchInstanceScheduleRuleResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchInstanceScheduleRuleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchInstanceScheduleRuleResponse) Status

Status returns HTTPResponse.Status

func (PatchInstanceScheduleRuleResponse) StatusCode

func (r PatchInstanceScheduleRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchReplicaSetJSONRequestBody

type PatchReplicaSetJSONRequestBody = UpdateReplicaSetRequest

PatchReplicaSetJSONRequestBody defines body for PatchReplicaSet for application/json ContentType.

type PatchReplicaSetResponse

type PatchReplicaSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReplicaSetResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchReplicaSetResponse

func ParsePatchReplicaSetResponse(rsp *http.Response) (*PatchReplicaSetResponse, error)

ParsePatchReplicaSetResponse parses an HTTP response from a PatchReplicaSetWithResponse call

func (PatchReplicaSetResponse) ContentType

func (r PatchReplicaSetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchReplicaSetResponse) GetBody

func (r PatchReplicaSetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchReplicaSetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchReplicaSetResponse) GetJSON400

func (r PatchReplicaSetResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchReplicaSetResponse) GetJSON401

func (r PatchReplicaSetResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchReplicaSetResponse) GetJSON403

func (r PatchReplicaSetResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchReplicaSetResponse) GetJSON404

func (r PatchReplicaSetResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchReplicaSetResponse) GetJSON500

func (r PatchReplicaSetResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchReplicaSetResponse) Status

func (r PatchReplicaSetResponse) Status() string

Status returns HTTPResponse.Status

func (PatchReplicaSetResponse) StatusCode

func (r PatchReplicaSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchSmartBalancerJSONRequestBody

type PatchSmartBalancerJSONRequestBody = UpdateSmartBalancerRequest

PatchSmartBalancerJSONRequestBody defines body for PatchSmartBalancer for application/json ContentType.

type PatchSmartBalancerResponse

type PatchSmartBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SmartBalancerViewResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchSmartBalancerResponse

func ParsePatchSmartBalancerResponse(rsp *http.Response) (*PatchSmartBalancerResponse, error)

ParsePatchSmartBalancerResponse parses an HTTP response from a PatchSmartBalancerWithResponse call

func (PatchSmartBalancerResponse) ContentType

func (r PatchSmartBalancerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchSmartBalancerResponse) GetBody

func (r PatchSmartBalancerResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchSmartBalancerResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchSmartBalancerResponse) GetJSON400

func (r PatchSmartBalancerResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchSmartBalancerResponse) GetJSON401

func (r PatchSmartBalancerResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchSmartBalancerResponse) GetJSON403

func (r PatchSmartBalancerResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchSmartBalancerResponse) GetJSON404

func (r PatchSmartBalancerResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchSmartBalancerResponse) GetJSON500

func (r PatchSmartBalancerResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchSmartBalancerResponse) Status

Status returns HTTPResponse.Status

func (PatchSmartBalancerResponse) StatusCode

func (r PatchSmartBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTargetGroupJSONRequestBody

type PatchTargetGroupJSONRequestBody = UpdateTargetGroupRequest

PatchTargetGroupJSONRequestBody defines body for PatchTargetGroup for application/json ContentType.

type PatchTargetGroupResponse

type PatchTargetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TargetGroupResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchTargetGroupResponse

func ParsePatchTargetGroupResponse(rsp *http.Response) (*PatchTargetGroupResponse, error)

ParsePatchTargetGroupResponse parses an HTTP response from a PatchTargetGroupWithResponse call

func (PatchTargetGroupResponse) ContentType

func (r PatchTargetGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchTargetGroupResponse) GetBody

func (r PatchTargetGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchTargetGroupResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchTargetGroupResponse) GetJSON400

func (r PatchTargetGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchTargetGroupResponse) GetJSON401

func (r PatchTargetGroupResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchTargetGroupResponse) GetJSON403

func (r PatchTargetGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PatchTargetGroupResponse) GetJSON404

func (r PatchTargetGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchTargetGroupResponse) GetJSON500

func (r PatchTargetGroupResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchTargetGroupResponse) Status

func (r PatchTargetGroupResponse) Status() string

Status returns HTTPResponse.Status

func (PatchTargetGroupResponse) StatusCode

func (r PatchTargetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchVectorDatabaseJSONRequestBody

type PatchVectorDatabaseJSONRequestBody = UpdateVectorDatabaseRequest

PatchVectorDatabaseJSONRequestBody defines body for PatchVectorDatabase for application/json ContentType.

type PatchVectorDatabaseResponse

type PatchVectorDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VectorDatabaseResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePatchVectorDatabaseResponse

func ParsePatchVectorDatabaseResponse(rsp *http.Response) (*PatchVectorDatabaseResponse, error)

ParsePatchVectorDatabaseResponse parses an HTTP response from a PatchVectorDatabaseWithResponse call

func (PatchVectorDatabaseResponse) ContentType

func (r PatchVectorDatabaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchVectorDatabaseResponse) GetBody

func (r PatchVectorDatabaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchVectorDatabaseResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchVectorDatabaseResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchVectorDatabaseResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchVectorDatabaseResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchVectorDatabaseResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchVectorDatabaseResponse) Status

Status returns HTTPResponse.Status

func (PatchVectorDatabaseResponse) StatusCode

func (r PatchVectorDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PaymentResponse

type PaymentResponse struct {
	AccountId             *string `json:"account_id,omitempty"`
	AmountCreditBaseMinor *int    `json:"amount_credit_base_minor,omitempty"`
	AmountDiscountMinor   *int    `json:"amount_discount_minor,omitempty"`
	AmountSubtotalMinor   *int    `json:"amount_subtotal_minor,omitempty"`
	AmountTaxMinor        *int    `json:"amount_tax_minor,omitempty"`
	AmountTotalMinor      *int    `json:"amount_total_minor,omitempty"`
	CreatedAt             *string `json:"created_at,omitempty"`
	CreditedAt            *string `json:"credited_at,omitempty"`
	CreditedEurCents      *int    `json:"credited_eur_cents,omitempty"`
	Currency              *string `json:"currency,omitempty"`
	DiscountCodeSnapshot  *string `json:"discount_code_snapshot,omitempty"`
	DiscountTicketId      *string `json:"discount_ticket_id,omitempty"`
	HoldedContactId       *string `json:"holded_contact_id,omitempty"`
	HoldedInvoiceId       *string `json:"holded_invoice_id,omitempty"`
	HoldedInvoiceNumber   *string `json:"holded_invoice_number,omitempty"`
	HoldedInvoiceStatus   *string `json:"holded_invoice_status,omitempty"`
	HoldedInvoiceUrl      *string `json:"holded_invoice_url,omitempty"`
	Id                    *string `json:"id,omitempty"`
	InvoiceState          *string `json:"invoice_state,omitempty"`
	LedgerEntryId         *string `json:"ledger_entry_id,omitempty"`
	PaidAt                *string `json:"paid_at,omitempty"`
	Provider              *string `json:"provider,omitempty"`
	Reference             *string `json:"reference,omitempty"`
	Status                *string `json:"status,omitempty"`
	StripeCustomerId      *string `json:"stripe_customer_id,omitempty"`
	StripeEventId         *string `json:"stripe_event_id,omitempty"`
	StripePaymentIntentId *string `json:"stripe_payment_intent_id,omitempty"`
	StripeSessionId       *string `json:"stripe_session_id,omitempty"`
	UpdatedAt             *string `json:"updated_at,omitempty"`
}

PaymentResponse defines model for PaymentResponse.

type PaymentsResponse

type PaymentsResponse struct {
	Items *[]PaymentResponse `json:"items,omitempty"`
}

PaymentsResponse defines model for PaymentsResponse.

type PostAccountsCurrentInvitationsJSONRequestBody

type PostAccountsCurrentInvitationsJSONRequestBody = CreateInvitationRequest

PostAccountsCurrentInvitationsJSONRequestBody defines body for PostAccountsCurrentInvitations for application/json ContentType.

type PostAccountsCurrentInvitationsResponse

type PostAccountsCurrentInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *InvitationResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON412 the response for an HTTP 412 `application/json` response
	JSON412 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAccountsCurrentInvitationsResponse

func ParsePostAccountsCurrentInvitationsResponse(rsp *http.Response) (*PostAccountsCurrentInvitationsResponse, error)

ParsePostAccountsCurrentInvitationsResponse parses an HTTP response from a PostAccountsCurrentInvitationsWithResponse call

func (PostAccountsCurrentInvitationsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAccountsCurrentInvitationsResponse) GetBody

GetBody returns the raw response body bytes

func (PostAccountsCurrentInvitationsResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostAccountsCurrentInvitationsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAccountsCurrentInvitationsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAccountsCurrentInvitationsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostAccountsCurrentInvitationsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAccountsCurrentInvitationsResponse) GetJSON412

GetJSON412 returns the response for an HTTP 412 `application/json` response

func (PostAccountsCurrentInvitationsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAccountsCurrentInvitationsResponse) Status

Status returns HTTPResponse.Status

func (PostAccountsCurrentInvitationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAccountsCurrentMembersJSONRequestBody

type PostAccountsCurrentMembersJSONRequestBody = AddAccountMemberRequest

PostAccountsCurrentMembersJSONRequestBody defines body for PostAccountsCurrentMembers for application/json ContentType.

type PostAccountsCurrentMembersResponse

type PostAccountsCurrentMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountMemberResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON412 the response for an HTTP 412 `application/json` response
	JSON412 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAccountsCurrentMembersResponse

func ParsePostAccountsCurrentMembersResponse(rsp *http.Response) (*PostAccountsCurrentMembersResponse, error)

ParsePostAccountsCurrentMembersResponse parses an HTTP response from a PostAccountsCurrentMembersWithResponse call

func (PostAccountsCurrentMembersResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAccountsCurrentMembersResponse) GetBody

GetBody returns the raw response body bytes

func (PostAccountsCurrentMembersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAccountsCurrentMembersResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAccountsCurrentMembersResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAccountsCurrentMembersResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostAccountsCurrentMembersResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAccountsCurrentMembersResponse) GetJSON412

GetJSON412 returns the response for an HTTP 412 `application/json` response

func (PostAccountsCurrentMembersResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAccountsCurrentMembersResponse) Status

Status returns HTTPResponse.Status

func (PostAccountsCurrentMembersResponse) StatusCode

func (r PostAccountsCurrentMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAccountsJSONRequestBody

type PostAccountsJSONRequestBody = CreateAccountRequest

PostAccountsJSONRequestBody defines body for PostAccounts for application/json ContentType.

type PostAccountsResponse

type PostAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AccountMembershipResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAccountsResponse

func ParsePostAccountsResponse(rsp *http.Response) (*PostAccountsResponse, error)

ParsePostAccountsResponse parses an HTTP response from a PostAccountsWithResponse call

func (PostAccountsResponse) ContentType

func (r PostAccountsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAccountsResponse) GetBody

func (r PostAccountsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAccountsResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostAccountsResponse) GetJSON400

func (r PostAccountsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAccountsResponse) GetJSON401

func (r PostAccountsResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAccountsResponse) GetJSON500

func (r PostAccountsResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAccountsResponse) Status

func (r PostAccountsResponse) Status() string

Status returns HTTPResponse.Status

func (PostAccountsResponse) StatusCode

func (r PostAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostApiKeysKeyIDRevokeResponse

type PostApiKeysKeyIDRevokeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostApiKeysKeyIDRevokeResponse

func ParsePostApiKeysKeyIDRevokeResponse(rsp *http.Response) (*PostApiKeysKeyIDRevokeResponse, error)

ParsePostApiKeysKeyIDRevokeResponse parses an HTTP response from a PostApiKeysKeyIDRevokeWithResponse call

func (PostApiKeysKeyIDRevokeResponse) ContentType

func (r PostApiKeysKeyIDRevokeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostApiKeysKeyIDRevokeResponse) GetBody

func (r PostApiKeysKeyIDRevokeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostApiKeysKeyIDRevokeResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostApiKeysKeyIDRevokeResponse) GetJSON401

func (r PostApiKeysKeyIDRevokeResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostApiKeysKeyIDRevokeResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostApiKeysKeyIDRevokeResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostApiKeysKeyIDRevokeResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostApiKeysKeyIDRevokeResponse) Status

Status returns HTTPResponse.Status

func (PostApiKeysKeyIDRevokeResponse) StatusCode

func (r PostApiKeysKeyIDRevokeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostApiKeysResponse

type PostApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ApiKeyResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostApiKeysResponse

func ParsePostApiKeysResponse(rsp *http.Response) (*PostApiKeysResponse, error)

ParsePostApiKeysResponse parses an HTTP response from a PostApiKeysWithResponse call

func (PostApiKeysResponse) ContentType

func (r PostApiKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostApiKeysResponse) GetBody

func (r PostApiKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostApiKeysResponse) GetJSON201

func (r PostApiKeysResponse) GetJSON201() *ApiKeyResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostApiKeysResponse) GetJSON401

func (r PostApiKeysResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostApiKeysResponse) GetJSON403

func (r PostApiKeysResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostApiKeysResponse) GetJSON500

func (r PostApiKeysResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostApiKeysResponse) Status

func (r PostApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (PostApiKeysResponse) StatusCode

func (r PostApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthForgotPasswordJSONRequestBody

type PostAuthForgotPasswordJSONRequestBody = ForgotPasswordRequest

PostAuthForgotPasswordJSONRequestBody defines body for PostAuthForgotPassword for application/json ContentType.

type PostAuthForgotPasswordResponse

type PostAuthForgotPasswordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ForgotPasswordResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthForgotPasswordResponse

func ParsePostAuthForgotPasswordResponse(rsp *http.Response) (*PostAuthForgotPasswordResponse, error)

ParsePostAuthForgotPasswordResponse parses an HTTP response from a PostAuthForgotPasswordWithResponse call

func (PostAuthForgotPasswordResponse) ContentType

func (r PostAuthForgotPasswordResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthForgotPasswordResponse) GetBody

func (r PostAuthForgotPasswordResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthForgotPasswordResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthForgotPasswordResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthForgotPasswordResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthForgotPasswordResponse) Status

Status returns HTTPResponse.Status

func (PostAuthForgotPasswordResponse) StatusCode

func (r PostAuthForgotPasswordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthLoginJSONRequestBody

type PostAuthLoginJSONRequestBody = LoginRequest

PostAuthLoginJSONRequestBody defines body for PostAuthLogin for application/json ContentType.

type PostAuthLoginResponse

type PostAuthLoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LoginResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthLoginResponse

func ParsePostAuthLoginResponse(rsp *http.Response) (*PostAuthLoginResponse, error)

ParsePostAuthLoginResponse parses an HTTP response from a PostAuthLoginWithResponse call

func (PostAuthLoginResponse) ContentType

func (r PostAuthLoginResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthLoginResponse) GetBody

func (r PostAuthLoginResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthLoginResponse) GetJSON200

func (r PostAuthLoginResponse) GetJSON200() *LoginResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthLoginResponse) GetJSON400

func (r PostAuthLoginResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthLoginResponse) GetJSON401

func (r PostAuthLoginResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthLoginResponse) GetJSON500

func (r PostAuthLoginResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthLoginResponse) Status

func (r PostAuthLoginResponse) Status() string

Status returns HTTPResponse.Status

func (PostAuthLoginResponse) StatusCode

func (r PostAuthLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthPasskeysBeginLoginJSONRequestBody

type PostAuthPasskeysBeginLoginJSONRequestBody = BeginPasskeyloginRequest

PostAuthPasskeysBeginLoginJSONRequestBody defines body for PostAuthPasskeysBeginLogin for application/json ContentType.

type PostAuthPasskeysBeginLoginResponse

type PostAuthPasskeysBeginLoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BeginPasskeyloginResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ErrorResponse
}

func ParsePostAuthPasskeysBeginLoginResponse

func ParsePostAuthPasskeysBeginLoginResponse(rsp *http.Response) (*PostAuthPasskeysBeginLoginResponse, error)

ParsePostAuthPasskeysBeginLoginResponse parses an HTTP response from a PostAuthPasskeysBeginLoginWithResponse call

func (PostAuthPasskeysBeginLoginResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthPasskeysBeginLoginResponse) GetBody

GetBody returns the raw response body bytes

func (PostAuthPasskeysBeginLoginResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthPasskeysBeginLoginResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthPasskeysBeginLoginResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthPasskeysBeginLoginResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostAuthPasskeysBeginLoginResponse) Status

Status returns HTTPResponse.Status

func (PostAuthPasskeysBeginLoginResponse) StatusCode

func (r PostAuthPasskeysBeginLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthPasskeysBeginRegistrationResponse

type PostAuthPasskeysBeginRegistrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BeginPasskeyRegistrationResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthPasskeysBeginRegistrationResponse

func ParsePostAuthPasskeysBeginRegistrationResponse(rsp *http.Response) (*PostAuthPasskeysBeginRegistrationResponse, error)

ParsePostAuthPasskeysBeginRegistrationResponse parses an HTTP response from a PostAuthPasskeysBeginRegistrationWithResponse call

func (PostAuthPasskeysBeginRegistrationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthPasskeysBeginRegistrationResponse) GetBody

GetBody returns the raw response body bytes

func (PostAuthPasskeysBeginRegistrationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthPasskeysBeginRegistrationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthPasskeysBeginRegistrationResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthPasskeysBeginRegistrationResponse) Status

Status returns HTTPResponse.Status

func (PostAuthPasskeysBeginRegistrationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAuthPasskeysFinishLoginJSONRequestBody

type PostAuthPasskeysFinishLoginJSONRequestBody = FinishPasskeyloginRequest

PostAuthPasskeysFinishLoginJSONRequestBody defines body for PostAuthPasskeysFinishLogin for application/json ContentType.

type PostAuthPasskeysFinishLoginResponse

type PostAuthPasskeysFinishLoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FinishPasskeyloginResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthPasskeysFinishLoginResponse

func ParsePostAuthPasskeysFinishLoginResponse(rsp *http.Response) (*PostAuthPasskeysFinishLoginResponse, error)

ParsePostAuthPasskeysFinishLoginResponse parses an HTTP response from a PostAuthPasskeysFinishLoginWithResponse call

func (PostAuthPasskeysFinishLoginResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthPasskeysFinishLoginResponse) GetBody

GetBody returns the raw response body bytes

func (PostAuthPasskeysFinishLoginResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthPasskeysFinishLoginResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthPasskeysFinishLoginResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthPasskeysFinishLoginResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAuthPasskeysFinishLoginResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthPasskeysFinishLoginResponse) Status

Status returns HTTPResponse.Status

func (PostAuthPasskeysFinishLoginResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAuthPasskeysFinishRegistrationJSONRequestBody

type PostAuthPasskeysFinishRegistrationJSONRequestBody = FinishPasskeyRegistrationRequest

PostAuthPasskeysFinishRegistrationJSONRequestBody defines body for PostAuthPasskeysFinishRegistration for application/json ContentType.

type PostAuthPasskeysFinishRegistrationResponse

type PostAuthPasskeysFinishRegistrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON204 the response for an HTTP 204 `application/json` response
	JSON204 *string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthPasskeysFinishRegistrationResponse

func ParsePostAuthPasskeysFinishRegistrationResponse(rsp *http.Response) (*PostAuthPasskeysFinishRegistrationResponse, error)

ParsePostAuthPasskeysFinishRegistrationResponse parses an HTTP response from a PostAuthPasskeysFinishRegistrationWithResponse call

func (PostAuthPasskeysFinishRegistrationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthPasskeysFinishRegistrationResponse) GetBody

GetBody returns the raw response body bytes

func (PostAuthPasskeysFinishRegistrationResponse) GetJSON204

GetJSON204 returns the response for an HTTP 204 `application/json` response

func (PostAuthPasskeysFinishRegistrationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthPasskeysFinishRegistrationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthPasskeysFinishRegistrationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAuthPasskeysFinishRegistrationResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthPasskeysFinishRegistrationResponse) Status

Status returns HTTPResponse.Status

func (PostAuthPasskeysFinishRegistrationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAuthPasskeysJSONRequestBody

type PostAuthPasskeysJSONRequestBody = RegisterPasskeyRequest

PostAuthPasskeysJSONRequestBody defines body for PostAuthPasskeys for application/json ContentType.

type PostAuthPasskeysResponse

type PostAuthPasskeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON204 the response for an HTTP 204 `application/json` response
	JSON204 *string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthPasskeysResponse

func ParsePostAuthPasskeysResponse(rsp *http.Response) (*PostAuthPasskeysResponse, error)

ParsePostAuthPasskeysResponse parses an HTTP response from a PostAuthPasskeysWithResponse call

func (PostAuthPasskeysResponse) ContentType

func (r PostAuthPasskeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthPasskeysResponse) GetBody

func (r PostAuthPasskeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthPasskeysResponse) GetJSON204

func (r PostAuthPasskeysResponse) GetJSON204() *string

GetJSON204 returns the response for an HTTP 204 `application/json` response

func (PostAuthPasskeysResponse) GetJSON400

func (r PostAuthPasskeysResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthPasskeysResponse) GetJSON401

func (r PostAuthPasskeysResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthPasskeysResponse) GetJSON500

func (r PostAuthPasskeysResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthPasskeysResponse) Status

func (r PostAuthPasskeysResponse) Status() string

Status returns HTTPResponse.Status

func (PostAuthPasskeysResponse) StatusCode

func (r PostAuthPasskeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthRefreshJSONRequestBody

type PostAuthRefreshJSONRequestBody = RefreshRequest

PostAuthRefreshJSONRequestBody defines body for PostAuthRefresh for application/json ContentType.

type PostAuthRefreshResponse

type PostAuthRefreshResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RefreshResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthRefreshResponse

func ParsePostAuthRefreshResponse(rsp *http.Response) (*PostAuthRefreshResponse, error)

ParsePostAuthRefreshResponse parses an HTTP response from a PostAuthRefreshWithResponse call

func (PostAuthRefreshResponse) ContentType

func (r PostAuthRefreshResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthRefreshResponse) GetBody

func (r PostAuthRefreshResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthRefreshResponse) GetJSON200

func (r PostAuthRefreshResponse) GetJSON200() *RefreshResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthRefreshResponse) GetJSON400

func (r PostAuthRefreshResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthRefreshResponse) GetJSON401

func (r PostAuthRefreshResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthRefreshResponse) GetJSON500

func (r PostAuthRefreshResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthRefreshResponse) Status

func (r PostAuthRefreshResponse) Status() string

Status returns HTTPResponse.Status

func (PostAuthRefreshResponse) StatusCode

func (r PostAuthRefreshResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthRegisterJSONRequestBody

type PostAuthRegisterJSONRequestBody = RegisterRequest

PostAuthRegisterJSONRequestBody defines body for PostAuthRegister for application/json ContentType.

type PostAuthRegisterResponse

type PostAuthRegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *RegisterResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthRegisterResponse

func ParsePostAuthRegisterResponse(rsp *http.Response) (*PostAuthRegisterResponse, error)

ParsePostAuthRegisterResponse parses an HTTP response from a PostAuthRegisterWithResponse call

func (PostAuthRegisterResponse) ContentType

func (r PostAuthRegisterResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthRegisterResponse) GetBody

func (r PostAuthRegisterResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthRegisterResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostAuthRegisterResponse) GetJSON400

func (r PostAuthRegisterResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthRegisterResponse) GetJSON409

func (r PostAuthRegisterResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostAuthRegisterResponse) GetJSON500

func (r PostAuthRegisterResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthRegisterResponse) Status

func (r PostAuthRegisterResponse) Status() string

Status returns HTTPResponse.Status

func (PostAuthRegisterResponse) StatusCode

func (r PostAuthRegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthResetPasswordJSONRequestBody

type PostAuthResetPasswordJSONRequestBody = ResetPasswordRequest

PostAuthResetPasswordJSONRequestBody defines body for PostAuthResetPassword for application/json ContentType.

type PostAuthResetPasswordResponse

type PostAuthResetPasswordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ResetPasswordResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthResetPasswordResponse

func ParsePostAuthResetPasswordResponse(rsp *http.Response) (*PostAuthResetPasswordResponse, error)

ParsePostAuthResetPasswordResponse parses an HTTP response from a PostAuthResetPasswordWithResponse call

func (PostAuthResetPasswordResponse) ContentType

func (r PostAuthResetPasswordResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthResetPasswordResponse) GetBody

func (r PostAuthResetPasswordResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthResetPasswordResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthResetPasswordResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthResetPasswordResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthResetPasswordResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAuthResetPasswordResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthResetPasswordResponse) Status

Status returns HTTPResponse.Status

func (PostAuthResetPasswordResponse) StatusCode

func (r PostAuthResetPasswordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthTotpBeginResponse

type PostAuthTotpBeginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BeginTotpEnrollmentResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthTotpBeginResponse

func ParsePostAuthTotpBeginResponse(rsp *http.Response) (*PostAuthTotpBeginResponse, error)

ParsePostAuthTotpBeginResponse parses an HTTP response from a PostAuthTotpBeginWithResponse call

func (PostAuthTotpBeginResponse) ContentType

func (r PostAuthTotpBeginResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthTotpBeginResponse) GetBody

func (r PostAuthTotpBeginResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthTotpBeginResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAuthTotpBeginResponse) GetJSON401

func (r PostAuthTotpBeginResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthTotpBeginResponse) GetJSON404

func (r PostAuthTotpBeginResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAuthTotpBeginResponse) GetJSON500

func (r PostAuthTotpBeginResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthTotpBeginResponse) Status

func (r PostAuthTotpBeginResponse) Status() string

Status returns HTTPResponse.Status

func (PostAuthTotpBeginResponse) StatusCode

func (r PostAuthTotpBeginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthTotpConfirmJSONRequestBody

type PostAuthTotpConfirmJSONRequestBody = ConfirmTotpEnrollmentRequest

PostAuthTotpConfirmJSONRequestBody defines body for PostAuthTotpConfirm for application/json ContentType.

type PostAuthTotpConfirmResponse

type PostAuthTotpConfirmResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON204 the response for an HTTP 204 `application/json` response
	JSON204 *string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostAuthTotpConfirmResponse

func ParsePostAuthTotpConfirmResponse(rsp *http.Response) (*PostAuthTotpConfirmResponse, error)

ParsePostAuthTotpConfirmResponse parses an HTTP response from a PostAuthTotpConfirmWithResponse call

func (PostAuthTotpConfirmResponse) ContentType

func (r PostAuthTotpConfirmResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAuthTotpConfirmResponse) GetBody

func (r PostAuthTotpConfirmResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostAuthTotpConfirmResponse) GetJSON204

func (r PostAuthTotpConfirmResponse) GetJSON204() *string

GetJSON204 returns the response for an HTTP 204 `application/json` response

func (PostAuthTotpConfirmResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAuthTotpConfirmResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAuthTotpConfirmResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAuthTotpConfirmResponse) Status

Status returns HTTPResponse.Status

func (PostAuthTotpConfirmResponse) StatusCode

func (r PostAuthTotpConfirmResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostBillingCheckoutJSONRequestBody

type PostBillingCheckoutJSONRequestBody = CreateCheckoutSessionRequest

PostBillingCheckoutJSONRequestBody defines body for PostBillingCheckout for application/json ContentType.

type PostBillingCheckoutParams

type PostBillingCheckoutParams struct {
	// IdempotencyKey Checkout idempotency key
	IdempotencyKey string `json:"Idempotency-Key"`
}

PostBillingCheckoutParams defines parameters for PostBillingCheckout.

type PostBillingCheckoutResponse

type PostBillingCheckoutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CheckoutSessionResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostBillingCheckoutResponse

func ParsePostBillingCheckoutResponse(rsp *http.Response) (*PostBillingCheckoutResponse, error)

ParsePostBillingCheckoutResponse parses an HTTP response from a PostBillingCheckoutWithResponse call

func (PostBillingCheckoutResponse) ContentType

func (r PostBillingCheckoutResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostBillingCheckoutResponse) GetBody

func (r PostBillingCheckoutResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostBillingCheckoutResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostBillingCheckoutResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostBillingCheckoutResponse) GetJSON401

func (r PostBillingCheckoutResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostBillingCheckoutResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostBillingCheckoutResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostBillingCheckoutResponse) Status

Status returns HTTPResponse.Status

func (PostBillingCheckoutResponse) StatusCode

func (r PostBillingCheckoutResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostBillingDebitJSONRequestBody

type PostBillingDebitJSONRequestBody = DebitBalanceRequest

PostBillingDebitJSONRequestBody defines body for PostBillingDebit for application/json ContentType.

type PostBillingDebitResponse

type PostBillingDebitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DebitBalanceResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostBillingDebitResponse

func ParsePostBillingDebitResponse(rsp *http.Response) (*PostBillingDebitResponse, error)

ParsePostBillingDebitResponse parses an HTTP response from a PostBillingDebitWithResponse call

func (PostBillingDebitResponse) ContentType

func (r PostBillingDebitResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostBillingDebitResponse) GetBody

func (r PostBillingDebitResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostBillingDebitResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostBillingDebitResponse) GetJSON400

func (r PostBillingDebitResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostBillingDebitResponse) GetJSON401

func (r PostBillingDebitResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostBillingDebitResponse) GetJSON500

func (r PostBillingDebitResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostBillingDebitResponse) Status

func (r PostBillingDebitResponse) Status() string

Status returns HTTPResponse.Status

func (PostBillingDebitResponse) StatusCode

func (r PostBillingDebitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostBillingQuoteJSONRequestBody

type PostBillingQuoteJSONRequestBody = CheckoutQuoteRequest

PostBillingQuoteJSONRequestBody defines body for PostBillingQuote for application/json ContentType.

type PostBillingQuoteResponse

type PostBillingQuoteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CheckoutQuoteResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ErrorResponse
}

func ParsePostBillingQuoteResponse

func ParsePostBillingQuoteResponse(rsp *http.Response) (*PostBillingQuoteResponse, error)

ParsePostBillingQuoteResponse parses an HTTP response from a PostBillingQuoteWithResponse call

func (PostBillingQuoteResponse) ContentType

func (r PostBillingQuoteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostBillingQuoteResponse) GetBody

func (r PostBillingQuoteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostBillingQuoteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostBillingQuoteResponse) GetJSON400

func (r PostBillingQuoteResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostBillingQuoteResponse) GetJSON401

func (r PostBillingQuoteResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostBillingQuoteResponse) GetJSON409

func (r PostBillingQuoteResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostBillingQuoteResponse) GetJSON503

func (r PostBillingQuoteResponse) GetJSON503() *ErrorResponse

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostBillingQuoteResponse) Status

func (r PostBillingQuoteResponse) Status() string

Status returns HTTPResponse.Status

func (PostBillingQuoteResponse) StatusCode

func (r PostBillingQuoteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFirewallEvaluateJSONRequestBody

type PostFirewallEvaluateJSONRequestBody = FirewallEvaluationRequest

PostFirewallEvaluateJSONRequestBody defines body for PostFirewallEvaluate for application/json ContentType.

type PostFirewallEvaluateResponse

type PostFirewallEvaluateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FirewallEvaluationResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostFirewallEvaluateResponse

func ParsePostFirewallEvaluateResponse(rsp *http.Response) (*PostFirewallEvaluateResponse, error)

ParsePostFirewallEvaluateResponse parses an HTTP response from a PostFirewallEvaluateWithResponse call

func (PostFirewallEvaluateResponse) ContentType

func (r PostFirewallEvaluateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostFirewallEvaluateResponse) GetBody

func (r PostFirewallEvaluateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostFirewallEvaluateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostFirewallEvaluateResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostFirewallEvaluateResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostFirewallEvaluateResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostFirewallEvaluateResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostFirewallEvaluateResponse) Status

Status returns HTTPResponse.Status

func (PostFirewallEvaluateResponse) StatusCode

func (r PostFirewallEvaluateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFirewallJSONRequestBody

type PostFirewallJSONRequestBody = CreateFirewallRequest

PostFirewallJSONRequestBody defines body for PostFirewall for application/json ContentType.

type PostFirewallResponse

type PostFirewallResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *FirewallResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostFirewallResponse

func ParsePostFirewallResponse(rsp *http.Response) (*PostFirewallResponse, error)

ParsePostFirewallResponse parses an HTTP response from a PostFirewallWithResponse call

func (PostFirewallResponse) ContentType

func (r PostFirewallResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostFirewallResponse) GetBody

func (r PostFirewallResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostFirewallResponse) GetJSON201

func (r PostFirewallResponse) GetJSON201() *FirewallResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostFirewallResponse) GetJSON400

func (r PostFirewallResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostFirewallResponse) GetJSON401

func (r PostFirewallResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostFirewallResponse) GetJSON409

func (r PostFirewallResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostFirewallResponse) GetJSON500

func (r PostFirewallResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostFirewallResponse) Status

func (r PostFirewallResponse) Status() string

Status returns HTTPResponse.Status

func (PostFirewallResponse) StatusCode

func (r PostFirewallResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFirewallRuleEvaluateJSONRequestBody

type PostFirewallRuleEvaluateJSONRequestBody = FirewallRuleEvaluationRequest

PostFirewallRuleEvaluateJSONRequestBody defines body for PostFirewallRuleEvaluate for application/json ContentType.

type PostFirewallRuleEvaluateResponse

type PostFirewallRuleEvaluateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FirewallEvaluationResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostFirewallRuleEvaluateResponse

func ParsePostFirewallRuleEvaluateResponse(rsp *http.Response) (*PostFirewallRuleEvaluateResponse, error)

ParsePostFirewallRuleEvaluateResponse parses an HTTP response from a PostFirewallRuleEvaluateWithResponse call

func (PostFirewallRuleEvaluateResponse) ContentType

func (r PostFirewallRuleEvaluateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostFirewallRuleEvaluateResponse) GetBody

func (r PostFirewallRuleEvaluateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostFirewallRuleEvaluateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostFirewallRuleEvaluateResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostFirewallRuleEvaluateResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostFirewallRuleEvaluateResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostFirewallRuleEvaluateResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostFirewallRuleEvaluateResponse) Status

Status returns HTTPResponse.Status

func (PostFirewallRuleEvaluateResponse) StatusCode

func (r PostFirewallRuleEvaluateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFirewallRuleJSONRequestBody

type PostFirewallRuleJSONRequestBody = CreateFirewallRuleRequest

PostFirewallRuleJSONRequestBody defines body for PostFirewallRule for application/json ContentType.

type PostFirewallRuleResponse

type PostFirewallRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *FirewallRuleResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostFirewallRuleResponse

func ParsePostFirewallRuleResponse(rsp *http.Response) (*PostFirewallRuleResponse, error)

ParsePostFirewallRuleResponse parses an HTTP response from a PostFirewallRuleWithResponse call

func (PostFirewallRuleResponse) ContentType

func (r PostFirewallRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostFirewallRuleResponse) GetBody

func (r PostFirewallRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostFirewallRuleResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostFirewallRuleResponse) GetJSON400

func (r PostFirewallRuleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostFirewallRuleResponse) GetJSON401

func (r PostFirewallRuleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostFirewallRuleResponse) GetJSON409

func (r PostFirewallRuleResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostFirewallRuleResponse) GetJSON500

func (r PostFirewallRuleResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostFirewallRuleResponse) Status

func (r PostFirewallRuleResponse) Status() string

Status returns HTTPResponse.Status

func (PostFirewallRuleResponse) StatusCode

func (r PostFirewallRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInstancePreviewUpdateJSONRequestBody

type PostInstancePreviewUpdateJSONRequestBody = PreviewInstanceUpdateRequest

PostInstancePreviewUpdateJSONRequestBody defines body for PostInstancePreviewUpdate for application/json ContentType.

type PostInstancePreviewUpdateResponse

type PostInstancePreviewUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PreviewInstanceResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostInstancePreviewUpdateResponse

func ParsePostInstancePreviewUpdateResponse(rsp *http.Response) (*PostInstancePreviewUpdateResponse, error)

ParsePostInstancePreviewUpdateResponse parses an HTTP response from a PostInstancePreviewUpdateWithResponse call

func (PostInstancePreviewUpdateResponse) ContentType

func (r PostInstancePreviewUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostInstancePreviewUpdateResponse) GetBody

GetBody returns the raw response body bytes

func (PostInstancePreviewUpdateResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostInstancePreviewUpdateResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostInstancePreviewUpdateResponse) GetJSON401

func (r PostInstancePreviewUpdateResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostInstancePreviewUpdateResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostInstancePreviewUpdateResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostInstancePreviewUpdateResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostInstancePreviewUpdateResponse) Status

Status returns HTTPResponse.Status

func (PostInstancePreviewUpdateResponse) StatusCode

func (r PostInstancePreviewUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInstanceScheduleRuleJSONRequestBody

type PostInstanceScheduleRuleJSONRequestBody = ScheduleRuleRequest

PostInstanceScheduleRuleJSONRequestBody defines body for PostInstanceScheduleRule for application/json ContentType.

type PostInstanceScheduleRuleResponse

type PostInstanceScheduleRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ScheduleRuleResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostInstanceScheduleRuleResponse

func ParsePostInstanceScheduleRuleResponse(rsp *http.Response) (*PostInstanceScheduleRuleResponse, error)

ParsePostInstanceScheduleRuleResponse parses an HTTP response from a PostInstanceScheduleRuleWithResponse call

func (PostInstanceScheduleRuleResponse) ContentType

func (r PostInstanceScheduleRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostInstanceScheduleRuleResponse) GetBody

func (r PostInstanceScheduleRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostInstanceScheduleRuleResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostInstanceScheduleRuleResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostInstanceScheduleRuleResponse) GetJSON401

func (r PostInstanceScheduleRuleResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostInstanceScheduleRuleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostInstanceScheduleRuleResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostInstanceScheduleRuleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostInstanceScheduleRuleResponse) Status

Status returns HTTPResponse.Status

func (PostInstanceScheduleRuleResponse) StatusCode

func (r PostInstanceScheduleRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInstanceStartResponse

type PostInstanceStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InstanceResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostInstanceStartResponse

func ParsePostInstanceStartResponse(rsp *http.Response) (*PostInstanceStartResponse, error)

ParsePostInstanceStartResponse parses an HTTP response from a PostInstanceStartWithResponse call

func (PostInstanceStartResponse) ContentType

func (r PostInstanceStartResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostInstanceStartResponse) GetBody

func (r PostInstanceStartResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostInstanceStartResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostInstanceStartResponse) GetJSON401

func (r PostInstanceStartResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostInstanceStartResponse) GetJSON403

func (r PostInstanceStartResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostInstanceStartResponse) GetJSON404

func (r PostInstanceStartResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostInstanceStartResponse) GetJSON500

func (r PostInstanceStartResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostInstanceStartResponse) Status

func (r PostInstanceStartResponse) Status() string

Status returns HTTPResponse.Status

func (PostInstanceStartResponse) StatusCode

func (r PostInstanceStartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInstanceStopResponse

type PostInstanceStopResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InstanceResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostInstanceStopResponse

func ParsePostInstanceStopResponse(rsp *http.Response) (*PostInstanceStopResponse, error)

ParsePostInstanceStopResponse parses an HTTP response from a PostInstanceStopWithResponse call

func (PostInstanceStopResponse) ContentType

func (r PostInstanceStopResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostInstanceStopResponse) GetBody

func (r PostInstanceStopResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostInstanceStopResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostInstanceStopResponse) GetJSON401

func (r PostInstanceStopResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostInstanceStopResponse) GetJSON403

func (r PostInstanceStopResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostInstanceStopResponse) GetJSON404

func (r PostInstanceStopResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostInstanceStopResponse) GetJSON500

func (r PostInstanceStopResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostInstanceStopResponse) Status

func (r PostInstanceStopResponse) Status() string

Status returns HTTPResponse.Status

func (PostInstanceStopResponse) StatusCode

func (r PostInstanceStopResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInstancesJSONRequestBody

type PostInstancesJSONRequestBody = CreateInstanceRequest

PostInstancesJSONRequestBody defines body for PostInstances for application/json ContentType.

type PostInstancesParams

type PostInstancesParams struct {
	// IdempotencyKey Optional idempotency key
	IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}

PostInstancesParams defines parameters for PostInstances.

type PostInstancesResponse

type PostInstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *InstanceResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON402 the response for an HTTP 402 `application/json` response
	JSON402 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostInstancesResponse

func ParsePostInstancesResponse(rsp *http.Response) (*PostInstancesResponse, error)

ParsePostInstancesResponse parses an HTTP response from a PostInstancesWithResponse call

func (PostInstancesResponse) ContentType

func (r PostInstancesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostInstancesResponse) GetBody

func (r PostInstancesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostInstancesResponse) GetJSON201

func (r PostInstancesResponse) GetJSON201() *InstanceResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostInstancesResponse) GetJSON400

func (r PostInstancesResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostInstancesResponse) GetJSON401

func (r PostInstancesResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostInstancesResponse) GetJSON402

func (r PostInstancesResponse) GetJSON402() *ErrorResponse

GetJSON402 returns the response for an HTTP 402 `application/json` response

func (PostInstancesResponse) GetJSON403

func (r PostInstancesResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostInstancesResponse) GetJSON404

func (r PostInstancesResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostInstancesResponse) GetJSON500

func (r PostInstancesResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostInstancesResponse) Status

func (r PostInstancesResponse) Status() string

Status returns HTTPResponse.Status

func (PostInstancesResponse) StatusCode

func (r PostInstancesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostInvitationsAcceptJSONRequestBody

type PostInvitationsAcceptJSONRequestBody = AcceptInvitationRequest

PostInvitationsAcceptJSONRequestBody defines body for PostInvitationsAccept for application/json ContentType.

type PostInvitationsAcceptResponse

type PostInvitationsAcceptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccountMembershipResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON410 the response for an HTTP 410 `application/json` response
	JSON410 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostInvitationsAcceptResponse

func ParsePostInvitationsAcceptResponse(rsp *http.Response) (*PostInvitationsAcceptResponse, error)

ParsePostInvitationsAcceptResponse parses an HTTP response from a PostInvitationsAcceptWithResponse call

func (PostInvitationsAcceptResponse) ContentType

func (r PostInvitationsAcceptResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostInvitationsAcceptResponse) GetBody

func (r PostInvitationsAcceptResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostInvitationsAcceptResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostInvitationsAcceptResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostInvitationsAcceptResponse) GetJSON401

func (r PostInvitationsAcceptResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostInvitationsAcceptResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostInvitationsAcceptResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostInvitationsAcceptResponse) GetJSON410

GetJSON410 returns the response for an HTTP 410 `application/json` response

func (PostInvitationsAcceptResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostInvitationsAcceptResponse) Status

Status returns HTTPResponse.Status

func (PostInvitationsAcceptResponse) StatusCode

func (r PostInvitationsAcceptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostReplicaSetScaleJSONRequestBody

type PostReplicaSetScaleJSONRequestBody = ScaleReplicaSetRequest

PostReplicaSetScaleJSONRequestBody defines body for PostReplicaSetScale for application/json ContentType.

type PostReplicaSetScaleResponse

type PostReplicaSetScaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReplicaSetResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostReplicaSetScaleResponse

func ParsePostReplicaSetScaleResponse(rsp *http.Response) (*PostReplicaSetScaleResponse, error)

ParsePostReplicaSetScaleResponse parses an HTTP response from a PostReplicaSetScaleWithResponse call

func (PostReplicaSetScaleResponse) ContentType

func (r PostReplicaSetScaleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostReplicaSetScaleResponse) GetBody

func (r PostReplicaSetScaleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostReplicaSetScaleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostReplicaSetScaleResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostReplicaSetScaleResponse) GetJSON401

func (r PostReplicaSetScaleResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostReplicaSetScaleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostReplicaSetScaleResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostReplicaSetScaleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostReplicaSetScaleResponse) Status

Status returns HTTPResponse.Status

func (PostReplicaSetScaleResponse) StatusCode

func (r PostReplicaSetScaleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostRuntimeNotifyCrashJSONBody

type PostRuntimeNotifyCrashJSONBody = map[string]interface{}

PostRuntimeNotifyCrashJSONBody defines parameters for PostRuntimeNotifyCrash.

type PostRuntimeNotifyCrashJSONRequestBody

type PostRuntimeNotifyCrashJSONRequestBody = PostRuntimeNotifyCrashJSONBody

PostRuntimeNotifyCrashJSONRequestBody defines body for PostRuntimeNotifyCrash for application/json ContentType.

type PostRuntimeNotifyCrashResponse

type PostRuntimeNotifyCrashResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostRuntimeNotifyCrashResponse

func ParsePostRuntimeNotifyCrashResponse(rsp *http.Response) (*PostRuntimeNotifyCrashResponse, error)

ParsePostRuntimeNotifyCrashResponse parses an HTTP response from a PostRuntimeNotifyCrashWithResponse call

func (PostRuntimeNotifyCrashResponse) ContentType

func (r PostRuntimeNotifyCrashResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostRuntimeNotifyCrashResponse) GetBody

func (r PostRuntimeNotifyCrashResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostRuntimeNotifyCrashResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostRuntimeNotifyCrashResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostRuntimeNotifyCrashResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostRuntimeNotifyCrashResponse) Status

Status returns HTTPResponse.Status

func (PostRuntimeNotifyCrashResponse) StatusCode

func (r PostRuntimeNotifyCrashResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostServingEndpointJSONRequestBody

type PostServingEndpointJSONRequestBody = CreateServingEndpointRequest

PostServingEndpointJSONRequestBody defines body for PostServingEndpoint for application/json ContentType.

type PostServingEndpointResponse

type PostServingEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ServingEndpointResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *map[string]string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostServingEndpointResponse

func ParsePostServingEndpointResponse(rsp *http.Response) (*PostServingEndpointResponse, error)

ParsePostServingEndpointResponse parses an HTTP response from a PostServingEndpointWithResponse call

func (PostServingEndpointResponse) ContentType

func (r PostServingEndpointResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostServingEndpointResponse) GetBody

func (r PostServingEndpointResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostServingEndpointResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostServingEndpointResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostServingEndpointResponse) GetJSON401

func (r PostServingEndpointResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostServingEndpointResponse) GetJSON409

func (r PostServingEndpointResponse) GetJSON409() *map[string]string

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostServingEndpointResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostServingEndpointResponse) Status

Status returns HTTPResponse.Status

func (PostServingEndpointResponse) StatusCode

func (r PostServingEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSmartBalancerJSONRequestBody

type PostSmartBalancerJSONRequestBody = CreateSmartBalancerRequest

PostSmartBalancerJSONRequestBody defines body for PostSmartBalancer for application/json ContentType.

type PostSmartBalancerResponse

type PostSmartBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SmartBalancerViewResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostSmartBalancerResponse

func ParsePostSmartBalancerResponse(rsp *http.Response) (*PostSmartBalancerResponse, error)

ParsePostSmartBalancerResponse parses an HTTP response from a PostSmartBalancerWithResponse call

func (PostSmartBalancerResponse) ContentType

func (r PostSmartBalancerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSmartBalancerResponse) GetBody

func (r PostSmartBalancerResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSmartBalancerResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSmartBalancerResponse) GetJSON400

func (r PostSmartBalancerResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSmartBalancerResponse) GetJSON401

func (r PostSmartBalancerResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSmartBalancerResponse) GetJSON500

func (r PostSmartBalancerResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSmartBalancerResponse) Status

func (r PostSmartBalancerResponse) Status() string

Status returns HTTPResponse.Status

func (PostSmartBalancerResponse) StatusCode

func (r PostSmartBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostStorageVolumesJSONRequestBody

type PostStorageVolumesJSONRequestBody = CreateStorageVolumeRequest

PostStorageVolumesJSONRequestBody defines body for PostStorageVolumes for application/json ContentType.

type PostStorageVolumesResponse

type PostStorageVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *StorageVolumeResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParsePostStorageVolumesResponse

func ParsePostStorageVolumesResponse(rsp *http.Response) (*PostStorageVolumesResponse, error)

ParsePostStorageVolumesResponse parses an HTTP response from a PostStorageVolumesWithResponse call

func (PostStorageVolumesResponse) ContentType

func (r PostStorageVolumesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostStorageVolumesResponse) GetBody

func (r PostStorageVolumesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostStorageVolumesResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostStorageVolumesResponse) GetJSON400

func (r PostStorageVolumesResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostStorageVolumesResponse) GetJSON401

func (r PostStorageVolumesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostStorageVolumesResponse) Status

Status returns HTTPResponse.Status

func (PostStorageVolumesResponse) StatusCode

func (r PostStorageVolumesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTargetGroupJSONRequestBody

type PostTargetGroupJSONRequestBody = CreateTargetGroupRequest

PostTargetGroupJSONRequestBody defines body for PostTargetGroup for application/json ContentType.

type PostTargetGroupResponse

type PostTargetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TargetGroupResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostTargetGroupResponse

func ParsePostTargetGroupResponse(rsp *http.Response) (*PostTargetGroupResponse, error)

ParsePostTargetGroupResponse parses an HTTP response from a PostTargetGroupWithResponse call

func (PostTargetGroupResponse) ContentType

func (r PostTargetGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostTargetGroupResponse) GetBody

func (r PostTargetGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostTargetGroupResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostTargetGroupResponse) GetJSON400

func (r PostTargetGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostTargetGroupResponse) GetJSON401

func (r PostTargetGroupResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostTargetGroupResponse) GetJSON500

func (r PostTargetGroupResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostTargetGroupResponse) Status

func (r PostTargetGroupResponse) Status() string

Status returns HTTPResponse.Status

func (PostTargetGroupResponse) StatusCode

func (r PostTargetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUserAPIKeysKeyIDRevokeResponse added in v1.0.3

type PostUserAPIKeysKeyIDRevokeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostUserAPIKeysKeyIDRevokeResponse added in v1.0.3

func ParsePostUserAPIKeysKeyIDRevokeResponse(rsp *http.Response) (*PostUserAPIKeysKeyIDRevokeResponse, error)

ParsePostUserAPIKeysKeyIDRevokeResponse parses an HTTP response from a PostUserAPIKeysKeyIDRevokeWithResponse call

func (PostUserAPIKeysKeyIDRevokeResponse) ContentType added in v1.0.3

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostUserAPIKeysKeyIDRevokeResponse) GetBody added in v1.0.3

GetBody returns the raw response body bytes

func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON400 added in v1.0.3

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON401 added in v1.0.3

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON404 added in v1.0.3

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON500 added in v1.0.3

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostUserAPIKeysKeyIDRevokeResponse) Status added in v1.0.3

Status returns HTTPResponse.Status

func (PostUserAPIKeysKeyIDRevokeResponse) StatusCode added in v1.0.3

func (r PostUserAPIKeysKeyIDRevokeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUserAPIKeysResponse added in v1.0.3

type PostUserAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ApiKeyResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *string
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostUserAPIKeysResponse added in v1.0.3

func ParsePostUserAPIKeysResponse(rsp *http.Response) (*PostUserAPIKeysResponse, error)

ParsePostUserAPIKeysResponse parses an HTTP response from a PostUserAPIKeysWithResponse call

func (PostUserAPIKeysResponse) ContentType added in v1.0.3

func (r PostUserAPIKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostUserAPIKeysResponse) GetBody added in v1.0.3

func (r PostUserAPIKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostUserAPIKeysResponse) GetJSON201 added in v1.0.3

func (r PostUserAPIKeysResponse) GetJSON201() *ApiKeyResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostUserAPIKeysResponse) GetJSON401 added in v1.0.3

func (r PostUserAPIKeysResponse) GetJSON401() *string

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostUserAPIKeysResponse) GetJSON500 added in v1.0.3

func (r PostUserAPIKeysResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostUserAPIKeysResponse) Status added in v1.0.3

func (r PostUserAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (PostUserAPIKeysResponse) StatusCode added in v1.0.3

func (r PostUserAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1AudioSpeechJSONRequestBody

type PostV1AudioSpeechJSONRequestBody = AudioSpeechRequest

PostV1AudioSpeechJSONRequestBody defines body for PostV1AudioSpeech for application/json ContentType.

type PostV1AudioSpeechResponse

type PostV1AudioSpeechResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1AudioSpeechResponse

func ParsePostV1AudioSpeechResponse(rsp *http.Response) (*PostV1AudioSpeechResponse, error)

ParsePostV1AudioSpeechResponse parses an HTTP response from a PostV1AudioSpeechWithResponse call

func (PostV1AudioSpeechResponse) ContentType

func (r PostV1AudioSpeechResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1AudioSpeechResponse) GetBody

func (r PostV1AudioSpeechResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV1AudioSpeechResponse) GetJSON400

func (r PostV1AudioSpeechResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1AudioSpeechResponse) GetJSON401

func (r PostV1AudioSpeechResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1AudioSpeechResponse) GetJSON502

func (r PostV1AudioSpeechResponse) GetJSON502() *ErrorResponse

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1AudioSpeechResponse) Status

func (r PostV1AudioSpeechResponse) Status() string

Status returns HTTPResponse.Status

func (PostV1AudioSpeechResponse) StatusCode

func (r PostV1AudioSpeechResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1AudioTranscriptionsMultipartBody

type PostV1AudioTranscriptionsMultipartBody struct {
	File           openapi_types.File `json:"file"`
	Language       *string            `json:"language,omitempty"`
	Model          string             `json:"model"`
	ResponseFormat *string            `json:"response_format,omitempty"`
}

PostV1AudioTranscriptionsMultipartBody defines parameters for PostV1AudioTranscriptions.

type PostV1AudioTranscriptionsMultipartRequestBody

type PostV1AudioTranscriptionsMultipartRequestBody PostV1AudioTranscriptionsMultipartBody

PostV1AudioTranscriptionsMultipartRequestBody defines body for PostV1AudioTranscriptions for multipart/form-data ContentType.

type PostV1AudioTranscriptionsResponse

type PostV1AudioTranscriptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1AudioTranscriptionsResponse

func ParsePostV1AudioTranscriptionsResponse(rsp *http.Response) (*PostV1AudioTranscriptionsResponse, error)

ParsePostV1AudioTranscriptionsResponse parses an HTTP response from a PostV1AudioTranscriptionsWithResponse call

func (PostV1AudioTranscriptionsResponse) ContentType

func (r PostV1AudioTranscriptionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1AudioTranscriptionsResponse) GetBody

GetBody returns the raw response body bytes

func (PostV1AudioTranscriptionsResponse) GetJSON200

func (r PostV1AudioTranscriptionsResponse) GetJSON200() *map[string]string

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV1AudioTranscriptionsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1AudioTranscriptionsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1AudioTranscriptionsResponse) GetJSON502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1AudioTranscriptionsResponse) Status

Status returns HTTPResponse.Status

func (PostV1AudioTranscriptionsResponse) StatusCode

func (r PostV1AudioTranscriptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1ChatCompletionsJSONRequestBody

type PostV1ChatCompletionsJSONRequestBody = ChatRequestEnvelope

PostV1ChatCompletionsJSONRequestBody defines body for PostV1ChatCompletions for application/json ContentType.

type PostV1ChatCompletionsResponse

type PostV1ChatCompletionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *map[string]interface{}
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1ChatCompletionsResponse

func ParsePostV1ChatCompletionsResponse(rsp *http.Response) (*PostV1ChatCompletionsResponse, error)

ParsePostV1ChatCompletionsResponse parses an HTTP response from a PostV1ChatCompletionsWithResponse call

func (PostV1ChatCompletionsResponse) ContentType

func (r PostV1ChatCompletionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1ChatCompletionsResponse) GetBody

func (r PostV1ChatCompletionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV1ChatCompletionsResponse) GetJSON200

func (r PostV1ChatCompletionsResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV1ChatCompletionsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1ChatCompletionsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1ChatCompletionsResponse) GetJSON403

func (r PostV1ChatCompletionsResponse) GetJSON403() *map[string]interface{}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostV1ChatCompletionsResponse) GetJSON502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1ChatCompletionsResponse) Status

Status returns HTTPResponse.Status

func (PostV1ChatCompletionsResponse) StatusCode

func (r PostV1ChatCompletionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1EmbeddingsJSONRequestBody

type PostV1EmbeddingsJSONRequestBody = EmbeddingsRequestEnvelope

PostV1EmbeddingsJSONRequestBody defines body for PostV1Embeddings for application/json ContentType.

type PostV1EmbeddingsResponse

type PostV1EmbeddingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1EmbeddingsResponse

func ParsePostV1EmbeddingsResponse(rsp *http.Response) (*PostV1EmbeddingsResponse, error)

ParsePostV1EmbeddingsResponse parses an HTTP response from a PostV1EmbeddingsWithResponse call

func (PostV1EmbeddingsResponse) ContentType

func (r PostV1EmbeddingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1EmbeddingsResponse) GetBody

func (r PostV1EmbeddingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV1EmbeddingsResponse) GetJSON200

func (r PostV1EmbeddingsResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV1EmbeddingsResponse) GetJSON400

func (r PostV1EmbeddingsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1EmbeddingsResponse) GetJSON401

func (r PostV1EmbeddingsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1EmbeddingsResponse) GetJSON502

func (r PostV1EmbeddingsResponse) GetJSON502() *ErrorResponse

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1EmbeddingsResponse) Status

func (r PostV1EmbeddingsResponse) Status() string

Status returns HTTPResponse.Status

func (PostV1EmbeddingsResponse) StatusCode

func (r PostV1EmbeddingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1ImageEditsMultipartBody

type PostV1ImageEditsMultipartBody struct {
	GuidanceScale     *float32            `json:"guidance_scale,omitempty"`
	Image             openapi_types.File  `json:"image"`
	Mask              *openapi_types.File `json:"mask,omitempty"`
	Model             string              `json:"model"`
	NumInferenceSteps *int                `json:"num_inference_steps,omitempty"`
	Prompt            string              `json:"prompt"`
	Seed              *int                `json:"seed,omitempty"`
	Size              *string             `json:"size,omitempty"`
	Strength          *float32            `json:"strength,omitempty"`
}

PostV1ImageEditsMultipartBody defines parameters for PostV1ImageEdits.

type PostV1ImageEditsMultipartRequestBody

type PostV1ImageEditsMultipartRequestBody PostV1ImageEditsMultipartBody

PostV1ImageEditsMultipartRequestBody defines body for PostV1ImageEdits for multipart/form-data ContentType.

type PostV1ImageEditsResponse

type PostV1ImageEditsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1ImageEditsResponse

func ParsePostV1ImageEditsResponse(rsp *http.Response) (*PostV1ImageEditsResponse, error)

ParsePostV1ImageEditsResponse parses an HTTP response from a PostV1ImageEditsWithResponse call

func (PostV1ImageEditsResponse) ContentType

func (r PostV1ImageEditsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1ImageEditsResponse) GetBody

func (r PostV1ImageEditsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV1ImageEditsResponse) GetJSON200

func (r PostV1ImageEditsResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV1ImageEditsResponse) GetJSON400

func (r PostV1ImageEditsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1ImageEditsResponse) GetJSON401

func (r PostV1ImageEditsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1ImageEditsResponse) GetJSON502

func (r PostV1ImageEditsResponse) GetJSON502() *ErrorResponse

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1ImageEditsResponse) Status

func (r PostV1ImageEditsResponse) Status() string

Status returns HTTPResponse.Status

func (PostV1ImageEditsResponse) StatusCode

func (r PostV1ImageEditsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1ImageGenerationsJSONRequestBody

type PostV1ImageGenerationsJSONRequestBody = ImageGenerationRequest

PostV1ImageGenerationsJSONRequestBody defines body for PostV1ImageGenerations for application/json ContentType.

type PostV1ImageGenerationsResponse

type PostV1ImageGenerationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1ImageGenerationsResponse

func ParsePostV1ImageGenerationsResponse(rsp *http.Response) (*PostV1ImageGenerationsResponse, error)

ParsePostV1ImageGenerationsResponse parses an HTTP response from a PostV1ImageGenerationsWithResponse call

func (PostV1ImageGenerationsResponse) ContentType

func (r PostV1ImageGenerationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1ImageGenerationsResponse) GetBody

func (r PostV1ImageGenerationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV1ImageGenerationsResponse) GetJSON200

func (r PostV1ImageGenerationsResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV1ImageGenerationsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1ImageGenerationsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1ImageGenerationsResponse) GetJSON502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1ImageGenerationsResponse) Status

Status returns HTTPResponse.Status

func (PostV1ImageGenerationsResponse) StatusCode

func (r PostV1ImageGenerationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1ResponsesCompactJSONRequestBody

type PostV1ResponsesCompactJSONRequestBody = ResponsesRequestEnvelope

PostV1ResponsesCompactJSONRequestBody defines body for PostV1ResponsesCompact for application/json ContentType.

type PostV1ResponsesCompactResponse

type PostV1ResponsesCompactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1ResponsesCompactResponse

func ParsePostV1ResponsesCompactResponse(rsp *http.Response) (*PostV1ResponsesCompactResponse, error)

ParsePostV1ResponsesCompactResponse parses an HTTP response from a PostV1ResponsesCompactWithResponse call

func (PostV1ResponsesCompactResponse) ContentType

func (r PostV1ResponsesCompactResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1ResponsesCompactResponse) GetBody

func (r PostV1ResponsesCompactResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV1ResponsesCompactResponse) GetJSON200

func (r PostV1ResponsesCompactResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV1ResponsesCompactResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1ResponsesCompactResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1ResponsesCompactResponse) GetJSON502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1ResponsesCompactResponse) Status

Status returns HTTPResponse.Status

func (PostV1ResponsesCompactResponse) StatusCode

func (r PostV1ResponsesCompactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1ResponsesJSONRequestBody

type PostV1ResponsesJSONRequestBody = ResponsesRequestEnvelope

PostV1ResponsesJSONRequestBody defines body for PostV1Responses for application/json ContentType.

type PostV1ResponsesResponse

type PostV1ResponsesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *ErrorResponse
}

func ParsePostV1ResponsesResponse

func ParsePostV1ResponsesResponse(rsp *http.Response) (*PostV1ResponsesResponse, error)

ParsePostV1ResponsesResponse parses an HTTP response from a PostV1ResponsesWithResponse call

func (PostV1ResponsesResponse) ContentType

func (r PostV1ResponsesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV1ResponsesResponse) GetBody

func (r PostV1ResponsesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV1ResponsesResponse) GetJSON200

func (r PostV1ResponsesResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV1ResponsesResponse) GetJSON400

func (r PostV1ResponsesResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV1ResponsesResponse) GetJSON401

func (r PostV1ResponsesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV1ResponsesResponse) GetJSON502

func (r PostV1ResponsesResponse) GetJSON502() *ErrorResponse

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostV1ResponsesResponse) Status

func (r PostV1ResponsesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV1ResponsesResponse) StatusCode

func (r PostV1ResponsesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostVectorDatabaseIndexDirectJSONRequestBody

type PostVectorDatabaseIndexDirectJSONRequestBody = IndexDocumentsRequest

PostVectorDatabaseIndexDirectJSONRequestBody defines body for PostVectorDatabaseIndexDirect for application/json ContentType.

type PostVectorDatabaseIndexDirectResponse

type PostVectorDatabaseIndexDirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]int32
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostVectorDatabaseIndexDirectResponse

func ParsePostVectorDatabaseIndexDirectResponse(rsp *http.Response) (*PostVectorDatabaseIndexDirectResponse, error)

ParsePostVectorDatabaseIndexDirectResponse parses an HTTP response from a PostVectorDatabaseIndexDirectWithResponse call

func (PostVectorDatabaseIndexDirectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVectorDatabaseIndexDirectResponse) GetBody

GetBody returns the raw response body bytes

func (PostVectorDatabaseIndexDirectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostVectorDatabaseIndexDirectResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVectorDatabaseIndexDirectResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVectorDatabaseIndexDirectResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVectorDatabaseIndexDirectResponse) Status

Status returns HTTPResponse.Status

func (PostVectorDatabaseIndexDirectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostVectorDatabaseIndexJobsJSONRequestBody

type PostVectorDatabaseIndexJobsJSONRequestBody = IndexDocumentsRequest

PostVectorDatabaseIndexJobsJSONRequestBody defines body for PostVectorDatabaseIndexJobs for application/json ContentType.

type PostVectorDatabaseIndexJobsResponse

type PostVectorDatabaseIndexJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *map[string]string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostVectorDatabaseIndexJobsResponse

func ParsePostVectorDatabaseIndexJobsResponse(rsp *http.Response) (*PostVectorDatabaseIndexJobsResponse, error)

ParsePostVectorDatabaseIndexJobsResponse parses an HTTP response from a PostVectorDatabaseIndexJobsWithResponse call

func (PostVectorDatabaseIndexJobsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVectorDatabaseIndexJobsResponse) GetBody

GetBody returns the raw response body bytes

func (PostVectorDatabaseIndexJobsResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostVectorDatabaseIndexJobsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVectorDatabaseIndexJobsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVectorDatabaseIndexJobsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVectorDatabaseIndexJobsResponse) Status

Status returns HTTPResponse.Status

func (PostVectorDatabaseIndexJobsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostVectorDatabaseRecommendJSONRequestBody

type PostVectorDatabaseRecommendJSONRequestBody = RecommendRequest

PostVectorDatabaseRecommendJSONRequestBody defines body for PostVectorDatabaseRecommend for application/json ContentType.

type PostVectorDatabaseRecommendResponse

type PostVectorDatabaseRecommendResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SearchHitResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostVectorDatabaseRecommendResponse

func ParsePostVectorDatabaseRecommendResponse(rsp *http.Response) (*PostVectorDatabaseRecommendResponse, error)

ParsePostVectorDatabaseRecommendResponse parses an HTTP response from a PostVectorDatabaseRecommendWithResponse call

func (PostVectorDatabaseRecommendResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVectorDatabaseRecommendResponse) GetBody

GetBody returns the raw response body bytes

func (PostVectorDatabaseRecommendResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostVectorDatabaseRecommendResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVectorDatabaseRecommendResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVectorDatabaseRecommendResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVectorDatabaseRecommendResponse) Status

Status returns HTTPResponse.Status

func (PostVectorDatabaseRecommendResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostVectorDatabaseSearchJSONRequestBody

type PostVectorDatabaseSearchJSONRequestBody = SearchRequest

PostVectorDatabaseSearchJSONRequestBody defines body for PostVectorDatabaseSearch for application/json ContentType.

type PostVectorDatabaseSearchResponse

type PostVectorDatabaseSearchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SearchHitResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostVectorDatabaseSearchResponse

func ParsePostVectorDatabaseSearchResponse(rsp *http.Response) (*PostVectorDatabaseSearchResponse, error)

ParsePostVectorDatabaseSearchResponse parses an HTTP response from a PostVectorDatabaseSearchWithResponse call

func (PostVectorDatabaseSearchResponse) ContentType

func (r PostVectorDatabaseSearchResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVectorDatabaseSearchResponse) GetBody

func (r PostVectorDatabaseSearchResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostVectorDatabaseSearchResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostVectorDatabaseSearchResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVectorDatabaseSearchResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVectorDatabaseSearchResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVectorDatabaseSearchResponse) Status

Status returns HTTPResponse.Status

func (PostVectorDatabaseSearchResponse) StatusCode

func (r PostVectorDatabaseSearchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostVectorDatabaseViewElementJSONRequestBody

type PostVectorDatabaseViewElementJSONRequestBody = ViewElementRequest

PostVectorDatabaseViewElementJSONRequestBody defines body for PostVectorDatabaseViewElement for application/json ContentType.

type PostVectorDatabaseViewElementResponse

type PostVectorDatabaseViewElementResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]string
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostVectorDatabaseViewElementResponse

func ParsePostVectorDatabaseViewElementResponse(rsp *http.Response) (*PostVectorDatabaseViewElementResponse, error)

ParsePostVectorDatabaseViewElementResponse parses an HTTP response from a PostVectorDatabaseViewElementWithResponse call

func (PostVectorDatabaseViewElementResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVectorDatabaseViewElementResponse) GetBody

GetBody returns the raw response body bytes

func (PostVectorDatabaseViewElementResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostVectorDatabaseViewElementResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVectorDatabaseViewElementResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVectorDatabaseViewElementResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVectorDatabaseViewElementResponse) Status

Status returns HTTPResponse.Status

func (PostVectorDatabaseViewElementResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostVectorDatabasesJSONRequestBody

type PostVectorDatabasesJSONRequestBody = CreateVectorDatabaseRequest

PostVectorDatabasesJSONRequestBody defines body for PostVectorDatabases for application/json ContentType.

type PostVectorDatabasesResponse

type PostVectorDatabasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *VectorDatabaseResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParsePostVectorDatabasesResponse

func ParsePostVectorDatabasesResponse(rsp *http.Response) (*PostVectorDatabasesResponse, error)

ParsePostVectorDatabasesResponse parses an HTTP response from a PostVectorDatabasesWithResponse call

func (PostVectorDatabasesResponse) ContentType

func (r PostVectorDatabasesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVectorDatabasesResponse) GetBody

func (r PostVectorDatabasesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostVectorDatabasesResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostVectorDatabasesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVectorDatabasesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVectorDatabasesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVectorDatabasesResponse) Status

Status returns HTTPResponse.Status

func (PostVectorDatabasesResponse) StatusCode

func (r PostVectorDatabasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PreviewInstanceResponse

type PreviewInstanceResponse struct {
	CapacityTier                       *string                        `json:"capacity_tier,omitempty"`
	CompatibleGpus                     *[]CatalogGPUResponse          `json:"compatible_gpus,omitempty"`
	Estimate                           *RuntimeMemoryEstimateResponse `json:"estimate,omitempty"`
	HuggingfaceRepoId                  *string                        `json:"huggingface_repo_id,omitempty"`
	MaxContextSize                     *int                           `json:"max_context_size,omitempty"`
	RecommendedGpu                     *CatalogGPUResponse            `json:"recommended_gpu,omitempty"`
	RuntimeConfig                      *RuntimeConfigResponse         `json:"runtime_config,omitempty"`
	RuntimePreset                      *string                        `json:"runtime_preset,omitempty"`
	SchedulingMode                     *string                        `json:"scheduling_mode,omitempty"`
	SmartAllowCommunity                *bool                          `json:"smart_allow_community,omitempty"`
	SmartAllowSpot                     *bool                          `json:"smart_allow_spot,omitempty"`
	SmartCurrentGpu                    *CatalogGPUResponse            `json:"smart_current_gpu,omitempty"`
	SmartCurrentPricePerHourEur        *float32                       `json:"smart_current_price_per_hour_eur,omitempty"`
	SmartMaxPricePerHourEur            *float32                       `json:"smart_max_price_per_hour_eur,omitempty"`
	SmartMinGpuClass                   *string                        `json:"smart_min_gpu_class,omitempty"`
	SmartMinTotalTflops                *float32                       `json:"smart_min_total_tflops,omitempty"`
	SmartProviderFilterMode            *string                        `json:"smart_provider_filter_mode,omitempty"`
	SmartProviderPreference            *string                        `json:"smart_provider_preference,omitempty"`
	SmartRecommendedMaxPricePerHourEur *float32                       `json:"smart_recommended_max_price_per_hour_eur,omitempty"`
	SmartRegion                        *string                        `json:"smart_region,omitempty"`
	SmartRegions                       *[]string                      `json:"smart_regions,omitempty"`
	SmartSelectionLabel                *string                        `json:"smart_selection_label,omitempty"`
	Warnings                           *[]string                      `json:"warnings,omitempty"`
	WorkloadKind                       *string                        `json:"workload_kind,omitempty"`
}

PreviewInstanceResponse defines model for PreviewInstanceResponse.

type PreviewInstanceUpdateRequest

type PreviewInstanceUpdateRequest struct {
	SchedulingMode          *string   `json:"scheduling_mode,omitempty"`
	SmartAllowCommunity     *bool     `json:"smart_allow_community,omitempty"`
	SmartAllowSpot          *bool     `json:"smart_allow_spot,omitempty"`
	SmartMaxPricePerHourEur *float32  `json:"smart_max_price_per_hour_eur,omitempty"`
	SmartMinGpuClass        *string   `json:"smart_min_gpu_class,omitempty"`
	SmartMinTotalTflops     *float32  `json:"smart_min_total_tflops,omitempty"`
	SmartProviderFilterMode *string   `json:"smart_provider_filter_mode,omitempty"`
	SmartProviderPreference *string   `json:"smart_provider_preference,omitempty"`
	SmartRegion             *string   `json:"smart_region,omitempty"`
	SmartRegions            *[]string `json:"smart_regions,omitempty"`
	SmartSelectionLabel     *string   `json:"smart_selection_label,omitempty"`
}

PreviewInstanceUpdateRequest defines model for PreviewInstanceUpdateRequest.

type PricingService

type PricingService struct {
	Currency          *string  `json:"currency,omitempty"`
	Id                *string  `json:"id,omitempty"`
	PriceEurPerGbHour *float32 `json:"price_eur_per_gb_hour,omitempty"`
	Status            *string  `json:"status,omitempty"`
}

PricingService defines model for PricingService.

type PricingStatus

type PricingStatus string

PricingStatus defines model for PricingStatus.

const (
	PricingEstimated   PricingStatus = "estimated"
	PricingUnavailable PricingStatus = "unavailable"
)

Defines values for PricingStatus.

func (PricingStatus) Valid

func (e PricingStatus) Valid() bool

Valid indicates whether the value is a known member of the PricingStatus enum.

type PublicGPUPreferenceJSON

type PublicGPUPreferenceJSON struct {
	Count       *int    `json:"count,omitempty"`
	PublicGpuId *string `json:"public_gpu_id,omitempty"`
}

PublicGPUPreferenceJSON defines model for PublicGPUPreferenceJSON.

type PublicPricingAvailability

type PublicPricingAvailability struct {
	Count  *int    `json:"count,omitempty"`
	Status *string `json:"status,omitempty"`
	Total  *int    `json:"total,omitempty"`
}

PublicPricingAvailability defines model for PublicPricingAvailability.

type PublicPricingGPU

type PublicPricingGPU struct {
	Availability     *PublicPricingAvailability `json:"availability,omitempty"`
	CapacityTier     *string                    `json:"capacity_tier,omitempty"`
	City             *string                    `json:"city,omitempty"`
	Country          *string                    `json:"country,omitempty"`
	DisplayName      *string                    `json:"display_name,omitempty"`
	GpuCount         *int                       `json:"gpu_count,omitempty"`
	MarketType       *string                    `json:"market_type,omitempty"`
	PriceEurPerHour  *float32                   `json:"price_eur_per_hour,omitempty"`
	ProviderCodename *string                    `json:"provider_codename,omitempty"`
	PublicGpuId      *string                    `json:"public_gpu_id,omitempty"`
	Region           *string                    `json:"region,omitempty"`
	VramGb           *float32                   `json:"vram_gb,omitempty"`
}

PublicPricingGPU defines model for PublicPricingGPU.

type PublicPricingResponse

type PublicPricingResponse struct {
	Services  *[]PublicPricingService `json:"services,omitempty"`
	UpdatedAt *string                 `json:"updated_at,omitempty"`
	Version   *int                    `json:"version,omitempty"`
}

PublicPricingResponse defines model for PublicPricingResponse.

type PublicPricingService

type PublicPricingService struct {
	BillingModel      *string             `json:"billing_model,omitempty"`
	Currency          *string             `json:"currency,omitempty"`
	Gpus              *[]PublicPricingGPU `json:"gpus,omitempty"`
	Id                *string             `json:"id,omitempty"`
	Name              *string             `json:"name,omitempty"`
	PriceEurPerGbHour *float32            `json:"price_eur_per_gb_hour,omitempty"`
	Status            *string             `json:"status,omitempty"`
	Unit              *string             `json:"unit,omitempty"`
}

PublicPricingService defines model for PublicPricingService.

type RecommendRequest

type RecommendRequest struct {
	RecommendToken *string `json:"recommend_token,omitempty"`
	TopK           *int    `json:"top_k,omitempty"`
}

RecommendRequest defines model for RecommendRequest.

type RecommendedGPU

type RecommendedGPU struct {
	Availability *string  `json:"availability,omitempty"`
	DisplayName  *string  `json:"display_name,omitempty"`
	GpuCount     *int     `json:"gpu_count,omitempty"`
	MarketType   *string  `json:"market_type,omitempty"`
	VramGb       *float32 `json:"vram_gb,omitempty"`
}

RecommendedGPU defines model for RecommendedGPU.

type RefreshRequest

type RefreshRequest struct {
	RefreshToken string `json:"refresh_token"`
}

RefreshRequest defines model for RefreshRequest.

type RefreshResponse

type RefreshResponse struct {
	AccessToken       *string `json:"access_token,omitempty"`
	AccessTokenExpiry *int    `json:"access_token_expiry,omitempty"`
}

RefreshResponse defines model for RefreshResponse.

type RegisterPasskeyRequest

type RegisterPasskeyRequest struct {
	CredentialId string `json:"credential_id"`
	PublicKey    string `json:"public_key"`
	SignCount    *int   `json:"sign_count,omitempty"`
}

RegisterPasskeyRequest defines model for RegisterPasskeyRequest.

type RegisterRequest

type RegisterRequest struct {
	CfTurnstileResponse *string `json:"cf_turnstile_response,omitempty"`
	Email               string  `json:"email"`
	Password            string  `json:"password"`
	Resend              *bool   `json:"resend,omitempty"`
}

RegisterRequest defines model for RegisterRequest.

type RegisterResponse

type RegisterResponse struct {
	AccessToken          *string `json:"access_token,omitempty"`
	AccessTokenExpiry    *int    `json:"access_token_expiry,omitempty"`
	RefreshToken         *string `json:"refresh_token,omitempty"`
	RequiresVerification *bool   `json:"requires_verification,omitempty"`
	UserId               *string `json:"user_id,omitempty"`
}

RegisterResponse defines model for RegisterResponse.

type ReplicaSetListResponse

type ReplicaSetListResponse struct {
	ReplicaSets *[]ReplicaSetResponse `json:"replica_sets,omitempty"`
}

ReplicaSetListResponse defines model for ReplicaSetListResponse.

type ReplicaSetResponse

type ReplicaSetResponse struct {
	AccountId               *string   `json:"account_id,omitempty"`
	CreatedAt               *string   `json:"created_at,omitempty"`
	DesiredReplicas         *int      `json:"desired_replicas,omitempty"`
	GgufModelPath           *string   `json:"gguf_model_path,omitempty"`
	Id                      *string   `json:"id,omitempty"`
	MinReplicas             *int      `json:"min_replicas,omitempty"`
	ModelRef                *string   `json:"model_ref,omitempty"`
	Name                    *string   `json:"name,omitempty"`
	SchedulingMode          *string   `json:"scheduling_mode,omitempty"`
	ServingEndpointId       *string   `json:"serving_endpoint_id,omitempty"`
	ServingName             *string   `json:"serving_name,omitempty"`
	SmartAllowCommunity     *bool     `json:"smart_allow_community,omitempty"`
	SmartAllowSpot          *bool     `json:"smart_allow_spot,omitempty"`
	SmartMaxPricePerHourUsd *float32  `json:"smart_max_price_per_hour_usd,omitempty"`
	SmartMinGpuClass        *string   `json:"smart_min_gpu_class,omitempty"`
	SmartMinTotalTflops     *float32  `json:"smart_min_total_tflops,omitempty"`
	SmartProviderFilterMode *string   `json:"smart_provider_filter_mode,omitempty"`
	SmartProviderPreference *string   `json:"smart_provider_preference,omitempty"`
	SmartRegion             *string   `json:"smart_region,omitempty"`
	SmartRegions            *[]string `json:"smart_regions,omitempty"`
	SmartSelectionLabel     *string   `json:"smart_selection_label,omitempty"`
	Status                  *string   `json:"status,omitempty"`
	TargetGroupId           *string   `json:"target_group_id,omitempty"`
	UpdatedAt               *string   `json:"updated_at,omitempty"`
	WorkloadKind            *string   `json:"workload_kind,omitempty"`
}

ReplicaSetResponse defines model for ReplicaSetResponse.

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ResetPasswordRequest

type ResetPasswordRequest struct {
	CfTurnstileResponse *string `json:"cf_turnstile_response,omitempty"`
	NewPassword         string  `json:"new_password"`
	Token               string  `json:"token"`
}

ResetPasswordRequest defines model for ResetPasswordRequest.

type ResetPasswordResponse

type ResetPasswordResponse struct {
	AccessToken       *string `json:"access_token,omitempty"`
	AccessTokenExpiry *int    `json:"access_token_expiry,omitempty"`
	Email             *string `json:"email,omitempty"`
	RefreshToken      *string `json:"refresh_token,omitempty"`
	UserId            *string `json:"user_id,omitempty"`
}

ResetPasswordResponse defines model for ResetPasswordResponse.

type ResourceMetricSnapshot

type ResourceMetricSnapshot struct {
	CpuUtilizationPercent       *float32 `json:"cpu_utilization_percent,omitempty"`
	DiskUtilizationPercent      *float32 `json:"disk_utilization_percent,omitempty"`
	GpuMemoryUtilizationPercent *float32 `json:"gpu_memory_utilization_percent,omitempty"`
	GpuPowerWatts               *float32 `json:"gpu_power_watts,omitempty"`
	GpuTemperatureCelsius       *float32 `json:"gpu_temperature_celsius,omitempty"`
	GpuUtilizationPercent       *float32 `json:"gpu_utilization_percent,omitempty"`
	MemoryUtilizationPercent    *float32 `json:"memory_utilization_percent,omitempty"`
	SampledAt                   *string  `json:"sampled_at,omitempty"`
}

ResourceMetricSnapshot defines model for ResourceMetricSnapshot.

type ResourceMetricsResponse

type ResourceMetricsResponse struct {
	Latest                *ResourceMetricSnapshot   `json:"latest,omitempty"`
	RetentionSeconds      *int                      `json:"retention_seconds,omitempty"`
	SampleIntervalSeconds *int                      `json:"sample_interval_seconds,omitempty"`
	Series                *[]ResourceMetricSnapshot `json:"series,omitempty"`
}

ResourceMetricsResponse defines model for ResourceMetricsResponse.

type ResponsesRequestEnvelope

type ResponsesRequestEnvelope struct {
	Input              *[]int  `json:"input,omitempty"`
	Model              *string `json:"model,omitempty"`
	PreviousResponseId *string `json:"previous_response_id,omitempty"`
	Reasoning          *struct {
		Effort *string `json:"effort,omitempty"`
	} `json:"reasoning,omitempty"`
	ReasoningEffort     *string `json:"reasoning_effort,omitempty"`
	Store               *bool   `json:"store,omitempty"`
	Stream              *bool   `json:"stream,omitempty"`
	ThinkingTokenBudget *int    `json:"thinking_token_budget,omitempty"`
	Type                *string `json:"type,omitempty"`
}

ResponsesRequestEnvelope defines model for ResponsesRequestEnvelope.

type RuntimeConfigRequest

type RuntimeConfigRequest struct {
	ContextSize          *int     `json:"context_size,omitempty"`
	Dtype                *string  `json:"dtype,omitempty"`
	GpuMemoryUtilization *float32 `json:"gpu_memory_utilization,omitempty"`
	KvCacheDtype         *string  `json:"kv_cache_dtype,omitempty"`
	MaxNumBatchedTokens  *int     `json:"max_num_batched_tokens,omitempty"`
	Profile              *string  `json:"profile,omitempty"`
	Quantization         *string  `json:"quantization,omitempty"`
	StorageMounts        *[]struct {
		MountPath *string `json:"mount_path,omitempty"`
		SetHfHome *bool   `json:"set_hf_home,omitempty"`
		Subpath   *string `json:"subpath,omitempty"`
		VolumeId  *string `json:"volume_id,omitempty"`
	} `json:"storage_mounts,omitempty"`
	TensorParallelSize *int `json:"tensor_parallel_size,omitempty"`
}

RuntimeConfigRequest defines model for RuntimeConfigRequest.

type RuntimeConfigResponse

type RuntimeConfigResponse struct {
	ContextSize          *int     `json:"context_size,omitempty"`
	Dtype                *string  `json:"dtype,omitempty"`
	GpuMemoryUtilization *float32 `json:"gpu_memory_utilization,omitempty"`
	KvCacheDtype         *string  `json:"kv_cache_dtype,omitempty"`
	MaxNumBatchedTokens  *int     `json:"max_num_batched_tokens,omitempty"`
	Profile              *string  `json:"profile,omitempty"`
	Quantization         *string  `json:"quantization,omitempty"`
	StorageMounts        *[]struct {
		MountPath *string `json:"mount_path,omitempty"`
		SetHfHome *bool   `json:"set_hf_home,omitempty"`
		Subpath   *string `json:"subpath,omitempty"`
		VolumeId  *string `json:"volume_id,omitempty"`
	} `json:"storage_mounts,omitempty"`
	TensorParallelSize *int `json:"tensor_parallel_size,omitempty"`
}

RuntimeConfigResponse defines model for RuntimeConfigResponse.

type RuntimeMemoryEstimateResponse

type RuntimeMemoryEstimateResponse struct {
	ActiveParameterCount *int     `json:"active_parameter_count,omitempty"`
	DownloadSizeBytes    *int     `json:"download_size_bytes,omitempty"`
	GpuMemoryUtilization *float32 `json:"gpu_memory_utilization,omitempty"`
	KvCacheVramGb        *float32 `json:"kv_cache_vram_gb,omitempty"`
	ModelVramGb          *float32 `json:"model_vram_gb,omitempty"`
	ParameterCount       *int     `json:"parameter_count,omitempty"`
	PerGpuRequiredVramGb *float32 `json:"per_gpu_required_vram_gb,omitempty"`
	RequiredVramGb       *float32 `json:"required_vram_gb,omitempty"`
	TensorParallelSize   *int     `json:"tensor_parallel_size,omitempty"`
}

RuntimeMemoryEstimateResponse defines model for RuntimeMemoryEstimateResponse.

type ScaleReplicaSetRequest

type ScaleReplicaSetRequest struct {
	DesiredReplicas *int `json:"desired_replicas,omitempty"`
}

ScaleReplicaSetRequest defines model for ScaleReplicaSetRequest.

type ScheduleRuleListResponse

type ScheduleRuleListResponse struct {
	ScheduleRules *[]ScheduleRuleResponse `json:"schedule_rules,omitempty"`
}

ScheduleRuleListResponse defines model for ScheduleRuleListResponse.

type ScheduleRuleRequest

type ScheduleRuleRequest struct {
	Action          *string `json:"action,omitempty"`
	Cron            *string `json:"cron,omitempty"`
	DesiredReplicas *int    `json:"desired_replicas,omitempty"`
	Enabled         *bool   `json:"enabled,omitempty"`
	ReplicaSetId    *string `json:"replica_set_id,omitempty"`
	Timezone        *string `json:"timezone,omitempty"`
}

ScheduleRuleRequest defines model for ScheduleRuleRequest.

type ScheduleRuleResponse

type ScheduleRuleResponse struct {
	Action          *string `json:"action,omitempty"`
	CreatedAt       *string `json:"created_at,omitempty"`
	Cron            *string `json:"cron,omitempty"`
	DesiredReplicas *int    `json:"desired_replicas,omitempty"`
	Enabled         *bool   `json:"enabled,omitempty"`
	Id              *string `json:"id,omitempty"`
	InstanceId      *string `json:"instance_id,omitempty"`
	LastError       *string `json:"last_error,omitempty"`
	LastRunAt       *string `json:"last_run_at,omitempty"`
	NextRunAt       *string `json:"next_run_at,omitempty"`
	ReplicaSetId    *string `json:"replica_set_id,omitempty"`
	Timezone        *string `json:"timezone,omitempty"`
	UpdatedAt       *string `json:"updated_at,omitempty"`
}

ScheduleRuleResponse defines model for ScheduleRuleResponse.

type SearchHitResponse

type SearchHitResponse struct {
	Content  *string                  `json:"content,omitempty"`
	Id       *string                  `json:"id,omitempty"`
	Metadata *map[string]string       `json:"metadata,omitempty"`
	Score    *float32                 `json:"score,omitempty"`
	Source   *SearchHitSourceResponse `json:"source,omitempty"`
}

SearchHitResponse defines model for SearchHitResponse.

type SearchHitSourceResponse

type SearchHitSourceResponse struct {
	ImageUrl *string `json:"image_url,omitempty"`
	Text     *string `json:"text,omitempty"`
	Truncate *bool   `json:"truncate,omitempty"`
}

SearchHitSourceResponse defines model for SearchHitSourceResponse.

type SearchRecommendRequest

type SearchRecommendRequest struct {
	Bias  *float32 `json:"bias,omitempty"`
	Token *string  `json:"token,omitempty"`
}

SearchRecommendRequest defines model for SearchRecommendRequest.

type SearchRequest

type SearchRequest struct {
	ImageUrl  *string                 `json:"image_url,omitempty"`
	Query     *string                 `json:"query,omitempty"`
	Recommend *SearchRecommendRequest `json:"recommend,omitempty"`
	TopK      *int                    `json:"top_k,omitempty"`
}

SearchRequest defines model for SearchRequest.

type ServingEndpointResponse

type ServingEndpointResponse struct {
	CreatedAt                 *string                    `json:"created_at,omitempty"`
	DisplayName               *string                    `json:"display_name,omitempty"`
	Enabled                   *bool                      `json:"enabled,omitempty"`
	EndpointType              *string                    `json:"endpoint_type,omitempty"`
	Id                        *string                    `json:"id,omitempty"`
	Name                      *string                    `json:"name,omitempty"`
	Providers                 *[]ServingProviderResponse `json:"providers,omitempty"`
	PublicInputPerMillionEur  *float32                   `json:"public_input_per_million_eur,omitempty"`
	PublicOutputPerMillionEur *float32                   `json:"public_output_per_million_eur,omitempty"`
	State                     *string                    `json:"state,omitempty"`
	SupportsThinking          *bool                      `json:"supports_thinking,omitempty"`
	Targets                   *[]ServingTargetResponse   `json:"targets,omitempty"`
	UpdatedAt                 *string                    `json:"updated_at,omitempty"`
	WorkloadKind              *string                    `json:"workload_kind,omitempty"`
}

ServingEndpointResponse defines model for ServingEndpointResponse.

type ServingProviderResponse

type ServingProviderResponse struct {
	ModelId *string `json:"model_id,omitempty"`
	Name    *string `json:"name,omitempty"`
	Region  *string `json:"region,omitempty"`
}

ServingProviderResponse defines model for ServingProviderResponse.

type ServingTargetRequest

type ServingTargetRequest struct {
	InstanceId  *string `json:"instance_id,omitempty"`
	TargetRefId *string `json:"target_ref_id,omitempty"`
	Type        *string `json:"type,omitempty"`
}

ServingTargetRequest defines model for ServingTargetRequest.

type ServingTargetResponse

type ServingTargetResponse struct {
	CreatedAt   *string `json:"created_at,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
	Id          *string `json:"id,omitempty"`
	InstanceId  *string `json:"instance_id,omitempty"`
	Priority    *int    `json:"priority,omitempty"`
	TargetRefId *string `json:"target_ref_id,omitempty"`
	Type        *string `json:"type,omitempty"`
	UpdatedAt   *string `json:"updated_at,omitempty"`
	Weight      *int    `json:"weight,omitempty"`
}

ServingTargetResponse defines model for ServingTargetResponse.

type SmartBalancerRouteDestinationRequest

type SmartBalancerRouteDestinationRequest struct {
	Ref  *string `json:"ref,omitempty"`
	Type *string `json:"type,omitempty"`
}

SmartBalancerRouteDestinationRequest defines model for SmartBalancerRouteDestinationRequest.

type SmartBalancerRouteDestinationResponse

type SmartBalancerRouteDestinationResponse struct {
	Label *string `json:"label,omitempty"`
	Ref   *string `json:"ref,omitempty"`
	Type  *string `json:"type,omitempty"`
}

SmartBalancerRouteDestinationResponse defines model for SmartBalancerRouteDestinationResponse.

type SmartBalancerRouteRequest

type SmartBalancerRouteRequest struct {
	Destination *SmartBalancerRouteDestinationRequest `json:"destination,omitempty"`
	Enabled     *bool                                 `json:"enabled,omitempty"`
	Intent      *string                               `json:"intent,omitempty"`
	IsDefault   *bool                                 `json:"is_default,omitempty"`
	Name        *string                               `json:"name,omitempty"`
	Priority    *int                                  `json:"priority,omitempty"`
}

SmartBalancerRouteRequest defines model for SmartBalancerRouteRequest.

type SmartBalancerRouteResponse

type SmartBalancerRouteResponse struct {
	CreatedAt   *string                                `json:"created_at,omitempty"`
	Destination *SmartBalancerRouteDestinationResponse `json:"destination,omitempty"`
	Enabled     *bool                                  `json:"enabled,omitempty"`
	Id          *string                                `json:"id,omitempty"`
	Intent      *string                                `json:"intent,omitempty"`
	IsDefault   *bool                                  `json:"is_default,omitempty"`
	Name        *string                                `json:"name,omitempty"`
	Priority    *int                                   `json:"priority,omitempty"`
	UpdatedAt   *string                                `json:"updated_at,omitempty"`
}

SmartBalancerRouteResponse defines model for SmartBalancerRouteResponse.

type SmartBalancerRouterModelRequest

type SmartBalancerRouterModelRequest struct {
	Ref  *string `json:"ref,omitempty"`
	Type *string `json:"type,omitempty"`
}

SmartBalancerRouterModelRequest defines model for SmartBalancerRouterModelRequest.

type SmartBalancerRouterModelResponse

type SmartBalancerRouterModelResponse struct {
	Ref  *string `json:"ref,omitempty"`
	Type *string `json:"type,omitempty"`
}

SmartBalancerRouterModelResponse defines model for SmartBalancerRouterModelResponse.

type SmartBalancerViewResponse

type SmartBalancerViewResponse struct {
	CreatedAt         *string                           `json:"created_at,omitempty"`
	DefaultRouteId    *string                           `json:"default_route_id,omitempty"`
	DisplayName       *string                           `json:"display_name,omitempty"`
	Enabled           *bool                             `json:"enabled,omitempty"`
	Id                *string                           `json:"id,omitempty"`
	Name              *string                           `json:"name,omitempty"`
	RouterModel       *SmartBalancerRouterModelResponse `json:"router_model,omitempty"`
	Routes            *[]SmartBalancerRouteResponse     `json:"routes,omitempty"`
	RoutingMode       *string                           `json:"routing_mode,omitempty"`
	ServingEndpointId *string                           `json:"serving_endpoint_id,omitempty"`
	UpdatedAt         *string                           `json:"updated_at,omitempty"`
	WorkloadKind      *string                           `json:"workload_kind,omitempty"`
}

SmartBalancerViewResponse defines model for SmartBalancerViewResponse.

type StorageVolumeResponse

type StorageVolumeResponse struct {
	AccountId    *string `json:"account_id,omitempty"`
	Bucket       *string `json:"bucket,omitempty"`
	CreatedAt    *string `json:"created_at,omitempty"`
	Description  *string `json:"description,omitempty"`
	ErrorMessage *string `json:"error_message,omitempty"`
	Id           *string `json:"id,omitempty"`
	Name         *string `json:"name,omitempty"`
	Prefix       *string `json:"prefix,omitempty"`
	Provider     *string `json:"provider,omitempty"`
	Status       *string `json:"status,omitempty"`
	UpdatedAt    *string `json:"updated_at,omitempty"`
}

StorageVolumeResponse defines model for StorageVolumeResponse.

type SystemToolOutput

type SystemToolOutput struct {
	ConfigurationSchema *map[string]string `json:"configuration_schema,omitempty"`
	Description         *string            `json:"description,omitempty"`
	ManagedBy           *string            `json:"managed_by,omitempty"`
	Type                *string            `json:"type,omitempty"`
	Visibility          *string            `json:"visibility,omitempty"`
}

SystemToolOutput defines model for SystemToolOutput.

type TargetGroupMemberRequest

type TargetGroupMemberRequest struct {
	Enabled    *bool   `json:"enabled,omitempty"`
	InstanceId *string `json:"instance_id,omitempty"`
	Priority   *int    `json:"priority,omitempty"`
	Weight     *int    `json:"weight,omitempty"`
}

TargetGroupMemberRequest defines model for TargetGroupMemberRequest.

type TargetGroupMemberResponse

type TargetGroupMemberResponse struct {
	CreatedAt  *string `json:"created_at,omitempty"`
	Enabled    *bool   `json:"enabled,omitempty"`
	Id         *string `json:"id,omitempty"`
	InstanceId *string `json:"instance_id,omitempty"`
	Priority   *int    `json:"priority,omitempty"`
	UpdatedAt  *string `json:"updated_at,omitempty"`
	Weight     *int    `json:"weight,omitempty"`
}

TargetGroupMemberResponse defines model for TargetGroupMemberResponse.

type TargetGroupResponse

type TargetGroupResponse struct {
	CreatedAt       *string                      `json:"created_at,omitempty"`
	Description     *string                      `json:"description,omitempty"`
	DisplayName     *string                      `json:"display_name,omitempty"`
	Enabled         *bool                        `json:"enabled,omitempty"`
	Id              *string                      `json:"id,omitempty"`
	Members         *[]TargetGroupMemberResponse `json:"members,omitempty"`
	Name            *string                      `json:"name,omitempty"`
	SelectionPolicy *string                      `json:"selection_policy,omitempty"`
	UpdatedAt       *string                      `json:"updated_at,omitempty"`
	WorkloadKind    *string                      `json:"workload_kind,omitempty"`
}

TargetGroupResponse defines model for TargetGroupResponse.

type Template

type Template struct {
	Category        *string        `json:"category,omitempty"`
	CreatedAt       *Timestamp     `json:"created_at,omitempty"`
	CreatedBy       *string        `json:"created_by,omitempty"`
	HealthCheckedAt *Timestamp     `json:"health_checked_at,omitempty"`
	HealthError     *string        `json:"health_error,omitempty"`
	HealthStatus    *string        `json:"health_status,omitempty"`
	Id              *string        `json:"id,omitempty"`
	IsActive        *bool          `json:"is_active,omitempty"`
	IsFeatured      *bool          `json:"is_featured,omitempty"`
	Ordering        *int           `json:"ordering,omitempty"`
	Slug            *string        `json:"slug,omitempty"`
	Tags            *[]string      `json:"tags,omitempty"`
	Translations    *[]Translation `json:"translations,omitempty"`
	UpdatedAt       *Timestamp     `json:"updated_at,omitempty"`
	UpdatedBy       *string        `json:"updated_by,omitempty"`
}

Template defines model for Template.

type TemplateWithVariants

type TemplateWithVariants struct {
	Description *string                 `json:"description,omitempty"`
	Name        *string                 `json:"name,omitempty"`
	Template    *Template               `json:"template,omitempty"`
	Variants    *[]VariantWithRelations `json:"variants,omitempty"`
}

TemplateWithVariants defines model for TemplateWithVariants.

type Timestamp

type Timestamp struct {
	// Nanos Non-negative fractions of a second at nanosecond resolution. This field is
	// the nanosecond portion of the duration, not an alternative to seconds.
	// Negative second values with fractions must still have non-negative nanos
	// values that count forward in time. Must be between 0 and 999,999,999
	// inclusive.
	Nanos *int `json:"nanos,omitempty"`

	// Seconds Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
	// be between -315576000000 and 315576000000 inclusive (which corresponds to
	// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
	Seconds *int `json:"seconds,omitempty"`
}

Timestamp defines model for Timestamp.

type Translation

type Translation struct {
	Description *string `json:"description,omitempty"`
	Locale      *string `json:"locale,omitempty"`
	Name        *string `json:"name,omitempty"`
}

Translation defines model for Translation.

type UpdateAccountMemberRequest

type UpdateAccountMemberRequest struct {
	Role *string `json:"role,omitempty"`
}

UpdateAccountMemberRequest defines model for UpdateAccountMemberRequest.

type UpdateAccountRequest

type UpdateAccountRequest struct {
	Description            *string `json:"description,omitempty"`
	FiscalAddress          *string `json:"fiscal_address,omitempty"`
	FiscalCity             *string `json:"fiscal_city,omitempty"`
	FiscalCompanyName      *string `json:"fiscal_company_name,omitempty"`
	FiscalCountry          *string `json:"fiscal_country,omitempty"`
	FiscalCustomerType     *string `json:"fiscal_customer_type,omitempty"`
	FiscalInvoiceEmail     *string `json:"fiscal_invoice_email,omitempty"`
	FiscalLegalName        *string `json:"fiscal_legal_name,omitempty"`
	FiscalPostcode         *string `json:"fiscal_postcode,omitempty"`
	FiscalProfileCompleted *bool   `json:"fiscal_profile_completed,omitempty"`
	FiscalRegion           *string `json:"fiscal_region,omitempty"`
	FiscalTaxId            *string `json:"fiscal_tax_id,omitempty"`
	FiscalVatValidated     *bool   `json:"fiscal_vat_validated,omitempty"`
	Name                   *string `json:"name,omitempty"`
}

UpdateAccountRequest defines model for UpdateAccountRequest.

type UpdateFirewallRequest

type UpdateFirewallRequest struct {
	Description          *string   `json:"description,omitempty"`
	EvaluatorServingName *string   `json:"evaluator_serving_name,omitempty"`
	Mode                 *string   `json:"mode,omitempty"`
	Name                 *string   `json:"name,omitempty"`
	RuleSlugs            *[]string `json:"rule_slugs,omitempty"`
	Slug                 *string   `json:"slug,omitempty"`
}

UpdateFirewallRequest defines model for UpdateFirewallRequest.

type UpdateFirewallRuleRequest

type UpdateFirewallRuleRequest struct {
	Category        *string `json:"category,omitempty"`
	DefaultSeverity *string `json:"default_severity,omitempty"`
	Description     *string `json:"description,omitempty"`
	Name            *string `json:"name,omitempty"`
	Prompt          *string `json:"prompt,omitempty"`
	Slug            *string `json:"slug,omitempty"`
}

UpdateFirewallRuleRequest defines model for UpdateFirewallRuleRequest.

type UpdateFiscalProfileRequest

type UpdateFiscalProfileRequest struct {
	FiscalAddress          *string `json:"fiscal_address,omitempty"`
	FiscalCity             *string `json:"fiscal_city,omitempty"`
	FiscalCompanyName      *string `json:"fiscal_company_name,omitempty"`
	FiscalCountry          *string `json:"fiscal_country,omitempty"`
	FiscalCustomerType     *string `json:"fiscal_customer_type,omitempty"`
	FiscalInvoiceEmail     *string `json:"fiscal_invoice_email,omitempty"`
	FiscalLegalName        *string `json:"fiscal_legal_name,omitempty"`
	FiscalPostcode         *string `json:"fiscal_postcode,omitempty"`
	FiscalProfileCompleted *bool   `json:"fiscal_profile_completed,omitempty"`
	FiscalRegion           *string `json:"fiscal_region,omitempty"`
	FiscalTaxId            *string `json:"fiscal_tax_id,omitempty"`
	FiscalVatValidated     *bool   `json:"fiscal_vat_validated,omitempty"`
}

UpdateFiscalProfileRequest defines model for UpdateFiscalProfileRequest.

type UpdateInstanceRequest

type UpdateInstanceRequest struct {
	Description             *string                    `json:"description,omitempty"`
	GpuPreferences          *[]PublicGPUPreferenceJSON `json:"gpu_preferences,omitempty"`
	IdleTimeoutSeconds      *int                       `json:"idle_timeout_seconds,omitempty"`
	Name                    *string                    `json:"name,omitempty"`
	RuntimeConfig           *RuntimeConfigRequest      `json:"runtime_config,omitempty"`
	RuntimePreset           *string                    `json:"runtime_preset,omitempty"`
	SchedulingMode          *string                    `json:"scheduling_mode,omitempty"`
	ServerlessEnabled       *bool                      `json:"serverless_enabled,omitempty"`
	ServingName             *string                    `json:"serving_name,omitempty"`
	SmartAllowCommunity     *bool                      `json:"smart_allow_community,omitempty"`
	SmartAllowSpot          *bool                      `json:"smart_allow_spot,omitempty"`
	SmartMaxPricePerHourEur *float32                   `json:"smart_max_price_per_hour_eur,omitempty"`
	SmartMinGpuClass        *string                    `json:"smart_min_gpu_class,omitempty"`
	SmartMinTotalTflops     *float32                   `json:"smart_min_total_tflops,omitempty"`
	SmartProviderFilterMode *string                    `json:"smart_provider_filter_mode,omitempty"`
	SmartProviderPreference *string                    `json:"smart_provider_preference,omitempty"`
	SmartRegion             *string                    `json:"smart_region,omitempty"`
	SmartRegions            *[]string                  `json:"smart_regions,omitempty"`
	SmartSelectionLabel     *string                    `json:"smart_selection_label,omitempty"`
}

UpdateInstanceRequest defines model for UpdateInstanceRequest.

type UpdatePreferencesRequest

type UpdatePreferencesRequest struct {
	Email2faEnabled *bool `json:"email_2fa_enabled,omitempty"`
}

UpdatePreferencesRequest defines model for UpdatePreferencesRequest.

type UpdateReplicaSetRequest

type UpdateReplicaSetRequest struct {
	DesiredReplicas         *int      `json:"desired_replicas,omitempty"`
	Name                    *string   `json:"name,omitempty"`
	SchedulingMode          *string   `json:"scheduling_mode,omitempty"`
	ServingName             *string   `json:"serving_name,omitempty"`
	SmartAllowCommunity     *bool     `json:"smart_allow_community,omitempty"`
	SmartAllowSpot          *bool     `json:"smart_allow_spot,omitempty"`
	SmartMaxPricePerHourUsd *float32  `json:"smart_max_price_per_hour_usd,omitempty"`
	SmartMinGpuClass        *string   `json:"smart_min_gpu_class,omitempty"`
	SmartMinTotalTflops     *float32  `json:"smart_min_total_tflops,omitempty"`
	SmartProviderFilterMode *string   `json:"smart_provider_filter_mode,omitempty"`
	SmartProviderPreference *string   `json:"smart_provider_preference,omitempty"`
	SmartRegions            *[]string `json:"smart_regions,omitempty"`
}

UpdateReplicaSetRequest defines model for UpdateReplicaSetRequest.

type UpdateSmartBalancerRequest

type UpdateSmartBalancerRequest struct {
	DisplayName  *string                          `json:"display_name,omitempty"`
	Enabled      *bool                            `json:"enabled,omitempty"`
	Name         *string                          `json:"name,omitempty"`
	RouterModel  *SmartBalancerRouterModelRequest `json:"router_model,omitempty"`
	Routes       *[]SmartBalancerRouteRequest     `json:"routes,omitempty"`
	RoutingMode  *string                          `json:"routing_mode,omitempty"`
	WorkloadKind *string                          `json:"workload_kind,omitempty"`
}

UpdateSmartBalancerRequest defines model for UpdateSmartBalancerRequest.

type UpdateTargetGroupRequest

type UpdateTargetGroupRequest struct {
	Description     *string                     `json:"description,omitempty"`
	DisplayName     *string                     `json:"display_name,omitempty"`
	Enabled         *bool                       `json:"enabled,omitempty"`
	Members         *[]TargetGroupMemberRequest `json:"members,omitempty"`
	SelectionPolicy *string                     `json:"selection_policy,omitempty"`
}

UpdateTargetGroupRequest defines model for UpdateTargetGroupRequest.

type UpdateVectorDatabaseRequest

type UpdateVectorDatabaseRequest struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	Slug        *string `json:"slug,omitempty"`
}

UpdateVectorDatabaseRequest defines model for UpdateVectorDatabaseRequest.

type UserInfoResponse

type UserInfoResponse struct {
	Email  *string `json:"email,omitempty"`
	UserId *string `json:"user_id,omitempty"`
}

UserInfoResponse defines model for UserInfoResponse.

type UserPreferencesResponse

type UserPreferencesResponse struct {
	Email2faEnabled *bool `json:"email_2fa_enabled,omitempty"`
	TotpEnabled     *bool `json:"totp_enabled,omitempty"`
}

UserPreferencesResponse defines model for UserPreferencesResponse.

type Variant

type Variant struct {
	ArtifactType      *string               `json:"artifact_type,omitempty"`
	CreatedAt         *Timestamp            `json:"created_at,omitempty"`
	GgufFiles         *[]string             `json:"gguf_files,omitempty"`
	HealthCheckedAt   *Timestamp            `json:"health_checked_at,omitempty"`
	HealthError       *string               `json:"health_error,omitempty"`
	HealthStatus      *string               `json:"health_status,omitempty"`
	IconUrl           *string               `json:"icon_url,omitempty"`
	Id                *string               `json:"id,omitempty"`
	IsActive          *bool                 `json:"is_active,omitempty"`
	MaxContextTokens  *int                  `json:"max_context_tokens,omitempty"`
	ModelId           *string               `json:"model_id,omitempty"`
	Ordering          *int                  `json:"ordering,omitempty"`
	Quantization      *string               `json:"quantization,omitempty"`
	RecommendedPreset *string               `json:"recommended_preset,omitempty"`
	Revision          *string               `json:"revision,omitempty"`
	StopSequences     *[]string             `json:"stop_sequences,omitempty"`
	SystemPrompt      *string               `json:"system_prompt,omitempty"`
	Temperature       *float32              `json:"temperature,omitempty"`
	TemplateId        *string               `json:"template_id,omitempty"`
	Translations      *[]VariantTranslation `json:"translations,omitempty"`
	UpdatedAt         *Timestamp            `json:"updated_at,omitempty"`
}

Variant defines model for Variant.

type VariantTranslation

type VariantTranslation struct {
	Description *string `json:"description,omitempty"`
	Locale      *string `json:"locale,omitempty"`
	Name        *string `json:"name,omitempty"`
}

VariantTranslation defines model for VariantTranslation.

type VariantWithRelations

type VariantWithRelations struct {
	Description      *string   `json:"description,omitempty"`
	Name             *string   `json:"name,omitempty"`
	TemplateCategory *string   `json:"template_category,omitempty"`
	TemplateIsActive *bool     `json:"template_is_active,omitempty"`
	TemplateSlug     *string   `json:"template_slug,omitempty"`
	TemplateTags     *[]string `json:"template_tags,omitempty"`
	Variant          *Variant  `json:"variant,omitempty"`
}

VariantWithRelations defines model for VariantWithRelations.

type VectorDatabaseResponse

type VectorDatabaseResponse struct {
	AccountId            *string `json:"account_id,omitempty"`
	CreatedAt            *string `json:"created_at,omitempty"`
	Description          *string `json:"description,omitempty"`
	EmbeddingModelRef    *string `json:"embedding_model_ref,omitempty"`
	EmbeddingServingName *string `json:"embedding_serving_name,omitempty"`
	ErrorMessage         *string `json:"error_message,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	OpensearchIndexName  *string `json:"opensearch_index_name,omitempty"`
	Slug                 *string `json:"slug,omitempty"`
	Status               *string `json:"status,omitempty"`
	UpdatedAt            *string `json:"updated_at,omitempty"`
}

VectorDatabaseResponse defines model for VectorDatabaseResponse.

type VerifyEmailResponse

type VerifyEmailResponse struct {
	AccessToken       *string `json:"access_token,omitempty"`
	AccessTokenExpiry *int    `json:"access_token_expiry,omitempty"`
	Email             *string `json:"email,omitempty"`
	RefreshToken      *string `json:"refresh_token,omitempty"`
	UserId            *string `json:"user_id,omitempty"`
}

VerifyEmailResponse defines model for VerifyEmailResponse.

type ViewElementRequest

type ViewElementRequest struct {
	DocumentId     *string  `json:"document_id,omitempty"`
	RecommendToken *string  `json:"recommend_token,omitempty"`
	Weight         *float32 `json:"weight,omitempty"`
}

ViewElementRequest defines model for ViewElementRequest.

Directories

Path Synopsis
Command example demonstrates the qdivzero client: login with credentials and list the user's accounts with error handling.
Command example demonstrates the qdivzero client: login with credentials and list the user's accounts with error handling.

Jump to

Keyboard shortcuts

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