api

package
v2.0.5-0...-bd0d250 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 9 Imported by: 0

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

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

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

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

NewCreateTPAForProjectRequest calls the generic CreateTPAForProject builder with application/json body

func NewCreateTPAForProjectRequestWithBody

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

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

NewDeleteApiKeyRequest generates requests for DeleteApiKey

func NewDeleteTPAForProjectRequest

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

NewDeleteTPAForProjectRequest generates requests for DeleteTPAForProject

func NewGetApiKeyRequest

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

NewGetApiKeyRequest generates requests for GetApiKey

func NewGetTPAForProjectRequest

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

NewGetTPAForProjectRequest generates requests for GetTPAForProject

func NewListTPAForProjectRequest

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

NewListTPAForProjectRequest generates requests for ListTPAForProject

func NewUpdateApiKeyRequest

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

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

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

NewV1ActivateCustomHostnameRequest generates requests for V1ActivateCustomHostname

func NewV1ActivateVanitySubdomainConfigRequest

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

NewV1ActivateVanitySubdomainConfigRequest calls the generic V1ActivateVanitySubdomainConfig builder with application/json body

func NewV1ActivateVanitySubdomainConfigRequestWithBody

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

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

NewV1AuthorizeUserRequest generates requests for V1AuthorizeUser

func NewV1BulkCreateSecretsRequest

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

NewV1BulkCreateSecretsRequest calls the generic V1BulkCreateSecrets builder with application/json body

func NewV1BulkCreateSecretsRequestWithBody

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

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

NewV1BulkDeleteSecretsRequest calls the generic V1BulkDeleteSecrets builder with application/json body

func NewV1BulkDeleteSecretsRequestWithBody

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

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

NewV1CheckVanitySubdomainAvailabilityRequest calls the generic V1CheckVanitySubdomainAvailability builder with application/json body

func NewV1CheckVanitySubdomainAvailabilityRequestWithBody

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

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

NewV1CreateABranchRequest calls the generic V1CreateABranch builder with application/json body

func NewV1CreateABranchRequestWithBody

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

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

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

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

NewV1CreateAProjectRequest calls the generic V1CreateAProject builder with application/json body

func NewV1CreateAProjectRequestWithBody

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

NewV1CreateAProjectRequestWithBody generates requests for V1CreateAProject with any type of body

func NewV1CreateASsoProviderRequest

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

NewV1CreateASsoProviderRequest calls the generic V1CreateASsoProvider builder with application/json body

func NewV1CreateASsoProviderRequestWithBody

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

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

NewV1CreateAnOrganizationRequest calls the generic V1CreateAnOrganization builder with application/json body

func NewV1CreateAnOrganizationRequestWithBody

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

NewV1CreateAnOrganizationRequestWithBody generates requests for V1CreateAnOrganization with any type of body

func NewV1DeactivateVanitySubdomainConfigRequest

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

NewV1DeactivateVanitySubdomainConfigRequest generates requests for V1DeactivateVanitySubdomainConfig

func NewV1DeleteABranchRequest

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

NewV1DeleteABranchRequest generates requests for V1DeleteABranch

func NewV1DeleteAFunctionRequest

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

NewV1DeleteAFunctionRequest generates requests for V1DeleteAFunction

func NewV1DeleteAProjectRequest

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

NewV1DeleteAProjectRequest generates requests for V1DeleteAProject

func NewV1DeleteASsoProviderRequest

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

NewV1DeleteASsoProviderRequest generates requests for V1DeleteASsoProvider

func NewV1DeleteHostnameConfigRequest

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

NewV1DeleteHostnameConfigRequest generates requests for V1DeleteHostnameConfig

func NewV1DeleteNetworkBansRequest

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

NewV1DeleteNetworkBansRequest calls the generic V1DeleteNetworkBans builder with application/json body

func NewV1DeleteNetworkBansRequestWithBody

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

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

NewV1DisablePreviewBranchingRequest generates requests for V1DisablePreviewBranching

func NewV1DisableReadonlyModeTemporarilyRequest

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

NewV1DisableReadonlyModeTemporarilyRequest generates requests for V1DisableReadonlyModeTemporarily

func NewV1EnableDatabaseWebhookRequest

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

NewV1EnableDatabaseWebhookRequest generates requests for V1EnableDatabaseWebhook

func NewV1ExchangeOauthTokenRequestWithBody

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

NewV1ExchangeOauthTokenRequestWithBody generates requests for V1ExchangeOauthToken with any type of body

func NewV1ExchangeOauthTokenRequestWithFormdataBody

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

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

func NewV1GenerateTypescriptTypesRequest

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

NewV1GenerateTypescriptTypesRequest generates requests for V1GenerateTypescriptTypes

func NewV1GetABranchConfigRequest

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

NewV1GetABranchConfigRequest generates requests for V1GetABranchConfig

func NewV1GetAFunctionBodyRequest

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

NewV1GetAFunctionBodyRequest generates requests for V1GetAFunctionBody

func NewV1GetAFunctionRequest

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

NewV1GetAFunctionRequest generates requests for V1GetAFunction

func NewV1GetASnippetRequest

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

NewV1GetASnippetRequest generates requests for V1GetASnippet

func NewV1GetASsoProviderRequest

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

NewV1GetASsoProviderRequest generates requests for V1GetASsoProvider

func NewV1GetAnOrganizationRequest

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

NewV1GetAnOrganizationRequest generates requests for V1GetAnOrganization

func NewV1GetAuthServiceConfigRequest

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

NewV1GetAuthServiceConfigRequest generates requests for V1GetAuthServiceConfig

func NewV1GetHostnameConfigRequest

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

NewV1GetHostnameConfigRequest generates requests for V1GetHostnameConfig

func NewV1GetNetworkRestrictionsRequest

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

NewV1GetNetworkRestrictionsRequest generates requests for V1GetNetworkRestrictions

func NewV1GetPgsodiumConfigRequest

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

NewV1GetPgsodiumConfigRequest generates requests for V1GetPgsodiumConfig

func NewV1GetPostgresConfigRequest

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

NewV1GetPostgresConfigRequest generates requests for V1GetPostgresConfig

func NewV1GetPostgresUpgradeEligibilityRequest

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

NewV1GetPostgresUpgradeEligibilityRequest generates requests for V1GetPostgresUpgradeEligibility

func NewV1GetPostgresUpgradeStatusRequest

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

NewV1GetPostgresUpgradeStatusRequest generates requests for V1GetPostgresUpgradeStatus

func NewV1GetPostgrestServiceConfigRequest

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

NewV1GetPostgrestServiceConfigRequest generates requests for V1GetPostgrestServiceConfig

func NewV1GetProjectApiKeysRequest

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

NewV1GetProjectApiKeysRequest generates requests for V1GetProjectApiKeys

func NewV1GetProjectPgbouncerConfigRequest

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

NewV1GetProjectPgbouncerConfigRequest generates requests for V1GetProjectPgbouncerConfig

func NewV1GetProjectRequest

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

NewV1GetProjectRequest generates requests for V1GetProject

func NewV1GetReadonlyModeStatusRequest

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

NewV1GetReadonlyModeStatusRequest generates requests for V1GetReadonlyModeStatus

func NewV1GetServicesHealthRequest

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

NewV1GetServicesHealthRequest generates requests for V1GetServicesHealth

func NewV1GetSslEnforcementConfigRequest

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

NewV1GetSslEnforcementConfigRequest generates requests for V1GetSslEnforcementConfig

func NewV1GetStorageConfigRequest

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

NewV1GetStorageConfigRequest generates requests for V1GetStorageConfig

func NewV1GetSupavisorConfigRequest

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

NewV1GetSupavisorConfigRequest generates requests for V1GetSupavisorConfig

func NewV1GetVanitySubdomainConfigRequest

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

NewV1GetVanitySubdomainConfigRequest generates requests for V1GetVanitySubdomainConfig

func NewV1ListAllBackupsRequest

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

NewV1ListAllBackupsRequest generates requests for V1ListAllBackups

func NewV1ListAllBranchesRequest

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

NewV1ListAllBranchesRequest generates requests for V1ListAllBranches

func NewV1ListAllBucketsRequest

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

NewV1ListAllBucketsRequest generates requests for V1ListAllBuckets

func NewV1ListAllFunctionsRequest

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

NewV1ListAllFunctionsRequest generates requests for V1ListAllFunctions

func NewV1ListAllNetworkBansRequest

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

NewV1ListAllNetworkBansRequest generates requests for V1ListAllNetworkBans

func NewV1ListAllOrganizationsRequest

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

NewV1ListAllOrganizationsRequest generates requests for V1ListAllOrganizations

func NewV1ListAllProjectsRequest

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

NewV1ListAllProjectsRequest generates requests for V1ListAllProjects

func NewV1ListAllSecretsRequest

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

NewV1ListAllSecretsRequest generates requests for V1ListAllSecrets

func NewV1ListAllSnippetsRequest

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

NewV1ListAllSnippetsRequest generates requests for V1ListAllSnippets

func NewV1ListAllSsoProviderRequest

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

NewV1ListAllSsoProviderRequest generates requests for V1ListAllSsoProvider

func NewV1ListOrganizationMembersRequest

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

NewV1ListOrganizationMembersRequest generates requests for V1ListOrganizationMembers

func NewV1RemoveAReadReplicaRequest

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

NewV1RemoveAReadReplicaRequest calls the generic V1RemoveAReadReplica builder with application/json body

func NewV1RemoveAReadReplicaRequestWithBody

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

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

NewV1ResetABranchRequest generates requests for V1ResetABranch

func NewV1RestorePitrBackupRequest

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

NewV1RestorePitrBackupRequest calls the generic V1RestorePitrBackup builder with application/json body

func NewV1RestorePitrBackupRequestWithBody

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

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

NewV1RunAQueryRequest calls the generic V1RunAQuery builder with application/json body

func NewV1RunAQueryRequestWithBody

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

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

NewV1SetupAReadReplicaRequest calls the generic V1SetupAReadReplica builder with application/json body

func NewV1SetupAReadReplicaRequestWithBody

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

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

NewV1UpdateABranchConfigRequest calls the generic V1UpdateABranchConfig builder with application/json body

func NewV1UpdateABranchConfigRequestWithBody

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

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

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

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

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

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

NewV1UpdateAuthServiceConfigRequest calls the generic V1UpdateAuthServiceConfig builder with application/json body

func NewV1UpdateAuthServiceConfigRequestWithBody

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

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

NewV1UpdateHostnameConfigRequest calls the generic V1UpdateHostnameConfig builder with application/json body

func NewV1UpdateHostnameConfigRequestWithBody

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

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

NewV1UpdateNetworkRestrictionsRequest calls the generic V1UpdateNetworkRestrictions builder with application/json body

func NewV1UpdateNetworkRestrictionsRequestWithBody

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

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

NewV1UpdatePgsodiumConfigRequest calls the generic V1UpdatePgsodiumConfig builder with application/json body

func NewV1UpdatePgsodiumConfigRequestWithBody

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

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

NewV1UpdatePostgresConfigRequest calls the generic V1UpdatePostgresConfig builder with application/json body

func NewV1UpdatePostgresConfigRequestWithBody

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

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

NewV1UpdatePostgrestServiceConfigRequest calls the generic V1UpdatePostgrestServiceConfig builder with application/json body

func NewV1UpdatePostgrestServiceConfigRequestWithBody

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

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

NewV1UpdateSslEnforcementConfigRequest calls the generic V1UpdateSslEnforcementConfig builder with application/json body

