api

package
v1.225.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Overview

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

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

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

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

Index

Constants

View Source
const (
	BearerScopes = "bearer.Scopes"
	Oauth2Scopes = "oauth2.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateApiKeyRequest added in v1.205.0

func NewCreateApiKeyRequest(server string, ref string, params *CreateApiKeyParams, body CreateApiKeyJSONRequestBody) (*http.Request, error)

NewCreateApiKeyRequest calls the generic CreateApiKey builder with application/json body

func NewCreateApiKeyRequestWithBody added in v1.205.0

func NewCreateApiKeyRequestWithBody(server string, ref string, params *CreateApiKeyParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateApiKeyRequestWithBody generates requests for CreateApiKey with any type of body

func NewCreateTPAForProjectRequest added in v1.165.1

func NewCreateTPAForProjectRequest(server string, ref string, body CreateTPAForProjectJSONRequestBody) (*http.Request, error)

NewCreateTPAForProjectRequest calls the generic CreateTPAForProject builder with application/json body

func NewCreateTPAForProjectRequestWithBody added in v1.165.1

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

NewCreateTPAForProjectRequestWithBody generates requests for CreateTPAForProject with any type of body

func NewDeleteApiKeyRequest added in v1.205.0

func NewDeleteApiKeyRequest(server string, ref string, id string, params *DeleteApiKeyParams) (*http.Request, error)

NewDeleteApiKeyRequest generates requests for DeleteApiKey

func NewDeleteTPAForProjectRequest added in v1.165.1

func NewDeleteTPAForProjectRequest(server string, ref string, tpaId string) (*http.Request, error)

NewDeleteTPAForProjectRequest generates requests for DeleteTPAForProject

func NewGetApiKeyRequest added in v1.224.1

func NewGetApiKeyRequest(server string, ref string, id string, params *GetApiKeyParams) (*http.Request, error)

NewGetApiKeyRequest generates requests for GetApiKey

func NewGetTPAForProjectRequest added in v1.165.1

func NewGetTPAForProjectRequest(server string, ref string, tpaId string) (*http.Request, error)

NewGetTPAForProjectRequest generates requests for GetTPAForProject

func NewListTPAForProjectRequest added in v1.165.1

func NewListTPAForProjectRequest(server string, ref string) (*http.Request, error)

NewListTPAForProjectRequest generates requests for ListTPAForProject

func NewUpdateApiKeyRequest added in v1.205.0

func NewUpdateApiKeyRequest(server string, ref string, id string, params *UpdateApiKeyParams, body UpdateApiKeyJSONRequestBody) (*http.Request, error)

NewUpdateApiKeyRequest calls the generic UpdateApiKey builder with application/json body

func NewUpdateApiKeyRequestWithBody added in v1.205.0

func NewUpdateApiKeyRequestWithBody(server string, ref string, id string, params *UpdateApiKeyParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateApiKeyRequestWithBody generates requests for UpdateApiKey with any type of body

func NewV1ActivateCustomHostnameRequest added in v1.172.0

func NewV1ActivateCustomHostnameRequest(server string, ref string) (*http.Request, error)

NewV1ActivateCustomHostnameRequest generates requests for V1ActivateCustomHostname

func NewV1ActivateVanitySubdomainConfigRequest added in v1.172.0

func NewV1ActivateVanitySubdomainConfigRequest(server string, ref string, body V1ActivateVanitySubdomainConfigJSONRequestBody) (*http.Request, error)

NewV1ActivateVanitySubdomainConfigRequest calls the generic V1ActivateVanitySubdomainConfig builder with application/json body

func NewV1ActivateVanitySubdomainConfigRequestWithBody added in v1.172.0

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

NewV1ActivateVanitySubdomainConfigRequestWithBody generates requests for V1ActivateVanitySubdomainConfig with any type of body

func NewV1AuthorizeUserRequest added in v1.172.0

func NewV1AuthorizeUserRequest(server string, params *V1AuthorizeUserParams) (*http.Request, error)

NewV1AuthorizeUserRequest generates requests for V1AuthorizeUser

func NewV1BulkCreateSecretsRequest added in v1.172.0

func NewV1BulkCreateSecretsRequest(server string, ref string, body V1BulkCreateSecretsJSONRequestBody) (*http.Request, error)

NewV1BulkCreateSecretsRequest calls the generic V1BulkCreateSecrets builder with application/json body

func NewV1BulkCreateSecretsRequestWithBody added in v1.172.0

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

NewV1BulkCreateSecretsRequestWithBody generates requests for V1BulkCreateSecrets with any type of body

func NewV1BulkDeleteSecretsRequest added in v1.172.0

func NewV1BulkDeleteSecretsRequest(server string, ref string, body V1BulkDeleteSecretsJSONRequestBody) (*http.Request, error)

NewV1BulkDeleteSecretsRequest calls the generic V1BulkDeleteSecrets builder with application/json body

func NewV1BulkDeleteSecretsRequestWithBody added in v1.172.0

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

NewV1BulkDeleteSecretsRequestWithBody generates requests for V1BulkDeleteSecrets with any type of body

func NewV1CheckVanitySubdomainAvailabilityRequest added in v1.172.0

func NewV1CheckVanitySubdomainAvailabilityRequest(server string, ref string, body V1CheckVanitySubdomainAvailabilityJSONRequestBody) (*http.Request, error)

NewV1CheckVanitySubdomainAvailabilityRequest calls the generic V1CheckVanitySubdomainAvailability builder with application/json body

func NewV1CheckVanitySubdomainAvailabilityRequestWithBody added in v1.172.0

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

NewV1CheckVanitySubdomainAvailabilityRequestWithBody generates requests for V1CheckVanitySubdomainAvailability with any type of body

func NewV1CreateABranchRequest added in v1.172.0

func NewV1CreateABranchRequest(server string, ref string, body V1CreateABranchJSONRequestBody) (*http.Request, error)

NewV1CreateABranchRequest calls the generic V1CreateABranch builder with application/json body

func NewV1CreateABranchRequestWithBody added in v1.172.0

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

NewV1CreateABranchRequestWithBody generates requests for V1CreateABranch with any type of body

func NewV1CreateAFunctionRequest added in v1.211.1

func NewV1CreateAFunctionRequest(server string, ref string, params *V1CreateAFunctionParams, body V1CreateAFunctionJSONRequestBody) (*http.Request, error)

NewV1CreateAFunctionRequest calls the generic V1CreateAFunction builder with application/json body

func NewV1CreateAFunctionRequestWithBody added in v1.211.1

func NewV1CreateAFunctionRequestWithBody(server string, ref string, params *V1CreateAFunctionParams, contentType string, body io.Reader) (*http.Request, error)

NewV1CreateAFunctionRequestWithBody generates requests for V1CreateAFunction with any type of body

func NewV1CreateAProjectRequest added in v1.172.0

func NewV1CreateAProjectRequest(server string, body V1CreateAProjectJSONRequestBody) (*http.Request, error)

NewV1CreateAProjectRequest calls the generic V1CreateAProject builder with application/json body

func NewV1CreateAProjectRequestWithBody added in v1.172.0

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

NewV1CreateAProjectRequestWithBody generates requests for V1CreateAProject with any type of body

func NewV1CreateASsoProviderRequest added in v1.172.0

func NewV1CreateASsoProviderRequest(server string, ref string, body V1CreateASsoProviderJSONRequestBody) (*http.Request, error)

NewV1CreateASsoProviderRequest calls the generic V1CreateASsoProvider builder with application/json body

func NewV1CreateASsoProviderRequestWithBody added in v1.172.0

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

NewV1CreateASsoProviderRequestWithBody generates requests for V1CreateASsoProvider with any type of body

func NewV1CreateAnOrganizationRequest added in v1.172.0

func NewV1CreateAnOrganizationRequest(server string, body V1CreateAnOrganizationJSONRequestBody) (*http.Request, error)

NewV1CreateAnOrganizationRequest calls the generic V1CreateAnOrganization builder with application/json body

func NewV1CreateAnOrganizationRequestWithBody added in v1.172.0

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

NewV1CreateAnOrganizationRequestWithBody generates requests for V1CreateAnOrganization with any type of body

func NewV1DeactivateVanitySubdomainConfigRequest added in v1.172.2

func NewV1DeactivateVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)

NewV1DeactivateVanitySubdomainConfigRequest generates requests for V1DeactivateVanitySubdomainConfig

func NewV1DeleteABranchRequest added in v1.172.0

func NewV1DeleteABranchRequest(server string, branchId string) (*http.Request, error)

NewV1DeleteABranchRequest generates requests for V1DeleteABranch

func NewV1DeleteAFunctionRequest added in v1.172.0

func NewV1DeleteAFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)

NewV1DeleteAFunctionRequest generates requests for V1DeleteAFunction

func NewV1DeleteAProjectRequest added in v1.172.0

func NewV1DeleteAProjectRequest(server string, ref string) (*http.Request, error)

NewV1DeleteAProjectRequest generates requests for V1DeleteAProject

func NewV1DeleteASsoProviderRequest added in v1.172.0

func NewV1DeleteASsoProviderRequest(server string, ref string, providerId string) (*http.Request, error)

NewV1DeleteASsoProviderRequest generates requests for V1DeleteASsoProvider

func NewV1DeleteHostnameConfigRequest added in v1.172.0

func NewV1DeleteHostnameConfigRequest(server string, ref string) (*http.Request, error)

NewV1DeleteHostnameConfigRequest generates requests for V1DeleteHostnameConfig

func NewV1DeleteNetworkBansRequest added in v1.172.0

func NewV1DeleteNetworkBansRequest(server string, ref string, body V1DeleteNetworkBansJSONRequestBody) (*http.Request, error)

NewV1DeleteNetworkBansRequest calls the generic V1DeleteNetworkBans builder with application/json body

func NewV1DeleteNetworkBansRequestWithBody added in v1.172.0

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

NewV1DeleteNetworkBansRequestWithBody generates requests for V1DeleteNetworkBans with any type of body

func NewV1DisablePreviewBranchingRequest added in v1.172.0

func NewV1DisablePreviewBranchingRequest(server string, ref string) (*http.Request, error)

NewV1DisablePreviewBranchingRequest generates requests for V1DisablePreviewBranching

func NewV1DisableReadonlyModeTemporarilyRequest added in v1.172.0

func NewV1DisableReadonlyModeTemporarilyRequest(server string, ref string) (*http.Request, error)

NewV1DisableReadonlyModeTemporarilyRequest generates requests for V1DisableReadonlyModeTemporarily

func NewV1EnableDatabaseWebhookRequest added in v1.172.0

func NewV1EnableDatabaseWebhookRequest(server string, ref string) (*http.Request, error)

NewV1EnableDatabaseWebhookRequest generates requests for V1EnableDatabaseWebhook

func NewV1ExchangeOauthTokenRequestWithBody added in v1.172.0

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

NewV1ExchangeOauthTokenRequestWithBody generates requests for V1ExchangeOauthToken with any type of body

func NewV1ExchangeOauthTokenRequestWithFormdataBody added in v1.172.0

func NewV1ExchangeOauthTokenRequestWithFormdataBody(server string, body V1ExchangeOauthTokenFormdataRequestBody) (*http.Request, error)

NewV1ExchangeOauthTokenRequestWithFormdataBody calls the generic V1ExchangeOauthToken builder with application/x-www-form-urlencoded body

func NewV1GenerateTypescriptTypesRequest added in v1.172.0

func NewV1GenerateTypescriptTypesRequest(server string, ref string, params *V1GenerateTypescriptTypesParams) (*http.Request, error)

NewV1GenerateTypescriptTypesRequest generates requests for V1GenerateTypescriptTypes

func NewV1GetABranchConfigRequest added in v1.172.0

func NewV1GetABranchConfigRequest(server string, branchId string) (*http.Request, error)

NewV1GetABranchConfigRequest generates requests for V1GetABranchConfig

func NewV1GetAFunctionBodyRequest added in v1.172.0

func NewV1GetAFunctionBodyRequest(server string, ref string, functionSlug string) (*http.Request, error)

NewV1GetAFunctionBodyRequest generates requests for V1GetAFunctionBody

func NewV1GetAFunctionRequest added in v1.172.0

func NewV1GetAFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)

NewV1GetAFunctionRequest generates requests for V1GetAFunction

func NewV1GetASnippetRequest added in v1.172.0

func NewV1GetASnippetRequest(server string, id string) (*http.Request, error)

NewV1GetASnippetRequest generates requests for V1GetASnippet

func NewV1GetASsoProviderRequest added in v1.172.0

func NewV1GetASsoProviderRequest(server string, ref string, providerId string) (*http.Request, error)

NewV1GetASsoProviderRequest generates requests for V1GetASsoProvider

func NewV1GetAnOrganizationRequest added in v1.172.0

func NewV1GetAnOrganizationRequest(server string, slug string) (*http.Request, error)

NewV1GetAnOrganizationRequest generates requests for V1GetAnOrganization

func NewV1GetAuthServiceConfigRequest added in v1.172.0

func NewV1GetAuthServiceConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetAuthServiceConfigRequest generates requests for V1GetAuthServiceConfig

func NewV1GetHostnameConfigRequest added in v1.172.0

func NewV1GetHostnameConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetHostnameConfigRequest generates requests for V1GetHostnameConfig

func NewV1GetNetworkRestrictionsRequest added in v1.172.0

func NewV1GetNetworkRestrictionsRequest(server string, ref string) (*http.Request, error)

NewV1GetNetworkRestrictionsRequest generates requests for V1GetNetworkRestrictions

func NewV1GetPgsodiumConfigRequest added in v1.172.0

func NewV1GetPgsodiumConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetPgsodiumConfigRequest generates requests for V1GetPgsodiumConfig

func NewV1GetPostgresConfigRequest added in v1.172.2

func NewV1GetPostgresConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetPostgresConfigRequest generates requests for V1GetPostgresConfig

func NewV1GetPostgresUpgradeEligibilityRequest added in v1.205.0

func NewV1GetPostgresUpgradeEligibilityRequest(server string, ref string) (*http.Request, error)

NewV1GetPostgresUpgradeEligibilityRequest generates requests for V1GetPostgresUpgradeEligibility

func NewV1GetPostgresUpgradeStatusRequest added in v1.205.0

func NewV1GetPostgresUpgradeStatusRequest(server string, ref string, params *V1GetPostgresUpgradeStatusParams) (*http.Request, error)

NewV1GetPostgresUpgradeStatusRequest generates requests for V1GetPostgresUpgradeStatus

func NewV1GetPostgrestServiceConfigRequest added in v1.172.0

func NewV1GetPostgrestServiceConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetPostgrestServiceConfigRequest generates requests for V1GetPostgrestServiceConfig

func NewV1GetProjectApiKeysRequest added in v1.172.0

func NewV1GetProjectApiKeysRequest(server string, ref string, params *V1GetProjectApiKeysParams) (*http.Request, error)

NewV1GetProjectApiKeysRequest generates requests for V1GetProjectApiKeys

func NewV1GetProjectPgbouncerConfigRequest added in v1.172.0

func NewV1GetProjectPgbouncerConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetProjectPgbouncerConfigRequest generates requests for V1GetProjectPgbouncerConfig

func NewV1GetProjectRequest added in v1.204.0

func NewV1GetProjectRequest(server string, ref string) (*http.Request, error)

NewV1GetProjectRequest generates requests for V1GetProject

func NewV1GetReadonlyModeStatusRequest added in v1.172.0

func NewV1GetReadonlyModeStatusRequest(server string, ref string) (*http.Request, error)

NewV1GetReadonlyModeStatusRequest generates requests for V1GetReadonlyModeStatus

func NewV1GetServicesHealthRequest added in v1.172.0

func NewV1GetServicesHealthRequest(server string, ref string, params *V1GetServicesHealthParams) (*http.Request, error)

NewV1GetServicesHealthRequest generates requests for V1GetServicesHealth

func NewV1GetSslEnforcementConfigRequest added in v1.172.0

func NewV1GetSslEnforcementConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetSslEnforcementConfigRequest generates requests for V1GetSslEnforcementConfig

func NewV1GetStorageConfigRequest added in v1.211.1

func NewV1GetStorageConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetStorageConfigRequest generates requests for V1GetStorageConfig

func NewV1GetSupavisorConfigRequest added in v1.172.2

func NewV1GetSupavisorConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetSupavisorConfigRequest generates requests for V1GetSupavisorConfig

func NewV1GetVanitySubdomainConfigRequest added in v1.172.0

func NewV1GetVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)

NewV1GetVanitySubdomainConfigRequest generates requests for V1GetVanitySubdomainConfig

func NewV1ListAllBackupsRequest added in v1.172.0

func NewV1ListAllBackupsRequest(server string, ref string) (*http.Request, error)

NewV1ListAllBackupsRequest generates requests for V1ListAllBackups

func NewV1ListAllBranchesRequest added in v1.172.0

func NewV1ListAllBranchesRequest(server string, ref string) (*http.Request, error)

NewV1ListAllBranchesRequest generates requests for V1ListAllBranches

func NewV1ListAllBucketsRequest added in v1.172.0

func NewV1ListAllBucketsRequest(server string, ref string) (*http.Request, error)

NewV1ListAllBucketsRequest generates requests for V1ListAllBuckets

func NewV1ListAllFunctionsRequest added in v1.172.0

func NewV1ListAllFunctionsRequest(server string, ref string) (*http.Request, error)

NewV1ListAllFunctionsRequest generates requests for V1ListAllFunctions

func NewV1ListAllNetworkBansRequest added in v1.172.0

func NewV1ListAllNetworkBansRequest(server string, ref string) (*http.Request, error)

NewV1ListAllNetworkBansRequest generates requests for V1ListAllNetworkBans

func NewV1ListAllOrganizationsRequest added in v1.172.0

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

NewV1ListAllOrganizationsRequest generates requests for V1ListAllOrganizations

func NewV1ListAllProjectsRequest added in v1.172.2

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

NewV1ListAllProjectsRequest generates requests for V1ListAllProjects

func NewV1ListAllSecretsRequest added in v1.172.0

func NewV1ListAllSecretsRequest(server string, ref string) (*http.Request, error)

NewV1ListAllSecretsRequest generates requests for V1ListAllSecrets

func NewV1ListAllSnippetsRequest added in v1.172.0

func NewV1ListAllSnippetsRequest(server string, params *V1ListAllSnippetsParams) (*http.Request, error)

NewV1ListAllSnippetsRequest generates requests for V1ListAllSnippets

func NewV1ListAllSsoProviderRequest added in v1.172.0

func NewV1ListAllSsoProviderRequest(server string, ref string) (*http.Request, error)

NewV1ListAllSsoProviderRequest generates requests for V1ListAllSsoProvider

func NewV1ListOrganizationMembersRequest added in v1.93.0

func NewV1ListOrganizationMembersRequest(server string, slug string) (*http.Request, error)

NewV1ListOrganizationMembersRequest generates requests for V1ListOrganizationMembers

func NewV1RemoveAReadReplicaRequest added in v1.172.0

func NewV1RemoveAReadReplicaRequest(server string, ref string, body V1RemoveAReadReplicaJSONRequestBody) (*http.Request, error)

NewV1RemoveAReadReplicaRequest calls the generic V1RemoveAReadReplica builder with application/json body

func NewV1RemoveAReadReplicaRequestWithBody added in v1.172.0

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

NewV1RemoveAReadReplicaRequestWithBody generates requests for V1RemoveAReadReplica with any type of body

func NewV1ResetABranchRequest added in v1.172.0

func NewV1ResetABranchRequest(server string, branchId string) (*http.Request, error)

NewV1ResetABranchRequest generates requests for V1ResetABranch

func NewV1RestorePitrBackupRequest added in v1.172.0

func NewV1RestorePitrBackupRequest(server string, ref string, body V1RestorePitrBackupJSONRequestBody) (*http.Request, error)

NewV1RestorePitrBackupRequest calls the generic V1RestorePitrBackup builder with application/json body

func NewV1RestorePitrBackupRequestWithBody added in v1.172.0

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

NewV1RestorePitrBackupRequestWithBody generates requests for V1RestorePitrBackup with any type of body

func NewV1RunAQueryRequest added in v1.172.0

func NewV1RunAQueryRequest(server string, ref string, body V1RunAQueryJSONRequestBody) (*http.Request, error)

NewV1RunAQueryRequest calls the generic V1RunAQuery builder with application/json body

func NewV1RunAQueryRequestWithBody added in v1.172.0

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

NewV1RunAQueryRequestWithBody generates requests for V1RunAQuery with any type of body

func NewV1SetupAReadReplicaRequest added in v1.172.0

func NewV1SetupAReadReplicaRequest(server string, ref string, body V1SetupAReadReplicaJSONRequestBody) (*http.Request, error)

NewV1SetupAReadReplicaRequest calls the generic V1SetupAReadReplica builder with application/json body

func NewV1SetupAReadReplicaRequestWithBody added in v1.172.0

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

NewV1SetupAReadReplicaRequestWithBody generates requests for V1SetupAReadReplica with any type of body

func NewV1UpdateABranchConfigRequest added in v1.172.0

func NewV1UpdateABranchConfigRequest(server string, branchId string, body V1UpdateABranchConfigJSONRequestBody) (*http.Request, error)

NewV1UpdateABranchConfigRequest calls the generic V1UpdateABranchConfig builder with application/json body

func NewV1UpdateABranchConfigRequestWithBody added in v1.172.0

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

NewV1UpdateABranchConfigRequestWithBody generates requests for V1UpdateABranchConfig with any type of body

func NewV1UpdateAFunctionRequest added in v1.172.0

func NewV1UpdateAFunctionRequest(server string, ref string, functionSlug string, params *V1UpdateAFunctionParams, body V1UpdateAFunctionJSONRequestBody) (*http.Request, error)

NewV1UpdateAFunctionRequest calls the generic V1UpdateAFunction builder with application/json body

func NewV1UpdateAFunctionRequestWithBody added in v1.172.0

func NewV1UpdateAFunctionRequestWithBody(server string, ref string, functionSlug string, params *V1UpdateAFunctionParams, contentType string, body io.Reader) (*http.Request, error)

NewV1UpdateAFunctionRequestWithBody generates requests for V1UpdateAFunction with any type of body

func NewV1UpdateASsoProviderRequest added in v1.172.0

func NewV1UpdateASsoProviderRequest(server string, ref string, providerId string, body V1UpdateASsoProviderJSONRequestBody) (*http.Request, error)

NewV1UpdateASsoProviderRequest calls the generic V1UpdateASsoProvider builder with application/json body

func NewV1UpdateASsoProviderRequestWithBody added in v1.172.0

func NewV1UpdateASsoProviderRequestWithBody(server string, ref string, providerId string, contentType string, body io.Reader) (*http.Request, error)

NewV1UpdateASsoProviderRequestWithBody generates requests for V1UpdateASsoProvider with any type of body

func NewV1UpdateAuthServiceConfigRequest added in v1.172.0

func NewV1UpdateAuthServiceConfigRequest(server string, ref string, body V1UpdateAuthServiceConfigJSONRequestBody) (*http.Request, error)

NewV1UpdateAuthServiceConfigRequest calls the generic V1UpdateAuthServiceConfig builder with application/json body

func NewV1UpdateAuthServiceConfigRequestWithBody added in v1.172.0

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

NewV1UpdateAuthServiceConfigRequestWithBody generates requests for V1UpdateAuthServiceConfig with any type of body

func NewV1UpdateHostnameConfigRequest added in v1.172.0

func NewV1UpdateHostnameConfigRequest(server string, ref string, body V1UpdateHostnameConfigJSONRequestBody) (*http.Request, error)

NewV1UpdateHostnameConfigRequest calls the generic V1UpdateHostnameConfig builder with application/json body

func NewV1UpdateHostnameConfigRequestWithBody added in v1.172.0

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

NewV1UpdateHostnameConfigRequestWithBody generates requests for V1UpdateHostnameConfig with any type of body

func NewV1UpdateNetworkRestrictionsRequest added in v1.172.0

func NewV1UpdateNetworkRestrictionsRequest(server string, ref string, body V1UpdateNetworkRestrictionsJSONRequestBody) (*http.Request, error)

NewV1UpdateNetworkRestrictionsRequest calls the generic V1UpdateNetworkRestrictions builder with application/json body

func NewV1UpdateNetworkRestrictionsRequestWithBody added in v1.172.0

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

NewV1UpdateNetworkRestrictionsRequestWithBody generates requests for V1UpdateNetworkRestrictions with any type of body

func NewV1UpdatePgsodiumConfigRequest added in v1.172.0

func NewV1UpdatePgsodiumConfigRequest(server string, ref string, body V1UpdatePgsodiumConfigJSONRequestBody) (*http.Request, error)

NewV1UpdatePgsodiumConfigRequest calls the generic V1UpdatePgsodiumConfig builder with application/json body

func NewV1UpdatePgsodiumConfigRequestWithBody added in v1.172.0

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

NewV1UpdatePgsodiumConfigRequestWithBody generates requests for V1UpdatePgsodiumConfig with any type of body

func NewV1UpdatePostgresConfigRequest added in v1.172.2

func NewV1UpdatePostgresConfigRequest(server string, ref string, body V1UpdatePostgresConfigJSONRequestBody) (*http.Request, error)

NewV1UpdatePostgresConfigRequest calls the generic V1UpdatePostgresConfig builder with application/json body

func NewV1UpdatePostgresConfigRequestWithBody added in v1.172.2

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

NewV1UpdatePostgresConfigRequestWithBody generates requests for V1UpdatePostgresConfig with any type of body

func NewV1UpdatePostgrestServiceConfigRequest added in v1.172.0

func NewV1UpdatePostgrestServiceConfigRequest(server string, ref string, body V1UpdatePostgrestServiceConfigJSONRequestBody) (*http.Request, error)

NewV1UpdatePostgrestServiceConfigRequest calls the generic V1UpdatePostgrestServiceConfig builder with application/json body

func NewV1UpdatePostgrestServiceConfigRequestWithBody added in v1.172.0

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

NewV1UpdatePostgrestServiceConfigRequestWithBody generates requests for V1UpdatePostgrestServiceConfig with any type of body

func NewV1UpdateSslEnforcementConfigRequest added in v1.172.0

func NewV1UpdateSslEnforcementConfigRequest(server string, ref string, body V1UpdateSslEnforcementConfigJSONRequestBody) (*http.Request, error)

NewV1UpdateSslEnforcementConfigRequest calls the generic V1UpdateSslEnforcementConfig builder with application/json body

func NewV1UpdateSslEnforcementConfigRequestWithBody added in v1.172.0

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

NewV1UpdateSslEnforcementConfigRequestWithBody generates requests for V1UpdateSslEnforcementConfig with any type of body

func NewV1UpdateStorageConfigRequest added in v1.211.1

func NewV1UpdateStorageConfigRequest(server string, ref string, body V1UpdateStorageConfigJSONRequestBody) (*http.Request, error)

NewV1UpdateStorageConfigRequest calls the generic V1UpdateStorageConfig builder with application/json body

func NewV1UpdateStorageConfigRequestWithBody added in v1.211.1

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

NewV1UpdateStorageConfigRequestWithBody generates requests for V1UpdateStorageConfig with any type of body

func NewV1UpdateSupavisorConfigRequest added in v1.172.2

func NewV1UpdateSupavisorConfigRequest(server string, ref string, body V1UpdateSupavisorConfigJSONRequestBody) (*http.Request, error)

NewV1UpdateSupavisorConfigRequest calls the generic V1UpdateSupavisorConfig builder with application/json body

func NewV1UpdateSupavisorConfigRequestWithBody added in v1.172.2

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

NewV1UpdateSupavisorConfigRequestWithBody generates requests for V1UpdateSupavisorConfig with any type of body

func NewV1UpgradePostgresVersionRequest added in v1.172.0

func NewV1UpgradePostgresVersionRequest(server string, ref string, body V1UpgradePostgresVersionJSONRequestBody) (*http.Request, error)

NewV1UpgradePostgresVersionRequest calls the generic V1UpgradePostgresVersion builder with application/json body

func NewV1UpgradePostgresVersionRequestWithBody added in v1.172.0

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

NewV1UpgradePostgresVersionRequestWithBody generates requests for V1UpgradePostgresVersion with any type of body

func NewV1VerifyDnsConfigRequest added in v1.172.0

func NewV1VerifyDnsConfigRequest(server string, ref string) (*http.Request, error)

NewV1VerifyDnsConfigRequest generates requests for V1VerifyDnsConfig

Types

type ActivateVanitySubdomainResponse added in v1.22.0

type ActivateVanitySubdomainResponse struct {
	CustomDomain string `json:"custom_domain"`
}

ActivateVanitySubdomainResponse defines model for ActivateVanitySubdomainResponse.

type ApiKeyResponse added in v1.57.5

type ApiKeyResponse struct {
	ApiKey            string                   `json:"api_key"`
	Description       *string                  `json:"description"`
	Hash              *string                  `json:"hash"`
	Id                *string                  `json:"id"`
	InsertedAt        *string                  `json:"inserted_at"`
	Name              string                   `json:"name"`
	Prefix            *string                  `json:"prefix"`
	SecretJwtTemplate *ApiKeySecretJWTTemplate `json:"secret_jwt_template"`
	Type              *ApiKeyResponseType      `json:"type"`
	UpdatedAt         *string                  `json:"updated_at"`
}

ApiKeyResponse defines model for ApiKeyResponse.

type ApiKeyResponseType added in v1.219.1

type ApiKeyResponseType string

ApiKeyResponseType defines model for ApiKeyResponse.Type.

const (
	ApiKeyResponseTypeLegacy      ApiKeyResponseType = "legacy"
	ApiKeyResponseTypePublishable ApiKeyResponseType = "publishable"
	ApiKeyResponseTypeSecret      ApiKeyResponseType = "secret"
)

Defines values for ApiKeyResponseType.

type ApiKeySecretJWTTemplate added in v1.205.0

type ApiKeySecretJWTTemplate struct {
	Role string `json:"role"`
}

ApiKeySecretJWTTemplate defines model for ApiKeySecretJWTTemplate.

type AttributeMapping added in v1.45.3

type AttributeMapping struct {
	Keys map[string]AttributeValue `json:"keys"`
}

AttributeMapping defines model for AttributeMapping.

type AttributeValue added in v1.45.3

type AttributeValue struct {
	Array   *bool                   `json:"array,omitempty"`
	Default *AttributeValue_Default `json:"default,omitempty"`
	Name    *string                 `json:"name,omitempty"`
	Names   *[]string               `json:"names,omitempty"`
}

AttributeValue defines model for AttributeValue.

type AttributeValueDefault0 added in v1.46.0

type AttributeValueDefault0 = map[string]interface{}

AttributeValueDefault0 defines model for .

type AttributeValueDefault1 added in v1.46.0

type AttributeValueDefault1 = float32

AttributeValueDefault1 defines model for .

type AttributeValueDefault2 added in v1.46.0

type AttributeValueDefault2 = string

AttributeValueDefault2 defines model for .

type AttributeValueDefault3 added in v1.46.0

type AttributeValueDefault3 = bool

AttributeValueDefault3 defines model for .

type AttributeValue_Default added in v1.46.0

type AttributeValue_Default struct {
	// contains filtered or unexported fields
}

AttributeValue_Default defines model for AttributeValue.Default.

func (AttributeValue_Default) AsAttributeValueDefault0 added in v1.46.0

func (t AttributeValue_Default) AsAttributeValueDefault0() (AttributeValueDefault0, error)

AsAttributeValueDefault0 returns the union data inside the AttributeValue_Default as a AttributeValueDefault0

func (AttributeValue_Default) AsAttributeValueDefault1 added in v1.46.0

func (t AttributeValue_Default) AsAttributeValueDefault1() (AttributeValueDefault1, error)

AsAttributeValueDefault1 returns the union data inside the AttributeValue_Default as a AttributeValueDefault1

func (AttributeValue_Default) AsAttributeValueDefault2 added in v1.46.0

func (t AttributeValue_Default) AsAttributeValueDefault2() (AttributeValueDefault2, error)

AsAttributeValueDefault2 returns the union data inside the AttributeValue_Default as a AttributeValueDefault2

func (AttributeValue_Default) AsAttributeValueDefault3 added in v1.46.0

func (t AttributeValue_Default) AsAttributeValueDefault3() (AttributeValueDefault3, error)

AsAttributeValueDefault3 returns the union data inside the AttributeValue_Default as a AttributeValueDefault3

func (*AttributeValue_Default) FromAttributeValueDefault0 added in v1.46.0

func (t *AttributeValue_Default) FromAttributeValueDefault0(v AttributeValueDefault0) error

FromAttributeValueDefault0 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault0

func (*AttributeValue_Default) FromAttributeValueDefault1 added in v1.46.0

func (t *AttributeValue_Default) FromAttributeValueDefault1(v AttributeValueDefault1) error

FromAttributeValueDefault1 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault1

func (*AttributeValue_Default) FromAttributeValueDefault2 added in v1.46.0

func (t *AttributeValue_Default) FromAttributeValueDefault2(v AttributeValueDefault2) error

FromAttributeValueDefault2 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault2

func (*AttributeValue_Default) FromAttributeValueDefault3 added in v1.46.0

func (t *AttributeValue_Default) FromAttributeValueDefault3(v AttributeValueDefault3) error

FromAttributeValueDefault3 overwrites any union data inside the AttributeValue_Default as the provided AttributeValueDefault3

func (AttributeValue_Default) MarshalJSON added in v1.46.0

func (t AttributeValue_Default) MarshalJSON() ([]byte, error)

func (*AttributeValue_Default) MergeAttributeValueDefault0 added in v1.46.0

func (t *AttributeValue_Default) MergeAttributeValueDefault0(v AttributeValueDefault0) error

MergeAttributeValueDefault0 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault0

func (*AttributeValue_Default) MergeAttributeValueDefault1 added in v1.46.0

