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
- func ErrorString(r *ErrorResponse) string
- func NewDeleteAccountsCurrentInvitationsByInvitationIDRequest(server string, invitationID string) (*http.Request, error)
- func NewDeleteAccountsCurrentRequest(server string) (*http.Request, error)
- func NewDeleteAuthPasskeysRequest(server string, credentialID string) (*http.Request, error)
- func NewDeleteAuthTotpRequest(server string) (*http.Request, error)
- func NewDeleteFirewallRequest(server string, firewallSlug string) (*http.Request, error)
- func NewDeleteFirewallRuleRequest(server string, ruleSlug string) (*http.Request, error)
- func NewDeleteInstanceRequest(server string, instanceID string) (*http.Request, error)
- func NewDeleteInstanceScheduleRuleRequest(server string, instanceID string, ruleID string) (*http.Request, error)
- func NewDeleteReplicaSetRequest(server string, replicaSetID string) (*http.Request, error)
- func NewDeleteSmartBalancerRequest(server string, smartBalancerID string) (*http.Request, error)
- func NewDeleteStorageVolumeRequest(server string, volumeID string) (*http.Request, error)
- func NewDeleteTargetGroupRequest(server string, targetGroupID string) (*http.Request, error)
- func NewDeleteV1ResponsesSessionRequest(server string, responseId string, params *DeleteV1ResponsesSessionParams) (*http.Request, error)
- func NewDeleteV1ResponsesSessionsRequest(server string) (*http.Request, error)
- func NewDeleteVectorDatabaseRequest(server string, databaseID string) (*http.Request, error)
- func NewGetAccountsCurrentMembersRequest(server string) (*http.Request, error)
- func NewGetAccountsCurrentRequest(server string) (*http.Request, error)
- func NewGetAccountsRequest(server string) (*http.Request, error)
- func NewGetApiKeysRequest(server string) (*http.Request, error)
- func NewGetAuthMeRequest(server string) (*http.Request, error)
- func NewGetAuthPasskeysRequest(server string) (*http.Request, error)
- func NewGetAuthPreferencesRequest(server string) (*http.Request, error)
- func NewGetAuthVerifyEmailRequest(server string, params *GetAuthVerifyEmailParams) (*http.Request, error)
- func NewGetBillingBalanceRequest(server string) (*http.Request, error)
- func NewGetBillingLedgerRequest(server string, params *GetBillingLedgerParams) (*http.Request, error)
- func NewGetBillingPaymentsPaymentIDInvoicePDFRequest(server string, paymentID string) (*http.Request, error)
- func NewGetBillingPaymentsRequest(server string) (*http.Request, error)
- func NewGetFirewallRequest(server string, firewallSlug string) (*http.Request, error)
- func NewGetFirewallRuleRequest(server string, ruleSlug string) (*http.Request, error)
- func NewGetFirewallRulesRequest(server string) (*http.Request, error)
- func NewGetFirewallsRequest(server string) (*http.Request, error)
- func NewGetHealthRequest(server string) (*http.Request, error)
- func NewGetHuggingfaceEmbeddingsRequest(server string, params *GetHuggingfaceEmbeddingsParams) (*http.Request, error)
- func NewGetHuggingfaceFilesRequest(server string, params *GetHuggingfaceFilesParams) (*http.Request, error)
- func NewGetHuggingfaceModelsRequest(server string, params *GetHuggingfaceModelsParams) (*http.Request, error)
- func NewGetHuggingfaceOrgsRequest(server string, org string) (*http.Request, error)
- func NewGetHuggingfaceSearchTagRequest(server string, params *GetHuggingfaceSearchTagParams) (*http.Request, error)
- func NewGetHuggingfaceTrendingRequest(server string, params *GetHuggingfaceTrendingParams) (*http.Request, error)
- func NewGetInstanceByIDRequest(server string, instanceID string) (*http.Request, error)
- func NewGetInstanceConfigGpusRequest(server string) (*http.Request, error)
- func NewGetInstanceScheduleRulesRequest(server string, instanceID string) (*http.Request, error)
- func NewGetInstanceUsageRequest(server string, instanceID string, params *GetInstanceUsageParams) (*http.Request, error)
- func NewGetInstancesRequest(server string, params *GetInstancesParams) (*http.Request, error)
- func NewGetInvitationsRequest(server string) (*http.Request, error)
- func NewGetModelsFixedRequest(server string) (*http.Request, error)
- func NewGetReplicaSetRequest(server string, replicaSetID string) (*http.Request, error)
- func NewGetReplicaSetsRequest(server string) (*http.Request, error)
- func NewGetServingEndpointsRequest(server string) (*http.Request, error)
- func NewGetSmartBalancersRequest(server string) (*http.Request, error)
- func NewGetStorageVolumeRequest(server string, volumeID string) (*http.Request, error)
- func NewGetStorageVolumesRequest(server string) (*http.Request, error)
- func NewGetSystemToolsRequest(server string) (*http.Request, error)
- func NewGetTargetGroupRequest(server string, targetGroupID string) (*http.Request, error)
- func NewGetTargetGroupsRequest(server string) (*http.Request, error)
- func NewGetUserAPIKeysRequest(server string) (*http.Request, error)
- func NewGetV1AudioVoicesRequest(server string, params *GetV1AudioVoicesParams) (*http.Request, error)
- func NewGetV1PublicModelPricesRequest(server string, params *GetV1PublicModelPricesParams) (*http.Request, error)
- func NewGetV1PublicPricingRequest(server string) (*http.Request, error)
- func NewGetV1RealtimeRequest(server string, params *GetV1RealtimeParams) (*http.Request, error)
- func NewGetV1ResponsesSessionDetailRequest(server string, responseId string) (*http.Request, error)
- func NewGetV1ResponsesSessionsListRequest(server string, params *GetV1ResponsesSessionsListParams) (*http.Request, error)
- func NewGetV1ResponsesSessionsStatusRequest(server string) (*http.Request, error)
- func NewGetV1ResponsesWebSocketRequest(server string) (*http.Request, error)
- func NewGetV1TemplateBySlugRequest(server string, slug string, params *GetV1TemplateBySlugParams) (*http.Request, error)
- func NewGetV1TemplateRequest(server string, id string, params *GetV1TemplateParams) (*http.Request, error)
- func NewGetV1TemplatesRequest(server string, params *GetV1TemplatesParams) (*http.Request, error)
- func NewGetVectorDatabaseDocumentsRequest(server string, databaseID string, params *GetVectorDatabaseDocumentsParams) (*http.Request, error)
- func NewGetVectorDatabaseIndexJobRequest(server string, databaseID string, jobID string) (*http.Request, error)
- func NewGetVectorDatabaseRequest(server string, databaseID string) (*http.Request, error)
- func NewGetVectorDatabasesRequest(server string) (*http.Request, error)
- func NewPatchAccountsCurrentFiscalProfileRequest(server string, body PatchAccountsCurrentFiscalProfileJSONRequestBody) (*http.Request, error)
- func NewPatchAccountsCurrentFiscalProfileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchAccountsCurrentMembersByUserIDRequest(server string, userID string, ...) (*http.Request, error)
- func NewPatchAccountsCurrentMembersByUserIDRequestWithBody(server string, userID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchAccountsCurrentRequest(server string, body PatchAccountsCurrentJSONRequestBody) (*http.Request, error)
- func NewPatchAccountsCurrentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchAuthPasswordRequest(server string, body PatchAuthPasswordJSONRequestBody) (*http.Request, error)
- func NewPatchAuthPasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchAuthPreferencesRequest(server string, body PatchAuthPreferencesJSONRequestBody) (*http.Request, error)
- func NewPatchAuthPreferencesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchFirewallRequest(server string, firewallSlug string, body PatchFirewallJSONRequestBody) (*http.Request, error)
- func NewPatchFirewallRequestWithBody(server string, firewallSlug string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchFirewallRuleRequest(server string, ruleSlug string, body PatchFirewallRuleJSONRequestBody) (*http.Request, error)
- func NewPatchFirewallRuleRequestWithBody(server string, ruleSlug string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchInstanceRequest(server string, instanceID string, body PatchInstanceJSONRequestBody) (*http.Request, error)
- func NewPatchInstanceRequestWithBody(server string, instanceID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchInstanceScheduleRuleRequest(server string, instanceID string, ruleID string, ...) (*http.Request, error)
- func NewPatchInstanceScheduleRuleRequestWithBody(server string, instanceID string, ruleID string, contentType string, ...) (*http.Request, error)
- func NewPatchReplicaSetRequest(server string, replicaSetID string, body PatchReplicaSetJSONRequestBody) (*http.Request, error)
- func NewPatchReplicaSetRequestWithBody(server string, replicaSetID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchSmartBalancerRequest(server string, smartBalancerID string, body PatchSmartBalancerJSONRequestBody) (*http.Request, error)
- func NewPatchSmartBalancerRequestWithBody(server string, smartBalancerID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchTargetGroupRequest(server string, targetGroupID string, body PatchTargetGroupJSONRequestBody) (*http.Request, error)
- func NewPatchTargetGroupRequestWithBody(server string, targetGroupID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchVectorDatabaseRequest(server string, databaseID string, body PatchVectorDatabaseJSONRequestBody) (*http.Request, error)
- func NewPatchVectorDatabaseRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAccountsCurrentInvitationsRequest(server string, body PostAccountsCurrentInvitationsJSONRequestBody) (*http.Request, error)
- func NewPostAccountsCurrentInvitationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAccountsCurrentMembersRequest(server string, body PostAccountsCurrentMembersJSONRequestBody) (*http.Request, error)
- func NewPostAccountsCurrentMembersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAccountsRequest(server string, body PostAccountsJSONRequestBody) (*http.Request, error)
- func NewPostAccountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostApiKeysKeyIDRevokeRequest(server string, keyID string) (*http.Request, error)
- func NewPostApiKeysRequest(server string) (*http.Request, error)
- func NewPostAuthForgotPasswordRequest(server string, body PostAuthForgotPasswordJSONRequestBody) (*http.Request, error)
- func NewPostAuthForgotPasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthLoginRequest(server string, body PostAuthLoginJSONRequestBody) (*http.Request, error)
- func NewPostAuthLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthPasskeysBeginLoginRequest(server string, body PostAuthPasskeysBeginLoginJSONRequestBody) (*http.Request, error)
- func NewPostAuthPasskeysBeginLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthPasskeysBeginRegistrationRequest(server string) (*http.Request, error)
- func NewPostAuthPasskeysFinishLoginRequest(server string, body PostAuthPasskeysFinishLoginJSONRequestBody) (*http.Request, error)
- func NewPostAuthPasskeysFinishLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthPasskeysFinishRegistrationRequest(server string, body PostAuthPasskeysFinishRegistrationJSONRequestBody) (*http.Request, error)
- func NewPostAuthPasskeysFinishRegistrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthPasskeysRequest(server string, body PostAuthPasskeysJSONRequestBody) (*http.Request, error)
- func NewPostAuthPasskeysRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthRefreshRequest(server string, body PostAuthRefreshJSONRequestBody) (*http.Request, error)
- func NewPostAuthRefreshRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthRegisterRequest(server string, body PostAuthRegisterJSONRequestBody) (*http.Request, error)
- func NewPostAuthRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthResetPasswordRequest(server string, body PostAuthResetPasswordJSONRequestBody) (*http.Request, error)
- func NewPostAuthResetPasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAuthTotpBeginRequest(server string) (*http.Request, error)
- func NewPostAuthTotpConfirmRequest(server string, body PostAuthTotpConfirmJSONRequestBody) (*http.Request, error)
- func NewPostAuthTotpConfirmRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostBillingCheckoutRequest(server string, params *PostBillingCheckoutParams, ...) (*http.Request, error)
- func NewPostBillingCheckoutRequestWithBody(server string, params *PostBillingCheckoutParams, contentType string, ...) (*http.Request, error)
- func NewPostBillingDebitRequest(server string, body PostBillingDebitJSONRequestBody) (*http.Request, error)
- func NewPostBillingDebitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostFirewallEvaluateRequest(server string, firewallSlug string, body PostFirewallEvaluateJSONRequestBody) (*http.Request, error)
- func NewPostFirewallEvaluateRequestWithBody(server string, firewallSlug string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostFirewallRequest(server string, body PostFirewallJSONRequestBody) (*http.Request, error)
- func NewPostFirewallRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostFirewallRuleEvaluateRequest(server string, ruleSlug string, body PostFirewallRuleEvaluateJSONRequestBody) (*http.Request, error)
- func NewPostFirewallRuleEvaluateRequestWithBody(server string, ruleSlug string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostFirewallRuleRequest(server string, body PostFirewallRuleJSONRequestBody) (*http.Request, error)
- func NewPostFirewallRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostInstancePreviewUpdateRequest(server string, instanceID string, ...) (*http.Request, error)
- func NewPostInstancePreviewUpdateRequestWithBody(server string, instanceID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostInstanceScheduleRuleRequest(server string, instanceID string, body PostInstanceScheduleRuleJSONRequestBody) (*http.Request, error)
- func NewPostInstanceScheduleRuleRequestWithBody(server string, instanceID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostInstanceStartRequest(server string, instanceID string) (*http.Request, error)
- func NewPostInstanceStopRequest(server string, instanceID string) (*http.Request, error)
- func NewPostInstancesRequest(server string, params *PostInstancesParams, body PostInstancesJSONRequestBody) (*http.Request, error)
- func NewPostInstancesRequestWithBody(server string, params *PostInstancesParams, contentType string, body io.Reader) (*http.Request, error)
- func NewPostInvitationsAcceptRequest(server string, body PostInvitationsAcceptJSONRequestBody) (*http.Request, error)
- func NewPostInvitationsAcceptRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostReplicaSetScaleRequest(server string, replicaSetID string, body PostReplicaSetScaleJSONRequestBody) (*http.Request, error)
- func NewPostReplicaSetScaleRequestWithBody(server string, replicaSetID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostRuntimeNotifyCrashRequest(server string, body PostRuntimeNotifyCrashJSONRequestBody) (*http.Request, error)
- func NewPostRuntimeNotifyCrashRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostServingEndpointRequest(server string, body PostServingEndpointJSONRequestBody) (*http.Request, error)
- func NewPostServingEndpointRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostSmartBalancerRequest(server string, body PostSmartBalancerJSONRequestBody) (*http.Request, error)
- func NewPostSmartBalancerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostStorageVolumesRequest(server string, body PostStorageVolumesJSONRequestBody) (*http.Request, error)
- func NewPostStorageVolumesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostTargetGroupRequest(server string, body PostTargetGroupJSONRequestBody) (*http.Request, error)
- func NewPostTargetGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostUserAPIKeysKeyIDRevokeRequest(server string, keyID string) (*http.Request, error)
- func NewPostUserAPIKeysRequest(server string) (*http.Request, error)
- func NewPostV1AudioSpeechRequest(server string, body PostV1AudioSpeechJSONRequestBody) (*http.Request, error)
- func NewPostV1AudioSpeechRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1AudioTranscriptionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ChatCompletionsRequest(server string, body PostV1ChatCompletionsJSONRequestBody) (*http.Request, error)
- func NewPostV1ChatCompletionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1EmbeddingsRequest(server string, body PostV1EmbeddingsJSONRequestBody) (*http.Request, error)
- func NewPostV1EmbeddingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ImageEditsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ImageGenerationsRequest(server string, body PostV1ImageGenerationsJSONRequestBody) (*http.Request, error)
- func NewPostV1ImageGenerationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ResponsesCompactRequest(server string, body PostV1ResponsesCompactJSONRequestBody) (*http.Request, error)
- func NewPostV1ResponsesCompactRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ResponsesRequest(server string, body PostV1ResponsesJSONRequestBody) (*http.Request, error)
- func NewPostV1ResponsesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1VideoGenerationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVectorDatabaseIndexDirectRequest(server string, databaseID string, ...) (*http.Request, error)
- func NewPostVectorDatabaseIndexDirectRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVectorDatabaseIndexJobsRequest(server string, databaseID string, ...) (*http.Request, error)
- func NewPostVectorDatabaseIndexJobsRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVectorDatabaseRecommendRequest(server string, databaseID string, ...) (*http.Request, error)
- func NewPostVectorDatabaseRecommendRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVectorDatabaseSearchRequest(server string, databaseID string, body PostVectorDatabaseSearchJSONRequestBody) (*http.Request, error)
- func NewPostVectorDatabaseSearchRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVectorDatabaseViewElementRequest(server string, databaseID string, ...) (*http.Request, error)
- func NewPostVectorDatabaseViewElementRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVectorDatabasesRequest(server string, body PostVectorDatabasesJSONRequestBody) (*http.Request, error)
- func NewPostVectorDatabasesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1ResponsesSessionsStatusRequest(server string, body PutV1ResponsesSessionsStatusJSONRequestBody) (*http.Request, error)
- func NewPutV1ResponsesSessionsStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type API
- func (a *API) APIKey() string
- func (a *API) AccessToken() string
- func (a *API) Login(ctx context.Context, email, password string) error
- func (a *API) Refresh(ctx context.Context) error
- func (a *API) SetAPIKey(key string)
- func (a *API) SetAccessToken(token string)
- func (a *API) SetAuthorization(value string)
- func (a *API) SetRefreshToken(token string)
- type AcceptInvitationRequest
- type AccountBalanceResponse
- type AccountListResponse
- type AccountMemberListResponse
- type AccountMemberResponse
- type AccountMembershipResponse
- type AccountResponse
- type AddAccountMemberRequest
- type ApiKeyListResponse
- type ApiKeyResponse
- type AudioSpeechRequest
- type BeginPasskeyRegistrationResponse
- type BeginPasskeyloginRequest
- type BeginPasskeyloginResponse
- type BeginTotpEnrollmentResponse
- type CatalogGPUResponse
- type ChangePasswordRequest
- type ChatMessageEnvelope
- type ChatRequestEnvelope
- type ChatToolCallEnvelope
- type ChatToolCallFunctionEnvelope
- type CheckoutSessionResponse
- type Client
- func (c *Client) DeleteAccountsCurrent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAccountsCurrentInvitationsByInvitationID(ctx context.Context, invitationID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAuthPasskeys(ctx context.Context, credentialID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAuthTotp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFirewall(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFirewallRule(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteInstance(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteInstanceScheduleRule(ctx context.Context, instanceID string, ruleID string, ...) (*http.Response, error)
- func (c *Client) DeleteReplicaSet(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSmartBalancer(ctx context.Context, smartBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStorageVolume(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTargetGroup(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1ResponsesSession(ctx context.Context, responseId string, params *DeleteV1ResponsesSessionParams, ...) (*http.Response, error)
- func (c *Client) DeleteV1ResponsesSessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteVectorDatabase(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountsCurrent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountsCurrentMembers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuthMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuthPasskeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuthPreferences(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuthVerifyEmail(ctx context.Context, params *GetAuthVerifyEmailParams, ...) (*http.Response, error)
- func (c *Client) GetBillingBalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBillingLedger(ctx context.Context, params *GetBillingLedgerParams, ...) (*http.Response, error)
- func (c *Client) GetBillingPayments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBillingPaymentsPaymentIDInvoicePDF(ctx context.Context, paymentID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFirewall(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFirewallRule(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFirewallRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFirewalls(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHuggingfaceEmbeddings(ctx context.Context, params *GetHuggingfaceEmbeddingsParams, ...) (*http.Response, error)
- func (c *Client) GetHuggingfaceFiles(ctx context.Context, params *GetHuggingfaceFilesParams, ...) (*http.Response, error)
- func (c *Client) GetHuggingfaceModels(ctx context.Context, params *GetHuggingfaceModelsParams, ...) (*http.Response, error)
- func (c *Client) GetHuggingfaceOrgs(ctx context.Context, org string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHuggingfaceSearchTag(ctx context.Context, params *GetHuggingfaceSearchTagParams, ...) (*http.Response, error)
- func (c *Client) GetHuggingfaceTrending(ctx context.Context, params *GetHuggingfaceTrendingParams, ...) (*http.Response, error)
- func (c *Client) GetInstanceByID(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInstanceConfigGpus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInstanceScheduleRules(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInstanceUsage(ctx context.Context, instanceID string, params *GetInstanceUsageParams, ...) (*http.Response, error)
- func (c *Client) GetInstances(ctx context.Context, params *GetInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInvitations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetModelsFixed(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetReplicaSet(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetReplicaSets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetServingEndpoints(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSmartBalancers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStorageVolume(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStorageVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSystemTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTargetGroup(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTargetGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1AudioVoices(ctx context.Context, params *GetV1AudioVoicesParams, ...) (*http.Response, error)
- func (c *Client) GetV1PublicModelPrices(ctx context.Context, params *GetV1PublicModelPricesParams, ...) (*http.Response, error)
- func (c *Client) GetV1PublicPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Realtime(ctx context.Context, params *GetV1RealtimeParams, ...) (*http.Response, error)
- func (c *Client) GetV1ResponsesSessionDetail(ctx context.Context, responseId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ResponsesSessionsList(ctx context.Context, params *GetV1ResponsesSessionsListParams, ...) (*http.Response, error)
- func (c *Client) GetV1ResponsesSessionsStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1ResponsesWebSocket(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Template(ctx context.Context, id string, params *GetV1TemplateParams, ...) (*http.Response, error)
- func (c *Client) GetV1TemplateBySlug(ctx context.Context, slug string, params *GetV1TemplateBySlugParams, ...) (*http.Response, error)
- func (c *Client) GetV1Templates(ctx context.Context, params *GetV1TemplatesParams, ...) (*http.Response, error)
- func (c *Client) GetVectorDatabase(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVectorDatabaseDocuments(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) GetVectorDatabaseIndexJob(ctx context.Context, databaseID string, jobID string, ...) (*http.Response, error)
- func (c *Client) GetVectorDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchAccountsCurrent(ctx context.Context, body PatchAccountsCurrentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchAccountsCurrentFiscalProfile(ctx context.Context, body PatchAccountsCurrentFiscalProfileJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchAccountsCurrentFiscalProfileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchAccountsCurrentMembersByUserID(ctx context.Context, userID string, ...) (*http.Response, error)
- func (c *Client) PatchAccountsCurrentMembersByUserIDWithBody(ctx context.Context, userID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchAccountsCurrentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchAuthPassword(ctx context.Context, body PatchAuthPasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchAuthPasswordWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchAuthPreferences(ctx context.Context, body PatchAuthPreferencesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchAuthPreferencesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchFirewall(ctx context.Context, firewallSlug string, body PatchFirewallJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchFirewallRule(ctx context.Context, ruleSlug string, body PatchFirewallRuleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchFirewallRuleWithBody(ctx context.Context, ruleSlug string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchFirewallWithBody(ctx context.Context, firewallSlug string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchInstance(ctx context.Context, instanceID string, body PatchInstanceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchInstanceScheduleRule(ctx context.Context, instanceID string, ruleID string, ...) (*http.Response, error)
- func (c *Client) PatchInstanceScheduleRuleWithBody(ctx context.Context, instanceID string, ruleID string, contentType string, ...) (*http.Response, error)
- func (c *Client) PatchInstanceWithBody(ctx context.Context, instanceID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchReplicaSet(ctx context.Context, replicaSetID string, body PatchReplicaSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchReplicaSetWithBody(ctx context.Context, replicaSetID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchSmartBalancer(ctx context.Context, smartBalancerID string, ...) (*http.Response, error)
- func (c *Client) PatchSmartBalancerWithBody(ctx context.Context, smartBalancerID string, contentType string, ...) (*http.Response, error)
- func (c *Client) PatchTargetGroup(ctx context.Context, targetGroupID string, ...) (*http.Response, error)
- func (c *Client) PatchTargetGroupWithBody(ctx context.Context, targetGroupID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchVectorDatabase(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) PatchVectorDatabaseWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAccounts(ctx context.Context, body PostAccountsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAccountsCurrentInvitations(ctx context.Context, body PostAccountsCurrentInvitationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAccountsCurrentInvitationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAccountsCurrentMembers(ctx context.Context, body PostAccountsCurrentMembersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAccountsCurrentMembersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAccountsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostApiKeysKeyIDRevoke(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostAuthForgotPassword(ctx context.Context, body PostAuthForgotPasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthForgotPasswordWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthLogin(ctx context.Context, body PostAuthLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthLoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeys(ctx context.Context, body PostAuthPasskeysJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeysBeginLogin(ctx context.Context, body PostAuthPasskeysBeginLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeysBeginLoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeysBeginRegistration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostAuthPasskeysFinishLogin(ctx context.Context, body PostAuthPasskeysFinishLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeysFinishLoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeysFinishRegistration(ctx context.Context, body PostAuthPasskeysFinishRegistrationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeysFinishRegistrationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthPasskeysWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthRefresh(ctx context.Context, body PostAuthRefreshJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthRefreshWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthRegister(ctx context.Context, body PostAuthRegisterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthRegisterWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthResetPassword(ctx context.Context, body PostAuthResetPasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthResetPasswordWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAuthTotpBegin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostAuthTotpConfirm(ctx context.Context, body PostAuthTotpConfirmJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAuthTotpConfirmWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostBillingCheckout(ctx context.Context, params *PostBillingCheckoutParams, ...) (*http.Response, error)
- func (c *Client) PostBillingCheckoutWithBody(ctx context.Context, params *PostBillingCheckoutParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PostBillingDebit(ctx context.Context, body PostBillingDebitJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostBillingDebitWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostFirewall(ctx context.Context, body PostFirewallJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostFirewallEvaluate(ctx context.Context, firewallSlug string, ...) (*http.Response, error)
- func (c *Client) PostFirewallEvaluateWithBody(ctx context.Context, firewallSlug string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostFirewallRule(ctx context.Context, body PostFirewallRuleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostFirewallRuleEvaluate(ctx context.Context, ruleSlug string, ...) (*http.Response, error)
- func (c *Client) PostFirewallRuleEvaluateWithBody(ctx context.Context, ruleSlug string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostFirewallRuleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostFirewallWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostInstancePreviewUpdate(ctx context.Context, instanceID string, ...) (*http.Response, error)
- func (c *Client) PostInstancePreviewUpdateWithBody(ctx context.Context, instanceID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostInstanceScheduleRule(ctx context.Context, instanceID string, ...) (*http.Response, error)
- func (c *Client) PostInstanceScheduleRuleWithBody(ctx context.Context, instanceID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostInstanceStart(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostInstanceStop(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostInstances(ctx context.Context, params *PostInstancesParams, ...) (*http.Response, error)
- func (c *Client) PostInstancesWithBody(ctx context.Context, params *PostInstancesParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PostInvitationsAccept(ctx context.Context, body PostInvitationsAcceptJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostInvitationsAcceptWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostReplicaSetScale(ctx context.Context, replicaSetID string, ...) (*http.Response, error)
- func (c *Client) PostReplicaSetScaleWithBody(ctx context.Context, replicaSetID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostRuntimeNotifyCrash(ctx context.Context, body PostRuntimeNotifyCrashJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostRuntimeNotifyCrashWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostServingEndpoint(ctx context.Context, body PostServingEndpointJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostServingEndpointWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostSmartBalancer(ctx context.Context, body PostSmartBalancerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostSmartBalancerWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostStorageVolumes(ctx context.Context, body PostStorageVolumesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostStorageVolumesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostTargetGroup(ctx context.Context, body PostTargetGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostTargetGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostUserAPIKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostUserAPIKeysKeyIDRevoke(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostV1AudioSpeech(ctx context.Context, body PostV1AudioSpeechJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1AudioSpeechWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1AudioTranscriptionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ChatCompletions(ctx context.Context, body PostV1ChatCompletionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1ChatCompletionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1Embeddings(ctx context.Context, body PostV1EmbeddingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1EmbeddingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ImageEditsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ImageGenerations(ctx context.Context, body PostV1ImageGenerationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1ImageGenerationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1Responses(ctx context.Context, body PostV1ResponsesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1ResponsesCompact(ctx context.Context, body PostV1ResponsesCompactJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1ResponsesCompactWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ResponsesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1VideoGenerationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseIndexDirect(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseIndexDirectWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseIndexJobs(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseIndexJobsWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseRecommend(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseRecommendWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseSearch(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseSearchWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseViewElement(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabaseViewElementWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabases(ctx context.Context, body PostVectorDatabasesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostVectorDatabasesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1ResponsesSessionsStatus(ctx context.Context, body PutV1ResponsesSessionsStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1ResponsesSessionsStatusWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteAccountsCurrentInvitationsByInvitationIDWithResponse(ctx context.Context, invitationID string, reqEditors ...RequestEditorFn) (*DeleteAccountsCurrentInvitationsByInvitationIDResponse, error)
- func (c *ClientWithResponses) DeleteAccountsCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountsCurrentResponse, error)
- func (c *ClientWithResponses) DeleteAuthPasskeysWithResponse(ctx context.Context, credentialID string, reqEditors ...RequestEditorFn) (*DeleteAuthPasskeysResponse, error)
- func (c *ClientWithResponses) DeleteAuthTotpWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAuthTotpResponse, error)
- func (c *ClientWithResponses) DeleteFirewallRuleWithResponse(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*DeleteFirewallRuleResponse, error)
- func (c *ClientWithResponses) DeleteFirewallWithResponse(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*DeleteFirewallResponse, error)
- func (c *ClientWithResponses) DeleteInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, ruleID string, ...) (*DeleteInstanceScheduleRuleResponse, error)
- func (c *ClientWithResponses) DeleteInstanceWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error)
- func (c *ClientWithResponses) DeleteReplicaSetWithResponse(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*DeleteReplicaSetResponse, error)
- func (c *ClientWithResponses) DeleteSmartBalancerWithResponse(ctx context.Context, smartBalancerID string, reqEditors ...RequestEditorFn) (*DeleteSmartBalancerResponse, error)
- func (c *ClientWithResponses) DeleteStorageVolumeWithResponse(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*DeleteStorageVolumeResponse, error)
- func (c *ClientWithResponses) DeleteTargetGroupWithResponse(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*DeleteTargetGroupResponse, error)
- func (c *ClientWithResponses) DeleteV1ResponsesSessionWithResponse(ctx context.Context, responseId string, params *DeleteV1ResponsesSessionParams, ...) (*DeleteV1ResponsesSessionResponse, error)
- func (c *ClientWithResponses) DeleteV1ResponsesSessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteV1ResponsesSessionsResponse, error)
- func (c *ClientWithResponses) DeleteVectorDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DeleteVectorDatabaseResponse, error)
- func (c *ClientWithResponses) GetAccountsCurrentMembersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsCurrentMembersResponse, error)
- func (c *ClientWithResponses) GetAccountsCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsCurrentResponse, error)
- func (c *ClientWithResponses) GetAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountsResponse, error)
- func (c *ClientWithResponses) GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)
- func (c *ClientWithResponses) GetAuthMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthMeResponse, error)
- func (c *ClientWithResponses) GetAuthPasskeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthPasskeysResponse, error)
- func (c *ClientWithResponses) GetAuthPreferencesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthPreferencesResponse, error)
- func (c *ClientWithResponses) GetAuthVerifyEmailWithResponse(ctx context.Context, params *GetAuthVerifyEmailParams, ...) (*GetAuthVerifyEmailResponse, error)
- func (c *ClientWithResponses) GetBillingBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingBalanceResponse, error)
- func (c *ClientWithResponses) GetBillingLedgerWithResponse(ctx context.Context, params *GetBillingLedgerParams, ...) (*GetBillingLedgerResponse, error)
- func (c *ClientWithResponses) GetBillingPaymentsPaymentIDInvoicePDFWithResponse(ctx context.Context, paymentID string, reqEditors ...RequestEditorFn) (*GetBillingPaymentsPaymentIDInvoicePDFResponse, error)
- func (c *ClientWithResponses) GetBillingPaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingPaymentsResponse, error)
- func (c *ClientWithResponses) GetFirewallRuleWithResponse(ctx context.Context, ruleSlug string, reqEditors ...RequestEditorFn) (*GetFirewallRuleResponse, error)
- func (c *ClientWithResponses) GetFirewallRulesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFirewallRulesResponse, error)
- func (c *ClientWithResponses) GetFirewallWithResponse(ctx context.Context, firewallSlug string, reqEditors ...RequestEditorFn) (*GetFirewallResponse, error)
- func (c *ClientWithResponses) GetFirewallsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFirewallsResponse, error)
- func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
- func (c *ClientWithResponses) GetHuggingfaceEmbeddingsWithResponse(ctx context.Context, params *GetHuggingfaceEmbeddingsParams, ...) (*GetHuggingfaceEmbeddingsResponse, error)
- func (c *ClientWithResponses) GetHuggingfaceFilesWithResponse(ctx context.Context, params *GetHuggingfaceFilesParams, ...) (*GetHuggingfaceFilesResponse, error)
- func (c *ClientWithResponses) GetHuggingfaceModelsWithResponse(ctx context.Context, params *GetHuggingfaceModelsParams, ...) (*GetHuggingfaceModelsResponse, error)
- func (c *ClientWithResponses) GetHuggingfaceOrgsWithResponse(ctx context.Context, org string, reqEditors ...RequestEditorFn) (*GetHuggingfaceOrgsResponse, error)
- func (c *ClientWithResponses) GetHuggingfaceSearchTagWithResponse(ctx context.Context, params *GetHuggingfaceSearchTagParams, ...) (*GetHuggingfaceSearchTagResponse, error)
- func (c *ClientWithResponses) GetHuggingfaceTrendingWithResponse(ctx context.Context, params *GetHuggingfaceTrendingParams, ...) (*GetHuggingfaceTrendingResponse, error)
- func (c *ClientWithResponses) GetInstanceByIDWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*GetInstanceByIDResponse, error)
- func (c *ClientWithResponses) GetInstanceConfigGpusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceConfigGpusResponse, error)
- func (c *ClientWithResponses) GetInstanceScheduleRulesWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*GetInstanceScheduleRulesResponse, error)
- func (c *ClientWithResponses) GetInstanceUsageWithResponse(ctx context.Context, instanceID string, params *GetInstanceUsageParams, ...) (*GetInstanceUsageResponse, error)
- func (c *ClientWithResponses) GetInstancesWithResponse(ctx context.Context, params *GetInstancesParams, reqEditors ...RequestEditorFn) (*GetInstancesResponse, error)
- func (c *ClientWithResponses) GetInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInvitationsResponse, error)
- func (c *ClientWithResponses) GetModelsFixedWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetModelsFixedResponse, error)
- func (c *ClientWithResponses) GetReplicaSetWithResponse(ctx context.Context, replicaSetID string, reqEditors ...RequestEditorFn) (*GetReplicaSetResponse, error)
- func (c *ClientWithResponses) GetReplicaSetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReplicaSetsResponse, error)
- func (c *ClientWithResponses) GetServingEndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetServingEndpointsResponse, error)
- func (c *ClientWithResponses) GetSmartBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSmartBalancersResponse, error)
- func (c *ClientWithResponses) GetStorageVolumeWithResponse(ctx context.Context, volumeID string, reqEditors ...RequestEditorFn) (*GetStorageVolumeResponse, error)
- func (c *ClientWithResponses) GetStorageVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStorageVolumesResponse, error)
- func (c *ClientWithResponses) GetSystemToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemToolsResponse, error)
- func (c *ClientWithResponses) GetTargetGroupWithResponse(ctx context.Context, targetGroupID string, reqEditors ...RequestEditorFn) (*GetTargetGroupResponse, error)
- func (c *ClientWithResponses) GetTargetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTargetGroupsResponse, error)
- func (c *ClientWithResponses) GetUserAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserAPIKeysResponse, error)
- func (c *ClientWithResponses) GetV1AudioVoicesWithResponse(ctx context.Context, params *GetV1AudioVoicesParams, ...) (*GetV1AudioVoicesResponse, error)
- func (c *ClientWithResponses) GetV1PublicModelPricesWithResponse(ctx context.Context, params *GetV1PublicModelPricesParams, ...) (*GetV1PublicModelPricesResponse, error)
- func (c *ClientWithResponses) GetV1PublicPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1PublicPricingResponse, error)
- func (c *ClientWithResponses) GetV1RealtimeWithResponse(ctx context.Context, params *GetV1RealtimeParams, ...) (*GetV1RealtimeResponse, error)
- func (c *ClientWithResponses) GetV1ResponsesSessionDetailWithResponse(ctx context.Context, responseId string, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionDetailResponse, error)
- func (c *ClientWithResponses) GetV1ResponsesSessionsListWithResponse(ctx context.Context, params *GetV1ResponsesSessionsListParams, ...) (*GetV1ResponsesSessionsListResponse, error)
- func (c *ClientWithResponses) GetV1ResponsesSessionsStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionsStatusResponse, error)
- func (c *ClientWithResponses) GetV1ResponsesWebSocketWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ResponsesWebSocketResponse, error)
- func (c *ClientWithResponses) GetV1TemplateBySlugWithResponse(ctx context.Context, slug string, params *GetV1TemplateBySlugParams, ...) (*GetV1TemplateBySlugResponse, error)
- func (c *ClientWithResponses) GetV1TemplateWithResponse(ctx context.Context, id string, params *GetV1TemplateParams, ...) (*GetV1TemplateResponse, error)
- func (c *ClientWithResponses) GetV1TemplatesWithResponse(ctx context.Context, params *GetV1TemplatesParams, ...) (*GetV1TemplatesResponse, error)
- func (c *ClientWithResponses) GetVectorDatabaseDocumentsWithResponse(ctx context.Context, databaseID string, ...) (*GetVectorDatabaseDocumentsResponse, error)
- func (c *ClientWithResponses) GetVectorDatabaseIndexJobWithResponse(ctx context.Context, databaseID string, jobID string, ...) (*GetVectorDatabaseIndexJobResponse, error)
- func (c *ClientWithResponses) GetVectorDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*GetVectorDatabaseResponse, error)
- func (c *ClientWithResponses) GetVectorDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVectorDatabasesResponse, error)
- func (c *ClientWithResponses) PatchAccountsCurrentFiscalProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchAccountsCurrentFiscalProfileResponse, error)
- func (c *ClientWithResponses) PatchAccountsCurrentFiscalProfileWithResponse(ctx context.Context, body PatchAccountsCurrentFiscalProfileJSONRequestBody, ...) (*PatchAccountsCurrentFiscalProfileResponse, error)
- func (c *ClientWithResponses) PatchAccountsCurrentMembersByUserIDWithBodyWithResponse(ctx context.Context, userID string, contentType string, body io.Reader, ...) (*PatchAccountsCurrentMembersByUserIDResponse, error)
- func (c *ClientWithResponses) PatchAccountsCurrentMembersByUserIDWithResponse(ctx context.Context, userID string, ...) (*PatchAccountsCurrentMembersByUserIDResponse, error)
- func (c *ClientWithResponses) PatchAccountsCurrentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchAccountsCurrentResponse, error)
- func (c *ClientWithResponses) PatchAccountsCurrentWithResponse(ctx context.Context, body PatchAccountsCurrentJSONRequestBody, ...) (*PatchAccountsCurrentResponse, error)
- func (c *ClientWithResponses) PatchAuthPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchAuthPasswordResponse, error)
- func (c *ClientWithResponses) PatchAuthPasswordWithResponse(ctx context.Context, body PatchAuthPasswordJSONRequestBody, ...) (*PatchAuthPasswordResponse, error)
- func (c *ClientWithResponses) PatchAuthPreferencesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchAuthPreferencesResponse, error)
- func (c *ClientWithResponses) PatchAuthPreferencesWithResponse(ctx context.Context, body PatchAuthPreferencesJSONRequestBody, ...) (*PatchAuthPreferencesResponse, error)
- func (c *ClientWithResponses) PatchFirewallRuleWithBodyWithResponse(ctx context.Context, ruleSlug string, contentType string, body io.Reader, ...) (*PatchFirewallRuleResponse, error)
- func (c *ClientWithResponses) PatchFirewallRuleWithResponse(ctx context.Context, ruleSlug string, body PatchFirewallRuleJSONRequestBody, ...) (*PatchFirewallRuleResponse, error)
- func (c *ClientWithResponses) PatchFirewallWithBodyWithResponse(ctx context.Context, firewallSlug string, contentType string, body io.Reader, ...) (*PatchFirewallResponse, error)
- func (c *ClientWithResponses) PatchFirewallWithResponse(ctx context.Context, firewallSlug string, body PatchFirewallJSONRequestBody, ...) (*PatchFirewallResponse, error)
- func (c *ClientWithResponses) PatchInstanceScheduleRuleWithBodyWithResponse(ctx context.Context, instanceID string, ruleID string, contentType string, ...) (*PatchInstanceScheduleRuleResponse, error)
- func (c *ClientWithResponses) PatchInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, ruleID string, ...) (*PatchInstanceScheduleRuleResponse, error)
- func (c *ClientWithResponses) PatchInstanceWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, ...) (*PatchInstanceResponse, error)
- func (c *ClientWithResponses) PatchInstanceWithResponse(ctx context.Context, instanceID string, body PatchInstanceJSONRequestBody, ...) (*PatchInstanceResponse, error)
- func (c *ClientWithResponses) PatchReplicaSetWithBodyWithResponse(ctx context.Context, replicaSetID string, contentType string, body io.Reader, ...) (*PatchReplicaSetResponse, error)
- func (c *ClientWithResponses) PatchReplicaSetWithResponse(ctx context.Context, replicaSetID string, body PatchReplicaSetJSONRequestBody, ...) (*PatchReplicaSetResponse, error)
- func (c *ClientWithResponses) PatchSmartBalancerWithBodyWithResponse(ctx context.Context, smartBalancerID string, contentType string, ...) (*PatchSmartBalancerResponse, error)
- func (c *ClientWithResponses) PatchSmartBalancerWithResponse(ctx context.Context, smartBalancerID string, ...) (*PatchSmartBalancerResponse, error)
- func (c *ClientWithResponses) PatchTargetGroupWithBodyWithResponse(ctx context.Context, targetGroupID string, contentType string, body io.Reader, ...) (*PatchTargetGroupResponse, error)
- func (c *ClientWithResponses) PatchTargetGroupWithResponse(ctx context.Context, targetGroupID string, ...) (*PatchTargetGroupResponse, error)
- func (c *ClientWithResponses) PatchVectorDatabaseWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*PatchVectorDatabaseResponse, error)
- func (c *ClientWithResponses) PatchVectorDatabaseWithResponse(ctx context.Context, databaseID string, ...) (*PatchVectorDatabaseResponse, error)
- func (c *ClientWithResponses) PostAccountsCurrentInvitationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAccountsCurrentInvitationsResponse, error)
- func (c *ClientWithResponses) PostAccountsCurrentInvitationsWithResponse(ctx context.Context, body PostAccountsCurrentInvitationsJSONRequestBody, ...) (*PostAccountsCurrentInvitationsResponse, error)
- func (c *ClientWithResponses) PostAccountsCurrentMembersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAccountsCurrentMembersResponse, error)
- func (c *ClientWithResponses) PostAccountsCurrentMembersWithResponse(ctx context.Context, body PostAccountsCurrentMembersJSONRequestBody, ...) (*PostAccountsCurrentMembersResponse, error)
- func (c *ClientWithResponses) PostAccountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAccountsResponse, error)
- func (c *ClientWithResponses) PostAccountsWithResponse(ctx context.Context, body PostAccountsJSONRequestBody, ...) (*PostAccountsResponse, error)
- func (c *ClientWithResponses) PostApiKeysKeyIDRevokeWithResponse(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*PostApiKeysKeyIDRevokeResponse, error)
- func (c *ClientWithResponses) PostApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)
- func (c *ClientWithResponses) PostAuthForgotPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthForgotPasswordResponse, error)
- func (c *ClientWithResponses) PostAuthForgotPasswordWithResponse(ctx context.Context, body PostAuthForgotPasswordJSONRequestBody, ...) (*PostAuthForgotPasswordResponse, error)
- func (c *ClientWithResponses) PostAuthLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthLoginResponse, error)
- func (c *ClientWithResponses) PostAuthLoginWithResponse(ctx context.Context, body PostAuthLoginJSONRequestBody, ...) (*PostAuthLoginResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysBeginLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthPasskeysBeginLoginResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysBeginLoginWithResponse(ctx context.Context, body PostAuthPasskeysBeginLoginJSONRequestBody, ...) (*PostAuthPasskeysBeginLoginResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysBeginRegistrationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthPasskeysBeginRegistrationResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysFinishLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthPasskeysFinishLoginResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysFinishLoginWithResponse(ctx context.Context, body PostAuthPasskeysFinishLoginJSONRequestBody, ...) (*PostAuthPasskeysFinishLoginResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysFinishRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthPasskeysFinishRegistrationResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysFinishRegistrationWithResponse(ctx context.Context, body PostAuthPasskeysFinishRegistrationJSONRequestBody, ...) (*PostAuthPasskeysFinishRegistrationResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthPasskeysResponse, error)
- func (c *ClientWithResponses) PostAuthPasskeysWithResponse(ctx context.Context, body PostAuthPasskeysJSONRequestBody, ...) (*PostAuthPasskeysResponse, error)
- func (c *ClientWithResponses) PostAuthRefreshWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthRefreshResponse, error)
- func (c *ClientWithResponses) PostAuthRefreshWithResponse(ctx context.Context, body PostAuthRefreshJSONRequestBody, ...) (*PostAuthRefreshResponse, error)
- func (c *ClientWithResponses) PostAuthRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthRegisterResponse, error)
- func (c *ClientWithResponses) PostAuthRegisterWithResponse(ctx context.Context, body PostAuthRegisterJSONRequestBody, ...) (*PostAuthRegisterResponse, error)
- func (c *ClientWithResponses) PostAuthResetPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthResetPasswordResponse, error)
- func (c *ClientWithResponses) PostAuthResetPasswordWithResponse(ctx context.Context, body PostAuthResetPasswordJSONRequestBody, ...) (*PostAuthResetPasswordResponse, error)
- func (c *ClientWithResponses) PostAuthTotpBeginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthTotpBeginResponse, error)
- func (c *ClientWithResponses) PostAuthTotpConfirmWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAuthTotpConfirmResponse, error)
- func (c *ClientWithResponses) PostAuthTotpConfirmWithResponse(ctx context.Context, body PostAuthTotpConfirmJSONRequestBody, ...) (*PostAuthTotpConfirmResponse, error)
- func (c *ClientWithResponses) PostBillingCheckoutWithBodyWithResponse(ctx context.Context, params *PostBillingCheckoutParams, contentType string, ...) (*PostBillingCheckoutResponse, error)
- func (c *ClientWithResponses) PostBillingCheckoutWithResponse(ctx context.Context, params *PostBillingCheckoutParams, ...) (*PostBillingCheckoutResponse, error)
- func (c *ClientWithResponses) PostBillingDebitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostBillingDebitResponse, error)
- func (c *ClientWithResponses) PostBillingDebitWithResponse(ctx context.Context, body PostBillingDebitJSONRequestBody, ...) (*PostBillingDebitResponse, error)
- func (c *ClientWithResponses) PostFirewallEvaluateWithBodyWithResponse(ctx context.Context, firewallSlug string, contentType string, body io.Reader, ...) (*PostFirewallEvaluateResponse, error)
- func (c *ClientWithResponses) PostFirewallEvaluateWithResponse(ctx context.Context, firewallSlug string, ...) (*PostFirewallEvaluateResponse, error)
- func (c *ClientWithResponses) PostFirewallRuleEvaluateWithBodyWithResponse(ctx context.Context, ruleSlug string, contentType string, body io.Reader, ...) (*PostFirewallRuleEvaluateResponse, error)
- func (c *ClientWithResponses) PostFirewallRuleEvaluateWithResponse(ctx context.Context, ruleSlug string, ...) (*PostFirewallRuleEvaluateResponse, error)
- func (c *ClientWithResponses) PostFirewallRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostFirewallRuleResponse, error)
- func (c *ClientWithResponses) PostFirewallRuleWithResponse(ctx context.Context, body PostFirewallRuleJSONRequestBody, ...) (*PostFirewallRuleResponse, error)
- func (c *ClientWithResponses) PostFirewallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostFirewallResponse, error)
- func (c *ClientWithResponses) PostFirewallWithResponse(ctx context.Context, body PostFirewallJSONRequestBody, ...) (*PostFirewallResponse, error)
- func (c *ClientWithResponses) PostInstancePreviewUpdateWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, ...) (*PostInstancePreviewUpdateResponse, error)
- func (c *ClientWithResponses) PostInstancePreviewUpdateWithResponse(ctx context.Context, instanceID string, ...) (*PostInstancePreviewUpdateResponse, error)
- func (c *ClientWithResponses) PostInstanceScheduleRuleWithBodyWithResponse(ctx context.Context, instanceID string, contentType string, body io.Reader, ...) (*PostInstanceScheduleRuleResponse, error)
- func (c *ClientWithResponses) PostInstanceScheduleRuleWithResponse(ctx context.Context, instanceID string, ...) (*PostInstanceScheduleRuleResponse, error)
- func (c *ClientWithResponses) PostInstanceStartWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*PostInstanceStartResponse, error)
- func (c *ClientWithResponses) PostInstanceStopWithResponse(ctx context.Context, instanceID string, reqEditors ...RequestEditorFn) (*PostInstanceStopResponse, error)
- func (c *ClientWithResponses) PostInstancesWithBodyWithResponse(ctx context.Context, params *PostInstancesParams, contentType string, ...) (*PostInstancesResponse, error)
- func (c *ClientWithResponses) PostInstancesWithResponse(ctx context.Context, params *PostInstancesParams, ...) (*PostInstancesResponse, error)
- func (c *ClientWithResponses) PostInvitationsAcceptWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostInvitationsAcceptResponse, error)
- func (c *ClientWithResponses) PostInvitationsAcceptWithResponse(ctx context.Context, body PostInvitationsAcceptJSONRequestBody, ...) (*PostInvitationsAcceptResponse, error)
- func (c *ClientWithResponses) PostReplicaSetScaleWithBodyWithResponse(ctx context.Context, replicaSetID string, contentType string, body io.Reader, ...) (*PostReplicaSetScaleResponse, error)
- func (c *ClientWithResponses) PostReplicaSetScaleWithResponse(ctx context.Context, replicaSetID string, ...) (*PostReplicaSetScaleResponse, error)
- func (c *ClientWithResponses) PostRuntimeNotifyCrashWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostRuntimeNotifyCrashResponse, error)
- func (c *ClientWithResponses) PostRuntimeNotifyCrashWithResponse(ctx context.Context, body PostRuntimeNotifyCrashJSONRequestBody, ...) (*PostRuntimeNotifyCrashResponse, error)
- func (c *ClientWithResponses) PostServingEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostServingEndpointResponse, error)
- func (c *ClientWithResponses) PostServingEndpointWithResponse(ctx context.Context, body PostServingEndpointJSONRequestBody, ...) (*PostServingEndpointResponse, error)
- func (c *ClientWithResponses) PostSmartBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostSmartBalancerResponse, error)
- func (c *ClientWithResponses) PostSmartBalancerWithResponse(ctx context.Context, body PostSmartBalancerJSONRequestBody, ...) (*PostSmartBalancerResponse, error)
- func (c *ClientWithResponses) PostStorageVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostStorageVolumesResponse, error)
- func (c *ClientWithResponses) PostStorageVolumesWithResponse(ctx context.Context, body PostStorageVolumesJSONRequestBody, ...) (*PostStorageVolumesResponse, error)
- func (c *ClientWithResponses) PostTargetGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostTargetGroupResponse, error)
- func (c *ClientWithResponses) PostTargetGroupWithResponse(ctx context.Context, body PostTargetGroupJSONRequestBody, ...) (*PostTargetGroupResponse, error)
- func (c *ClientWithResponses) PostUserAPIKeysKeyIDRevokeWithResponse(ctx context.Context, keyID string, reqEditors ...RequestEditorFn) (*PostUserAPIKeysKeyIDRevokeResponse, error)
- func (c *ClientWithResponses) PostUserAPIKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostUserAPIKeysResponse, error)
- func (c *ClientWithResponses) PostV1AudioSpeechWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1AudioSpeechResponse, error)
- func (c *ClientWithResponses) PostV1AudioSpeechWithResponse(ctx context.Context, body PostV1AudioSpeechJSONRequestBody, ...) (*PostV1AudioSpeechResponse, error)
- func (c *ClientWithResponses) PostV1AudioTranscriptionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1AudioTranscriptionsResponse, error)
- func (c *ClientWithResponses) PostV1ChatCompletionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1ChatCompletionsResponse, error)
- func (c *ClientWithResponses) PostV1ChatCompletionsWithResponse(ctx context.Context, body PostV1ChatCompletionsJSONRequestBody, ...) (*PostV1ChatCompletionsResponse, error)
- func (c *ClientWithResponses) PostV1EmbeddingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1EmbeddingsResponse, error)
- func (c *ClientWithResponses) PostV1EmbeddingsWithResponse(ctx context.Context, body PostV1EmbeddingsJSONRequestBody, ...) (*PostV1EmbeddingsResponse, error)
- func (c *ClientWithResponses) PostV1ImageEditsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1ImageEditsResponse, error)
- func (c *ClientWithResponses) PostV1ImageGenerationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1ImageGenerationsResponse, error)
- func (c *ClientWithResponses) PostV1ImageGenerationsWithResponse(ctx context.Context, body PostV1ImageGenerationsJSONRequestBody, ...) (*PostV1ImageGenerationsResponse, error)
- func (c *ClientWithResponses) PostV1ResponsesCompactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1ResponsesCompactResponse, error)
- func (c *ClientWithResponses) PostV1ResponsesCompactWithResponse(ctx context.Context, body PostV1ResponsesCompactJSONRequestBody, ...) (*PostV1ResponsesCompactResponse, error)
- func (c *ClientWithResponses) PostV1ResponsesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1ResponsesResponse, error)
- func (c *ClientWithResponses) PostV1ResponsesWithResponse(ctx context.Context, body PostV1ResponsesJSONRequestBody, ...) (*PostV1ResponsesResponse, error)
- func (c *ClientWithResponses) PostV1VideoGenerationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1VideoGenerationsResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseIndexDirectWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*PostVectorDatabaseIndexDirectResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseIndexDirectWithResponse(ctx context.Context, databaseID string, ...) (*PostVectorDatabaseIndexDirectResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseIndexJobsWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*PostVectorDatabaseIndexJobsResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseIndexJobsWithResponse(ctx context.Context, databaseID string, ...) (*PostVectorDatabaseIndexJobsResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseRecommendWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*PostVectorDatabaseRecommendResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseRecommendWithResponse(ctx context.Context, databaseID string, ...) (*PostVectorDatabaseRecommendResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseSearchWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*PostVectorDatabaseSearchResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseSearchWithResponse(ctx context.Context, databaseID string, ...) (*PostVectorDatabaseSearchResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseViewElementWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*PostVectorDatabaseViewElementResponse, error)
- func (c *ClientWithResponses) PostVectorDatabaseViewElementWithResponse(ctx context.Context, databaseID string, ...) (*PostVectorDatabaseViewElementResponse, error)
- func (c *ClientWithResponses) PostVectorDatabasesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostVectorDatabasesResponse, error)
- func (c *ClientWithResponses) PostVectorDatabasesWithResponse(ctx context.Context, body PostVectorDatabasesJSONRequestBody, ...) (*PostVectorDatabasesResponse, error)
- func (c *ClientWithResponses) PutV1ResponsesSessionsStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutV1ResponsesSessionsStatusResponse, error)
- func (c *ClientWithResponses) PutV1ResponsesSessionsStatusWithResponse(ctx context.Context, body PutV1ResponsesSessionsStatusJSONRequestBody, ...) (*PutV1ResponsesSessionsStatusResponse, error)
- type ClientWithResponsesInterface
- type ConfirmTotpEnrollmentRequest
- type CreateAccountRequest
- type CreateCheckoutSessionRequest
- type CreateFirewallRequest
- type CreateFirewallRuleRequest
- type CreateInstanceRequest
- type CreateInvitationRequest
- type CreateServingEndpointRequest
- type CreateSmartBalancerRequest
- type CreateStorageVolumeRequest
- type CreateTargetGroupRequest
- type CreateVectorDatabaseRequest
- type DebitBalanceRequest
- type DebitBalanceResponse
- type DeleteAccountsCurrentInvitationsByInvitationIDResponse
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) ContentType() string
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetBody() []byte
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON400() *ErrorResponse
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON401() *string
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON403() *ErrorResponse
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON404() *ErrorResponse
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON500() *ErrorResponse
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) Status() string
- func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) StatusCode() int
- type DeleteAccountsCurrentResponse
- func (r DeleteAccountsCurrentResponse) ContentType() string
- func (r DeleteAccountsCurrentResponse) GetBody() []byte
- func (r DeleteAccountsCurrentResponse) GetJSON401() *string
- func (r DeleteAccountsCurrentResponse) GetJSON403() *ErrorResponse
- func (r DeleteAccountsCurrentResponse) GetJSON404() *ErrorResponse
- func (r DeleteAccountsCurrentResponse) GetJSON500() *ErrorResponse
- func (r DeleteAccountsCurrentResponse) Status() string
- func (r DeleteAccountsCurrentResponse) StatusCode() int
- type DeleteAuthPasskeysResponse
- func (r DeleteAuthPasskeysResponse) ContentType() string
- func (r DeleteAuthPasskeysResponse) GetBody() []byte
- func (r DeleteAuthPasskeysResponse) GetJSON204() *string
- func (r DeleteAuthPasskeysResponse) GetJSON401() *ErrorResponse
- func (r DeleteAuthPasskeysResponse) GetJSON404() *ErrorResponse
- func (r DeleteAuthPasskeysResponse) GetJSON500() *ErrorResponse
- func (r DeleteAuthPasskeysResponse) Status() string
- func (r DeleteAuthPasskeysResponse) StatusCode() int
- type DeleteAuthTotpResponse
- func (r DeleteAuthTotpResponse) ContentType() string
- func (r DeleteAuthTotpResponse) GetBody() []byte
- func (r DeleteAuthTotpResponse) GetJSON204() *string
- func (r DeleteAuthTotpResponse) GetJSON401() *ErrorResponse
- func (r DeleteAuthTotpResponse) GetJSON404() *ErrorResponse
- func (r DeleteAuthTotpResponse) GetJSON500() *ErrorResponse
- func (r DeleteAuthTotpResponse) Status() string
- func (r DeleteAuthTotpResponse) StatusCode() int
- type DeleteFirewallResponse
- func (r DeleteFirewallResponse) ContentType() string
- func (r DeleteFirewallResponse) GetBody() []byte
- func (r DeleteFirewallResponse) GetJSON200() *map[string]bool
- func (r DeleteFirewallResponse) GetJSON400() *ErrorResponse
- func (r DeleteFirewallResponse) GetJSON401() *ErrorResponse
- func (r DeleteFirewallResponse) GetJSON404() *ErrorResponse
- func (r DeleteFirewallResponse) GetJSON500() *ErrorResponse
- func (r DeleteFirewallResponse) Status() string
- func (r DeleteFirewallResponse) StatusCode() int
- type DeleteFirewallRuleResponse
- func (r DeleteFirewallRuleResponse) ContentType() string
- func (r DeleteFirewallRuleResponse) GetBody() []byte
- func (r DeleteFirewallRuleResponse) GetJSON200() *map[string]bool
- func (r DeleteFirewallRuleResponse) GetJSON400() *ErrorResponse
- func (r DeleteFirewallRuleResponse) GetJSON401() *ErrorResponse
- func (r DeleteFirewallRuleResponse) GetJSON404() *ErrorResponse
- func (r DeleteFirewallRuleResponse) GetJSON500() *ErrorResponse
- func (r DeleteFirewallRuleResponse) Status() string
- func (r DeleteFirewallRuleResponse) StatusCode() int
- type DeleteInstanceResponse
- func (r DeleteInstanceResponse) ContentType() string
- func (r DeleteInstanceResponse) GetBody() []byte
- func (r DeleteInstanceResponse) GetJSON400() *ErrorResponse
- func (r DeleteInstanceResponse) GetJSON401() *string
- func (r DeleteInstanceResponse) GetJSON403() *ErrorResponse
- func (r DeleteInstanceResponse) GetJSON404() *ErrorResponse
- func (r DeleteInstanceResponse) GetJSON500() *ErrorResponse
- func (r DeleteInstanceResponse) Status() string
- func (r DeleteInstanceResponse) StatusCode() int
- type DeleteInstanceScheduleRuleResponse
- func (r DeleteInstanceScheduleRuleResponse) ContentType() string
- func (r DeleteInstanceScheduleRuleResponse) GetBody() []byte
- func (r DeleteInstanceScheduleRuleResponse) GetJSON400() *ErrorResponse
- func (r DeleteInstanceScheduleRuleResponse) GetJSON401() *string
- func (r DeleteInstanceScheduleRuleResponse) GetJSON403() *ErrorResponse
- func (r DeleteInstanceScheduleRuleResponse) GetJSON404() *ErrorResponse
- func (r DeleteInstanceScheduleRuleResponse) GetJSON500() *ErrorResponse
- func (r DeleteInstanceScheduleRuleResponse) Status() string
- func (r DeleteInstanceScheduleRuleResponse) StatusCode() int
- type DeleteReplicaSetResponse
- func (r DeleteReplicaSetResponse) ContentType() string
- func (r DeleteReplicaSetResponse) GetBody() []byte
- func (r DeleteReplicaSetResponse) GetJSON400() *ErrorResponse
- func (r DeleteReplicaSetResponse) GetJSON401() *string
- func (r DeleteReplicaSetResponse) GetJSON403() *ErrorResponse
- func (r DeleteReplicaSetResponse) GetJSON404() *ErrorResponse
- func (r DeleteReplicaSetResponse) GetJSON500() *ErrorResponse
- func (r DeleteReplicaSetResponse) Status() string
- func (r DeleteReplicaSetResponse) StatusCode() int
- type DeleteSmartBalancerResponse
- func (r DeleteSmartBalancerResponse) ContentType() string
- func (r DeleteSmartBalancerResponse) GetBody() []byte
- func (r DeleteSmartBalancerResponse) GetJSON400() *ErrorResponse
- func (r DeleteSmartBalancerResponse) GetJSON401() *string
- func (r DeleteSmartBalancerResponse) GetJSON403() *ErrorResponse
- func (r DeleteSmartBalancerResponse) GetJSON404() *ErrorResponse
- func (r DeleteSmartBalancerResponse) GetJSON500() *ErrorResponse
- func (r DeleteSmartBalancerResponse) Status() string
- func (r DeleteSmartBalancerResponse) StatusCode() int
- type DeleteStorageVolumeResponse
- func (r DeleteStorageVolumeResponse) ContentType() string
- func (r DeleteStorageVolumeResponse) GetBody() []byte
- func (r DeleteStorageVolumeResponse) GetJSON400() *ErrorResponse
- func (r DeleteStorageVolumeResponse) GetJSON401() *ErrorResponse
- func (r DeleteStorageVolumeResponse) Status() string
- func (r DeleteStorageVolumeResponse) StatusCode() int
- type DeleteTargetGroupResponse
- func (r DeleteTargetGroupResponse) ContentType() string
- func (r DeleteTargetGroupResponse) GetBody() []byte
- func (r DeleteTargetGroupResponse) GetJSON400() *ErrorResponse
- func (r DeleteTargetGroupResponse) GetJSON401() *string
- func (r DeleteTargetGroupResponse) GetJSON403() *ErrorResponse
- func (r DeleteTargetGroupResponse) GetJSON404() *ErrorResponse
- func (r DeleteTargetGroupResponse) GetJSON500() *ErrorResponse
- func (r DeleteTargetGroupResponse) Status() string
- func (r DeleteTargetGroupResponse) StatusCode() int
- type DeleteV1ResponsesSessionParams
- type DeleteV1ResponsesSessionResponse
- func (r DeleteV1ResponsesSessionResponse) ContentType() string
- func (r DeleteV1ResponsesSessionResponse) GetBody() []byte
- func (r DeleteV1ResponsesSessionResponse) GetJSON200() *map[string]interface{}
- func (r DeleteV1ResponsesSessionResponse) GetJSON401() *ErrorResponse
- func (r DeleteV1ResponsesSessionResponse) GetJSON403() *ErrorResponse
- func (r DeleteV1ResponsesSessionResponse) GetJSON404() *ErrorResponse
- func (r DeleteV1ResponsesSessionResponse) GetJSON502() *ErrorResponse
- func (r DeleteV1ResponsesSessionResponse) Status() string
- func (r DeleteV1ResponsesSessionResponse) StatusCode() int
- type DeleteV1ResponsesSessionsResponse
- func (r DeleteV1ResponsesSessionsResponse) ContentType() string
- func (r DeleteV1ResponsesSessionsResponse) GetBody() []byte
- func (r DeleteV1ResponsesSessionsResponse) GetJSON200() *map[string]interface{}
- func (r DeleteV1ResponsesSessionsResponse) GetJSON401() *ErrorResponse
- func (r DeleteV1ResponsesSessionsResponse) GetJSON403() *ErrorResponse
- func (r DeleteV1ResponsesSessionsResponse) GetJSON502() *ErrorResponse
- func (r DeleteV1ResponsesSessionsResponse) Status() string
- func (r DeleteV1ResponsesSessionsResponse) StatusCode() int
- type DeleteVectorDatabaseResponse
- func (r DeleteVectorDatabaseResponse) ContentType() string
- func (r DeleteVectorDatabaseResponse) GetBody() []byte
- func (r DeleteVectorDatabaseResponse) GetJSON200() *map[string]bool
- func (r DeleteVectorDatabaseResponse) GetJSON400() *ErrorResponse
- func (r DeleteVectorDatabaseResponse) GetJSON401() *ErrorResponse
- func (r DeleteVectorDatabaseResponse) GetJSON404() *ErrorResponse
- func (r DeleteVectorDatabaseResponse) GetJSON500() *ErrorResponse
- func (r DeleteVectorDatabaseResponse) Status() string
- func (r DeleteVectorDatabaseResponse) StatusCode() int
- type EmbeddingsRequestEnvelope
- type ErrorResponse
- type FinishPasskeyRegistrationRequest
- type FinishPasskeyloginRequest
- type FinishPasskeyloginResponse
- type FirewallEvaluationRequest
- type FirewallEvaluationResponse
- type FirewallResponse
- type FirewallRuleEvaluationRequest
- type FirewallRuleResponse
- type ForgotPasswordRequest
- type ForgotPasswordResponse
- type GetAccountsCurrentMembersResponse
- func (r GetAccountsCurrentMembersResponse) ContentType() string
- func (r GetAccountsCurrentMembersResponse) GetBody() []byte
- func (r GetAccountsCurrentMembersResponse) GetJSON200() *AccountMemberListResponse
- func (r GetAccountsCurrentMembersResponse) GetJSON401() *string
- func (r GetAccountsCurrentMembersResponse) GetJSON403() *ErrorResponse
- func (r GetAccountsCurrentMembersResponse) GetJSON500() *ErrorResponse
- func (r GetAccountsCurrentMembersResponse) Status() string
- func (r GetAccountsCurrentMembersResponse) StatusCode() int
- type GetAccountsCurrentResponse
- func (r GetAccountsCurrentResponse) ContentType() string
- func (r GetAccountsCurrentResponse) GetBody() []byte
- func (r GetAccountsCurrentResponse) GetJSON200() *AccountResponse
- func (r GetAccountsCurrentResponse) GetJSON401() *string
- func (r GetAccountsCurrentResponse) GetJSON403() *ErrorResponse
- func (r GetAccountsCurrentResponse) GetJSON404() *ErrorResponse
- func (r GetAccountsCurrentResponse) GetJSON500() *ErrorResponse
- func (r GetAccountsCurrentResponse) Status() string
- func (r GetAccountsCurrentResponse) StatusCode() int
- type GetAccountsResponse
- func (r GetAccountsResponse) ContentType() string
- func (r GetAccountsResponse) GetBody() []byte
- func (r GetAccountsResponse) GetJSON200() *AccountListResponse
- func (r GetAccountsResponse) GetJSON401() *string
- func (r GetAccountsResponse) GetJSON500() *ErrorResponse
- func (r GetAccountsResponse) Status() string
- func (r GetAccountsResponse) StatusCode() int
- type GetApiKeysResponse
- func (r GetApiKeysResponse) ContentType() string
- func (r GetApiKeysResponse) GetBody() []byte
- func (r GetApiKeysResponse) GetJSON200() *ApiKeyListResponse
- func (r GetApiKeysResponse) GetJSON401() *string
- func (r GetApiKeysResponse) GetJSON403() *ErrorResponse
- func (r GetApiKeysResponse) GetJSON500() *ErrorResponse
- func (r GetApiKeysResponse) Status() string
- func (r GetApiKeysResponse) StatusCode() int
- type GetAuthMeResponse
- type GetAuthPasskeysResponse
- func (r GetAuthPasskeysResponse) ContentType() string
- func (r GetAuthPasskeysResponse) GetBody() []byte
- func (r GetAuthPasskeysResponse) GetJSON200() *PasskeyListResponse
- func (r GetAuthPasskeysResponse) GetJSON401() *ErrorResponse
- func (r GetAuthPasskeysResponse) GetJSON500() *ErrorResponse
- func (r GetAuthPasskeysResponse) Status() string
- func (r GetAuthPasskeysResponse) StatusCode() int
- type GetAuthPreferencesResponse
- func (r GetAuthPreferencesResponse) ContentType() string
- func (r GetAuthPreferencesResponse) GetBody() []byte
- func (r GetAuthPreferencesResponse) GetJSON200() *UserPreferencesResponse
- func (r GetAuthPreferencesResponse) GetJSON401() *ErrorResponse
- func (r GetAuthPreferencesResponse) GetJSON500() *ErrorResponse
- func (r GetAuthPreferencesResponse) Status() string
- func (r GetAuthPreferencesResponse) StatusCode() int
- type GetAuthVerifyEmailParams
- type GetAuthVerifyEmailResponse
- func (r GetAuthVerifyEmailResponse) ContentType() string
- func (r GetAuthVerifyEmailResponse) GetBody() []byte
- func (r GetAuthVerifyEmailResponse) GetJSON200() *VerifyEmailResponse
- func (r GetAuthVerifyEmailResponse) GetJSON400() *ErrorResponse
- func (r GetAuthVerifyEmailResponse) GetJSON403() *ErrorResponse
- func (r GetAuthVerifyEmailResponse) GetJSON404() *ErrorResponse
- func (r GetAuthVerifyEmailResponse) GetJSON500() *ErrorResponse
- func (r GetAuthVerifyEmailResponse) Status() string
- func (r GetAuthVerifyEmailResponse) StatusCode() int
- type GetBillingBalanceResponse
- func (r GetBillingBalanceResponse) ContentType() string
- func (r GetBillingBalanceResponse) GetBody() []byte
- func (r GetBillingBalanceResponse) GetJSON200() *AccountBalanceResponse
- func (r GetBillingBalanceResponse) GetJSON401() *string
- func (r GetBillingBalanceResponse) GetJSON500() *ErrorResponse
- func (r GetBillingBalanceResponse) Status() string
- func (r GetBillingBalanceResponse) StatusCode() int
- type GetBillingLedgerParams
- type GetBillingLedgerResponse
- func (r GetBillingLedgerResponse) ContentType() string
- func (r GetBillingLedgerResponse) GetBody() []byte
- func (r GetBillingLedgerResponse) GetJSON200() *LedgerHistoryResponse
- func (r GetBillingLedgerResponse) GetJSON400() *ErrorResponse
- func (r GetBillingLedgerResponse) GetJSON401() *string
- func (r GetBillingLedgerResponse) GetJSON500() *ErrorResponse
- func (r GetBillingLedgerResponse) Status() string
- func (r GetBillingLedgerResponse) StatusCode() int
- type GetBillingPaymentsPaymentIDInvoicePDFResponse
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) ContentType() string
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetBody() []byte
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON400() *ErrorResponse
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON401() *string
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON404() *ErrorResponse
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON500() *ErrorResponse
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) Status() string
- func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) StatusCode() int
- type GetBillingPaymentsResponse
- func (r GetBillingPaymentsResponse) ContentType() string
- func (r GetBillingPaymentsResponse) GetBody() []byte
- func (r GetBillingPaymentsResponse) GetJSON200() *PaymentsResponse
- func (r GetBillingPaymentsResponse) GetJSON401() *string
- func (r GetBillingPaymentsResponse) GetJSON500() *ErrorResponse
- func (r GetBillingPaymentsResponse) Status() string
- func (r GetBillingPaymentsResponse) StatusCode() int
- type GetFirewallResponse
- func (r GetFirewallResponse) ContentType() string
- func (r GetFirewallResponse) GetBody() []byte
- func (r GetFirewallResponse) GetJSON200() *FirewallResponse
- func (r GetFirewallResponse) GetJSON400() *ErrorResponse
- func (r GetFirewallResponse) GetJSON401() *ErrorResponse
- func (r GetFirewallResponse) GetJSON404() *ErrorResponse
- func (r GetFirewallResponse) GetJSON500() *ErrorResponse
- func (r GetFirewallResponse) Status() string
- func (r GetFirewallResponse) StatusCode() int
- type GetFirewallRuleResponse
- func (r GetFirewallRuleResponse) ContentType() string
- func (r GetFirewallRuleResponse) GetBody() []byte
- func (r GetFirewallRuleResponse) GetJSON200() *FirewallRuleResponse
- func (r GetFirewallRuleResponse) GetJSON400() *ErrorResponse
- func (r GetFirewallRuleResponse) GetJSON401() *ErrorResponse
- func (r GetFirewallRuleResponse) GetJSON404() *ErrorResponse
- func (r GetFirewallRuleResponse) GetJSON500() *ErrorResponse
- func (r GetFirewallRuleResponse) Status() string
- func (r GetFirewallRuleResponse) StatusCode() int
- type GetFirewallRulesResponse
- func (r GetFirewallRulesResponse) ContentType() string
- func (r GetFirewallRulesResponse) GetBody() []byte
- func (r GetFirewallRulesResponse) GetJSON200() *[]FirewallRuleResponse
- func (r GetFirewallRulesResponse) GetJSON401() *ErrorResponse
- func (r GetFirewallRulesResponse) GetJSON500() *ErrorResponse
- func (r GetFirewallRulesResponse) Status() string
- func (r GetFirewallRulesResponse) StatusCode() int
- type GetFirewallsResponse
- func (r GetFirewallsResponse) ContentType() string
- func (r GetFirewallsResponse) GetBody() []byte
- func (r GetFirewallsResponse) GetJSON200() *[]FirewallResponse
- func (r GetFirewallsResponse) GetJSON401() *ErrorResponse
- func (r GetFirewallsResponse) GetJSON500() *ErrorResponse
- func (r GetFirewallsResponse) Status() string
- func (r GetFirewallsResponse) StatusCode() int
- type GetHealthResponse
- type GetHuggingfaceEmbeddingsParams
- type GetHuggingfaceEmbeddingsResponse
- func (r GetHuggingfaceEmbeddingsResponse) ContentType() string
- func (r GetHuggingfaceEmbeddingsResponse) GetBody() []byte
- func (r GetHuggingfaceEmbeddingsResponse) GetJSON200() *HuggingFaceModelsResponse
- func (r GetHuggingfaceEmbeddingsResponse) GetJSON401() *ErrorResponse
- func (r GetHuggingfaceEmbeddingsResponse) Status() string
- func (r GetHuggingfaceEmbeddingsResponse) StatusCode() int
- type GetHuggingfaceFilesParams
- type GetHuggingfaceFilesResponse
- func (r GetHuggingfaceFilesResponse) ContentType() string
- func (r GetHuggingfaceFilesResponse) GetBody() []byte
- func (r GetHuggingfaceFilesResponse) GetJSON200() *HuggingFaceGGUFFileResponse
- func (r GetHuggingfaceFilesResponse) GetJSON400() *ErrorResponse
- func (r GetHuggingfaceFilesResponse) GetJSON401() *ErrorResponse
- func (r GetHuggingfaceFilesResponse) Status() string
- func (r GetHuggingfaceFilesResponse) StatusCode() int
- type GetHuggingfaceModelsParams
- type GetHuggingfaceModelsResponse
- func (r GetHuggingfaceModelsResponse) ContentType() string
- func (r GetHuggingfaceModelsResponse) GetBody() []byte
- func (r GetHuggingfaceModelsResponse) GetJSON200() *HuggingFaceModelsResponse
- func (r GetHuggingfaceModelsResponse) GetJSON401() *ErrorResponse
- func (r GetHuggingfaceModelsResponse) Status() string
- func (r GetHuggingfaceModelsResponse) StatusCode() int
- type GetHuggingfaceOrgsResponse
- func (r GetHuggingfaceOrgsResponse) ContentType() string
- func (r GetHuggingfaceOrgsResponse) GetBody() []byte
- func (r GetHuggingfaceOrgsResponse) GetJSON200() *HuggingFaceOrgInfoResponse
- func (r GetHuggingfaceOrgsResponse) GetJSON400() *ErrorResponse
- func (r GetHuggingfaceOrgsResponse) GetJSON401() *ErrorResponse
- func (r GetHuggingfaceOrgsResponse) Status() string
- func (r GetHuggingfaceOrgsResponse) StatusCode() int
- type GetHuggingfaceSearchTagParams
- type GetHuggingfaceSearchTagResponse
- func (r GetHuggingfaceSearchTagResponse) ContentType() string
- func (r GetHuggingfaceSearchTagResponse) GetBody() []byte
- func (r GetHuggingfaceSearchTagResponse) GetJSON200() *HuggingFaceModelsResponse
- func (r GetHuggingfaceSearchTagResponse) GetJSON400() *ErrorResponse
- func (r GetHuggingfaceSearchTagResponse) GetJSON401() *ErrorResponse
- func (r GetHuggingfaceSearchTagResponse) Status() string
- func (r GetHuggingfaceSearchTagResponse) StatusCode() int
- type GetHuggingfaceTrendingParams
- type GetHuggingfaceTrendingResponse
- func (r GetHuggingfaceTrendingResponse) ContentType() string
- func (r GetHuggingfaceTrendingResponse) GetBody() []byte
- func (r GetHuggingfaceTrendingResponse) GetJSON200() *HuggingFaceModelsResponse
- func (r GetHuggingfaceTrendingResponse) GetJSON401() *ErrorResponse
- func (r GetHuggingfaceTrendingResponse) Status() string
- func (r GetHuggingfaceTrendingResponse) StatusCode() int
- type GetInstanceByIDResponse
- func (r GetInstanceByIDResponse) ContentType() string
- func (r GetInstanceByIDResponse) GetBody() []byte
- func (r GetInstanceByIDResponse) GetJSON200() *InstanceResponse
- func (r GetInstanceByIDResponse) GetJSON401() *string
- func (r GetInstanceByIDResponse) GetJSON403() *ErrorResponse
- func (r GetInstanceByIDResponse) GetJSON404() *ErrorResponse
- func (r GetInstanceByIDResponse) GetJSON500() *ErrorResponse
- func (r GetInstanceByIDResponse) Status() string
- func (r GetInstanceByIDResponse) StatusCode() int
- type GetInstanceConfigGpusResponse
- func (r GetInstanceConfigGpusResponse) ContentType() string
- func (r GetInstanceConfigGpusResponse) GetBody() []byte
- func (r GetInstanceConfigGpusResponse) GetJSON200() *GpuListResponse
- func (r GetInstanceConfigGpusResponse) GetJSON401() *ErrorResponse
- func (r GetInstanceConfigGpusResponse) GetJSON502() *ErrorResponse
- func (r GetInstanceConfigGpusResponse) Status() string
- func (r GetInstanceConfigGpusResponse) StatusCode() int
- type GetInstanceScheduleRulesResponse
- func (r GetInstanceScheduleRulesResponse) ContentType() string
- func (r GetInstanceScheduleRulesResponse) GetBody() []byte
- func (r GetInstanceScheduleRulesResponse) GetJSON200() *ScheduleRuleListResponse
- func (r GetInstanceScheduleRulesResponse) GetJSON400() *ErrorResponse
- func (r GetInstanceScheduleRulesResponse) GetJSON401() *string
- func (r GetInstanceScheduleRulesResponse) GetJSON403() *ErrorResponse
- func (r GetInstanceScheduleRulesResponse) GetJSON404() *ErrorResponse
- func (r GetInstanceScheduleRulesResponse) GetJSON500() *ErrorResponse
- func (r GetInstanceScheduleRulesResponse) Status() string
- func (r GetInstanceScheduleRulesResponse) StatusCode() int
- type GetInstanceUsageParams
- type GetInstanceUsageParamsRange
- type GetInstanceUsageResponse
- func (r GetInstanceUsageResponse) ContentType() string
- func (r GetInstanceUsageResponse) GetBody() []byte
- func (r GetInstanceUsageResponse) GetJSON200() *InstanceUsageResponse
- func (r GetInstanceUsageResponse) GetJSON400() *ErrorResponse
- func (r GetInstanceUsageResponse) GetJSON401() *string
- func (r GetInstanceUsageResponse) GetJSON403() *ErrorResponse
- func (r GetInstanceUsageResponse) GetJSON404() *ErrorResponse
- func (r GetInstanceUsageResponse) GetJSON500() *ErrorResponse
- func (r GetInstanceUsageResponse) Status() string
- func (r GetInstanceUsageResponse) StatusCode() int
- type GetInstancesParams
- type GetInstancesResponse
- func (r GetInstancesResponse) ContentType() string
- func (r GetInstancesResponse) GetBody() []byte
- func (r GetInstancesResponse) GetJSON200() *InstanceListResponse
- func (r GetInstancesResponse) GetJSON400() *ErrorResponse
- func (r GetInstancesResponse) GetJSON401() *string
- func (r GetInstancesResponse) GetJSON500() *ErrorResponse
- func (r GetInstancesResponse) Status() string
- func (r GetInstancesResponse) StatusCode() int
- type GetInvitationsResponse
- func (r GetInvitationsResponse) ContentType() string
- func (r GetInvitationsResponse) GetBody() []byte
- func (r GetInvitationsResponse) GetJSON200() *InvitationListResponse
- func (r GetInvitationsResponse) GetJSON401() *string
- func (r GetInvitationsResponse) GetJSON500() *ErrorResponse
- func (r GetInvitationsResponse) Status() string
- func (r GetInvitationsResponse) StatusCode() int
- type GetModelsFixedResponse
- func (r GetModelsFixedResponse) ContentType() string
- func (r GetModelsFixedResponse) GetBody() []byte
- func (r GetModelsFixedResponse) GetJSON200() *HuggingFaceModelsResponse
- func (r GetModelsFixedResponse) GetJSON401() *ErrorResponse
- func (r GetModelsFixedResponse) Status() string
- func (r GetModelsFixedResponse) StatusCode() int
- type GetReplicaSetResponse
- func (r GetReplicaSetResponse) ContentType() string
- func (r GetReplicaSetResponse) GetBody() []byte
- func (r GetReplicaSetResponse) GetJSON200() *ReplicaSetResponse
- func (r GetReplicaSetResponse) GetJSON400() *ErrorResponse
- func (r GetReplicaSetResponse) GetJSON401() *string
- func (r GetReplicaSetResponse) GetJSON403() *ErrorResponse
- func (r GetReplicaSetResponse) GetJSON404() *ErrorResponse
- func (r GetReplicaSetResponse) GetJSON500() *ErrorResponse
- func (r GetReplicaSetResponse) Status() string
- func (r GetReplicaSetResponse) StatusCode() int
- type GetReplicaSetsResponse
- func (r GetReplicaSetsResponse) ContentType() string
- func (r GetReplicaSetsResponse) GetBody() []byte
- func (r GetReplicaSetsResponse) GetJSON200() *ReplicaSetListResponse
- func (r GetReplicaSetsResponse) GetJSON401() *string
- func (r GetReplicaSetsResponse) GetJSON500() *ErrorResponse
- func (r GetReplicaSetsResponse) Status() string
- func (r GetReplicaSetsResponse) StatusCode() int
- type GetServingEndpointsResponse
- func (r GetServingEndpointsResponse) ContentType() string
- func (r GetServingEndpointsResponse) GetBody() []byte
- func (r GetServingEndpointsResponse) GetJSON200() *map[string][]ServingEndpointResponse
- func (r GetServingEndpointsResponse) GetJSON401() *string
- func (r GetServingEndpointsResponse) GetJSON500() *ErrorResponse
- func (r GetServingEndpointsResponse) Status() string
- func (r GetServingEndpointsResponse) StatusCode() int
- type GetSmartBalancersResponse
- func (r GetSmartBalancersResponse) ContentType() string
- func (r GetSmartBalancersResponse) GetBody() []byte
- func (r GetSmartBalancersResponse) GetJSON200() *map[string][]SmartBalancerViewResponse
- func (r GetSmartBalancersResponse) GetJSON401() *string
- func (r GetSmartBalancersResponse) GetJSON500() *ErrorResponse
- func (r GetSmartBalancersResponse) Status() string
- func (r GetSmartBalancersResponse) StatusCode() int
- type GetStorageVolumeResponse
- func (r GetStorageVolumeResponse) ContentType() string
- func (r GetStorageVolumeResponse) GetBody() []byte
- func (r GetStorageVolumeResponse) GetJSON200() *StorageVolumeResponse
- func (r GetStorageVolumeResponse) GetJSON400() *ErrorResponse
- func (r GetStorageVolumeResponse) GetJSON401() *ErrorResponse
- func (r GetStorageVolumeResponse) Status() string
- func (r GetStorageVolumeResponse) StatusCode() int
- type GetStorageVolumesResponse
- func (r GetStorageVolumesResponse) ContentType() string
- func (r GetStorageVolumesResponse) GetBody() []byte
- func (r GetStorageVolumesResponse) GetJSON200() *StorageVolumeResponse
- func (r GetStorageVolumesResponse) GetJSON401() *ErrorResponse
- func (r GetStorageVolumesResponse) Status() string
- func (r GetStorageVolumesResponse) StatusCode() int
- type GetSystemToolsResponse
- func (r GetSystemToolsResponse) ContentType() string
- func (r GetSystemToolsResponse) GetBody() []byte
- func (r GetSystemToolsResponse) GetJSON200() *SystemToolOutput
- func (r GetSystemToolsResponse) GetJSON401() *ErrorResponse
- func (r GetSystemToolsResponse) Status() string
- func (r GetSystemToolsResponse) StatusCode() int
- type GetTargetGroupResponse
- func (r GetTargetGroupResponse) ContentType() string
- func (r GetTargetGroupResponse) GetBody() []byte
- func (r GetTargetGroupResponse) GetJSON200() *TargetGroupResponse
- func (r GetTargetGroupResponse) GetJSON400() *ErrorResponse
- func (r GetTargetGroupResponse) GetJSON401() *string
- func (r GetTargetGroupResponse) GetJSON403() *ErrorResponse
- func (r GetTargetGroupResponse) GetJSON404() *ErrorResponse
- func (r GetTargetGroupResponse) GetJSON500() *ErrorResponse
- func (r GetTargetGroupResponse) Status() string
- func (r GetTargetGroupResponse) StatusCode() int
- type GetTargetGroupsResponse
- func (r GetTargetGroupsResponse) ContentType() string
- func (r GetTargetGroupsResponse) GetBody() []byte
- func (r GetTargetGroupsResponse) GetJSON200() *map[string][]TargetGroupResponse
- func (r GetTargetGroupsResponse) GetJSON401() *string
- func (r GetTargetGroupsResponse) GetJSON500() *ErrorResponse
- func (r GetTargetGroupsResponse) Status() string
- func (r GetTargetGroupsResponse) StatusCode() int
- type GetTemplateBySlugResponse
- type GetUserAPIKeysResponse
- func (r GetUserAPIKeysResponse) ContentType() string
- func (r GetUserAPIKeysResponse) GetBody() []byte
- func (r GetUserAPIKeysResponse) GetJSON200() *ApiKeyListResponse
- func (r GetUserAPIKeysResponse) GetJSON401() *string
- func (r GetUserAPIKeysResponse) GetJSON500() *ErrorResponse
- func (r GetUserAPIKeysResponse) Status() string
- func (r GetUserAPIKeysResponse) StatusCode() int
- type GetUserVariantResponse
- type GetV1AudioVoicesParams
- type GetV1AudioVoicesResponse
- func (r GetV1AudioVoicesResponse) ContentType() string
- func (r GetV1AudioVoicesResponse) GetBody() []byte
- func (r GetV1AudioVoicesResponse) GetJSON200() *map[string]interface{}
- func (r GetV1AudioVoicesResponse) GetJSON400() *ErrorResponse
- func (r GetV1AudioVoicesResponse) GetJSON401() *ErrorResponse
- func (r GetV1AudioVoicesResponse) GetJSON502() *ErrorResponse
- func (r GetV1AudioVoicesResponse) Status() string
- func (r GetV1AudioVoicesResponse) StatusCode() int
- type GetV1PublicModelPricesParams
- type GetV1PublicModelPricesResponse
- func (r GetV1PublicModelPricesResponse) ContentType() string
- func (r GetV1PublicModelPricesResponse) GetBody() []byte
- func (r GetV1PublicModelPricesResponse) GetJSON200() *ModelPricesResponse
- func (r GetV1PublicModelPricesResponse) GetJSON502() *ErrorResponse
- func (r GetV1PublicModelPricesResponse) GetJSON504() *ErrorResponse
- func (r GetV1PublicModelPricesResponse) Status() string
- func (r GetV1PublicModelPricesResponse) StatusCode() int
- type GetV1PublicPricingResponse
- func (r GetV1PublicPricingResponse) ContentType() string
- func (r GetV1PublicPricingResponse) GetBody() []byte
- func (r GetV1PublicPricingResponse) GetJSON200() *PublicPricingResponse
- func (r GetV1PublicPricingResponse) GetJSON502() *ErrorResponse
- func (r GetV1PublicPricingResponse) Status() string
- func (r GetV1PublicPricingResponse) StatusCode() int
- type GetV1RealtimeParams
- type GetV1RealtimeResponse
- func (r GetV1RealtimeResponse) ContentType() string
- func (r GetV1RealtimeResponse) GetBody() []byte
- func (r GetV1RealtimeResponse) GetJSON101() *string
- func (r GetV1RealtimeResponse) GetJSON401() *ErrorResponse
- func (r GetV1RealtimeResponse) Status() string
- func (r GetV1RealtimeResponse) StatusCode() int
- type GetV1ResponsesSessionDetailResponse
- func (r GetV1ResponsesSessionDetailResponse) ContentType() string
- func (r GetV1ResponsesSessionDetailResponse) GetBody() []byte
- func (r GetV1ResponsesSessionDetailResponse) GetJSON200() *map[string]interface{}
- func (r GetV1ResponsesSessionDetailResponse) GetJSON401() *ErrorResponse
- func (r GetV1ResponsesSessionDetailResponse) GetJSON403() *ErrorResponse
- func (r GetV1ResponsesSessionDetailResponse) GetJSON404() *ErrorResponse
- func (r GetV1ResponsesSessionDetailResponse) GetJSON502() *ErrorResponse
- func (r GetV1ResponsesSessionDetailResponse) Status() string
- func (r GetV1ResponsesSessionDetailResponse) StatusCode() int
- type GetV1ResponsesSessionsListParams
- type GetV1ResponsesSessionsListResponse
- func (r GetV1ResponsesSessionsListResponse) ContentType() string
- func (r GetV1ResponsesSessionsListResponse) GetBody() []byte
- func (r GetV1ResponsesSessionsListResponse) GetJSON200() *map[string]interface{}
- func (r GetV1ResponsesSessionsListResponse) GetJSON400() *ErrorResponse
- func (r GetV1ResponsesSessionsListResponse) GetJSON401() *ErrorResponse
- func (r GetV1ResponsesSessionsListResponse) GetJSON403() *ErrorResponse
- func (r GetV1ResponsesSessionsListResponse) GetJSON502() *ErrorResponse
- func (r GetV1ResponsesSessionsListResponse) Status() string
- func (r GetV1ResponsesSessionsListResponse) StatusCode() int
- type GetV1ResponsesSessionsStatusResponse
- func (r GetV1ResponsesSessionsStatusResponse) ContentType() string
- func (r GetV1ResponsesSessionsStatusResponse) GetBody() []byte
- func (r GetV1ResponsesSessionsStatusResponse) GetJSON200() *map[string]interface{}
- func (r GetV1ResponsesSessionsStatusResponse) GetJSON401() *ErrorResponse
- func (r GetV1ResponsesSessionsStatusResponse) Status() string
- func (r GetV1ResponsesSessionsStatusResponse) StatusCode() int
- type GetV1ResponsesWebSocketResponse
- func (r GetV1ResponsesWebSocketResponse) ContentType() string
- func (r GetV1ResponsesWebSocketResponse) GetBody() []byte
- func (r GetV1ResponsesWebSocketResponse) GetJSON101() *string
- func (r GetV1ResponsesWebSocketResponse) GetJSON401() *ErrorResponse
- func (r GetV1ResponsesWebSocketResponse) Status() string
- func (r GetV1ResponsesWebSocketResponse) StatusCode() int
- type GetV1TemplateBySlugParams
- type GetV1TemplateBySlugResponse
- func (r GetV1TemplateBySlugResponse) ContentType() string
- func (r GetV1TemplateBySlugResponse) GetBody() []byte
- func (r GetV1TemplateBySlugResponse) GetJSON200() *GetTemplateBySlugResponse
- func (r GetV1TemplateBySlugResponse) GetJSON404() *ErrorResponse
- func (r GetV1TemplateBySlugResponse) GetJSON503() *ErrorResponse
- func (r GetV1TemplateBySlugResponse) Status() string
- func (r GetV1TemplateBySlugResponse) StatusCode() int
- type GetV1TemplateParams
- type GetV1TemplateResponse
- func (r GetV1TemplateResponse) ContentType() string
- func (r GetV1TemplateResponse) GetBody() []byte
- func (r GetV1TemplateResponse) GetJSON200() *GetUserVariantResponse
- func (r GetV1TemplateResponse) GetJSON404() *ErrorResponse
- func (r GetV1TemplateResponse) GetJSON503() *ErrorResponse
- func (r GetV1TemplateResponse) Status() string
- func (r GetV1TemplateResponse) StatusCode() int
- type GetV1TemplatesParams
- type GetV1TemplatesResponse
- func (r GetV1TemplatesResponse) ContentType() string
- func (r GetV1TemplatesResponse) GetBody() []byte
- func (r GetV1TemplatesResponse) GetJSON200() *ListUserVariantsResponse
- func (r GetV1TemplatesResponse) GetJSON503() *ErrorResponse
- func (r GetV1TemplatesResponse) Status() string
- func (r GetV1TemplatesResponse) StatusCode() int
- type GetVectorDatabaseDocumentsParams
- type GetVectorDatabaseDocumentsResponse
- func (r GetVectorDatabaseDocumentsResponse) ContentType() string
- func (r GetVectorDatabaseDocumentsResponse) GetBody() []byte
- func (r GetVectorDatabaseDocumentsResponse) GetJSON200() *ListDocumentsResponse
- func (r GetVectorDatabaseDocumentsResponse) GetJSON400() *ErrorResponse
- func (r GetVectorDatabaseDocumentsResponse) GetJSON401() *ErrorResponse
- func (r GetVectorDatabaseDocumentsResponse) GetJSON500() *ErrorResponse
- func (r GetVectorDatabaseDocumentsResponse) Status() string
- func (r GetVectorDatabaseDocumentsResponse) StatusCode() int
- type GetVectorDatabaseIndexJobResponse
- func (r GetVectorDatabaseIndexJobResponse) ContentType() string
- func (r GetVectorDatabaseIndexJobResponse) GetBody() []byte
- func (r GetVectorDatabaseIndexJobResponse) GetJSON200() *IndexJobResponse
- func (r GetVectorDatabaseIndexJobResponse) GetJSON400() *ErrorResponse
- func (r GetVectorDatabaseIndexJobResponse) GetJSON401() *ErrorResponse
- func (r GetVectorDatabaseIndexJobResponse) GetJSON404() *ErrorResponse
- func (r GetVectorDatabaseIndexJobResponse) GetJSON500() *ErrorResponse
- func (r GetVectorDatabaseIndexJobResponse) Status() string
- func (r GetVectorDatabaseIndexJobResponse) StatusCode() int
- type GetVectorDatabaseResponse
- func (r GetVectorDatabaseResponse) ContentType() string
- func (r GetVectorDatabaseResponse) GetBody() []byte
- func (r GetVectorDatabaseResponse) GetJSON200() *VectorDatabaseResponse
- func (r GetVectorDatabaseResponse) GetJSON400() *ErrorResponse
- func (r GetVectorDatabaseResponse) GetJSON401() *ErrorResponse
- func (r GetVectorDatabaseResponse) GetJSON404() *ErrorResponse
- func (r GetVectorDatabaseResponse) GetJSON500() *ErrorResponse
- func (r GetVectorDatabaseResponse) Status() string
- func (r GetVectorDatabaseResponse) StatusCode() int
- type GetVectorDatabasesResponse
- func (r GetVectorDatabasesResponse) ContentType() string
- func (r GetVectorDatabasesResponse) GetBody() []byte
- func (r GetVectorDatabasesResponse) GetJSON200() *VectorDatabaseResponse
- func (r GetVectorDatabasesResponse) GetJSON401() *ErrorResponse
- func (r GetVectorDatabasesResponse) GetJSON500() *ErrorResponse
- func (r GetVectorDatabasesResponse) Status() string
- func (r GetVectorDatabasesResponse) StatusCode() int
- type GpuListResponse
- type GpuPreferenceResponse
- type HttpRequestDoer
- type HuggingFaceGGUFFileResponse
- type HuggingFaceModelResponse
- type HuggingFaceModelsResponse
- type HuggingFaceOrgInfoResponse
- type ImageGenerationRequest
- type IndexDocumentRequest
- type IndexDocumentSourceRequest
- type IndexDocumentsRequest
- type IndexJobResponse
- type InstanceListResponse
- type InstanceResponse
- type InstanceUsageBucketResponse
- type InstanceUsageResponse
- type InstanceUsageSummaryResponse
- type InvitationListResponse
- type InvitationResponse
- type LedgerEntryResponse
- type LedgerHistoryResponse
- type ListDocumentsResponse
- type ListUserVariantsResponse
- type ListedDocumentResponse
- type LoginRequest
- type LoginResponse
- type Model
- type ModelPricesResponse
- type Option
- func WithAPIKey(key string) Option
- func WithAccessToken(token string) Option
- func WithAuthorization(value string) Option
- func WithCredentials(email, password string) Option
- func WithCustomHTTPClient(c *http.Client) Option
- func WithHeader(name, value string) Option
- func WithRefreshToken(token string) Option
- func WithServerURL(u string) Option
- type PasskeyListResponse
- type PasskeyResponse
- type PatchAccountsCurrentFiscalProfileJSONRequestBody
- type PatchAccountsCurrentFiscalProfileResponse
- func (r PatchAccountsCurrentFiscalProfileResponse) ContentType() string
- func (r PatchAccountsCurrentFiscalProfileResponse) GetBody() []byte
- func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON200() *AccountResponse
- func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON400() *ErrorResponse
- func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON401() *string
- func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON403() *ErrorResponse
- func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON404() *ErrorResponse
- func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON500() *ErrorResponse
- func (r PatchAccountsCurrentFiscalProfileResponse) Status() string
- func (r PatchAccountsCurrentFiscalProfileResponse) StatusCode() int
- type PatchAccountsCurrentJSONRequestBody
- type PatchAccountsCurrentMembersByUserIDJSONRequestBody
- type PatchAccountsCurrentMembersByUserIDResponse
- func (r PatchAccountsCurrentMembersByUserIDResponse) ContentType() string
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetBody() []byte
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON200() *AccountMemberResponse
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON400() *ErrorResponse
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON401() *string
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON403() *ErrorResponse
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON404() *ErrorResponse
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON412() *ErrorResponse
- func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON500() *ErrorResponse
- func (r PatchAccountsCurrentMembersByUserIDResponse) Status() string
- func (r PatchAccountsCurrentMembersByUserIDResponse) StatusCode() int
- type PatchAccountsCurrentResponse
- func (r PatchAccountsCurrentResponse) ContentType() string
- func (r PatchAccountsCurrentResponse) GetBody() []byte
- func (r PatchAccountsCurrentResponse) GetJSON200() *AccountResponse
- func (r PatchAccountsCurrentResponse) GetJSON400() *ErrorResponse
- func (r PatchAccountsCurrentResponse) GetJSON401() *string
- func (r PatchAccountsCurrentResponse) GetJSON403() *ErrorResponse
- func (r PatchAccountsCurrentResponse) GetJSON404() *ErrorResponse
- func (r PatchAccountsCurrentResponse) GetJSON500() *ErrorResponse
- func (r PatchAccountsCurrentResponse) Status() string
- func (r PatchAccountsCurrentResponse) StatusCode() int
- type PatchAuthPasswordJSONRequestBody
- type PatchAuthPasswordResponse
- func (r PatchAuthPasswordResponse) ContentType() string
- func (r PatchAuthPasswordResponse) GetBody() []byte
- func (r PatchAuthPasswordResponse) GetJSON204() *string
- func (r PatchAuthPasswordResponse) GetJSON400() *ErrorResponse
- func (r PatchAuthPasswordResponse) GetJSON401() *ErrorResponse
- func (r PatchAuthPasswordResponse) GetJSON404() *ErrorResponse
- func (r PatchAuthPasswordResponse) GetJSON500() *ErrorResponse
- func (r PatchAuthPasswordResponse) Status() string
- func (r PatchAuthPasswordResponse) StatusCode() int
- type PatchAuthPreferencesJSONRequestBody
- type PatchAuthPreferencesResponse
- func (r PatchAuthPreferencesResponse) ContentType() string
- func (r PatchAuthPreferencesResponse) GetBody() []byte
- func (r PatchAuthPreferencesResponse) GetJSON204() *string
- func (r PatchAuthPreferencesResponse) GetJSON400() *ErrorResponse
- func (r PatchAuthPreferencesResponse) GetJSON401() *ErrorResponse
- func (r PatchAuthPreferencesResponse) GetJSON500() *ErrorResponse
- func (r PatchAuthPreferencesResponse) Status() string
- func (r PatchAuthPreferencesResponse) StatusCode() int
- type PatchFirewallJSONRequestBody
- type PatchFirewallResponse
- func (r PatchFirewallResponse) ContentType() string
- func (r PatchFirewallResponse) GetBody() []byte
- func (r PatchFirewallResponse) GetJSON200() *FirewallResponse
- func (r PatchFirewallResponse) GetJSON400() *ErrorResponse
- func (r PatchFirewallResponse) GetJSON401() *ErrorResponse
- func (r PatchFirewallResponse) GetJSON404() *ErrorResponse
- func (r PatchFirewallResponse) GetJSON500() *ErrorResponse
- func (r PatchFirewallResponse) Status() string
- func (r PatchFirewallResponse) StatusCode() int
- type PatchFirewallRuleJSONRequestBody
- type PatchFirewallRuleResponse
- func (r PatchFirewallRuleResponse) ContentType() string
- func (r PatchFirewallRuleResponse) GetBody() []byte
- func (r PatchFirewallRuleResponse) GetJSON200() *FirewallRuleResponse
- func (r PatchFirewallRuleResponse) GetJSON400() *ErrorResponse
- func (r PatchFirewallRuleResponse) GetJSON401() *ErrorResponse
- func (r PatchFirewallRuleResponse) GetJSON404() *ErrorResponse
- func (r PatchFirewallRuleResponse) GetJSON500() *ErrorResponse
- func (r PatchFirewallRuleResponse) Status() string
- func (r PatchFirewallRuleResponse) StatusCode() int
- type PatchInstanceJSONRequestBody
- type PatchInstanceResponse
- func (r PatchInstanceResponse) ContentType() string
- func (r PatchInstanceResponse) GetBody() []byte
- func (r PatchInstanceResponse) GetJSON200() *InstanceResponse
- func (r PatchInstanceResponse) GetJSON400() *ErrorResponse
- func (r PatchInstanceResponse) GetJSON401() *string
- func (r PatchInstanceResponse) GetJSON403() *ErrorResponse
- func (r PatchInstanceResponse) GetJSON404() *ErrorResponse
- func (r PatchInstanceResponse) GetJSON500() *ErrorResponse
- func (r PatchInstanceResponse) Status() string
- func (r PatchInstanceResponse) StatusCode() int
- type PatchInstanceScheduleRuleJSONRequestBody
- type PatchInstanceScheduleRuleResponse
- func (r PatchInstanceScheduleRuleResponse) ContentType() string
- func (r PatchInstanceScheduleRuleResponse) GetBody() []byte
- func (r PatchInstanceScheduleRuleResponse) GetJSON200() *ScheduleRuleResponse
- func (r PatchInstanceScheduleRuleResponse) GetJSON400() *ErrorResponse
- func (r PatchInstanceScheduleRuleResponse) GetJSON401() *string
- func (r PatchInstanceScheduleRuleResponse) GetJSON403() *ErrorResponse
- func (r PatchInstanceScheduleRuleResponse) GetJSON404() *ErrorResponse
- func (r PatchInstanceScheduleRuleResponse) GetJSON500() *ErrorResponse
- func (r PatchInstanceScheduleRuleResponse) Status() string
- func (r PatchInstanceScheduleRuleResponse) StatusCode() int
- type PatchReplicaSetJSONRequestBody
- type PatchReplicaSetResponse
- func (r PatchReplicaSetResponse) ContentType() string
- func (r PatchReplicaSetResponse) GetBody() []byte
- func (r PatchReplicaSetResponse) GetJSON200() *ReplicaSetResponse
- func (r PatchReplicaSetResponse) GetJSON400() *ErrorResponse
- func (r PatchReplicaSetResponse) GetJSON401() *string
- func (r PatchReplicaSetResponse) GetJSON403() *ErrorResponse
- func (r PatchReplicaSetResponse) GetJSON404() *ErrorResponse
- func (r PatchReplicaSetResponse) GetJSON500() *ErrorResponse
- func (r PatchReplicaSetResponse) Status() string
- func (r PatchReplicaSetResponse) StatusCode() int
- type PatchSmartBalancerJSONRequestBody
- type PatchSmartBalancerResponse
- func (r PatchSmartBalancerResponse) ContentType() string
- func (r PatchSmartBalancerResponse) GetBody() []byte
- func (r PatchSmartBalancerResponse) GetJSON200() *SmartBalancerViewResponse
- func (r PatchSmartBalancerResponse) GetJSON400() *ErrorResponse
- func (r PatchSmartBalancerResponse) GetJSON401() *string
- func (r PatchSmartBalancerResponse) GetJSON403() *ErrorResponse
- func (r PatchSmartBalancerResponse) GetJSON404() *ErrorResponse
- func (r PatchSmartBalancerResponse) GetJSON500() *ErrorResponse
- func (r PatchSmartBalancerResponse) Status() string
- func (r PatchSmartBalancerResponse) StatusCode() int
- type PatchTargetGroupJSONRequestBody
- type PatchTargetGroupResponse
- func (r PatchTargetGroupResponse) ContentType() string
- func (r PatchTargetGroupResponse) GetBody() []byte
- func (r PatchTargetGroupResponse) GetJSON200() *TargetGroupResponse
- func (r PatchTargetGroupResponse) GetJSON400() *ErrorResponse
- func (r PatchTargetGroupResponse) GetJSON401() *string
- func (r PatchTargetGroupResponse) GetJSON403() *ErrorResponse
- func (r PatchTargetGroupResponse) GetJSON404() *ErrorResponse
- func (r PatchTargetGroupResponse) GetJSON500() *ErrorResponse
- func (r PatchTargetGroupResponse) Status() string
- func (r PatchTargetGroupResponse) StatusCode() int
- type PatchVectorDatabaseJSONRequestBody
- type PatchVectorDatabaseResponse
- func (r PatchVectorDatabaseResponse) ContentType() string
- func (r PatchVectorDatabaseResponse) GetBody() []byte
- func (r PatchVectorDatabaseResponse) GetJSON200() *VectorDatabaseResponse
- func (r PatchVectorDatabaseResponse) GetJSON400() *ErrorResponse
- func (r PatchVectorDatabaseResponse) GetJSON401() *ErrorResponse
- func (r PatchVectorDatabaseResponse) GetJSON404() *ErrorResponse
- func (r PatchVectorDatabaseResponse) GetJSON500() *ErrorResponse
- func (r PatchVectorDatabaseResponse) Status() string
- func (r PatchVectorDatabaseResponse) StatusCode() int
- type PaymentResponse
- type PaymentsResponse
- type PostAccountsCurrentInvitationsJSONRequestBody
- type PostAccountsCurrentInvitationsResponse
- func (r PostAccountsCurrentInvitationsResponse) ContentType() string
- func (r PostAccountsCurrentInvitationsResponse) GetBody() []byte
- func (r PostAccountsCurrentInvitationsResponse) GetJSON201() *InvitationResponse
- func (r PostAccountsCurrentInvitationsResponse) GetJSON400() *ErrorResponse
- func (r PostAccountsCurrentInvitationsResponse) GetJSON401() *string
- func (r PostAccountsCurrentInvitationsResponse) GetJSON403() *ErrorResponse
- func (r PostAccountsCurrentInvitationsResponse) GetJSON404() *ErrorResponse
- func (r PostAccountsCurrentInvitationsResponse) GetJSON412() *ErrorResponse
- func (r PostAccountsCurrentInvitationsResponse) GetJSON500() *ErrorResponse
- func (r PostAccountsCurrentInvitationsResponse) Status() string
- func (r PostAccountsCurrentInvitationsResponse) StatusCode() int
- type PostAccountsCurrentMembersJSONRequestBody
- type PostAccountsCurrentMembersResponse
- func (r PostAccountsCurrentMembersResponse) ContentType() string
- func (r PostAccountsCurrentMembersResponse) GetBody() []byte
- func (r PostAccountsCurrentMembersResponse) GetJSON200() *AccountMemberResponse
- func (r PostAccountsCurrentMembersResponse) GetJSON400() *ErrorResponse
- func (r PostAccountsCurrentMembersResponse) GetJSON401() *string
- func (r PostAccountsCurrentMembersResponse) GetJSON403() *ErrorResponse
- func (r PostAccountsCurrentMembersResponse) GetJSON404() *ErrorResponse
- func (r PostAccountsCurrentMembersResponse) GetJSON412() *ErrorResponse
- func (r PostAccountsCurrentMembersResponse) GetJSON500() *ErrorResponse
- func (r PostAccountsCurrentMembersResponse) Status() string
- func (r PostAccountsCurrentMembersResponse) StatusCode() int
- type PostAccountsJSONRequestBody
- type PostAccountsResponse
- func (r PostAccountsResponse) ContentType() string
- func (r PostAccountsResponse) GetBody() []byte
- func (r PostAccountsResponse) GetJSON201() *AccountMembershipResponse
- func (r PostAccountsResponse) GetJSON400() *ErrorResponse
- func (r PostAccountsResponse) GetJSON401() *string
- func (r PostAccountsResponse) GetJSON500() *ErrorResponse
- func (r PostAccountsResponse) Status() string
- func (r PostAccountsResponse) StatusCode() int
- type PostApiKeysKeyIDRevokeResponse
- func (r PostApiKeysKeyIDRevokeResponse) ContentType() string
- func (r PostApiKeysKeyIDRevokeResponse) GetBody() []byte
- func (r PostApiKeysKeyIDRevokeResponse) GetJSON400() *ErrorResponse
- func (r PostApiKeysKeyIDRevokeResponse) GetJSON401() *string
- func (r PostApiKeysKeyIDRevokeResponse) GetJSON403() *ErrorResponse
- func (r PostApiKeysKeyIDRevokeResponse) GetJSON404() *ErrorResponse
- func (r PostApiKeysKeyIDRevokeResponse) GetJSON500() *ErrorResponse
- func (r PostApiKeysKeyIDRevokeResponse) Status() string
- func (r PostApiKeysKeyIDRevokeResponse) StatusCode() int
- type PostApiKeysResponse
- func (r PostApiKeysResponse) ContentType() string
- func (r PostApiKeysResponse) GetBody() []byte
- func (r PostApiKeysResponse) GetJSON201() *ApiKeyResponse
- func (r PostApiKeysResponse) GetJSON401() *string
- func (r PostApiKeysResponse) GetJSON403() *ErrorResponse
- func (r PostApiKeysResponse) GetJSON500() *ErrorResponse
- func (r PostApiKeysResponse) Status() string
- func (r PostApiKeysResponse) StatusCode() int
- type PostAuthForgotPasswordJSONRequestBody
- type PostAuthForgotPasswordResponse
- func (r PostAuthForgotPasswordResponse) ContentType() string
- func (r PostAuthForgotPasswordResponse) GetBody() []byte
- func (r PostAuthForgotPasswordResponse) GetJSON200() *ForgotPasswordResponse
- func (r PostAuthForgotPasswordResponse) GetJSON400() *ErrorResponse
- func (r PostAuthForgotPasswordResponse) GetJSON500() *ErrorResponse
- func (r PostAuthForgotPasswordResponse) Status() string
- func (r PostAuthForgotPasswordResponse) StatusCode() int
- type PostAuthLoginJSONRequestBody
- type PostAuthLoginResponse
- func (r PostAuthLoginResponse) ContentType() string
- func (r PostAuthLoginResponse) GetBody() []byte
- func (r PostAuthLoginResponse) GetJSON200() *LoginResponse
- func (r PostAuthLoginResponse) GetJSON400() *ErrorResponse
- func (r PostAuthLoginResponse) GetJSON401() *ErrorResponse
- func (r PostAuthLoginResponse) GetJSON500() *ErrorResponse
- func (r PostAuthLoginResponse) Status() string
- func (r PostAuthLoginResponse) StatusCode() int
- type PostAuthPasskeysBeginLoginJSONRequestBody
- type PostAuthPasskeysBeginLoginResponse
- func (r PostAuthPasskeysBeginLoginResponse) ContentType() string
- func (r PostAuthPasskeysBeginLoginResponse) GetBody() []byte
- func (r PostAuthPasskeysBeginLoginResponse) GetJSON200() *BeginPasskeyloginResponse
- func (r PostAuthPasskeysBeginLoginResponse) GetJSON400() *ErrorResponse
- func (r PostAuthPasskeysBeginLoginResponse) GetJSON500() *ErrorResponse
- func (r PostAuthPasskeysBeginLoginResponse) GetJSON503() *ErrorResponse
- func (r PostAuthPasskeysBeginLoginResponse) Status() string
- func (r PostAuthPasskeysBeginLoginResponse) StatusCode() int
- type PostAuthPasskeysBeginRegistrationResponse
- func (r PostAuthPasskeysBeginRegistrationResponse) ContentType() string
- func (r PostAuthPasskeysBeginRegistrationResponse) GetBody() []byte
- func (r PostAuthPasskeysBeginRegistrationResponse) GetJSON200() *BeginPasskeyRegistrationResponse
- func (r PostAuthPasskeysBeginRegistrationResponse) GetJSON401() *ErrorResponse
- func (r PostAuthPasskeysBeginRegistrationResponse) GetJSON500() *ErrorResponse
- func (r PostAuthPasskeysBeginRegistrationResponse) Status() string
- func (r PostAuthPasskeysBeginRegistrationResponse) StatusCode() int
- type PostAuthPasskeysFinishLoginJSONRequestBody
- type PostAuthPasskeysFinishLoginResponse
- func (r PostAuthPasskeysFinishLoginResponse) ContentType() string
- func (r PostAuthPasskeysFinishLoginResponse) GetBody() []byte
- func (r PostAuthPasskeysFinishLoginResponse) GetJSON200() *FinishPasskeyloginResponse
- func (r PostAuthPasskeysFinishLoginResponse) GetJSON400() *ErrorResponse
- func (r PostAuthPasskeysFinishLoginResponse) GetJSON401() *ErrorResponse
- func (r PostAuthPasskeysFinishLoginResponse) GetJSON404() *ErrorResponse
- func (r PostAuthPasskeysFinishLoginResponse) GetJSON500() *ErrorResponse
- func (r PostAuthPasskeysFinishLoginResponse) Status() string
- func (r PostAuthPasskeysFinishLoginResponse) StatusCode() int
- type PostAuthPasskeysFinishRegistrationJSONRequestBody
- type PostAuthPasskeysFinishRegistrationResponse
- func (r PostAuthPasskeysFinishRegistrationResponse) ContentType() string
- func (r PostAuthPasskeysFinishRegistrationResponse) GetBody() []byte
- func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON204() *string
- func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON400() *ErrorResponse
- func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON401() *ErrorResponse
- func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON404() *ErrorResponse
- func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON500() *ErrorResponse
- func (r PostAuthPasskeysFinishRegistrationResponse) Status() string
- func (r PostAuthPasskeysFinishRegistrationResponse) StatusCode() int
- type PostAuthPasskeysJSONRequestBody
- type PostAuthPasskeysResponse
- func (r PostAuthPasskeysResponse) ContentType() string
- func (r PostAuthPasskeysResponse) GetBody() []byte
- func (r PostAuthPasskeysResponse) GetJSON204() *string
- func (r PostAuthPasskeysResponse) GetJSON400() *ErrorResponse
- func (r PostAuthPasskeysResponse) GetJSON401() *ErrorResponse
- func (r PostAuthPasskeysResponse) GetJSON500() *ErrorResponse
- func (r PostAuthPasskeysResponse) Status() string
- func (r PostAuthPasskeysResponse) StatusCode() int
- type PostAuthRefreshJSONRequestBody
- type PostAuthRefreshResponse
- func (r PostAuthRefreshResponse) ContentType() string
- func (r PostAuthRefreshResponse) GetBody() []byte
- func (r PostAuthRefreshResponse) GetJSON200() *RefreshResponse
- func (r PostAuthRefreshResponse) GetJSON400() *ErrorResponse
- func (r PostAuthRefreshResponse) GetJSON401() *ErrorResponse
- func (r PostAuthRefreshResponse) GetJSON500() *ErrorResponse
- func (r PostAuthRefreshResponse) Status() string
- func (r PostAuthRefreshResponse) StatusCode() int
- type PostAuthRegisterJSONRequestBody
- type PostAuthRegisterResponse
- func (r PostAuthRegisterResponse) ContentType() string
- func (r PostAuthRegisterResponse) GetBody() []byte
- func (r PostAuthRegisterResponse) GetJSON201() *RegisterResponse
- func (r PostAuthRegisterResponse) GetJSON400() *ErrorResponse
- func (r PostAuthRegisterResponse) GetJSON409() *ErrorResponse
- func (r PostAuthRegisterResponse) GetJSON500() *ErrorResponse
- func (r PostAuthRegisterResponse) Status() string
- func (r PostAuthRegisterResponse) StatusCode() int
- type PostAuthResetPasswordJSONRequestBody
- type PostAuthResetPasswordResponse
- func (r PostAuthResetPasswordResponse) ContentType() string
- func (r PostAuthResetPasswordResponse) GetBody() []byte
- func (r PostAuthResetPasswordResponse) GetJSON200() *ResetPasswordResponse
- func (r PostAuthResetPasswordResponse) GetJSON400() *ErrorResponse
- func (r PostAuthResetPasswordResponse) GetJSON401() *ErrorResponse
- func (r PostAuthResetPasswordResponse) GetJSON404() *ErrorResponse
- func (r PostAuthResetPasswordResponse) GetJSON500() *ErrorResponse
- func (r PostAuthResetPasswordResponse) Status() string
- func (r PostAuthResetPasswordResponse) StatusCode() int
- type PostAuthTotpBeginResponse
- func (r PostAuthTotpBeginResponse) ContentType() string
- func (r PostAuthTotpBeginResponse) GetBody() []byte
- func (r PostAuthTotpBeginResponse) GetJSON200() *BeginTotpEnrollmentResponse
- func (r PostAuthTotpBeginResponse) GetJSON401() *ErrorResponse
- func (r PostAuthTotpBeginResponse) GetJSON404() *ErrorResponse
- func (r PostAuthTotpBeginResponse) GetJSON500() *ErrorResponse
- func (r PostAuthTotpBeginResponse) Status() string
- func (r PostAuthTotpBeginResponse) StatusCode() int
- type PostAuthTotpConfirmJSONRequestBody
- type PostAuthTotpConfirmResponse
- func (r PostAuthTotpConfirmResponse) ContentType() string
- func (r PostAuthTotpConfirmResponse) GetBody() []byte
- func (r PostAuthTotpConfirmResponse) GetJSON204() *string
- func (r PostAuthTotpConfirmResponse) GetJSON400() *ErrorResponse
- func (r PostAuthTotpConfirmResponse) GetJSON401() *ErrorResponse
- func (r PostAuthTotpConfirmResponse) GetJSON500() *ErrorResponse
- func (r PostAuthTotpConfirmResponse) Status() string
- func (r PostAuthTotpConfirmResponse) StatusCode() int
- type PostBillingCheckoutJSONRequestBody
- type PostBillingCheckoutParams
- type PostBillingCheckoutResponse
- func (r PostBillingCheckoutResponse) ContentType() string
- func (r PostBillingCheckoutResponse) GetBody() []byte
- func (r PostBillingCheckoutResponse) GetJSON200() *CheckoutSessionResponse
- func (r PostBillingCheckoutResponse) GetJSON400() *ErrorResponse
- func (r PostBillingCheckoutResponse) GetJSON401() *string
- func (r PostBillingCheckoutResponse) GetJSON409() *ErrorResponse
- func (r PostBillingCheckoutResponse) GetJSON500() *ErrorResponse
- func (r PostBillingCheckoutResponse) Status() string
- func (r PostBillingCheckoutResponse) StatusCode() int
- type PostBillingDebitJSONRequestBody
- type PostBillingDebitResponse
- func (r PostBillingDebitResponse) ContentType() string
- func (r PostBillingDebitResponse) GetBody() []byte
- func (r PostBillingDebitResponse) GetJSON200() *DebitBalanceResponse
- func (r PostBillingDebitResponse) GetJSON400() *ErrorResponse
- func (r PostBillingDebitResponse) GetJSON401() *string
- func (r PostBillingDebitResponse) GetJSON500() *ErrorResponse
- func (r PostBillingDebitResponse) Status() string
- func (r PostBillingDebitResponse) StatusCode() int
- type PostFirewallEvaluateJSONRequestBody
- type PostFirewallEvaluateResponse
- func (r PostFirewallEvaluateResponse) ContentType() string
- func (r PostFirewallEvaluateResponse) GetBody() []byte
- func (r PostFirewallEvaluateResponse) GetJSON200() *FirewallEvaluationResponse
- func (r PostFirewallEvaluateResponse) GetJSON400() *ErrorResponse
- func (r PostFirewallEvaluateResponse) GetJSON401() *ErrorResponse
- func (r PostFirewallEvaluateResponse) GetJSON404() *ErrorResponse
- func (r PostFirewallEvaluateResponse) GetJSON500() *ErrorResponse
- func (r PostFirewallEvaluateResponse) Status() string
- func (r PostFirewallEvaluateResponse) StatusCode() int
- type PostFirewallJSONRequestBody
- type PostFirewallResponse
- func (r PostFirewallResponse) ContentType() string
- func (r PostFirewallResponse) GetBody() []byte
- func (r PostFirewallResponse) GetJSON201() *FirewallResponse
- func (r PostFirewallResponse) GetJSON400() *ErrorResponse
- func (r PostFirewallResponse) GetJSON401() *ErrorResponse
- func (r PostFirewallResponse) GetJSON409() *ErrorResponse
- func (r PostFirewallResponse) GetJSON500() *ErrorResponse
- func (r PostFirewallResponse) Status() string
- func (r PostFirewallResponse) StatusCode() int
- type PostFirewallRuleEvaluateJSONRequestBody
- type PostFirewallRuleEvaluateResponse
- func (r PostFirewallRuleEvaluateResponse) ContentType() string
- func (r PostFirewallRuleEvaluateResponse) GetBody() []byte
- func (r PostFirewallRuleEvaluateResponse) GetJSON200() *FirewallEvaluationResponse
- func (r PostFirewallRuleEvaluateResponse) GetJSON400() *ErrorResponse
- func (r PostFirewallRuleEvaluateResponse) GetJSON401() *ErrorResponse
- func (r PostFirewallRuleEvaluateResponse) GetJSON404() *ErrorResponse
- func (r PostFirewallRuleEvaluateResponse) GetJSON500() *ErrorResponse
- func (r PostFirewallRuleEvaluateResponse) Status() string
- func (r PostFirewallRuleEvaluateResponse) StatusCode() int
- type PostFirewallRuleJSONRequestBody
- type PostFirewallRuleResponse
- func (r PostFirewallRuleResponse) ContentType() string
- func (r PostFirewallRuleResponse) GetBody() []byte
- func (r PostFirewallRuleResponse) GetJSON201() *FirewallRuleResponse
- func (r PostFirewallRuleResponse) GetJSON400() *ErrorResponse
- func (r PostFirewallRuleResponse) GetJSON401() *ErrorResponse
- func (r PostFirewallRuleResponse) GetJSON409() *ErrorResponse
- func (r PostFirewallRuleResponse) GetJSON500() *ErrorResponse
- func (r PostFirewallRuleResponse) Status() string
- func (r PostFirewallRuleResponse) StatusCode() int
- type PostInstancePreviewUpdateJSONRequestBody
- type PostInstancePreviewUpdateResponse
- func (r PostInstancePreviewUpdateResponse) ContentType() string
- func (r PostInstancePreviewUpdateResponse) GetBody() []byte
- func (r PostInstancePreviewUpdateResponse) GetJSON200() *PreviewInstanceResponse
- func (r PostInstancePreviewUpdateResponse) GetJSON400() *ErrorResponse
- func (r PostInstancePreviewUpdateResponse) GetJSON401() *string
- func (r PostInstancePreviewUpdateResponse) GetJSON403() *ErrorResponse
- func (r PostInstancePreviewUpdateResponse) GetJSON404() *ErrorResponse
- func (r PostInstancePreviewUpdateResponse) GetJSON500() *ErrorResponse
- func (r PostInstancePreviewUpdateResponse) Status() string
- func (r PostInstancePreviewUpdateResponse) StatusCode() int
- type PostInstanceScheduleRuleJSONRequestBody
- type PostInstanceScheduleRuleResponse
- func (r PostInstanceScheduleRuleResponse) ContentType() string
- func (r PostInstanceScheduleRuleResponse) GetBody() []byte
- func (r PostInstanceScheduleRuleResponse) GetJSON201() *ScheduleRuleResponse
- func (r PostInstanceScheduleRuleResponse) GetJSON400() *ErrorResponse
- func (r PostInstanceScheduleRuleResponse) GetJSON401() *string
- func (r PostInstanceScheduleRuleResponse) GetJSON403() *ErrorResponse
- func (r PostInstanceScheduleRuleResponse) GetJSON404() *ErrorResponse
- func (r PostInstanceScheduleRuleResponse) GetJSON500() *ErrorResponse
- func (r PostInstanceScheduleRuleResponse) Status() string
- func (r PostInstanceScheduleRuleResponse) StatusCode() int
- type PostInstanceStartResponse
- func (r PostInstanceStartResponse) ContentType() string
- func (r PostInstanceStartResponse) GetBody() []byte
- func (r PostInstanceStartResponse) GetJSON200() *InstanceResponse
- func (r PostInstanceStartResponse) GetJSON401() *string
- func (r PostInstanceStartResponse) GetJSON403() *ErrorResponse
- func (r PostInstanceStartResponse) GetJSON404() *ErrorResponse
- func (r PostInstanceStartResponse) GetJSON500() *ErrorResponse
- func (r PostInstanceStartResponse) Status() string
- func (r PostInstanceStartResponse) StatusCode() int
- type PostInstanceStopResponse
- func (r PostInstanceStopResponse) ContentType() string
- func (r PostInstanceStopResponse) GetBody() []byte
- func (r PostInstanceStopResponse) GetJSON200() *InstanceResponse
- func (r PostInstanceStopResponse) GetJSON401() *string
- func (r PostInstanceStopResponse) GetJSON403() *ErrorResponse
- func (r PostInstanceStopResponse) GetJSON404() *ErrorResponse
- func (r PostInstanceStopResponse) GetJSON500() *ErrorResponse
- func (r PostInstanceStopResponse) Status() string
- func (r PostInstanceStopResponse) StatusCode() int
- type PostInstancesJSONRequestBody
- type PostInstancesParams
- type PostInstancesResponse
- func (r PostInstancesResponse) ContentType() string
- func (r PostInstancesResponse) GetBody() []byte
- func (r PostInstancesResponse) GetJSON201() *InstanceResponse
- func (r PostInstancesResponse) GetJSON400() *ErrorResponse
- func (r PostInstancesResponse) GetJSON401() *string
- func (r PostInstancesResponse) GetJSON402() *ErrorResponse
- func (r PostInstancesResponse) GetJSON403() *ErrorResponse
- func (r PostInstancesResponse) GetJSON404() *ErrorResponse
- func (r PostInstancesResponse) GetJSON500() *ErrorResponse
- func (r PostInstancesResponse) Status() string
- func (r PostInstancesResponse) StatusCode() int
- type PostInvitationsAcceptJSONRequestBody
- type PostInvitationsAcceptResponse
- func (r PostInvitationsAcceptResponse) ContentType() string
- func (r PostInvitationsAcceptResponse) GetBody() []byte
- func (r PostInvitationsAcceptResponse) GetJSON200() *AccountMembershipResponse
- func (r PostInvitationsAcceptResponse) GetJSON400() *ErrorResponse
- func (r PostInvitationsAcceptResponse) GetJSON401() *string
- func (r PostInvitationsAcceptResponse) GetJSON403() *ErrorResponse
- func (r PostInvitationsAcceptResponse) GetJSON404() *ErrorResponse
- func (r PostInvitationsAcceptResponse) GetJSON410() *ErrorResponse
- func (r PostInvitationsAcceptResponse) GetJSON500() *ErrorResponse
- func (r PostInvitationsAcceptResponse) Status() string
- func (r PostInvitationsAcceptResponse) StatusCode() int
- type PostReplicaSetScaleJSONRequestBody
- type PostReplicaSetScaleResponse
- func (r PostReplicaSetScaleResponse) ContentType() string
- func (r PostReplicaSetScaleResponse) GetBody() []byte
- func (r PostReplicaSetScaleResponse) GetJSON200() *ReplicaSetResponse
- func (r PostReplicaSetScaleResponse) GetJSON400() *ErrorResponse
- func (r PostReplicaSetScaleResponse) GetJSON401() *string
- func (r PostReplicaSetScaleResponse) GetJSON403() *ErrorResponse
- func (r PostReplicaSetScaleResponse) GetJSON404() *ErrorResponse
- func (r PostReplicaSetScaleResponse) GetJSON500() *ErrorResponse
- func (r PostReplicaSetScaleResponse) Status() string
- func (r PostReplicaSetScaleResponse) StatusCode() int
- type PostRuntimeNotifyCrashJSONBody
- type PostRuntimeNotifyCrashJSONRequestBody
- type PostRuntimeNotifyCrashResponse
- func (r PostRuntimeNotifyCrashResponse) ContentType() string
- func (r PostRuntimeNotifyCrashResponse) GetBody() []byte
- func (r PostRuntimeNotifyCrashResponse) GetJSON400() *ErrorResponse
- func (r PostRuntimeNotifyCrashResponse) GetJSON401() *ErrorResponse
- func (r PostRuntimeNotifyCrashResponse) GetJSON500() *ErrorResponse
- func (r PostRuntimeNotifyCrashResponse) Status() string
- func (r PostRuntimeNotifyCrashResponse) StatusCode() int
- type PostServingEndpointJSONRequestBody
- type PostServingEndpointResponse
- func (r PostServingEndpointResponse) ContentType() string
- func (r PostServingEndpointResponse) GetBody() []byte
- func (r PostServingEndpointResponse) GetJSON201() *ServingEndpointResponse
- func (r PostServingEndpointResponse) GetJSON400() *ErrorResponse
- func (r PostServingEndpointResponse) GetJSON401() *string
- func (r PostServingEndpointResponse) GetJSON409() *map[string]string
- func (r PostServingEndpointResponse) GetJSON500() *ErrorResponse
- func (r PostServingEndpointResponse) Status() string
- func (r PostServingEndpointResponse) StatusCode() int
- type PostSmartBalancerJSONRequestBody
- type PostSmartBalancerResponse
- func (r PostSmartBalancerResponse) ContentType() string
- func (r PostSmartBalancerResponse) GetBody() []byte
- func (r PostSmartBalancerResponse) GetJSON201() *SmartBalancerViewResponse
- func (r PostSmartBalancerResponse) GetJSON400() *ErrorResponse
- func (r PostSmartBalancerResponse) GetJSON401() *string
- func (r PostSmartBalancerResponse) GetJSON500() *ErrorResponse
- func (r PostSmartBalancerResponse) Status() string
- func (r PostSmartBalancerResponse) StatusCode() int
- type PostStorageVolumesJSONRequestBody
- type PostStorageVolumesResponse
- func (r PostStorageVolumesResponse) ContentType() string
- func (r PostStorageVolumesResponse) GetBody() []byte
- func (r PostStorageVolumesResponse) GetJSON201() *StorageVolumeResponse
- func (r PostStorageVolumesResponse) GetJSON400() *ErrorResponse
- func (r PostStorageVolumesResponse) GetJSON401() *ErrorResponse
- func (r PostStorageVolumesResponse) Status() string
- func (r PostStorageVolumesResponse) StatusCode() int
- type PostTargetGroupJSONRequestBody
- type PostTargetGroupResponse
- func (r PostTargetGroupResponse) ContentType() string
- func (r PostTargetGroupResponse) GetBody() []byte
- func (r PostTargetGroupResponse) GetJSON201() *TargetGroupResponse
- func (r PostTargetGroupResponse) GetJSON400() *ErrorResponse
- func (r PostTargetGroupResponse) GetJSON401() *string
- func (r PostTargetGroupResponse) GetJSON500() *ErrorResponse
- func (r PostTargetGroupResponse) Status() string
- func (r PostTargetGroupResponse) StatusCode() int
- type PostUserAPIKeysKeyIDRevokeResponse
- func (r PostUserAPIKeysKeyIDRevokeResponse) ContentType() string
- func (r PostUserAPIKeysKeyIDRevokeResponse) GetBody() []byte
- func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON400() *ErrorResponse
- func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON401() *string
- func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON404() *ErrorResponse
- func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON500() *ErrorResponse
- func (r PostUserAPIKeysKeyIDRevokeResponse) Status() string
- func (r PostUserAPIKeysKeyIDRevokeResponse) StatusCode() int
- type PostUserAPIKeysResponse
- func (r PostUserAPIKeysResponse) ContentType() string
- func (r PostUserAPIKeysResponse) GetBody() []byte
- func (r PostUserAPIKeysResponse) GetJSON201() *ApiKeyResponse
- func (r PostUserAPIKeysResponse) GetJSON401() *string
- func (r PostUserAPIKeysResponse) GetJSON500() *ErrorResponse
- func (r PostUserAPIKeysResponse) Status() string
- func (r PostUserAPIKeysResponse) StatusCode() int
- type PostV1AudioSpeechJSONRequestBody
- type PostV1AudioSpeechResponse
- func (r PostV1AudioSpeechResponse) ContentType() string
- func (r PostV1AudioSpeechResponse) GetBody() []byte
- func (r PostV1AudioSpeechResponse) GetJSON400() *ErrorResponse
- func (r PostV1AudioSpeechResponse) GetJSON401() *ErrorResponse
- func (r PostV1AudioSpeechResponse) GetJSON502() *ErrorResponse
- func (r PostV1AudioSpeechResponse) Status() string
- func (r PostV1AudioSpeechResponse) StatusCode() int
- type PostV1AudioTranscriptionsMultipartBody
- type PostV1AudioTranscriptionsMultipartRequestBody
- type PostV1AudioTranscriptionsResponse
- func (r PostV1AudioTranscriptionsResponse) ContentType() string
- func (r PostV1AudioTranscriptionsResponse) GetBody() []byte
- func (r PostV1AudioTranscriptionsResponse) GetJSON200() *map[string]string
- func (r PostV1AudioTranscriptionsResponse) GetJSON400() *ErrorResponse
- func (r PostV1AudioTranscriptionsResponse) GetJSON401() *ErrorResponse
- func (r PostV1AudioTranscriptionsResponse) GetJSON502() *ErrorResponse
- func (r PostV1AudioTranscriptionsResponse) Status() string
- func (r PostV1AudioTranscriptionsResponse) StatusCode() int
- type PostV1ChatCompletionsJSONRequestBody
- type PostV1ChatCompletionsResponse
- func (r PostV1ChatCompletionsResponse) ContentType() string
- func (r PostV1ChatCompletionsResponse) GetBody() []byte
- func (r PostV1ChatCompletionsResponse) GetJSON200() *map[string]interface{}
- func (r PostV1ChatCompletionsResponse) GetJSON400() *ErrorResponse
- func (r PostV1ChatCompletionsResponse) GetJSON401() *ErrorResponse
- func (r PostV1ChatCompletionsResponse) GetJSON403() *map[string]interface{}
- func (r PostV1ChatCompletionsResponse) GetJSON502() *ErrorResponse
- func (r PostV1ChatCompletionsResponse) Status() string
- func (r PostV1ChatCompletionsResponse) StatusCode() int
- type PostV1EmbeddingsJSONRequestBody
- type PostV1EmbeddingsResponse
- func (r PostV1EmbeddingsResponse) ContentType() string
- func (r PostV1EmbeddingsResponse) GetBody() []byte
- func (r PostV1EmbeddingsResponse) GetJSON200() *map[string]interface{}
- func (r PostV1EmbeddingsResponse) GetJSON400() *ErrorResponse
- func (r PostV1EmbeddingsResponse) GetJSON401() *ErrorResponse
- func (r PostV1EmbeddingsResponse) GetJSON502() *ErrorResponse
- func (r PostV1EmbeddingsResponse) Status() string
- func (r PostV1EmbeddingsResponse) StatusCode() int
- type PostV1ImageEditsMultipartBody
- type PostV1ImageEditsMultipartRequestBody
- type PostV1ImageEditsResponse
- func (r PostV1ImageEditsResponse) ContentType() string
- func (r PostV1ImageEditsResponse) GetBody() []byte
- func (r PostV1ImageEditsResponse) GetJSON200() *map[string]interface{}
- func (r PostV1ImageEditsResponse) GetJSON400() *ErrorResponse
- func (r PostV1ImageEditsResponse) GetJSON401() *ErrorResponse
- func (r PostV1ImageEditsResponse) GetJSON502() *ErrorResponse
- func (r PostV1ImageEditsResponse) Status() string
- func (r PostV1ImageEditsResponse) StatusCode() int
- type PostV1ImageGenerationsJSONRequestBody
- type PostV1ImageGenerationsResponse
- func (r PostV1ImageGenerationsResponse) ContentType() string
- func (r PostV1ImageGenerationsResponse) GetBody() []byte
- func (r PostV1ImageGenerationsResponse) GetJSON200() *map[string]interface{}
- func (r PostV1ImageGenerationsResponse) GetJSON400() *ErrorResponse
- func (r PostV1ImageGenerationsResponse) GetJSON401() *ErrorResponse
- func (r PostV1ImageGenerationsResponse) GetJSON502() *ErrorResponse
- func (r PostV1ImageGenerationsResponse) Status() string
- func (r PostV1ImageGenerationsResponse) StatusCode() int
- type PostV1ResponsesCompactJSONRequestBody
- type PostV1ResponsesCompactResponse
- func (r PostV1ResponsesCompactResponse) ContentType() string
- func (r PostV1ResponsesCompactResponse) GetBody() []byte
- func (r PostV1ResponsesCompactResponse) GetJSON200() *map[string]interface{}
- func (r PostV1ResponsesCompactResponse) GetJSON400() *ErrorResponse
- func (r PostV1ResponsesCompactResponse) GetJSON401() *ErrorResponse
- func (r PostV1ResponsesCompactResponse) GetJSON502() *ErrorResponse
- func (r PostV1ResponsesCompactResponse) Status() string
- func (r PostV1ResponsesCompactResponse) StatusCode() int
- type PostV1ResponsesJSONRequestBody
- type PostV1ResponsesResponse
- func (r PostV1ResponsesResponse) ContentType() string
- func (r PostV1ResponsesResponse) GetBody() []byte
- func (r PostV1ResponsesResponse) GetJSON200() *map[string]interface{}
- func (r PostV1ResponsesResponse) GetJSON400() *ErrorResponse
- func (r PostV1ResponsesResponse) GetJSON401() *ErrorResponse
- func (r PostV1ResponsesResponse) GetJSON502() *ErrorResponse
- func (r PostV1ResponsesResponse) Status() string
- func (r PostV1ResponsesResponse) StatusCode() int
- type PostV1VideoGenerationsMultipartBody
- type PostV1VideoGenerationsMultipartBodyAspectRatio
- type PostV1VideoGenerationsMultipartBodyFps
- type PostV1VideoGenerationsMultipartBodyTask
- type PostV1VideoGenerationsMultipartRequestBody
- type PostV1VideoGenerationsResponse
- func (r PostV1VideoGenerationsResponse) ContentType() string
- func (r PostV1VideoGenerationsResponse) GetBody() []byte
- func (r PostV1VideoGenerationsResponse) GetJSON400() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) GetJSON401() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) GetJSON402() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) GetJSON413() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) GetJSON429() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) GetJSON502() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) GetJSON503() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) GetJSON504() *ErrorResponse
- func (r PostV1VideoGenerationsResponse) Status() string
- func (r PostV1VideoGenerationsResponse) StatusCode() int
- type PostVectorDatabaseIndexDirectJSONRequestBody
- type PostVectorDatabaseIndexDirectResponse
- func (r PostVectorDatabaseIndexDirectResponse) ContentType() string
- func (r PostVectorDatabaseIndexDirectResponse) GetBody() []byte
- func (r PostVectorDatabaseIndexDirectResponse) GetJSON200() *map[string]int32
- func (r PostVectorDatabaseIndexDirectResponse) GetJSON400() *ErrorResponse
- func (r PostVectorDatabaseIndexDirectResponse) GetJSON401() *ErrorResponse
- func (r PostVectorDatabaseIndexDirectResponse) GetJSON500() *ErrorResponse
- func (r PostVectorDatabaseIndexDirectResponse) Status() string
- func (r PostVectorDatabaseIndexDirectResponse) StatusCode() int
- type PostVectorDatabaseIndexJobsJSONRequestBody
- type PostVectorDatabaseIndexJobsResponse
- func (r PostVectorDatabaseIndexJobsResponse) ContentType() string
- func (r PostVectorDatabaseIndexJobsResponse) GetBody() []byte
- func (r PostVectorDatabaseIndexJobsResponse) GetJSON202() *map[string]string
- func (r PostVectorDatabaseIndexJobsResponse) GetJSON400() *ErrorResponse
- func (r PostVectorDatabaseIndexJobsResponse) GetJSON401() *ErrorResponse
- func (r PostVectorDatabaseIndexJobsResponse) GetJSON500() *ErrorResponse
- func (r PostVectorDatabaseIndexJobsResponse) Status() string
- func (r PostVectorDatabaseIndexJobsResponse) StatusCode() int
- type PostVectorDatabaseRecommendJSONRequestBody
- type PostVectorDatabaseRecommendResponse
- func (r PostVectorDatabaseRecommendResponse) ContentType() string
- func (r PostVectorDatabaseRecommendResponse) GetBody() []byte
- func (r PostVectorDatabaseRecommendResponse) GetJSON200() *SearchHitResponse
- func (r PostVectorDatabaseRecommendResponse) GetJSON400() *ErrorResponse
- func (r PostVectorDatabaseRecommendResponse) GetJSON401() *ErrorResponse
- func (r PostVectorDatabaseRecommendResponse) GetJSON500() *ErrorResponse
- func (r PostVectorDatabaseRecommendResponse) Status() string
- func (r PostVectorDatabaseRecommendResponse) StatusCode() int
- type PostVectorDatabaseSearchJSONRequestBody
- type PostVectorDatabaseSearchResponse
- func (r PostVectorDatabaseSearchResponse) ContentType() string
- func (r PostVectorDatabaseSearchResponse) GetBody() []byte
- func (r PostVectorDatabaseSearchResponse) GetJSON200() *SearchHitResponse
- func (r PostVectorDatabaseSearchResponse) GetJSON400() *ErrorResponse
- func (r PostVectorDatabaseSearchResponse) GetJSON401() *ErrorResponse
- func (r PostVectorDatabaseSearchResponse) GetJSON500() *ErrorResponse
- func (r PostVectorDatabaseSearchResponse) Status() string
- func (r PostVectorDatabaseSearchResponse) StatusCode() int
- type PostVectorDatabaseViewElementJSONRequestBody
- type PostVectorDatabaseViewElementResponse
- func (r PostVectorDatabaseViewElementResponse) ContentType() string
- func (r PostVectorDatabaseViewElementResponse) GetBody() []byte
- func (r PostVectorDatabaseViewElementResponse) GetJSON200() *map[string]string
- func (r PostVectorDatabaseViewElementResponse) GetJSON400() *ErrorResponse
- func (r PostVectorDatabaseViewElementResponse) GetJSON401() *ErrorResponse
- func (r PostVectorDatabaseViewElementResponse) GetJSON500() *ErrorResponse
- func (r PostVectorDatabaseViewElementResponse) Status() string
- func (r PostVectorDatabaseViewElementResponse) StatusCode() int
- type PostVectorDatabasesJSONRequestBody
- type PostVectorDatabasesResponse
- func (r PostVectorDatabasesResponse) ContentType() string
- func (r PostVectorDatabasesResponse) GetBody() []byte
- func (r PostVectorDatabasesResponse) GetJSON201() *VectorDatabaseResponse
- func (r PostVectorDatabasesResponse) GetJSON400() *ErrorResponse
- func (r PostVectorDatabasesResponse) GetJSON401() *ErrorResponse
- func (r PostVectorDatabasesResponse) GetJSON500() *ErrorResponse
- func (r PostVectorDatabasesResponse) Status() string
- func (r PostVectorDatabasesResponse) StatusCode() int
- type PreviewInstanceResponse
- type PreviewInstanceUpdateRequest
- type PricingService
- type PricingStatus
- type PublicGPUPreferenceJSON
- type PublicPricingAvailability
- type PublicPricingGPU
- type PublicPricingResponse
- type PublicPricingService
- type PutV1ResponsesSessionsStatusJSONBody
- type PutV1ResponsesSessionsStatusJSONRequestBody
- type PutV1ResponsesSessionsStatusResponse
- func (r PutV1ResponsesSessionsStatusResponse) ContentType() string
- func (r PutV1ResponsesSessionsStatusResponse) GetBody() []byte
- func (r PutV1ResponsesSessionsStatusResponse) GetJSON200() *map[string]interface{}
- func (r PutV1ResponsesSessionsStatusResponse) GetJSON400() *ErrorResponse
- func (r PutV1ResponsesSessionsStatusResponse) GetJSON401() *ErrorResponse
- func (r PutV1ResponsesSessionsStatusResponse) GetJSON502() *ErrorResponse
- func (r PutV1ResponsesSessionsStatusResponse) Status() string
- func (r PutV1ResponsesSessionsStatusResponse) StatusCode() int
- type RecommendRequest
- type RecommendedGPU
- type RefreshRequest
- type RefreshResponse
- type RegisterPasskeyRequest
- type RegisterRequest
- type RegisterResponse
- type ReplicaSetListResponse
- type ReplicaSetResponse
- type RequestEditorFn
- type ResetPasswordRequest
- type ResetPasswordResponse
- type ResourceMetricSnapshot
- type ResourceMetricsResponse
- type ResponsesRequestEnvelope
- type RuntimeConfigRequest
- type RuntimeConfigResponse
- type RuntimeMemoryEstimateResponse
- type ScaleReplicaSetRequest
- type ScheduleRuleListResponse
- type ScheduleRuleRequest
- type ScheduleRuleResponse
- type SearchHitResponse
- type SearchHitSourceResponse
- type SearchRecommendRequest
- type SearchRequest
- type ServingEndpointResponse
- type ServingProviderResponse
- type ServingTargetRequest
- type ServingTargetResponse
- type SmartBalancerRouteDestinationRequest
- type SmartBalancerRouteDestinationResponse
- type SmartBalancerRouteRequest
- type SmartBalancerRouteResponse
- type SmartBalancerRouterModelRequest
- type SmartBalancerRouterModelResponse
- type SmartBalancerViewResponse
- type StorageVolumeResponse
- type SystemToolOutput
- type TargetGroupMemberRequest
- type TargetGroupMemberResponse
- type TargetGroupResponse
- type Template
- type TemplateWithVariants
- type Timestamp
- type Translation
- type UpdateAccountMemberRequest
- type UpdateAccountRequest
- type UpdateFirewallRequest
- type UpdateFirewallRuleRequest
- type UpdateFiscalProfileRequest
- type UpdateInstanceRequest
- type UpdatePreferencesRequest
- type UpdateReplicaSetRequest
- type UpdateSmartBalancerRequest
- type UpdateTargetGroupRequest
- type UpdateVectorDatabaseRequest
- type UserInfoResponse
- type UserPreferencesResponse
- type Variant
- type VariantTranslation
- type VariantWithRelations
- type VectorDatabaseResponse
- type VerifyEmailResponse
- type ViewElementRequest
Constants ¶
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 ¶
NewDeleteAccountsCurrentRequest constructs an http.Request for the DeleteAccountsCurrent method
func NewDeleteAuthPasskeysRequest ¶
NewDeleteAuthPasskeysRequest constructs an http.Request for the DeleteAuthPasskeys method
func NewDeleteAuthTotpRequest ¶
NewDeleteAuthTotpRequest constructs an http.Request for the DeleteAuthTotp method
func NewDeleteFirewallRequest ¶
NewDeleteFirewallRequest constructs an http.Request for the DeleteFirewall method
func NewDeleteFirewallRuleRequest ¶
NewDeleteFirewallRuleRequest constructs an http.Request for the DeleteFirewallRule method
func NewDeleteInstanceRequest ¶
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 ¶
NewDeleteReplicaSetRequest constructs an http.Request for the DeleteReplicaSet method
func NewDeleteSmartBalancerRequest ¶
NewDeleteSmartBalancerRequest constructs an http.Request for the DeleteSmartBalancer method
func NewDeleteStorageVolumeRequest ¶
NewDeleteStorageVolumeRequest constructs an http.Request for the DeleteStorageVolume method
func NewDeleteTargetGroupRequest ¶
NewDeleteTargetGroupRequest constructs an http.Request for the DeleteTargetGroup method
func NewDeleteV1ResponsesSessionRequest ¶ added in v1.0.7
func NewDeleteV1ResponsesSessionRequest(server string, responseId string, params *DeleteV1ResponsesSessionParams) (*http.Request, error)
NewDeleteV1ResponsesSessionRequest constructs an http.Request for the DeleteV1ResponsesSession method
func NewDeleteV1ResponsesSessionsRequest ¶ added in v1.0.7
NewDeleteV1ResponsesSessionsRequest constructs an http.Request for the DeleteV1ResponsesSessions method
func NewDeleteVectorDatabaseRequest ¶
NewDeleteVectorDatabaseRequest constructs an http.Request for the DeleteVectorDatabase method
func NewGetAccountsCurrentMembersRequest ¶
NewGetAccountsCurrentMembersRequest constructs an http.Request for the GetAccountsCurrentMembers method
func NewGetAccountsCurrentRequest ¶
NewGetAccountsCurrentRequest constructs an http.Request for the GetAccountsCurrent method
func NewGetAccountsRequest ¶
NewGetAccountsRequest constructs an http.Request for the GetAccounts method
func NewGetApiKeysRequest ¶
NewGetApiKeysRequest constructs an http.Request for the GetApiKeys method
func NewGetAuthMeRequest ¶
NewGetAuthMeRequest constructs an http.Request for the GetAuthMe method
func NewGetAuthPasskeysRequest ¶
NewGetAuthPasskeysRequest constructs an http.Request for the GetAuthPasskeys method
func NewGetAuthPreferencesRequest ¶
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 ¶
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 ¶
NewGetBillingPaymentsRequest constructs an http.Request for the GetBillingPayments method
func NewGetFirewallRequest ¶
NewGetFirewallRequest constructs an http.Request for the GetFirewall method
func NewGetFirewallRuleRequest ¶
NewGetFirewallRuleRequest constructs an http.Request for the GetFirewallRule method
func NewGetFirewallRulesRequest ¶
NewGetFirewallRulesRequest constructs an http.Request for the GetFirewallRules method
func NewGetFirewallsRequest ¶
NewGetFirewallsRequest constructs an http.Request for the GetFirewalls method
func NewGetHealthRequest ¶
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 ¶
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 ¶
NewGetInstanceByIDRequest constructs an http.Request for the GetInstanceByID method
func NewGetInstanceConfigGpusRequest ¶
NewGetInstanceConfigGpusRequest constructs an http.Request for the GetInstanceConfigGpus method
func NewGetInstanceScheduleRulesRequest ¶
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 ¶
NewGetInvitationsRequest constructs an http.Request for the GetInvitations method
func NewGetModelsFixedRequest ¶
NewGetModelsFixedRequest constructs an http.Request for the GetModelsFixed method
func NewGetReplicaSetRequest ¶
NewGetReplicaSetRequest constructs an http.Request for the GetReplicaSet method
func NewGetReplicaSetsRequest ¶
NewGetReplicaSetsRequest constructs an http.Request for the GetReplicaSets method
func NewGetServingEndpointsRequest ¶
NewGetServingEndpointsRequest constructs an http.Request for the GetServingEndpoints method
func NewGetSmartBalancersRequest ¶
NewGetSmartBalancersRequest constructs an http.Request for the GetSmartBalancers method
func NewGetStorageVolumeRequest ¶
NewGetStorageVolumeRequest constructs an http.Request for the GetStorageVolume method
func NewGetStorageVolumesRequest ¶
NewGetStorageVolumesRequest constructs an http.Request for the GetStorageVolumes method
func NewGetSystemToolsRequest ¶
NewGetSystemToolsRequest constructs an http.Request for the GetSystemTools method
func NewGetTargetGroupRequest ¶
NewGetTargetGroupRequest constructs an http.Request for the GetTargetGroup method
func NewGetTargetGroupsRequest ¶
NewGetTargetGroupsRequest constructs an http.Request for the GetTargetGroups method
func NewGetUserAPIKeysRequest ¶ added in v1.0.3
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 ¶
NewGetV1PublicPricingRequest constructs an http.Request for the GetV1PublicPricing method
func NewGetV1RealtimeRequest ¶ added in v1.0.9
func NewGetV1RealtimeRequest(server string, params *GetV1RealtimeParams) (*http.Request, error)
NewGetV1RealtimeRequest constructs an http.Request for the GetV1Realtime method
func NewGetV1ResponsesSessionDetailRequest ¶ added in v1.0.7
NewGetV1ResponsesSessionDetailRequest constructs an http.Request for the GetV1ResponsesSessionDetail method
func NewGetV1ResponsesSessionsListRequest ¶ added in v1.0.7
func NewGetV1ResponsesSessionsListRequest(server string, params *GetV1ResponsesSessionsListParams) (*http.Request, error)
NewGetV1ResponsesSessionsListRequest constructs an http.Request for the GetV1ResponsesSessionsList method
func NewGetV1ResponsesSessionsStatusRequest ¶ added in v1.0.7
NewGetV1ResponsesSessionsStatusRequest constructs an http.Request for the GetV1ResponsesSessionsStatus method
func NewGetV1ResponsesWebSocketRequest ¶
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 ¶
NewGetVectorDatabaseRequest constructs an http.Request for the GetVectorDatabase method
func NewGetVectorDatabasesRequest ¶
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 ¶
NewPostApiKeysKeyIDRevokeRequest constructs an http.Request for the PostApiKeysKeyIDRevoke method
func NewPostApiKeysRequest ¶
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 ¶
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 ¶
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 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 ¶
NewPostInstanceStartRequest constructs an http.Request for the PostInstanceStart method
func NewPostInstanceStopRequest ¶
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
NewPostUserAPIKeysKeyIDRevokeRequest constructs an http.Request for the PostUserAPIKeysKeyIDRevoke method
func NewPostUserAPIKeysRequest ¶ added in v1.0.3
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 NewPostV1VideoGenerationsRequestWithBody ¶ added in v1.0.8
func NewPostV1VideoGenerationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1VideoGenerationsRequestWithBody constructs an http.Request for the PostV1VideoGenerations 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
func NewPutV1ResponsesSessionsStatusRequest ¶ added in v1.0.7
func NewPutV1ResponsesSessionsStatusRequest(server string, body PutV1ResponsesSessionsStatusJSONRequestBody) (*http.Request, error)
NewPutV1ResponsesSessionsStatusRequest calls the generic PutV1ResponsesSessionsStatus builder with application/json body
func NewPutV1ResponsesSessionsStatusRequestWithBody ¶ added in v1.0.7
func NewPutV1ResponsesSessionsStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1ResponsesSessionsStatusRequestWithBody constructs an http.Request for the PutV1ResponsesSessionsStatus 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 (*API) AccessToken ¶
AccessToken returns the access token currently in use.
func (*API) Login ¶
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) SetAccessToken ¶
SetAccessToken replaces the bearer access token used for requests.
func (*API) SetAuthorization ¶
SetAuthorization sets a raw Authorization header value, overriding the bearer token and API key.
func (*API) SetRefreshToken ¶
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"`
FiscalCustomerType *string `json:"fiscal_customer_type,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"`
RefAudio *string `json:"ref_audio,omitempty"`
RefText *string `json:"ref_text,omitempty"`
ResponseFormat *string `json:"response_format,omitempty"`
Speed *float32 `json:"speed,omitempty"`
TaskType *string `json:"task_type,omitempty"`
Voice *string `json:"voice,omitempty"`
XVectorOnlyMode *bool `json:"x_vector_only_mode,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 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) DeleteV1ResponsesSession ¶ added in v1.0.7
func (c *Client) DeleteV1ResponsesSession(ctx context.Context, responseId string, params *DeleteV1ResponsesSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1ResponsesSession Delete a saved response or whole conversation
Deletes one snapshot, or the full conversation chain when "conversation": true.
Corresponds with DELETE /v1/responses/sessions/{response_id} (the `DeleteV1ResponsesSession` operationId).
func (*Client) DeleteV1ResponsesSessions ¶ added in v1.0.7
func (c *Client) DeleteV1ResponsesSessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1ResponsesSessions Delete all saved Responses conversations
Corresponds with DELETE /v1/responses/sessions (the `DeleteV1ResponsesSessions` 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) GetV1Realtime ¶ added in v1.0.9
func (c *Client) GetV1Realtime(ctx context.Context, params *GetV1RealtimeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1Realtime Duplex realtime WebSocket proxy
Proxies a duplex realtime session (/v1/realtime?duplex=1) to the instance serving the requested omni model. Accepts Bearer access tokens or API keys. Exchanges OpenAI-Realtime-style events (session.update, input_audio_buffer.append, response.create, response.audio.delta).
Corresponds with GET /v1/realtime (the `GetV1Realtime` operationId).
func (*Client) GetV1ResponsesSessionDetail ¶ added in v1.0.7
func (c *Client) GetV1ResponsesSessionDetail(ctx context.Context, responseId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ResponsesSessionDetail Get a saved Responses conversation
Corresponds with GET /v1/responses/sessions/{response_id} (the `GetV1ResponsesSessionDetail` operationId).
func (*Client) GetV1ResponsesSessionsList ¶ added in v1.0.7
func (c *Client) GetV1ResponsesSessionsList(ctx context.Context, params *GetV1ResponsesSessionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ResponsesSessionsList List saved Responses conversations
Lists the account's stored response snapshots (chat logs) with optional model, tag, limit and cursor filters.
Corresponds with GET /v1/responses/sessions (the `GetV1ResponsesSessionsList` operationId).
func (*Client) GetV1ResponsesSessionsStatus ¶ added in v1.0.7
func (c *Client) GetV1ResponsesSessionsStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV1ResponsesSessionsStatus Read the account persistence switch
Corresponds with GET /v1/responses/sessions/status (the `GetV1ResponsesSessionsStatus` 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) 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) PostV1VideoGenerationsWithBody ¶ added in v1.0.8
func (c *Client) PostV1VideoGenerationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1VideoGenerationsWithBody Synchronous video generation
Generates a video from a prompt and optional image, video, and audio references. Accepts Bearer access tokens or API keys. MiniMax-H3 prompts are limited to 7,000 Unicode characters; image references are limited to 30 MiB, video references to 50 MiB, audio references to 15 MiB, and the aggregate input-reference plus audio bytes to 64 MiB. HTTP(S) audio_reference_url values are limited to 16 KiB; data URLs are limited by the 15 MiB decoded audio payload.
Takes any type of body and a specified content type.
Corresponds with POST /v1/videos (the `PostV1VideoGenerations` 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).
func (*Client) PutV1ResponsesSessionsStatus ¶ added in v1.0.7
func (c *Client) PutV1ResponsesSessionsStatus(ctx context.Context, body PutV1ResponsesSessionsStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ResponsesSessionsStatus Flip the account persistence switch
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` operationId).
func (*Client) PutV1ResponsesSessionsStatusWithBody ¶ added in v1.0.7
func (c *Client) PutV1ResponsesSessionsStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1ResponsesSessionsStatusWithBody Flip the account persistence switch
Takes any type of body and a specified content type.
Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` 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)
// 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)
// GetV1Realtime Duplex realtime WebSocket proxy
//
// Proxies a duplex realtime session (/v1/realtime?duplex=1) to the instance serving the requested omni model. Accepts Bearer access tokens or API keys. Exchanges OpenAI-Realtime-style events (session.update, input_audio_buffer.append, response.create, response.audio.delta).
//
// Corresponds with GET /v1/realtime (the `GetV1Realtime` operationId).
GetV1Realtime(ctx context.Context, params *GetV1RealtimeParams, 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)
// DeleteV1ResponsesSessions Delete all saved Responses conversations
//
// Corresponds with DELETE /v1/responses/sessions (the `DeleteV1ResponsesSessions` operationId).
DeleteV1ResponsesSessions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ResponsesSessionsList List saved Responses conversations
//
// Lists the account's stored response snapshots (chat logs) with optional model, tag, limit and cursor filters.
//
// Corresponds with GET /v1/responses/sessions (the `GetV1ResponsesSessionsList` operationId).
GetV1ResponsesSessionsList(ctx context.Context, params *GetV1ResponsesSessionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ResponsesSessionsStatus Read the account persistence switch
//
// Corresponds with GET /v1/responses/sessions/status (the `GetV1ResponsesSessionsStatus` operationId).
GetV1ResponsesSessionsStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ResponsesSessionsStatusWithBody Flip the account persistence switch
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` operationId).
PutV1ResponsesSessionsStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1ResponsesSessionsStatus Flip the account persistence switch
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` operationId).
PutV1ResponsesSessionsStatus(ctx context.Context, body PutV1ResponsesSessionsStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ResponsesSession Delete a saved response or whole conversation
//
// Deletes one snapshot, or the full conversation chain when "conversation": true.
//
// Corresponds with DELETE /v1/responses/sessions/{response_id} (the `DeleteV1ResponsesSession` operationId).
DeleteV1ResponsesSession(ctx context.Context, responseId string, params *DeleteV1ResponsesSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ResponsesSessionDetail Get a saved Responses conversation
//
// Corresponds with GET /v1/responses/sessions/{response_id} (the `GetV1ResponsesSessionDetail` operationId).
GetV1ResponsesSessionDetail(ctx context.Context, responseId string, 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)
// PostV1VideoGenerationsWithBody Synchronous video generation
//
// Generates a video from a prompt and optional image, video, and audio references. Accepts Bearer access tokens or API keys. MiniMax-H3 prompts are limited to 7,000 Unicode characters; image references are limited to 30 MiB, video references to 50 MiB, audio references to 15 MiB, and the aggregate input-reference plus audio bytes to 64 MiB. HTTP(S) audio_reference_url values are limited to 16 KiB; data URLs are limited by the 15 MiB decoded audio payload.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/videos (the `PostV1VideoGenerations` operationId).
PostV1VideoGenerationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) DeleteV1ResponsesSessionWithResponse ¶ added in v1.0.7
func (c *ClientWithResponses) DeleteV1ResponsesSessionWithResponse(ctx context.Context, responseId string, params *DeleteV1ResponsesSessionParams, reqEditors ...RequestEditorFn) (*DeleteV1ResponsesSessionResponse, error)
DeleteV1ResponsesSessionWithResponse Delete a saved response or whole conversation
Deletes one snapshot, or the full conversation chain when "conversation": true.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/responses/sessions/{response_id} (the `DeleteV1ResponsesSession` operationId).
func (*ClientWithResponses) DeleteV1ResponsesSessionsWithResponse ¶ added in v1.0.7
func (c *ClientWithResponses) DeleteV1ResponsesSessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteV1ResponsesSessionsResponse, error)
DeleteV1ResponsesSessionsWithResponse Delete all saved Responses conversations
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/responses/sessions (the `DeleteV1ResponsesSessions` 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) GetV1RealtimeWithResponse ¶ added in v1.0.9
func (c *ClientWithResponses) GetV1RealtimeWithResponse(ctx context.Context, params *GetV1RealtimeParams, reqEditors ...RequestEditorFn) (*GetV1RealtimeResponse, error)
GetV1RealtimeWithResponse Duplex realtime WebSocket proxy
Proxies a duplex realtime session (/v1/realtime?duplex=1) to the instance serving the requested omni model. Accepts Bearer access tokens or API keys. Exchanges OpenAI-Realtime-style events (session.update, input_audio_buffer.append, response.create, response.audio.delta).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/realtime (the `GetV1Realtime` operationId).
func (*ClientWithResponses) GetV1ResponsesSessionDetailWithResponse ¶ added in v1.0.7
func (c *ClientWithResponses) GetV1ResponsesSessionDetailWithResponse(ctx context.Context, responseId string, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionDetailResponse, error)
GetV1ResponsesSessionDetailWithResponse Get a saved Responses conversation
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/responses/sessions/{response_id} (the `GetV1ResponsesSessionDetail` operationId).
func (*ClientWithResponses) GetV1ResponsesSessionsListWithResponse ¶ added in v1.0.7
func (c *ClientWithResponses) GetV1ResponsesSessionsListWithResponse(ctx context.Context, params *GetV1ResponsesSessionsListParams, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionsListResponse, error)
GetV1ResponsesSessionsListWithResponse List saved Responses conversations
Lists the account's stored response snapshots (chat logs) with optional model, tag, limit and cursor filters.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/responses/sessions (the `GetV1ResponsesSessionsList` operationId).
func (*ClientWithResponses) GetV1ResponsesSessionsStatusWithResponse ¶ added in v1.0.7
func (c *ClientWithResponses) GetV1ResponsesSessionsStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionsStatusResponse, error)
GetV1ResponsesSessionsStatusWithResponse Read the account persistence switch
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/responses/sessions/status (the `GetV1ResponsesSessionsStatus` 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 ¶
func (c *ClientWithResponses) PatchAccountsCurrentFiscalProfileWithResponse(ctx context.Context, body PatchAccountsCurrentFiscalProfileJSONRequestBody, 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).
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 ¶
func (c *ClientWithResponses) PostAuthPasskeysFinishRegistrationWithResponse(ctx context.Context, body PostAuthPasskeysFinishRegistrationJSONRequestBody, 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).
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 ¶
func (c *ClientWithResponses) PostBillingCheckoutWithResponse(ctx context.Context, params *PostBillingCheckoutParams, body PostBillingCheckoutJSONRequestBody, 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).
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) 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) PostV1VideoGenerationsWithBodyWithResponse ¶ added in v1.0.8
func (c *ClientWithResponses) PostV1VideoGenerationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1VideoGenerationsResponse, error)
PostV1VideoGenerationsWithBodyWithResponse Synchronous video generation
Generates a video from a prompt and optional image, video, and audio references. Accepts Bearer access tokens or API keys. MiniMax-H3 prompts are limited to 7,000 Unicode characters; image references are limited to 30 MiB, video references to 50 MiB, audio references to 15 MiB, and the aggregate input-reference plus audio bytes to 64 MiB. HTTP(S) audio_reference_url values are limited to 16 KiB; data URLs are limited by the 15 MiB decoded audio payload.
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/videos (the `PostV1VideoGenerations` 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).
func (*ClientWithResponses) PutV1ResponsesSessionsStatusWithBodyWithResponse ¶ added in v1.0.7
func (c *ClientWithResponses) PutV1ResponsesSessionsStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ResponsesSessionsStatusResponse, error)
PutV1ResponsesSessionsStatusWithBodyWithResponse Flip the account persistence switch
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` operationId).
func (*ClientWithResponses) PutV1ResponsesSessionsStatusWithResponse ¶ added in v1.0.7
func (c *ClientWithResponses) PutV1ResponsesSessionsStatusWithResponse(ctx context.Context, body PutV1ResponsesSessionsStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ResponsesSessionsStatusResponse, error)
PutV1ResponsesSessionsStatusWithResponse Flip the account persistence switch
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` 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)
// 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)
// GetV1RealtimeWithResponse Duplex realtime WebSocket proxy
//
// Proxies a duplex realtime session (/v1/realtime?duplex=1) to the instance serving the requested omni model. Accepts Bearer access tokens or API keys. Exchanges OpenAI-Realtime-style events (session.update, input_audio_buffer.append, response.create, response.audio.delta).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/realtime (the `GetV1Realtime` operationId).
GetV1RealtimeWithResponse(ctx context.Context, params *GetV1RealtimeParams, reqEditors ...RequestEditorFn) (*GetV1RealtimeResponse, 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)
// DeleteV1ResponsesSessionsWithResponse Delete all saved Responses conversations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/responses/sessions (the `DeleteV1ResponsesSessions` operationId).
DeleteV1ResponsesSessionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteV1ResponsesSessionsResponse, error)
// GetV1ResponsesSessionsListWithResponse List saved Responses conversations
//
// Lists the account's stored response snapshots (chat logs) with optional model, tag, limit and cursor filters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/responses/sessions (the `GetV1ResponsesSessionsList` operationId).
GetV1ResponsesSessionsListWithResponse(ctx context.Context, params *GetV1ResponsesSessionsListParams, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionsListResponse, error)
// GetV1ResponsesSessionsStatusWithResponse Read the account persistence switch
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/responses/sessions/status (the `GetV1ResponsesSessionsStatus` operationId).
GetV1ResponsesSessionsStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionsStatusResponse, error)
// PutV1ResponsesSessionsStatusWithBodyWithResponse Flip the account persistence switch
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` operationId).
PutV1ResponsesSessionsStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1ResponsesSessionsStatusResponse, error)
// PutV1ResponsesSessionsStatusWithResponse Flip the account persistence switch
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/responses/sessions/status (the `PutV1ResponsesSessionsStatus` operationId).
PutV1ResponsesSessionsStatusWithResponse(ctx context.Context, body PutV1ResponsesSessionsStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1ResponsesSessionsStatusResponse, error)
// DeleteV1ResponsesSessionWithResponse Delete a saved response or whole conversation
//
// Deletes one snapshot, or the full conversation chain when "conversation": true.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/responses/sessions/{response_id} (the `DeleteV1ResponsesSession` operationId).
DeleteV1ResponsesSessionWithResponse(ctx context.Context, responseId string, params *DeleteV1ResponsesSessionParams, reqEditors ...RequestEditorFn) (*DeleteV1ResponsesSessionResponse, error)
// GetV1ResponsesSessionDetailWithResponse Get a saved Responses conversation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/responses/sessions/{response_id} (the `GetV1ResponsesSessionDetail` operationId).
GetV1ResponsesSessionDetailWithResponse(ctx context.Context, responseId string, reqEditors ...RequestEditorFn) (*GetV1ResponsesSessionDetailResponse, 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)
// PostV1VideoGenerationsWithBodyWithResponse Synchronous video generation
//
// Generates a video from a prompt and optional image, video, and audio references. Accepts Bearer access tokens or API keys. MiniMax-H3 prompts are limited to 7,000 Unicode characters; image references are limited to 30 MiB, video references to 50 MiB, audio references to 15 MiB, and the aggregate input-reference plus audio bytes to 64 MiB. HTTP(S) audio_reference_url values are limited to 16 KiB; data URLs are limited by the 15 MiB decoded audio payload.
//
// 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/videos (the `PostV1VideoGenerations` operationId).
PostV1VideoGenerationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1VideoGenerationsResponse, 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"`
SupportedProtocols *[]string `json:"supported_protocols,omitempty"`
}
CreateInstanceRequest defines model for CreateInstanceRequest.
type CreateInvitationRequest ¶
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 ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetBody ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON400 ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON401 ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON403 ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON404 ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON500 ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) Status ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccountsCurrentInvitationsByInvitationIDResponse) StatusCode ¶
func (r DeleteAccountsCurrentInvitationsByInvitationIDResponse) StatusCode() int
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 ¶
func (r DeleteAccountsCurrentResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteAccountsCurrentResponse) GetJSON404 ¶
func (r DeleteAccountsCurrentResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteAccountsCurrentResponse) GetJSON500 ¶
func (r DeleteAccountsCurrentResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteAccountsCurrentResponse) Status ¶
func (r DeleteAccountsCurrentResponse) Status() string
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 ¶
func (r DeleteAuthPasskeysResponse) Status() string
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 ¶
func (r DeleteFirewallRuleResponse) Status() string
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 ¶
func (r DeleteInstanceScheduleRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteInstanceScheduleRuleResponse) GetBody ¶
func (r DeleteInstanceScheduleRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteInstanceScheduleRuleResponse) GetJSON400 ¶
func (r DeleteInstanceScheduleRuleResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteInstanceScheduleRuleResponse) GetJSON401 ¶
func (r DeleteInstanceScheduleRuleResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteInstanceScheduleRuleResponse) GetJSON403 ¶
func (r DeleteInstanceScheduleRuleResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteInstanceScheduleRuleResponse) GetJSON404 ¶
func (r DeleteInstanceScheduleRuleResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteInstanceScheduleRuleResponse) GetJSON500 ¶
func (r DeleteInstanceScheduleRuleResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteInstanceScheduleRuleResponse) Status ¶
func (r DeleteInstanceScheduleRuleResponse) Status() string
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 ¶
func (r DeleteSmartBalancerResponse) GetJSON400() *ErrorResponse
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 ¶
func (r DeleteSmartBalancerResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteSmartBalancerResponse) GetJSON404 ¶
func (r DeleteSmartBalancerResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSmartBalancerResponse) GetJSON500 ¶
func (r DeleteSmartBalancerResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteSmartBalancerResponse) Status ¶
func (r DeleteSmartBalancerResponse) Status() string
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 ¶
func (r DeleteStorageVolumeResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteStorageVolumeResponse) GetJSON401 ¶
func (r DeleteStorageVolumeResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteStorageVolumeResponse) Status ¶
func (r DeleteStorageVolumeResponse) Status() string
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 DeleteV1ResponsesSessionParams ¶ added in v1.0.7
type DeleteV1ResponsesSessionParams struct {
// Conversation Delete the full conversation chain
Conversation *string `form:"conversation,omitempty" json:"conversation,omitempty"`
}
DeleteV1ResponsesSessionParams defines parameters for DeleteV1ResponsesSession.
type DeleteV1ResponsesSessionResponse ¶ added in v1.0.7
type DeleteV1ResponsesSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *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
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *ErrorResponse
}
func ParseDeleteV1ResponsesSessionResponse ¶ added in v1.0.7
func ParseDeleteV1ResponsesSessionResponse(rsp *http.Response) (*DeleteV1ResponsesSessionResponse, error)
ParseDeleteV1ResponsesSessionResponse parses an HTTP response from a DeleteV1ResponsesSessionWithResponse call
func (DeleteV1ResponsesSessionResponse) ContentType ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteV1ResponsesSessionResponse) GetBody ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1ResponsesSessionResponse) GetJSON200 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteV1ResponsesSessionResponse) GetJSON401 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1ResponsesSessionResponse) GetJSON403 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1ResponsesSessionResponse) GetJSON404 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteV1ResponsesSessionResponse) GetJSON502 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (DeleteV1ResponsesSessionResponse) Status ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ResponsesSessionResponse) StatusCode ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ResponsesSessionsResponse ¶ added in v1.0.7
type DeleteV1ResponsesSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ErrorResponse
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *ErrorResponse
}
func ParseDeleteV1ResponsesSessionsResponse ¶ added in v1.0.7
func ParseDeleteV1ResponsesSessionsResponse(rsp *http.Response) (*DeleteV1ResponsesSessionsResponse, error)
ParseDeleteV1ResponsesSessionsResponse parses an HTTP response from a DeleteV1ResponsesSessionsWithResponse call
func (DeleteV1ResponsesSessionsResponse) ContentType ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteV1ResponsesSessionsResponse) GetBody ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteV1ResponsesSessionsResponse) GetJSON200 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteV1ResponsesSessionsResponse) GetJSON401 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteV1ResponsesSessionsResponse) GetJSON403 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteV1ResponsesSessionsResponse) GetJSON502 ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (DeleteV1ResponsesSessionsResponse) Status ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ResponsesSessionsResponse) StatusCode ¶ added in v1.0.7
func (r DeleteV1ResponsesSessionsResponse) 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 ¶
func (r DeleteVectorDatabaseResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteVectorDatabaseResponse) GetJSON401 ¶
func (r DeleteVectorDatabaseResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteVectorDatabaseResponse) GetJSON404 ¶
func (r DeleteVectorDatabaseResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteVectorDatabaseResponse) GetJSON500 ¶
func (r DeleteVectorDatabaseResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteVectorDatabaseResponse) Status ¶
func (r DeleteVectorDatabaseResponse) Status() string
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 ¶
func (r GetAccountsCurrentMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountsCurrentMembersResponse) GetJSON200 ¶
func (r GetAccountsCurrentMembersResponse) GetJSON200() *AccountMemberListResponse
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 ¶
func (r GetAccountsCurrentMembersResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetAccountsCurrentMembersResponse) GetJSON500 ¶
func (r GetAccountsCurrentMembersResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAccountsCurrentMembersResponse) Status ¶
func (r GetAccountsCurrentMembersResponse) Status() string
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 ¶
func (r GetAccountsCurrentResponse) GetJSON200() *AccountResponse
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 ¶
func (r GetAccountsCurrentResponse) Status() string
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 ¶
func (r GetAuthPasskeysResponse) GetJSON200() *PasskeyListResponse
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 ¶
func (r GetAuthPreferencesResponse) GetJSON200() *UserPreferencesResponse
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 ¶
func (r GetAuthPreferencesResponse) Status() string
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 ¶
func (r GetAuthVerifyEmailResponse) GetJSON200() *VerifyEmailResponse
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 ¶
func (r GetAuthVerifyEmailResponse) Status() string
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 ¶
func (r GetBillingBalanceResponse) GetJSON200() *AccountBalanceResponse
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 ¶
func (r GetBillingLedgerResponse) GetJSON200() *LedgerHistoryResponse
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 ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetBody ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON400 ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON401 ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON404 ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON500 ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBillingPaymentsPaymentIDInvoicePDFResponse) Status ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingPaymentsPaymentIDInvoicePDFResponse) StatusCode ¶
func (r GetBillingPaymentsPaymentIDInvoicePDFResponse) StatusCode() int
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 ¶
func (r GetBillingPaymentsResponse) GetJSON200() *PaymentsResponse
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 ¶
func (r GetBillingPaymentsResponse) Status() string
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 ¶
func (r GetFirewallRuleResponse) GetJSON200() *FirewallRuleResponse
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 ¶
func (r GetFirewallRulesResponse) GetJSON200() *[]FirewallRuleResponse
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 ¶
func (r GetHuggingfaceEmbeddingsResponse) GetJSON200() *HuggingFaceModelsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHuggingfaceEmbeddingsResponse) GetJSON401 ¶
func (r GetHuggingfaceEmbeddingsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetHuggingfaceEmbeddingsResponse) Status ¶
func (r GetHuggingfaceEmbeddingsResponse) Status() string
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 ¶
func (r GetHuggingfaceFilesResponse) GetJSON200() *HuggingFaceGGUFFileResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHuggingfaceFilesResponse) GetJSON400 ¶
func (r GetHuggingfaceFilesResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetHuggingfaceFilesResponse) GetJSON401 ¶
func (r GetHuggingfaceFilesResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetHuggingfaceFilesResponse) Status ¶
func (r GetHuggingfaceFilesResponse) Status() string
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 ¶
func (r GetHuggingfaceModelsResponse) GetJSON200() *HuggingFaceModelsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHuggingfaceModelsResponse) GetJSON401 ¶
func (r GetHuggingfaceModelsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetHuggingfaceModelsResponse) Status ¶
func (r GetHuggingfaceModelsResponse) Status() string
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 ¶
func (r GetHuggingfaceOrgsResponse) GetJSON200() *HuggingFaceOrgInfoResponse
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 ¶
func (r GetHuggingfaceOrgsResponse) Status() string
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 ¶
func (r GetHuggingfaceSearchTagResponse) GetJSON200() *HuggingFaceModelsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHuggingfaceSearchTagResponse) GetJSON400 ¶
func (r GetHuggingfaceSearchTagResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetHuggingfaceSearchTagResponse) GetJSON401 ¶
func (r GetHuggingfaceSearchTagResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetHuggingfaceSearchTagResponse) Status ¶
func (r GetHuggingfaceSearchTagResponse) Status() string
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 ¶
func (r GetHuggingfaceTrendingResponse) GetJSON200() *HuggingFaceModelsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHuggingfaceTrendingResponse) GetJSON401 ¶
func (r GetHuggingfaceTrendingResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetHuggingfaceTrendingResponse) Status ¶
func (r GetHuggingfaceTrendingResponse) Status() string
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 ¶
func (r GetInstanceConfigGpusResponse) GetJSON200() *GpuListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetInstanceConfigGpusResponse) GetJSON401 ¶
func (r GetInstanceConfigGpusResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetInstanceConfigGpusResponse) GetJSON502 ¶
func (r GetInstanceConfigGpusResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetInstanceConfigGpusResponse) Status ¶
func (r GetInstanceConfigGpusResponse) Status() string
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 ¶
func (r GetInstanceScheduleRulesResponse) GetJSON200() *ScheduleRuleListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetInstanceScheduleRulesResponse) GetJSON400 ¶
func (r GetInstanceScheduleRulesResponse) GetJSON400() *ErrorResponse
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 ¶
func (r GetInstanceScheduleRulesResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetInstanceScheduleRulesResponse) GetJSON404 ¶
func (r GetInstanceScheduleRulesResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetInstanceScheduleRulesResponse) GetJSON500 ¶
func (r GetInstanceScheduleRulesResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetInstanceScheduleRulesResponse) Status ¶
func (r GetInstanceScheduleRulesResponse) Status() string
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.
const ( N24h GetInstanceUsageParamsRange = "24h" N30d GetInstanceUsageParamsRange = "30d" N7d GetInstanceUsageParamsRange = "7d" )
Defines values for GetInstanceUsageParamsRange.
func (GetInstanceUsageParamsRange) Valid ¶
func (e GetInstanceUsageParamsRange) Valid() bool
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 ¶
func (r GetInstanceUsageResponse) GetJSON200() *InstanceUsageResponse
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 ¶
func (r GetInstancesResponse) GetJSON200() *InstanceListResponse
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 ¶
func (r GetInvitationsResponse) GetJSON200() *InvitationListResponse
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 ¶
func (r GetModelsFixedResponse) GetJSON200() *HuggingFaceModelsResponse
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 ¶
func (r GetReplicaSetsResponse) GetJSON200() *ReplicaSetListResponse
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 ¶
func (r GetServingEndpointsResponse) GetJSON200() *map[string][]ServingEndpointResponse
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 ¶
func (r GetServingEndpointsResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetServingEndpointsResponse) Status ¶
func (r GetServingEndpointsResponse) Status() string
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 ¶
func (r GetSmartBalancersResponse) GetJSON200() *map[string][]SmartBalancerViewResponse
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 ¶
func (r GetStorageVolumeResponse) GetJSON200() *StorageVolumeResponse
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 ¶
func (r GetStorageVolumesResponse) GetJSON200() *StorageVolumeResponse
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 ¶
func (r GetTargetGroupResponse) GetJSON200() *TargetGroupResponse
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
func (r GetUserAPIKeysResponse) GetJSON200() *ApiKeyListResponse
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 ¶
func (r GetV1PublicModelPricesResponse) GetJSON200() *ModelPricesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1PublicModelPricesResponse) GetJSON502 ¶
func (r GetV1PublicModelPricesResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetV1PublicModelPricesResponse) GetJSON504 ¶
func (r GetV1PublicModelPricesResponse) GetJSON504() *ErrorResponse
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (GetV1PublicModelPricesResponse) Status ¶
func (r GetV1PublicModelPricesResponse) Status() string
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 ¶
func (r GetV1PublicPricingResponse) GetJSON200() *PublicPricingResponse
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 ¶
func (r GetV1PublicPricingResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1PublicPricingResponse) StatusCode ¶
func (r GetV1PublicPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1RealtimeParams ¶ added in v1.0.9
type GetV1RealtimeParams struct {
// Model Model serving name
Model string `form:"model" json:"model"`
// SessionId Resume a duplex session id
SessionId *string `form:"session_id,omitempty" json:"session_id,omitempty"`
// Autostart Auto-start the duplex session (1/true/on)
Autostart *string `form:"autostart,omitempty" json:"autostart,omitempty"`
}
GetV1RealtimeParams defines parameters for GetV1Realtime.
type GetV1RealtimeResponse ¶ added in v1.0.9
type GetV1RealtimeResponse 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 ParseGetV1RealtimeResponse ¶ added in v1.0.9
func ParseGetV1RealtimeResponse(rsp *http.Response) (*GetV1RealtimeResponse, error)
ParseGetV1RealtimeResponse parses an HTTP response from a GetV1RealtimeWithResponse call
func (GetV1RealtimeResponse) ContentType ¶ added in v1.0.9
func (r GetV1RealtimeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1RealtimeResponse) GetBody ¶ added in v1.0.9
func (r GetV1RealtimeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1RealtimeResponse) GetJSON101 ¶ added in v1.0.9
func (r GetV1RealtimeResponse) GetJSON101() *string
GetJSON101 returns the response for an HTTP 101 `application/json` response
func (GetV1RealtimeResponse) GetJSON401 ¶ added in v1.0.9
func (r GetV1RealtimeResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1RealtimeResponse) Status ¶ added in v1.0.9
func (r GetV1RealtimeResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1RealtimeResponse) StatusCode ¶ added in v1.0.9
func (r GetV1RealtimeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ResponsesSessionDetailResponse ¶ added in v1.0.7
type GetV1ResponsesSessionDetailResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *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
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *ErrorResponse
}
func ParseGetV1ResponsesSessionDetailResponse ¶ added in v1.0.7
func ParseGetV1ResponsesSessionDetailResponse(rsp *http.Response) (*GetV1ResponsesSessionDetailResponse, error)
ParseGetV1ResponsesSessionDetailResponse parses an HTTP response from a GetV1ResponsesSessionDetailWithResponse call
func (GetV1ResponsesSessionDetailResponse) ContentType ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ResponsesSessionDetailResponse) GetBody ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ResponsesSessionDetailResponse) GetJSON200 ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ResponsesSessionDetailResponse) GetJSON401 ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ResponsesSessionDetailResponse) GetJSON403 ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ResponsesSessionDetailResponse) GetJSON404 ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1ResponsesSessionDetailResponse) GetJSON502 ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetV1ResponsesSessionDetailResponse) Status ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ResponsesSessionDetailResponse) StatusCode ¶ added in v1.0.7
func (r GetV1ResponsesSessionDetailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ResponsesSessionsListParams ¶ added in v1.0.7
type GetV1ResponsesSessionsListParams struct {
// Model Filter by model
Model *string `form:"model,omitempty" json:"model,omitempty"`
// Tag Filter by metadata tag (key:value, repeatable)
Tag *string `form:"tag,omitempty" json:"tag,omitempty"`
// Limit Max rows (default 50, max 200)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque pagination cursor
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetV1ResponsesSessionsListParams defines parameters for GetV1ResponsesSessionsList.
type GetV1ResponsesSessionsListResponse ¶ added in v1.0.7
type GetV1ResponsesSessionsListResponse 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 *ErrorResponse
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *ErrorResponse
}
func ParseGetV1ResponsesSessionsListResponse ¶ added in v1.0.7
func ParseGetV1ResponsesSessionsListResponse(rsp *http.Response) (*GetV1ResponsesSessionsListResponse, error)
ParseGetV1ResponsesSessionsListResponse parses an HTTP response from a GetV1ResponsesSessionsListWithResponse call
func (GetV1ResponsesSessionsListResponse) ContentType ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ResponsesSessionsListResponse) GetBody ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ResponsesSessionsListResponse) GetJSON200 ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ResponsesSessionsListResponse) GetJSON400 ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV1ResponsesSessionsListResponse) GetJSON401 ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ResponsesSessionsListResponse) GetJSON403 ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV1ResponsesSessionsListResponse) GetJSON502 ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (GetV1ResponsesSessionsListResponse) Status ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ResponsesSessionsListResponse) StatusCode ¶ added in v1.0.7
func (r GetV1ResponsesSessionsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ResponsesSessionsStatusResponse ¶ added in v1.0.7
type GetV1ResponsesSessionsStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ErrorResponse
}
func ParseGetV1ResponsesSessionsStatusResponse ¶ added in v1.0.7
func ParseGetV1ResponsesSessionsStatusResponse(rsp *http.Response) (*GetV1ResponsesSessionsStatusResponse, error)
ParseGetV1ResponsesSessionsStatusResponse parses an HTTP response from a GetV1ResponsesSessionsStatusWithResponse call
func (GetV1ResponsesSessionsStatusResponse) ContentType ¶ added in v1.0.7
func (r GetV1ResponsesSessionsStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV1ResponsesSessionsStatusResponse) GetBody ¶ added in v1.0.7
func (r GetV1ResponsesSessionsStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV1ResponsesSessionsStatusResponse) GetJSON200 ¶ added in v1.0.7
func (r GetV1ResponsesSessionsStatusResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1ResponsesSessionsStatusResponse) GetJSON401 ¶ added in v1.0.7
func (r GetV1ResponsesSessionsStatusResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ResponsesSessionsStatusResponse) Status ¶ added in v1.0.7
func (r GetV1ResponsesSessionsStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ResponsesSessionsStatusResponse) StatusCode ¶ added in v1.0.7
func (r GetV1ResponsesSessionsStatusResponse) 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 ¶
func (r GetV1ResponsesWebSocketResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV1ResponsesWebSocketResponse) Status ¶
func (r GetV1ResponsesWebSocketResponse) Status() string
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 ¶
func (r GetV1TemplateBySlugResponse) GetJSON200() *GetTemplateBySlugResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV1TemplateBySlugResponse) GetJSON404 ¶
func (r GetV1TemplateBySlugResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV1TemplateBySlugResponse) GetJSON503 ¶
func (r GetV1TemplateBySlugResponse) GetJSON503() *ErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetV1TemplateBySlugResponse) Status ¶
func (r GetV1TemplateBySlugResponse) Status() string
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 ¶
func (r GetV1TemplateResponse) GetJSON200() *GetUserVariantResponse
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 ¶
func (r GetV1TemplatesResponse) GetJSON200() *ListUserVariantsResponse
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 ¶
func (r GetVectorDatabaseDocumentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVectorDatabaseDocumentsResponse) GetBody ¶
func (r GetVectorDatabaseDocumentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVectorDatabaseDocumentsResponse) GetJSON200 ¶
func (r GetVectorDatabaseDocumentsResponse) GetJSON200() *ListDocumentsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVectorDatabaseDocumentsResponse) GetJSON400 ¶
func (r GetVectorDatabaseDocumentsResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetVectorDatabaseDocumentsResponse) GetJSON401 ¶
func (r GetVectorDatabaseDocumentsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVectorDatabaseDocumentsResponse) GetJSON500 ¶
func (r GetVectorDatabaseDocumentsResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVectorDatabaseDocumentsResponse) Status ¶
func (r GetVectorDatabaseDocumentsResponse) Status() string
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 ¶
func (r GetVectorDatabaseIndexJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVectorDatabaseIndexJobResponse) GetJSON200 ¶
func (r GetVectorDatabaseIndexJobResponse) GetJSON200() *IndexJobResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVectorDatabaseIndexJobResponse) GetJSON400 ¶
func (r GetVectorDatabaseIndexJobResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetVectorDatabaseIndexJobResponse) GetJSON401 ¶
func (r GetVectorDatabaseIndexJobResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVectorDatabaseIndexJobResponse) GetJSON404 ¶
func (r GetVectorDatabaseIndexJobResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetVectorDatabaseIndexJobResponse) GetJSON500 ¶
func (r GetVectorDatabaseIndexJobResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVectorDatabaseIndexJobResponse) Status ¶
func (r GetVectorDatabaseIndexJobResponse) Status() string
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 ¶
func (r GetVectorDatabaseResponse) GetJSON200() *VectorDatabaseResponse
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 ¶
func (r GetVectorDatabasesResponse) GetJSON200() *VectorDatabaseResponse
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 ¶
func (r GetVectorDatabasesResponse) Status() string
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 ¶
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 {
CompatibilityReason *string `json:"compatibility_reason,omitempty"`
Compatible *bool `json:"compatible,omitempty"`
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"`
WorkloadKind *string `json:"workload_kind,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"`
SupportedProtocols *[]string `json:"supported_protocols,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 ¶
WithAPIKey authenticates with a QDivZero API key, sent as "Authorization: Bearer <key>". Use WithAuthorization for other formats.
func WithAccessToken ¶
WithAccessToken pre-authenticates the client with a bearer access token.
func WithAuthorization ¶
WithAuthorization sends the given value verbatim as the Authorization header.
func WithCredentials ¶
WithCredentials stores credentials for on-demand login when a request receives a 401 response.
func WithCustomHTTPClient ¶
WithCustomHTTPClient uses the given HTTP client instead of a default one.
func WithHeader ¶ added in v1.0.1
WithHeader sends the given header on every request, unless the request already carries it. Useful for temporary API headers.
func WithRefreshToken ¶
WithRefreshToken sets a refresh token used for automatic token refresh.
func WithServerURL ¶
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 ¶
func (r PatchAccountsCurrentFiscalProfileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchAccountsCurrentFiscalProfileResponse) GetBody ¶
func (r PatchAccountsCurrentFiscalProfileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchAccountsCurrentFiscalProfileResponse) GetJSON200 ¶
func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON200() *AccountResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchAccountsCurrentFiscalProfileResponse) GetJSON400 ¶
func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchAccountsCurrentFiscalProfileResponse) GetJSON401 ¶
func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchAccountsCurrentFiscalProfileResponse) GetJSON403 ¶
func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PatchAccountsCurrentFiscalProfileResponse) GetJSON404 ¶
func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchAccountsCurrentFiscalProfileResponse) GetJSON500 ¶
func (r PatchAccountsCurrentFiscalProfileResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchAccountsCurrentFiscalProfileResponse) Status ¶
func (r PatchAccountsCurrentFiscalProfileResponse) Status() string
Status returns HTTPResponse.Status
func (PatchAccountsCurrentFiscalProfileResponse) StatusCode ¶
func (r PatchAccountsCurrentFiscalProfileResponse) StatusCode() int
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 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchAccountsCurrentMembersByUserIDResponse) GetBody ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON200 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON200() *AccountMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON400 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON401 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON403 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON404 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON412 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON412() *ErrorResponse
GetJSON412 returns the response for an HTTP 412 `application/json` response
func (PatchAccountsCurrentMembersByUserIDResponse) GetJSON500 ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchAccountsCurrentMembersByUserIDResponse) Status ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchAccountsCurrentMembersByUserIDResponse) StatusCode ¶
func (r PatchAccountsCurrentMembersByUserIDResponse) StatusCode() int
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 ¶
func (r PatchAccountsCurrentResponse) GetJSON200() *AccountResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchAccountsCurrentResponse) GetJSON400 ¶
func (r PatchAccountsCurrentResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PatchAccountsCurrentResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PatchAccountsCurrentResponse) GetJSON404 ¶
func (r PatchAccountsCurrentResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchAccountsCurrentResponse) GetJSON500 ¶
func (r PatchAccountsCurrentResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchAccountsCurrentResponse) Status ¶
func (r PatchAccountsCurrentResponse) Status() string
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 ¶
func (r PatchAuthPreferencesResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchAuthPreferencesResponse) GetJSON401 ¶
func (r PatchAuthPreferencesResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchAuthPreferencesResponse) GetJSON500 ¶
func (r PatchAuthPreferencesResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchAuthPreferencesResponse) Status ¶
func (r PatchAuthPreferencesResponse) Status() string
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 ¶
func (r PatchFirewallRuleResponse) GetJSON200() *FirewallRuleResponse
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 ¶
func (r PatchInstanceScheduleRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchInstanceScheduleRuleResponse) GetJSON200 ¶
func (r PatchInstanceScheduleRuleResponse) GetJSON200() *ScheduleRuleResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchInstanceScheduleRuleResponse) GetJSON400 ¶
func (r PatchInstanceScheduleRuleResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PatchInstanceScheduleRuleResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PatchInstanceScheduleRuleResponse) GetJSON404 ¶
func (r PatchInstanceScheduleRuleResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchInstanceScheduleRuleResponse) GetJSON500 ¶
func (r PatchInstanceScheduleRuleResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchInstanceScheduleRuleResponse) Status ¶
func (r PatchInstanceScheduleRuleResponse) Status() string
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 ¶
func (r PatchReplicaSetResponse) GetJSON200() *ReplicaSetResponse
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 ¶
func (r PatchSmartBalancerResponse) GetJSON200() *SmartBalancerViewResponse
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 ¶
func (r PatchSmartBalancerResponse) Status() string
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 ¶
func (r PatchTargetGroupResponse) GetJSON200() *TargetGroupResponse
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 ¶
func (r PatchVectorDatabaseResponse) GetJSON200() *VectorDatabaseResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchVectorDatabaseResponse) GetJSON400 ¶
func (r PatchVectorDatabaseResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchVectorDatabaseResponse) GetJSON401 ¶
func (r PatchVectorDatabaseResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchVectorDatabaseResponse) GetJSON404 ¶
func (r PatchVectorDatabaseResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchVectorDatabaseResponse) GetJSON500 ¶
func (r PatchVectorDatabaseResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PatchVectorDatabaseResponse) Status ¶
func (r PatchVectorDatabaseResponse) Status() string
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"`
DocumentStatus *string `json:"document_status,omitempty"`
Id *string `json:"id,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"`
StripeInvoiceId *string `json:"stripe_invoice_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 ¶
func (r PostAccountsCurrentInvitationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAccountsCurrentInvitationsResponse) GetBody ¶
func (r PostAccountsCurrentInvitationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAccountsCurrentInvitationsResponse) GetJSON201 ¶
func (r PostAccountsCurrentInvitationsResponse) GetJSON201() *InvitationResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostAccountsCurrentInvitationsResponse) GetJSON400 ¶
func (r PostAccountsCurrentInvitationsResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAccountsCurrentInvitationsResponse) GetJSON401 ¶
func (r PostAccountsCurrentInvitationsResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAccountsCurrentInvitationsResponse) GetJSON403 ¶
func (r PostAccountsCurrentInvitationsResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostAccountsCurrentInvitationsResponse) GetJSON404 ¶
func (r PostAccountsCurrentInvitationsResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAccountsCurrentInvitationsResponse) GetJSON412 ¶
func (r PostAccountsCurrentInvitationsResponse) GetJSON412() *ErrorResponse
GetJSON412 returns the response for an HTTP 412 `application/json` response
func (PostAccountsCurrentInvitationsResponse) GetJSON500 ¶
func (r PostAccountsCurrentInvitationsResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAccountsCurrentInvitationsResponse) Status ¶
func (r PostAccountsCurrentInvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostAccountsCurrentInvitationsResponse) StatusCode ¶
func (r PostAccountsCurrentInvitationsResponse) StatusCode() int
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 ¶
func (r PostAccountsCurrentMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAccountsCurrentMembersResponse) GetBody ¶
func (r PostAccountsCurrentMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAccountsCurrentMembersResponse) GetJSON200 ¶
func (r PostAccountsCurrentMembersResponse) GetJSON200() *AccountMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAccountsCurrentMembersResponse) GetJSON400 ¶
func (r PostAccountsCurrentMembersResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAccountsCurrentMembersResponse) GetJSON401 ¶
func (r PostAccountsCurrentMembersResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAccountsCurrentMembersResponse) GetJSON403 ¶
func (r PostAccountsCurrentMembersResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostAccountsCurrentMembersResponse) GetJSON404 ¶
func (r PostAccountsCurrentMembersResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAccountsCurrentMembersResponse) GetJSON412 ¶
func (r PostAccountsCurrentMembersResponse) GetJSON412() *ErrorResponse
GetJSON412 returns the response for an HTTP 412 `application/json` response
func (PostAccountsCurrentMembersResponse) GetJSON500 ¶
func (r PostAccountsCurrentMembersResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAccountsCurrentMembersResponse) Status ¶
func (r PostAccountsCurrentMembersResponse) Status() string
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 ¶
func (r PostAccountsResponse) GetJSON201() *AccountMembershipResponse
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 ¶
func (r PostApiKeysKeyIDRevokeResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PostApiKeysKeyIDRevokeResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostApiKeysKeyIDRevokeResponse) GetJSON404 ¶
func (r PostApiKeysKeyIDRevokeResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostApiKeysKeyIDRevokeResponse) GetJSON500 ¶
func (r PostApiKeysKeyIDRevokeResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostApiKeysKeyIDRevokeResponse) Status ¶
func (r PostApiKeysKeyIDRevokeResponse) Status() string
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 ¶
func (r PostAuthForgotPasswordResponse) GetJSON200() *ForgotPasswordResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAuthForgotPasswordResponse) GetJSON400 ¶
func (r PostAuthForgotPasswordResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAuthForgotPasswordResponse) GetJSON500 ¶
func (r PostAuthForgotPasswordResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAuthForgotPasswordResponse) Status ¶
func (r PostAuthForgotPasswordResponse) Status() string
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 ¶
func (r PostAuthPasskeysBeginLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAuthPasskeysBeginLoginResponse) GetBody ¶
func (r PostAuthPasskeysBeginLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAuthPasskeysBeginLoginResponse) GetJSON200 ¶
func (r PostAuthPasskeysBeginLoginResponse) GetJSON200() *BeginPasskeyloginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAuthPasskeysBeginLoginResponse) GetJSON400 ¶
func (r PostAuthPasskeysBeginLoginResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAuthPasskeysBeginLoginResponse) GetJSON500 ¶
func (r PostAuthPasskeysBeginLoginResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAuthPasskeysBeginLoginResponse) GetJSON503 ¶
func (r PostAuthPasskeysBeginLoginResponse) GetJSON503() *ErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostAuthPasskeysBeginLoginResponse) Status ¶
func (r PostAuthPasskeysBeginLoginResponse) Status() string
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 ¶
func (r PostAuthPasskeysBeginRegistrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAuthPasskeysBeginRegistrationResponse) GetBody ¶
func (r PostAuthPasskeysBeginRegistrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAuthPasskeysBeginRegistrationResponse) GetJSON200 ¶
func (r PostAuthPasskeysBeginRegistrationResponse) GetJSON200() *BeginPasskeyRegistrationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAuthPasskeysBeginRegistrationResponse) GetJSON401 ¶
func (r PostAuthPasskeysBeginRegistrationResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAuthPasskeysBeginRegistrationResponse) GetJSON500 ¶
func (r PostAuthPasskeysBeginRegistrationResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAuthPasskeysBeginRegistrationResponse) Status ¶
func (r PostAuthPasskeysBeginRegistrationResponse) Status() string
Status returns HTTPResponse.Status
func (PostAuthPasskeysBeginRegistrationResponse) StatusCode ¶
func (r PostAuthPasskeysBeginRegistrationResponse) StatusCode() int
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 ¶
func (r PostAuthPasskeysFinishLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAuthPasskeysFinishLoginResponse) GetBody ¶
func (r PostAuthPasskeysFinishLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAuthPasskeysFinishLoginResponse) GetJSON200 ¶
func (r PostAuthPasskeysFinishLoginResponse) GetJSON200() *FinishPasskeyloginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAuthPasskeysFinishLoginResponse) GetJSON400 ¶
func (r PostAuthPasskeysFinishLoginResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAuthPasskeysFinishLoginResponse) GetJSON401 ¶
func (r PostAuthPasskeysFinishLoginResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAuthPasskeysFinishLoginResponse) GetJSON404 ¶
func (r PostAuthPasskeysFinishLoginResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAuthPasskeysFinishLoginResponse) GetJSON500 ¶
func (r PostAuthPasskeysFinishLoginResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAuthPasskeysFinishLoginResponse) Status ¶
func (r PostAuthPasskeysFinishLoginResponse) Status() string
Status returns HTTPResponse.Status
func (PostAuthPasskeysFinishLoginResponse) StatusCode ¶
func (r PostAuthPasskeysFinishLoginResponse) StatusCode() int
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 ¶
func (r PostAuthPasskeysFinishRegistrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostAuthPasskeysFinishRegistrationResponse) GetBody ¶
func (r PostAuthPasskeysFinishRegistrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostAuthPasskeysFinishRegistrationResponse) GetJSON204 ¶
func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON204() *string
GetJSON204 returns the response for an HTTP 204 `application/json` response
func (PostAuthPasskeysFinishRegistrationResponse) GetJSON400 ¶
func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAuthPasskeysFinishRegistrationResponse) GetJSON401 ¶
func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAuthPasskeysFinishRegistrationResponse) GetJSON404 ¶
func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAuthPasskeysFinishRegistrationResponse) GetJSON500 ¶
func (r PostAuthPasskeysFinishRegistrationResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAuthPasskeysFinishRegistrationResponse) Status ¶
func (r PostAuthPasskeysFinishRegistrationResponse) Status() string
Status returns HTTPResponse.Status
func (PostAuthPasskeysFinishRegistrationResponse) StatusCode ¶
func (r PostAuthPasskeysFinishRegistrationResponse) StatusCode() int
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 ¶
func (r PostAuthRegisterResponse) GetJSON201() *RegisterResponse
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 ¶
func (r PostAuthResetPasswordResponse) GetJSON200() *ResetPasswordResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostAuthResetPasswordResponse) GetJSON400 ¶
func (r PostAuthResetPasswordResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAuthResetPasswordResponse) GetJSON401 ¶
func (r PostAuthResetPasswordResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAuthResetPasswordResponse) GetJSON404 ¶
func (r PostAuthResetPasswordResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostAuthResetPasswordResponse) GetJSON500 ¶
func (r PostAuthResetPasswordResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAuthResetPasswordResponse) Status ¶
func (r PostAuthResetPasswordResponse) Status() string
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 ¶
func (r PostAuthTotpBeginResponse) GetJSON200() *BeginTotpEnrollmentResponse
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 ¶
func (r PostAuthTotpConfirmResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostAuthTotpConfirmResponse) GetJSON401 ¶
func (r PostAuthTotpConfirmResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostAuthTotpConfirmResponse) GetJSON500 ¶
func (r PostAuthTotpConfirmResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostAuthTotpConfirmResponse) Status ¶
func (r PostAuthTotpConfirmResponse) Status() string
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 ¶
func (r PostBillingCheckoutResponse) GetJSON200() *CheckoutSessionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostBillingCheckoutResponse) GetJSON400 ¶
func (r PostBillingCheckoutResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PostBillingCheckoutResponse) GetJSON409() *ErrorResponse
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostBillingCheckoutResponse) GetJSON500 ¶
func (r PostBillingCheckoutResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostBillingCheckoutResponse) Status ¶
func (r PostBillingCheckoutResponse) Status() string
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 ¶
func (r PostBillingDebitResponse) GetJSON200() *DebitBalanceResponse
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 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 ¶
func (r PostFirewallEvaluateResponse) GetJSON200() *FirewallEvaluationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostFirewallEvaluateResponse) GetJSON400 ¶
func (r PostFirewallEvaluateResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostFirewallEvaluateResponse) GetJSON401 ¶
func (r PostFirewallEvaluateResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostFirewallEvaluateResponse) GetJSON404 ¶
func (r PostFirewallEvaluateResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostFirewallEvaluateResponse) GetJSON500 ¶
func (r PostFirewallEvaluateResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostFirewallEvaluateResponse) Status ¶
func (r PostFirewallEvaluateResponse) Status() string
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 ¶
func (r PostFirewallRuleEvaluateResponse) GetJSON200() *FirewallEvaluationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostFirewallRuleEvaluateResponse) GetJSON400 ¶
func (r PostFirewallRuleEvaluateResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostFirewallRuleEvaluateResponse) GetJSON401 ¶
func (r PostFirewallRuleEvaluateResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostFirewallRuleEvaluateResponse) GetJSON404 ¶
func (r PostFirewallRuleEvaluateResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostFirewallRuleEvaluateResponse) GetJSON500 ¶
func (r PostFirewallRuleEvaluateResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostFirewallRuleEvaluateResponse) Status ¶
func (r PostFirewallRuleEvaluateResponse) Status() string
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 ¶
func (r PostFirewallRuleResponse) GetJSON201() *FirewallRuleResponse
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 ¶
func (r PostInstancePreviewUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostInstancePreviewUpdateResponse) GetJSON200 ¶
func (r PostInstancePreviewUpdateResponse) GetJSON200() *PreviewInstanceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostInstancePreviewUpdateResponse) GetJSON400 ¶
func (r PostInstancePreviewUpdateResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PostInstancePreviewUpdateResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostInstancePreviewUpdateResponse) GetJSON404 ¶
func (r PostInstancePreviewUpdateResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostInstancePreviewUpdateResponse) GetJSON500 ¶
func (r PostInstancePreviewUpdateResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostInstancePreviewUpdateResponse) Status ¶
func (r PostInstancePreviewUpdateResponse) Status() string
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 ¶
func (r PostInstanceScheduleRuleResponse) GetJSON201() *ScheduleRuleResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostInstanceScheduleRuleResponse) GetJSON400 ¶
func (r PostInstanceScheduleRuleResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PostInstanceScheduleRuleResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostInstanceScheduleRuleResponse) GetJSON404 ¶
func (r PostInstanceScheduleRuleResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostInstanceScheduleRuleResponse) GetJSON500 ¶
func (r PostInstanceScheduleRuleResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostInstanceScheduleRuleResponse) Status ¶
func (r PostInstanceScheduleRuleResponse) Status() string
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 ¶
func (r PostInstanceStartResponse) GetJSON200() *InstanceResponse
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 ¶
func (r PostInstanceStopResponse) GetJSON200() *InstanceResponse
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 ¶
func (r PostInvitationsAcceptResponse) GetJSON200() *AccountMembershipResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostInvitationsAcceptResponse) GetJSON400 ¶
func (r PostInvitationsAcceptResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PostInvitationsAcceptResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostInvitationsAcceptResponse) GetJSON404 ¶
func (r PostInvitationsAcceptResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostInvitationsAcceptResponse) GetJSON410 ¶
func (r PostInvitationsAcceptResponse) GetJSON410() *ErrorResponse
GetJSON410 returns the response for an HTTP 410 `application/json` response
func (PostInvitationsAcceptResponse) GetJSON500 ¶
func (r PostInvitationsAcceptResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostInvitationsAcceptResponse) Status ¶
func (r PostInvitationsAcceptResponse) Status() string
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 ¶
func (r PostReplicaSetScaleResponse) GetJSON200() *ReplicaSetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostReplicaSetScaleResponse) GetJSON400 ¶
func (r PostReplicaSetScaleResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PostReplicaSetScaleResponse) GetJSON403() *ErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PostReplicaSetScaleResponse) GetJSON404 ¶
func (r PostReplicaSetScaleResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostReplicaSetScaleResponse) GetJSON500 ¶
func (r PostReplicaSetScaleResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostReplicaSetScaleResponse) Status ¶
func (r PostReplicaSetScaleResponse) Status() string
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 ¶
func (r PostRuntimeNotifyCrashResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostRuntimeNotifyCrashResponse) GetJSON401 ¶
func (r PostRuntimeNotifyCrashResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostRuntimeNotifyCrashResponse) GetJSON500 ¶
func (r PostRuntimeNotifyCrashResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostRuntimeNotifyCrashResponse) Status ¶
func (r PostRuntimeNotifyCrashResponse) Status() string
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 ¶
func (r PostServingEndpointResponse) GetJSON201() *ServingEndpointResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostServingEndpointResponse) GetJSON400 ¶
func (r PostServingEndpointResponse) GetJSON400() *ErrorResponse
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 ¶
func (r PostServingEndpointResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostServingEndpointResponse) Status ¶
func (r PostServingEndpointResponse) Status() string
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 ¶
func (r PostSmartBalancerResponse) GetJSON201() *SmartBalancerViewResponse
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 ¶
func (r PostStorageVolumesResponse) GetJSON201() *StorageVolumeResponse
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 ¶
func (r PostStorageVolumesResponse) Status() string
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 ¶
func (r PostTargetGroupResponse) GetJSON201() *TargetGroupResponse
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
func (r PostUserAPIKeysKeyIDRevokeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostUserAPIKeysKeyIDRevokeResponse) GetBody ¶ added in v1.0.3
func (r PostUserAPIKeysKeyIDRevokeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON400 ¶ added in v1.0.3
func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON401 ¶ added in v1.0.3
func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON401() *string
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON404 ¶ added in v1.0.3
func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON404() *ErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostUserAPIKeysKeyIDRevokeResponse) GetJSON500 ¶ added in v1.0.3
func (r PostUserAPIKeysKeyIDRevokeResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostUserAPIKeysKeyIDRevokeResponse) Status ¶ added in v1.0.3
func (r PostUserAPIKeysKeyIDRevokeResponse) Status() string
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 Audio file
File openapi_types.File `json:"file"`
// Language Source language
Language *string `json:"language,omitempty"`
// Model Model ID
Model string `json:"model"`
// ResponseFormat Response format
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 ¶
func (r PostV1AudioTranscriptionsResponse) GetBody() []byte
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 ¶
func (r PostV1AudioTranscriptionsResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1AudioTranscriptionsResponse) GetJSON401 ¶
func (r PostV1AudioTranscriptionsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV1AudioTranscriptionsResponse) GetJSON502 ¶
func (r PostV1AudioTranscriptionsResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PostV1AudioTranscriptionsResponse) Status ¶
func (r PostV1AudioTranscriptionsResponse) Status() string
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 ¶
func (r PostV1ChatCompletionsResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1ChatCompletionsResponse) GetJSON401 ¶
func (r PostV1ChatCompletionsResponse) GetJSON401() *ErrorResponse
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 ¶
func (r PostV1ChatCompletionsResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PostV1ChatCompletionsResponse) Status ¶
func (r PostV1ChatCompletionsResponse) Status() string
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 Guidance scale (0-20)
GuidanceScale *float32 `json:"guidance_scale,omitempty"`
// Image Source image file
Image openapi_types.File `json:"image"`
// Mask Mask image file
Mask *openapi_types.File `json:"mask,omitempty"`
// Model Model ID
Model string `json:"model"`
// NumInferenceSteps Inference steps (1-200)
NumInferenceSteps *int `json:"num_inference_steps,omitempty"`
// Prompt Edit prompt
Prompt string `json:"prompt"`
// Seed Random seed
Seed *int `json:"seed,omitempty"`
// Size Output size (WIDTHxHEIGHT)
Size *string `json:"size,omitempty"`
// Strength Denoising strength (0-1, lower preserves original)
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 ¶
func (r PostV1ImageGenerationsResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1ImageGenerationsResponse) GetJSON401 ¶
func (r PostV1ImageGenerationsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV1ImageGenerationsResponse) GetJSON502 ¶
func (r PostV1ImageGenerationsResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PostV1ImageGenerationsResponse) Status ¶
func (r PostV1ImageGenerationsResponse) Status() string
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 ¶
func (r PostV1ResponsesCompactResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1ResponsesCompactResponse) GetJSON401 ¶
func (r PostV1ResponsesCompactResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV1ResponsesCompactResponse) GetJSON502 ¶
func (r PostV1ResponsesCompactResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PostV1ResponsesCompactResponse) Status ¶
func (r PostV1ResponsesCompactResponse) Status() string
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 PostV1VideoGenerationsMultipartBody ¶ added in v1.0.8
type PostV1VideoGenerationsMultipartBody struct {
// AspectRatio Output aspect ratio: a standard ratio may accompany matching dimensions; adaptive requires short_edge
AspectRatio *PostV1VideoGenerationsMultipartBodyAspectRatio `json:"aspect_ratio,omitempty"`
// AudioFlowShift Non-negative audio flow shift
AudioFlowShift *float32 `json:"audio_flow_shift,omitempty"`
// AudioReference Audio reference up to 15 MiB
AudioReference *openapi_types.File `json:"audio_reference,omitempty"`
// AudioReferenceUrl Hosted audio reference URL; HTTP(S) URLs are limited to 16 KiB and data URLs to the bounded decoded-audio ceiling
AudioReferenceUrl *string `json:"audio_reference_url,omitempty"`
// Duration Duration in seconds
Duration *float32 `json:"duration,omitempty"`
// FlowShift Non-negative flow shift
FlowShift *float32 `json:"flow_shift,omitempty"`
// Fps Frames per second; only 24 is supported
Fps *PostV1VideoGenerationsMultipartBodyFps `json:"fps,omitempty"`
// Height Output height; provide with width; may accompany a matching standard aspect_ratio
Height *int `json:"height,omitempty"`
// InputReference Image reference up to 30 MiB or video reference up to 50 MiB; may be repeated; aggregate input references plus optional audio are limited to 64 MiB
InputReference *openapi_types.File `json:"input_reference,omitempty"`
// InputReferences Image reference up to 30 MiB or video reference up to 50 MiB; may be repeated; aggregate input references plus optional audio are limited to 64 MiB
InputReferences *openapi_types.File `json:"input_references,omitempty"`
// Model Model ID
Model string `json:"model"`
// NumInferenceSteps Inference steps
NumInferenceSteps *int `json:"num_inference_steps,omitempty"`
// Prompt Video prompt (maximum 7,000 Unicode characters)
Prompt string `json:"prompt"`
// Seed Random seed
Seed *int64 `json:"seed,omitempty"`
// ShortEdge Output short edge; only valid with aspect_ratio=adaptive
ShortEdge *int `json:"short_edge,omitempty"`
// Task Generation task: t2va, fl2va, or ref2va
Task *PostV1VideoGenerationsMultipartBodyTask `json:"task,omitempty"`
// Width Output width; provide with height; may accompany a matching standard aspect_ratio
Width *int `json:"width,omitempty"`
}
PostV1VideoGenerationsMultipartBody defines parameters for PostV1VideoGenerations.
type PostV1VideoGenerationsMultipartBodyAspectRatio ¶ added in v1.0.8
type PostV1VideoGenerationsMultipartBodyAspectRatio string
PostV1VideoGenerationsMultipartBodyAspectRatio defines parameters for PostV1VideoGenerations.
const ( Adaptive PostV1VideoGenerationsMultipartBodyAspectRatio = "adaptive" N11 PostV1VideoGenerationsMultipartBodyAspectRatio = "1:1" N169 PostV1VideoGenerationsMultipartBodyAspectRatio = "16:9" N219 PostV1VideoGenerationsMultipartBodyAspectRatio = "21:9" N34 PostV1VideoGenerationsMultipartBodyAspectRatio = "3:4" N43 PostV1VideoGenerationsMultipartBodyAspectRatio = "4:3" N916 PostV1VideoGenerationsMultipartBodyAspectRatio = "9:16" )
Defines values for PostV1VideoGenerationsMultipartBodyAspectRatio.
func (PostV1VideoGenerationsMultipartBodyAspectRatio) Valid ¶ added in v1.0.8
func (e PostV1VideoGenerationsMultipartBodyAspectRatio) Valid() bool
Valid indicates whether the value is a known member of the PostV1VideoGenerationsMultipartBodyAspectRatio enum.
type PostV1VideoGenerationsMultipartBodyFps ¶ added in v1.0.8
type PostV1VideoGenerationsMultipartBodyFps int
PostV1VideoGenerationsMultipartBodyFps defines parameters for PostV1VideoGenerations.
const (
N24 PostV1VideoGenerationsMultipartBodyFps = 24
)
Defines values for PostV1VideoGenerationsMultipartBodyFps.
func (PostV1VideoGenerationsMultipartBodyFps) Valid ¶ added in v1.0.8
func (e PostV1VideoGenerationsMultipartBodyFps) Valid() bool
Valid indicates whether the value is a known member of the PostV1VideoGenerationsMultipartBodyFps enum.
type PostV1VideoGenerationsMultipartBodyTask ¶ added in v1.0.8
type PostV1VideoGenerationsMultipartBodyTask string
PostV1VideoGenerationsMultipartBodyTask defines parameters for PostV1VideoGenerations.
const ( Fl2va PostV1VideoGenerationsMultipartBodyTask = "fl2va" Ref2va PostV1VideoGenerationsMultipartBodyTask = "ref2va" T2va PostV1VideoGenerationsMultipartBodyTask = "t2va" )
Defines values for PostV1VideoGenerationsMultipartBodyTask.
func (PostV1VideoGenerationsMultipartBodyTask) Valid ¶ added in v1.0.8
func (e PostV1VideoGenerationsMultipartBodyTask) Valid() bool
Valid indicates whether the value is a known member of the PostV1VideoGenerationsMultipartBodyTask enum.
type PostV1VideoGenerationsMultipartRequestBody ¶ added in v1.0.8
type PostV1VideoGenerationsMultipartRequestBody PostV1VideoGenerationsMultipartBody
PostV1VideoGenerationsMultipartRequestBody defines body for PostV1VideoGenerations for multipart/form-data ContentType.
type PostV1VideoGenerationsResponse ¶ added in v1.0.8
type PostV1VideoGenerationsResponse 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
// JSON402 the response for an HTTP 402 `application/json` response
JSON402 *ErrorResponse
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *ErrorResponse
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *ErrorResponse
// JSON502 the response for an HTTP 502 `application/json` response
JSON502 *ErrorResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ErrorResponse
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *ErrorResponse
}
func ParsePostV1VideoGenerationsResponse ¶ added in v1.0.8
func ParsePostV1VideoGenerationsResponse(rsp *http.Response) (*PostV1VideoGenerationsResponse, error)
ParsePostV1VideoGenerationsResponse parses an HTTP response from a PostV1VideoGenerationsWithResponse call
func (PostV1VideoGenerationsResponse) ContentType ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV1VideoGenerationsResponse) GetBody ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV1VideoGenerationsResponse) GetJSON400 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostV1VideoGenerationsResponse) GetJSON401 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostV1VideoGenerationsResponse) GetJSON402 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON402() *ErrorResponse
GetJSON402 returns the response for an HTTP 402 `application/json` response
func (PostV1VideoGenerationsResponse) GetJSON413 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON413() *ErrorResponse
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (PostV1VideoGenerationsResponse) GetJSON429 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON429() *ErrorResponse
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (PostV1VideoGenerationsResponse) GetJSON502 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PostV1VideoGenerationsResponse) GetJSON503 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON503() *ErrorResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PostV1VideoGenerationsResponse) GetJSON504 ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) GetJSON504() *ErrorResponse
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PostV1VideoGenerationsResponse) Status ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1VideoGenerationsResponse) StatusCode ¶ added in v1.0.8
func (r PostV1VideoGenerationsResponse) 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 ¶
func (r PostVectorDatabaseIndexDirectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostVectorDatabaseIndexDirectResponse) GetBody ¶
func (r PostVectorDatabaseIndexDirectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostVectorDatabaseIndexDirectResponse) GetJSON200 ¶
func (r PostVectorDatabaseIndexDirectResponse) GetJSON200() *map[string]int32
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostVectorDatabaseIndexDirectResponse) GetJSON400 ¶
func (r PostVectorDatabaseIndexDirectResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostVectorDatabaseIndexDirectResponse) GetJSON401 ¶
func (r PostVectorDatabaseIndexDirectResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostVectorDatabaseIndexDirectResponse) GetJSON500 ¶
func (r PostVectorDatabaseIndexDirectResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostVectorDatabaseIndexDirectResponse) Status ¶
func (r PostVectorDatabaseIndexDirectResponse) Status() string
Status returns HTTPResponse.Status
func (PostVectorDatabaseIndexDirectResponse) StatusCode ¶
func (r PostVectorDatabaseIndexDirectResponse) StatusCode() int
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 ¶
func (r PostVectorDatabaseIndexJobsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostVectorDatabaseIndexJobsResponse) GetBody ¶
func (r PostVectorDatabaseIndexJobsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostVectorDatabaseIndexJobsResponse) GetJSON202 ¶
func (r PostVectorDatabaseIndexJobsResponse) GetJSON202() *map[string]string
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostVectorDatabaseIndexJobsResponse) GetJSON400 ¶
func (r PostVectorDatabaseIndexJobsResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostVectorDatabaseIndexJobsResponse) GetJSON401 ¶
func (r PostVectorDatabaseIndexJobsResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostVectorDatabaseIndexJobsResponse) GetJSON500 ¶
func (r PostVectorDatabaseIndexJobsResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostVectorDatabaseIndexJobsResponse) Status ¶
func (r PostVectorDatabaseIndexJobsResponse) Status() string
Status returns HTTPResponse.Status
func (PostVectorDatabaseIndexJobsResponse) StatusCode ¶
func (r PostVectorDatabaseIndexJobsResponse) StatusCode() int
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 ¶
func (r PostVectorDatabaseRecommendResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostVectorDatabaseRecommendResponse) GetBody ¶
func (r PostVectorDatabaseRecommendResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostVectorDatabaseRecommendResponse) GetJSON200 ¶
func (r PostVectorDatabaseRecommendResponse) GetJSON200() *SearchHitResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostVectorDatabaseRecommendResponse) GetJSON400 ¶
func (r PostVectorDatabaseRecommendResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostVectorDatabaseRecommendResponse) GetJSON401 ¶
func (r PostVectorDatabaseRecommendResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostVectorDatabaseRecommendResponse) GetJSON500 ¶
func (r PostVectorDatabaseRecommendResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostVectorDatabaseRecommendResponse) Status ¶
func (r PostVectorDatabaseRecommendResponse) Status() string
Status returns HTTPResponse.Status
func (PostVectorDatabaseRecommendResponse) StatusCode ¶
func (r PostVectorDatabaseRecommendResponse) StatusCode() int
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 ¶
func (r PostVectorDatabaseSearchResponse) GetJSON200() *SearchHitResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostVectorDatabaseSearchResponse) GetJSON400 ¶
func (r PostVectorDatabaseSearchResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostVectorDatabaseSearchResponse) GetJSON401 ¶
func (r PostVectorDatabaseSearchResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostVectorDatabaseSearchResponse) GetJSON500 ¶
func (r PostVectorDatabaseSearchResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostVectorDatabaseSearchResponse) Status ¶
func (r PostVectorDatabaseSearchResponse) Status() string
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 ¶
func (r PostVectorDatabaseViewElementResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostVectorDatabaseViewElementResponse) GetBody ¶
func (r PostVectorDatabaseViewElementResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostVectorDatabaseViewElementResponse) GetJSON200 ¶
func (r PostVectorDatabaseViewElementResponse) GetJSON200() *map[string]string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostVectorDatabaseViewElementResponse) GetJSON400 ¶
func (r PostVectorDatabaseViewElementResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostVectorDatabaseViewElementResponse) GetJSON401 ¶
func (r PostVectorDatabaseViewElementResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostVectorDatabaseViewElementResponse) GetJSON500 ¶
func (r PostVectorDatabaseViewElementResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostVectorDatabaseViewElementResponse) Status ¶
func (r PostVectorDatabaseViewElementResponse) Status() string
Status returns HTTPResponse.Status
func (PostVectorDatabaseViewElementResponse) StatusCode ¶
func (r PostVectorDatabaseViewElementResponse) StatusCode() int
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 ¶
func (r PostVectorDatabasesResponse) GetJSON201() *VectorDatabaseResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PostVectorDatabasesResponse) GetJSON400 ¶
func (r PostVectorDatabasesResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostVectorDatabasesResponse) GetJSON401 ¶
func (r PostVectorDatabasesResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PostVectorDatabasesResponse) GetJSON500 ¶
func (r PostVectorDatabasesResponse) GetJSON500() *ErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostVectorDatabasesResponse) Status ¶
func (r PostVectorDatabasesResponse) Status() string
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" )
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 PutV1ResponsesSessionsStatusJSONBody ¶ added in v1.0.7
type PutV1ResponsesSessionsStatusJSONBody map[string]interface{}
PutV1ResponsesSessionsStatusJSONBody defines parameters for PutV1ResponsesSessionsStatus.
type PutV1ResponsesSessionsStatusJSONRequestBody ¶ added in v1.0.7
type PutV1ResponsesSessionsStatusJSONRequestBody PutV1ResponsesSessionsStatusJSONBody
PutV1ResponsesSessionsStatusJSONRequestBody defines body for PutV1ResponsesSessionsStatus for application/json ContentType.
type PutV1ResponsesSessionsStatusResponse ¶ added in v1.0.7
type PutV1ResponsesSessionsStatusResponse 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 ParsePutV1ResponsesSessionsStatusResponse ¶ added in v1.0.7
func ParsePutV1ResponsesSessionsStatusResponse(rsp *http.Response) (*PutV1ResponsesSessionsStatusResponse, error)
ParsePutV1ResponsesSessionsStatusResponse parses an HTTP response from a PutV1ResponsesSessionsStatusWithResponse call
func (PutV1ResponsesSessionsStatusResponse) ContentType ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutV1ResponsesSessionsStatusResponse) GetBody ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutV1ResponsesSessionsStatusResponse) GetJSON200 ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutV1ResponsesSessionsStatusResponse) GetJSON400 ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) GetJSON400() *ErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutV1ResponsesSessionsStatusResponse) GetJSON401 ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) GetJSON401() *ErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutV1ResponsesSessionsStatusResponse) GetJSON502 ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) GetJSON502() *ErrorResponse
GetJSON502 returns the response for an HTTP 502 `application/json` response
func (PutV1ResponsesSessionsStatusResponse) Status ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1ResponsesSessionsStatusResponse) StatusCode ¶ added in v1.0.7
func (r PutV1ResponsesSessionsStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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"`
SupportedProtocols *[]string `json:"supported_protocols,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 ¶
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 {
E2eRequestLatencyP95Seconds *float32 `json:"e2e_request_latency_p95_seconds,omitempty"`
GenerationTokensTotal *float32 `json:"generation_tokens_total,omitempty"`
KvCacheUsagePercent *float32 `json:"kv_cache_usage_percent,omitempty"`
PromptTokensTotal *float32 `json:"prompt_tokens_total,omitempty"`
RequestsRunning *float32 `json:"requests_running,omitempty"`
RequestsWaiting *float32 `json:"requests_waiting,omitempty"`
RuntimeCpuSecondsPerSecond *float32 `json:"runtime_cpu_seconds_per_second,omitempty"`
RuntimeMemoryBytes *float32 `json:"runtime_memory_bytes,omitempty"`
SampledAt *string `json:"sampled_at,omitempty"`
TimeToFirstTokenP95Seconds *float32 `json:"time_to_first_token_p95_seconds,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"`
Instructions *string `json:"instructions,omitempty"`
Metadata *map[string]string `json:"metadata,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"`
Duplex *bool `json:"duplex,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"`
Duplex *bool `json:"duplex,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"`
SupportedProtocols *[]string `json:"supported_protocols,omitempty"`
SupportsDuplex *bool `json:"supports_duplex,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"`
SupportedProtocols *[]string `json:"supported_protocols,omitempty"`
SupportsTools *bool `json:"supports_tools,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"`
SupportedProtocols *[]string `json:"supported_protocols,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"`
FiscalCustomerType *string `json:"fiscal_customer_type,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 {
FiscalCustomerType *string `json:"fiscal_customer_type,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"`
SupportedProtocols *[]string `json:"supported_protocols,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.