func NewV1UpdateSslEnforcementConfigRequestWithBody

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

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

NewV1UpdateStorageConfigRequest calls the generic V1UpdateStorageConfig builder with application/json body

func NewV1UpdateStorageConfigRequestWithBody

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

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

NewV1UpdateSupavisorConfigRequest calls the generic V1UpdateSupavisorConfig builder with application/json body

func NewV1UpdateSupavisorConfigRequestWithBody

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

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

NewV1UpgradePostgresVersionRequest calls the generic V1UpgradePostgresVersion builder with application/json body

func NewV1UpgradePostgresVersionRequestWithBody

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

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

NewV1VerifyDnsConfigRequest generates requests for V1VerifyDnsConfig

Types

type ActivateVanitySubdomainResponse

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

ActivateVanitySubdomainResponse defines model for ActivateVanitySubdomainResponse.

type ApiKeyResponse

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

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

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

ApiKeySecretJWTTemplate defines model for ApiKeySecretJWTTemplate.

type AttributeMapping

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

AttributeMapping defines model for AttributeMapping.

type AttributeValue

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

type AttributeValueDefault0 = map[string]interface{}

AttributeValueDefault0 defines model for .

type AttributeValueDefault1

type AttributeValueDefault1 = float32

AttributeValueDefault1 defines model for .

type AttributeValueDefault2

type AttributeValueDefault2 = string

AttributeValueDefault2 defines model for .

type AttributeValueDefault3

type AttributeValueDefault3 = bool

AttributeValueDefault3 defines model for .

type AttributeValue_Default

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

AttributeValue_Default defines model for AttributeValue.Default.

func (AttributeValue_Default) AsAttributeValueDefault0

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

AsAttributeValueDefault0 returns the union data inside the AttributeValue_Default as a AttributeValueDefault0

func (AttributeValue_Default) AsAttributeValueDefault1

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

AsAttributeValueDefault1 returns the union data inside the AttributeValue_Default as a AttributeValueDefault1

func (AttributeValue_Default) AsAttributeValueDefault2

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

AsAttributeValueDefault2 returns the union data inside the AttributeValue_Default as a AttributeValueDefault2

func (AttributeValue_Default) AsAttributeValueDefault3

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

AsAttributeValueDefault3 returns the union data inside the AttributeValue_Default as a AttributeValueDefault3

func (*AttributeValue_Default) FromAttributeValueDefault0

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

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

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

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

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

func (*AttributeValue_Default) MergeAttributeValueDefault0

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

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

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

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

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

type AuthConfigResponse

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

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

AuthHealthResponse defines model for AuthHealthResponse.

type AuthHealthResponseName

type AuthHealthResponseName string

AuthHealthResponseName defines model for AuthHealthResponse.Name.

const (
	GoTrue AuthHealthResponseName = "GoTrue"
)

Defines values for AuthHealthResponseName.

type BillingPlanId

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

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

BranchDeleteResponse defines model for BranchDeleteResponse.

type BranchDetailResponse

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

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

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

BranchResetResponse defines model for BranchResetResponse.

type BranchResponse

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

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

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

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

func (*Client) CreateApiKeyWithBody

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

func (*Client) CreateTPAForProject

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

func (*Client) CreateTPAForProjectWithBody

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

func (*Client) DeleteApiKey

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

func (*Client) DeleteTPAForProject

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

func (*Client) GetApiKey

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

func (*Client) GetTPAForProject

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

func (*Client) ListTPAForProject

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

func (*Client) UpdateApiKey

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

func (*Client) UpdateApiKeyWithBody

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

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

func (*Client) V1ActivateVanitySubdomainConfig

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

func (*Client) V1ActivateVanitySubdomainConfigWithBody

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

func (*Client) V1AuthorizeUser

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

func (*Client) V1BulkCreateSecrets

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

func (*Client) V1BulkCreateSecretsWithBody

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

func (*Client) V1BulkDeleteSecrets

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

func (*Client) V1BulkDeleteSecretsWithBody

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

func (*Client) V1CheckVanitySubdomainAvailability

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

func (*Client) V1CheckVanitySubdomainAvailabilityWithBody

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

func (*Client) V1CreateABranch

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

func (*Client) V1CreateABranchWithBody

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

func (*Client) V1CreateAFunction

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

func (*Client) V1CreateAFunctionWithBody

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

func (*Client) V1CreateAProject

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

func (*Client) V1CreateAProjectWithBody

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

func (*Client) V1CreateASsoProvider

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

func (*Client) V1CreateASsoProviderWithBody

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

func (*Client) V1CreateAnOrganization

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

func (*Client) V1CreateAnOrganizationWithBody

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

func (*Client) V1DeactivateVanitySubdomainConfig

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

func (*Client) V1DeleteABranch

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

func (*Client) V1DeleteAFunction

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

func (*Client) V1DeleteAProject

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

func (*Client) V1DeleteASsoProvider

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

func (*Client) V1DeleteHostnameConfig

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

func (*Client) V1DeleteNetworkBans

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

func (*Client) V1DeleteNetworkBansWithBody

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

func (*Client) V1DisablePreviewBranching

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

func (*Client) V1DisableReadonlyModeTemporarily

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

func (*Client) V1EnableDatabaseWebhook

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

func (*Client) V1ExchangeOauthTokenWithBody

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

func (*Client) V1ExchangeOauthTokenWithFormdataBody

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

func (*Client) V1GenerateTypescriptTypes

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

func (*Client) V1GetABranchConfig

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

func (*Client) V1GetAFunction

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

func (*Client) V1GetAFunctionBody

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

func (*Client) V1GetASnippet

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

func (*Client) V1GetASsoProvider

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

func (*Client) V1GetAnOrganization

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

func (*Client) V1GetAuthServiceConfig

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

func (*Client) V1GetHostnameConfig

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

func (*Client) V1GetNetworkRestrictions

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

func (*Client) V1GetPgsodiumConfig

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

func (*Client) V1GetPostgresConfig

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

func (*Client) V1GetPostgresUpgradeEligibility

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

func (*Client) V1GetPostgresUpgradeStatus

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

func (*Client) V1GetPostgrestServiceConfig

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

func (*Client) V1GetProject

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

func (*Client) V1GetProjectApiKeys

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

func (*Client) V1GetProjectPgbouncerConfig

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

func (*Client) V1GetReadonlyModeStatus

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

func (*Client) V1GetServicesHealth

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

func (*Client) V1GetSslEnforcementConfig

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

func (*Client) V1GetStorageConfig

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

func (*Client) V1GetSupavisorConfig

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

func (*Client) V1GetVanitySubdomainConfig

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

func (*Client) V1ListAllBackups

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

func (*Client) V1ListAllBranches

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

func (*Client) V1ListAllBuckets

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

func (*Client) V1ListAllFunctions

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

func (*Client) V1ListAllNetworkBans

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

func (*Client) V1ListAllOrganizations

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

func (*Client) V1ListAllProjects

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

func (*Client) V1ListAllSecrets

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

func (*Client) V1ListAllSnippets

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

func (*Client) V1ListAllSsoProvider

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

func (*Client) V1ListOrganizationMembers

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

func (*Client) V1RemoveAReadReplica

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

func (*Client) V1RemoveAReadReplicaWithBody

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

func (*Client) V1ResetABranch

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

func (*Client) V1RestorePitrBackup

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

func (*Client) V1RestorePitrBackupWithBody

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

func (*Client) V1RunAQuery

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

func (*Client) V1RunAQueryWithBody

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

func (*Client) V1SetupAReadReplica

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

func (*Client) V1SetupAReadReplicaWithBody

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

func (*Client) V1UpdateABranchConfig

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

func (*Client) V1UpdateABranchConfigWithBody

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

func (*Client) V1UpdateAFunction

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

func (*Client) V1UpdateAFunctionWithBody

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

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

func (*Client) V1UpdateASsoProviderWithBody

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

func (*Client) V1UpdateAuthServiceConfig

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

func (*Client) V1UpdateAuthServiceConfigWithBody

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

func (*Client) V1UpdateHostnameConfig

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

func (*Client) V1UpdateHostnameConfigWithBody

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

func (*Client) V1UpdateNetworkRestrictions

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

func (*Client) V1UpdateNetworkRestrictionsWithBody

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

func (*Client) V1UpdatePgsodiumConfig

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

func (*Client) V1UpdatePgsodiumConfigWithBody

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

func (*Client) V1UpdatePostgresConfig

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

func (*Client) V1UpdatePostgresConfigWithBody

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

func (*Client) V1UpdatePostgrestServiceConfig

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

func (*Client) V1UpdatePostgrestServiceConfigWithBody

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

func (*Client) V1UpdateSslEnforcementConfig

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

func (*Client) V1UpdateSslEnforcementConfigWithBody

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

func (*Client) V1UpdateStorageConfig

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

func (*Client) V1UpdateStorageConfigWithBody

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

func (*Client) V1UpdateSupavisorConfig

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

func (*Client) V1UpdateSupavisorConfigWithBody

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

func (*Client) V1UpgradePostgresVersion

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

func (*Client) V1UpgradePostgresVersionWithBody

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

func (*Client) V1VerifyDnsConfig

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

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

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

func (*ClientWithResponses) CreateTPAForProjectWithBodyWithResponse

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

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

func (*ClientWithResponses) DeleteApiKeyWithResponse

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

DeleteApiKeyWithResponse request returning *DeleteApiKeyResponse

func (*ClientWithResponses) DeleteTPAForProjectWithResponse

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

DeleteTPAForProjectWithResponse request returning *DeleteTPAForProjectResponse

func (*ClientWithResponses) GetApiKeyWithResponse

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

GetApiKeyWithResponse request returning *GetApiKeyResponse

func (*ClientWithResponses) GetTPAForProjectWithResponse

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

GetTPAForProjectWithResponse request returning *GetTPAForProjectResponse

func (*ClientWithResponses) ListTPAForProjectWithResponse

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

ListTPAForProjectWithResponse request returning *ListTPAForProjectResponse

func (*ClientWithResponses) UpdateApiKeyWithBodyWithResponse

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

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

func (*ClientWithResponses) V1ActivateCustomHostnameWithResponse

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

V1ActivateCustomHostnameWithResponse request returning *V1ActivateCustomHostnameResponse

func (*ClientWithResponses) V1ActivateVanitySubdomainConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1AuthorizeUserWithResponse

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

V1AuthorizeUserWithResponse request returning *V1AuthorizeUserResponse

func (*ClientWithResponses) V1BulkCreateSecretsWithBodyWithResponse

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

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

func (*ClientWithResponses) V1BulkDeleteSecretsWithBodyWithResponse

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

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

func (*ClientWithResponses) V1CheckVanitySubdomainAvailabilityWithBodyWithResponse

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

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

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

func (*ClientWithResponses) V1CreateAFunctionWithBodyWithResponse

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

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

func (*ClientWithResponses) V1CreateAProjectWithBodyWithResponse

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

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

func (*ClientWithResponses) V1CreateASsoProviderWithBodyWithResponse

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

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

func (*ClientWithResponses) V1CreateAnOrganizationWithBodyWithResponse

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

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

func (*ClientWithResponses) V1DeactivateVanitySubdomainConfigWithResponse

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

V1DeactivateVanitySubdomainConfigWithResponse request returning *V1DeactivateVanitySubdomainConfigResponse

func (*ClientWithResponses) V1DeleteABranchWithResponse

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