func (t *AttributeValue_Default) MergeAttributeValueDefault1(v AttributeValueDefault1) error

MergeAttributeValueDefault1 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault1

func (*AttributeValue_Default) MergeAttributeValueDefault2 added in v1.46.0

func (t *AttributeValue_Default) MergeAttributeValueDefault2(v AttributeValueDefault2) error

MergeAttributeValueDefault2 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault2

func (*AttributeValue_Default) MergeAttributeValueDefault3 added in v1.46.0

func (t *AttributeValue_Default) MergeAttributeValueDefault3(v AttributeValueDefault3) error

MergeAttributeValueDefault3 performs a merge with any union data inside the AttributeValue_Default, using the provided AttributeValueDefault3

func (*AttributeValue_Default) UnmarshalJSON added in v1.46.0

func (t *AttributeValue_Default) UnmarshalJSON(b []byte) error

type AuthConfigResponse added in v1.93.0

type AuthConfigResponse struct {
	ApiMaxRequestDuration                         *int    `json:"api_max_request_duration"`
	DbMaxPoolSize                                 *int    `json:"db_max_pool_size"`
	DisableSignup                                 *bool   `json:"disable_signup"`
	ExternalAnonymousUsersEnabled                 *bool   `json:"external_anonymous_users_enabled"`
	ExternalAppleAdditionalClientIds              *string `json:"external_apple_additional_client_ids"`
	ExternalAppleClientId                         *string `json:"external_apple_client_id"`
	ExternalAppleEnabled                          *bool   `json:"external_apple_enabled"`
	ExternalAppleSecret                           *string `json:"external_apple_secret"`
	ExternalAzureClientId                         *string `json:"external_azure_client_id"`
	ExternalAzureEnabled                          *bool   `json:"external_azure_enabled"`
	ExternalAzureSecret                           *string `json:"external_azure_secret"`
	ExternalAzureUrl                              *string `json:"external_azure_url"`
	ExternalBitbucketClientId                     *string `json:"external_bitbucket_client_id"`
	ExternalBitbucketEnabled                      *bool   `json:"external_bitbucket_enabled"`
	ExternalBitbucketSecret                       *string `json:"external_bitbucket_secret"`
	ExternalDiscordClientId                       *string `json:"external_discord_client_id"`
	ExternalDiscordEnabled                        *bool   `json:"external_discord_enabled"`
	ExternalDiscordSecret                         *string `json:"external_discord_secret"`
	ExternalEmailEnabled                          *bool   `json:"external_email_enabled"`
	ExternalFacebookClientId                      *string `json:"external_facebook_client_id"`
	ExternalFacebookEnabled                       *bool   `json:"external_facebook_enabled"`
	ExternalFacebookSecret                        *string `json:"external_facebook_secret"`
	ExternalFigmaClientId                         *string `json:"external_figma_client_id"`
	ExternalFigmaEnabled                          *bool   `json:"external_figma_enabled"`
	ExternalFigmaSecret                           *string `json:"external_figma_secret"`
	ExternalGithubClientId                        *string `json:"external_github_client_id"`
	ExternalGithubEnabled                         *bool   `json:"external_github_enabled"`
	ExternalGithubSecret                          *string `json:"external_github_secret"`
	ExternalGitlabClientId                        *string `json:"external_gitlab_client_id"`
	ExternalGitlabEnabled                         *bool   `json:"external_gitlab_enabled"`
	ExternalGitlabSecret                          *string `json:"external_gitlab_secret"`
	ExternalGitlabUrl                             *string `json:"external_gitlab_url"`
	ExternalGoogleAdditionalClientIds             *string `json:"external_google_additional_client_ids"`
	ExternalGoogleClientId                        *string `json:"external_google_client_id"`
	ExternalGoogleEnabled                         *bool   `json:"external_google_enabled"`
	ExternalGoogleSecret                          *string `json:"external_google_secret"`
	ExternalGoogleSkipNonceCheck                  *bool   `json:"external_google_skip_nonce_check"`
	ExternalKakaoClientId                         *string `json:"external_kakao_client_id"`
	ExternalKakaoEnabled                          *bool   `json:"external_kakao_enabled"`
	ExternalKakaoSecret                           *string `json:"external_kakao_secret"`
	ExternalKeycloakClientId                      *string `json:"external_keycloak_client_id"`
	ExternalKeycloakEnabled                       *bool   `json:"external_keycloak_enabled"`
	ExternalKeycloakSecret                        *string `json:"external_keycloak_secret"`
	ExternalKeycloakUrl                           *string `json:"external_keycloak_url"`
	ExternalLinkedinOidcClientId                  *string `json:"external_linkedin_oidc_client_id"`
	ExternalLinkedinOidcEnabled                   *bool   `json:"external_linkedin_oidc_enabled"`
	ExternalLinkedinOidcSecret                    *string `json:"external_linkedin_oidc_secret"`
	ExternalNotionClientId                        *string `json:"external_notion_client_id"`
	ExternalNotionEnabled                         *bool   `json:"external_notion_enabled"`
	ExternalNotionSecret                          *string `json:"external_notion_secret"`
	ExternalPhoneEnabled                          *bool   `json:"external_phone_enabled"`
	ExternalSlackClientId                         *string `json:"external_slack_client_id"`
	ExternalSlackEnabled                          *bool   `json:"external_slack_enabled"`
	ExternalSlackOidcClientId                     *string `json:"external_slack_oidc_client_id"`
	ExternalSlackOidcEnabled                      *bool   `json:"external_slack_oidc_enabled"`
	ExternalSlackOidcSecret                       *string `json:"external_slack_oidc_secret"`
	ExternalSlackSecret                           *string `json:"external_slack_secret"`
	ExternalSpotifyClientId                       *string `json:"external_spotify_client_id"`
	ExternalSpotifyEnabled                        *bool   `json:"external_spotify_enabled"`
	ExternalSpotifySecret                         *string `json:"external_spotify_secret"`
	ExternalTwitchClientId                        *string `json:"external_twitch_client_id"`
	ExternalTwitchEnabled                         *bool   `json:"external_twitch_enabled"`
	ExternalTwitchSecret                          *string `json:"external_twitch_secret"`
	ExternalTwitterClientId                       *string `json:"external_twitter_client_id"`
	ExternalTwitterEnabled                        *bool   `json:"external_twitter_enabled"`
	ExternalTwitterSecret                         *string `json:"external_twitter_secret"`
	ExternalWorkosClientId                        *string `json:"external_workos_client_id"`
	ExternalWorkosEnabled                         *bool   `json:"external_workos_enabled"`
	ExternalWorkosSecret                          *string `json:"external_workos_secret"`
	ExternalWorkosUrl                             *string `json:"external_workos_url"`
	ExternalZoomClientId                          *string `json:"external_zoom_client_id"`
	ExternalZoomEnabled                           *bool   `json:"external_zoom_enabled"`
	ExternalZoomSecret                            *string `json:"external_zoom_secret"`
	HookCustomAccessTokenEnabled                  *bool   `json:"hook_custom_access_token_enabled"`
	HookCustomAccessTokenSecrets                  *string `json:"hook_custom_access_token_secrets"`
	HookCustomAccessTokenUri                      *string `json:"hook_custom_access_token_uri"`
	HookMfaVerificationAttemptEnabled             *bool   `json:"hook_mfa_verification_attempt_enabled"`
	HookMfaVerificationAttemptSecrets             *string `json:"hook_mfa_verification_attempt_secrets"`
	HookMfaVerificationAttemptUri                 *string `json:"hook_mfa_verification_attempt_uri"`
	HookPasswordVerificationAttemptEnabled        *bool   `json:"hook_password_verification_attempt_enabled"`
	HookPasswordVerificationAttemptSecrets        *string `json:"hook_password_verification_attempt_secrets"`
	HookPasswordVerificationAttemptUri            *string `json:"hook_password_verification_attempt_uri"`
	HookSendEmailEnabled                          *bool   `json:"hook_send_email_enabled"`
	HookSendEmailSecrets                          *string `json:"hook_send_email_secrets"`
	HookSendEmailUri                              *string `json:"hook_send_email_uri"`
	HookSendSmsEnabled                            *bool   `json:"hook_send_sms_enabled"`
	HookSendSmsSecrets                            *string `json:"hook_send_sms_secrets"`
	HookSendSmsUri                                *string `json:"hook_send_sms_uri"`
	JwtExp                                        *int    `json:"jwt_exp"`
	MailerAllowUnverifiedEmailSignIns             *bool   `json:"mailer_allow_unverified_email_sign_ins"`
	MailerAutoconfirm                             *bool   `json:"mailer_autoconfirm"`
	MailerOtpExp                                  int     `json:"mailer_otp_exp"`
	MailerOtpLength                               *int    `json:"mailer_otp_length"`
	MailerSecureEmailChangeEnabled                *bool   `json:"mailer_secure_email_change_enabled"`
	MailerSubjectsConfirmation                    *string `json:"mailer_subjects_confirmation"`
	MailerSubjectsEmailChange                     *string `json:"mailer_subjects_email_change"`
	MailerSubjectsInvite                          *string `json:"mailer_subjects_invite"`
	MailerSubjectsMagicLink                       *string `json:"mailer_subjects_magic_link"`
	MailerSubjectsReauthentication                *string `json:"mailer_subjects_reauthentication"`
	MailerSubjectsRecovery                        *string `json:"mailer_subjects_recovery"`
	MailerTemplatesConfirmationContent            *string `json:"mailer_templates_confirmation_content"`
	MailerTemplatesEmailChangeContent             *string `json:"mailer_templates_email_change_content"`
	MailerTemplatesInviteContent                  *string `json:"mailer_templates_invite_content"`
	MailerTemplatesMagicLinkContent               *string `json:"mailer_templates_magic_link_content"`
	MailerTemplatesReauthenticationContent        *string `json:"mailer_templates_reauthentication_content"`
	MailerTemplatesRecoveryContent                *string `json:"mailer_templates_recovery_content"`
	MfaMaxEnrolledFactors                         *int    `json:"mfa_max_enrolled_factors"`
	MfaPhoneEnrollEnabled                         *bool   `json:"mfa_phone_enroll_enabled"`
	MfaPhoneMaxFrequency                          *int    `json:"mfa_phone_max_frequency"`
	MfaPhoneOtpLength                             int     `json:"mfa_phone_otp_length"`
	MfaPhoneTemplate                              *string `json:"mfa_phone_template"`
	MfaPhoneVerifyEnabled                         *bool   `json:"mfa_phone_verify_enabled"`
	MfaTotpEnrollEnabled                          *bool   `json:"mfa_totp_enroll_enabled"`
	MfaTotpVerifyEnabled                          *bool   `json:"mfa_totp_verify_enabled"`
	MfaWebAuthnEnrollEnabled                      *bool   `json:"mfa_web_authn_enroll_enabled"`
	MfaWebAuthnVerifyEnabled                      *bool   `json:"mfa_web_authn_verify_enabled"`
	PasswordHibpEnabled                           *bool   `json:"password_hibp_enabled"`
	PasswordMinLength                             *int    `json:"password_min_length"`
	PasswordRequiredCharacters                    *string `json:"password_required_characters"`
	RateLimitAnonymousUsers                       *int    `json:"rate_limit_anonymous_users"`
	RateLimitEmailSent                            *int    `json:"rate_limit_email_sent"`
	RateLimitOtp                                  *int    `json:"rate_limit_otp"`
	RateLimitSmsSent                              *int    `json:"rate_limit_sms_sent"`
	RateLimitTokenRefresh                         *int    `json:"rate_limit_token_refresh"`
	RateLimitVerify                               *int    `json:"rate_limit_verify"`
	RefreshTokenRotationEnabled                   *bool   `json:"refresh_token_rotation_enabled"`
	SamlAllowEncryptedAssertions                  *bool   `json:"saml_allow_encrypted_assertions"`
	SamlEnabled                                   *bool   `json:"saml_enabled"`
	SamlExternalUrl                               *string `json:"saml_external_url"`
	SecurityCaptchaEnabled                        *bool   `json:"security_captcha_enabled"`
	SecurityCaptchaProvider                       *string `json:"security_captcha_provider"`
	SecurityCaptchaSecret                         *string `json:"security_captcha_secret"`
	SecurityManualLinkingEnabled                  *bool   `json:"security_manual_linking_enabled"`
	SecurityRefreshTokenReuseInterval             *int    `json:"security_refresh_token_reuse_interval"`
	SecurityUpdatePasswordRequireReauthentication *bool   `json:"security_update_password_require_reauthentication"`
	SessionsInactivityTimeout                     *int    `json:"sessions_inactivity_timeout"`
	SessionsSinglePerUser                         *bool   `json:"sessions_single_per_user"`
	SessionsTags                                  *string `json:"sessions_tags"`
	SessionsTimebox                               *int    `json:"sessions_timebox"`
	SiteUrl                                       *string `json:"site_url"`
	SmsAutoconfirm                                *bool   `json:"sms_autoconfirm"`
	SmsMaxFrequency                               *int    `json:"sms_max_frequency"`
	SmsMessagebirdAccessKey                       *string `json:"sms_messagebird_access_key"`
	SmsMessagebirdOriginator                      *string `json:"sms_messagebird_originator"`
	SmsOtpExp                                     *int    `json:"sms_otp_exp"`
	SmsOtpLength                                  int     `json:"sms_otp_length"`
	SmsProvider                                   *string `json:"sms_provider"`
	SmsTemplate                                   *string `json:"sms_template"`
	SmsTestOtp                                    *string `json:"sms_test_otp"`
	SmsTestOtpValidUntil                          *string `json:"sms_test_otp_valid_until"`
	SmsTextlocalApiKey                            *string `json:"sms_textlocal_api_key"`
	SmsTextlocalSender                            *string `json:"sms_textlocal_sender"`
	SmsTwilioAccountSid                           *string `json:"sms_twilio_account_sid"`
	SmsTwilioAuthToken                            *string `json:"sms_twilio_auth_token"`
	SmsTwilioContentSid                           *string `json:"sms_twilio_content_sid"`
	SmsTwilioMessageServiceSid                    *string `json:"sms_twilio_message_service_sid"`
	SmsTwilioVerifyAccountSid                     *string `json:"sms_twilio_verify_account_sid"`
	SmsTwilioVerifyAuthToken                      *string `json:"sms_twilio_verify_auth_token"`
	SmsTwilioVerifyMessageServiceSid              *string `json:"sms_twilio_verify_message_service_sid"`
	SmsVonageApiKey                               *string `json:"sms_vonage_api_key"`
	SmsVonageApiSecret                            *string `json:"sms_vonage_api_secret"`
	SmsVonageFrom                                 *string `json:"sms_vonage_from"`
	SmtpAdminEmail                                *string `json:"smtp_admin_email"`
	SmtpHost                                      *string `json:"smtp_host"`
	SmtpMaxFrequency                              *int    `json:"smtp_max_frequency"`
	SmtpPass                                      *string `json:"smtp_pass"`
	SmtpPort                                      *string `json:"smtp_port"`
	SmtpSenderName                                *string `json:"smtp_sender_name"`
	SmtpUser                                      *string `json:"smtp_user"`
	UriAllowList                                  *string `json:"uri_allow_list"`
}

AuthConfigResponse defines model for AuthConfigResponse.

type AuthHealthResponse added in v1.106.0

type AuthHealthResponse struct {
	Name AuthHealthResponseName `json:"name"`
}

AuthHealthResponse defines model for AuthHealthResponse.

type AuthHealthResponseName added in v1.214.1

type AuthHealthResponseName string

AuthHealthResponseName defines model for AuthHealthResponse.Name.

const (
	GoTrue AuthHealthResponseName = "GoTrue"
)

Defines values for AuthHealthResponseName.

type BillingPlanId added in v1.135.0

type BillingPlanId string

BillingPlanId defines model for BillingPlanId.

const (
	BillingPlanIdEnterprise BillingPlanId = "enterprise"
	BillingPlanIdFree       BillingPlanId = "free"
	BillingPlanIdPro        BillingPlanId = "pro"
	BillingPlanIdTeam       BillingPlanId = "team"
)

Defines values for BillingPlanId.

type BranchDeleteResponse added in v1.165.1

type BranchDeleteResponse struct {
	Message string `json:"message"`
}

BranchDeleteResponse defines model for BranchDeleteResponse.

type BranchDetailResponse added in v1.79.0

type BranchDetailResponse struct {
	DbHost          string                     `json:"db_host"`
	DbPass          *string                    `json:"db_pass,omitempty"`
	DbPort          int                        `json:"db_port"`
	DbUser          *string                    `json:"db_user,omitempty"`
	JwtSecret       *string                    `json:"jwt_secret,omitempty"`
	PostgresEngine  string                     `json:"postgres_engine"`
	PostgresVersion string                     `json:"postgres_version"`
	Ref             string                     `json:"ref"`
	ReleaseChannel  string                     `json:"release_channel"`
	Status          BranchDetailResponseStatus `json:"status"`
}

BranchDetailResponse defines model for BranchDetailResponse.

type BranchDetailResponseStatus added in v1.79.0

type BranchDetailResponseStatus string

BranchDetailResponseStatus defines model for BranchDetailResponse.Status.

const (
	BranchDetailResponseStatusACTIVEHEALTHY   BranchDetailResponseStatus = "ACTIVE_HEALTHY"
	BranchDetailResponseStatusACTIVEUNHEALTHY BranchDetailResponseStatus = "ACTIVE_UNHEALTHY"
	BranchDetailResponseStatusCOMINGUP        BranchDetailResponseStatus = "COMING_UP"
	BranchDetailResponseStatusGOINGDOWN       BranchDetailResponseStatus = "GOING_DOWN"
	BranchDetailResponseStatusINACTIVE        BranchDetailResponseStatus = "INACTIVE"
	BranchDetailResponseStatusINITFAILED      BranchDetailResponseStatus = "INIT_FAILED"
	BranchDetailResponseStatusPAUSEFAILED     BranchDetailResponseStatus = "PAUSE_FAILED"
	BranchDetailResponseStatusPAUSING         BranchDetailResponseStatus = "PAUSING"
	BranchDetailResponseStatusREMOVED         BranchDetailResponseStatus = "REMOVED"
	BranchDetailResponseStatusRESIZING        BranchDetailResponseStatus = "RESIZING"
	BranchDetailResponseStatusRESTARTING      BranchDetailResponseStatus = "RESTARTING"
	BranchDetailResponseStatusRESTOREFAILED   BranchDetailResponseStatus = "RESTORE_FAILED"
	BranchDetailResponseStatusRESTORING       BranchDetailResponseStatus = "RESTORING"
	BranchDetailResponseStatusUNKNOWN         BranchDetailResponseStatus = "UNKNOWN"
	BranchDetailResponseStatusUPGRADING       BranchDetailResponseStatus = "UPGRADING"
)

Defines values for BranchDetailResponseStatus.

type BranchResetResponse added in v1.165.1

type BranchResetResponse struct {
	Message       string `json:"message"`
	WorkflowRunId string `json:"workflow_run_id"`
}

BranchResetResponse defines model for BranchResetResponse.

type BranchResponse added in v1.79.0

type BranchResponse struct {
	CreatedAt        string               `json:"created_at"`
	GitBranch        *string              `json:"git_branch,omitempty"`
	Id               string               `json:"id"`
	IsDefault        bool                 `json:"is_default"`
	LatestCheckRunId *int64               `json:"latest_check_run_id,omitempty"`
	Name             string               `json:"name"`
	ParentProjectRef string               `json:"parent_project_ref"`
	Persistent       bool                 `json:"persistent"`
	PrNumber         *int32               `json:"pr_number,omitempty"`
	ProjectRef       string               `json:"project_ref"`
	ResetOnPush      bool                 `json:"reset_on_push"`
	Status           BranchResponseStatus `json:"status"`
	UpdatedAt        string               `json:"updated_at"`
}

BranchResponse defines model for BranchResponse.

type BranchResponseStatus added in v1.144.0

type BranchResponseStatus string

BranchResponseStatus defines model for BranchResponse.Status.

const (
	BranchResponseStatusCREATINGPROJECT   BranchResponseStatus = "CREATING_PROJECT"
	BranchResponseStatusFUNCTIONSDEPLOYED BranchResponseStatus = "FUNCTIONS_DEPLOYED"
	BranchResponseStatusFUNCTIONSFAILED   BranchResponseStatus = "FUNCTIONS_FAILED"
	BranchResponseStatusMIGRATIONSFAILED  BranchResponseStatus = "MIGRATIONS_FAILED"
	BranchResponseStatusMIGRATIONSPASSED  BranchResponseStatus = "MIGRATIONS_PASSED"
	BranchResponseStatusRUNNINGMIGRATIONS BranchResponseStatus = "RUNNING_MIGRATIONS"
)

Defines values for BranchResponseStatus.

type CfResponse added in v1.187.10

type CfResponse struct {
	Errors   []map[string]interface{} `json:"errors"`
	Messages []map[string]interface{} `json:"messages"`
	Result   CustomHostnameDetails    `json:"result"`
	Success  bool                     `json:"success"`
}

CfResponse defines model for CfResponse.

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) CreateApiKey added in v1.205.0

func (c *Client) CreateApiKey(ctx context.Context, ref string, params *CreateApiKeyParams, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateApiKeyWithBody added in v1.205.0

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

func (*Client) CreateTPAForProject added in v1.165.1

func (c *Client) CreateTPAForProject(ctx context.Context, ref string, body CreateTPAForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTPAForProjectWithBody added in v1.165.1

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

func (*Client) DeleteApiKey added in v1.205.0

func (c *Client) DeleteApiKey(ctx context.Context, ref string, id string, params *DeleteApiKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTPAForProject added in v1.165.1

func (c *Client) DeleteTPAForProject(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiKey added in v1.224.1

func (c *Client) GetApiKey(ctx context.Context, ref string, id string, params *GetApiKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTPAForProject added in v1.165.1

func (c *Client) GetTPAForProject(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTPAForProject added in v1.165.1

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

func (*Client) UpdateApiKey added in v1.205.0

func (c *Client) UpdateApiKey(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, body UpdateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateApiKeyWithBody added in v1.205.0

func (c *Client) UpdateApiKeyWithBody(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1ActivateCustomHostname added in v1.172.0

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

func (*Client) V1ActivateVanitySubdomainConfig added in v1.172.0

func (c *Client) V1ActivateVanitySubdomainConfig(ctx context.Context, ref string, body V1ActivateVanitySubdomainConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1ActivateVanitySubdomainConfigWithBody added in v1.172.0

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

func (*Client) V1AuthorizeUser added in v1.172.0

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

func (*Client) V1BulkCreateSecrets added in v1.172.0

func (c *Client) V1BulkCreateSecrets(ctx context.Context, ref string, body V1BulkCreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1BulkCreateSecretsWithBody added in v1.172.0

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

func (*Client) V1BulkDeleteSecrets added in v1.172.0

func (c *Client) V1BulkDeleteSecrets(ctx context.Context, ref string, body V1BulkDeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1BulkDeleteSecretsWithBody added in v1.172.0

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

func (*Client) V1CheckVanitySubdomainAvailability added in v1.172.0

func (c *Client) V1CheckVanitySubdomainAvailability(ctx context.Context, ref string, body V1CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1CheckVanitySubdomainAvailabilityWithBody added in v1.172.0

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

func (*Client) V1CreateABranch added in v1.172.0

func (c *Client) V1CreateABranch(ctx context.Context, ref string, body V1CreateABranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1CreateABranchWithBody added in v1.172.0

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

func (*Client) V1CreateAFunction added in v1.211.1

func (c *Client) V1CreateAFunction(ctx context.Context, ref string, params *V1CreateAFunctionParams, body V1CreateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1CreateAFunctionWithBody added in v1.211.1

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

func (*Client) V1CreateAProject added in v1.172.0

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

func (*Client) V1CreateAProjectWithBody added in v1.172.0

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

func (*Client) V1CreateASsoProvider added in v1.172.0

func (c *Client) V1CreateASsoProvider(ctx context.Context, ref string, body V1CreateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1CreateASsoProviderWithBody added in v1.172.0

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

func (*Client) V1CreateAnOrganization added in v1.172.0

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

func (*Client) V1CreateAnOrganizationWithBody added in v1.172.0

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

func (*Client) V1DeactivateVanitySubdomainConfig added in v1.172.2

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

func (*Client) V1DeleteABranch added in v1.172.0

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

func (*Client) V1DeleteAFunction added in v1.172.0

func (c *Client) V1DeleteAFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1DeleteAProject added in v1.172.0

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

func (*Client) V1DeleteASsoProvider added in v1.172.0

func (c *Client) V1DeleteASsoProvider(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1DeleteHostnameConfig added in v1.172.0

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

func (*Client) V1DeleteNetworkBans added in v1.172.0

func (c *Client) V1DeleteNetworkBans(ctx context.Context, ref string, body V1DeleteNetworkBansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1DeleteNetworkBansWithBody added in v1.172.0

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

func (*Client) V1DisablePreviewBranching added in v1.172.0

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

func (*Client) V1DisableReadonlyModeTemporarily added in v1.172.0

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

func (*Client) V1EnableDatabaseWebhook added in v1.172.0

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

func (*Client) V1ExchangeOauthTokenWithBody added in v1.172.0

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

func (*Client) V1ExchangeOauthTokenWithFormdataBody added in v1.172.0

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

func (*Client) V1GenerateTypescriptTypes added in v1.172.0

func (c *Client) V1GenerateTypescriptTypes(ctx context.Context, ref string, params *V1GenerateTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetABranchConfig added in v1.172.0

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

func (*Client) V1GetAFunction added in v1.172.0

func (c *Client) V1GetAFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetAFunctionBody added in v1.172.0

func (c *Client) V1GetAFunctionBody(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetASnippet added in v1.172.0

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

func (*Client) V1GetASsoProvider added in v1.172.0

func (c *Client) V1GetASsoProvider(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetAnOrganization added in v1.172.0

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

func (*Client) V1GetAuthServiceConfig added in v1.172.0

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

func (*Client) V1GetHostnameConfig added in v1.172.0

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

func (*Client) V1GetNetworkRestrictions added in v1.172.0

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

func (*Client) V1GetPgsodiumConfig added in v1.172.0

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

func (*Client) V1GetPostgresConfig added in v1.172.2

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

func (*Client) V1GetPostgresUpgradeEligibility added in v1.205.0

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

func (*Client) V1GetPostgresUpgradeStatus added in v1.205.0

func (c *Client) V1GetPostgresUpgradeStatus(ctx context.Context, ref string, params *V1GetPostgresUpgradeStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetPostgrestServiceConfig added in v1.172.0

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

func (*Client) V1GetProject added in v1.204.0

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

func (*Client) V1GetProjectApiKeys added in v1.172.0

func (c *Client) V1GetProjectApiKeys(ctx context.Context, ref string, params *V1GetProjectApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetProjectPgbouncerConfig added in v1.172.0

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

func (*Client) V1GetReadonlyModeStatus added in v1.172.0

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

func (*Client) V1GetServicesHealth added in v1.172.0

func (c *Client) V1GetServicesHealth(ctx context.Context, ref string, params *V1GetServicesHealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1GetSslEnforcementConfig added in v1.172.0

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

func (*Client) V1GetStorageConfig added in v1.211.1

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

func (*Client) V1GetSupavisorConfig added in v1.172.2

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

func (*Client) V1GetVanitySubdomainConfig added in v1.172.0

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

func (*Client) V1ListAllBackups added in v1.172.0

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

func (*Client) V1ListAllBranches added in v1.172.0

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

func (*Client) V1ListAllBuckets added in v1.172.0

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

func (*Client) V1ListAllFunctions added in v1.172.0

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

func (*Client) V1ListAllNetworkBans added in v1.172.0

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

func (*Client) V1ListAllOrganizations added in v1.172.0

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

func (*Client) V1ListAllProjects added in v1.172.2

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

func (*Client) V1ListAllSecrets added in v1.172.0

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

func (*Client) V1ListAllSnippets added in v1.172.0

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

func (*Client) V1ListAllSsoProvider added in v1.172.0

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

func (*Client) V1ListOrganizationMembers added in v1.93.0

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

func (*Client) V1RemoveAReadReplica added in v1.172.0

func (c *Client) V1RemoveAReadReplica(ctx context.Context, ref string, body V1RemoveAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1RemoveAReadReplicaWithBody added in v1.172.0

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

func (*Client) V1ResetABranch added in v1.172.0

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

func (*Client) V1RestorePitrBackup added in v1.172.0

func (c *Client) V1RestorePitrBackup(ctx context.Context, ref string, body V1RestorePitrBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1RestorePitrBackupWithBody added in v1.172.0

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

func (*Client) V1RunAQuery added in v1.172.0

func (c *Client) V1RunAQuery(ctx context.Context, ref string, body V1RunAQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1RunAQueryWithBody added in v1.172.0

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

func (*Client) V1SetupAReadReplica added in v1.172.0

func (c *Client) V1SetupAReadReplica(ctx context.Context, ref string, body V1SetupAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1SetupAReadReplicaWithBody added in v1.172.0

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

func (*Client) V1UpdateABranchConfig added in v1.172.0

func (c *Client) V1UpdateABranchConfig(ctx context.Context, branchId string, body V1UpdateABranchConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateABranchConfigWithBody added in v1.172.0

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

func (*Client) V1UpdateAFunction added in v1.172.0

func (c *Client) V1UpdateAFunction(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, body V1UpdateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateAFunctionWithBody added in v1.172.0

func (c *Client) V1UpdateAFunctionWithBody(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateASsoProvider added in v1.172.0

func (c *Client) V1UpdateASsoProvider(ctx context.Context, ref string, providerId string, body V1UpdateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateASsoProviderWithBody added in v1.172.0

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

func (*Client) V1UpdateAuthServiceConfig added in v1.172.0

func (c *Client) V1UpdateAuthServiceConfig(ctx context.Context, ref string, body V1UpdateAuthServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateAuthServiceConfigWithBody added in v1.172.0

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

func (*Client) V1UpdateHostnameConfig added in v1.172.0

func (c *Client) V1UpdateHostnameConfig(ctx context.Context, ref string, body V1UpdateHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateHostnameConfigWithBody added in v1.172.0

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

func (*Client) V1UpdateNetworkRestrictions added in v1.172.0

func (c *Client) V1UpdateNetworkRestrictions(ctx context.Context, ref string, body V1UpdateNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateNetworkRestrictionsWithBody added in v1.172.0

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

func (*Client) V1UpdatePgsodiumConfig added in v1.172.0

func (c *Client) V1UpdatePgsodiumConfig(ctx context.Context, ref string, body V1UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdatePgsodiumConfigWithBody added in v1.172.0

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

func (*Client) V1UpdatePostgresConfig added in v1.172.2

func (c *Client) V1UpdatePostgresConfig(ctx context.Context, ref string, body V1UpdatePostgresConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdatePostgresConfigWithBody added in v1.172.2

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

func (*Client) V1UpdatePostgrestServiceConfig added in v1.172.0

func (c *Client) V1UpdatePostgrestServiceConfig(ctx context.Context, ref string, body V1UpdatePostgrestServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdatePostgrestServiceConfigWithBody added in v1.172.0

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

func (*Client) V1UpdateSslEnforcementConfig added in v1.172.0

func (c *Client) V1UpdateSslEnforcementConfig(ctx context.Context, ref string, body V1UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateSslEnforcementConfigWithBody added in v1.172.0

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

func (*Client) V1UpdateStorageConfig added in v1.211.1

func (c *Client) V1UpdateStorageConfig(ctx context.Context, ref string, body V1UpdateStorageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateStorageConfigWithBody added in v1.211.1

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

func (*Client) V1UpdateSupavisorConfig added in v1.172.2

func (c *Client) V1UpdateSupavisorConfig(ctx context.Context, ref string, body V1UpdateSupavisorConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpdateSupavisorConfigWithBody added in v1.172.2

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

func (*Client) V1UpgradePostgresVersion added in v1.172.0

func (c *Client) V1UpgradePostgresVersion(ctx context.Context, ref string, body V1UpgradePostgresVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) V1UpgradePostgresVersionWithBody added in v1.172.0

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

func (*Client) V1VerifyDnsConfig added in v1.172.0

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

type ClientInterface

type ClientInterface interface {
	// V1DeleteABranch request
	V1DeleteABranch(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1UpdateABranchConfig(ctx context.Context, branchId string, body V1UpdateABranchConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// V1AuthorizeUser request
	V1AuthorizeUser(ctx context.Context, params *V1AuthorizeUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1ExchangeOauthTokenWithFormdataBody(ctx context.Context, body V1ExchangeOauthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1CreateAnOrganization(ctx context.Context, body V1CreateAnOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	V1CreateAProject(ctx context.Context, body V1CreateAProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// V1GetProjectApiKeys request
	V1GetProjectApiKeys(ctx context.Context, ref string, params *V1GetProjectApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateApiKeyWithBody request with any body
	CreateApiKeyWithBody(ctx context.Context, ref string, params *CreateApiKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateApiKey(ctx context.Context, ref string, params *CreateApiKeyParams, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKey request
	DeleteApiKey(ctx context.Context, ref string, id string, params *DeleteApiKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiKey request
	GetApiKey(ctx context.Context, ref string, id string, params *GetApiKeyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateApiKeyWithBody request with any body
	UpdateApiKeyWithBody(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateApiKey(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, body UpdateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	V1CreateABranch(ctx context.Context, ref string, body V1CreateABranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1UpdateAuthServiceConfig(ctx context.Context, ref string, body V1UpdateAuthServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1CreateASsoProvider(ctx context.Context, ref string, body V1CreateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1DeleteASsoProvider request
	V1DeleteASsoProvider(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1GetASsoProvider request
	V1GetASsoProvider(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1UpdateASsoProvider(ctx context.Context, ref string, providerId string, body V1UpdateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateTPAForProject(ctx context.Context, ref string, body CreateTPAForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTPAForProject request
	DeleteTPAForProject(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTPAForProject request
	GetTPAForProject(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	V1UpdateSupavisorConfig(ctx context.Context, ref string, body V1UpdateSupavisorConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1UpdatePostgresConfig(ctx context.Context, ref string, body V1UpdatePostgresConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1UpdateStorageConfig(ctx context.Context, ref string, body V1UpdateStorageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	V1UpdateHostnameConfig(ctx context.Context, ref string, body V1UpdateHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	V1RestorePitrBackup(ctx context.Context, ref string, body V1RestorePitrBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1RunAQuery(ctx context.Context, ref string, body V1RunAQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// V1CreateAFunctionWithBody request with any body
	V1CreateAFunctionWithBody(ctx context.Context, ref string, params *V1CreateAFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	V1CreateAFunction(ctx context.Context, ref string, params *V1CreateAFunctionParams, body V1CreateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1DeleteAFunction request
	V1DeleteAFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1GetAFunction request
	V1GetAFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1UpdateAFunctionWithBody request with any body
	V1UpdateAFunctionWithBody(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	V1UpdateAFunction(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, body V1UpdateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1GetAFunctionBody request
	V1GetAFunctionBody(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1GetServicesHealth request
	V1GetServicesHealth(ctx context.Context, ref string, params *V1GetServicesHealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1DeleteNetworkBans(ctx context.Context, ref string, body V1DeleteNetworkBansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	V1UpdateNetworkRestrictions(ctx context.Context, ref string, body V1UpdateNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1UpdatePgsodiumConfig(ctx context.Context, ref string, body V1UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1UpdatePostgrestServiceConfig(ctx context.Context, ref string, body V1UpdatePostgrestServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1RemoveAReadReplica(ctx context.Context, ref string, body V1RemoveAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1SetupAReadReplica(ctx context.Context, ref string, body V1SetupAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	V1BulkDeleteSecrets(ctx context.Context, ref string, body V1BulkDeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1BulkCreateSecrets(ctx context.Context, ref string, body V1BulkCreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	V1UpdateSslEnforcementConfig(ctx context.Context, ref string, body V1UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// V1GenerateTypescriptTypes request
	V1GenerateTypescriptTypes(ctx context.Context, ref string, params *V1GenerateTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1UpgradePostgresVersion(ctx context.Context, ref string, body V1UpgradePostgresVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// V1GetPostgresUpgradeStatus request
	V1GetPostgresUpgradeStatus(ctx context.Context, ref string, params *V1GetPostgresUpgradeStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	V1ActivateVanitySubdomainConfig(ctx context.Context, ref string, body V1ActivateVanitySubdomainConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	V1CheckVanitySubdomainAvailability(ctx context.Context, ref string, body V1CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1ListAllSnippets request
	V1ListAllSnippets(ctx context.Context, params *V1ListAllSnippetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// V1GetASnippet request
	V1GetASnippet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

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

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

func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse added in v1.205.0

func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, ref string, params *CreateApiKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)

CreateApiKeyWithBodyWithResponse request with arbitrary body returning *CreateApiKeyResponse

func (*ClientWithResponses) CreateApiKeyWithResponse added in v1.205.0

func (c *ClientWithResponses) CreateApiKeyWithResponse(ctx context.Context, ref string, params *CreateApiKeyParams, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)

func (*ClientWithResponses) CreateTPAForProjectWithBodyWithResponse added in v1.165.1

func (c *ClientWithResponses) CreateTPAForProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTPAForProjectResponse, error)

CreateTPAForProjectWithBodyWithResponse request with arbitrary body returning *CreateTPAForProjectResponse

func (*ClientWithResponses) CreateTPAForProjectWithResponse added in v1.165.1

func (c *ClientWithResponses) CreateTPAForProjectWithResponse(ctx context.Context, ref string, body CreateTPAForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTPAForProjectResponse, error)

func (*ClientWithResponses) DeleteApiKeyWithResponse added in v1.205.0

func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, ref string, id string, params *DeleteApiKeyParams, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)

DeleteApiKeyWithResponse request returning *DeleteApiKeyResponse

func (*ClientWithResponses) DeleteTPAForProjectWithResponse added in v1.165.1

func (c *ClientWithResponses) DeleteTPAForProjectWithResponse(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*DeleteTPAForProjectResponse, error)

DeleteTPAForProjectWithResponse request returning *DeleteTPAForProjectResponse

func (*ClientWithResponses) GetApiKeyWithResponse added in v1.224.1

func (c *ClientWithResponses) GetApiKeyWithResponse(ctx context.Context, ref string, id string, params *GetApiKeyParams, reqEditors ...RequestEditorFn) (*GetApiKeyResponse, error)

GetApiKeyWithResponse request returning *GetApiKeyResponse

func (*ClientWithResponses) GetTPAForProjectWithResponse added in v1.165.1

func (c *ClientWithResponses) GetTPAForProjectWithResponse(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*GetTPAForProjectResponse, error)

GetTPAForProjectWithResponse request returning *GetTPAForProjectResponse

func (*ClientWithResponses) ListTPAForProjectWithResponse added in v1.165.1

func (c *ClientWithResponses) ListTPAForProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListTPAForProjectResponse, error)

ListTPAForProjectWithResponse request returning *ListTPAForProjectResponse

func (*ClientWithResponses) UpdateApiKeyWithBodyWithResponse added in v1.205.0

func (c *ClientWithResponses) UpdateApiKeyWithBodyWithResponse(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

UpdateApiKeyWithBodyWithResponse request with arbitrary body returning *UpdateApiKeyResponse

func (*ClientWithResponses) UpdateApiKeyWithResponse added in v1.205.0

func (c *ClientWithResponses) UpdateApiKeyWithResponse(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, body UpdateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

func (*ClientWithResponses) V1ActivateCustomHostnameWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ActivateCustomHostnameWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ActivateCustomHostnameResponse, error)

V1ActivateCustomHostnameWithResponse request returning *V1ActivateCustomHostnameResponse

func (*ClientWithResponses) V1ActivateVanitySubdomainConfigWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ActivateVanitySubdomainConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1ActivateVanitySubdomainConfigResponse, error)

V1ActivateVanitySubdomainConfigWithBodyWithResponse request with arbitrary body returning *V1ActivateVanitySubdomainConfigResponse

func (*ClientWithResponses) V1ActivateVanitySubdomainConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ActivateVanitySubdomainConfigWithResponse(ctx context.Context, ref string, body V1ActivateVanitySubdomainConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1ActivateVanitySubdomainConfigResponse, error)

func (*ClientWithResponses) V1AuthorizeUserWithResponse added in v1.172.0

func (c *ClientWithResponses) V1AuthorizeUserWithResponse(ctx context.Context, params *V1AuthorizeUserParams, reqEditors ...RequestEditorFn) (*V1AuthorizeUserResponse, error)

V1AuthorizeUserWithResponse request returning *V1AuthorizeUserResponse

func (*ClientWithResponses) V1BulkCreateSecretsWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1BulkCreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1BulkCreateSecretsResponse, error)

V1BulkCreateSecretsWithBodyWithResponse request with arbitrary body returning *V1BulkCreateSecretsResponse

func (*ClientWithResponses) V1BulkCreateSecretsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1BulkCreateSecretsWithResponse(ctx context.Context, ref string, body V1BulkCreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*V1BulkCreateSecretsResponse, error)

func (*ClientWithResponses) V1BulkDeleteSecretsWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1BulkDeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1BulkDeleteSecretsResponse, error)

V1BulkDeleteSecretsWithBodyWithResponse request with arbitrary body returning *V1BulkDeleteSecretsResponse

func (*ClientWithResponses) V1BulkDeleteSecretsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1BulkDeleteSecretsWithResponse(ctx context.Context, ref string, body V1BulkDeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*V1BulkDeleteSecretsResponse, error)

func (*ClientWithResponses) V1CheckVanitySubdomainAvailabilityWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CheckVanitySubdomainAvailabilityResponse, error)

V1CheckVanitySubdomainAvailabilityWithBodyWithResponse request with arbitrary body returning *V1CheckVanitySubdomainAvailabilityResponse

func (*ClientWithResponses) V1CheckVanitySubdomainAvailabilityWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body V1CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CheckVanitySubdomainAvailabilityResponse, error)

func (*ClientWithResponses) V1CreateABranchWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CreateABranchWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateABranchResponse, error)

V1CreateABranchWithBodyWithResponse request with arbitrary body returning *V1CreateABranchResponse

func (*ClientWithResponses) V1CreateABranchWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CreateABranchWithResponse(ctx context.Context, ref string, body V1CreateABranchJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateABranchResponse, error)

func (*ClientWithResponses) V1CreateAFunctionWithBodyWithResponse added in v1.211.1

func (c *ClientWithResponses) V1CreateAFunctionWithBodyWithResponse(ctx context.Context, ref string, params *V1CreateAFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateAFunctionResponse, error)

V1CreateAFunctionWithBodyWithResponse request with arbitrary body returning *V1CreateAFunctionResponse

func (*ClientWithResponses) V1CreateAFunctionWithResponse added in v1.211.1

func (c *ClientWithResponses) V1CreateAFunctionWithResponse(ctx context.Context, ref string, params *V1CreateAFunctionParams, body V1CreateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAFunctionResponse, error)

func (*ClientWithResponses) V1CreateAProjectWithBodyWithResponse added in v1.172.0

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

V1CreateAProjectWithBodyWithResponse request with arbitrary body returning *V1CreateAProjectResponse

func (*ClientWithResponses) V1CreateAProjectWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CreateAProjectWithResponse(ctx context.Context, body V1CreateAProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAProjectResponse, error)

func (*ClientWithResponses) V1CreateASsoProviderWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CreateASsoProviderWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateASsoProviderResponse, error)

V1CreateASsoProviderWithBodyWithResponse request with arbitrary body returning *V1CreateASsoProviderResponse

func (*ClientWithResponses) V1CreateASsoProviderWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CreateASsoProviderWithResponse(ctx context.Context, ref string, body V1CreateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateASsoProviderResponse, error)

func (*ClientWithResponses) V1CreateAnOrganizationWithBodyWithResponse added in v1.172.0

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

V1CreateAnOrganizationWithBodyWithResponse request with arbitrary body returning *V1CreateAnOrganizationResponse

func (*ClientWithResponses) V1CreateAnOrganizationWithResponse added in v1.172.0

func (c *ClientWithResponses) V1CreateAnOrganizationWithResponse(ctx context.Context, body V1CreateAnOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAnOrganizationResponse, error)

func (*ClientWithResponses) V1DeactivateVanitySubdomainConfigWithResponse added in v1.172.2

func (c *ClientWithResponses) V1DeactivateVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DeactivateVanitySubdomainConfigResponse, error)

V1DeactivateVanitySubdomainConfigWithResponse request returning *V1DeactivateVanitySubdomainConfigResponse

func (*ClientWithResponses) V1DeleteABranchWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DeleteABranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*V1DeleteABranchResponse, error)

V1DeleteABranchWithResponse request returning *V1DeleteABranchResponse

func (*ClientWithResponses) V1DeleteAFunctionWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DeleteAFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*V1DeleteAFunctionResponse, error)

V1DeleteAFunctionWithResponse request returning *V1DeleteAFunctionResponse

func (*ClientWithResponses) V1DeleteAProjectWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DeleteAProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DeleteAProjectResponse, error)

V1DeleteAProjectWithResponse request returning *V1DeleteAProjectResponse

func (*ClientWithResponses) V1DeleteASsoProviderWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DeleteASsoProviderWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*V1DeleteASsoProviderResponse, error)

V1DeleteASsoProviderWithResponse request returning *V1DeleteASsoProviderResponse

func (*ClientWithResponses) V1DeleteHostnameConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DeleteHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DeleteHostnameConfigResponse, error)

V1DeleteHostnameConfigWithResponse request returning *V1DeleteHostnameConfigResponse

func (*ClientWithResponses) V1DeleteNetworkBansWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DeleteNetworkBansWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1DeleteNetworkBansResponse, error)

V1DeleteNetworkBansWithBodyWithResponse request with arbitrary body returning *V1DeleteNetworkBansResponse

func (*ClientWithResponses) V1DeleteNetworkBansWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DeleteNetworkBansWithResponse(ctx context.Context, ref string, body V1DeleteNetworkBansJSONRequestBody, reqEditors ...RequestEditorFn) (*V1DeleteNetworkBansResponse, error)

func (*ClientWithResponses) V1DisablePreviewBranchingWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DisablePreviewBranchingWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DisablePreviewBranchingResponse, error)

V1DisablePreviewBranchingWithResponse request returning *V1DisablePreviewBranchingResponse

func (*ClientWithResponses) V1DisableReadonlyModeTemporarilyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1DisableReadonlyModeTemporarilyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DisableReadonlyModeTemporarilyResponse, error)

V1DisableReadonlyModeTemporarilyWithResponse request returning *V1DisableReadonlyModeTemporarilyResponse

func (*ClientWithResponses) V1EnableDatabaseWebhookWithResponse added in v1.172.0

func (c *ClientWithResponses) V1EnableDatabaseWebhookWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1EnableDatabaseWebhookResponse, error)

V1EnableDatabaseWebhookWithResponse request returning *V1EnableDatabaseWebhookResponse

func (*ClientWithResponses) V1ExchangeOauthTokenWithBodyWithResponse added in v1.172.0

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

V1ExchangeOauthTokenWithBodyWithResponse request with arbitrary body returning *V1ExchangeOauthTokenResponse

func (*ClientWithResponses) V1ExchangeOauthTokenWithFormdataBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ExchangeOauthTokenWithFormdataBodyWithResponse(ctx context.Context, body V1ExchangeOauthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*V1ExchangeOauthTokenResponse, error)

func (*ClientWithResponses) V1GenerateTypescriptTypesWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GenerateTypescriptTypesWithResponse(ctx context.Context, ref string, params *V1GenerateTypescriptTypesParams, reqEditors ...RequestEditorFn) (*V1GenerateTypescriptTypesResponse, error)

V1GenerateTypescriptTypesWithResponse request returning *V1GenerateTypescriptTypesResponse

func (*ClientWithResponses) V1GetABranchConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetABranchConfigWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*V1GetABranchConfigResponse, error)

V1GetABranchConfigWithResponse request returning *V1GetABranchConfigResponse

func (*ClientWithResponses) V1GetAFunctionBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetAFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*V1GetAFunctionBodyResponse, error)

V1GetAFunctionBodyWithResponse request returning *V1GetAFunctionBodyResponse

func (*ClientWithResponses) V1GetAFunctionWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetAFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*V1GetAFunctionResponse, error)

V1GetAFunctionWithResponse request returning *V1GetAFunctionResponse

func (*ClientWithResponses) V1GetASnippetWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetASnippetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*V1GetASnippetResponse, error)

V1GetASnippetWithResponse request returning *V1GetASnippetResponse

func (*ClientWithResponses) V1GetASsoProviderWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetASsoProviderWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*V1GetASsoProviderResponse, error)

V1GetASsoProviderWithResponse request returning *V1GetASsoProviderResponse

func (*ClientWithResponses) V1GetAnOrganizationWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetAnOrganizationWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1GetAnOrganizationResponse, error)

V1GetAnOrganizationWithResponse request returning *V1GetAnOrganizationResponse

func (*ClientWithResponses) V1GetAuthServiceConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetAuthServiceConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetAuthServiceConfigResponse, error)

V1GetAuthServiceConfigWithResponse request returning *V1GetAuthServiceConfigResponse

func (*ClientWithResponses) V1GetHostnameConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetHostnameConfigResponse, error)

V1GetHostnameConfigWithResponse request returning *V1GetHostnameConfigResponse

func (*ClientWithResponses) V1GetNetworkRestrictionsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetNetworkRestrictionsResponse, error)

V1GetNetworkRestrictionsWithResponse request returning *V1GetNetworkRestrictionsResponse

func (*ClientWithResponses) V1GetPgsodiumConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPgsodiumConfigResponse, error)

V1GetPgsodiumConfigWithResponse request returning *V1GetPgsodiumConfigResponse

func (*ClientWithResponses) V1GetPostgresConfigWithResponse added in v1.172.2

func (c *ClientWithResponses) V1GetPostgresConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPostgresConfigResponse, error)

V1GetPostgresConfigWithResponse request returning *V1GetPostgresConfigResponse

func (*ClientWithResponses) V1GetPostgresUpgradeEligibilityWithResponse added in v1.205.0

func (c *ClientWithResponses) V1GetPostgresUpgradeEligibilityWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPostgresUpgradeEligibilityResponse, error)

V1GetPostgresUpgradeEligibilityWithResponse request returning *V1GetPostgresUpgradeEligibilityResponse

func (*ClientWithResponses) V1GetPostgresUpgradeStatusWithResponse added in v1.205.0

func (c *ClientWithResponses) V1GetPostgresUpgradeStatusWithResponse(ctx context.Context, ref string, params *V1GetPostgresUpgradeStatusParams, reqEditors ...RequestEditorFn) (*V1GetPostgresUpgradeStatusResponse, error)

V1GetPostgresUpgradeStatusWithResponse request returning *V1GetPostgresUpgradeStatusResponse

func (*ClientWithResponses) V1GetPostgrestServiceConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetPostgrestServiceConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPostgrestServiceConfigResponse, error)

V1GetPostgrestServiceConfigWithResponse request returning *V1GetPostgrestServiceConfigResponse

func (*ClientWithResponses) V1GetProjectApiKeysWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetProjectApiKeysWithResponse(ctx context.Context, ref string, params *V1GetProjectApiKeysParams, reqEditors ...RequestEditorFn) (*V1GetProjectApiKeysResponse, error)

V1GetProjectApiKeysWithResponse request returning *V1GetProjectApiKeysResponse

func (*ClientWithResponses) V1GetProjectPgbouncerConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetProjectPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetProjectPgbouncerConfigResponse, error)

V1GetProjectPgbouncerConfigWithResponse request returning *V1GetProjectPgbouncerConfigResponse

func (*ClientWithResponses) V1GetProjectWithResponse added in v1.204.0

func (c *ClientWithResponses) V1GetProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetProjectResponse, error)

V1GetProjectWithResponse request returning *V1GetProjectResponse

func (*ClientWithResponses) V1GetReadonlyModeStatusWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetReadonlyModeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetReadonlyModeStatusResponse, error)

V1GetReadonlyModeStatusWithResponse request returning *V1GetReadonlyModeStatusResponse

func (*ClientWithResponses) V1GetServicesHealthWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetServicesHealthWithResponse(ctx context.Context, ref string, params *V1GetServicesHealthParams, reqEditors ...RequestEditorFn) (*V1GetServicesHealthResponse, error)

V1GetServicesHealthWithResponse request returning *V1GetServicesHealthResponse

func (*ClientWithResponses) V1GetSslEnforcementConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetSslEnforcementConfigResponse, error)

V1GetSslEnforcementConfigWithResponse request returning *V1GetSslEnforcementConfigResponse

func (*ClientWithResponses) V1GetStorageConfigWithResponse added in v1.211.1

func (c *ClientWithResponses) V1GetStorageConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetStorageConfigResponse, error)

V1GetStorageConfigWithResponse request returning *V1GetStorageConfigResponse

func (*ClientWithResponses) V1GetSupavisorConfigWithResponse added in v1.172.2

func (c *ClientWithResponses) V1GetSupavisorConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetSupavisorConfigResponse, error)

V1GetSupavisorConfigWithResponse request returning *V1GetSupavisorConfigResponse

func (*ClientWithResponses) V1GetVanitySubdomainConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetVanitySubdomainConfigResponse, error)

V1GetVanitySubdomainConfigWithResponse request returning *V1GetVanitySubdomainConfigResponse

func (*ClientWithResponses) V1ListAllBackupsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllBackupsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllBackupsResponse, error)

V1ListAllBackupsWithResponse request returning *V1ListAllBackupsResponse

func (*ClientWithResponses) V1ListAllBranchesWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllBranchesWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllBranchesResponse, error)

V1ListAllBranchesWithResponse request returning *V1ListAllBranchesResponse

func (*ClientWithResponses) V1ListAllBucketsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllBucketsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllBucketsResponse, error)

V1ListAllBucketsWithResponse request returning *V1ListAllBucketsResponse

func (*ClientWithResponses) V1ListAllFunctionsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllFunctionsResponse, error)

V1ListAllFunctionsWithResponse request returning *V1ListAllFunctionsResponse

func (*ClientWithResponses) V1ListAllNetworkBansWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllNetworkBansResponse, error)

V1ListAllNetworkBansWithResponse request returning *V1ListAllNetworkBansResponse

func (*ClientWithResponses) V1ListAllOrganizationsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*V1ListAllOrganizationsResponse, error)

V1ListAllOrganizationsWithResponse request returning *V1ListAllOrganizationsResponse

func (*ClientWithResponses) V1ListAllProjectsWithResponse added in v1.172.2

func (c *ClientWithResponses) V1ListAllProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*V1ListAllProjectsResponse, error)

V1ListAllProjectsWithResponse request returning *V1ListAllProjectsResponse

func (*ClientWithResponses) V1ListAllSecretsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllSecretsResponse, error)

V1ListAllSecretsWithResponse request returning *V1ListAllSecretsResponse

func (*ClientWithResponses) V1ListAllSnippetsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllSnippetsWithResponse(ctx context.Context, params *V1ListAllSnippetsParams, reqEditors ...RequestEditorFn) (*V1ListAllSnippetsResponse, error)

V1ListAllSnippetsWithResponse request returning *V1ListAllSnippetsResponse

func (*ClientWithResponses) V1ListAllSsoProviderWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ListAllSsoProviderWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllSsoProviderResponse, error)

V1ListAllSsoProviderWithResponse request returning *V1ListAllSsoProviderResponse

func (*ClientWithResponses) V1ListOrganizationMembersWithResponse added in v1.93.0

func (c *ClientWithResponses) V1ListOrganizationMembersWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1ListOrganizationMembersResponse, error)

V1ListOrganizationMembersWithResponse request returning *V1ListOrganizationMembersResponse

func (*ClientWithResponses) V1RemoveAReadReplicaWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1RemoveAReadReplicaWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RemoveAReadReplicaResponse, error)

V1RemoveAReadReplicaWithBodyWithResponse request with arbitrary body returning *V1RemoveAReadReplicaResponse

func (*ClientWithResponses) V1RemoveAReadReplicaWithResponse added in v1.172.0

func (c *ClientWithResponses) V1RemoveAReadReplicaWithResponse(ctx context.Context, ref string, body V1RemoveAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RemoveAReadReplicaResponse, error)

func (*ClientWithResponses) V1ResetABranchWithResponse added in v1.172.0

func (c *ClientWithResponses) V1ResetABranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*V1ResetABranchResponse, error)

V1ResetABranchWithResponse request returning *V1ResetABranchResponse

func (*ClientWithResponses) V1RestorePitrBackupWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1RestorePitrBackupWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RestorePitrBackupResponse, error)

V1RestorePitrBackupWithBodyWithResponse request with arbitrary body returning *V1RestorePitrBackupResponse

func (*ClientWithResponses) V1RestorePitrBackupWithResponse added in v1.172.0

func (c *ClientWithResponses) V1RestorePitrBackupWithResponse(ctx context.Context, ref string, body V1RestorePitrBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RestorePitrBackupResponse, error)

func (*ClientWithResponses) V1RunAQueryWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1RunAQueryWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RunAQueryResponse, error)

V1RunAQueryWithBodyWithResponse request with arbitrary body returning *V1RunAQueryResponse

func (*ClientWithResponses) V1RunAQueryWithResponse added in v1.172.0

func (c *ClientWithResponses) V1RunAQueryWithResponse(ctx context.Context, ref string, body V1RunAQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RunAQueryResponse, error)

func (*ClientWithResponses) V1SetupAReadReplicaWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1SetupAReadReplicaWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1SetupAReadReplicaResponse, error)

V1SetupAReadReplicaWithBodyWithResponse request with arbitrary body returning *V1SetupAReadReplicaResponse

func (*ClientWithResponses) V1SetupAReadReplicaWithResponse added in v1.172.0

func (c *ClientWithResponses) V1SetupAReadReplicaWithResponse(ctx context.Context, ref string, body V1SetupAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1SetupAReadReplicaResponse, error)

func (*ClientWithResponses) V1UpdateABranchConfigWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateABranchConfigWithBodyWithResponse(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateABranchConfigResponse, error)

V1UpdateABranchConfigWithBodyWithResponse request with arbitrary body returning *V1UpdateABranchConfigResponse

func (*ClientWithResponses) V1UpdateABranchConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateABranchConfigWithResponse(ctx context.Context, branchId string, body V1UpdateABranchConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateABranchConfigResponse, error)

func (*ClientWithResponses) V1UpdateAFunctionWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateAFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateAFunctionResponse, error)

V1UpdateAFunctionWithBodyWithResponse request with arbitrary body returning *V1UpdateAFunctionResponse

func (*ClientWithResponses) V1UpdateAFunctionWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateAFunctionWithResponse(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, body V1UpdateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateAFunctionResponse, error)

func (*ClientWithResponses) V1UpdateASsoProviderWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateASsoProviderWithBodyWithResponse(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateASsoProviderResponse, error)

V1UpdateASsoProviderWithBodyWithResponse request with arbitrary body returning *V1UpdateASsoProviderResponse

func (*ClientWithResponses) V1UpdateASsoProviderWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateASsoProviderWithResponse(ctx context.Context, ref string, providerId string, body V1UpdateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateASsoProviderResponse, error)

func (*ClientWithResponses) V1UpdateAuthServiceConfigWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateAuthServiceConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateAuthServiceConfigResponse, error)

V1UpdateAuthServiceConfigWithBodyWithResponse request with arbitrary body returning *V1UpdateAuthServiceConfigResponse

func (*ClientWithResponses) V1UpdateAuthServiceConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateAuthServiceConfigWithResponse(ctx context.Context, ref string, body V1UpdateAuthServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateAuthServiceConfigResponse, error)

func (*ClientWithResponses) V1UpdateHostnameConfigWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateHostnameConfigResponse, error)

V1UpdateHostnameConfigWithBodyWithResponse request with arbitrary body returning *V1UpdateHostnameConfigResponse

func (*ClientWithResponses) V1UpdateHostnameConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateHostnameConfigWithResponse(ctx context.Context, ref string, body V1UpdateHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateHostnameConfigResponse, error)

func (*ClientWithResponses) V1UpdateNetworkRestrictionsWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateNetworkRestrictionsResponse, error)

V1UpdateNetworkRestrictionsWithBodyWithResponse request with arbitrary body returning *V1UpdateNetworkRestrictionsResponse

func (*ClientWithResponses) V1UpdateNetworkRestrictionsWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateNetworkRestrictionsWithResponse(ctx context.Context, ref string, body V1UpdateNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateNetworkRestrictionsResponse, error)

func (*ClientWithResponses) V1UpdatePgsodiumConfigWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdatePgsodiumConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdatePgsodiumConfigResponse, error)

V1UpdatePgsodiumConfigWithBodyWithResponse request with arbitrary body returning *V1UpdatePgsodiumConfigResponse

func (*ClientWithResponses) V1UpdatePgsodiumConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdatePgsodiumConfigWithResponse(ctx context.Context, ref string, body V1UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdatePgsodiumConfigResponse, error)

func (*ClientWithResponses) V1UpdatePostgresConfigWithBodyWithResponse added in v1.172.2

func (c *ClientWithResponses) V1UpdatePostgresConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdatePostgresConfigResponse, error)

V1UpdatePostgresConfigWithBodyWithResponse request with arbitrary body returning *V1UpdatePostgresConfigResponse

func (*ClientWithResponses) V1UpdatePostgresConfigWithResponse added in v1.172.2

func (c *ClientWithResponses) V1UpdatePostgresConfigWithResponse(ctx context.Context, ref string, body V1UpdatePostgresConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdatePostgresConfigResponse, error)

func (*ClientWithResponses) V1UpdatePostgrestServiceConfigWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdatePostgrestServiceConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdatePostgrestServiceConfigResponse, error)

V1UpdatePostgrestServiceConfigWithBodyWithResponse request with arbitrary body returning *V1UpdatePostgrestServiceConfigResponse

func (*ClientWithResponses) V1UpdatePostgrestServiceConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdatePostgrestServiceConfigWithResponse(ctx context.Context, ref string, body V1UpdatePostgrestServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdatePostgrestServiceConfigResponse, error)

func (*ClientWithResponses) V1UpdateSslEnforcementConfigWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateSslEnforcementConfigResponse, error)

V1UpdateSslEnforcementConfigWithBodyWithResponse request with arbitrary body returning *V1UpdateSslEnforcementConfigResponse

func (*ClientWithResponses) V1UpdateSslEnforcementConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body V1UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateSslEnforcementConfigResponse, error)

func (*ClientWithResponses) V1UpdateStorageConfigWithBodyWithResponse added in v1.211.1

func (c *ClientWithResponses) V1UpdateStorageConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateStorageConfigResponse, error)

V1UpdateStorageConfigWithBodyWithResponse request with arbitrary body returning *V1UpdateStorageConfigResponse

func (*ClientWithResponses) V1UpdateStorageConfigWithResponse added in v1.211.1

func (c *ClientWithResponses) V1UpdateStorageConfigWithResponse(ctx context.Context, ref string, body V1UpdateStorageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateStorageConfigResponse, error)

func (*ClientWithResponses) V1UpdateSupavisorConfigWithBodyWithResponse added in v1.172.2

func (c *ClientWithResponses) V1UpdateSupavisorConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateSupavisorConfigResponse, error)

V1UpdateSupavisorConfigWithBodyWithResponse request with arbitrary body returning *V1UpdateSupavisorConfigResponse

func (*ClientWithResponses) V1UpdateSupavisorConfigWithResponse added in v1.172.2

func (c *ClientWithResponses) V1UpdateSupavisorConfigWithResponse(ctx context.Context, ref string, body V1UpdateSupavisorConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateSupavisorConfigResponse, error)

func (*ClientWithResponses) V1UpgradePostgresVersionWithBodyWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpgradePostgresVersionWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpgradePostgresVersionResponse, error)

V1UpgradePostgresVersionWithBodyWithResponse request with arbitrary body returning *V1UpgradePostgresVersionResponse

func (*ClientWithResponses) V1UpgradePostgresVersionWithResponse added in v1.172.0

func (c *ClientWithResponses) V1UpgradePostgresVersionWithResponse(ctx context.Context, ref string, body V1UpgradePostgresVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpgradePostgresVersionResponse, error)

func (*ClientWithResponses) V1VerifyDnsConfigWithResponse added in v1.172.0

func (c *ClientWithResponses) V1VerifyDnsConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1VerifyDnsConfigResponse, error)

V1VerifyDnsConfigWithResponse request returning *V1VerifyDnsConfigResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// V1DeleteABranchWithResponse request
	V1DeleteABranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*V1DeleteABranchResponse, error)

	// V1GetABranchConfigWithResponse request
	V1GetABranchConfigWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*V1GetABranchConfigResponse, error)

	// V1UpdateABranchConfigWithBodyWithResponse request with any body
	V1UpdateABranchConfigWithBodyWithResponse(ctx context.Context, branchId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateABranchConfigResponse, error)

	V1UpdateABranchConfigWithResponse(ctx context.Context, branchId string, body V1UpdateABranchConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateABranchConfigResponse, error)

	// V1ResetABranchWithResponse request
	V1ResetABranchWithResponse(ctx context.Context, branchId string, reqEditors ...RequestEditorFn) (*V1ResetABranchResponse, error)

	// V1AuthorizeUserWithResponse request
	V1AuthorizeUserWithResponse(ctx context.Context, params *V1AuthorizeUserParams, reqEditors ...RequestEditorFn) (*V1AuthorizeUserResponse, error)

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

	V1ExchangeOauthTokenWithFormdataBodyWithResponse(ctx context.Context, body V1ExchangeOauthTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*V1ExchangeOauthTokenResponse, error)

	// V1ListAllOrganizationsWithResponse request
	V1ListAllOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*V1ListAllOrganizationsResponse, error)

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

	V1CreateAnOrganizationWithResponse(ctx context.Context, body V1CreateAnOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAnOrganizationResponse, error)

	// V1GetAnOrganizationWithResponse request
	V1GetAnOrganizationWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1GetAnOrganizationResponse, error)

	// V1ListOrganizationMembersWithResponse request
	V1ListOrganizationMembersWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*V1ListOrganizationMembersResponse, error)

	// V1ListAllProjectsWithResponse request
	V1ListAllProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*V1ListAllProjectsResponse, error)

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

	V1CreateAProjectWithResponse(ctx context.Context, body V1CreateAProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAProjectResponse, error)

	// V1DeleteAProjectWithResponse request
	V1DeleteAProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DeleteAProjectResponse, error)

	// V1GetProjectWithResponse request
	V1GetProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetProjectResponse, error)

	// V1GetProjectApiKeysWithResponse request
	V1GetProjectApiKeysWithResponse(ctx context.Context, ref string, params *V1GetProjectApiKeysParams, reqEditors ...RequestEditorFn) (*V1GetProjectApiKeysResponse, error)

	// CreateApiKeyWithBodyWithResponse request with any body
	CreateApiKeyWithBodyWithResponse(ctx context.Context, ref string, params *CreateApiKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)

	CreateApiKeyWithResponse(ctx context.Context, ref string, params *CreateApiKeyParams, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)

	// DeleteApiKeyWithResponse request
	DeleteApiKeyWithResponse(ctx context.Context, ref string, id string, params *DeleteApiKeyParams, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)

	// GetApiKeyWithResponse request
	GetApiKeyWithResponse(ctx context.Context, ref string, id string, params *GetApiKeyParams, reqEditors ...RequestEditorFn) (*GetApiKeyResponse, error)

	// UpdateApiKeyWithBodyWithResponse request with any body
	UpdateApiKeyWithBodyWithResponse(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

	UpdateApiKeyWithResponse(ctx context.Context, ref string, id string, params *UpdateApiKeyParams, body UpdateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)

	// V1DisablePreviewBranchingWithResponse request
	V1DisablePreviewBranchingWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DisablePreviewBranchingResponse, error)

	// V1ListAllBranchesWithResponse request
	V1ListAllBranchesWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllBranchesResponse, error)

	// V1CreateABranchWithBodyWithResponse request with any body
	V1CreateABranchWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateABranchResponse, error)

	V1CreateABranchWithResponse(ctx context.Context, ref string, body V1CreateABranchJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateABranchResponse, error)

	// V1GetAuthServiceConfigWithResponse request
	V1GetAuthServiceConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetAuthServiceConfigResponse, error)

	// V1UpdateAuthServiceConfigWithBodyWithResponse request with any body
	V1UpdateAuthServiceConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateAuthServiceConfigResponse, error)

	V1UpdateAuthServiceConfigWithResponse(ctx context.Context, ref string, body V1UpdateAuthServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateAuthServiceConfigResponse, error)

	// V1ListAllSsoProviderWithResponse request
	V1ListAllSsoProviderWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllSsoProviderResponse, error)

	// V1CreateASsoProviderWithBodyWithResponse request with any body
	V1CreateASsoProviderWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateASsoProviderResponse, error)

	V1CreateASsoProviderWithResponse(ctx context.Context, ref string, body V1CreateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateASsoProviderResponse, error)

	// V1DeleteASsoProviderWithResponse request
	V1DeleteASsoProviderWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*V1DeleteASsoProviderResponse, error)

	// V1GetASsoProviderWithResponse request
	V1GetASsoProviderWithResponse(ctx context.Context, ref string, providerId string, reqEditors ...RequestEditorFn) (*V1GetASsoProviderResponse, error)

	// V1UpdateASsoProviderWithBodyWithResponse request with any body
	V1UpdateASsoProviderWithBodyWithResponse(ctx context.Context, ref string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateASsoProviderResponse, error)

	V1UpdateASsoProviderWithResponse(ctx context.Context, ref string, providerId string, body V1UpdateASsoProviderJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateASsoProviderResponse, error)

	// ListTPAForProjectWithResponse request
	ListTPAForProjectWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ListTPAForProjectResponse, error)

	// CreateTPAForProjectWithBodyWithResponse request with any body
	CreateTPAForProjectWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTPAForProjectResponse, error)

	CreateTPAForProjectWithResponse(ctx context.Context, ref string, body CreateTPAForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTPAForProjectResponse, error)

	// DeleteTPAForProjectWithResponse request
	DeleteTPAForProjectWithResponse(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*DeleteTPAForProjectResponse, error)

	// GetTPAForProjectWithResponse request
	GetTPAForProjectWithResponse(ctx context.Context, ref string, tpaId string, reqEditors ...RequestEditorFn) (*GetTPAForProjectResponse, error)

	// V1GetProjectPgbouncerConfigWithResponse request
	V1GetProjectPgbouncerConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetProjectPgbouncerConfigResponse, error)

	// V1GetSupavisorConfigWithResponse request
	V1GetSupavisorConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetSupavisorConfigResponse, error)

	// V1UpdateSupavisorConfigWithBodyWithResponse request with any body
	V1UpdateSupavisorConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateSupavisorConfigResponse, error)

	V1UpdateSupavisorConfigWithResponse(ctx context.Context, ref string, body V1UpdateSupavisorConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateSupavisorConfigResponse, error)

	// V1GetPostgresConfigWithResponse request
	V1GetPostgresConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPostgresConfigResponse, error)

	// V1UpdatePostgresConfigWithBodyWithResponse request with any body
	V1UpdatePostgresConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdatePostgresConfigResponse, error)

	V1UpdatePostgresConfigWithResponse(ctx context.Context, ref string, body V1UpdatePostgresConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdatePostgresConfigResponse, error)

	// V1GetStorageConfigWithResponse request
	V1GetStorageConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetStorageConfigResponse, error)

	// V1UpdateStorageConfigWithBodyWithResponse request with any body
	V1UpdateStorageConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateStorageConfigResponse, error)

	V1UpdateStorageConfigWithResponse(ctx context.Context, ref string, body V1UpdateStorageConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateStorageConfigResponse, error)

	// V1DeleteHostnameConfigWithResponse request
	V1DeleteHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DeleteHostnameConfigResponse, error)

	// V1GetHostnameConfigWithResponse request
	V1GetHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetHostnameConfigResponse, error)

	// V1ActivateCustomHostnameWithResponse request
	V1ActivateCustomHostnameWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ActivateCustomHostnameResponse, error)

	// V1UpdateHostnameConfigWithBodyWithResponse request with any body
	V1UpdateHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateHostnameConfigResponse, error)

	V1UpdateHostnameConfigWithResponse(ctx context.Context, ref string, body V1UpdateHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateHostnameConfigResponse, error)

	// V1VerifyDnsConfigWithResponse request
	V1VerifyDnsConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1VerifyDnsConfigResponse, error)

	// V1ListAllBackupsWithResponse request
	V1ListAllBackupsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllBackupsResponse, error)

	// V1RestorePitrBackupWithBodyWithResponse request with any body
	V1RestorePitrBackupWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RestorePitrBackupResponse, error)

	V1RestorePitrBackupWithResponse(ctx context.Context, ref string, body V1RestorePitrBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RestorePitrBackupResponse, error)

	// V1RunAQueryWithBodyWithResponse request with any body
	V1RunAQueryWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RunAQueryResponse, error)

	V1RunAQueryWithResponse(ctx context.Context, ref string, body V1RunAQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RunAQueryResponse, error)

	// V1EnableDatabaseWebhookWithResponse request
	V1EnableDatabaseWebhookWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1EnableDatabaseWebhookResponse, error)

	// V1ListAllFunctionsWithResponse request
	V1ListAllFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllFunctionsResponse, error)

	// V1CreateAFunctionWithBodyWithResponse request with any body
	V1CreateAFunctionWithBodyWithResponse(ctx context.Context, ref string, params *V1CreateAFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CreateAFunctionResponse, error)

	V1CreateAFunctionWithResponse(ctx context.Context, ref string, params *V1CreateAFunctionParams, body V1CreateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CreateAFunctionResponse, error)

	// V1DeleteAFunctionWithResponse request
	V1DeleteAFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*V1DeleteAFunctionResponse, error)

	// V1GetAFunctionWithResponse request
	V1GetAFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*V1GetAFunctionResponse, error)

	// V1UpdateAFunctionWithBodyWithResponse request with any body
	V1UpdateAFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateAFunctionResponse, error)

	V1UpdateAFunctionWithResponse(ctx context.Context, ref string, functionSlug string, params *V1UpdateAFunctionParams, body V1UpdateAFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateAFunctionResponse, error)

	// V1GetAFunctionBodyWithResponse request
	V1GetAFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*V1GetAFunctionBodyResponse, error)

	// V1GetServicesHealthWithResponse request
	V1GetServicesHealthWithResponse(ctx context.Context, ref string, params *V1GetServicesHealthParams, reqEditors ...RequestEditorFn) (*V1GetServicesHealthResponse, error)

	// V1DeleteNetworkBansWithBodyWithResponse request with any body
	V1DeleteNetworkBansWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1DeleteNetworkBansResponse, error)

	V1DeleteNetworkBansWithResponse(ctx context.Context, ref string, body V1DeleteNetworkBansJSONRequestBody, reqEditors ...RequestEditorFn) (*V1DeleteNetworkBansResponse, error)

	// V1ListAllNetworkBansWithResponse request
	V1ListAllNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllNetworkBansResponse, error)

	// V1GetNetworkRestrictionsWithResponse request
	V1GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetNetworkRestrictionsResponse, error)

	// V1UpdateNetworkRestrictionsWithBodyWithResponse request with any body
	V1UpdateNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateNetworkRestrictionsResponse, error)

	V1UpdateNetworkRestrictionsWithResponse(ctx context.Context, ref string, body V1UpdateNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateNetworkRestrictionsResponse, error)

	// V1GetPgsodiumConfigWithResponse request
	V1GetPgsodiumConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPgsodiumConfigResponse, error)

	// V1UpdatePgsodiumConfigWithBodyWithResponse request with any body
	V1UpdatePgsodiumConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdatePgsodiumConfigResponse, error)

	V1UpdatePgsodiumConfigWithResponse(ctx context.Context, ref string, body V1UpdatePgsodiumConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdatePgsodiumConfigResponse, error)

	// V1GetPostgrestServiceConfigWithResponse request
	V1GetPostgrestServiceConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPostgrestServiceConfigResponse, error)

	// V1UpdatePostgrestServiceConfigWithBodyWithResponse request with any body
	V1UpdatePostgrestServiceConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdatePostgrestServiceConfigResponse, error)

	V1UpdatePostgrestServiceConfigWithResponse(ctx context.Context, ref string, body V1UpdatePostgrestServiceConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdatePostgrestServiceConfigResponse, error)

	// V1RemoveAReadReplicaWithBodyWithResponse request with any body
	V1RemoveAReadReplicaWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1RemoveAReadReplicaResponse, error)

	V1RemoveAReadReplicaWithResponse(ctx context.Context, ref string, body V1RemoveAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1RemoveAReadReplicaResponse, error)

	// V1SetupAReadReplicaWithBodyWithResponse request with any body
	V1SetupAReadReplicaWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1SetupAReadReplicaResponse, error)

	V1SetupAReadReplicaWithResponse(ctx context.Context, ref string, body V1SetupAReadReplicaJSONRequestBody, reqEditors ...RequestEditorFn) (*V1SetupAReadReplicaResponse, error)

	// V1GetReadonlyModeStatusWithResponse request
	V1GetReadonlyModeStatusWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetReadonlyModeStatusResponse, error)

	// V1DisableReadonlyModeTemporarilyWithResponse request
	V1DisableReadonlyModeTemporarilyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DisableReadonlyModeTemporarilyResponse, error)

	// V1BulkDeleteSecretsWithBodyWithResponse request with any body
	V1BulkDeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1BulkDeleteSecretsResponse, error)

	V1BulkDeleteSecretsWithResponse(ctx context.Context, ref string, body V1BulkDeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*V1BulkDeleteSecretsResponse, error)

	// V1ListAllSecretsWithResponse request
	V1ListAllSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllSecretsResponse, error)

	// V1BulkCreateSecretsWithBodyWithResponse request with any body
	V1BulkCreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1BulkCreateSecretsResponse, error)

	V1BulkCreateSecretsWithResponse(ctx context.Context, ref string, body V1BulkCreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*V1BulkCreateSecretsResponse, error)

	// V1GetSslEnforcementConfigWithResponse request
	V1GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetSslEnforcementConfigResponse, error)

	// V1UpdateSslEnforcementConfigWithBodyWithResponse request with any body
	V1UpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpdateSslEnforcementConfigResponse, error)

	V1UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body V1UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpdateSslEnforcementConfigResponse, error)

	// V1ListAllBucketsWithResponse request
	V1ListAllBucketsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1ListAllBucketsResponse, error)

	// V1GenerateTypescriptTypesWithResponse request
	V1GenerateTypescriptTypesWithResponse(ctx context.Context, ref string, params *V1GenerateTypescriptTypesParams, reqEditors ...RequestEditorFn) (*V1GenerateTypescriptTypesResponse, error)

	// V1UpgradePostgresVersionWithBodyWithResponse request with any body
	V1UpgradePostgresVersionWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1UpgradePostgresVersionResponse, error)

	V1UpgradePostgresVersionWithResponse(ctx context.Context, ref string, body V1UpgradePostgresVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*V1UpgradePostgresVersionResponse, error)

	// V1GetPostgresUpgradeEligibilityWithResponse request
	V1GetPostgresUpgradeEligibilityWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetPostgresUpgradeEligibilityResponse, error)

	// V1GetPostgresUpgradeStatusWithResponse request
	V1GetPostgresUpgradeStatusWithResponse(ctx context.Context, ref string, params *V1GetPostgresUpgradeStatusParams, reqEditors ...RequestEditorFn) (*V1GetPostgresUpgradeStatusResponse, error)

	// V1DeactivateVanitySubdomainConfigWithResponse request
	V1DeactivateVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1DeactivateVanitySubdomainConfigResponse, error)

	// V1GetVanitySubdomainConfigWithResponse request
	V1GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*V1GetVanitySubdomainConfigResponse, error)

	// V1ActivateVanitySubdomainConfigWithBodyWithResponse request with any body
	V1ActivateVanitySubdomainConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1ActivateVanitySubdomainConfigResponse, error)

	V1ActivateVanitySubdomainConfigWithResponse(ctx context.Context, ref string, body V1ActivateVanitySubdomainConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*V1ActivateVanitySubdomainConfigResponse, error)

	// V1CheckVanitySubdomainAvailabilityWithBodyWithResponse request with any body
	V1CheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1CheckVanitySubdomainAvailabilityResponse, error)

	V1CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body V1CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*V1CheckVanitySubdomainAvailabilityResponse, error)

	// V1ListAllSnippetsWithResponse request
	V1ListAllSnippetsWithResponse(ctx context.Context, params *V1ListAllSnippetsParams, reqEditors ...RequestEditorFn) (*V1ListAllSnippetsResponse, error)

	// V1GetASnippetWithResponse request
	V1GetASnippetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*V1GetASnippetResponse, error)
}

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