V1DeleteABranchWithResponse request returning *V1DeleteABranchResponse

func (*ClientWithResponses) V1DeleteAFunctionWithResponse

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

V1DeleteAFunctionWithResponse request returning *V1DeleteAFunctionResponse

func (*ClientWithResponses) V1DeleteAProjectWithResponse

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

V1DeleteAProjectWithResponse request returning *V1DeleteAProjectResponse

func (*ClientWithResponses) V1DeleteASsoProviderWithResponse

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

V1DeleteASsoProviderWithResponse request returning *V1DeleteASsoProviderResponse

func (*ClientWithResponses) V1DeleteHostnameConfigWithResponse

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

V1DeleteHostnameConfigWithResponse request returning *V1DeleteHostnameConfigResponse

func (*ClientWithResponses) V1DeleteNetworkBansWithBodyWithResponse

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

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

func (*ClientWithResponses) V1DisablePreviewBranchingWithResponse

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

V1DisablePreviewBranchingWithResponse request returning *V1DisablePreviewBranchingResponse

func (*ClientWithResponses) V1DisableReadonlyModeTemporarilyWithResponse

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

V1DisableReadonlyModeTemporarilyWithResponse request returning *V1DisableReadonlyModeTemporarilyResponse

func (*ClientWithResponses) V1EnableDatabaseWebhookWithResponse

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

V1EnableDatabaseWebhookWithResponse request returning *V1EnableDatabaseWebhookResponse

func (*ClientWithResponses) V1ExchangeOauthTokenWithBodyWithResponse

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

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

func (*ClientWithResponses) V1GenerateTypescriptTypesWithResponse

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

V1GenerateTypescriptTypesWithResponse request returning *V1GenerateTypescriptTypesResponse

func (*ClientWithResponses) V1GetABranchConfigWithResponse

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

V1GetABranchConfigWithResponse request returning *V1GetABranchConfigResponse

func (*ClientWithResponses) V1GetAFunctionBodyWithResponse

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

V1GetAFunctionBodyWithResponse request returning *V1GetAFunctionBodyResponse

func (*ClientWithResponses) V1GetAFunctionWithResponse

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

V1GetAFunctionWithResponse request returning *V1GetAFunctionResponse

func (*ClientWithResponses) V1GetASnippetWithResponse

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

V1GetASnippetWithResponse request returning *V1GetASnippetResponse

func (*ClientWithResponses) V1GetASsoProviderWithResponse

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

V1GetASsoProviderWithResponse request returning *V1GetASsoProviderResponse

func (*ClientWithResponses) V1GetAnOrganizationWithResponse

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

V1GetAnOrganizationWithResponse request returning *V1GetAnOrganizationResponse

func (*ClientWithResponses) V1GetAuthServiceConfigWithResponse

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

V1GetAuthServiceConfigWithResponse request returning *V1GetAuthServiceConfigResponse

func (*ClientWithResponses) V1GetHostnameConfigWithResponse

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

V1GetHostnameConfigWithResponse request returning *V1GetHostnameConfigResponse

func (*ClientWithResponses) V1GetNetworkRestrictionsWithResponse

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

V1GetNetworkRestrictionsWithResponse request returning *V1GetNetworkRestrictionsResponse

func (*ClientWithResponses) V1GetPgsodiumConfigWithResponse

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

V1GetPgsodiumConfigWithResponse request returning *V1GetPgsodiumConfigResponse

func (*ClientWithResponses) V1GetPostgresConfigWithResponse

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

V1GetPostgresConfigWithResponse request returning *V1GetPostgresConfigResponse

func (*ClientWithResponses) V1GetPostgresUpgradeEligibilityWithResponse

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

V1GetPostgresUpgradeEligibilityWithResponse request returning *V1GetPostgresUpgradeEligibilityResponse

func (*ClientWithResponses) V1GetPostgresUpgradeStatusWithResponse

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

V1GetPostgresUpgradeStatusWithResponse request returning *V1GetPostgresUpgradeStatusResponse

func (*ClientWithResponses) V1GetPostgrestServiceConfigWithResponse

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

V1GetPostgrestServiceConfigWithResponse request returning *V1GetPostgrestServiceConfigResponse

func (*ClientWithResponses) V1GetProjectApiKeysWithResponse

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

V1GetProjectApiKeysWithResponse request returning *V1GetProjectApiKeysResponse

func (*ClientWithResponses) V1GetProjectPgbouncerConfigWithResponse

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

V1GetProjectPgbouncerConfigWithResponse request returning *V1GetProjectPgbouncerConfigResponse

func (*ClientWithResponses) V1GetProjectWithResponse

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

V1GetProjectWithResponse request returning *V1GetProjectResponse

func (*ClientWithResponses) V1GetReadonlyModeStatusWithResponse

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

V1GetReadonlyModeStatusWithResponse request returning *V1GetReadonlyModeStatusResponse

func (*ClientWithResponses) V1GetServicesHealthWithResponse

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

V1GetServicesHealthWithResponse request returning *V1GetServicesHealthResponse

func (*ClientWithResponses) V1GetSslEnforcementConfigWithResponse

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

V1GetSslEnforcementConfigWithResponse request returning *V1GetSslEnforcementConfigResponse

func (*ClientWithResponses) V1GetStorageConfigWithResponse

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

V1GetStorageConfigWithResponse request returning *V1GetStorageConfigResponse

func (*ClientWithResponses) V1GetSupavisorConfigWithResponse

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

V1GetSupavisorConfigWithResponse request returning *V1GetSupavisorConfigResponse

func (*ClientWithResponses) V1GetVanitySubdomainConfigWithResponse

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

V1GetVanitySubdomainConfigWithResponse request returning *V1GetVanitySubdomainConfigResponse

func (*ClientWithResponses) V1ListAllBackupsWithResponse

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

V1ListAllBackupsWithResponse request returning *V1ListAllBackupsResponse

func (*ClientWithResponses) V1ListAllBranchesWithResponse

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

V1ListAllBranchesWithResponse request returning *V1ListAllBranchesResponse

func (*ClientWithResponses) V1ListAllBucketsWithResponse

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

V1ListAllBucketsWithResponse request returning *V1ListAllBucketsResponse

func (*ClientWithResponses) V1ListAllFunctionsWithResponse

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

V1ListAllFunctionsWithResponse request returning *V1ListAllFunctionsResponse

func (*ClientWithResponses) V1ListAllNetworkBansWithResponse

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

V1ListAllNetworkBansWithResponse request returning *V1ListAllNetworkBansResponse

func (*ClientWithResponses) V1ListAllOrganizationsWithResponse

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

V1ListAllOrganizationsWithResponse request returning *V1ListAllOrganizationsResponse

func (*ClientWithResponses) V1ListAllProjectsWithResponse

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

V1ListAllProjectsWithResponse request returning *V1ListAllProjectsResponse

func (*ClientWithResponses) V1ListAllSecretsWithResponse

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

V1ListAllSecretsWithResponse request returning *V1ListAllSecretsResponse

func (*ClientWithResponses) V1ListAllSnippetsWithResponse

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

V1ListAllSnippetsWithResponse request returning *V1ListAllSnippetsResponse

func (*ClientWithResponses) V1ListAllSsoProviderWithResponse

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

V1ListAllSsoProviderWithResponse request returning *V1ListAllSsoProviderResponse

func (*ClientWithResponses) V1ListOrganizationMembersWithResponse

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

V1ListOrganizationMembersWithResponse request returning *V1ListOrganizationMembersResponse

func (*ClientWithResponses) V1RemoveAReadReplicaWithBodyWithResponse

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

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

func (*ClientWithResponses) V1ResetABranchWithResponse

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

V1ResetABranchWithResponse request returning *V1ResetABranchResponse

func (*ClientWithResponses) V1RestorePitrBackupWithBodyWithResponse

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

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

func (*ClientWithResponses) V1RunAQueryWithBodyWithResponse

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

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

func (*ClientWithResponses) V1SetupAReadReplicaWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateABranchConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateAFunctionWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateASsoProviderWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateAuthServiceConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateHostnameConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateNetworkRestrictionsWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdatePgsodiumConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdatePostgresConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdatePostgrestServiceConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateSslEnforcementConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateStorageConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpdateSupavisorConfigWithBodyWithResponse

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

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

func (*ClientWithResponses) V1UpgradePostgresVersionWithBodyWithResponse

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

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

func (*ClientWithResponses) V1VerifyDnsConfigWithResponse

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

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

CreateApiKeyBody defines model for CreateApiKeyBody.

type CreateApiKeyBodyType

type CreateApiKeyBodyType string

CreateApiKeyBodyType defines model for CreateApiKeyBody.Type.

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

Defines values for CreateApiKeyBodyType.

type CreateApiKeyJSONRequestBody

type CreateApiKeyJSONRequestBody = CreateApiKeyBody

CreateApiKeyJSONRequestBody defines body for CreateApiKey for application/json ContentType.

type CreateApiKeyParams

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

CreateApiKeyParams defines parameters for CreateApiKey.

type CreateApiKeyResponse

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

func ParseCreateApiKeyResponse

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

ParseCreateApiKeyResponse parses an HTTP response from a CreateApiKeyWithResponse call

func (CreateApiKeyResponse) Status

func (r CreateApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateApiKeyResponse) StatusCode