type CreateApiKeyBody added in v1.205.0

type CreateApiKeyBody struct {
	Description       *string                  `json:"description"`
	SecretJwtTemplate *ApiKeySecretJWTTemplate `json:"secret_jwt_template"`
	Type              CreateApiKeyBodyType     `json:"type"`
}

CreateApiKeyBody defines model for CreateApiKeyBody.

type CreateApiKeyBodyType added in v1.205.0

type CreateApiKeyBodyType string

CreateApiKeyBodyType defines model for CreateApiKeyBody.Type.

const (
	CreateApiKeyBodyTypePublishable CreateApiKeyBodyType = "publishable"
	CreateApiKeyBodyTypeSecret      CreateApiKeyBodyType = "secret"
)

Defines values for CreateApiKeyBodyType.

type CreateApiKeyJSONRequestBody added in v1.205.0

type CreateApiKeyJSONRequestBody = CreateApiKeyBody

CreateApiKeyJSONRequestBody defines body for CreateApiKey for application/json ContentType.

type CreateApiKeyParams added in v1.224.1

type CreateApiKeyParams struct {
	Reveal bool `form:"reveal" json:"reveal"`
}

CreateApiKeyParams defines parameters for CreateApiKey.

type CreateApiKeyResponse added in v1.205.0

type CreateApiKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ApiKeyResponse
}

func ParseCreateApiKeyResponse added in v1.205.0

func ParseCreateApiKeyResponse(rsp *http.Response) (*CreateApiKeyResponse, error)

ParseCreateApiKeyResponse parses an HTTP response from a CreateApiKeyWithResponse call

func (CreateApiKeyResponse) Status added in v1.205.0

func (r CreateApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateApiKeyResponse) StatusCode added in v1.205.0

func (r CreateApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBranchBody added in v1.79.0

type CreateBranchBody struct {
	BranchName          string               `json:"branch_name"`
	DesiredInstanceSize *DesiredInstanceSize `json:"desired_instance_size,omitempty"`
	GitBranch           *string              `json:"git_branch,omitempty"`
	Persistent          *bool                `json:"persistent,omitempty"`

	// PostgresEngine Postgres engine version. If not provided, the latest version will be used.
	PostgresEngine *PostgresEngine `json:"postgres_engine,omitempty"`
	Region         *string         `json:"region,omitempty"`
	ReleaseChannel *ReleaseChannel `json:"release_channel,omitempty"`
}

CreateBranchBody defines model for CreateBranchBody.

type CreateOrganizationV1Dto added in v1.224.1

type CreateOrganizationV1Dto struct {
	Name string `json:"name"`
}

CreateOrganizationV1Dto defines model for CreateOrganizationV1Dto.

type CreateProviderBody added in v1.45.3

type CreateProviderBody struct {
	AttributeMapping *AttributeMapping `json:"attribute_mapping,omitempty"`
	Domains          *[]string         `json:"domains,omitempty"`
	MetadataUrl      *string           `json:"metadata_url,omitempty"`
	MetadataXml      *string           `json:"metadata_xml,omitempty"`

	// Type What type of provider will be created
	Type CreateProviderBodyType `json:"type"`
}

CreateProviderBody defines model for CreateProviderBody.

type CreateProviderBodyType added in v1.45.3

type CreateProviderBodyType string

CreateProviderBodyType What type of provider will be created

const (
	Saml CreateProviderBodyType = "saml"
)

Defines values for CreateProviderBodyType.

type CreateProviderResponse added in v1.45.3

type CreateProviderResponse struct {
	CreatedAt *string         `json:"created_at,omitempty"`
	Domains   *[]Domain       `json:"domains,omitempty"`
	Id        string          `json:"id"`
	Saml      *SamlDescriptor `json:"saml,omitempty"`
	UpdatedAt *string         `json:"updated_at,omitempty"`
}

CreateProviderResponse defines model for CreateProviderResponse.

type CreateSecretBody

type CreateSecretBody struct {
	// Name Secret name must not start with the SUPABASE_ prefix.
	Name  string `json:"name"`
	Value string `json:"value"`
}

CreateSecretBody defines model for CreateSecretBody.

type CreateTPAForProjectJSONRequestBody added in v1.165.1

type CreateTPAForProjectJSONRequestBody = CreateThirdPartyAuthBody

CreateTPAForProjectJSONRequestBody defines body for CreateTPAForProject for application/json ContentType.

type CreateTPAForProjectResponse added in v1.165.1

type CreateTPAForProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ThirdPartyAuth
}

func ParseCreateTPAForProjectResponse added in v1.165.1

func ParseCreateTPAForProjectResponse(rsp *http.Response) (*CreateTPAForProjectResponse, error)

ParseCreateTPAForProjectResponse parses an HTTP response from a CreateTPAForProjectWithResponse call

func (CreateTPAForProjectResponse) Status added in v1.165.1

Status returns HTTPResponse.Status

func (CreateTPAForProjectResponse) StatusCode added in v1.165.1

func (r CreateTPAForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateThirdPartyAuthBody added in v1.165.1

type CreateThirdPartyAuthBody struct {
	CustomJwks    *map[string]interface{} `json:"custom_jwks,omitempty"`
	JwksUrl       *string                 `json:"jwks_url,omitempty"`
	OidcIssuerUrl *string                 `json:"oidc_issuer_url,omitempty"`
}

CreateThirdPartyAuthBody defines model for CreateThirdPartyAuthBody.

type CustomHostnameDetails added in v1.187.10

type CustomHostnameDetails struct {
	CustomOriginServer    string                `json:"custom_origin_server"`
	Hostname              string                `json:"hostname"`
	Id                    string                `json:"id"`
	OwnershipVerification OwnershipVerification `json:"ownership_verification"`
	Ssl                   SslValidation         `json:"ssl"`
	Status                string                `json:"status"`
	VerificationErrors    *[]string             `json:"verification_errors,omitempty"`
}

CustomHostnameDetails defines model for CustomHostnameDetails.

type DatabaseUpgradeStatus added in v1.45.3

type DatabaseUpgradeStatus struct {
	Error          *DatabaseUpgradeStatusError    `json:"error,omitempty"`
	InitiatedAt    string                         `json:"initiated_at"`
	LatestStatusAt string                         `json:"latest_status_at"`
	Progress       *DatabaseUpgradeStatusProgress `json:"progress,omitempty"`
	Status         DatabaseUpgradeStatusStatus    `json:"status"`
	TargetVersion  int                            `json:"target_version"`
}

DatabaseUpgradeStatus defines model for DatabaseUpgradeStatus.

type DatabaseUpgradeStatusError added in v1.45.3

type DatabaseUpgradeStatusError string

DatabaseUpgradeStatusError defines model for DatabaseUpgradeStatus.Error.

const (
	N1UpgradedInstanceLaunchFailed                 DatabaseUpgradeStatusError = "1_upgraded_instance_launch_failed"
	N2VolumeDetachchmentFromUpgradedInstanceFailed DatabaseUpgradeStatusError = "2_volume_detachchment_from_upgraded_instance_failed"
	N3VolumeAttachmentToOriginalInstanceFailed     DatabaseUpgradeStatusError = "3_volume_attachment_to_original_instance_failed"
	N4DataUpgradeInitiationFailed                  DatabaseUpgradeStatusError = "4_data_upgrade_initiation_failed"
	N5DataUpgradeCompletionFailed                  DatabaseUpgradeStatusError = "5_data_upgrade_completion_failed"
	N6VolumeDetachchmentFromOriginalInstanceFailed DatabaseUpgradeStatusError = "6_volume_detachchment_from_original_instance_failed"
	N7VolumeAttachmentToUpgradedInstanceFailed     DatabaseUpgradeStatusError = "7_volume_attachment_to_upgraded_instance_failed"
	N8UpgradeCompletionFailed                      DatabaseUpgradeStatusError = "8_upgrade_completion_failed"
	N9PostPhysicalBackupFailed                     DatabaseUpgradeStatusError = "9_post_physical_backup_failed"
)

Defines values for DatabaseUpgradeStatusError.

type DatabaseUpgradeStatusProgress added in v1.45.3

type DatabaseUpgradeStatusProgress string

DatabaseUpgradeStatusProgress defines model for DatabaseUpgradeStatus.Progress.

const (
	N0Requested                          DatabaseUpgradeStatusProgress = "0_requested"
	N10CompletedPostPhysicalBackup       DatabaseUpgradeStatusProgress = "10_completed_post_physical_backup"
	N1Started                            DatabaseUpgradeStatusProgress = "1_started"
	N2LaunchedUpgradedInstance           DatabaseUpgradeStatusProgress = "2_launched_upgraded_instance"
	N3DetachedVolumeFromUpgradedInstance DatabaseUpgradeStatusProgress = "3_detached_volume_from_upgraded_instance"
	N4AttachedVolumeToOriginalInstance   DatabaseUpgradeStatusProgress = "4_attached_volume_to_original_instance"
	N5InitiatedDataUpgrade               DatabaseUpgradeStatusProgress = "5_initiated_data_upgrade"
	N6CompletedDataUpgrade               DatabaseUpgradeStatusProgress = "6_completed_data_upgrade"
	N7DetachedVolumeFromOriginalInstance DatabaseUpgradeStatusProgress = "7_detached_volume_from_original_instance"
	N8AttachedVolumeToUpgradedInstance   DatabaseUpgradeStatusProgress = "8_attached_volume_to_upgraded_instance"
	N9CompletedUpgrade                   DatabaseUpgradeStatusProgress = "9_completed_upgrade"
)

Defines values for DatabaseUpgradeStatusProgress.

type DatabaseUpgradeStatusResponse added in v1.45.3

type DatabaseUpgradeStatusResponse struct {
	DatabaseUpgradeStatus *DatabaseUpgradeStatus `json:"databaseUpgradeStatus"`
}

DatabaseUpgradeStatusResponse defines model for DatabaseUpgradeStatusResponse.

type DatabaseUpgradeStatusStatus added in v1.45.3

type DatabaseUpgradeStatusStatus int

DatabaseUpgradeStatusStatus defines model for DatabaseUpgradeStatus.Status.

Defines values for DatabaseUpgradeStatusStatus.

type DeleteApiKeyParams added in v1.224.1

type DeleteApiKeyParams struct {
	Reveal bool `form:"reveal" json:"reveal"`
}

DeleteApiKeyParams defines parameters for DeleteApiKey.

type DeleteApiKeyResponse added in v1.205.0

type DeleteApiKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKeyResponse
}

func ParseDeleteApiKeyResponse added in v1.205.0

func ParseDeleteApiKeyResponse(rsp *http.Response) (*DeleteApiKeyResponse, error)

ParseDeleteApiKeyResponse parses an HTTP response from a DeleteApiKeyWithResponse call

func (DeleteApiKeyResponse) Status added in v1.205.0

func (r DeleteApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteApiKeyResponse) StatusCode added in v1.205.0

func (r DeleteApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProviderResponse added in v1.45.3

type DeleteProviderResponse struct {
	CreatedAt *string         `json:"created_at,omitempty"`
	Domains   *[]Domain       `json:"domains,omitempty"`
	Id        string          `json:"id"`
	Saml      *SamlDescriptor `json:"saml,omitempty"`
	UpdatedAt *string         `json:"updated_at,omitempty"`
}

DeleteProviderResponse defines model for DeleteProviderResponse.

type DeleteTPAForProjectResponse added in v1.165.1

type DeleteTPAForProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ThirdPartyAuth
}

func ParseDeleteTPAForProjectResponse added in v1.165.1

func ParseDeleteTPAForProjectResponse(rsp *http.Response) (*DeleteTPAForProjectResponse, error)

ParseDeleteTPAForProjectResponse parses an HTTP response from a DeleteTPAForProjectWithResponse call

func (DeleteTPAForProjectResponse) Status added in v1.165.1

Status returns HTTPResponse.Status

func (DeleteTPAForProjectResponse) StatusCode added in v1.165.1

func (r DeleteTPAForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DesiredInstanceSize added in v1.165.1

type DesiredInstanceSize string

DesiredInstanceSize defines model for DesiredInstanceSize.

const (
	DesiredInstanceSizeLarge     DesiredInstanceSize = "large"
	DesiredInstanceSizeMedium    DesiredInstanceSize = "medium"
	DesiredInstanceSizeMicro     DesiredInstanceSize = "micro"
	DesiredInstanceSizeN12xlarge DesiredInstanceSize = "12xlarge"
	DesiredInstanceSizeN16xlarge DesiredInstanceSize = "16xlarge"
	DesiredInstanceSizeN2xlarge  DesiredInstanceSize = "2xlarge"
	DesiredInstanceSizeN4xlarge  DesiredInstanceSize = "4xlarge"
	DesiredInstanceSizeN8xlarge  DesiredInstanceSize = "8xlarge"
	DesiredInstanceSizeSmall     DesiredInstanceSize = "small"
	DesiredInstanceSizeXlarge    DesiredInstanceSize = "xlarge"
)

Defines values for DesiredInstanceSize.

type Domain added in v1.45.3

type Domain struct {
	CreatedAt *string `json:"created_at,omitempty"`
	Domain    *string `json:"domain,omitempty"`
	Id        string  `json:"id"`
	UpdatedAt *string `json:"updated_at,omitempty"`
}

Domain defines model for Domain.

type FunctionResponse

type FunctionResponse struct {
	ComputeMultiplier *float32               `json:"compute_multiplier,omitempty"`
	CreatedAt         int64                  `json:"created_at"`
	EntrypointPath    *string                `json:"entrypoint_path,omitempty"`
	Id                string                 `json:"id"`
	ImportMap         *bool                  `json:"import_map,omitempty"`
	ImportMapPath     *string                `json:"import_map_path,omitempty"`
	Name              string                 `json:"name"`
	Slug              string                 `json:"slug"`
	Status            FunctionResponseStatus `json:"status"`
	UpdatedAt         int64                  `json:"updated_at"`
	VerifyJwt         *bool                  `json:"verify_jwt,omitempty"`
	Version           int                    `json:"version"`
}

FunctionResponse defines model for FunctionResponse.

type FunctionResponseStatus

type FunctionResponseStatus string

FunctionResponseStatus defines model for FunctionResponse.Status.

const (
	FunctionResponseStatusACTIVE    FunctionResponseStatus = "ACTIVE"
	FunctionResponseStatusREMOVED   FunctionResponseStatus = "REMOVED"
	FunctionResponseStatusTHROTTLED FunctionResponseStatus = "THROTTLED"
)

Defines values for FunctionResponseStatus.

type FunctionSlugResponse

type FunctionSlugResponse struct {
	ComputeMultiplier *float32                   `json:"compute_multiplier,omitempty"`
	CreatedAt         int64                      `json:"created_at"`
	EntrypointPath    *string                    `json:"entrypoint_path,omitempty"`
	Id                string                     `json:"id"`
	ImportMap         *bool                      `json:"import_map,omitempty"`
	ImportMapPath     *string                    `json:"import_map_path,omitempty"`
	Name              string                     `json:"name"`
	Slug              string                     `json:"slug"`
	Status            FunctionSlugResponseStatus `json:"status"`
	UpdatedAt         int64                      `json:"updated_at"`
	VerifyJwt         *bool                      `json:"verify_jwt,omitempty"`
	Version           int                        `json:"version"`
}

FunctionSlugResponse defines model for FunctionSlugResponse.

type FunctionSlugResponseStatus

type FunctionSlugResponseStatus string

FunctionSlugResponseStatus defines model for FunctionSlugResponse.Status.

const (
	FunctionSlugResponseStatusACTIVE    FunctionSlugResponseStatus = "ACTIVE"
	FunctionSlugResponseStatusREMOVED   FunctionSlugResponseStatus = "REMOVED"
	FunctionSlugResponseStatusTHROTTLED FunctionSlugResponseStatus = "THROTTLED"
)

Defines values for FunctionSlugResponseStatus.

type GetApiKeyParams added in v1.224.1

type GetApiKeyParams struct {
	Reveal bool `form:"reveal" json:"reveal"`
}

GetApiKeyParams defines parameters for GetApiKey.

type GetApiKeyResponse added in v1.224.1

type GetApiKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKeyResponse
}

func ParseGetApiKeyResponse added in v1.224.1

func ParseGetApiKeyResponse(rsp *http.Response) (*GetApiKeyResponse, error)

ParseGetApiKeyResponse parses an HTTP response from a GetApiKeyWithResponse call

func (GetApiKeyResponse) Status added in v1.224.1

func (r GetApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeyResponse) StatusCode added in v1.224.1

func (r GetApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProviderResponse added in v1.45.3

type GetProviderResponse struct {
	CreatedAt *string         `json:"created_at,omitempty"`
	Domains   *[]Domain       `json:"domains,omitempty"`
	Id        string          `json:"id"`
	Saml      *SamlDescriptor `json:"saml,omitempty"`
	UpdatedAt *string         `json:"updated_at,omitempty"`
}

GetProviderResponse defines model for GetProviderResponse.

type GetTPAForProjectResponse added in v1.165.1

type GetTPAForProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ThirdPartyAuth
}

func ParseGetTPAForProjectResponse added in v1.165.1

func ParseGetTPAForProjectResponse(rsp *http.Response) (*GetTPAForProjectResponse, error)

ParseGetTPAForProjectResponse parses an HTTP response from a GetTPAForProjectWithResponse call

func (GetTPAForProjectResponse) Status added in v1.165.1

func (r GetTPAForProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetTPAForProjectResponse) StatusCode added in v1.165.1

func (r GetTPAForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListProvidersResponse added in v1.45.3

type ListProvidersResponse struct {
	Items []Provider `json:"items"`
}

ListProvidersResponse defines model for ListProvidersResponse.

type ListTPAForProjectResponse added in v1.165.1

type ListTPAForProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ThirdPartyAuth
}

func ParseListTPAForProjectResponse added in v1.165.1

func ParseListTPAForProjectResponse(rsp *http.Response) (*ListTPAForProjectResponse, error)

ParseListTPAForProjectResponse parses an HTTP response from a ListTPAForProjectWithResponse call

func (ListTPAForProjectResponse) Status added in v1.165.1

func (r ListTPAForProjectResponse) Status() string

Status returns HTTPResponse.Status

func (ListTPAForProjectResponse) StatusCode added in v1.165.1

func (r ListTPAForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworkBanResponse added in v1.12.3

type NetworkBanResponse struct {
	BannedIpv4Addresses []string `json:"banned_ipv4_addresses"`
}

NetworkBanResponse defines model for NetworkBanResponse.

type NetworkRestrictionsRequest added in v1.20.0

type NetworkRestrictionsRequest struct {
	DbAllowedCidrs   *[]string `json:"dbAllowedCidrs,omitempty"`
	DbAllowedCidrsV6 *[]string `json:"dbAllowedCidrsV6,omitempty"`
}

NetworkRestrictionsRequest defines model for NetworkRestrictionsRequest.

type NetworkRestrictionsResponse added in v1.20.0

type NetworkRestrictionsResponse struct {
	Config      NetworkRestrictionsRequest             `json:"config"`
	Entitlement NetworkRestrictionsResponseEntitlement `json:"entitlement"`
	OldConfig   *NetworkRestrictionsRequest            `json:"old_config,omitempty"`
	Status      NetworkRestrictionsResponseStatus      `json:"status"`
}

NetworkRestrictionsResponse defines model for NetworkRestrictionsResponse.

type NetworkRestrictionsResponseEntitlement added in v1.20.0

type NetworkRestrictionsResponseEntitlement string

NetworkRestrictionsResponseEntitlement defines model for NetworkRestrictionsResponse.Entitlement.

const (
	Allowed    NetworkRestrictionsResponseEntitlement = "allowed"
	Disallowed NetworkRestrictionsResponseEntitlement = "disallowed"
)

Defines values for NetworkRestrictionsResponseEntitlement.

type NetworkRestrictionsResponseStatus added in v1.20.0

type NetworkRestrictionsResponseStatus string

NetworkRestrictionsResponseStatus defines model for NetworkRestrictionsResponse.Status.

const (
	Applied NetworkRestrictionsResponseStatus = "applied"
	Stored  NetworkRestrictionsResponseStatus = "stored"
)

Defines values for NetworkRestrictionsResponseStatus.

type OAuthTokenBody added in v1.93.0

type OAuthTokenBody struct {
	ClientId     string                  `json:"client_id"`
	ClientSecret string                  `json:"client_secret"`
	Code         *string                 `json:"code,omitempty"`
	CodeVerifier *string                 `json:"code_verifier,omitempty"`
	GrantType    OAuthTokenBodyGrantType `json:"grant_type"`
	RedirectUri  *string                 `json:"redirect_uri,omitempty"`
	RefreshToken *string                 `json:"refresh_token,omitempty"`
}

OAuthTokenBody defines model for OAuthTokenBody.

type OAuthTokenBodyGrantType added in v1.93.0

type OAuthTokenBodyGrantType string

OAuthTokenBodyGrantType defines model for OAuthTokenBody.GrantType.

const (
	AuthorizationCode OAuthTokenBodyGrantType = "authorization_code"
	RefreshToken      OAuthTokenBodyGrantType = "refresh_token"
)

Defines values for OAuthTokenBodyGrantType.

type OAuthTokenResponse added in v1.93.0

type OAuthTokenResponse struct {
	AccessToken  string                      `json:"access_token"`
	ExpiresIn    int64                       `json:"expires_in"`
	RefreshToken string                      `json:"refresh_token"`
	TokenType    OAuthTokenResponseTokenType `json:"token_type"`
}

OAuthTokenResponse defines model for OAuthTokenResponse.

type OAuthTokenResponseTokenType added in v1.93.0

type OAuthTokenResponseTokenType string

OAuthTokenResponseTokenType defines model for OAuthTokenResponse.TokenType.

const (
	Bearer OAuthTokenResponseTokenType = "Bearer"
)

Defines values for OAuthTokenResponseTokenType.

type OrganizationResponseV1 added in v1.119.0

type OrganizationResponseV1 struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

OrganizationResponseV1 defines model for OrganizationResponseV1.

type OwnershipVerification added in v1.187.10

type OwnershipVerification struct {
	Name  string `json:"name"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

OwnershipVerification defines model for OwnershipVerification.

type PgsodiumConfigResponse added in v1.22.2

type PgsodiumConfigResponse struct {
	RootKey string `json:"root_key"`
}

PgsodiumConfigResponse defines model for PgsodiumConfigResponse.

type PostgresConfigResponse added in v1.57.5

type PostgresConfigResponse struct {
	EffectiveCacheSize            *string                                       `json:"effective_cache_size,omitempty"`
	LogicalDecodingWorkMem        *string                                       `json:"logical_decoding_work_mem,omitempty"`
	MaintenanceWorkMem            *string                                       `json:"maintenance_work_mem,omitempty"`
	MaxConnections                *int                                          `json:"max_connections,omitempty"`
	MaxLocksPerTransaction        *int                                          `json:"max_locks_per_transaction,omitempty"`
	MaxParallelMaintenanceWorkers *int                                          `json:"max_parallel_maintenance_workers,omitempty"`
	MaxParallelWorkers            *int                                          `json:"max_parallel_workers,omitempty"`
	MaxParallelWorkersPerGather   *int                                          `json:"max_parallel_workers_per_gather,omitempty"`
	MaxReplicationSlots           *int                                          `json:"max_replication_slots,omitempty"`
	MaxSlotWalKeepSize            *string                                       `json:"max_slot_wal_keep_size,omitempty"`
	MaxStandbyArchiveDelay        *string                                       `json:"max_standby_archive_delay,omitempty"`
	MaxStandbyStreamingDelay      *string                                       `json:"max_standby_streaming_delay,omitempty"`
	MaxWalSenders                 *int                                          `json:"max_wal_senders,omitempty"`
	MaxWalSize                    *string                                       `json:"max_wal_size,omitempty"`
	MaxWorkerProcesses            *int                                          `json:"max_worker_processes,omitempty"`
	SessionReplicationRole        *PostgresConfigResponseSessionReplicationRole `json:"session_replication_role,omitempty"`
	SharedBuffers                 *string                                       `json:"shared_buffers,omitempty"`
	StatementTimeout              *string                                       `json:"statement_timeout,omitempty"`
	TrackCommitTimestamp          *bool                                         `json:"track_commit_timestamp,omitempty"`
	WalKeepSize                   *string                                       `json:"wal_keep_size,omitempty"`
	WalSenderTimeout              *string                                       `json:"wal_sender_timeout,omitempty"`
	WorkMem                       *string                                       `json:"work_mem,omitempty"`
}

PostgresConfigResponse defines model for PostgresConfigResponse.

type PostgresConfigResponseSessionReplicationRole added in v1.57.5

type PostgresConfigResponseSessionReplicationRole string

PostgresConfigResponseSessionReplicationRole defines model for PostgresConfigResponse.SessionReplicationRole.

const (
	PostgresConfigResponseSessionReplicationRoleLocal   PostgresConfigResponseSessionReplicationRole = "local"
	PostgresConfigResponseSessionReplicationRoleOrigin  PostgresConfigResponseSessionReplicationRole = "origin"
	PostgresConfigResponseSessionReplicationRoleReplica PostgresConfigResponseSessionReplicationRole = "replica"
)

Defines values for PostgresConfigResponseSessionReplicationRole.

type PostgresEngine added in v1.205.0

type PostgresEngine string

PostgresEngine Postgres engine version. If not provided, the latest version will be used.

const (
	PostgresEngineN15 PostgresEngine = "15"
)

Defines values for PostgresEngine.

type PostgrestConfigWithJWTSecretResponse added in v1.57.5

type PostgrestConfigWithJWTSecretResponse struct {
	DbExtraSearchPath string `json:"db_extra_search_path"`

	// DbPool If `null`, the value is automatically configured based on compute size.
	DbPool    *int    `json:"db_pool"`
	DbSchema  string  `json:"db_schema"`
	JwtSecret *string `json:"jwt_secret,omitempty"`
	MaxRows   int     `json:"max_rows"`
}

PostgrestConfigWithJWTSecretResponse defines model for PostgrestConfigWithJWTSecretResponse.

type ProjectUpgradeEligibilityResponse added in v1.45.3

type ProjectUpgradeEligibilityResponse struct {
	CurrentAppVersion               string           `json:"current_app_version"`
	CurrentAppVersionReleaseChannel ReleaseChannel   `json:"current_app_version_release_channel"`
	DurationEstimateHours           int              `json:"duration_estimate_hours"`
	Eligible                        bool             `json:"eligible"`
	ExtensionDependentObjects       []string         `json:"extension_dependent_objects"`
	LatestAppVersion                string           `json:"latest_app_version"`
	LegacyAuthCustomRoles           []string         `json:"legacy_auth_custom_roles"`
	PotentialBreakingChanges        []string         `json:"potential_breaking_changes"`
	TargetUpgradeVersions           []ProjectVersion `json:"target_upgrade_versions"`
}

ProjectUpgradeEligibilityResponse defines model for ProjectUpgradeEligibilityResponse.

type ProjectUpgradeInitiateResponse added in v1.119.0

type ProjectUpgradeInitiateResponse struct {
	TrackingId string `json:"tracking_id"`
}

ProjectUpgradeInitiateResponse defines model for ProjectUpgradeInitiateResponse.

type ProjectVersion added in v1.45.3

type ProjectVersion struct {
	AppVersion string `json:"app_version"`

	// PostgresVersion Postgres engine version. If not provided, the latest version will be used.
	PostgresVersion PostgresEngine `json:"postgres_version"`
	ReleaseChannel  ReleaseChannel `json:"release_channel"`
}

ProjectVersion defines model for ProjectVersion.

type Provider added in v1.45.3

type Provider struct {
	CreatedAt *string         `json:"created_at,omitempty"`
	Domains   *[]Domain       `json:"domains,omitempty"`
	Id        string          `json:"id"`
	Saml      *SamlDescriptor `json:"saml,omitempty"`
	UpdatedAt *string         `json:"updated_at,omitempty"`
}

Provider defines model for Provider.

type ReadOnlyStatusResponse added in v1.45.3

type ReadOnlyStatusResponse struct {
	Enabled             bool   `json:"enabled"`
	OverrideActiveUntil string `json:"override_active_until"`
	OverrideEnabled     bool   `json:"override_enabled"`
}

ReadOnlyStatusResponse defines model for ReadOnlyStatusResponse.

type RealtimeHealthResponse added in v1.106.0

type RealtimeHealthResponse struct {
	ConnectedCluster int `json:"connected_cluster"`
}

RealtimeHealthResponse defines model for RealtimeHealthResponse.

type ReleaseChannel added in v1.205.0

type ReleaseChannel string

ReleaseChannel defines model for ReleaseChannel.

const (
	ReleaseChannelAlpha     ReleaseChannel = "alpha"
	ReleaseChannelBeta      ReleaseChannel = "beta"
	ReleaseChannelGa        ReleaseChannel = "ga"
	ReleaseChannelInternal  ReleaseChannel = "internal"
	ReleaseChannelWithdrawn ReleaseChannel = "withdrawn"
)

Defines values for ReleaseChannel.

type RemoveNetworkBanRequest added in v1.12.3

type RemoveNetworkBanRequest struct {
	Ipv4Addresses []string `json:"ipv4_addresses"`
}

RemoveNetworkBanRequest defines model for RemoveNetworkBanRequest.

type RemoveReadReplicaBody added in v1.127.0

type RemoveReadReplicaBody struct {
	DatabaseIdentifier string `json:"database_identifier"`
}

RemoveReadReplicaBody defines model for RemoveReadReplicaBody.

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type SamlDescriptor added in v1.45.3

type SamlDescriptor struct {
	AttributeMapping *AttributeMapping `json:"attribute_mapping,omitempty"`
	EntityId         string            `json:"entity_id"`
	Id               string            `json:"id"`
	MetadataUrl      *string           `json:"metadata_url,omitempty"`
	MetadataXml      *string           `json:"metadata_xml,omitempty"`
}

SamlDescriptor defines model for SamlDescriptor.

type SecretResponse

type SecretResponse struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

SecretResponse defines model for SecretResponse.

type SetUpReadReplicaBody added in v1.127.0

type SetUpReadReplicaBody struct {
	// ReadReplicaRegion Region you want your read replica to reside in
	ReadReplicaRegion SetUpReadReplicaBodyReadReplicaRegion `json:"read_replica_region"`
}

SetUpReadReplicaBody defines model for SetUpReadReplicaBody.

type SetUpReadReplicaBodyReadReplicaRegion added in v1.127.0

type SetUpReadReplicaBodyReadReplicaRegion string

SetUpReadReplicaBodyReadReplicaRegion Region you want your read replica to reside in

const (
	SetUpReadReplicaBodyReadReplicaRegionApEast1      SetUpReadReplicaBodyReadReplicaRegion = "ap-east-1"
	SetUpReadReplicaBodyReadReplicaRegionApNortheast1 SetUpReadReplicaBodyReadReplicaRegion = "ap-northeast-1"
	SetUpReadReplicaBodyReadReplicaRegionApNortheast2 SetUpReadReplicaBodyReadReplicaRegion = "ap-northeast-2"
	SetUpReadReplicaBodyReadReplicaRegionApSouth1     SetUpReadReplicaBodyReadReplicaRegion = "ap-south-1"
	SetUpReadReplicaBodyReadReplicaRegionApSoutheast1 SetUpReadReplicaBodyReadReplicaRegion = "ap-southeast-1"
	SetUpReadReplicaBodyReadReplicaRegionApSoutheast2 SetUpReadReplicaBodyReadReplicaRegion = "ap-southeast-2"
	SetUpReadReplicaBodyReadReplicaRegionCaCentral1   SetUpReadReplicaBodyReadReplicaRegion = "ca-central-1"
	SetUpReadReplicaBodyReadReplicaRegionEuCentral1   SetUpReadReplicaBodyReadReplicaRegion = "eu-central-1"
	SetUpReadReplicaBodyReadReplicaRegionEuCentral2   SetUpReadReplicaBodyReadReplicaRegion = "eu-central-2"
	SetUpReadReplicaBodyReadReplicaRegionEuNorth1     SetUpReadReplicaBodyReadReplicaRegion = "eu-north-1"
	SetUpReadReplicaBodyReadReplicaRegionEuWest1      SetUpReadReplicaBodyReadReplicaRegion = "eu-west-1"
	SetUpReadReplicaBodyReadReplicaRegionEuWest2      SetUpReadReplicaBodyReadReplicaRegion = "eu-west-2"
	SetUpReadReplicaBodyReadReplicaRegionEuWest3      SetUpReadReplicaBodyReadReplicaRegion = "eu-west-3"
	SetUpReadReplicaBodyReadReplicaRegionSaEast1      SetUpReadReplicaBodyReadReplicaRegion = "sa-east-1"
	SetUpReadReplicaBodyReadReplicaRegionUsEast1      SetUpReadReplicaBodyReadReplicaRegion = "us-east-1"
	SetUpReadReplicaBodyReadReplicaRegionUsEast2      SetUpReadReplicaBodyReadReplicaRegion = "us-east-2"
	SetUpReadReplicaBodyReadReplicaRegionUsWest1      SetUpReadReplicaBodyReadReplicaRegion = "us-west-1"
	SetUpReadReplicaBodyReadReplicaRegionUsWest2      SetUpReadReplicaBodyReadReplicaRegion = "us-west-2"
)

Defines values for SetUpReadReplicaBodyReadReplicaRegion.

type SnippetContent added in v1.96.0

type SnippetContent struct {
	Favorite      bool   `json:"favorite"`
	SchemaVersion string `json:"schema_version"`
	Sql           string `json:"sql"`
}

SnippetContent defines model for SnippetContent.

type SnippetList added in v1.96.0

type SnippetList struct {
	Data []SnippetMeta `json:"data"`
}

SnippetList defines model for SnippetList.

type SnippetMeta added in v1.96.0

type SnippetMeta struct {
	Description *string               `json:"description,omitempty"`
	Id          string                `json:"id"`
	InsertedAt  string                `json:"inserted_at"`
	Name        string                `json:"name"`
	Owner       SnippetUser           `json:"owner"`
	Project     SnippetProject        `json:"project"`
	Type        SnippetMetaType       `json:"type"`
	UpdatedAt   string                `json:"updated_at"`
	UpdatedBy   SnippetUser           `json:"updated_by"`
	Visibility  SnippetMetaVisibility `json:"visibility"`
}

SnippetMeta defines model for SnippetMeta.

type SnippetMetaType added in v1.96.0

type SnippetMetaType string

SnippetMetaType defines model for SnippetMeta.Type.

const (
	SnippetMetaTypeSql SnippetMetaType = "sql"
)

Defines values for SnippetMetaType.

type SnippetMetaVisibility added in v1.96.0

type SnippetMetaVisibility string

SnippetMetaVisibility defines model for SnippetMeta.Visibility.

const (
	SnippetMetaVisibilityOrg     SnippetMetaVisibility = "org"
	SnippetMetaVisibilityProject SnippetMetaVisibility = "project"
	SnippetMetaVisibilityPublic  SnippetMetaVisibility = "public"
	SnippetMetaVisibilityUser    SnippetMetaVisibility = "user"
)

Defines values for SnippetMetaVisibility.

type SnippetProject added in v1.96.0

type SnippetProject struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

SnippetProject defines model for SnippetProject.

type SnippetResponse added in v1.96.0

type SnippetResponse struct {
	Content     SnippetContent            `json:"content"`
	Description *string                   `json:"description,omitempty"`
	Id          string                    `json:"id"`
	InsertedAt  string                    `json:"inserted_at"`
	Name        string                    `json:"name"`
	Owner       SnippetUser               `json:"owner"`
	Project     SnippetProject            `json:"project"`
	Type        SnippetResponseType       `json:"type"`
	UpdatedAt   string                    `json:"updated_at"`
	UpdatedBy   SnippetUser               `json:"updated_by"`
	Visibility  SnippetResponseVisibility `json:"visibility"`
}

SnippetResponse defines model for SnippetResponse.

type SnippetResponseType added in v1.96.0

type SnippetResponseType string

SnippetResponseType defines model for SnippetResponse.Type.

const (
	SnippetResponseTypeSql SnippetResponseType = "sql"
)

Defines values for SnippetResponseType.

type SnippetResponseVisibility added in v1.96.0

type SnippetResponseVisibility string

SnippetResponseVisibility defines model for SnippetResponse.Visibility.

const (
	SnippetResponseVisibilityOrg     SnippetResponseVisibility = "org"
	SnippetResponseVisibilityProject SnippetResponseVisibility = "project"
	SnippetResponseVisibilityPublic  SnippetResponseVisibility = "public"
	SnippetResponseVisibilityUser    SnippetResponseVisibility = "user"
)

Defines values for SnippetResponseVisibility.

type SnippetUser added in v1.96.0

type SnippetUser struct {
	Id       int64  `json:"id"`
	Username string `json:"username"`
}

SnippetUser defines model for SnippetUser.

type SslEnforcementRequest added in v1.25.0

type SslEnforcementRequest struct {
	RequestedConfig SslEnforcements `json:"requestedConfig"`
}

SslEnforcementRequest defines model for SslEnforcementRequest.

type SslEnforcementResponse added in v1.25.0

type SslEnforcementResponse struct {
	AppliedSuccessfully bool            `json:"appliedSuccessfully"`
	CurrentConfig       SslEnforcements `json:"currentConfig"`
}

SslEnforcementResponse defines model for SslEnforcementResponse.

type SslEnforcements added in v1.25.0

type SslEnforcements struct {
	Database bool `json:"database"`
}

SslEnforcements defines model for SslEnforcements.

type SslValidation added in v1.187.10

type SslValidation struct {
	Status            string             `json:"status"`
	ValidationErrors  *[]ValidationError `json:"validation_errors,omitempty"`
	ValidationRecords []ValidationRecord `json:"validation_records"`
}

SslValidation defines model for SslValidation.

type StorageConfigResponse added in v1.211.1

type StorageConfigResponse struct {
	Features      StorageFeatures `json:"features"`
	FileSizeLimit int64           `json:"fileSizeLimit"`
}

StorageConfigResponse defines model for StorageConfigResponse.

type StorageFeatureImageTransformation added in v1.211.1

type StorageFeatureImageTransformation struct {
	Enabled bool `json:"enabled"`
}

StorageFeatureImageTransformation defines model for StorageFeatureImageTransformation.

type StorageFeatures added in v1.211.1

type StorageFeatures struct {
	ImageTransformation StorageFeatureImageTransformation `json:"imageTransformation"`
}

StorageFeatures defines model for StorageFeatures.

type SubdomainAvailabilityResponse added in v1.22.0

type SubdomainAvailabilityResponse struct {
	Available bool `json:"available"`
}

SubdomainAvailabilityResponse defines model for SubdomainAvailabilityResponse.

type SupavisorConfigResponse added in v1.172.2

type SupavisorConfigResponse struct {
	ConnectionString string                              `json:"connectionString"`
	DatabaseType     SupavisorConfigResponseDatabaseType `json:"database_type"`
	DbHost           string                              `json:"db_host"`
	DbName           string                              `json:"db_name"`
	DbPort           int                                 `json:"db_port"`
	DbUser           string                              `json:"db_user"`
	DefaultPoolSize  *int                                `json:"default_pool_size"`
	Identifier       string                              `json:"identifier"`
	IsUsingScramAuth bool                                `json:"is_using_scram_auth"`
	MaxClientConn    *int                                `json:"max_client_conn"`
	PoolMode         SupavisorConfigResponsePoolMode     `json:"pool_mode"`
}

SupavisorConfigResponse defines model for SupavisorConfigResponse.

type SupavisorConfigResponseDatabaseType added in v1.172.2

type SupavisorConfigResponseDatabaseType string

SupavisorConfigResponseDatabaseType defines model for SupavisorConfigResponse.DatabaseType.

const (
	PRIMARY     SupavisorConfigResponseDatabaseType = "PRIMARY"
	READREPLICA SupavisorConfigResponseDatabaseType = "READ_REPLICA"
)

Defines values for SupavisorConfigResponseDatabaseType.

type SupavisorConfigResponsePoolMode added in v1.172.2

type SupavisorConfigResponsePoolMode string

SupavisorConfigResponsePoolMode defines model for SupavisorConfigResponse.PoolMode.

const (
	SupavisorConfigResponsePoolModeSession     SupavisorConfigResponsePoolMode = "session"
	SupavisorConfigResponsePoolModeTransaction SupavisorConfigResponsePoolMode = "transaction"
)

Defines values for SupavisorConfigResponsePoolMode.

type ThirdPartyAuth added in v1.165.1

type ThirdPartyAuth struct {
	CustomJwks    *map[string]interface{} `json:"custom_jwks"`
	Id            string                  `json:"id"`
	InsertedAt    string                  `json:"inserted_at"`
	JwksUrl       *string                 `json:"jwks_url"`
	OidcIssuerUrl *string                 `json:"oidc_issuer_url"`
	ResolvedAt    *string                 `json:"resolved_at"`
	ResolvedJwks  *map[string]interface{} `json:"resolved_jwks"`
	Type          string                  `json:"type"`
	UpdatedAt     string                  `json:"updated_at"`
}

ThirdPartyAuth defines model for ThirdPartyAuth.

type TypescriptResponse added in v1.8.0

type TypescriptResponse struct {
	Types string `json:"types"`
}

TypescriptResponse defines model for TypescriptResponse.

type UpdateApiKeyBody added in v1.205.0

type UpdateApiKeyBody struct {
	Description       *string                  `json:"description"`
	SecretJwtTemplate *ApiKeySecretJWTTemplate `json:"secret_jwt_template"`
}

UpdateApiKeyBody defines model for UpdateApiKeyBody.

type UpdateApiKeyJSONRequestBody added in v1.205.0

type UpdateApiKeyJSONRequestBody = UpdateApiKeyBody

UpdateApiKeyJSONRequestBody defines body for UpdateApiKey for application/json ContentType.

type UpdateApiKeyParams added in v1.224.1

type UpdateApiKeyParams struct {
	Reveal bool `form:"reveal" json:"reveal"`
}

UpdateApiKeyParams defines parameters for UpdateApiKey.

type UpdateApiKeyResponse added in v1.205.0

type UpdateApiKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKeyResponse
}

func ParseUpdateApiKeyResponse added in v1.205.0

func ParseUpdateApiKeyResponse(rsp *http.Response) (*UpdateApiKeyResponse, error)

ParseUpdateApiKeyResponse parses an HTTP response from a UpdateApiKeyWithResponse call

func (UpdateApiKeyResponse) Status added in v1.205.0

func (r UpdateApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateApiKeyResponse) StatusCode added in v1.205.0

func (r UpdateApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateAuthConfigBody added in v1.93.0

type UpdateAuthConfigBody struct {
	ApiMaxRequestDuration                         *int                                            `json:"api_max_request_duration,omitempty"`
	DbMaxPoolSize                                 *int                                            `json:"db_max_pool_size,omitempty"`
	DisableSignup                                 *bool                                           `json:"disable_signup,omitempty"`
	ExternalAnonymousUsersEnabled                 *bool                                           `json:"external_anonymous_users_enabled,omitempty"`
	ExternalAppleAdditionalClientIds              *string                                         `json:"external_apple_additional_client_ids,omitempty"`
	ExternalAppleClientId                         *string                                         `json:"external_apple_client_id,omitempty"`
	ExternalAppleEnabled                          *bool                                           `json:"external_apple_enabled,omitempty"`
	ExternalAppleSecret                           *string                                         `json:"external_apple_secret,omitempty"`
	ExternalAzureClientId                         *string                                         `json:"external_azure_client_id,omitempty"`
	ExternalAzureEnabled                          *bool                                           `json:"external_azure_enabled,omitempty"`
	ExternalAzureSecret                           *string                                         `json:"external_azure_secret,omitempty"`
	ExternalAzureUrl                              *string                                         `json:"external_azure_url,omitempty"`
	ExternalBitbucketClientId                     *string                                         `json:"external_bitbucket_client_id,omitempty"`
	ExternalBitbucketEnabled                      *bool                                           `json:"external_bitbucket_enabled,omitempty"`
	ExternalBitbucketSecret                       *string                                         `json:"external_bitbucket_secret,omitempty"`
	ExternalDiscordClientId                       *string                                         `json:"external_discord_client_id,omitempty"`
	ExternalDiscordEnabled                        *bool                                           `json:"external_discord_enabled,omitempty"`
	ExternalDiscordSecret                         *string                                         `json:"external_discord_secret,omitempty"`
	ExternalEmailEnabled                          *bool                                           `json:"external_email_enabled,omitempty"`
	ExternalFacebookClientId                      *string                                         `json:"external_facebook_client_id,omitempty"`
	ExternalFacebookEnabled                       *bool                                           `json:"external_facebook_enabled,omitempty"`
	ExternalFacebookSecret                        *string                                         `json:"external_facebook_secret,omitempty"`
	ExternalFigmaClientId                         *string                                         `json:"external_figma_client_id,omitempty"`
	ExternalFigmaEnabled                          *bool                                           `json:"external_figma_enabled,omitempty"`
	ExternalFigmaSecret                           *string                                         `json:"external_figma_secret,omitempty"`
	ExternalGithubClientId                        *string                                         `json:"external_github_client_id,omitempty"`
	ExternalGithubEnabled                         *bool                                           `json:"external_github_enabled,omitempty"`
	ExternalGithubSecret                          *string                                         `json:"external_github_secret,omitempty"`
	ExternalGitlabClientId                        *string                                         `json:"external_gitlab_client_id,omitempty"`
	ExternalGitlabEnabled                         *bool                                           `json:"external_gitlab_enabled,omitempty"`
	ExternalGitlabSecret                          *string                                         `json:"external_gitlab_secret,omitempty"`
	ExternalGitlabUrl                             *string                                         `json:"external_gitlab_url,omitempty"`
	ExternalGoogleAdditionalClientIds             *string                                         `json:"external_google_additional_client_ids,omitempty"`
	ExternalGoogleClientId                        *string                                         `json:"external_google_client_id,omitempty"`
	ExternalGoogleEnabled                         *bool                                           `json:"external_google_enabled,omitempty"`
	ExternalGoogleSecret                          *string                                         `json:"external_google_secret,omitempty"`
	ExternalGoogleSkipNonceCheck                  *bool                                           `json:"external_google_skip_nonce_check,omitempty"`
	ExternalKakaoClientId                         *string                                         `json:"external_kakao_client_id,omitempty"`
	ExternalKakaoEnabled                          *bool                                           `json:"external_kakao_enabled,omitempty"`
	ExternalKakaoSecret                           *string                                         `json:"external_kakao_secret,omitempty"`
	ExternalKeycloakClientId                      *string                                         `json:"external_keycloak_client_id,omitempty"`
	ExternalKeycloakEnabled                       *bool                                           `json:"external_keycloak_enabled,omitempty"`
	ExternalKeycloakSecret                        *string                                         `json:"external_keycloak_secret,omitempty"`
	ExternalKeycloakUrl                           *string                                         `json:"external_keycloak_url,omitempty"`
	ExternalLinkedinOidcClientId                  *string                                         `json:"external_linkedin_oidc_client_id,omitempty"`
	ExternalLinkedinOidcEnabled                   *bool                                           `json:"external_linkedin_oidc_enabled,omitempty"`
	ExternalLinkedinOidcSecret                    *string                                         `json:"external_linkedin_oidc_secret,omitempty"`
	ExternalNotionClientId                        *string                                         `json:"external_notion_client_id,omitempty"`
	ExternalNotionEnabled                         *bool                                           `json:"external_notion_enabled,omitempty"`
	ExternalNotionSecret                          *string                                         `json:"external_notion_secret,omitempty"`
	ExternalPhoneEnabled                          *bool                                           `json:"external_phone_enabled,omitempty"`
	ExternalSlackClientId                         *string                                         `json:"external_slack_client_id,omitempty"`
	ExternalSlackEnabled                          *bool                                           `json:"external_slack_enabled,omitempty"`
	ExternalSlackOidcClientId                     *string                                         `json:"external_slack_oidc_client_id,omitempty"`
	ExternalSlackOidcEnabled                      *bool                                           `json:"external_slack_oidc_enabled,omitempty"`
	ExternalSlackOidcSecret                       *string                                         `json:"external_slack_oidc_secret,omitempty"`
	ExternalSlackSecret                           *string                                         `json:"external_slack_secret,omitempty"`
	ExternalSpotifyClientId                       *string                                         `json:"external_spotify_client_id,omitempty"`
	ExternalSpotifyEnabled                        *bool                                           `json:"external_spotify_enabled,omitempty"`
	ExternalSpotifySecret                         *string                                         `json:"external_spotify_secret,omitempty"`
	ExternalTwitchClientId                        *string                                         `json:"external_twitch_client_id,omitempty"`
	ExternalTwitchEnabled                         *bool                                           `json:"external_twitch_enabled,omitempty"`
	ExternalTwitchSecret                          *string                                         `json:"external_twitch_secret,omitempty"`
	ExternalTwitterClientId                       *string                                         `json:"external_twitter_client_id,omitempty"`
	ExternalTwitterEnabled                        *bool                                           `json:"external_twitter_enabled,omitempty"`
	ExternalTwitterSecret                         *string                                         `json:"external_twitter_secret,omitempty"`
	ExternalWorkosClientId                        *string                                         `json:"external_workos_client_id,omitempty"`
	ExternalWorkosEnabled                         *bool                                           `json:"external_workos_enabled,omitempty"`
	ExternalWorkosSecret                          *string                                         `json:"external_workos_secret,omitempty"`
	ExternalWorkosUrl                             *string                                         `json:"external_workos_url,omitempty"`
	ExternalZoomClientId                          *string                                         `json:"external_zoom_client_id,omitempty"`
	ExternalZoomEnabled                           *bool                                           `json:"external_zoom_enabled,omitempty"`
	ExternalZoomSecret                            *string                                         `json:"external_zoom_secret,omitempty"`
	HookCustomAccessTokenEnabled                  *bool                                           `json:"hook_custom_access_token_enabled,omitempty"`
	HookCustomAccessTokenSecrets                  *string                                         `json:"hook_custom_access_token_secrets,omitempty"`
	HookCustomAccessTokenUri                      *string                                         `json:"hook_custom_access_token_uri,omitempty"`
	HookMfaVerificationAttemptEnabled             *bool                                           `json:"hook_mfa_verification_attempt_enabled,omitempty"`
	HookMfaVerificationAttemptSecrets             *string                                         `json:"hook_mfa_verification_attempt_secrets,omitempty"`
	HookMfaVerificationAttemptUri                 *string                                         `json:"hook_mfa_verification_attempt_uri,omitempty"`
	HookPasswordVerificationAttemptEnabled        *bool                                           `json:"hook_password_verification_attempt_enabled,omitempty"`
	HookPasswordVerificationAttemptSecrets        *string                                         `json:"hook_password_verification_attempt_secrets,omitempty"`
	HookPasswordVerificationAttemptUri            *string                                         `json:"hook_password_verification_attempt_uri,omitempty"`
	HookSendEmailEnabled                          *bool                                           `json:"hook_send_email_enabled,omitempty"`
	HookSendEmailSecrets                          *string                                         `json:"hook_send_email_secrets,omitempty"`
	HookSendEmailUri                              *string                                         `json:"hook_send_email_uri,omitempty"`
	HookSendSmsEnabled                            *bool                                           `json:"hook_send_sms_enabled,omitempty"`
	HookSendSmsSecrets                            *string                                         `json:"hook_send_sms_secrets,omitempty"`
	HookSendSmsUri                                *string                                         `json:"hook_send_sms_uri,omitempty"`
	JwtExp                                        *int                                            `json:"jwt_exp,omitempty"`
	MailerAllowUnverifiedEmailSignIns             *bool                                           `json:"mailer_allow_unverified_email_sign_ins,omitempty"`
	MailerAutoconfirm                             *bool                                           `json:"mailer_autoconfirm,omitempty"`
	MailerOtpExp                                  *int                                            `json:"mailer_otp_exp,omitempty"`
	MailerOtpLength                               *int                                            `json:"mailer_otp_length,omitempty"`
	MailerSecureEmailChangeEnabled                *bool                                           `json:"mailer_secure_email_change_enabled,omitempty"`
	MailerSubjectsConfirmation                    *string                                         `json:"mailer_subjects_confirmation,omitempty"`
	MailerSubjectsEmailChange                     *string                                         `json:"mailer_subjects_email_change,omitempty"`
	MailerSubjectsInvite                          *string                                         `json:"mailer_subjects_invite,omitempty"`
	MailerSubjectsMagicLink                       *string                                         `json:"mailer_subjects_magic_link,omitempty"`
	MailerSubjectsReauthentication                *string                                         `json:"mailer_subjects_reauthentication,omitempty"`
	MailerSubjectsRecovery                        *string                                         `json:"mailer_subjects_recovery,omitempty"`
	MailerTemplatesConfirmationContent            *string                                         `json:"mailer_templates_confirmation_content,omitempty"`
	MailerTemplatesEmailChangeContent             *string                                         `json:"mailer_templates_email_change_content,omitempty"`
	MailerTemplatesInviteContent                  *string                                         `json:"mailer_templates_invite_content,omitempty"`
	MailerTemplatesMagicLinkContent               *string                                         `json:"mailer_templates_magic_link_content,omitempty"`
	MailerTemplatesReauthenticationContent        *string                                         `json:"mailer_templates_reauthentication_content,omitempty"`
	MailerTemplatesRecoveryContent                *string                                         `json:"mailer_templates_recovery_content,omitempty"`
	MfaMaxEnrolledFactors                         *int                                            `json:"mfa_max_enrolled_factors,omitempty"`
	MfaPhoneEnrollEnabled                         *bool                                           `json:"mfa_phone_enroll_enabled,omitempty"`
	MfaPhoneMaxFrequency                          *int                                            `json:"mfa_phone_max_frequency,omitempty"`
	MfaPhoneOtpLength                             *int                                            `json:"mfa_phone_otp_length,omitempty"`
	MfaPhoneTemplate                              *string                                         `json:"mfa_phone_template,omitempty"`
	MfaPhoneVerifyEnabled                         *bool                                           `json:"mfa_phone_verify_enabled,omitempty"`
	MfaTotpEnrollEnabled                          *bool                                           `json:"mfa_totp_enroll_enabled,omitempty"`
	MfaTotpVerifyEnabled                          *bool                                           `json:"mfa_totp_verify_enabled,omitempty"`
	MfaWebAuthnEnrollEnabled                      *bool                                           `json:"mfa_web_authn_enroll_enabled,omitempty"`
	MfaWebAuthnVerifyEnabled                      *bool                                           `json:"mfa_web_authn_verify_enabled,omitempty"`
	PasswordHibpEnabled                           *bool                                           `json:"password_hibp_enabled,omitempty"`
	PasswordMinLength                             *int                                            `json:"password_min_length,omitempty"`
	PasswordRequiredCharacters                    *UpdateAuthConfigBodyPasswordRequiredCharacters `json:"password_required_characters,omitempty"`
	RateLimitAnonymousUsers                       *int                                            `json:"rate_limit_anonymous_users,omitempty"`
	RateLimitEmailSent                            *int                                            `json:"rate_limit_email_sent,omitempty"`
	RateLimitOtp                                  *int                                            `json:"rate_limit_otp,omitempty"`
	RateLimitSmsSent                              *int                                            `json:"rate_limit_sms_sent,omitempty"`
	RateLimitTokenRefresh                         *int                                            `json:"rate_limit_token_refresh,omitempty"`
	RateLimitVerify                               *int                                            `json:"rate_limit_verify,omitempty"`
	RefreshTokenRotationEnabled                   *bool                                           `json:"refresh_token_rotation_enabled,omitempty"`
	SamlEnabled                                   *bool                                           `json:"saml_enabled,omitempty"`
	SamlExternalUrl                               *string                                         `json:"saml_external_url,omitempty"`
	SecurityCaptchaEnabled                        *bool                                           `json:"security_captcha_enabled,omitempty"`
	SecurityCaptchaProvider                       *string                                         `json:"security_captcha_provider,omitempty"`
	SecurityCaptchaSecret                         *string                                         `json:"security_captcha_secret,omitempty"`
	SecurityManualLinkingEnabled                  *bool                                           `json:"security_manual_linking_enabled,omitempty"`
	SecurityRefreshTokenReuseInterval             *int                                            `json:"security_refresh_token_reuse_interval,omitempty"`
	SecurityUpdatePasswordRequireReauthentication *bool                                           `json:"security_update_password_require_reauthentication,omitempty"`
	SessionsInactivityTimeout                     *int                                            `json:"sessions_inactivity_timeout,omitempty"`
	SessionsSinglePerUser                         *bool                                           `json:"sessions_single_per_user,omitempty"`
	SessionsTags                                  *string                                         `json:"sessions_tags,omitempty"`
	SessionsTimebox                               *int                                            `json:"sessions_timebox,omitempty"`
	SiteUrl                                       *string                                         `json:"site_url,omitempty"`
	SmsAutoconfirm                                *bool                                           `json:"sms_autoconfirm,omitempty"`
	SmsMaxFrequency                               *int                                            `json:"sms_max_frequency,omitempty"`
	SmsMessagebirdAccessKey                       *string                                         `json:"sms_messagebird_access_key,omitempty"`
	SmsMessagebirdOriginator                      *string                                         `json:"sms_messagebird_originator,omitempty"`
	SmsOtpExp                                     *int                                            `json:"sms_otp_exp,omitempty"`
	SmsOtpLength                                  *int                                            `json:"sms_otp_length,omitempty"`
	SmsProvider                                   *string                                         `json:"sms_provider,omitempty"`
	SmsTemplate                                   *string                                         `json:"sms_template,omitempty"`
	SmsTestOtp                                    *string                                         `json:"sms_test_otp,omitempty"`
	SmsTestOtpValidUntil                          *string                                         `json:"sms_test_otp_valid_until,omitempty"`
	SmsTextlocalApiKey                            *string                                         `json:"sms_textlocal_api_key,omitempty"`
	SmsTextlocalSender                            *string                                         `json:"sms_textlocal_sender,omitempty"`
	SmsTwilioAccountSid                           *string                                         `json:"sms_twilio_account_sid,omitempty"`
	SmsTwilioAuthToken                            *string                                         `json:"sms_twilio_auth_token,omitempty"`
	SmsTwilioContentSid                           *string                                         `json:"sms_twilio_content_sid,omitempty"`
	SmsTwilioMessageServiceSid                    *string                                         `json:"sms_twilio_message_service_sid,omitempty"`
	SmsTwilioVerifyAccountSid                     *string                                         `json:"sms_twilio_verify_account_sid,omitempty"`
	SmsTwilioVerifyAuthToken                      *string                                         `json:"sms_twilio_verify_auth_token,omitempty"`
	SmsTwilioVerifyMessageServiceSid              *string                                         `json:"sms_twilio_verify_message_service_sid,omitempty"`
	SmsVonageApiKey                               *string                                         `json:"sms_vonage_api_key,omitempty"`
	SmsVonageApiSecret                            *string                                         `json:"sms_vonage_api_secret,omitempty"`
	SmsVonageFrom                                 *string                                         `json:"sms_vonage_from,omitempty"`
	SmtpAdminEmail                                *string                                         `json:"smtp_admin_email,omitempty"`
	SmtpHost                                      *string                                         `json:"smtp_host,omitempty"`
	SmtpMaxFrequency                              *int                                            `json:"smtp_max_frequency,omitempty"`
	SmtpPass                                      *string                                         `json:"smtp_pass,omitempty"`
	SmtpPort                                      *string                                         `json:"smtp_port,omitempty"`
	SmtpSenderName                                *string                                         `json:"smtp_sender_name,omitempty"`
	SmtpUser                                      *string                                         `json:"smtp_user,omitempty"`
	UriAllowList                                  *string                                         `json:"uri_allow_list,omitempty"`
}

UpdateAuthConfigBody defines model for UpdateAuthConfigBody.

type UpdateAuthConfigBodyPasswordRequiredCharacters added in v1.144.0

type UpdateAuthConfigBodyPasswordRequiredCharacters string

UpdateAuthConfigBodyPasswordRequiredCharacters defines model for UpdateAuthConfigBody.PasswordRequiredCharacters.

const (
	AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789  UpdateAuthConfigBodyPasswordRequiredCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"
	AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567891 UpdateAuthConfigBodyPasswordRequiredCharacters = "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789"
	AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892 UpdateAuthConfigBodyPasswordRequiredCharacters = "abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};'\\:\"|<>?,./`~"
	Empty                                                           UpdateAuthConfigBodyPasswordRequiredCharacters = ""
)

Defines values for UpdateAuthConfigBodyPasswordRequiredCharacters.

type UpdateBranchBody added in v1.79.0

type UpdateBranchBody struct {
	BranchName  *string                 `json:"branch_name,omitempty"`
	GitBranch   *string                 `json:"git_branch,omitempty"`
	Persistent  *bool                   `json:"persistent,omitempty"`
	ResetOnPush *bool                   `json:"reset_on_push,omitempty"`
	Status      *UpdateBranchBodyStatus `json:"status,omitempty"`
}

UpdateBranchBody defines model for UpdateBranchBody.

type UpdateBranchBodyStatus added in v1.191.0

type UpdateBranchBodyStatus string

UpdateBranchBodyStatus defines model for UpdateBranchBody.Status.

const (
	UpdateBranchBodyStatusCREATINGPROJECT   UpdateBranchBodyStatus = "CREATING_PROJECT"
	UpdateBranchBodyStatusFUNCTIONSDEPLOYED UpdateBranchBodyStatus = "FUNCTIONS_DEPLOYED"
	UpdateBranchBodyStatusFUNCTIONSFAILED   UpdateBranchBodyStatus = "FUNCTIONS_FAILED"
	UpdateBranchBodyStatusMIGRATIONSFAILED  UpdateBranchBodyStatus = "MIGRATIONS_FAILED"
	UpdateBranchBodyStatusMIGRATIONSPASSED  UpdateBranchBodyStatus = "MIGRATIONS_PASSED"
	UpdateBranchBodyStatusRUNNINGMIGRATIONS UpdateBranchBodyStatus = "RUNNING_MIGRATIONS"
)

Defines values for UpdateBranchBodyStatus.

type UpdateCustomHostnameBody added in v1.10.0

type UpdateCustomHostnameBody struct {
	CustomHostname string `json:"custom_hostname"`
}

UpdateCustomHostnameBody defines model for UpdateCustomHostnameBody.

type UpdateCustomHostnameResponse added in v1.10.0

type UpdateCustomHostnameResponse struct {
	CustomHostname string                             `json:"custom_hostname"`
	Data           CfResponse                         `json:"data"`
	Status         UpdateCustomHostnameResponseStatus `json:"status"`
}

UpdateCustomHostnameResponse defines model for UpdateCustomHostnameResponse.

type UpdateCustomHostnameResponseStatus added in v1.10.0

type UpdateCustomHostnameResponseStatus string

UpdateCustomHostnameResponseStatus defines model for UpdateCustomHostnameResponse.Status.

const (
	N1NotStarted           UpdateCustomHostnameResponseStatus = "1_not_started"
	N2Initiated            UpdateCustomHostnameResponseStatus = "2_initiated"
	N3ChallengeVerified    UpdateCustomHostnameResponseStatus = "3_challenge_verified"
	N4OriginSetupCompleted UpdateCustomHostnameResponseStatus = "4_origin_setup_completed"
	N5ServicesReconfigured UpdateCustomHostnameResponseStatus = "5_services_reconfigured"
)

Defines values for UpdateCustomHostnameResponseStatus.

type UpdatePgsodiumConfigBody added in v1.8.0

type UpdatePgsodiumConfigBody struct {
	RootKey string `json:"root_key"`
}

UpdatePgsodiumConfigBody defines model for UpdatePgsodiumConfigBody.

type UpdatePostgresConfigBody added in v1.57.5

type UpdatePostgresConfigBody struct {
	EffectiveCacheSize            *string                                         `json:"effective_cache_size,omitempty"`
	LogicalDecodingWorkMem        *string                                         `json:"logical_decoding_work_mem,omitempty"`
	MaintenanceWorkMem            *string                                         `json:"maintenance_work_mem,omitempty"`
	MaxConnections                *int                                            `json:"max_connections,omitempty"`
	MaxLocksPerTransaction        *int                                            `json:"max_locks_per_transaction,omitempty"`
	MaxParallelMaintenanceWorkers *int                                            `json:"max_parallel_maintenance_workers,omitempty"`
	MaxParallelWorkers            *int                                            `json:"max_parallel_workers,omitempty"`
	MaxParallelWorkersPerGather   *int                                            `json:"max_parallel_workers_per_gather,omitempty"`
	MaxReplicationSlots           *int                                            `json:"max_replication_slots,omitempty"`
	MaxSlotWalKeepSize            *string                                         `json:"max_slot_wal_keep_size,omitempty"`
	MaxStandbyArchiveDelay        *string                                         `json:"max_standby_archive_delay,omitempty"`
	MaxStandbyStreamingDelay      *string                                         `json:"max_standby_streaming_delay,omitempty"`
	MaxWalSenders                 *int                                            `json:"max_wal_senders,omitempty"`
	MaxWalSize                    *string                                         `json:"max_wal_size,omitempty"`
	MaxWorkerProcesses            *int                                            `json:"max_worker_processes,omitempty"`
	RestartDatabase               *bool                                           `json:"restart_database,omitempty"`
	SessionReplicationRole        *UpdatePostgresConfigBodySessionReplicationRole `json:"session_replication_role,omitempty"`
	SharedBuffers                 *string                                         `json:"shared_buffers,omitempty"`
	StatementTimeout              *string                                         `json:"statement_timeout,omitempty"`
	TrackCommitTimestamp          *bool                                           `json:"track_commit_timestamp,omitempty"`
	WalKeepSize                   *string                                         `json:"wal_keep_size,omitempty"`
	WalSenderTimeout              *string                                         `json:"wal_sender_timeout,omitempty"`
	WorkMem                       *string                                         `json:"work_mem,omitempty"`
}

UpdatePostgresConfigBody defines model for UpdatePostgresConfigBody.

type UpdatePostgresConfigBodySessionReplicationRole added in v1.57.5

type UpdatePostgresConfigBodySessionReplicationRole string

UpdatePostgresConfigBodySessionReplicationRole defines model for UpdatePostgresConfigBody.SessionReplicationRole.

const (
	UpdatePostgresConfigBodySessionReplicationRoleLocal   UpdatePostgresConfigBodySessionReplicationRole = "local"
	UpdatePostgresConfigBodySessionReplicationRoleOrigin  UpdatePostgresConfigBodySessionReplicationRole = "origin"
	UpdatePostgresConfigBodySessionReplicationRoleReplica UpdatePostgresConfigBodySessionReplicationRole = "replica"
)

Defines values for UpdatePostgresConfigBodySessionReplicationRole.

type UpdatePostgrestConfigBody added in v1.22.2

type UpdatePostgrestConfigBody struct {
	DbExtraSearchPath *string `json:"db_extra_search_path,omitempty"`
	DbPool            *int    `json:"db_pool,omitempty"`
	DbSchema          *string `json:"db_schema,omitempty"`
	MaxRows           *int    `json:"max_rows,omitempty"`
}

UpdatePostgrestConfigBody defines model for UpdatePostgrestConfigBody.

type UpdateProviderBody added in v1.45.3

type UpdateProviderBody struct {
	AttributeMapping *AttributeMapping `json:"attribute_mapping,omitempty"`
	Domains          *[]string         `json:"domains,omitempty"`
	MetadataUrl      *string           `json:"metadata_url,omitempty"`
	MetadataXml      *string           `json:"metadata_xml,omitempty"`
}

UpdateProviderBody defines model for UpdateProviderBody.

type UpdateProviderResponse added in v1.45.3

type UpdateProviderResponse struct {
	CreatedAt *string         `json:"created_at,omitempty"`
	Domains   *[]Domain       `json:"domains,omitempty"`
	Id        string          `json:"id"`
	Saml      *SamlDescriptor `json:"saml,omitempty"`
	UpdatedAt *string         `json:"updated_at,omitempty"`
}

UpdateProviderResponse defines model for UpdateProviderResponse.

type UpdateStorageConfigBody added in v1.211.1

type UpdateStorageConfigBody struct {
	Features      *StorageFeatures `json:"features,omitempty"`
	FileSizeLimit *int64           `json:"fileSizeLimit,omitempty"`
}

UpdateStorageConfigBody defines model for UpdateStorageConfigBody.

type UpdateSupavisorConfigBody added in v1.172.2

type UpdateSupavisorConfigBody struct {
	DefaultPoolSize *int `json:"default_pool_size"`

	// PoolMode This field is deprecated and is ignored in this request
	// Deprecated:
	PoolMode *UpdateSupavisorConfigBodyPoolMode `json:"pool_mode,omitempty"`
}

UpdateSupavisorConfigBody defines model for UpdateSupavisorConfigBody.

type UpdateSupavisorConfigBodyPoolMode added in v1.172.2

type UpdateSupavisorConfigBodyPoolMode string

UpdateSupavisorConfigBodyPoolMode This field is deprecated and is ignored in this request

const (
	UpdateSupavisorConfigBodyPoolModeSession     UpdateSupavisorConfigBodyPoolMode = "session"
	UpdateSupavisorConfigBodyPoolModeTransaction UpdateSupavisorConfigBodyPoolMode = "transaction"
)

Defines values for UpdateSupavisorConfigBodyPoolMode.

type UpdateSupavisorConfigResponse added in v1.172.2

type UpdateSupavisorConfigResponse struct {
	DefaultPoolSize *int                                  `json:"default_pool_size"`
	PoolMode        UpdateSupavisorConfigResponsePoolMode `json:"pool_mode"`
}

UpdateSupavisorConfigResponse defines model for UpdateSupavisorConfigResponse.

type UpdateSupavisorConfigResponsePoolMode added in v1.172.2

type UpdateSupavisorConfigResponsePoolMode string

UpdateSupavisorConfigResponsePoolMode defines model for UpdateSupavisorConfigResponse.PoolMode.

const (
	UpdateSupavisorConfigResponsePoolModeSession     UpdateSupavisorConfigResponsePoolMode = "session"
	UpdateSupavisorConfigResponsePoolModeTransaction UpdateSupavisorConfigResponsePoolMode = "transaction"
)

Defines values for UpdateSupavisorConfigResponsePoolMode.

type UpgradeDatabaseBody added in v1.45.3

type UpgradeDatabaseBody struct {
	ReleaseChannel ReleaseChannel `json:"release_channel"`
	TargetVersion  string         `json:"target_version"`
}

UpgradeDatabaseBody defines model for UpgradeDatabaseBody.

type V1ActivateCustomHostnameResponse added in v1.172.0

type V1ActivateCustomHostnameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *UpdateCustomHostnameResponse
}