func (r CreateApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBranchBody

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

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

CreateOrganizationV1Dto defines model for CreateOrganizationV1Dto.

type CreateProviderBody

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

type CreateProviderBodyType string

CreateProviderBodyType What type of provider will be created

const (
	Saml CreateProviderBodyType = "saml"
)

Defines values for CreateProviderBodyType.

type CreateProviderResponse

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

type CreateTPAForProjectJSONRequestBody = CreateThirdPartyAuthBody

CreateTPAForProjectJSONRequestBody defines body for CreateTPAForProject for application/json ContentType.

type CreateTPAForProjectResponse

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

func ParseCreateTPAForProjectResponse

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

ParseCreateTPAForProjectResponse parses an HTTP response from a CreateTPAForProjectWithResponse call

func (CreateTPAForProjectResponse) Status

Status returns HTTPResponse.Status

func (CreateTPAForProjectResponse) StatusCode

func (r CreateTPAForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateThirdPartyAuthBody

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

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

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

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

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

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

DatabaseUpgradeStatusResponse defines model for DatabaseUpgradeStatusResponse.

type DatabaseUpgradeStatusStatus

type DatabaseUpgradeStatusStatus int

DatabaseUpgradeStatusStatus defines model for DatabaseUpgradeStatus.Status.

Defines values for DatabaseUpgradeStatusStatus.

type DeleteApiKeyParams

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

DeleteApiKeyParams defines parameters for DeleteApiKey.

type DeleteApiKeyResponse

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

func ParseDeleteApiKeyResponse

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

ParseDeleteApiKeyResponse parses an HTTP response from a DeleteApiKeyWithResponse call

func (DeleteApiKeyResponse) Status

func (r DeleteApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteApiKeyResponse) StatusCode

func (r DeleteApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProviderResponse

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

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

func ParseDeleteTPAForProjectResponse

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

ParseDeleteTPAForProjectResponse parses an HTTP response from a DeleteTPAForProjectWithResponse call

func (DeleteTPAForProjectResponse) Status

Status returns HTTPResponse.Status

func (DeleteTPAForProjectResponse) StatusCode

func (r DeleteTPAForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DesiredInstanceSize

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

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

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

GetApiKeyParams defines parameters for GetApiKey.

type GetApiKeyResponse

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

func ParseGetApiKeyResponse

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

ParseGetApiKeyResponse parses an HTTP response from a GetApiKeyWithResponse call

func (GetApiKeyResponse) Status

func (r GetApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeyResponse) StatusCode

func (r GetApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProviderResponse

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

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

func ParseGetTPAForProjectResponse

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

ParseGetTPAForProjectResponse parses an HTTP response from a GetTPAForProjectWithResponse call

func (GetTPAForProjectResponse) Status

func (r GetTPAForProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetTPAForProjectResponse) StatusCode

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

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

ListProvidersResponse defines model for ListProvidersResponse.

type ListTPAForProjectResponse

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

func ParseListTPAForProjectResponse

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

ParseListTPAForProjectResponse parses an HTTP response from a ListTPAForProjectWithResponse call

func (ListTPAForProjectResponse) Status

func (r ListTPAForProjectResponse) Status() string

Status returns HTTPResponse.Status

func (ListTPAForProjectResponse) StatusCode

func (r ListTPAForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NetworkBanResponse

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

NetworkBanResponse defines model for NetworkBanResponse.

type NetworkRestrictionsRequest

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

NetworkRestrictionsRequest defines model for NetworkRestrictionsRequest.

type NetworkRestrictionsResponse

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

type NetworkRestrictionsResponseEntitlement string

NetworkRestrictionsResponseEntitlement defines model for NetworkRestrictionsResponse.Entitlement.

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

Defines values for NetworkRestrictionsResponseEntitlement.

type NetworkRestrictionsResponseStatus

type NetworkRestrictionsResponseStatus string

NetworkRestrictionsResponseStatus defines model for NetworkRestrictionsResponse.Status.

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

Defines values for NetworkRestrictionsResponseStatus.

type OAuthTokenBody

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

type OAuthTokenBodyGrantType string

OAuthTokenBodyGrantType defines model for OAuthTokenBody.GrantType.

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

Defines values for OAuthTokenBodyGrantType.

type OAuthTokenResponse

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

type OAuthTokenResponseTokenType string

OAuthTokenResponseTokenType defines model for OAuthTokenResponse.TokenType.

const (
	Bearer OAuthTokenResponseTokenType = "Bearer"
)

Defines values for OAuthTokenResponseTokenType.

type OrganizationResponseV1

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

OrganizationResponseV1 defines model for OrganizationResponseV1.

type OwnershipVerification

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

OwnershipVerification defines model for OwnershipVerification.

type PgsodiumConfigResponse

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

PgsodiumConfigResponse defines model for PgsodiumConfigResponse.

type PostgresConfigResponse

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

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

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

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

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

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

ProjectUpgradeInitiateResponse defines model for ProjectUpgradeInitiateResponse.

type ProjectVersion

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

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

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

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

RealtimeHealthResponse defines model for RealtimeHealthResponse.

type ReleaseChannel

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

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

RemoveNetworkBanRequest defines model for RemoveNetworkBanRequest.

type RemoveReadReplicaBody

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

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

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

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

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

SnippetContent defines model for SnippetContent.

type SnippetList

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

SnippetList defines model for SnippetList.

type SnippetMeta

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

type SnippetMetaType string

SnippetMetaType defines model for SnippetMeta.Type.

const (
	SnippetMetaTypeSql SnippetMetaType = "sql"
)

Defines values for SnippetMetaType.

type SnippetMetaVisibility

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

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

SnippetProject defines model for SnippetProject.

type SnippetResponse

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

type SnippetResponseType string

SnippetResponseType defines model for SnippetResponse.Type.

const (
	SnippetResponseTypeSql SnippetResponseType = "sql"
)

Defines values for SnippetResponseType.

type SnippetResponseVisibility

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

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

SnippetUser defines model for SnippetUser.

type SslEnforcementRequest

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

SslEnforcementRequest defines model for SslEnforcementRequest.

type SslEnforcementResponse

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

SslEnforcementResponse defines model for SslEnforcementResponse.

type SslEnforcements

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

SslEnforcements defines model for SslEnforcements.

type SslValidation

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

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

StorageConfigResponse defines model for StorageConfigResponse.

type StorageFeatureImageTransformation

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

StorageFeatureImageTransformation defines model for StorageFeatureImageTransformation.

type StorageFeatures

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

StorageFeatures defines model for StorageFeatures.

type SubdomainAvailabilityResponse

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

SubdomainAvailabilityResponse defines model for SubdomainAvailabilityResponse.

type SupavisorConfigResponse

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

type SupavisorConfigResponseDatabaseType string

SupavisorConfigResponseDatabaseType defines model for SupavisorConfigResponse.DatabaseType.

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

Defines values for SupavisorConfigResponseDatabaseType.

type SupavisorConfigResponsePoolMode

type SupavisorConfigResponsePoolMode string

SupavisorConfigResponsePoolMode defines model for SupavisorConfigResponse.PoolMode.

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

Defines values for SupavisorConfigResponsePoolMode.

type ThirdPartyAuth

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

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

TypescriptResponse defines model for TypescriptResponse.

type UpdateApiKeyBody

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

UpdateApiKeyBody defines model for UpdateApiKeyBody.

type UpdateApiKeyJSONRequestBody

type UpdateApiKeyJSONRequestBody = UpdateApiKeyBody

UpdateApiKeyJSONRequestBody defines body for UpdateApiKey for application/json ContentType.

type UpdateApiKeyParams

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

UpdateApiKeyParams defines parameters for UpdateApiKey.

type UpdateApiKeyResponse

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

func ParseUpdateApiKeyResponse

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

ParseUpdateApiKeyResponse parses an HTTP response from a UpdateApiKeyWithResponse call

func (UpdateApiKeyResponse) Status

func (r UpdateApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateApiKeyResponse) StatusCode

func (r UpdateApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateAuthConfigBody

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

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

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

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

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

UpdateCustomHostnameBody defines model for UpdateCustomHostnameBody.

type UpdateCustomHostnameResponse

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

UpdateCustomHostnameResponse defines model for UpdateCustomHostnameResponse.

type UpdateCustomHostnameResponseStatus

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

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

UpdatePgsodiumConfigBody defines model for UpdatePgsodiumConfigBody.

type UpdatePostgresConfigBody

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

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

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

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

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

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

UpdateStorageConfigBody defines model for UpdateStorageConfigBody.

type UpdateSupavisorConfigBody

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

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

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

UpdateSupavisorConfigResponse defines model for UpdateSupavisorConfigResponse.

type UpdateSupavisorConfigResponsePoolMode

type UpdateSupavisorConfigResponsePoolMode string

UpdateSupavisorConfigResponsePoolMode defines model for UpdateSupavisorConfigResponse.PoolMode.

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

Defines values for UpdateSupavisorConfigResponsePoolMode.

type UpgradeDatabaseBody

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

UpgradeDatabaseBody defines model for UpgradeDatabaseBody.

type V1ActivateCustomHostnameResponse

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

func ParseV1ActivateCustomHostnameResponse

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

ParseV1ActivateCustomHostnameResponse parses an HTTP response from a V1ActivateCustomHostnameWithResponse call

func (V1ActivateCustomHostnameResponse) Status

Status returns HTTPResponse.Status

func (V1ActivateCustomHostnameResponse) StatusCode

func (r V1ActivateCustomHostnameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ActivateVanitySubdomainConfigJSONRequestBody

type V1ActivateVanitySubdomainConfigJSONRequestBody = VanitySubdomainBody

V1ActivateVanitySubdomainConfigJSONRequestBody defines body for V1ActivateVanitySubdomainConfig for application/json ContentType.

type V1ActivateVanitySubdomainConfigResponse

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

func ParseV1ActivateVanitySubdomainConfigResponse

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

ParseV1ActivateVanitySubdomainConfigResponse parses an HTTP response from a V1ActivateVanitySubdomainConfigWithResponse call

func (V1ActivateVanitySubdomainConfigResponse) Status

Status returns HTTPResponse.Status

func (V1ActivateVanitySubdomainConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1AuthorizeUserParams

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

type V1AuthorizeUserParamsCodeChallengeMethod string

V1AuthorizeUserParamsCodeChallengeMethod defines parameters for V1AuthorizeUser.

Defines values for V1AuthorizeUserParamsCodeChallengeMethod.

type V1AuthorizeUserParamsResponseType

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

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

func ParseV1AuthorizeUserResponse

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

ParseV1AuthorizeUserResponse parses an HTTP response from a V1AuthorizeUserWithResponse call

func (V1AuthorizeUserResponse) Status

func (r V1AuthorizeUserResponse) Status() string

Status returns HTTPResponse.Status

func (V1AuthorizeUserResponse) StatusCode

func (r V1AuthorizeUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1Backup

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

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

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

type V1BulkCreateSecretsJSONBody = []CreateSecretBody

V1BulkCreateSecretsJSONBody defines parameters for V1BulkCreateSecrets.

type V1BulkCreateSecretsJSONRequestBody

type V1BulkCreateSecretsJSONRequestBody = V1BulkCreateSecretsJSONBody

V1BulkCreateSecretsJSONRequestBody defines body for V1BulkCreateSecrets for application/json ContentType.

type V1BulkCreateSecretsResponse

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

func ParseV1BulkCreateSecretsResponse

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

ParseV1BulkCreateSecretsResponse parses an HTTP response from a V1BulkCreateSecretsWithResponse call

func (V1BulkCreateSecretsResponse) Status

Status returns HTTPResponse.Status

func (V1BulkCreateSecretsResponse) StatusCode

func (r V1BulkCreateSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1BulkDeleteSecretsJSONBody

type V1BulkDeleteSecretsJSONBody = []string

V1BulkDeleteSecretsJSONBody defines parameters for V1BulkDeleteSecrets.

type V1BulkDeleteSecretsJSONRequestBody

type V1BulkDeleteSecretsJSONRequestBody = V1BulkDeleteSecretsJSONBody

V1BulkDeleteSecretsJSONRequestBody defines body for V1BulkDeleteSecrets for application/json ContentType.

type V1BulkDeleteSecretsResponse

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

func ParseV1BulkDeleteSecretsResponse

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

ParseV1BulkDeleteSecretsResponse parses an HTTP response from a V1BulkDeleteSecretsWithResponse call

func (V1BulkDeleteSecretsResponse) Status

Status returns HTTPResponse.Status

func (V1BulkDeleteSecretsResponse) StatusCode

func (r V1BulkDeleteSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CheckVanitySubdomainAvailabilityJSONRequestBody

type V1CheckVanitySubdomainAvailabilityJSONRequestBody = VanitySubdomainBody

V1CheckVanitySubdomainAvailabilityJSONRequestBody defines body for V1CheckVanitySubdomainAvailability for application/json ContentType.

type V1CheckVanitySubdomainAvailabilityResponse

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

func ParseV1CheckVanitySubdomainAvailabilityResponse

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

ParseV1CheckVanitySubdomainAvailabilityResponse parses an HTTP response from a V1CheckVanitySubdomainAvailabilityWithResponse call

func (V1CheckVanitySubdomainAvailabilityResponse) Status

Status returns HTTPResponse.Status

func (V1CheckVanitySubdomainAvailabilityResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1CreateABranchJSONRequestBody

type V1CreateABranchJSONRequestBody = CreateBranchBody

V1CreateABranchJSONRequestBody defines body for V1CreateABranch for application/json ContentType.

type V1CreateABranchResponse

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

func ParseV1CreateABranchResponse

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

ParseV1CreateABranchResponse parses an HTTP response from a V1CreateABranchWithResponse call

func (V1CreateABranchResponse) Status

func (r V1CreateABranchResponse) Status() string

Status returns HTTPResponse.Status

func (V1CreateABranchResponse) StatusCode

func (r V1CreateABranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateAFunctionJSONRequestBody

type V1CreateAFunctionJSONRequestBody = V1CreateFunctionBody

V1CreateAFunctionJSONRequestBody defines body for V1CreateAFunction for application/json ContentType.

type V1CreateAFunctionParams

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

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

func ParseV1CreateAFunctionResponse

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

ParseV1CreateAFunctionResponse parses an HTTP response from a V1CreateAFunctionWithResponse call

func (V1CreateAFunctionResponse) Status

func (r V1CreateAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1CreateAFunctionResponse) StatusCode

func (r V1CreateAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateAProjectJSONRequestBody

type V1CreateAProjectJSONRequestBody = V1CreateProjectBodyDto

V1CreateAProjectJSONRequestBody defines body for V1CreateAProject for application/json ContentType.

type V1CreateAProjectResponse

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

func ParseV1CreateAProjectResponse

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

ParseV1CreateAProjectResponse parses an HTTP response from a V1CreateAProjectWithResponse call

func (V1CreateAProjectResponse) Status

func (r V1CreateAProjectResponse) Status() string

Status returns HTTPResponse.Status

func (V1CreateAProjectResponse) StatusCode

func (r V1CreateAProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateASsoProviderJSONRequestBody

type V1CreateASsoProviderJSONRequestBody = CreateProviderBody

V1CreateASsoProviderJSONRequestBody defines body for V1CreateASsoProvider for application/json ContentType.

type V1CreateASsoProviderResponse

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

func ParseV1CreateASsoProviderResponse

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

ParseV1CreateASsoProviderResponse parses an HTTP response from a V1CreateASsoProviderWithResponse call

func (V1CreateASsoProviderResponse) Status

Status returns HTTPResponse.Status

func (V1CreateASsoProviderResponse) StatusCode

func (r V1CreateASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateAnOrganizationJSONRequestBody

type V1CreateAnOrganizationJSONRequestBody = CreateOrganizationV1Dto

V1CreateAnOrganizationJSONRequestBody defines body for V1CreateAnOrganization for application/json ContentType.

type V1CreateAnOrganizationResponse

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

func ParseV1CreateAnOrganizationResponse

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

ParseV1CreateAnOrganizationResponse parses an HTTP response from a V1CreateAnOrganizationWithResponse call

func (V1CreateAnOrganizationResponse) Status

Status returns HTTPResponse.Status

func (V1CreateAnOrganizationResponse) StatusCode

func (r V1CreateAnOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1CreateFunctionBody

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

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

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

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

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

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

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

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

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

func ParseV1DeactivateVanitySubdomainConfigResponse

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

ParseV1DeactivateVanitySubdomainConfigResponse parses an HTTP response from a V1DeactivateVanitySubdomainConfigWithResponse call

func (V1DeactivateVanitySubdomainConfigResponse) Status

Status returns HTTPResponse.Status

func (V1DeactivateVanitySubdomainConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1DeleteABranchResponse

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

func ParseV1DeleteABranchResponse

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

ParseV1DeleteABranchResponse parses an HTTP response from a V1DeleteABranchWithResponse call

func (V1DeleteABranchResponse) Status

func (r V1DeleteABranchResponse) Status() string

Status returns HTTPResponse.Status

func (V1DeleteABranchResponse) StatusCode

func (r V1DeleteABranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteAFunctionResponse

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

func ParseV1DeleteAFunctionResponse

func ParseV1DeleteAFunctionResponse(rsp *http.Response) (*V1DeleteAFunctionResponse, error)

ParseV1DeleteAFunctionResponse parses an HTTP response from a V1DeleteAFunctionWithResponse call

func (V1DeleteAFunctionResponse) Status

func (r V1DeleteAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1DeleteAFunctionResponse) StatusCode

func (r V1DeleteAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteAProjectResponse

type V1DeleteAProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1ProjectRefResponse
}

func ParseV1DeleteAProjectResponse

func ParseV1DeleteAProjectResponse(rsp *http.Response) (*V1DeleteAProjectResponse, error)

ParseV1DeleteAProjectResponse parses an HTTP response from a V1DeleteAProjectWithResponse call

func (V1DeleteAProjectResponse) Status

func (r V1DeleteAProjectResponse) Status() string

Status returns HTTPResponse.Status

func (V1DeleteAProjectResponse) StatusCode

func (r V1DeleteAProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteASsoProviderResponse

type V1DeleteASsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteProviderResponse
}

func ParseV1DeleteASsoProviderResponse

func ParseV1DeleteASsoProviderResponse(rsp *http.Response) (*V1DeleteASsoProviderResponse, error)

ParseV1DeleteASsoProviderResponse parses an HTTP response from a V1DeleteASsoProviderWithResponse call

func (V1DeleteASsoProviderResponse) Status

Status returns HTTPResponse.Status

func (V1DeleteASsoProviderResponse) StatusCode

func (r V1DeleteASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteHostnameConfigResponse

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

func ParseV1DeleteHostnameConfigResponse

func ParseV1DeleteHostnameConfigResponse(rsp *http.Response) (*V1DeleteHostnameConfigResponse, error)

ParseV1DeleteHostnameConfigResponse parses an HTTP response from a V1DeleteHostnameConfigWithResponse call

func (V1DeleteHostnameConfigResponse) Status

Status returns HTTPResponse.Status

func (V1DeleteHostnameConfigResponse) StatusCode

func (r V1DeleteHostnameConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DeleteNetworkBansJSONRequestBody

type V1DeleteNetworkBansJSONRequestBody = RemoveNetworkBanRequest

V1DeleteNetworkBansJSONRequestBody defines body for V1DeleteNetworkBans for application/json ContentType.

type V1DeleteNetworkBansResponse

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

func ParseV1DeleteNetworkBansResponse

func ParseV1DeleteNetworkBansResponse(rsp *http.Response) (*V1DeleteNetworkBansResponse, error)

ParseV1DeleteNetworkBansResponse parses an HTTP response from a V1DeleteNetworkBansWithResponse call

func (V1DeleteNetworkBansResponse) Status

Status returns HTTPResponse.Status

func (V1DeleteNetworkBansResponse) StatusCode

func (r V1DeleteNetworkBansResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DisablePreviewBranchingResponse

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

func ParseV1DisablePreviewBranchingResponse

func ParseV1DisablePreviewBranchingResponse(rsp *http.Response) (*V1DisablePreviewBranchingResponse, error)

ParseV1DisablePreviewBranchingResponse parses an HTTP response from a V1DisablePreviewBranchingWithResponse call

func (V1DisablePreviewBranchingResponse) Status

Status returns HTTPResponse.Status

func (V1DisablePreviewBranchingResponse) StatusCode

func (r V1DisablePreviewBranchingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1DisableReadonlyModeTemporarilyResponse

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

func ParseV1DisableReadonlyModeTemporarilyResponse

func ParseV1DisableReadonlyModeTemporarilyResponse(rsp *http.Response) (*V1DisableReadonlyModeTemporarilyResponse, error)

ParseV1DisableReadonlyModeTemporarilyResponse parses an HTTP response from a V1DisableReadonlyModeTemporarilyWithResponse call

func (V1DisableReadonlyModeTemporarilyResponse) Status

Status returns HTTPResponse.Status

func (V1DisableReadonlyModeTemporarilyResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1EnableDatabaseWebhookResponse

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

func ParseV1EnableDatabaseWebhookResponse

func ParseV1EnableDatabaseWebhookResponse(rsp *http.Response) (*V1EnableDatabaseWebhookResponse, error)

ParseV1EnableDatabaseWebhookResponse parses an HTTP response from a V1EnableDatabaseWebhookWithResponse call

func (V1EnableDatabaseWebhookResponse) Status

Status returns HTTPResponse.Status

func (V1EnableDatabaseWebhookResponse) StatusCode

func (r V1EnableDatabaseWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ExchangeOauthTokenFormdataRequestBody

type V1ExchangeOauthTokenFormdataRequestBody = OAuthTokenBody

V1ExchangeOauthTokenFormdataRequestBody defines body for V1ExchangeOauthToken for application/x-www-form-urlencoded ContentType.

type V1ExchangeOauthTokenResponse

type V1ExchangeOauthTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *OAuthTokenResponse
}

func ParseV1ExchangeOauthTokenResponse

func ParseV1ExchangeOauthTokenResponse(rsp *http.Response) (*V1ExchangeOauthTokenResponse, error)

ParseV1ExchangeOauthTokenResponse parses an HTTP response from a V1ExchangeOauthTokenWithResponse call

func (V1ExchangeOauthTokenResponse) Status

Status returns HTTPResponse.Status

func (V1ExchangeOauthTokenResponse) StatusCode

func (r V1ExchangeOauthTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GenerateTypescriptTypesParams

type V1GenerateTypescriptTypesParams struct {
	IncludedSchemas *string `form:"included_schemas,omitempty" json:"included_schemas,omitempty"`
}

V1GenerateTypescriptTypesParams defines parameters for V1GenerateTypescriptTypes.

type V1GenerateTypescriptTypesResponse

type V1GenerateTypescriptTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TypescriptResponse
}

func ParseV1GenerateTypescriptTypesResponse

func ParseV1GenerateTypescriptTypesResponse(rsp *http.Response) (*V1GenerateTypescriptTypesResponse, error)

ParseV1GenerateTypescriptTypesResponse parses an HTTP response from a V1GenerateTypescriptTypesWithResponse call

func (V1GenerateTypescriptTypesResponse) Status

Status returns HTTPResponse.Status

func (V1GenerateTypescriptTypesResponse) StatusCode

func (r V1GenerateTypescriptTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetABranchConfigResponse

type V1GetABranchConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchDetailResponse
}

func ParseV1GetABranchConfigResponse

func ParseV1GetABranchConfigResponse(rsp *http.Response) (*V1GetABranchConfigResponse, error)

ParseV1GetABranchConfigResponse parses an HTTP response from a V1GetABranchConfigWithResponse call

func (V1GetABranchConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetABranchConfigResponse) StatusCode

func (r V1GetABranchConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAFunctionBodyResponse

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

func ParseV1GetAFunctionBodyResponse

func ParseV1GetAFunctionBodyResponse(rsp *http.Response) (*V1GetAFunctionBodyResponse, error)

ParseV1GetAFunctionBodyResponse parses an HTTP response from a V1GetAFunctionBodyWithResponse call

func (V1GetAFunctionBodyResponse) Status

Status returns HTTPResponse.Status

func (V1GetAFunctionBodyResponse) StatusCode

func (r V1GetAFunctionBodyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAFunctionResponse

type V1GetAFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FunctionSlugResponse
}

func ParseV1GetAFunctionResponse

func ParseV1GetAFunctionResponse(rsp *http.Response) (*V1GetAFunctionResponse, error)

ParseV1GetAFunctionResponse parses an HTTP response from a V1GetAFunctionWithResponse call

func (V1GetAFunctionResponse) Status

func (r V1GetAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetAFunctionResponse) StatusCode

func (r V1GetAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetASnippetResponse

type V1GetASnippetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SnippetResponse
}

func ParseV1GetASnippetResponse

func ParseV1GetASnippetResponse(rsp *http.Response) (*V1GetASnippetResponse, error)

ParseV1GetASnippetResponse parses an HTTP response from a V1GetASnippetWithResponse call

func (V1GetASnippetResponse) Status

func (r V1GetASnippetResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetASnippetResponse) StatusCode

func (r V1GetASnippetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetASsoProviderResponse

type V1GetASsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetProviderResponse
}

func ParseV1GetASsoProviderResponse

func ParseV1GetASsoProviderResponse(rsp *http.Response) (*V1GetASsoProviderResponse, error)

ParseV1GetASsoProviderResponse parses an HTTP response from a V1GetASsoProviderWithResponse call

func (V1GetASsoProviderResponse) Status

func (r V1GetASsoProviderResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetASsoProviderResponse) StatusCode

func (r V1GetASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAnOrganizationResponse

type V1GetAnOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1OrganizationSlugResponse
}

func ParseV1GetAnOrganizationResponse

func ParseV1GetAnOrganizationResponse(rsp *http.Response) (*V1GetAnOrganizationResponse, error)

ParseV1GetAnOrganizationResponse parses an HTTP response from a V1GetAnOrganizationWithResponse call

func (V1GetAnOrganizationResponse) Status

Status returns HTTPResponse.Status

func (V1GetAnOrganizationResponse) StatusCode

func (r V1GetAnOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetAuthServiceConfigResponse

type V1GetAuthServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthConfigResponse
}

func ParseV1GetAuthServiceConfigResponse

func ParseV1GetAuthServiceConfigResponse(rsp *http.Response) (*V1GetAuthServiceConfigResponse, error)

ParseV1GetAuthServiceConfigResponse parses an HTTP response from a V1GetAuthServiceConfigWithResponse call

func (V1GetAuthServiceConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetAuthServiceConfigResponse) StatusCode

func (r V1GetAuthServiceConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetHostnameConfigResponse

type V1GetHostnameConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateCustomHostnameResponse
}

func ParseV1GetHostnameConfigResponse

func ParseV1GetHostnameConfigResponse(rsp *http.Response) (*V1GetHostnameConfigResponse, error)

ParseV1GetHostnameConfigResponse parses an HTTP response from a V1GetHostnameConfigWithResponse call

func (V1GetHostnameConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetHostnameConfigResponse) StatusCode

func (r V1GetHostnameConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetNetworkRestrictionsResponse

type V1GetNetworkRestrictionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NetworkRestrictionsResponse
}

func ParseV1GetNetworkRestrictionsResponse

func ParseV1GetNetworkRestrictionsResponse(rsp *http.Response) (*V1GetNetworkRestrictionsResponse, error)

ParseV1GetNetworkRestrictionsResponse parses an HTTP response from a V1GetNetworkRestrictionsWithResponse call

func (V1GetNetworkRestrictionsResponse) Status

Status returns HTTPResponse.Status

func (V1GetNetworkRestrictionsResponse) StatusCode

func (r V1GetNetworkRestrictionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPgsodiumConfigResponse

type V1GetPgsodiumConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PgsodiumConfigResponse
}

func ParseV1GetPgsodiumConfigResponse

func ParseV1GetPgsodiumConfigResponse(rsp *http.Response) (*V1GetPgsodiumConfigResponse, error)

ParseV1GetPgsodiumConfigResponse parses an HTTP response from a V1GetPgsodiumConfigWithResponse call

func (V1GetPgsodiumConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetPgsodiumConfigResponse) StatusCode

func (r V1GetPgsodiumConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgresConfigResponse

type V1GetPostgresConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostgresConfigResponse
}

func ParseV1GetPostgresConfigResponse

func ParseV1GetPostgresConfigResponse(rsp *http.Response) (*V1GetPostgresConfigResponse, error)

ParseV1GetPostgresConfigResponse parses an HTTP response from a V1GetPostgresConfigWithResponse call

func (V1GetPostgresConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetPostgresConfigResponse) StatusCode

func (r V1GetPostgresConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgresUpgradeEligibilityResponse

type V1GetPostgresUpgradeEligibilityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectUpgradeEligibilityResponse
}

func ParseV1GetPostgresUpgradeEligibilityResponse

func ParseV1GetPostgresUpgradeEligibilityResponse(rsp *http.Response) (*V1GetPostgresUpgradeEligibilityResponse, error)

ParseV1GetPostgresUpgradeEligibilityResponse parses an HTTP response from a V1GetPostgresUpgradeEligibilityWithResponse call

func (V1GetPostgresUpgradeEligibilityResponse) Status

Status returns HTTPResponse.Status

func (V1GetPostgresUpgradeEligibilityResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgresUpgradeStatusParams

type V1GetPostgresUpgradeStatusParams struct {
	TrackingId *string `form:"tracking_id,omitempty" json:"tracking_id,omitempty"`
}

V1GetPostgresUpgradeStatusParams defines parameters for V1GetPostgresUpgradeStatus.

type V1GetPostgresUpgradeStatusResponse

type V1GetPostgresUpgradeStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatabaseUpgradeStatusResponse
}

func ParseV1GetPostgresUpgradeStatusResponse

func ParseV1GetPostgresUpgradeStatusResponse(rsp *http.Response) (*V1GetPostgresUpgradeStatusResponse, error)

ParseV1GetPostgresUpgradeStatusResponse parses an HTTP response from a V1GetPostgresUpgradeStatusWithResponse call

func (V1GetPostgresUpgradeStatusResponse) Status

Status returns HTTPResponse.Status

func (V1GetPostgresUpgradeStatusResponse) StatusCode

func (r V1GetPostgresUpgradeStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetPostgrestServiceConfigResponse

type V1GetPostgrestServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostgrestConfigWithJWTSecretResponse
}

func ParseV1GetPostgrestServiceConfigResponse

func ParseV1GetPostgrestServiceConfigResponse(rsp *http.Response) (*V1GetPostgrestServiceConfigResponse, error)

ParseV1GetPostgrestServiceConfigResponse parses an HTTP response from a V1GetPostgrestServiceConfigWithResponse call

func (V1GetPostgrestServiceConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetPostgrestServiceConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1GetProjectApiKeysParams

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

V1GetProjectApiKeysParams defines parameters for V1GetProjectApiKeys.

type V1GetProjectApiKeysResponse

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

func ParseV1GetProjectApiKeysResponse

func ParseV1GetProjectApiKeysResponse(rsp *http.Response) (*V1GetProjectApiKeysResponse, error)

ParseV1GetProjectApiKeysResponse parses an HTTP response from a V1GetProjectApiKeysWithResponse call

func (V1GetProjectApiKeysResponse) Status

Status returns HTTPResponse.Status

func (V1GetProjectApiKeysResponse) StatusCode

func (r V1GetProjectApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetProjectPgbouncerConfigResponse

type V1GetProjectPgbouncerConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1PgbouncerConfigResponse
}

func ParseV1GetProjectPgbouncerConfigResponse

func ParseV1GetProjectPgbouncerConfigResponse(rsp *http.Response) (*V1GetProjectPgbouncerConfigResponse, error)

ParseV1GetProjectPgbouncerConfigResponse parses an HTTP response from a V1GetProjectPgbouncerConfigWithResponse call

func (V1GetProjectPgbouncerConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetProjectPgbouncerConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1GetProjectResponse

type V1GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1ProjectWithDatabaseResponse
}

func ParseV1GetProjectResponse

func ParseV1GetProjectResponse(rsp *http.Response) (*V1GetProjectResponse, error)

ParseV1GetProjectResponse parses an HTTP response from a V1GetProjectWithResponse call

func (V1GetProjectResponse) Status

func (r V1GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (V1GetProjectResponse) StatusCode

func (r V1GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetReadonlyModeStatusResponse

type V1GetReadonlyModeStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReadOnlyStatusResponse
}

func ParseV1GetReadonlyModeStatusResponse

func ParseV1GetReadonlyModeStatusResponse(rsp *http.Response) (*V1GetReadonlyModeStatusResponse, error)

ParseV1GetReadonlyModeStatusResponse parses an HTTP response from a V1GetReadonlyModeStatusWithResponse call

func (V1GetReadonlyModeStatusResponse) Status

Status returns HTTPResponse.Status

func (V1GetReadonlyModeStatusResponse) StatusCode

func (r V1GetReadonlyModeStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetServicesHealthParams

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

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

type V1GetServicesHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1ServiceHealthResponse
}

func ParseV1GetServicesHealthResponse

func ParseV1GetServicesHealthResponse(rsp *http.Response) (*V1GetServicesHealthResponse, error)

ParseV1GetServicesHealthResponse parses an HTTP response from a V1GetServicesHealthWithResponse call

func (V1GetServicesHealthResponse) Status

Status returns HTTPResponse.Status

func (V1GetServicesHealthResponse) StatusCode

func (r V1GetServicesHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetSslEnforcementConfigResponse

type V1GetSslEnforcementConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SslEnforcementResponse
}

func ParseV1GetSslEnforcementConfigResponse

func ParseV1GetSslEnforcementConfigResponse(rsp *http.Response) (*V1GetSslEnforcementConfigResponse, error)

ParseV1GetSslEnforcementConfigResponse parses an HTTP response from a V1GetSslEnforcementConfigWithResponse call

func (V1GetSslEnforcementConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetSslEnforcementConfigResponse) StatusCode

func (r V1GetSslEnforcementConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetStorageConfigResponse

type V1GetStorageConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StorageConfigResponse
}

func ParseV1GetStorageConfigResponse

func ParseV1GetStorageConfigResponse(rsp *http.Response) (*V1GetStorageConfigResponse, error)

ParseV1GetStorageConfigResponse parses an HTTP response from a V1GetStorageConfigWithResponse call

func (V1GetStorageConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetStorageConfigResponse) StatusCode

func (r V1GetStorageConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetSupavisorConfigResponse

type V1GetSupavisorConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SupavisorConfigResponse
}

func ParseV1GetSupavisorConfigResponse

func ParseV1GetSupavisorConfigResponse(rsp *http.Response) (*V1GetSupavisorConfigResponse, error)

ParseV1GetSupavisorConfigResponse parses an HTTP response from a V1GetSupavisorConfigWithResponse call

func (V1GetSupavisorConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetSupavisorConfigResponse) StatusCode

func (r V1GetSupavisorConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1GetVanitySubdomainConfigResponse

type V1GetVanitySubdomainConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *VanitySubdomainConfigResponse
}

func ParseV1GetVanitySubdomainConfigResponse

func ParseV1GetVanitySubdomainConfigResponse(rsp *http.Response) (*V1GetVanitySubdomainConfigResponse, error)

ParseV1GetVanitySubdomainConfigResponse parses an HTTP response from a V1GetVanitySubdomainConfigWithResponse call

func (V1GetVanitySubdomainConfigResponse) Status

Status returns HTTPResponse.Status

func (V1GetVanitySubdomainConfigResponse) StatusCode

func (r V1GetVanitySubdomainConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllBackupsResponse

type V1ListAllBackupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1BackupsResponse
}

func ParseV1ListAllBackupsResponse

func ParseV1ListAllBackupsResponse(rsp *http.Response) (*V1ListAllBackupsResponse, error)

ParseV1ListAllBackupsResponse parses an HTTP response from a V1ListAllBackupsWithResponse call

func (V1ListAllBackupsResponse) Status

func (r V1ListAllBackupsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllBackupsResponse) StatusCode

func (r V1ListAllBackupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllBranchesResponse

type V1ListAllBranchesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BranchResponse
}

func ParseV1ListAllBranchesResponse

func ParseV1ListAllBranchesResponse(rsp *http.Response) (*V1ListAllBranchesResponse, error)

ParseV1ListAllBranchesResponse parses an HTTP response from a V1ListAllBranchesWithResponse call

func (V1ListAllBranchesResponse) Status

func (r V1ListAllBranchesResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllBranchesResponse) StatusCode

func (r V1ListAllBranchesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllBucketsResponse

type V1ListAllBucketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1StorageBucketResponse
}

func ParseV1ListAllBucketsResponse

func ParseV1ListAllBucketsResponse(rsp *http.Response) (*V1ListAllBucketsResponse, error)

ParseV1ListAllBucketsResponse parses an HTTP response from a V1ListAllBucketsWithResponse call

func (V1ListAllBucketsResponse) Status

func (r V1ListAllBucketsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllBucketsResponse) StatusCode

func (r V1ListAllBucketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllFunctionsResponse

type V1ListAllFunctionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]FunctionResponse
}

func ParseV1ListAllFunctionsResponse

func ParseV1ListAllFunctionsResponse(rsp *http.Response) (*V1ListAllFunctionsResponse, error)

ParseV1ListAllFunctionsResponse parses an HTTP response from a V1ListAllFunctionsWithResponse call

func (V1ListAllFunctionsResponse) Status

Status returns HTTPResponse.Status

func (V1ListAllFunctionsResponse) StatusCode

func (r V1ListAllFunctionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllNetworkBansResponse

type V1ListAllNetworkBansResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *NetworkBanResponse
}

func ParseV1ListAllNetworkBansResponse

func ParseV1ListAllNetworkBansResponse(rsp *http.Response) (*V1ListAllNetworkBansResponse, error)

ParseV1ListAllNetworkBansResponse parses an HTTP response from a V1ListAllNetworkBansWithResponse call

func (V1ListAllNetworkBansResponse) Status

Status returns HTTPResponse.Status

func (V1ListAllNetworkBansResponse) StatusCode

func (r V1ListAllNetworkBansResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllOrganizationsResponse

type V1ListAllOrganizationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]OrganizationResponseV1
}

func ParseV1ListAllOrganizationsResponse

func ParseV1ListAllOrganizationsResponse(rsp *http.Response) (*V1ListAllOrganizationsResponse, error)

ParseV1ListAllOrganizationsResponse parses an HTTP response from a V1ListAllOrganizationsWithResponse call

func (V1ListAllOrganizationsResponse) Status

Status returns HTTPResponse.Status

func (V1ListAllOrganizationsResponse) StatusCode

func (r V1ListAllOrganizationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllProjectsResponse

type V1ListAllProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1ProjectWithDatabaseResponse
}

func ParseV1ListAllProjectsResponse

func ParseV1ListAllProjectsResponse(rsp *http.Response) (*V1ListAllProjectsResponse, error)

ParseV1ListAllProjectsResponse parses an HTTP response from a V1ListAllProjectsWithResponse call

func (V1ListAllProjectsResponse) Status

func (r V1ListAllProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllProjectsResponse) StatusCode

func (r V1ListAllProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllSecretsResponse

type V1ListAllSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SecretResponse
}

func ParseV1ListAllSecretsResponse

func ParseV1ListAllSecretsResponse(rsp *http.Response) (*V1ListAllSecretsResponse, error)

ParseV1ListAllSecretsResponse parses an HTTP response from a V1ListAllSecretsWithResponse call

func (V1ListAllSecretsResponse) Status

func (r V1ListAllSecretsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllSecretsResponse) StatusCode

func (r V1ListAllSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllSnippetsParams

type V1ListAllSnippetsParams struct {
	ProjectRef *string `form:"project_ref,omitempty" json:"project_ref,omitempty"`
}

V1ListAllSnippetsParams defines parameters for V1ListAllSnippets.

type V1ListAllSnippetsResponse

type V1ListAllSnippetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SnippetList
}

func ParseV1ListAllSnippetsResponse

func ParseV1ListAllSnippetsResponse(rsp *http.Response) (*V1ListAllSnippetsResponse, error)

ParseV1ListAllSnippetsResponse parses an HTTP response from a V1ListAllSnippetsWithResponse call

func (V1ListAllSnippetsResponse) Status

func (r V1ListAllSnippetsResponse) Status() string

Status returns HTTPResponse.Status

func (V1ListAllSnippetsResponse) StatusCode

func (r V1ListAllSnippetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListAllSsoProviderResponse

type V1ListAllSsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListProvidersResponse
}

func ParseV1ListAllSsoProviderResponse

func ParseV1ListAllSsoProviderResponse(rsp *http.Response) (*V1ListAllSsoProviderResponse, error)

ParseV1ListAllSsoProviderResponse parses an HTTP response from a V1ListAllSsoProviderWithResponse call

func (V1ListAllSsoProviderResponse) Status

Status returns HTTPResponse.Status

func (V1ListAllSsoProviderResponse) StatusCode

func (r V1ListAllSsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ListOrganizationMembersResponse

type V1ListOrganizationMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]V1OrganizationMemberResponse
}

func ParseV1ListOrganizationMembersResponse

func ParseV1ListOrganizationMembersResponse(rsp *http.Response) (*V1ListOrganizationMembersResponse, error)

ParseV1ListOrganizationMembersResponse parses an HTTP response from a V1ListOrganizationMembersWithResponse call

func (V1ListOrganizationMembersResponse) Status

Status returns HTTPResponse.Status

func (V1ListOrganizationMembersResponse) StatusCode

func (r V1ListOrganizationMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1OrganizationMemberResponse

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

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

type V1OrganizationSlugResponseOptInTags string

V1OrganizationSlugResponseOptInTags defines model for V1OrganizationSlugResponse.OptInTags.

const (
	AISQLGENERATOROPTIN V1OrganizationSlugResponseOptInTags = "AI_SQL_GENERATOR_OPT_IN"
)

Defines values for V1OrganizationSlugResponseOptInTags.

type V1PgbouncerConfigResponse

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

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

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

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

type V1ProjectRefResponse struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
	Ref  string `json:"ref"`
}

V1ProjectRefResponse defines model for V1ProjectRefResponse.

type V1ProjectResponse

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

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

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

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

type V1RemoveAReadReplicaJSONRequestBody = RemoveReadReplicaBody

V1RemoveAReadReplicaJSONRequestBody defines body for V1RemoveAReadReplica for application/json ContentType.

type V1RemoveAReadReplicaResponse

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

func ParseV1RemoveAReadReplicaResponse

func ParseV1RemoveAReadReplicaResponse(rsp *http.Response) (*V1RemoveAReadReplicaResponse, error)

ParseV1RemoveAReadReplicaResponse parses an HTTP response from a V1RemoveAReadReplicaWithResponse call

func (V1RemoveAReadReplicaResponse) Status

Status returns HTTPResponse.Status

func (V1RemoveAReadReplicaResponse) StatusCode

func (r V1RemoveAReadReplicaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1ResetABranchResponse

type V1ResetABranchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BranchResetResponse
}

func ParseV1ResetABranchResponse

func ParseV1ResetABranchResponse(rsp *http.Response) (*V1ResetABranchResponse, error)

ParseV1ResetABranchResponse parses an HTTP response from a V1ResetABranchWithResponse call

func (V1ResetABranchResponse) Status

func (r V1ResetABranchResponse) Status() string

Status returns HTTPResponse.Status

func (V1ResetABranchResponse) StatusCode

func (r V1ResetABranchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1RestorePitrBackupJSONRequestBody

type V1RestorePitrBackupJSONRequestBody = V1RestorePitrBody

V1RestorePitrBackupJSONRequestBody defines body for V1RestorePitrBackup for application/json ContentType.

type V1RestorePitrBackupResponse

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

func ParseV1RestorePitrBackupResponse

func ParseV1RestorePitrBackupResponse(rsp *http.Response) (*V1RestorePitrBackupResponse, error)

ParseV1RestorePitrBackupResponse parses an HTTP response from a V1RestorePitrBackupWithResponse call

func (V1RestorePitrBackupResponse) Status

Status returns HTTPResponse.Status

func (V1RestorePitrBackupResponse) StatusCode

func (r V1RestorePitrBackupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1RestorePitrBody

type V1RestorePitrBody struct {
	RecoveryTimeTargetUnix int64 `json:"recovery_time_target_unix"`
}

V1RestorePitrBody defines model for V1RestorePitrBody.

type V1RunAQueryJSONRequestBody

type V1RunAQueryJSONRequestBody = V1RunQueryBody

V1RunAQueryJSONRequestBody defines body for V1RunAQuery for application/json ContentType.

type V1RunAQueryResponse

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

func ParseV1RunAQueryResponse

func ParseV1RunAQueryResponse(rsp *http.Response) (*V1RunAQueryResponse, error)

ParseV1RunAQueryResponse parses an HTTP response from a V1RunAQueryWithResponse call

func (V1RunAQueryResponse) Status

func (r V1RunAQueryResponse) Status() string

Status returns HTTPResponse.Status

func (V1RunAQueryResponse) StatusCode

func (r V1RunAQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1RunQueryBody

type V1RunQueryBody struct {
	Query string `json:"query"`
}

V1RunQueryBody defines model for V1RunQueryBody.

type V1ServiceHealthResponse

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

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

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

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

V1ServiceHealthResponse_Info defines model for V1ServiceHealthResponse.Info.

func (V1ServiceHealthResponse_Info) AsAuthHealthResponse

func (t V1ServiceHealthResponse_Info) AsAuthHealthResponse() (AuthHealthResponse, error)

AsAuthHealthResponse returns the union data inside the V1ServiceHealthResponse_Info as a AuthHealthResponse

func (V1ServiceHealthResponse_Info) AsRealtimeHealthResponse

func (t V1ServiceHealthResponse_Info) AsRealtimeHealthResponse() (RealtimeHealthResponse, error)

AsRealtimeHealthResponse returns the union data inside the V1ServiceHealthResponse_Info as a RealtimeHealthResponse

func (*V1ServiceHealthResponse_Info) FromAuthHealthResponse

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

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

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

func (*V1ServiceHealthResponse_Info) MergeAuthHealthResponse

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

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

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

type V1SetupAReadReplicaJSONRequestBody

type V1SetupAReadReplicaJSONRequestBody = SetUpReadReplicaBody

V1SetupAReadReplicaJSONRequestBody defines body for V1SetupAReadReplica for application/json ContentType.

type V1SetupAReadReplicaResponse

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

func ParseV1SetupAReadReplicaResponse

func ParseV1SetupAReadReplicaResponse(rsp *http.Response) (*V1SetupAReadReplicaResponse, error)

ParseV1SetupAReadReplicaResponse parses an HTTP response from a V1SetupAReadReplicaWithResponse call

func (V1SetupAReadReplicaResponse) Status

Status returns HTTPResponse.Status

func (V1SetupAReadReplicaResponse) StatusCode

func (r V1SetupAReadReplicaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1StorageBucketResponse

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

type V1UpdateABranchConfigJSONRequestBody = UpdateBranchBody

V1UpdateABranchConfigJSONRequestBody defines body for V1UpdateABranchConfig for application/json ContentType.

type V1UpdateABranchConfigResponse

type V1UpdateABranchConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BranchResponse
}

func ParseV1UpdateABranchConfigResponse

func ParseV1UpdateABranchConfigResponse(rsp *http.Response) (*V1UpdateABranchConfigResponse, error)

ParseV1UpdateABranchConfigResponse parses an HTTP response from a V1UpdateABranchConfigWithResponse call

func (V1UpdateABranchConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateABranchConfigResponse) StatusCode

func (r V1UpdateABranchConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateAFunctionJSONRequestBody

type V1UpdateAFunctionJSONRequestBody = V1UpdateFunctionBody

V1UpdateAFunctionJSONRequestBody defines body for V1UpdateAFunction for application/json ContentType.

type V1UpdateAFunctionParams

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

type V1UpdateAFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FunctionResponse
}

func ParseV1UpdateAFunctionResponse

func ParseV1UpdateAFunctionResponse(rsp *http.Response) (*V1UpdateAFunctionResponse, error)

ParseV1UpdateAFunctionResponse parses an HTTP response from a V1UpdateAFunctionWithResponse call

func (V1UpdateAFunctionResponse) Status

func (r V1UpdateAFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (V1UpdateAFunctionResponse) StatusCode

func (r V1UpdateAFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateASsoProviderJSONRequestBody

type V1UpdateASsoProviderJSONRequestBody = UpdateProviderBody

V1UpdateASsoProviderJSONRequestBody defines body for V1UpdateASsoProvider for application/json ContentType.

type V1UpdateASsoProviderResponse

type V1UpdateASsoProviderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateProviderResponse
}

func ParseV1UpdateASsoProviderResponse

func ParseV1UpdateASsoProviderResponse(rsp *http.Response) (*V1UpdateASsoProviderResponse, error)

ParseV1UpdateASsoProviderResponse parses an HTTP response from a V1UpdateASsoProviderWithResponse call

func (V1UpdateASsoProviderResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateASsoProviderResponse) StatusCode

func (r V1UpdateASsoProviderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateAuthServiceConfigJSONRequestBody

type V1UpdateAuthServiceConfigJSONRequestBody = UpdateAuthConfigBody

V1UpdateAuthServiceConfigJSONRequestBody defines body for V1UpdateAuthServiceConfig for application/json ContentType.

type V1UpdateAuthServiceConfigResponse

type V1UpdateAuthServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AuthConfigResponse
}

func ParseV1UpdateAuthServiceConfigResponse

func ParseV1UpdateAuthServiceConfigResponse(rsp *http.Response) (*V1UpdateAuthServiceConfigResponse, error)

ParseV1UpdateAuthServiceConfigResponse parses an HTTP response from a V1UpdateAuthServiceConfigWithResponse call

func (V1UpdateAuthServiceConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateAuthServiceConfigResponse) StatusCode

func (r V1UpdateAuthServiceConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateFunctionBody

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

type V1UpdateHostnameConfigJSONRequestBody = UpdateCustomHostnameBody

V1UpdateHostnameConfigJSONRequestBody defines body for V1UpdateHostnameConfig for application/json ContentType.

type V1UpdateHostnameConfigResponse

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

func ParseV1UpdateHostnameConfigResponse

func ParseV1UpdateHostnameConfigResponse(rsp *http.Response) (*V1UpdateHostnameConfigResponse, error)

ParseV1UpdateHostnameConfigResponse parses an HTTP response from a V1UpdateHostnameConfigWithResponse call

func (V1UpdateHostnameConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateHostnameConfigResponse) StatusCode

func (r V1UpdateHostnameConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateNetworkRestrictionsJSONRequestBody

type V1UpdateNetworkRestrictionsJSONRequestBody = NetworkRestrictionsRequest

V1UpdateNetworkRestrictionsJSONRequestBody defines body for V1UpdateNetworkRestrictions for application/json ContentType.

type V1UpdateNetworkRestrictionsResponse

type V1UpdateNetworkRestrictionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *NetworkRestrictionsResponse
}

func ParseV1UpdateNetworkRestrictionsResponse

func ParseV1UpdateNetworkRestrictionsResponse(rsp *http.Response) (*V1UpdateNetworkRestrictionsResponse, error)

ParseV1UpdateNetworkRestrictionsResponse parses an HTTP response from a V1UpdateNetworkRestrictionsWithResponse call

func (V1UpdateNetworkRestrictionsResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateNetworkRestrictionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1UpdatePgsodiumConfigJSONRequestBody

type V1UpdatePgsodiumConfigJSONRequestBody = UpdatePgsodiumConfigBody

V1UpdatePgsodiumConfigJSONRequestBody defines body for V1UpdatePgsodiumConfig for application/json ContentType.

type V1UpdatePgsodiumConfigResponse

type V1UpdatePgsodiumConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PgsodiumConfigResponse
}

func ParseV1UpdatePgsodiumConfigResponse

func ParseV1UpdatePgsodiumConfigResponse(rsp *http.Response) (*V1UpdatePgsodiumConfigResponse, error)

ParseV1UpdatePgsodiumConfigResponse parses an HTTP response from a V1UpdatePgsodiumConfigWithResponse call

func (V1UpdatePgsodiumConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdatePgsodiumConfigResponse) StatusCode

func (r V1UpdatePgsodiumConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdatePostgresConfigJSONRequestBody

type V1UpdatePostgresConfigJSONRequestBody = UpdatePostgresConfigBody

V1UpdatePostgresConfigJSONRequestBody defines body for V1UpdatePostgresConfig for application/json ContentType.

type V1UpdatePostgresConfigResponse

type V1UpdatePostgresConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PostgresConfigResponse
}

func ParseV1UpdatePostgresConfigResponse

func ParseV1UpdatePostgresConfigResponse(rsp *http.Response) (*V1UpdatePostgresConfigResponse, error)

ParseV1UpdatePostgresConfigResponse parses an HTTP response from a V1UpdatePostgresConfigWithResponse call

func (V1UpdatePostgresConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdatePostgresConfigResponse) StatusCode

func (r V1UpdatePostgresConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdatePostgrestServiceConfigJSONRequestBody

type V1UpdatePostgrestServiceConfigJSONRequestBody = UpdatePostgrestConfigBody

V1UpdatePostgrestServiceConfigJSONRequestBody defines body for V1UpdatePostgrestServiceConfig for application/json ContentType.

type V1UpdatePostgrestServiceConfigResponse

type V1UpdatePostgrestServiceConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *V1PostgrestConfigResponse
}

func ParseV1UpdatePostgrestServiceConfigResponse

func ParseV1UpdatePostgrestServiceConfigResponse(rsp *http.Response) (*V1UpdatePostgrestServiceConfigResponse, error)

ParseV1UpdatePostgrestServiceConfigResponse parses an HTTP response from a V1UpdatePostgrestServiceConfigWithResponse call

func (V1UpdatePostgrestServiceConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdatePostgrestServiceConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1UpdateSslEnforcementConfigJSONRequestBody

type V1UpdateSslEnforcementConfigJSONRequestBody = SslEnforcementRequest

V1UpdateSslEnforcementConfigJSONRequestBody defines body for V1UpdateSslEnforcementConfig for application/json ContentType.

type V1UpdateSslEnforcementConfigResponse

type V1UpdateSslEnforcementConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SslEnforcementResponse
}

func ParseV1UpdateSslEnforcementConfigResponse

func ParseV1UpdateSslEnforcementConfigResponse(rsp *http.Response) (*V1UpdateSslEnforcementConfigResponse, error)

ParseV1UpdateSslEnforcementConfigResponse parses an HTTP response from a V1UpdateSslEnforcementConfigWithResponse call

func (V1UpdateSslEnforcementConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateSslEnforcementConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type V1UpdateStorageConfigJSONRequestBody

type V1UpdateStorageConfigJSONRequestBody = UpdateStorageConfigBody

V1UpdateStorageConfigJSONRequestBody defines body for V1UpdateStorageConfig for application/json ContentType.

type V1UpdateStorageConfigResponse

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

func ParseV1UpdateStorageConfigResponse

func ParseV1UpdateStorageConfigResponse(rsp *http.Response) (*V1UpdateStorageConfigResponse, error)

ParseV1UpdateStorageConfigResponse parses an HTTP response from a V1UpdateStorageConfigWithResponse call

func (V1UpdateStorageConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateStorageConfigResponse) StatusCode

func (r V1UpdateStorageConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpdateSupavisorConfigJSONRequestBody

type V1UpdateSupavisorConfigJSONRequestBody = UpdateSupavisorConfigBody

V1UpdateSupavisorConfigJSONRequestBody defines body for V1UpdateSupavisorConfig for application/json ContentType.

type V1UpdateSupavisorConfigResponse

type V1UpdateSupavisorConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpdateSupavisorConfigResponse
}

func ParseV1UpdateSupavisorConfigResponse

func ParseV1UpdateSupavisorConfigResponse(rsp *http.Response) (*V1UpdateSupavisorConfigResponse, error)

ParseV1UpdateSupavisorConfigResponse parses an HTTP response from a V1UpdateSupavisorConfigWithResponse call

func (V1UpdateSupavisorConfigResponse) Status

Status returns HTTPResponse.Status

func (V1UpdateSupavisorConfigResponse) StatusCode

func (r V1UpdateSupavisorConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1UpgradePostgresVersionJSONRequestBody

type V1UpgradePostgresVersionJSONRequestBody = UpgradeDatabaseBody

V1UpgradePostgresVersionJSONRequestBody defines body for V1UpgradePostgresVersion for application/json ContentType.

type V1UpgradePostgresVersionResponse

type V1UpgradePostgresVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ProjectUpgradeInitiateResponse
}

func ParseV1UpgradePostgresVersionResponse

func ParseV1UpgradePostgresVersionResponse(rsp *http.Response) (*V1UpgradePostgresVersionResponse, error)

ParseV1UpgradePostgresVersionResponse parses an HTTP response from a V1UpgradePostgresVersionWithResponse call

func (V1UpgradePostgresVersionResponse) Status

Status returns HTTPResponse.Status

func (V1UpgradePostgresVersionResponse) StatusCode

func (r V1UpgradePostgresVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type V1VerifyDnsConfigResponse

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

func ParseV1VerifyDnsConfigResponse

func ParseV1VerifyDnsConfigResponse(rsp *http.Response) (*V1VerifyDnsConfigResponse, error)

ParseV1VerifyDnsConfigResponse parses an HTTP response from a V1VerifyDnsConfigWithResponse call

func (V1VerifyDnsConfigResponse) Status

func (r V1VerifyDnsConfigResponse) Status() string

Status returns HTTPResponse.Status

func (V1VerifyDnsConfigResponse) StatusCode

func (r V1VerifyDnsConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidationError

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

ValidationError defines model for ValidationError.

type ValidationRecord

type ValidationRecord struct {
	TxtName  string `json:"txt_name"`
	TxtValue string `json:"txt_value"`
}

ValidationRecord defines model for ValidationRecord.

type VanitySubdomainBody

type VanitySubdomainBody struct {
	VanitySubdomain string `json:"vanity_subdomain"`
}

VanitySubdomainBody defines model for VanitySubdomainBody.

type VanitySubdomainConfigResponse

type VanitySubdomainConfigResponse struct {
	CustomDomain *string                             `json:"custom_domain,omitempty"`
	Status       VanitySubdomainConfigResponseStatus `json:"status"`
}

VanitySubdomainConfigResponse defines model for VanitySubdomainConfigResponse.

type VanitySubdomainConfigResponseStatus

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