func ParseV1ActivateCustomHostnameResponse added in v1.172.0

func ParseV1ActivateCustomHostnameResponse(rsp *http.Response) (*V1ActivateCustomHostnameResponse, error)

ParseV1ActivateCustomHostnameResponse parses an HTTP response from a V1ActivateCustomHostnameWithResponse call

func (V1ActivateCustomHostnameResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1ActivateCustomHostnameResponse) StatusCode added in v1.172.0

func (r V1ActivateCustomHostnameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ActivateVanitySubdomainConfigJSONRequestBody added in v1.172.0

type V1ActivateVanitySubdomainConfigJSONRequestBody = VanitySubdomainBody

V1ActivateVanitySubdomainConfigJSONRequestBody defines body for V1ActivateVanitySubdomainConfig for application/json ContentType.

type V1ActivateVanitySubdomainConfigResponse added in v1.172.0

type V1ActivateVanitySubdomainConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ActivateVanitySubdomainResponse
}

func ParseV1ActivateVanitySubdomainConfigResponse added in v1.172.0

func ParseV1ActivateVanitySubdomainConfigResponse(rsp *http.Response) (*V1ActivateVanitySubdomainConfigResponse, error)

ParseV1ActivateVanitySubdomainConfigResponse parses an HTTP response from a V1ActivateVanitySubdomainConfigWithResponse call

func (V1ActivateVanitySubdomainConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1ActivateVanitySubdomainConfigResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1AuthorizeUserParams added in v1.172.0

type V1AuthorizeUserParams struct {
	ClientId            string                                    `form:"client_id" json:"client_id"`
	ResponseType        V1AuthorizeUserParamsResponseType         `form:"response_type" json:"response_type"`
	RedirectUri         string                                    `form:"redirect_uri" json:"redirect_uri"`
	Scope               *string                                   `form:"scope,omitempty" json:"scope,omitempty"`
	State               *string                                   `form:"state,omitempty" json:"state,omitempty"`
	ResponseMode        *string                                   `form:"response_mode,omitempty" json:"response_mode,omitempty"`
	CodeChallenge       *string                                   `form:"code_challenge,omitempty" json:"code_challenge,omitempty"`
	CodeChallengeMethod *V1AuthorizeUserParamsCodeChallengeMethod `form:"code_challenge_method,omitempty" json:"code_challenge_method,omitempty"`
}

V1AuthorizeUserParams defines parameters for V1AuthorizeUser.

type V1AuthorizeUserParamsCodeChallengeMethod added in v1.172.0

type V1AuthorizeUserParamsCodeChallengeMethod string

V1AuthorizeUserParamsCodeChallengeMethod defines parameters for V1AuthorizeUser.

Defines values for V1AuthorizeUserParamsCodeChallengeMethod.

type V1AuthorizeUserParamsResponseType added in v1.172.0

type V1AuthorizeUserParamsResponseType string

V1AuthorizeUserParamsResponseType defines parameters for V1AuthorizeUser.

const (
	Code         V1AuthorizeUserParamsResponseType = "code"
	IdTokenToken V1AuthorizeUserParamsResponseType = "id_token token"
	Token        V1AuthorizeUserParamsResponseType = "token"
)

Defines values for V1AuthorizeUserParamsResponseType.

type V1AuthorizeUserResponse added in v1.172.0

type V1AuthorizeUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1AuthorizeUserResponse added in v1.172.0

func ParseV1AuthorizeUserResponse(rsp *http.Response) (*V1AuthorizeUserResponse, error)

ParseV1AuthorizeUserResponse parses an HTTP response from a V1AuthorizeUserWithResponse call

func (V1AuthorizeUserResponse) Status added in v1.172.0

func (r V1AuthorizeUserResponse) Status() string

Status returns HTTPResponse.Status

func (V1AuthorizeUserResponse) StatusCode added in v1.172.0

func (r V1AuthorizeUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1Backup added in v1.135.0

type V1Backup struct {
	InsertedAt       string         `json:"inserted_at"`
	IsPhysicalBackup bool           `json:"is_physical_backup"`
	Status           V1BackupStatus `json:"status"`
}

V1Backup defines model for V1Backup.

type V1BackupStatus added in v1.135.0

type V1BackupStatus string

V1BackupStatus defines model for V1Backup.Status.

const (
	V1BackupStatusARCHIVED  V1BackupStatus = "ARCHIVED"
	V1BackupStatusCANCELLED V1BackupStatus = "CANCELLED"
	V1BackupStatusCOMPLETED V1BackupStatus = "COMPLETED"
	V1BackupStatusFAILED    V1BackupStatus = "FAILED"
	V1BackupStatusPENDING   V1BackupStatus = "PENDING"
	V1BackupStatusREMOVED   V1BackupStatus = "REMOVED"
)

Defines values for V1BackupStatus.

type V1BackupsResponse added in v1.135.0

type V1BackupsResponse struct {
	Backups            []V1Backup       `json:"backups"`
	PhysicalBackupData V1PhysicalBackup `json:"physical_backup_data"`
	PitrEnabled        bool             `json:"pitr_enabled"`
	Region             string           `json:"region"`
	WalgEnabled        bool             `json:"walg_enabled"`
}

V1BackupsResponse defines model for V1BackupsResponse.

type V1BulkCreateSecretsJSONBody added in v1.172.0

type V1BulkCreateSecretsJSONBody = []CreateSecretBody

V1BulkCreateSecretsJSONBody defines parameters for V1BulkCreateSecrets.

type V1BulkCreateSecretsJSONRequestBody added in v1.172.0

type V1BulkCreateSecretsJSONRequestBody = V1BulkCreateSecretsJSONBody

V1BulkCreateSecretsJSONRequestBody defines body for V1BulkCreateSecrets for application/json ContentType.

type V1BulkCreateSecretsResponse added in v1.172.0

type V1BulkCreateSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1BulkCreateSecretsResponse added in v1.172.0

func ParseV1BulkCreateSecretsResponse(rsp *http.Response) (*V1BulkCreateSecretsResponse, error)

ParseV1BulkCreateSecretsResponse parses an HTTP response from a V1BulkCreateSecretsWithResponse call

func (V1BulkCreateSecretsResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1BulkCreateSecretsResponse) StatusCode added in v1.172.0

func (r V1BulkCreateSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1BulkDeleteSecretsJSONBody added in v1.172.0

type V1BulkDeleteSecretsJSONBody = []string

V1BulkDeleteSecretsJSONBody defines parameters for V1BulkDeleteSecrets.

type V1BulkDeleteSecretsJSONRequestBody added in v1.172.0

type V1BulkDeleteSecretsJSONRequestBody = V1BulkDeleteSecretsJSONBody

V1BulkDeleteSecretsJSONRequestBody defines body for V1BulkDeleteSecrets for application/json ContentType.

type V1BulkDeleteSecretsResponse added in v1.172.0

type V1BulkDeleteSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
}

func ParseV1BulkDeleteSecretsResponse added in v1.172.0

func ParseV1BulkDeleteSecretsResponse(rsp *http.Response) (*V1BulkDeleteSecretsResponse, error)

ParseV1BulkDeleteSecretsResponse parses an HTTP response from a V1BulkDeleteSecretsWithResponse call

func (V1BulkDeleteSecretsResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1BulkDeleteSecretsResponse) StatusCode added in v1.172.0

func (r V1BulkDeleteSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CheckVanitySubdomainAvailabilityJSONRequestBody added in v1.172.0

type V1CheckVanitySubdomainAvailabilityJSONRequestBody = VanitySubdomainBody

V1CheckVanitySubdomainAvailabilityJSONRequestBody defines body for V1CheckVanitySubdomainAvailability for application/json ContentType.

type V1CheckVanitySubdomainAvailabilityResponse added in v1.172.0

type V1CheckVanitySubdomainAvailabilityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SubdomainAvailabilityResponse
}

func ParseV1CheckVanitySubdomainAvailabilityResponse added in v1.172.0

func ParseV1CheckVanitySubdomainAvailabilityResponse(rsp *http.Response) (*V1CheckVanitySubdomainAvailabilityResponse, error)

ParseV1CheckVanitySubdomainAvailabilityResponse parses an HTTP response from a V1CheckVanitySubdomainAvailabilityWithResponse call

func (V1CheckVanitySubdomainAvailabilityResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1CheckVanitySubdomainAvailabilityResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1CreateABranchJSONRequestBody added in v1.172.0

type V1CreateABranchJSONRequestBody = CreateBranchBody

V1CreateABranchJSONRequestBody defines body for V1CreateABranch for application/json ContentType.

type V1CreateABranchResponse added in v1.172.0

type V1CreateABranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BranchResponse
}

func ParseV1CreateABranchResponse added in v1.172.0

func ParseV1CreateABranchResponse(rsp *http.Response) (*V1CreateABranchResponse, error)

ParseV1CreateABranchResponse parses an HTTP response from a V1CreateABranchWithResponse call

func (V1CreateABranchResponse) Status added in v1.172.0

func (r V1CreateABranchResponse) Status() string

Status returns HTTPResponse.Status

func (V1CreateABranchResponse) StatusCode added in v1.172.0

func (r V1CreateABranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateAFunctionJSONRequestBody added in v1.211.1

type V1CreateAFunctionJSONRequestBody = V1CreateFunctionBody

V1CreateAFunctionJSONRequestBody defines body for V1CreateAFunction for application/json ContentType.

type V1CreateAFunctionParams added in v1.211.1

type V1CreateAFunctionParams struct {
	Slug              *string  `form:"slug,omitempty" json:"slug,omitempty"`
	Name              *string  `form:"name,omitempty" json:"name,omitempty"`
	VerifyJwt         *bool    `form:"verify_jwt,omitempty" json:"verify_jwt,omitempty"`
	ImportMap         *bool    `form:"import_map,omitempty" json:"import_map,omitempty"`
	EntrypointPath    *string  `form:"entrypoint_path,omitempty" json:"entrypoint_path,omitempty"`
	ImportMapPath     *string  `form:"import_map_path,omitempty" json:"import_map_path,omitempty"`
	ComputeMultiplier *float32 `form:"compute_multiplier,omitempty" json:"compute_multiplier,omitempty"`
}

V1CreateAFunctionParams defines parameters for V1CreateAFunction.

type V1CreateAFunctionResponse added in v1.211.1

type V1CreateAFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *FunctionResponse
}

func ParseV1CreateAFunctionResponse added in v1.211.1

func ParseV1CreateAFunctionResponse(rsp *http.Response) (*V1CreateAFunctionResponse, error)

ParseV1CreateAFunctionResponse parses an HTTP response from a V1CreateAFunctionWithResponse call

func (V1CreateAFunctionResponse) Status added in v1.211.1

func (r V1CreateAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1CreateAFunctionResponse) StatusCode added in v1.211.1

func (r V1CreateAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateAProjectJSONRequestBody added in v1.172.0

type V1CreateAProjectJSONRequestBody = V1CreateProjectBodyDto

V1CreateAProjectJSONRequestBody defines body for V1CreateAProject for application/json ContentType.

type V1CreateAProjectResponse added in v1.172.0

type V1CreateAProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *V1ProjectResponse
}

func ParseV1CreateAProjectResponse added in v1.172.0

func ParseV1CreateAProjectResponse(rsp *http.Response) (*V1CreateAProjectResponse, error)

ParseV1CreateAProjectResponse parses an HTTP response from a V1CreateAProjectWithResponse call

func (V1CreateAProjectResponse) Status added in v1.172.0

func (r V1CreateAProjectResponse) Status() string

Status returns HTTPResponse.Status

func (V1CreateAProjectResponse) StatusCode added in v1.172.0

func (r V1CreateAProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateASsoProviderJSONRequestBody added in v1.172.0

type V1CreateASsoProviderJSONRequestBody = CreateProviderBody

V1CreateASsoProviderJSONRequestBody defines body for V1CreateASsoProvider for application/json ContentType.

type V1CreateASsoProviderResponse added in v1.172.0

type V1CreateASsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CreateProviderResponse
}

func ParseV1CreateASsoProviderResponse added in v1.172.0

func ParseV1CreateASsoProviderResponse(rsp *http.Response) (*V1CreateASsoProviderResponse, error)

ParseV1CreateASsoProviderResponse parses an HTTP response from a V1CreateASsoProviderWithResponse call

func (V1CreateASsoProviderResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1CreateASsoProviderResponse) StatusCode added in v1.172.0

func (r V1CreateASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateAnOrganizationJSONRequestBody added in v1.172.0

type V1CreateAnOrganizationJSONRequestBody = CreateOrganizationV1Dto

V1CreateAnOrganizationJSONRequestBody defines body for V1CreateAnOrganization for application/json ContentType.

type V1CreateAnOrganizationResponse added in v1.172.0

type V1CreateAnOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *OrganizationResponseV1
}

func ParseV1CreateAnOrganizationResponse added in v1.172.0

func ParseV1CreateAnOrganizationResponse(rsp *http.Response) (*V1CreateAnOrganizationResponse, error)

ParseV1CreateAnOrganizationResponse parses an HTTP response from a V1CreateAnOrganizationWithResponse call

func (V1CreateAnOrganizationResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1CreateAnOrganizationResponse) StatusCode added in v1.172.0

func (r V1CreateAnOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateFunctionBody added in v1.165.1

type V1CreateFunctionBody struct {
	Body              string   `json:"body"`
	ComputeMultiplier *float32 `json:"compute_multiplier,omitempty"`
	Name              string   `json:"name"`
	Slug              string   `json:"slug"`
	VerifyJwt         *bool    `json:"verify_jwt,omitempty"`
}

V1CreateFunctionBody defines model for V1CreateFunctionBody.

type V1CreateProjectBodyDto added in v1.224.1

type V1CreateProjectBodyDto struct {
	// DbPass Database password
	DbPass              string                                     `json:"db_pass"`
	DesiredInstanceSize *V1CreateProjectBodyDtoDesiredInstanceSize `json:"desired_instance_size,omitempty"`

	// KpsEnabled This field is deprecated and is ignored in this request
	// Deprecated:
	KpsEnabled *bool `json:"kps_enabled,omitempty"`

	// Name Name of your project, should not contain dots
	Name string `json:"name"`

	// OrganizationId Slug of your organization
	OrganizationId string `json:"organization_id"`

	// Plan Subscription Plan is now set on organization level and is ignored in this request
	// Deprecated:
	Plan *V1CreateProjectBodyDtoPlan `json:"plan,omitempty"`

	// PostgresEngine Postgres engine version. If not provided, the latest version will be used.
	PostgresEngine *V1CreateProjectBodyDtoPostgresEngine `json:"postgres_engine,omitempty"`

	// Region Region you want your server to reside in
	Region V1CreateProjectBodyDtoRegion `json:"region"`

	// ReleaseChannel Release channel. If not provided, GA will be used.
	ReleaseChannel *V1CreateProjectBodyDtoReleaseChannel `json:"release_channel,omitempty"`

	// TemplateUrl Template URL used to create the project from the CLI.
	TemplateUrl *string `json:"template_url,omitempty"`
}

V1CreateProjectBodyDto defines model for V1CreateProjectBodyDto.

type V1CreateProjectBodyDtoDesiredInstanceSize added in v1.224.1

type V1CreateProjectBodyDtoDesiredInstanceSize string

V1CreateProjectBodyDtoDesiredInstanceSize defines model for V1CreateProjectBodyDto.DesiredInstanceSize.

const (
	V1CreateProjectBodyDtoDesiredInstanceSizeLarge     V1CreateProjectBodyDtoDesiredInstanceSize = "large"
	V1CreateProjectBodyDtoDesiredInstanceSizeMedium    V1CreateProjectBodyDtoDesiredInstanceSize = "medium"
	V1CreateProjectBodyDtoDesiredInstanceSizeMicro     V1CreateProjectBodyDtoDesiredInstanceSize = "micro"
	V1CreateProjectBodyDtoDesiredInstanceSizeN12xlarge V1CreateProjectBodyDtoDesiredInstanceSize = "12xlarge"
	V1CreateProjectBodyDtoDesiredInstanceSizeN16xlarge V1CreateProjectBodyDtoDesiredInstanceSize = "16xlarge"
	V1CreateProjectBodyDtoDesiredInstanceSizeN2xlarge  V1CreateProjectBodyDtoDesiredInstanceSize = "2xlarge"
	V1CreateProjectBodyDtoDesiredInstanceSizeN4xlarge  V1CreateProjectBodyDtoDesiredInstanceSize = "4xlarge"
	V1CreateProjectBodyDtoDesiredInstanceSizeN8xlarge  V1CreateProjectBodyDtoDesiredInstanceSize = "8xlarge"
	V1CreateProjectBodyDtoDesiredInstanceSizeSmall     V1CreateProjectBodyDtoDesiredInstanceSize = "small"
	V1CreateProjectBodyDtoDesiredInstanceSizeXlarge    V1CreateProjectBodyDtoDesiredInstanceSize = "xlarge"
)

Defines values for V1CreateProjectBodyDtoDesiredInstanceSize.

type V1CreateProjectBodyDtoPlan added in v1.224.1

type V1CreateProjectBodyDtoPlan string

V1CreateProjectBodyDtoPlan Subscription Plan is now set on organization level and is ignored in this request

const (
	V1CreateProjectBodyDtoPlanFree V1CreateProjectBodyDtoPlan = "free"
	V1CreateProjectBodyDtoPlanPro  V1CreateProjectBodyDtoPlan = "pro"
)

Defines values for V1CreateProjectBodyDtoPlan.

type V1CreateProjectBodyDtoPostgresEngine added in v1.224.1

type V1CreateProjectBodyDtoPostgresEngine string

V1CreateProjectBodyDtoPostgresEngine Postgres engine version. If not provided, the latest version will be used.

const (
	V1CreateProjectBodyDtoPostgresEngineN15 V1CreateProjectBodyDtoPostgresEngine = "15"
)

Defines values for V1CreateProjectBodyDtoPostgresEngine.

type V1CreateProjectBodyDtoRegion added in v1.224.1

type V1CreateProjectBodyDtoRegion string

V1CreateProjectBodyDtoRegion Region you want your server to reside in

const (
	V1CreateProjectBodyDtoRegionApEast1      V1CreateProjectBodyDtoRegion = "ap-east-1"
	V1CreateProjectBodyDtoRegionApNortheast1 V1CreateProjectBodyDtoRegion = "ap-northeast-1"
	V1CreateProjectBodyDtoRegionApNortheast2 V1CreateProjectBodyDtoRegion = "ap-northeast-2"
	V1CreateProjectBodyDtoRegionApSouth1     V1CreateProjectBodyDtoRegion = "ap-south-1"
	V1CreateProjectBodyDtoRegionApSoutheast1 V1CreateProjectBodyDtoRegion = "ap-southeast-1"
	V1CreateProjectBodyDtoRegionApSoutheast2 V1CreateProjectBodyDtoRegion = "ap-southeast-2"
	V1CreateProjectBodyDtoRegionCaCentral1   V1CreateProjectBodyDtoRegion = "ca-central-1"
	V1CreateProjectBodyDtoRegionEuCentral1   V1CreateProjectBodyDtoRegion = "eu-central-1"
	V1CreateProjectBodyDtoRegionEuCentral2   V1CreateProjectBodyDtoRegion = "eu-central-2"
	V1CreateProjectBodyDtoRegionEuNorth1     V1CreateProjectBodyDtoRegion = "eu-north-1"
	V1CreateProjectBodyDtoRegionEuWest1      V1CreateProjectBodyDtoRegion = "eu-west-1"
	V1CreateProjectBodyDtoRegionEuWest2      V1CreateProjectBodyDtoRegion = "eu-west-2"
	V1CreateProjectBodyDtoRegionEuWest3      V1CreateProjectBodyDtoRegion = "eu-west-3"
	V1CreateProjectBodyDtoRegionSaEast1      V1CreateProjectBodyDtoRegion = "sa-east-1"
	V1CreateProjectBodyDtoRegionUsEast1      V1CreateProjectBodyDtoRegion = "us-east-1"
	V1CreateProjectBodyDtoRegionUsEast2      V1CreateProjectBodyDtoRegion = "us-east-2"
	V1CreateProjectBodyDtoRegionUsWest1      V1CreateProjectBodyDtoRegion = "us-west-1"
	V1CreateProjectBodyDtoRegionUsWest2      V1CreateProjectBodyDtoRegion = "us-west-2"
)

Defines values for V1CreateProjectBodyDtoRegion.

type V1CreateProjectBodyDtoReleaseChannel added in v1.224.1

type V1CreateProjectBodyDtoReleaseChannel string

V1CreateProjectBodyDtoReleaseChannel Release channel. If not provided, GA will be used.

const (
	V1CreateProjectBodyDtoReleaseChannelAlpha     V1CreateProjectBodyDtoReleaseChannel = "alpha"
	V1CreateProjectBodyDtoReleaseChannelBeta      V1CreateProjectBodyDtoReleaseChannel = "beta"
	V1CreateProjectBodyDtoReleaseChannelGa        V1CreateProjectBodyDtoReleaseChannel = "ga"
	V1CreateProjectBodyDtoReleaseChannelInternal  V1CreateProjectBodyDtoReleaseChannel = "internal"
	V1CreateProjectBodyDtoReleaseChannelWithdrawn V1CreateProjectBodyDtoReleaseChannel = "withdrawn"
)

Defines values for V1CreateProjectBodyDtoReleaseChannel.

type V1DatabaseResponse added in v1.165.1

type V1DatabaseResponse struct {
	// Host Database host
	Host string `json:"host"`

	// PostgresEngine Database engine
	PostgresEngine string `json:"postgres_engine"`

	// ReleaseChannel Release channel
	ReleaseChannel string `json:"release_channel"`

	// Version Database version
	Version string `json:"version"`
}

V1DatabaseResponse defines model for V1DatabaseResponse.

type V1DeactivateVanitySubdomainConfigResponse added in v1.172.2

type V1DeactivateVanitySubdomainConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1DeactivateVanitySubdomainConfigResponse added in v1.172.2

func ParseV1DeactivateVanitySubdomainConfigResponse(rsp *http.Response) (*V1DeactivateVanitySubdomainConfigResponse, error)

ParseV1DeactivateVanitySubdomainConfigResponse parses an HTTP response from a V1DeactivateVanitySubdomainConfigWithResponse call

func (V1DeactivateVanitySubdomainConfigResponse) Status added in v1.172.2

Status returns HTTPResponse.Status

func (V1DeactivateVanitySubdomainConfigResponse) StatusCode added in v1.172.2

StatusCode returns HTTPResponse.StatusCode

type V1DeleteABranchResponse added in v1.172.0

type V1DeleteABranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchDeleteResponse
}

func ParseV1DeleteABranchResponse added in v1.172.0

func ParseV1DeleteABranchResponse(rsp *http.Response) (*V1DeleteABranchResponse, error)

ParseV1DeleteABranchResponse parses an HTTP response from a V1DeleteABranchWithResponse call

func (V1DeleteABranchResponse) Status added in v1.172.0

func (r V1DeleteABranchResponse) Status() string

Status returns HTTPResponse.Status

func (V1DeleteABranchResponse) StatusCode added in v1.172.0

func (r V1DeleteABranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteAFunctionResponse added in v1.172.0

type V1DeleteAFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1DeleteAFunctionResponse added in v1.172.0

func ParseV1DeleteAFunctionResponse(rsp *http.Response) (*V1DeleteAFunctionResponse, error)

ParseV1DeleteAFunctionResponse parses an HTTP response from a V1DeleteAFunctionWithResponse call

func (V1DeleteAFunctionResponse) Status added in v1.172.0

func (r V1DeleteAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1DeleteAFunctionResponse) StatusCode added in v1.172.0

func (r V1DeleteAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteAProjectResponse added in v1.172.0

type V1DeleteAProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1ProjectRefResponse
}

func ParseV1DeleteAProjectResponse added in v1.172.0

func ParseV1DeleteAProjectResponse(rsp *http.Response) (*V1DeleteAProjectResponse, error)

ParseV1DeleteAProjectResponse parses an HTTP response from a V1DeleteAProjectWithResponse call

func (V1DeleteAProjectResponse) Status added in v1.172.0

func (r V1DeleteAProjectResponse) Status() string

Status returns HTTPResponse.Status

func (V1DeleteAProjectResponse) StatusCode added in v1.172.0

func (r V1DeleteAProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteASsoProviderResponse added in v1.172.0

type V1DeleteASsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteProviderResponse
}

func ParseV1DeleteASsoProviderResponse added in v1.172.0

func ParseV1DeleteASsoProviderResponse(rsp *http.Response) (*V1DeleteASsoProviderResponse, error)

ParseV1DeleteASsoProviderResponse parses an HTTP response from a V1DeleteASsoProviderWithResponse call

func (V1DeleteASsoProviderResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1DeleteASsoProviderResponse) StatusCode added in v1.172.0

func (r V1DeleteASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteHostnameConfigResponse added in v1.172.0

type V1DeleteHostnameConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1DeleteHostnameConfigResponse added in v1.172.0

func ParseV1DeleteHostnameConfigResponse(rsp *http.Response) (*V1DeleteHostnameConfigResponse, error)

ParseV1DeleteHostnameConfigResponse parses an HTTP response from a V1DeleteHostnameConfigWithResponse call

func (V1DeleteHostnameConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1DeleteHostnameConfigResponse) StatusCode added in v1.172.0

func (r V1DeleteHostnameConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteNetworkBansJSONRequestBody added in v1.172.0

type V1DeleteNetworkBansJSONRequestBody = RemoveNetworkBanRequest

V1DeleteNetworkBansJSONRequestBody defines body for V1DeleteNetworkBans for application/json ContentType.

type V1DeleteNetworkBansResponse added in v1.172.0

type V1DeleteNetworkBansResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1DeleteNetworkBansResponse added in v1.172.0

func ParseV1DeleteNetworkBansResponse(rsp *http.Response) (*V1DeleteNetworkBansResponse, error)

ParseV1DeleteNetworkBansResponse parses an HTTP response from a V1DeleteNetworkBansWithResponse call

func (V1DeleteNetworkBansResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1DeleteNetworkBansResponse) StatusCode added in v1.172.0

func (r V1DeleteNetworkBansResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DisablePreviewBranchingResponse added in v1.172.0

type V1DisablePreviewBranchingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1DisablePreviewBranchingResponse added in v1.172.0

func ParseV1DisablePreviewBranchingResponse(rsp *http.Response) (*V1DisablePreviewBranchingResponse, error)

ParseV1DisablePreviewBranchingResponse parses an HTTP response from a V1DisablePreviewBranchingWithResponse call

func (V1DisablePreviewBranchingResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1DisablePreviewBranchingResponse) StatusCode added in v1.172.0

func (r V1DisablePreviewBranchingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DisableReadonlyModeTemporarilyResponse added in v1.172.0

type V1DisableReadonlyModeTemporarilyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1DisableReadonlyModeTemporarilyResponse added in v1.172.0

func ParseV1DisableReadonlyModeTemporarilyResponse(rsp *http.Response) (*V1DisableReadonlyModeTemporarilyResponse, error)

ParseV1DisableReadonlyModeTemporarilyResponse parses an HTTP response from a V1DisableReadonlyModeTemporarilyWithResponse call

func (V1DisableReadonlyModeTemporarilyResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1DisableReadonlyModeTemporarilyResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1EnableDatabaseWebhookResponse added in v1.172.0

type V1EnableDatabaseWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1EnableDatabaseWebhookResponse added in v1.172.0

func ParseV1EnableDatabaseWebhookResponse(rsp *http.Response) (*V1EnableDatabaseWebhookResponse, error)

ParseV1EnableDatabaseWebhookResponse parses an HTTP response from a V1EnableDatabaseWebhookWithResponse call

func (V1EnableDatabaseWebhookResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1EnableDatabaseWebhookResponse) StatusCode added in v1.172.0

func (r V1EnableDatabaseWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ExchangeOauthTokenFormdataRequestBody added in v1.172.0

type V1ExchangeOauthTokenFormdataRequestBody = OAuthTokenBody

V1ExchangeOauthTokenFormdataRequestBody defines body for V1ExchangeOauthToken for application/x-www-form-urlencoded ContentType.

type V1ExchangeOauthTokenResponse added in v1.172.0

type V1ExchangeOauthTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *OAuthTokenResponse
}

func ParseV1ExchangeOauthTokenResponse added in v1.172.0

func ParseV1ExchangeOauthTokenResponse(rsp *http.Response) (*V1ExchangeOauthTokenResponse, error)

ParseV1ExchangeOauthTokenResponse parses an HTTP response from a V1ExchangeOauthTokenWithResponse call

func (V1ExchangeOauthTokenResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1ExchangeOauthTokenResponse) StatusCode added in v1.172.0

func (r V1ExchangeOauthTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GenerateTypescriptTypesParams added in v1.172.0

type V1GenerateTypescriptTypesParams struct {
	IncludedSchemas *string `form:"included_schemas,omitempty" json:"included_schemas,omitempty"`
}

V1GenerateTypescriptTypesParams defines parameters for V1GenerateTypescriptTypes.

type V1GenerateTypescriptTypesResponse added in v1.172.0

type V1GenerateTypescriptTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TypescriptResponse
}

func ParseV1GenerateTypescriptTypesResponse added in v1.172.0

func ParseV1GenerateTypescriptTypesResponse(rsp *http.Response) (*V1GenerateTypescriptTypesResponse, error)

ParseV1GenerateTypescriptTypesResponse parses an HTTP response from a V1GenerateTypescriptTypesWithResponse call

func (V1GenerateTypescriptTypesResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GenerateTypescriptTypesResponse) StatusCode added in v1.172.0

func (r V1GenerateTypescriptTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetABranchConfigResponse added in v1.172.0

type V1GetABranchConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchDetailResponse
}

func ParseV1GetABranchConfigResponse added in v1.172.0

func ParseV1GetABranchConfigResponse(rsp *http.Response) (*V1GetABranchConfigResponse, error)

ParseV1GetABranchConfigResponse parses an HTTP response from a V1GetABranchConfigWithResponse call

func (V1GetABranchConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetABranchConfigResponse) StatusCode added in v1.172.0

func (r V1GetABranchConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAFunctionBodyResponse added in v1.172.0

type V1GetAFunctionBodyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1GetAFunctionBodyResponse added in v1.172.0

func ParseV1GetAFunctionBodyResponse(rsp *http.Response) (*V1GetAFunctionBodyResponse, error)

ParseV1GetAFunctionBodyResponse parses an HTTP response from a V1GetAFunctionBodyWithResponse call

func (V1GetAFunctionBodyResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetAFunctionBodyResponse) StatusCode added in v1.172.0

func (r V1GetAFunctionBodyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAFunctionResponse added in v1.172.0

type V1GetAFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FunctionSlugResponse
}

func ParseV1GetAFunctionResponse added in v1.172.0

func ParseV1GetAFunctionResponse(rsp *http.Response) (*V1GetAFunctionResponse, error)

ParseV1GetAFunctionResponse parses an HTTP response from a V1GetAFunctionWithResponse call

func (V1GetAFunctionResponse) Status added in v1.172.0

func (r V1GetAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetAFunctionResponse) StatusCode added in v1.172.0

func (r V1GetAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetASnippetResponse added in v1.172.0

type V1GetASnippetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SnippetResponse
}

func ParseV1GetASnippetResponse added in v1.172.0

func ParseV1GetASnippetResponse(rsp *http.Response) (*V1GetASnippetResponse, error)

ParseV1GetASnippetResponse parses an HTTP response from a V1GetASnippetWithResponse call

func (V1GetASnippetResponse) Status added in v1.172.0

func (r V1GetASnippetResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetASnippetResponse) StatusCode added in v1.172.0

func (r V1GetASnippetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetASsoProviderResponse added in v1.172.0

type V1GetASsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetProviderResponse
}

func ParseV1GetASsoProviderResponse added in v1.172.0

func ParseV1GetASsoProviderResponse(rsp *http.Response) (*V1GetASsoProviderResponse, error)

ParseV1GetASsoProviderResponse parses an HTTP response from a V1GetASsoProviderWithResponse call

func (V1GetASsoProviderResponse) Status added in v1.172.0

func (r V1GetASsoProviderResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetASsoProviderResponse) StatusCode added in v1.172.0

func (r V1GetASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAnOrganizationResponse added in v1.172.0

type V1GetAnOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1OrganizationSlugResponse
}

func ParseV1GetAnOrganizationResponse added in v1.172.0

func ParseV1GetAnOrganizationResponse(rsp *http.Response) (*V1GetAnOrganizationResponse, error)

ParseV1GetAnOrganizationResponse parses an HTTP response from a V1GetAnOrganizationWithResponse call

func (V1GetAnOrganizationResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetAnOrganizationResponse) StatusCode added in v1.172.0

func (r V1GetAnOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAuthServiceConfigResponse added in v1.172.0

type V1GetAuthServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthConfigResponse
}

func ParseV1GetAuthServiceConfigResponse added in v1.172.0

func ParseV1GetAuthServiceConfigResponse(rsp *http.Response) (*V1GetAuthServiceConfigResponse, error)

ParseV1GetAuthServiceConfigResponse parses an HTTP response from a V1GetAuthServiceConfigWithResponse call

func (V1GetAuthServiceConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetAuthServiceConfigResponse) StatusCode added in v1.172.0

func (r V1GetAuthServiceConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetHostnameConfigResponse added in v1.172.0

type V1GetHostnameConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateCustomHostnameResponse
}

func ParseV1GetHostnameConfigResponse added in v1.172.0

func ParseV1GetHostnameConfigResponse(rsp *http.Response) (*V1GetHostnameConfigResponse, error)

ParseV1GetHostnameConfigResponse parses an HTTP response from a V1GetHostnameConfigWithResponse call

func (V1GetHostnameConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetHostnameConfigResponse) StatusCode added in v1.172.0

func (r V1GetHostnameConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetNetworkRestrictionsResponse added in v1.172.0

type V1GetNetworkRestrictionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NetworkRestrictionsResponse
}

func ParseV1GetNetworkRestrictionsResponse added in v1.172.0

func ParseV1GetNetworkRestrictionsResponse(rsp *http.Response) (*V1GetNetworkRestrictionsResponse, error)

ParseV1GetNetworkRestrictionsResponse parses an HTTP response from a V1GetNetworkRestrictionsWithResponse call

func (V1GetNetworkRestrictionsResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetNetworkRestrictionsResponse) StatusCode added in v1.172.0

func (r V1GetNetworkRestrictionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPgsodiumConfigResponse added in v1.172.0

type V1GetPgsodiumConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PgsodiumConfigResponse
}

func ParseV1GetPgsodiumConfigResponse added in v1.172.0

func ParseV1GetPgsodiumConfigResponse(rsp *http.Response) (*V1GetPgsodiumConfigResponse, error)

ParseV1GetPgsodiumConfigResponse parses an HTTP response from a V1GetPgsodiumConfigWithResponse call

func (V1GetPgsodiumConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetPgsodiumConfigResponse) StatusCode added in v1.172.0

func (r V1GetPgsodiumConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgresConfigResponse added in v1.172.2

type V1GetPostgresConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostgresConfigResponse
}

func ParseV1GetPostgresConfigResponse added in v1.172.2

func ParseV1GetPostgresConfigResponse(rsp *http.Response) (*V1GetPostgresConfigResponse, error)

ParseV1GetPostgresConfigResponse parses an HTTP response from a V1GetPostgresConfigWithResponse call

func (V1GetPostgresConfigResponse) Status added in v1.172.2

Status returns HTTPResponse.Status

func (V1GetPostgresConfigResponse) StatusCode added in v1.172.2

func (r V1GetPostgresConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgresUpgradeEligibilityResponse added in v1.205.0

type V1GetPostgresUpgradeEligibilityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectUpgradeEligibilityResponse
}

func ParseV1GetPostgresUpgradeEligibilityResponse added in v1.205.0

func ParseV1GetPostgresUpgradeEligibilityResponse(rsp *http.Response) (*V1GetPostgresUpgradeEligibilityResponse, error)

ParseV1GetPostgresUpgradeEligibilityResponse parses an HTTP response from a V1GetPostgresUpgradeEligibilityWithResponse call

func (V1GetPostgresUpgradeEligibilityResponse) Status added in v1.205.0

Status returns HTTPResponse.Status

func (V1GetPostgresUpgradeEligibilityResponse) StatusCode added in v1.205.0

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgresUpgradeStatusParams added in v1.205.0

type V1GetPostgresUpgradeStatusParams struct {
	TrackingId *string `form:"tracking_id,omitempty" json:"tracking_id,omitempty"`
}

V1GetPostgresUpgradeStatusParams defines parameters for V1GetPostgresUpgradeStatus.

type V1GetPostgresUpgradeStatusResponse added in v1.205.0

type V1GetPostgresUpgradeStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatabaseUpgradeStatusResponse
}

func ParseV1GetPostgresUpgradeStatusResponse added in v1.205.0

func ParseV1GetPostgresUpgradeStatusResponse(rsp *http.Response) (*V1GetPostgresUpgradeStatusResponse, error)

ParseV1GetPostgresUpgradeStatusResponse parses an HTTP response from a V1GetPostgresUpgradeStatusWithResponse call

func (V1GetPostgresUpgradeStatusResponse) Status added in v1.205.0

Status returns HTTPResponse.Status

func (V1GetPostgresUpgradeStatusResponse) StatusCode added in v1.205.0

func (r V1GetPostgresUpgradeStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgrestServiceConfigResponse added in v1.172.0

type V1GetPostgrestServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostgrestConfigWithJWTSecretResponse
}

func ParseV1GetPostgrestServiceConfigResponse added in v1.172.0

func ParseV1GetPostgrestServiceConfigResponse(rsp *http.Response) (*V1GetPostgrestServiceConfigResponse, error)

ParseV1GetPostgrestServiceConfigResponse parses an HTTP response from a V1GetPostgrestServiceConfigWithResponse call

func (V1GetPostgrestServiceConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetPostgrestServiceConfigResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1GetProjectApiKeysParams added in v1.224.1

type V1GetProjectApiKeysParams struct {
	Reveal bool `form:"reveal" json:"reveal"`
}

V1GetProjectApiKeysParams defines parameters for V1GetProjectApiKeys.

type V1GetProjectApiKeysResponse added in v1.172.0

type V1GetProjectApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ApiKeyResponse
}

func ParseV1GetProjectApiKeysResponse added in v1.172.0

func ParseV1GetProjectApiKeysResponse(rsp *http.Response) (*V1GetProjectApiKeysResponse, error)

ParseV1GetProjectApiKeysResponse parses an HTTP response from a V1GetProjectApiKeysWithResponse call

func (V1GetProjectApiKeysResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetProjectApiKeysResponse) StatusCode added in v1.172.0

func (r V1GetProjectApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetProjectPgbouncerConfigResponse added in v1.172.0

type V1GetProjectPgbouncerConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1PgbouncerConfigResponse
}

func ParseV1GetProjectPgbouncerConfigResponse added in v1.172.0

func ParseV1GetProjectPgbouncerConfigResponse(rsp *http.Response) (*V1GetProjectPgbouncerConfigResponse, error)

ParseV1GetProjectPgbouncerConfigResponse parses an HTTP response from a V1GetProjectPgbouncerConfigWithResponse call

func (V1GetProjectPgbouncerConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetProjectPgbouncerConfigResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1GetProjectResponse added in v1.204.0

type V1GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1ProjectWithDatabaseResponse
}

func ParseV1GetProjectResponse added in v1.204.0

func ParseV1GetProjectResponse(rsp *http.Response) (*V1GetProjectResponse, error)

ParseV1GetProjectResponse parses an HTTP response from a V1GetProjectWithResponse call

func (V1GetProjectResponse) Status added in v1.204.0

func (r V1GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetProjectResponse) StatusCode added in v1.204.0

func (r V1GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetReadonlyModeStatusResponse added in v1.172.0

type V1GetReadonlyModeStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReadOnlyStatusResponse
}

func ParseV1GetReadonlyModeStatusResponse added in v1.172.0

func ParseV1GetReadonlyModeStatusResponse(rsp *http.Response) (*V1GetReadonlyModeStatusResponse, error)

ParseV1GetReadonlyModeStatusResponse parses an HTTP response from a V1GetReadonlyModeStatusWithResponse call

func (V1GetReadonlyModeStatusResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetReadonlyModeStatusResponse) StatusCode added in v1.172.0

func (r V1GetReadonlyModeStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetServicesHealthParams added in v1.172.0

type V1GetServicesHealthParams struct {
	TimeoutMs *int                                `form:"timeout_ms,omitempty" json:"timeout_ms,omitempty"`
	Services  []V1GetServicesHealthParamsServices `form:"services" json:"services"`
}

V1GetServicesHealthParams defines parameters for V1GetServicesHealth.

type V1GetServicesHealthParamsServices added in v1.172.0

type V1GetServicesHealthParamsServices string

V1GetServicesHealthParamsServices defines parameters for V1GetServicesHealth.

const (
	V1GetServicesHealthParamsServicesAuth     V1GetServicesHealthParamsServices = "auth"
	V1GetServicesHealthParamsServicesDb       V1GetServicesHealthParamsServices = "db"
	V1GetServicesHealthParamsServicesPooler   V1GetServicesHealthParamsServices = "pooler"
	V1GetServicesHealthParamsServicesRealtime V1GetServicesHealthParamsServices = "realtime"
	V1GetServicesHealthParamsServicesRest     V1GetServicesHealthParamsServices = "rest"
	V1GetServicesHealthParamsServicesStorage  V1GetServicesHealthParamsServices = "storage"
)

Defines values for V1GetServicesHealthParamsServices.

type V1GetServicesHealthResponse added in v1.172.0

type V1GetServicesHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1ServiceHealthResponse
}

func ParseV1GetServicesHealthResponse added in v1.172.0

func ParseV1GetServicesHealthResponse(rsp *http.Response) (*V1GetServicesHealthResponse, error)

ParseV1GetServicesHealthResponse parses an HTTP response from a V1GetServicesHealthWithResponse call

func (V1GetServicesHealthResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetServicesHealthResponse) StatusCode added in v1.172.0

func (r V1GetServicesHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetSslEnforcementConfigResponse added in v1.172.0

type V1GetSslEnforcementConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SslEnforcementResponse
}

func ParseV1GetSslEnforcementConfigResponse added in v1.172.0

func ParseV1GetSslEnforcementConfigResponse(rsp *http.Response) (*V1GetSslEnforcementConfigResponse, error)

ParseV1GetSslEnforcementConfigResponse parses an HTTP response from a V1GetSslEnforcementConfigWithResponse call

func (V1GetSslEnforcementConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetSslEnforcementConfigResponse) StatusCode added in v1.172.0

func (r V1GetSslEnforcementConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetStorageConfigResponse added in v1.211.1

type V1GetStorageConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StorageConfigResponse
}

func ParseV1GetStorageConfigResponse added in v1.211.1

func ParseV1GetStorageConfigResponse(rsp *http.Response) (*V1GetStorageConfigResponse, error)

ParseV1GetStorageConfigResponse parses an HTTP response from a V1GetStorageConfigWithResponse call

func (V1GetStorageConfigResponse) Status added in v1.211.1

Status returns HTTPResponse.Status

func (V1GetStorageConfigResponse) StatusCode added in v1.211.1

func (r V1GetStorageConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetSupavisorConfigResponse added in v1.172.2

type V1GetSupavisorConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SupavisorConfigResponse
}

func ParseV1GetSupavisorConfigResponse added in v1.172.2

func ParseV1GetSupavisorConfigResponse(rsp *http.Response) (*V1GetSupavisorConfigResponse, error)

ParseV1GetSupavisorConfigResponse parses an HTTP response from a V1GetSupavisorConfigWithResponse call

func (V1GetSupavisorConfigResponse) Status added in v1.172.2

Status returns HTTPResponse.Status

func (V1GetSupavisorConfigResponse) StatusCode added in v1.172.2

func (r V1GetSupavisorConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetVanitySubdomainConfigResponse added in v1.172.0

type V1GetVanitySubdomainConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *VanitySubdomainConfigResponse
}

func ParseV1GetVanitySubdomainConfigResponse added in v1.172.0

func ParseV1GetVanitySubdomainConfigResponse(rsp *http.Response) (*V1GetVanitySubdomainConfigResponse, error)

ParseV1GetVanitySubdomainConfigResponse parses an HTTP response from a V1GetVanitySubdomainConfigWithResponse call

func (V1GetVanitySubdomainConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1GetVanitySubdomainConfigResponse) StatusCode added in v1.172.0

func (r V1GetVanitySubdomainConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllBackupsResponse added in v1.172.0

type V1ListAllBackupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1BackupsResponse
}

func ParseV1ListAllBackupsResponse added in v1.172.0

func ParseV1ListAllBackupsResponse(rsp *http.Response) (*V1ListAllBackupsResponse, error)

ParseV1ListAllBackupsResponse parses an HTTP response from a V1ListAllBackupsWithResponse call

func (V1ListAllBackupsResponse) Status added in v1.172.0

func (r V1ListAllBackupsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllBackupsResponse) StatusCode added in v1.172.0

func (r V1ListAllBackupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllBranchesResponse added in v1.172.0

type V1ListAllBranchesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BranchResponse
}

func ParseV1ListAllBranchesResponse added in v1.172.0

func ParseV1ListAllBranchesResponse(rsp *http.Response) (*V1ListAllBranchesResponse, error)

ParseV1ListAllBranchesResponse parses an HTTP response from a V1ListAllBranchesWithResponse call

func (V1ListAllBranchesResponse) Status added in v1.172.0

func (r V1ListAllBranchesResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllBranchesResponse) StatusCode added in v1.172.0

func (r V1ListAllBranchesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllBucketsResponse added in v1.172.0

type V1ListAllBucketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1StorageBucketResponse
}

func ParseV1ListAllBucketsResponse added in v1.172.0

func ParseV1ListAllBucketsResponse(rsp *http.Response) (*V1ListAllBucketsResponse, error)

ParseV1ListAllBucketsResponse parses an HTTP response from a V1ListAllBucketsWithResponse call

func (V1ListAllBucketsResponse) Status added in v1.172.0

func (r V1ListAllBucketsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllBucketsResponse) StatusCode added in v1.172.0

func (r V1ListAllBucketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllFunctionsResponse added in v1.172.0

type V1ListAllFunctionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]FunctionResponse
}

func ParseV1ListAllFunctionsResponse added in v1.172.0

func ParseV1ListAllFunctionsResponse(rsp *http.Response) (*V1ListAllFunctionsResponse, error)

ParseV1ListAllFunctionsResponse parses an HTTP response from a V1ListAllFunctionsWithResponse call

func (V1ListAllFunctionsResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1ListAllFunctionsResponse) StatusCode added in v1.172.0

func (r V1ListAllFunctionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllNetworkBansResponse added in v1.172.0

type V1ListAllNetworkBansResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *NetworkBanResponse
}

func ParseV1ListAllNetworkBansResponse added in v1.172.0

func ParseV1ListAllNetworkBansResponse(rsp *http.Response) (*V1ListAllNetworkBansResponse, error)

ParseV1ListAllNetworkBansResponse parses an HTTP response from a V1ListAllNetworkBansWithResponse call

func (V1ListAllNetworkBansResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1ListAllNetworkBansResponse) StatusCode added in v1.172.0

func (r V1ListAllNetworkBansResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllOrganizationsResponse added in v1.172.0

type V1ListAllOrganizationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]OrganizationResponseV1
}

func ParseV1ListAllOrganizationsResponse added in v1.172.0

func ParseV1ListAllOrganizationsResponse(rsp *http.Response) (*V1ListAllOrganizationsResponse, error)

ParseV1ListAllOrganizationsResponse parses an HTTP response from a V1ListAllOrganizationsWithResponse call

func (V1ListAllOrganizationsResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1ListAllOrganizationsResponse) StatusCode added in v1.172.0

func (r V1ListAllOrganizationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllProjectsResponse added in v1.172.2

type V1ListAllProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1ProjectWithDatabaseResponse
}

func ParseV1ListAllProjectsResponse added in v1.172.2

func ParseV1ListAllProjectsResponse(rsp *http.Response) (*V1ListAllProjectsResponse, error)

ParseV1ListAllProjectsResponse parses an HTTP response from a V1ListAllProjectsWithResponse call

func (V1ListAllProjectsResponse) Status added in v1.172.2

func (r V1ListAllProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllProjectsResponse) StatusCode added in v1.172.2

func (r V1ListAllProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllSecretsResponse added in v1.172.0

type V1ListAllSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SecretResponse
}

func ParseV1ListAllSecretsResponse added in v1.172.0

func ParseV1ListAllSecretsResponse(rsp *http.Response) (*V1ListAllSecretsResponse, error)

ParseV1ListAllSecretsResponse parses an HTTP response from a V1ListAllSecretsWithResponse call

func (V1ListAllSecretsResponse) Status added in v1.172.0

func (r V1ListAllSecretsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllSecretsResponse) StatusCode added in v1.172.0

func (r V1ListAllSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllSnippetsParams added in v1.172.0

type V1ListAllSnippetsParams struct {
	ProjectRef *string `form:"project_ref,omitempty" json:"project_ref,omitempty"`
}

V1ListAllSnippetsParams defines parameters for V1ListAllSnippets.

type V1ListAllSnippetsResponse added in v1.172.0

type V1ListAllSnippetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SnippetList
}

func ParseV1ListAllSnippetsResponse added in v1.172.0

func ParseV1ListAllSnippetsResponse(rsp *http.Response) (*V1ListAllSnippetsResponse, error)

ParseV1ListAllSnippetsResponse parses an HTTP response from a V1ListAllSnippetsWithResponse call

func (V1ListAllSnippetsResponse) Status added in v1.172.0

func (r V1ListAllSnippetsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllSnippetsResponse) StatusCode added in v1.172.0

func (r V1ListAllSnippetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllSsoProviderResponse added in v1.172.0

type V1ListAllSsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListProvidersResponse
}

func ParseV1ListAllSsoProviderResponse added in v1.172.0

func ParseV1ListAllSsoProviderResponse(rsp *http.Response) (*V1ListAllSsoProviderResponse, error)

ParseV1ListAllSsoProviderResponse parses an HTTP response from a V1ListAllSsoProviderWithResponse call

func (V1ListAllSsoProviderResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1ListAllSsoProviderResponse) StatusCode added in v1.172.0

func (r V1ListAllSsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListOrganizationMembersResponse added in v1.93.0

type V1ListOrganizationMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1OrganizationMemberResponse
}

func ParseV1ListOrganizationMembersResponse added in v1.93.0

func ParseV1ListOrganizationMembersResponse(rsp *http.Response) (*V1ListOrganizationMembersResponse, error)

ParseV1ListOrganizationMembersResponse parses an HTTP response from a V1ListOrganizationMembersWithResponse call

func (V1ListOrganizationMembersResponse) Status added in v1.93.0

Status returns HTTPResponse.Status

func (V1ListOrganizationMembersResponse) StatusCode added in v1.93.0

func (r V1ListOrganizationMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1OrganizationMemberResponse added in v1.93.0

type V1OrganizationMemberResponse struct {
	Email      *string `json:"email,omitempty"`
	MfaEnabled bool    `json:"mfa_enabled"`
	RoleName   string  `json:"role_name"`
	UserId     string  `json:"user_id"`
	UserName   string  `json:"user_name"`
}

V1OrganizationMemberResponse defines model for V1OrganizationMemberResponse.

type V1OrganizationSlugResponse added in v1.135.0

type V1OrganizationSlugResponse struct {
	AllowedReleaseChannels []ReleaseChannel                      `json:"allowed_release_channels"`
	Id                     string                                `json:"id"`
	Name                   string                                `json:"name"`
	OptInTags              []V1OrganizationSlugResponseOptInTags `json:"opt_in_tags"`
	Plan                   *BillingPlanId                        `json:"plan,omitempty"`
}

V1OrganizationSlugResponse defines model for V1OrganizationSlugResponse.

type V1OrganizationSlugResponseOptInTags added in v1.135.0

type V1OrganizationSlugResponseOptInTags string

V1OrganizationSlugResponseOptInTags defines model for V1OrganizationSlugResponse.OptInTags.

const (
	AISQLGENERATOROPTIN V1OrganizationSlugResponseOptInTags = "AI_SQL_GENERATOR_OPT_IN"
)

Defines values for V1OrganizationSlugResponseOptInTags.

type V1PgbouncerConfigResponse added in v1.93.0

type V1PgbouncerConfigResponse struct {
	ConnectionString        *string                            `json:"connection_string,omitempty"`
	DefaultPoolSize         *float32                           `json:"default_pool_size,omitempty"`
	IgnoreStartupParameters *string                            `json:"ignore_startup_parameters,omitempty"`
	MaxClientConn           *float32                           `json:"max_client_conn,omitempty"`
	PoolMode                *V1PgbouncerConfigResponsePoolMode `json:"pool_mode,omitempty"`
}

V1PgbouncerConfigResponse defines model for V1PgbouncerConfigResponse.

type V1PgbouncerConfigResponsePoolMode added in v1.93.0

type V1PgbouncerConfigResponsePoolMode string

V1PgbouncerConfigResponsePoolMode defines model for V1PgbouncerConfigResponse.PoolMode.

const (
	V1PgbouncerConfigResponsePoolModeSession     V1PgbouncerConfigResponsePoolMode = "session"
	V1PgbouncerConfigResponsePoolModeStatement   V1PgbouncerConfigResponsePoolMode = "statement"
	V1PgbouncerConfigResponsePoolModeTransaction V1PgbouncerConfigResponsePoolMode = "transaction"
)

Defines values for V1PgbouncerConfigResponsePoolMode.

type V1PhysicalBackup added in v1.165.1

type V1PhysicalBackup struct {
	EarliestPhysicalBackupDateUnix *int64 `json:"earliest_physical_backup_date_unix,omitempty"`
	LatestPhysicalBackupDateUnix   *int64 `json:"latest_physical_backup_date_unix,omitempty"`
}

V1PhysicalBackup defines model for V1PhysicalBackup.

type V1PostgrestConfigResponse added in v1.165.1

type V1PostgrestConfigResponse struct {
	DbExtraSearchPath string `json:"db_extra_search_path"`

	// DbPool If `null`, the value is automatically configured based on compute size.
	DbPool   *int   `json:"db_pool"`
	DbSchema string `json:"db_schema"`
	MaxRows  int    `json:"max_rows"`
}

V1PostgrestConfigResponse defines model for V1PostgrestConfigResponse.

type V1ProjectRefResponse added in v1.165.1

type V1ProjectRefResponse struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
	Ref  string `json:"ref"`
}

V1ProjectRefResponse defines model for V1ProjectRefResponse.

type V1ProjectResponse added in v1.165.1

type V1ProjectResponse struct {
	// CreatedAt Creation timestamp
	CreatedAt string `json:"created_at"`

	// Id Id of your project
	Id string `json:"id"`

	// Name Name of your project
	Name string `json:"name"`

	// OrganizationId Slug of your organization
	OrganizationId string `json:"organization_id"`

	// Region Region of your project
	Region string                  `json:"region"`
	Status V1ProjectResponseStatus `json:"status"`
}

V1ProjectResponse defines model for V1ProjectResponse.

type V1ProjectResponseStatus added in v1.165.1

type V1ProjectResponseStatus string

V1ProjectResponseStatus defines model for V1ProjectResponse.Status.

const (
	V1ProjectResponseStatusACTIVEHEALTHY   V1ProjectResponseStatus = "ACTIVE_HEALTHY"
	V1ProjectResponseStatusACTIVEUNHEALTHY V1ProjectResponseStatus = "ACTIVE_UNHEALTHY"
	V1ProjectResponseStatusCOMINGUP        V1ProjectResponseStatus = "COMING_UP"
	V1ProjectResponseStatusGOINGDOWN       V1ProjectResponseStatus = "GOING_DOWN"
	V1ProjectResponseStatusINACTIVE        V1ProjectResponseStatus = "INACTIVE"
	V1ProjectResponseStatusINITFAILED      V1ProjectResponseStatus = "INIT_FAILED"
	V1ProjectResponseStatusPAUSEFAILED     V1ProjectResponseStatus = "PAUSE_FAILED"
	V1ProjectResponseStatusPAUSING         V1ProjectResponseStatus = "PAUSING"
	V1ProjectResponseStatusREMOVED         V1ProjectResponseStatus = "REMOVED"
	V1ProjectResponseStatusRESIZING        V1ProjectResponseStatus = "RESIZING"
	V1ProjectResponseStatusRESTARTING      V1ProjectResponseStatus = "RESTARTING"
	V1ProjectResponseStatusRESTOREFAILED   V1ProjectResponseStatus = "RESTORE_FAILED"
	V1ProjectResponseStatusRESTORING       V1ProjectResponseStatus = "RESTORING"
	V1ProjectResponseStatusUNKNOWN         V1ProjectResponseStatus = "UNKNOWN"
	V1ProjectResponseStatusUPGRADING       V1ProjectResponseStatus = "UPGRADING"
)

Defines values for V1ProjectResponseStatus.

type V1ProjectWithDatabaseResponse added in v1.224.1

type V1ProjectWithDatabaseResponse struct {
	// CreatedAt Creation timestamp
	CreatedAt string             `json:"created_at"`
	Database  V1DatabaseResponse `json:"database"`

	// Id Id of your project
	Id string `json:"id"`

	// Name Name of your project
	Name string `json:"name"`

	// OrganizationId Slug of your organization
	OrganizationId string `json:"organization_id"`

	// Region Region of your project
	Region string                              `json:"region"`
	Status V1ProjectWithDatabaseResponseStatus `json:"status"`
}

V1ProjectWithDatabaseResponse defines model for V1ProjectWithDatabaseResponse.

type V1ProjectWithDatabaseResponseStatus added in v1.224.1

type V1ProjectWithDatabaseResponseStatus string

V1ProjectWithDatabaseResponseStatus defines model for V1ProjectWithDatabaseResponse.Status.

const (
	V1ProjectWithDatabaseResponseStatusACTIVEHEALTHY   V1ProjectWithDatabaseResponseStatus = "ACTIVE_HEALTHY"
	V1ProjectWithDatabaseResponseStatusACTIVEUNHEALTHY V1ProjectWithDatabaseResponseStatus = "ACTIVE_UNHEALTHY"
	V1ProjectWithDatabaseResponseStatusCOMINGUP        V1ProjectWithDatabaseResponseStatus = "COMING_UP"
	V1ProjectWithDatabaseResponseStatusGOINGDOWN       V1ProjectWithDatabaseResponseStatus = "GOING_DOWN"
	V1ProjectWithDatabaseResponseStatusINACTIVE        V1ProjectWithDatabaseResponseStatus = "INACTIVE"
	V1ProjectWithDatabaseResponseStatusINITFAILED      V1ProjectWithDatabaseResponseStatus = "INIT_FAILED"
	V1ProjectWithDatabaseResponseStatusPAUSEFAILED     V1ProjectWithDatabaseResponseStatus = "PAUSE_FAILED"
	V1ProjectWithDatabaseResponseStatusPAUSING         V1ProjectWithDatabaseResponseStatus = "PAUSING"
	V1ProjectWithDatabaseResponseStatusREMOVED         V1ProjectWithDatabaseResponseStatus = "REMOVED"
	V1ProjectWithDatabaseResponseStatusRESIZING        V1ProjectWithDatabaseResponseStatus = "RESIZING"
	V1ProjectWithDatabaseResponseStatusRESTARTING      V1ProjectWithDatabaseResponseStatus = "RESTARTING"
	V1ProjectWithDatabaseResponseStatusRESTOREFAILED   V1ProjectWithDatabaseResponseStatus = "RESTORE_FAILED"
	V1ProjectWithDatabaseResponseStatusRESTORING       V1ProjectWithDatabaseResponseStatus = "RESTORING"
	V1ProjectWithDatabaseResponseStatusUNKNOWN         V1ProjectWithDatabaseResponseStatus = "UNKNOWN"
	V1ProjectWithDatabaseResponseStatusUPGRADING       V1ProjectWithDatabaseResponseStatus = "UPGRADING"
)

Defines values for V1ProjectWithDatabaseResponseStatus.

type V1RemoveAReadReplicaJSONRequestBody added in v1.172.0

type V1RemoveAReadReplicaJSONRequestBody = RemoveReadReplicaBody

V1RemoveAReadReplicaJSONRequestBody defines body for V1RemoveAReadReplica for application/json ContentType.

type V1RemoveAReadReplicaResponse added in v1.172.0

type V1RemoveAReadReplicaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1RemoveAReadReplicaResponse added in v1.172.0

func ParseV1RemoveAReadReplicaResponse(rsp *http.Response) (*V1RemoveAReadReplicaResponse, error)

ParseV1RemoveAReadReplicaResponse parses an HTTP response from a V1RemoveAReadReplicaWithResponse call

func (V1RemoveAReadReplicaResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1RemoveAReadReplicaResponse) StatusCode added in v1.172.0

func (r V1RemoveAReadReplicaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ResetABranchResponse added in v1.172.0

type V1ResetABranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BranchResetResponse
}

func ParseV1ResetABranchResponse added in v1.172.0

func ParseV1ResetABranchResponse(rsp *http.Response) (*V1ResetABranchResponse, error)

ParseV1ResetABranchResponse parses an HTTP response from a V1ResetABranchWithResponse call

func (V1ResetABranchResponse) Status added in v1.172.0

func (r V1ResetABranchResponse) Status() string

Status returns HTTPResponse.Status

func (V1ResetABranchResponse) StatusCode added in v1.172.0

func (r V1ResetABranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1RestorePitrBackupJSONRequestBody added in v1.172.0

type V1RestorePitrBackupJSONRequestBody = V1RestorePitrBody

V1RestorePitrBackupJSONRequestBody defines body for V1RestorePitrBackup for application/json ContentType.

type V1RestorePitrBackupResponse added in v1.172.0

type V1RestorePitrBackupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1RestorePitrBackupResponse added in v1.172.0

func ParseV1RestorePitrBackupResponse(rsp *http.Response) (*V1RestorePitrBackupResponse, error)

ParseV1RestorePitrBackupResponse parses an HTTP response from a V1RestorePitrBackupWithResponse call

func (V1RestorePitrBackupResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1RestorePitrBackupResponse) StatusCode added in v1.172.0

func (r V1RestorePitrBackupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1RestorePitrBody added in v1.106.0

type V1RestorePitrBody struct {
	RecoveryTimeTargetUnix int64 `json:"recovery_time_target_unix"`
}

V1RestorePitrBody defines model for V1RestorePitrBody.

type V1RunAQueryJSONRequestBody added in v1.172.0

type V1RunAQueryJSONRequestBody = V1RunQueryBody

V1RunAQueryJSONRequestBody defines body for V1RunAQuery for application/json ContentType.

type V1RunAQueryResponse added in v1.172.0

type V1RunAQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *map[string]interface{}
}

func ParseV1RunAQueryResponse added in v1.172.0

func ParseV1RunAQueryResponse(rsp *http.Response) (*V1RunAQueryResponse, error)

ParseV1RunAQueryResponse parses an HTTP response from a V1RunAQueryWithResponse call

func (V1RunAQueryResponse) Status added in v1.172.0

func (r V1RunAQueryResponse) Status() string

Status returns HTTPResponse.Status

func (V1RunAQueryResponse) StatusCode added in v1.172.0

func (r V1RunAQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1RunQueryBody added in v1.165.1

type V1RunQueryBody struct {
	Query string `json:"query"`
}

V1RunQueryBody defines model for V1RunQueryBody.

type V1ServiceHealthResponse added in v1.165.1

type V1ServiceHealthResponse struct {
	Error   *string                       `json:"error,omitempty"`
	Healthy bool                          `json:"healthy"`
	Info    *V1ServiceHealthResponse_Info `json:"info,omitempty"`
	Name    V1ServiceHealthResponseName   `json:"name"`
	Status  V1ServiceHealthResponseStatus `json:"status"`
}

V1ServiceHealthResponse defines model for V1ServiceHealthResponse.

type V1ServiceHealthResponseName added in v1.165.1

type V1ServiceHealthResponseName string

V1ServiceHealthResponseName defines model for V1ServiceHealthResponse.Name.

const (
	V1ServiceHealthResponseNameAuth     V1ServiceHealthResponseName = "auth"
	V1ServiceHealthResponseNameDb       V1ServiceHealthResponseName = "db"
	V1ServiceHealthResponseNamePooler   V1ServiceHealthResponseName = "pooler"
	V1ServiceHealthResponseNameRealtime V1ServiceHealthResponseName = "realtime"
	V1ServiceHealthResponseNameRest     V1ServiceHealthResponseName = "rest"
	V1ServiceHealthResponseNameStorage  V1ServiceHealthResponseName = "storage"
)

Defines values for V1ServiceHealthResponseName.

type V1ServiceHealthResponseStatus added in v1.165.1

type V1ServiceHealthResponseStatus string

V1ServiceHealthResponseStatus defines model for V1ServiceHealthResponse.Status.

const (
	ACTIVEHEALTHY V1ServiceHealthResponseStatus = "ACTIVE_HEALTHY"
	COMINGUP      V1ServiceHealthResponseStatus = "COMING_UP"
	UNHEALTHY     V1ServiceHealthResponseStatus = "UNHEALTHY"
)

Defines values for V1ServiceHealthResponseStatus.

type V1ServiceHealthResponse_Info added in v1.165.1

type V1ServiceHealthResponse_Info struct {
	// contains filtered or unexported fields
}

V1ServiceHealthResponse_Info defines model for V1ServiceHealthResponse.Info.

func (V1ServiceHealthResponse_Info) AsAuthHealthResponse added in v1.165.1

func (t V1ServiceHealthResponse_Info) AsAuthHealthResponse() (AuthHealthResponse, error)

AsAuthHealthResponse returns the union data inside the V1ServiceHealthResponse_Info as a AuthHealthResponse

func (V1ServiceHealthResponse_Info) AsRealtimeHealthResponse added in v1.165.1

func (t V1ServiceHealthResponse_Info) AsRealtimeHealthResponse() (RealtimeHealthResponse, error)

AsRealtimeHealthResponse returns the union data inside the V1ServiceHealthResponse_Info as a RealtimeHealthResponse

func (*V1ServiceHealthResponse_Info) FromAuthHealthResponse added in v1.165.1

func (t *V1ServiceHealthResponse_Info) FromAuthHealthResponse(v AuthHealthResponse) error

FromAuthHealthResponse overwrites any union data inside the V1ServiceHealthResponse_Info as the provided AuthHealthResponse

func (*V1ServiceHealthResponse_Info) FromRealtimeHealthResponse added in v1.165.1

func (t *V1ServiceHealthResponse_Info) FromRealtimeHealthResponse(v RealtimeHealthResponse) error

FromRealtimeHealthResponse overwrites any union data inside the V1ServiceHealthResponse_Info as the provided RealtimeHealthResponse

func (V1ServiceHealthResponse_Info) MarshalJSON added in v1.165.1

func (t V1ServiceHealthResponse_Info) MarshalJSON() ([]byte, error)

func (*V1ServiceHealthResponse_Info) MergeAuthHealthResponse added in v1.165.1

func (t *V1ServiceHealthResponse_Info) MergeAuthHealthResponse(v AuthHealthResponse) error

MergeAuthHealthResponse performs a merge with any union data inside the V1ServiceHealthResponse_Info, using the provided AuthHealthResponse

func (*V1ServiceHealthResponse_Info) MergeRealtimeHealthResponse added in v1.165.1

func (t *V1ServiceHealthResponse_Info) MergeRealtimeHealthResponse(v RealtimeHealthResponse) error

MergeRealtimeHealthResponse performs a merge with any union data inside the V1ServiceHealthResponse_Info, using the provided RealtimeHealthResponse

func (*V1ServiceHealthResponse_Info) UnmarshalJSON added in v1.165.1

func (t *V1ServiceHealthResponse_Info) UnmarshalJSON(b []byte) error

type V1SetupAReadReplicaJSONRequestBody added in v1.172.0

type V1SetupAReadReplicaJSONRequestBody = SetUpReadReplicaBody

V1SetupAReadReplicaJSONRequestBody defines body for V1SetupAReadReplica for application/json ContentType.

type V1SetupAReadReplicaResponse added in v1.172.0

type V1SetupAReadReplicaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1SetupAReadReplicaResponse added in v1.172.0

func ParseV1SetupAReadReplicaResponse(rsp *http.Response) (*V1SetupAReadReplicaResponse, error)

ParseV1SetupAReadReplicaResponse parses an HTTP response from a V1SetupAReadReplicaWithResponse call

func (V1SetupAReadReplicaResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1SetupAReadReplicaResponse) StatusCode added in v1.172.0

func (r V1SetupAReadReplicaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1StorageBucketResponse added in v1.135.0

type V1StorageBucketResponse struct {
	CreatedAt string `json:"created_at"`
	Id        string `json:"id"`
	Name      string `json:"name"`
	Owner     string `json:"owner"`
	Public    bool   `json:"public"`
	UpdatedAt string `json:"updated_at"`
}

V1StorageBucketResponse defines model for V1StorageBucketResponse.

type V1UpdateABranchConfigJSONRequestBody added in v1.172.0

type V1UpdateABranchConfigJSONRequestBody = UpdateBranchBody

V1UpdateABranchConfigJSONRequestBody defines body for V1UpdateABranchConfig for application/json ContentType.

type V1UpdateABranchConfigResponse added in v1.172.0

type V1UpdateABranchConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchResponse
}

func ParseV1UpdateABranchConfigResponse added in v1.172.0

func ParseV1UpdateABranchConfigResponse(rsp *http.Response) (*V1UpdateABranchConfigResponse, error)

ParseV1UpdateABranchConfigResponse parses an HTTP response from a V1UpdateABranchConfigWithResponse call

func (V1UpdateABranchConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdateABranchConfigResponse) StatusCode added in v1.172.0

func (r V1UpdateABranchConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateAFunctionJSONRequestBody added in v1.172.0

type V1UpdateAFunctionJSONRequestBody = V1UpdateFunctionBody

V1UpdateAFunctionJSONRequestBody defines body for V1UpdateAFunction for application/json ContentType.

type V1UpdateAFunctionParams added in v1.172.0

type V1UpdateAFunctionParams struct {
	Slug              *string  `form:"slug,omitempty" json:"slug,omitempty"`
	Name              *string  `form:"name,omitempty" json:"name,omitempty"`
	VerifyJwt         *bool    `form:"verify_jwt,omitempty" json:"verify_jwt,omitempty"`
	ImportMap         *bool    `form:"import_map,omitempty" json:"import_map,omitempty"`
	EntrypointPath    *string  `form:"entrypoint_path,omitempty" json:"entrypoint_path,omitempty"`
	ImportMapPath     *string  `form:"import_map_path,omitempty" json:"import_map_path,omitempty"`
	ComputeMultiplier *float32 `form:"compute_multiplier,omitempty" json:"compute_multiplier,omitempty"`
}

V1UpdateAFunctionParams defines parameters for V1UpdateAFunction.

type V1UpdateAFunctionResponse added in v1.172.0

type V1UpdateAFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FunctionResponse
}

func ParseV1UpdateAFunctionResponse added in v1.172.0

func ParseV1UpdateAFunctionResponse(rsp *http.Response) (*V1UpdateAFunctionResponse, error)

ParseV1UpdateAFunctionResponse parses an HTTP response from a V1UpdateAFunctionWithResponse call

func (V1UpdateAFunctionResponse) Status added in v1.172.0

func (r V1UpdateAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1UpdateAFunctionResponse) StatusCode added in v1.172.0

func (r V1UpdateAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateASsoProviderJSONRequestBody added in v1.172.0

type V1UpdateASsoProviderJSONRequestBody = UpdateProviderBody

V1UpdateASsoProviderJSONRequestBody defines body for V1UpdateASsoProvider for application/json ContentType.

type V1UpdateASsoProviderResponse added in v1.172.0

type V1UpdateASsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateProviderResponse
}

func ParseV1UpdateASsoProviderResponse added in v1.172.0

func ParseV1UpdateASsoProviderResponse(rsp *http.Response) (*V1UpdateASsoProviderResponse, error)

ParseV1UpdateASsoProviderResponse parses an HTTP response from a V1UpdateASsoProviderWithResponse call

func (V1UpdateASsoProviderResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdateASsoProviderResponse) StatusCode added in v1.172.0

func (r V1UpdateASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateAuthServiceConfigJSONRequestBody added in v1.172.0

type V1UpdateAuthServiceConfigJSONRequestBody = UpdateAuthConfigBody

V1UpdateAuthServiceConfigJSONRequestBody defines body for V1UpdateAuthServiceConfig for application/json ContentType.

type V1UpdateAuthServiceConfigResponse added in v1.172.0

type V1UpdateAuthServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthConfigResponse
}

func ParseV1UpdateAuthServiceConfigResponse added in v1.172.0

func ParseV1UpdateAuthServiceConfigResponse(rsp *http.Response) (*V1UpdateAuthServiceConfigResponse, error)

ParseV1UpdateAuthServiceConfigResponse parses an HTTP response from a V1UpdateAuthServiceConfigWithResponse call

func (V1UpdateAuthServiceConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdateAuthServiceConfigResponse) StatusCode added in v1.172.0

func (r V1UpdateAuthServiceConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateFunctionBody added in v1.165.1

type V1UpdateFunctionBody struct {
	Body              *string  `json:"body,omitempty"`
	ComputeMultiplier *float32 `json:"compute_multiplier,omitempty"`
	Name              *string  `json:"name,omitempty"`
	VerifyJwt         *bool    `json:"verify_jwt,omitempty"`
}

V1UpdateFunctionBody defines model for V1UpdateFunctionBody.

type V1UpdateHostnameConfigJSONRequestBody added in v1.172.0

type V1UpdateHostnameConfigJSONRequestBody = UpdateCustomHostnameBody

V1UpdateHostnameConfigJSONRequestBody defines body for V1UpdateHostnameConfig for application/json ContentType.

type V1UpdateHostnameConfigResponse added in v1.172.0

type V1UpdateHostnameConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *UpdateCustomHostnameResponse
}

func ParseV1UpdateHostnameConfigResponse added in v1.172.0

func ParseV1UpdateHostnameConfigResponse(rsp *http.Response) (*V1UpdateHostnameConfigResponse, error)

ParseV1UpdateHostnameConfigResponse parses an HTTP response from a V1UpdateHostnameConfigWithResponse call

func (V1UpdateHostnameConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdateHostnameConfigResponse) StatusCode added in v1.172.0

func (r V1UpdateHostnameConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateNetworkRestrictionsJSONRequestBody added in v1.172.0

type V1UpdateNetworkRestrictionsJSONRequestBody = NetworkRestrictionsRequest

V1UpdateNetworkRestrictionsJSONRequestBody defines body for V1UpdateNetworkRestrictions for application/json ContentType.

type V1UpdateNetworkRestrictionsResponse added in v1.172.0

type V1UpdateNetworkRestrictionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *NetworkRestrictionsResponse
}

func ParseV1UpdateNetworkRestrictionsResponse added in v1.172.0

func ParseV1UpdateNetworkRestrictionsResponse(rsp *http.Response) (*V1UpdateNetworkRestrictionsResponse, error)

ParseV1UpdateNetworkRestrictionsResponse parses an HTTP response from a V1UpdateNetworkRestrictionsWithResponse call

func (V1UpdateNetworkRestrictionsResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdateNetworkRestrictionsResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1UpdatePgsodiumConfigJSONRequestBody added in v1.172.0

type V1UpdatePgsodiumConfigJSONRequestBody = UpdatePgsodiumConfigBody

V1UpdatePgsodiumConfigJSONRequestBody defines body for V1UpdatePgsodiumConfig for application/json ContentType.

type V1UpdatePgsodiumConfigResponse added in v1.172.0

type V1UpdatePgsodiumConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PgsodiumConfigResponse
}

func ParseV1UpdatePgsodiumConfigResponse added in v1.172.0

func ParseV1UpdatePgsodiumConfigResponse(rsp *http.Response) (*V1UpdatePgsodiumConfigResponse, error)

ParseV1UpdatePgsodiumConfigResponse parses an HTTP response from a V1UpdatePgsodiumConfigWithResponse call

func (V1UpdatePgsodiumConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdatePgsodiumConfigResponse) StatusCode added in v1.172.0

func (r V1UpdatePgsodiumConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdatePostgresConfigJSONRequestBody added in v1.172.2

type V1UpdatePostgresConfigJSONRequestBody = UpdatePostgresConfigBody

V1UpdatePostgresConfigJSONRequestBody defines body for V1UpdatePostgresConfig for application/json ContentType.

type V1UpdatePostgresConfigResponse added in v1.172.2

type V1UpdatePostgresConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostgresConfigResponse
}

func ParseV1UpdatePostgresConfigResponse added in v1.172.2

func ParseV1UpdatePostgresConfigResponse(rsp *http.Response) (*V1UpdatePostgresConfigResponse, error)

ParseV1UpdatePostgresConfigResponse parses an HTTP response from a V1UpdatePostgresConfigWithResponse call

func (V1UpdatePostgresConfigResponse) Status added in v1.172.2

Status returns HTTPResponse.Status

func (V1UpdatePostgresConfigResponse) StatusCode added in v1.172.2

func (r V1UpdatePostgresConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdatePostgrestServiceConfigJSONRequestBody added in v1.172.0

type V1UpdatePostgrestServiceConfigJSONRequestBody = UpdatePostgrestConfigBody

V1UpdatePostgrestServiceConfigJSONRequestBody defines body for V1UpdatePostgrestServiceConfig for application/json ContentType.

type V1UpdatePostgrestServiceConfigResponse added in v1.172.0

type V1UpdatePostgrestServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1PostgrestConfigResponse
}

func ParseV1UpdatePostgrestServiceConfigResponse added in v1.172.0

func ParseV1UpdatePostgrestServiceConfigResponse(rsp *http.Response) (*V1UpdatePostgrestServiceConfigResponse, error)

ParseV1UpdatePostgrestServiceConfigResponse parses an HTTP response from a V1UpdatePostgrestServiceConfigWithResponse call

func (V1UpdatePostgrestServiceConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdatePostgrestServiceConfigResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1UpdateSslEnforcementConfigJSONRequestBody added in v1.172.0

type V1UpdateSslEnforcementConfigJSONRequestBody = SslEnforcementRequest

V1UpdateSslEnforcementConfigJSONRequestBody defines body for V1UpdateSslEnforcementConfig for application/json ContentType.

type V1UpdateSslEnforcementConfigResponse added in v1.172.0

type V1UpdateSslEnforcementConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SslEnforcementResponse
}

func ParseV1UpdateSslEnforcementConfigResponse added in v1.172.0

func ParseV1UpdateSslEnforcementConfigResponse(rsp *http.Response) (*V1UpdateSslEnforcementConfigResponse, error)

ParseV1UpdateSslEnforcementConfigResponse parses an HTTP response from a V1UpdateSslEnforcementConfigWithResponse call

func (V1UpdateSslEnforcementConfigResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpdateSslEnforcementConfigResponse) StatusCode added in v1.172.0

StatusCode returns HTTPResponse.StatusCode

type V1UpdateStorageConfigJSONRequestBody added in v1.211.1

type V1UpdateStorageConfigJSONRequestBody = UpdateStorageConfigBody

V1UpdateStorageConfigJSONRequestBody defines body for V1UpdateStorageConfig for application/json ContentType.

type V1UpdateStorageConfigResponse added in v1.211.1

type V1UpdateStorageConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseV1UpdateStorageConfigResponse added in v1.211.1

func ParseV1UpdateStorageConfigResponse(rsp *http.Response) (*V1UpdateStorageConfigResponse, error)

ParseV1UpdateStorageConfigResponse parses an HTTP response from a V1UpdateStorageConfigWithResponse call

func (V1UpdateStorageConfigResponse) Status added in v1.211.1

Status returns HTTPResponse.Status

func (V1UpdateStorageConfigResponse) StatusCode added in v1.211.1

func (r V1UpdateStorageConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateSupavisorConfigJSONRequestBody added in v1.172.2

type V1UpdateSupavisorConfigJSONRequestBody = UpdateSupavisorConfigBody

V1UpdateSupavisorConfigJSONRequestBody defines body for V1UpdateSupavisorConfig for application/json ContentType.

type V1UpdateSupavisorConfigResponse added in v1.172.2

type V1UpdateSupavisorConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateSupavisorConfigResponse
}

func ParseV1UpdateSupavisorConfigResponse added in v1.172.2

func ParseV1UpdateSupavisorConfigResponse(rsp *http.Response) (*V1UpdateSupavisorConfigResponse, error)

ParseV1UpdateSupavisorConfigResponse parses an HTTP response from a V1UpdateSupavisorConfigWithResponse call

func (V1UpdateSupavisorConfigResponse) Status added in v1.172.2

Status returns HTTPResponse.Status

func (V1UpdateSupavisorConfigResponse) StatusCode added in v1.172.2

func (r V1UpdateSupavisorConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpgradePostgresVersionJSONRequestBody added in v1.172.0

type V1UpgradePostgresVersionJSONRequestBody = UpgradeDatabaseBody

V1UpgradePostgresVersionJSONRequestBody defines body for V1UpgradePostgresVersion for application/json ContentType.

type V1UpgradePostgresVersionResponse added in v1.172.0

type V1UpgradePostgresVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ProjectUpgradeInitiateResponse
}

func ParseV1UpgradePostgresVersionResponse added in v1.172.0

func ParseV1UpgradePostgresVersionResponse(rsp *http.Response) (*V1UpgradePostgresVersionResponse, error)

ParseV1UpgradePostgresVersionResponse parses an HTTP response from a V1UpgradePostgresVersionWithResponse call

func (V1UpgradePostgresVersionResponse) Status added in v1.172.0

Status returns HTTPResponse.Status

func (V1UpgradePostgresVersionResponse) StatusCode added in v1.172.0

func (r V1UpgradePostgresVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1VerifyDnsConfigResponse added in v1.172.0

type V1VerifyDnsConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *UpdateCustomHostnameResponse
}

func ParseV1VerifyDnsConfigResponse added in v1.172.0

func ParseV1VerifyDnsConfigResponse(rsp *http.Response) (*V1VerifyDnsConfigResponse, error)

ParseV1VerifyDnsConfigResponse parses an HTTP response from a V1VerifyDnsConfigWithResponse call

func (V1VerifyDnsConfigResponse) Status added in v1.172.0

func (r V1VerifyDnsConfigResponse) Status() string

Status returns HTTPResponse.Status

func (V1VerifyDnsConfigResponse) StatusCode added in v1.172.0

func (r V1VerifyDnsConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidationError added in v1.187.10

type ValidationError struct {
	Message string `json:"message"`
}

ValidationError defines model for ValidationError.

type ValidationRecord added in v1.187.10

type ValidationRecord struct {
	TxtName  string `json:"txt_name"`
	TxtValue string `json:"txt_value"`
}

ValidationRecord defines model for ValidationRecord.

type VanitySubdomainBody added in v1.22.0

type VanitySubdomainBody struct {
	VanitySubdomain string `json:"vanity_subdomain"`
}

VanitySubdomainBody defines model for VanitySubdomainBody.

type VanitySubdomainConfigResponse added in v1.22.0

type VanitySubdomainConfigResponse struct {
	CustomDomain *string                             `json:"custom_domain,omitempty"`
	Status       VanitySubdomainConfigResponseStatus `json:"status"`
}

VanitySubdomainConfigResponse defines model for VanitySubdomainConfigResponse.

type VanitySubdomainConfigResponseStatus added in v1.22.0

type VanitySubdomainConfigResponseStatus string

VanitySubdomainConfigResponseStatus defines model for VanitySubdomainConfigResponse.Status.

const (
	Active           VanitySubdomainConfigResponseStatus = "active"
	CustomDomainUsed VanitySubdomainConfigResponseStatus = "custom-domain-used"
	NotUsed          VanitySubdomainConfigResponseStatus = "not-used"
)

Defines values for VanitySubdomainConfigResponseStatus.

Jump to

Keyboard shortcuts

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