{"modulePath":"github.com/Redstoneguy129/cli","version":"v0.0.0-20230211220159-15dca4e91917","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\nPackage api provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.\n\nPackage api provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.\n\n## Constants\n\n```go\nconst (\n\tApiKeyHeaderScopes = \"apiKeyHeader.Scopes\"\n\tApiKeyParamScopes  = \"apiKeyParam.Scopes\"\n\tBearerScopes       = \"bearer.Scopes\"\n)\n```\n\n## Functions\n\n```go\nfunc NewActivateRequest(server string, ref string) (*http.Request, error)\n```\nNewActivateRequest generates requests for Activate\n\n```go\nfunc NewActivateVanitySubdomainPleaseRequest(server string, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody) (*http.Request, error)\n```\nNewActivateVanitySubdomainPleaseRequest calls the generic ActivateVanitySubdomainPlease builder with application/json body\n\n```go\nfunc NewActivateVanitySubdomainPleaseRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewActivateVanitySubdomainPleaseRequestWithBody generates requests for ActivateVanitySubdomainPlease with any type of body\n\n```go\nfunc NewApplyNetworkRestrictionsRequest(server string, ref string, body ApplyNetworkRestrictionsJSONRequestBody) (*http.Request, error)\n```\nNewApplyNetworkRestrictionsRequest calls the generic ApplyNetworkRestrictions builder with application/json body\n\n```go\nfunc NewApplyNetworkRestrictionsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewApplyNetworkRestrictionsRequestWithBody generates requests for ApplyNetworkRestrictions with any type of body\n\n```go\nfunc NewCheckVanitySubdomainAvailabilityRequest(server string, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody) (*http.Request, error)\n```\nNewCheckVanitySubdomainAvailabilityRequest calls the generic CheckVanitySubdomainAvailability builder with application/json body\n\n```go\nfunc NewCheckVanitySubdomainAvailabilityRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCheckVanitySubdomainAvailabilityRequestWithBody generates requests for CheckVanitySubdomainAvailability with any type of body\n\n```go\nfunc NewCreateCustomHostnameConfigRequest(server string, ref string, body CreateCustomHostnameConfigJSONRequestBody) (*http.Request, error)\n```\nNewCreateCustomHostnameConfigRequest calls the generic CreateCustomHostnameConfig builder with application/json body\n\n```go\nfunc NewCreateCustomHostnameConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateCustomHostnameConfigRequestWithBody generates requests for CreateCustomHostnameConfig with any type of body\n\n```go\nfunc NewCreateFunctionRequest(server string, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody) (*http.Request, error)\n```\nNewCreateFunctionRequest calls the generic CreateFunction builder with application/json body\n\n```go\nfunc NewCreateFunctionRequestWithBody(server string, ref string, params *CreateFunctionParams, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateFunctionRequestWithBody generates requests for CreateFunction with any type of body\n\n```go\nfunc NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)\n```\nNewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body\n\n```go\nfunc NewCreateOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateOrganizationRequestWithBody generates requests for CreateOrganization with any type of body\n\n```go\nfunc NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)\n```\nNewCreateProjectRequest calls the generic CreateProject builder with application/json body\n\n```go\nfunc NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateProjectRequestWithBody generates requests for CreateProject with any type of body\n\n```go\nfunc NewCreateSecretsRequest(server string, ref string, body CreateSecretsJSONRequestBody) (*http.Request, error)\n```\nNewCreateSecretsRequest calls the generic CreateSecrets builder with application/json body\n\n```go\nfunc NewCreateSecretsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateSecretsRequestWithBody generates requests for CreateSecrets with any type of body\n\n```go\nfunc NewDeleteFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)\n```\nNewDeleteFunctionRequest generates requests for DeleteFunction\n\n```go\nfunc NewDeleteSecretsRequest(server string, ref string, body DeleteSecretsJSONRequestBody) (*http.Request, error)\n```\nNewDeleteSecretsRequest calls the generic DeleteSecrets builder with application/json body\n\n```go\nfunc NewDeleteSecretsRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewDeleteSecretsRequestWithBody generates requests for DeleteSecrets with any type of body\n\n```go\nfunc NewGetConfigRequest(server string, ref string) (*http.Request, error)\n```\nNewGetConfigRequest generates requests for GetConfig\n\n```go\nfunc NewGetCustomHostnameConfigRequest(server string, ref string) (*http.Request, error)\n```\nNewGetCustomHostnameConfigRequest generates requests for GetCustomHostnameConfig\n\n```go\nfunc NewGetFunctionBodyRequest(server string, ref string, functionSlug string) (*http.Request, error)\n```\nNewGetFunctionBodyRequest generates requests for GetFunctionBody\n\n```go\nfunc NewGetFunctionRequest(server string, ref string, functionSlug string) (*http.Request, error)\n```\nNewGetFunctionRequest generates requests for GetFunction\n\n```go\nfunc NewGetFunctionsRequest(server string, ref string) (*http.Request, error)\n```\nNewGetFunctionsRequest generates requests for GetFunctions\n\n```go\nfunc NewGetNetworkBansRequest(server string, ref string) (*http.Request, error)\n```\nNewGetNetworkBansRequest generates requests for GetNetworkBans\n\n```go\nfunc NewGetNetworkRestrictionsRequest(server string, ref string) (*http.Request, error)\n```\nNewGetNetworkRestrictionsRequest generates requests for GetNetworkRestrictions\n\n```go\nfunc NewGetOrganizationsRequest(server string) (*http.Request, error)\n```\nNewGetOrganizationsRequest generates requests for GetOrganizations\n\n```go\nfunc NewGetPostgRESTConfigRequest(server string, ref string) (*http.Request, error)\n```\nNewGetPostgRESTConfigRequest generates requests for GetPostgRESTConfig\n\n```go\nfunc NewGetProjectsRequest(server string) (*http.Request, error)\n```\nNewGetProjectsRequest generates requests for GetProjects\n\n```go\nfunc NewGetSecretsRequest(server string, ref string) (*http.Request, error)\n```\nNewGetSecretsRequest generates requests for GetSecrets\n\n```go\nfunc NewGetSslEnforcementConfigRequest(server string, ref string) (*http.Request, error)\n```\nNewGetSslEnforcementConfigRequest generates requests for GetSslEnforcementConfig\n\n```go\nfunc NewGetTypescriptTypesRequest(server string, ref string, params *GetTypescriptTypesParams) (*http.Request, error)\n```\nNewGetTypescriptTypesRequest generates requests for GetTypescriptTypes\n\n```go\nfunc NewGetVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)\n```\nNewGetVanitySubdomainConfigRequest generates requests for GetVanitySubdomainConfig\n\n```go\nfunc NewRemoveCustomHostnameConfigRequest(server string, ref string) (*http.Request, error)\n```\nNewRemoveCustomHostnameConfigRequest generates requests for RemoveCustomHostnameConfig\n\n```go\nfunc NewRemoveNetworkBanRequest(server string, ref string, body RemoveNetworkBanJSONRequestBody) (*http.Request, error)\n```\nNewRemoveNetworkBanRequest calls the generic RemoveNetworkBan builder with application/json body\n\n```go\nfunc NewRemoveNetworkBanRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewRemoveNetworkBanRequestWithBody generates requests for RemoveNetworkBan with any type of body\n\n```go\nfunc NewRemoveVanitySubdomainConfigRequest(server string, ref string) (*http.Request, error)\n```\nNewRemoveVanitySubdomainConfigRequest generates requests for RemoveVanitySubdomainConfig\n\n```go\nfunc NewReverifyRequest(server string, ref string) (*http.Request, error)\n```\nNewReverifyRequest generates requests for Reverify\n\n```go\nfunc NewUpdateConfigRequest(server string, ref string, body UpdateConfigJSONRequestBody) (*http.Request, error)\n```\nNewUpdateConfigRequest calls the generic UpdateConfig builder with application/json body\n\n```go\nfunc NewUpdateConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateConfigRequestWithBody generates requests for UpdateConfig with any type of body\n\n```go\nfunc NewUpdateFunctionRequest(server string, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody) (*http.Request, error)\n```\nNewUpdateFunctionRequest calls the generic UpdateFunction builder with application/json body\n\n```go\nfunc NewUpdateFunctionRequestWithBody(server string, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateFunctionRequestWithBody generates requests for UpdateFunction with any type of body\n\n```go\nfunc NewUpdatePostgRESTConfigRequest(server string, ref string, body UpdatePostgRESTConfigJSONRequestBody) (*http.Request, error)\n```\nNewUpdatePostgRESTConfigRequest calls the generic UpdatePostgRESTConfig builder with application/json body\n\n```go\nfunc NewUpdatePostgRESTConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdatePostgRESTConfigRequestWithBody generates requests for UpdatePostgRESTConfig with any type of body\n\n```go\nfunc NewUpdateSslEnforcementConfigRequest(server string, ref string, body UpdateSslEnforcementConfigJSONRequestBody) (*http.Request, error)\n```\nNewUpdateSslEnforcementConfigRequest calls the generic UpdateSslEnforcementConfig builder with application/json body\n\n```go\nfunc NewUpdateSslEnforcementConfigRequestWithBody(server string, ref string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateSslEnforcementConfigRequestWithBody generates requests for UpdateSslEnforcementConfig with any type of body\n\n## Types\n\n```go\ntype ActivateResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *UpdateCustomHostnameResponse\n}\n```\n\n```go\nfunc ParseActivateResponse(rsp *http.Response) (*ActivateResponse, error)\n```\nParseActivateResponse parses an HTTP response from a ActivateWithResponse call\n\n```go\nfunc (r ActivateResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ActivateResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype ActivateVanitySubdomainPleaseJSONRequestBody = VanitySubdomainBody\n```\nActivateVanitySubdomainPleaseJSONRequestBody defines body for ActivateVanitySubdomainPlease for application/json ContentType.\n\n```go\ntype ActivateVanitySubdomainPleaseResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *ActivateVanitySubdomainResponse\n}\n```\n\n```go\nfunc ParseActivateVanitySubdomainPleaseResponse(rsp *http.Response) (*ActivateVanitySubdomainPleaseResponse, error)\n```\nParseActivateVanitySubdomainPleaseResponse parses an HTTP response from a ActivateVanitySubdomainPleaseWithResponse call\n\n```go\nfunc (r ActivateVanitySubdomainPleaseResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ActivateVanitySubdomainPleaseResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype ActivateVanitySubdomainResponse struct {\n\tCustomDomain string `json:\"custom_domain\"`\n}\n```\nActivateVanitySubdomainResponse defines model for ActivateVanitySubdomainResponse.\n\n```go\ntype ApplyNetworkRestrictionsJSONRequestBody = NetworkRestrictionsRequest\n```\nApplyNetworkRestrictionsJSONRequestBody defines body for ApplyNetworkRestrictions for application/json ContentType.\n\n```go\ntype ApplyNetworkRestrictionsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *NetworkRestrictionsResponse\n}\n```\n\n```go\nfunc ParseApplyNetworkRestrictionsResponse(rsp *http.Response) (*ApplyNetworkRestrictionsResponse, error)\n```\nParseApplyNetworkRestrictionsResponse parses an HTTP response from a ApplyNetworkRestrictionsWithResponse call\n\n```go\nfunc (r ApplyNetworkRestrictionsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ApplyNetworkRestrictionsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CheckVanitySubdomainAvailabilityJSONRequestBody = VanitySubdomainBody\n```\nCheckVanitySubdomainAvailabilityJSONRequestBody defines body for CheckVanitySubdomainAvailability for application/json ContentType.\n\n```go\ntype CheckVanitySubdomainAvailabilityResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *SubdomainAvailabilityResponse\n}\n```\n\n```go\nfunc ParseCheckVanitySubdomainAvailabilityResponse(rsp *http.Response) (*CheckVanitySubdomainAvailabilityResponse, error)\n```\nParseCheckVanitySubdomainAvailabilityResponse parses an HTTP response from a CheckVanitySubdomainAvailabilityWithResponse call\n\n```go\nfunc (r CheckVanitySubdomainAvailabilityResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CheckVanitySubdomainAvailabilityResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype Client struct {\n\t// The endpoint of the server conforming to this interface, with scheme,\n\t// https://api.deepmap.com for example. This can contain a path relative\n\t// to the server, such as https://api.deepmap.com/dev-test, and all the\n\t// paths in the swagger spec will be appended to the server.\n\tServer string\n\n\t// Doer for performing requests, typically a *http.Client with any\n\t// customized settings, such as certificate chains.\n\tClient HttpRequestDoer\n\n\t// A list of callbacks for modifying requests which are generated before sending over\n\t// the network.\n\tRequestEditors []RequestEditorFn\n}\n```\nClient which conforms to the OpenAPI3 specification for this service.\n\n```go\nfunc NewClient(server string, opts ...ClientOption) (*Client, error)\n```\nCreates a new Client, with reasonable defaults\n\n```go\nfunc (c *Client) Activate(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) ActivateVanitySubdomainPlease(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) ActivateVanitySubdomainPleaseWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) ApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) ApplyNetworkRestrictionsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CheckVanitySubdomainAvailability(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CheckVanitySubdomainAvailabilityWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateCustomHostnameConfig(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateCustomHostnameConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateFunction(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateFunctionWithBody(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateSecrets(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) CreateSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) DeleteFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) DeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) DeleteSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetFunctionBody(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetFunctions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetNetworkBans(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetNetworkRestrictions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetPostgRESTConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetSecrets(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetSslEnforcementConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) GetVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) RemoveCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) RemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) RemoveNetworkBanWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) RemoveVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) Reverify(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdateConfig(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdateConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdateFunction(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdateFunctionWithBody(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdatePostgRESTConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdateSslEnforcementConfig(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\nfunc (c *Client) UpdateSslEnforcementConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\n\n```go\ntype ClientInterface interface {\n\t// GetOrganizations request\n\tGetOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateOrganization request with any body\n\tCreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tCreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetProjects request\n\tGetProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateProject request with any body\n\tCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tCreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// RemoveCustomHostnameConfig request\n\tRemoveCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetCustomHostnameConfig request\n\tGetCustomHostnameConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// Activate request\n\tActivate(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateCustomHostnameConfig request with any body\n\tCreateCustomHostnameConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tCreateCustomHostnameConfig(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// Reverify request\n\tReverify(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetFunctions request\n\tGetFunctions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateFunction request with any body\n\tCreateFunctionWithBody(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tCreateFunction(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteFunction request\n\tDeleteFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetFunction request\n\tGetFunction(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateFunction request with any body\n\tUpdateFunctionWithBody(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tUpdateFunction(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetFunctionBody request\n\tGetFunctionBody(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// RemoveNetworkBan request with any body\n\tRemoveNetworkBanWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tRemoveNetworkBan(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetNetworkBans request\n\tGetNetworkBans(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetNetworkRestrictions request\n\tGetNetworkRestrictions(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ApplyNetworkRestrictions request with any body\n\tApplyNetworkRestrictionsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tApplyNetworkRestrictions(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetConfig request\n\tGetConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateConfig request with any body\n\tUpdateConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tUpdateConfig(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetPostgRESTConfig request\n\tGetPostgRESTConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdatePostgRESTConfig request with any body\n\tUpdatePostgRESTConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tUpdatePostgRESTConfig(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteSecrets request with any body\n\tDeleteSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tDeleteSecrets(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetSecrets request\n\tGetSecrets(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateSecrets request with any body\n\tCreateSecretsWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tCreateSecrets(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetSslEnforcementConfig request\n\tGetSslEnforcementConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateSslEnforcementConfig request with any body\n\tUpdateSslEnforcementConfigWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tUpdateSslEnforcementConfig(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetTypescriptTypes request\n\tGetTypescriptTypes(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// RemoveVanitySubdomainConfig request\n\tRemoveVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetVanitySubdomainConfig request\n\tGetVanitySubdomainConfig(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ActivateVanitySubdomainPlease request with any body\n\tActivateVanitySubdomainPleaseWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tActivateVanitySubdomainPlease(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CheckVanitySubdomainAvailability request with any body\n\tCheckVanitySubdomainAvailabilityWithBody(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\tCheckVanitySubdomainAvailability(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n}\n```\nThe interface specification for the client above.\n\n```go\ntype ClientOption func(*Client) error\n```\nClientOption allows setting custom parameters during construction\n\n```go\nfunc WithBaseURL(baseURL string) ClientOption\n```\nWithBaseURL overrides the baseURL.\n\n```go\nfunc WithHTTPClient(doer HttpRequestDoer) ClientOption\n```\nWithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.\n\n```go\nfunc WithRequestEditorFn(fn RequestEditorFn) ClientOption\n```\nWithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.\n\n```go\ntype ClientWithResponses struct {\n\tClientInterface\n}\n```\nClientWithResponses builds on ClientInterface to offer response payloads\n\n```go\nfunc NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)\n```\nNewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling\n\n```go\nfunc (c *ClientWithResponses) ActivateVanitySubdomainPleaseWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)\n```\nActivateVanitySubdomainPleaseWithBodyWithResponse request with arbitrary body returning \\*ActivateVanitySubdomainPleaseResponse\n\n```go\nfunc (c *ClientWithResponses) ActivateVanitySubdomainPleaseWithResponse(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) ActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error)\n```\nActivateWithResponse request returning \\*ActivateResponse\n\n```go\nfunc (c *ClientWithResponses) ApplyNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)\n```\nApplyNetworkRestrictionsWithBodyWithResponse request with arbitrary body returning \\*ApplyNetworkRestrictionsResponse\n\n```go\nfunc (c *ClientWithResponses) ApplyNetworkRestrictionsWithResponse(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) CheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)\n```\nCheckVanitySubdomainAvailabilityWithBodyWithResponse request with arbitrary body returning \\*CheckVanitySubdomainAvailabilityResponse\n\n```go\nfunc (c *ClientWithResponses) CheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) CreateCustomHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)\n```\nCreateCustomHostnameConfigWithBodyWithResponse request with arbitrary body returning \\*CreateCustomHostnameConfigResponse\n\n```go\nfunc (c *ClientWithResponses) CreateCustomHostnameConfigWithResponse(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) CreateFunctionWithBodyWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)\n```\nCreateFunctionWithBodyWithResponse request with arbitrary body returning \\*CreateFunctionResponse\n\n```go\nfunc (c *ClientWithResponses) CreateFunctionWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)\n```\nCreateOrganizationWithBodyWithResponse request with arbitrary body returning \\*CreateOrganizationResponse\n\n```go\nfunc (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)\n```\nCreateProjectWithBodyWithResponse request with arbitrary body returning \\*CreateProjectResponse\n\n```go\nfunc (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) CreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)\n```\nCreateSecretsWithBodyWithResponse request with arbitrary body returning \\*CreateSecretsResponse\n\n```go\nfunc (c *ClientWithResponses) CreateSecretsWithResponse(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)\n```\nDeleteFunctionWithResponse request returning \\*DeleteFunctionResponse\n\n```go\nfunc (c *ClientWithResponses) DeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)\n```\nDeleteSecretsWithBodyWithResponse request with arbitrary body returning \\*DeleteSecretsResponse\n\n```go\nfunc (c *ClientWithResponses) DeleteSecretsWithResponse(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)\n```\nGetConfigWithResponse request returning \\*GetConfigResponse\n\n```go\nfunc (c *ClientWithResponses) GetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error)\n```\nGetCustomHostnameConfigWithResponse request returning \\*GetCustomHostnameConfigResponse\n\n```go\nfunc (c *ClientWithResponses) GetFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionBodyResponse, error)\n```\nGetFunctionBodyWithResponse request returning \\*GetFunctionBodyResponse\n\n```go\nfunc (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)\n```\nGetFunctionWithResponse request returning \\*GetFunctionResponse\n\n```go\nfunc (c *ClientWithResponses) GetFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetFunctionsResponse, error)\n```\nGetFunctionsWithResponse request returning \\*GetFunctionsResponse\n\n```go\nfunc (c *ClientWithResponses) GetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error)\n```\nGetNetworkBansWithResponse request returning \\*GetNetworkBansResponse\n\n```go\nfunc (c *ClientWithResponses) GetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkRestrictionsResponse, error)\n```\nGetNetworkRestrictionsWithResponse request returning \\*GetNetworkRestrictionsResponse\n\n```go\nfunc (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)\n```\nGetOrganizationsWithResponse request returning \\*GetOrganizationsResponse\n\n```go\nfunc (c *ClientWithResponses) GetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error)\n```\nGetPostgRESTConfigWithResponse request returning \\*GetPostgRESTConfigResponse\n\n```go\nfunc (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)\n```\nGetProjectsWithResponse request returning \\*GetProjectsResponse\n\n```go\nfunc (c *ClientWithResponses) GetSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)\n```\nGetSecretsWithResponse request returning \\*GetSecretsResponse\n\n```go\nfunc (c *ClientWithResponses) GetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error)\n```\nGetSslEnforcementConfigWithResponse request returning \\*GetSslEnforcementConfigResponse\n\n```go\nfunc (c *ClientWithResponses) GetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*GetTypescriptTypesResponse, error)\n```\nGetTypescriptTypesWithResponse request returning \\*GetTypescriptTypesResponse\n\n```go\nfunc (c *ClientWithResponses) GetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error)\n```\nGetVanitySubdomainConfigWithResponse request returning \\*GetVanitySubdomainConfigResponse\n\n```go\nfunc (c *ClientWithResponses) RemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error)\n```\nRemoveCustomHostnameConfigWithResponse request returning \\*RemoveCustomHostnameConfigResponse\n\n```go\nfunc (c *ClientWithResponses) RemoveNetworkBanWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)\n```\nRemoveNetworkBanWithBodyWithResponse request with arbitrary body returning \\*RemoveNetworkBanResponse\n\n```go\nfunc (c *ClientWithResponses) RemoveNetworkBanWithResponse(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) RemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error)\n```\nRemoveVanitySubdomainConfigWithResponse request returning \\*RemoveVanitySubdomainConfigResponse\n\n```go\nfunc (c *ClientWithResponses) ReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error)\n```\nReverifyWithResponse request returning \\*ReverifyResponse\n\n```go\nfunc (c *ClientWithResponses) UpdateConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)\n```\nUpdateConfigWithBodyWithResponse request with arbitrary body returning \\*UpdateConfigResponse\n\n```go\nfunc (c *ClientWithResponses) UpdateConfigWithResponse(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) UpdateFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)\n```\nUpdateFunctionWithBodyWithResponse request with arbitrary body returning \\*UpdateFunctionResponse\n\n```go\nfunc (c *ClientWithResponses) UpdateFunctionWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) UpdatePostgRESTConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)\n```\nUpdatePostgRESTConfigWithBodyWithResponse request with arbitrary body returning \\*UpdatePostgRESTConfigResponse\n\n```go\nfunc (c *ClientWithResponses) UpdatePostgRESTConfigWithResponse(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)\n```\n\n```go\nfunc (c *ClientWithResponses) UpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)\n```\nUpdateSslEnforcementConfigWithBodyWithResponse request with arbitrary body returning \\*UpdateSslEnforcementConfigResponse\n\n```go\nfunc (c *ClientWithResponses) UpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)\n```\n\n```go\ntype ClientWithResponsesInterface interface {\n\t// GetOrganizations request\n\tGetOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)\n\n\t// CreateOrganization request with any body\n\tCreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)\n\n\tCreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)\n\n\t// GetProjects request\n\tGetProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)\n\n\t// CreateProject request with any body\n\tCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)\n\n\tCreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)\n\n\t// RemoveCustomHostnameConfig request\n\tRemoveCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveCustomHostnameConfigResponse, error)\n\n\t// GetCustomHostnameConfig request\n\tGetCustomHostnameConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetCustomHostnameConfigResponse, error)\n\n\t// Activate request\n\tActivateWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ActivateResponse, error)\n\n\t// CreateCustomHostnameConfig request with any body\n\tCreateCustomHostnameConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)\n\n\tCreateCustomHostnameConfigWithResponse(ctx context.Context, ref string, body CreateCustomHostnameConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomHostnameConfigResponse, error)\n\n\t// Reverify request\n\tReverifyWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*ReverifyResponse, error)\n\n\t// GetFunctions request\n\tGetFunctionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetFunctionsResponse, error)\n\n\t// CreateFunction request with any body\n\tCreateFunctionWithBodyWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)\n\n\tCreateFunctionWithResponse(ctx context.Context, ref string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)\n\n\t// DeleteFunction request\n\tDeleteFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)\n\n\t// GetFunction request\n\tGetFunctionWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)\n\n\t// UpdateFunction request with any body\n\tUpdateFunctionWithBodyWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)\n\n\tUpdateFunctionWithResponse(ctx context.Context, ref string, functionSlug string, params *UpdateFunctionParams, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)\n\n\t// GetFunctionBody request\n\tGetFunctionBodyWithResponse(ctx context.Context, ref string, functionSlug string, reqEditors ...RequestEditorFn) (*GetFunctionBodyResponse, error)\n\n\t// RemoveNetworkBan request with any body\n\tRemoveNetworkBanWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)\n\n\tRemoveNetworkBanWithResponse(ctx context.Context, ref string, body RemoveNetworkBanJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveNetworkBanResponse, error)\n\n\t// GetNetworkBans request\n\tGetNetworkBansWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkBansResponse, error)\n\n\t// GetNetworkRestrictions request\n\tGetNetworkRestrictionsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetNetworkRestrictionsResponse, error)\n\n\t// ApplyNetworkRestrictions request with any body\n\tApplyNetworkRestrictionsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)\n\n\tApplyNetworkRestrictionsWithResponse(ctx context.Context, ref string, body ApplyNetworkRestrictionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyNetworkRestrictionsResponse, error)\n\n\t// GetConfig request\n\tGetConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)\n\n\t// UpdateConfig request with any body\n\tUpdateConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)\n\n\tUpdateConfigWithResponse(ctx context.Context, ref string, body UpdateConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigResponse, error)\n\n\t// GetPostgRESTConfig request\n\tGetPostgRESTConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetPostgRESTConfigResponse, error)\n\n\t// UpdatePostgRESTConfig request with any body\n\tUpdatePostgRESTConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)\n\n\tUpdatePostgRESTConfigWithResponse(ctx context.Context, ref string, body UpdatePostgRESTConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostgRESTConfigResponse, error)\n\n\t// DeleteSecrets request with any body\n\tDeleteSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)\n\n\tDeleteSecretsWithResponse(ctx context.Context, ref string, body DeleteSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretsResponse, error)\n\n\t// GetSecrets request\n\tGetSecretsWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)\n\n\t// CreateSecrets request with any body\n\tCreateSecretsWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)\n\n\tCreateSecretsWithResponse(ctx context.Context, ref string, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretsResponse, error)\n\n\t// GetSslEnforcementConfig request\n\tGetSslEnforcementConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetSslEnforcementConfigResponse, error)\n\n\t// UpdateSslEnforcementConfig request with any body\n\tUpdateSslEnforcementConfigWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)\n\n\tUpdateSslEnforcementConfigWithResponse(ctx context.Context, ref string, body UpdateSslEnforcementConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSslEnforcementConfigResponse, error)\n\n\t// GetTypescriptTypes request\n\tGetTypescriptTypesWithResponse(ctx context.Context, ref string, params *GetTypescriptTypesParams, reqEditors ...RequestEditorFn) (*GetTypescriptTypesResponse, error)\n\n\t// RemoveVanitySubdomainConfig request\n\tRemoveVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*RemoveVanitySubdomainConfigResponse, error)\n\n\t// GetVanitySubdomainConfig request\n\tGetVanitySubdomainConfigWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetVanitySubdomainConfigResponse, error)\n\n\t// ActivateVanitySubdomainPlease request with any body\n\tActivateVanitySubdomainPleaseWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)\n\n\tActivateVanitySubdomainPleaseWithResponse(ctx context.Context, ref string, body ActivateVanitySubdomainPleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateVanitySubdomainPleaseResponse, error)\n\n\t// CheckVanitySubdomainAvailability request with any body\n\tCheckVanitySubdomainAvailabilityWithBodyWithResponse(ctx context.Context, ref string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)\n\n\tCheckVanitySubdomainAvailabilityWithResponse(ctx context.Context, ref string, body CheckVanitySubdomainAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckVanitySubdomainAvailabilityResponse, error)\n}\n```\nClientWithResponsesInterface is the interface specification for the client with responses above.\n\n```go\ntype CreateCustomHostnameConfigJSONRequestBody = UpdateCustomHostnameBody\n```\nCreateCustomHostnameConfigJSONRequestBody defines body for CreateCustomHostnameConfig for application/json ContentType.\n\n```go\ntype CreateCustomHostnameConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *UpdateCustomHostnameResponse\n}\n```\n\n```go\nfunc ParseCreateCustomHostnameConfigResponse(rsp *http.Response) (*CreateCustomHostnameConfigResponse, error)\n```\nParseCreateCustomHostnameConfigResponse parses an HTTP response from a CreateCustomHostnameConfigWithResponse call\n\n```go\nfunc (r CreateCustomHostnameConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateCustomHostnameConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CreateFunctionBody struct {\n\tBody      string `json:\"body\"`\n\tName      string `json:\"name\"`\n\tSlug      string `json:\"slug\"`\n\tVerifyJwt *bool  `json:\"verify_jwt,omitempty\"`\n}\n```\nCreateFunctionBody defines model for CreateFunctionBody.\n\n```go\ntype CreateFunctionJSONRequestBody = CreateFunctionBody\n```\nCreateFunctionJSONRequestBody defines body for CreateFunction for application/json ContentType.\n\n```go\ntype CreateFunctionParams struct {\n\tSlug      *string `form:\"slug,omitempty\" json:\"slug,omitempty\"`\n\tName      *string `form:\"name,omitempty\" json:\"name,omitempty\"`\n\tVerifyJwt *bool   `form:\"verify_jwt,omitempty\" json:\"verify_jwt,omitempty\"`\n\tImportMap *bool   `form:\"import_map,omitempty\" json:\"import_map,omitempty\"`\n}\n```\nCreateFunctionParams defines parameters for CreateFunction.\n\n```go\ntype CreateFunctionResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *FunctionResponse\n}\n```\n\n```go\nfunc ParseCreateFunctionResponse(rsp *http.Response) (*CreateFunctionResponse, error)\n```\nParseCreateFunctionResponse parses an HTTP response from a CreateFunctionWithResponse call\n\n```go\nfunc (r CreateFunctionResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateFunctionResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CreateOrganizationBody struct {\n\tName string `json:\"name\"`\n}\n```\nCreateOrganizationBody defines model for CreateOrganizationBody.\n\n```go\ntype CreateOrganizationJSONRequestBody = CreateOrganizationBody\n```\nCreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.\n\n```go\ntype CreateOrganizationResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *OrganizationResponse\n}\n```\n\n```go\nfunc ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error)\n```\nParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call\n\n```go\nfunc (r CreateOrganizationResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateOrganizationResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CreateProjectBody struct {\n\tDbPass         string                  `json:\"db_pass\"`\n\tKpsEnabled     *bool                   `json:\"kps_enabled,omitempty\"`\n\tName           string                  `json:\"name\"`\n\tOrganizationId string                  `json:\"organization_id\"`\n\tPlan           CreateProjectBodyPlan   `json:\"plan\"`\n\tRegion         CreateProjectBodyRegion `json:\"region\"`\n}\n```\nCreateProjectBody defines model for CreateProjectBody.\n\n```go\ntype CreateProjectBodyPlan string\n```\nCreateProjectBodyPlan defines model for CreateProjectBody.Plan.\n\n```go\nconst (\n\tFree CreateProjectBodyPlan = \"free\"\n\tPro  CreateProjectBodyPlan = \"pro\"\n)\n```\nDefines values for CreateProjectBodyPlan.\n\n```go\ntype CreateProjectBodyRegion string\n```\nCreateProjectBodyRegion defines model for CreateProjectBody.Region.\n\n```go\nconst (\n\tApNortheast1 CreateProjectBodyRegion = \"ap-northeast-1\"\n\tApNortheast2 CreateProjectBodyRegion = \"ap-northeast-2\"\n\tApSouth1     CreateProjectBodyRegion = \"ap-south-1\"\n\tApSoutheast1 CreateProjectBodyRegion = \"ap-southeast-1\"\n\tApSoutheast2 CreateProjectBodyRegion = \"ap-southeast-2\"\n\tCaCentral1   CreateProjectBodyRegion = \"ca-central-1\"\n\tEuCentral1   CreateProjectBodyRegion = \"eu-central-1\"\n\tEuWest1      CreateProjectBodyRegion = \"eu-west-1\"\n\tEuWest2      CreateProjectBodyRegion = \"eu-west-2\"\n\tEuWest3      CreateProjectBodyRegion = \"eu-west-3\"\n\tSaEast1      CreateProjectBodyRegion = \"sa-east-1\"\n\tUsEast1      CreateProjectBodyRegion = \"us-east-1\"\n\tUsWest1      CreateProjectBodyRegion = \"us-west-1\"\n)\n```\nDefines values for CreateProjectBodyRegion.\n\n```go\ntype CreateProjectJSONRequestBody = CreateProjectBody\n```\nCreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.\n\n```go\ntype CreateProjectResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *ProjectResponse\n}\n```\n\n```go\nfunc ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)\n```\nParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call\n\n```go\nfunc (r CreateProjectResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateProjectResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CreateSecretBody struct {\n\tName  string `json:\"name\"`\n\tValue string `json:\"value\"`\n}\n```\nCreateSecretBody defines model for CreateSecretBody.\n\n```go\ntype CreateSecretsJSONBody = []CreateSecretBody\n```\nCreateSecretsJSONBody defines parameters for CreateSecrets.\n\n```go\ntype CreateSecretsJSONRequestBody = CreateSecretsJSONBody\n```\nCreateSecretsJSONRequestBody defines body for CreateSecrets for application/json ContentType.\n\n```go\ntype CreateSecretsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n}\n```\n\n```go\nfunc ParseCreateSecretsResponse(rsp *http.Response) (*CreateSecretsResponse, error)\n```\nParseCreateSecretsResponse parses an HTTP response from a CreateSecretsWithResponse call\n\n```go\nfunc (r CreateSecretsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateSecretsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DatabaseResponse struct {\n\tHost    string `json:\"host\"`\n\tVersion string `json:\"version\"`\n}\n```\nDatabaseResponse defines model for DatabaseResponse.\n\n```go\ntype DeleteFunctionResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n}\n```\n\n```go\nfunc ParseDeleteFunctionResponse(rsp *http.Response) (*DeleteFunctionResponse, error)\n```\nParseDeleteFunctionResponse parses an HTTP response from a DeleteFunctionWithResponse call\n\n```go\nfunc (r DeleteFunctionResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteFunctionResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteSecretsJSONBody = []string\n```\nDeleteSecretsJSONBody defines parameters for DeleteSecrets.\n\n```go\ntype DeleteSecretsJSONRequestBody = DeleteSecretsJSONBody\n```\nDeleteSecretsJSONRequestBody defines body for DeleteSecrets for application/json ContentType.\n\n```go\ntype DeleteSecretsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *map[string]interface{}\n}\n```\n\n```go\nfunc ParseDeleteSecretsResponse(rsp *http.Response) (*DeleteSecretsResponse, error)\n```\nParseDeleteSecretsResponse parses an HTTP response from a DeleteSecretsWithResponse call\n\n```go\nfunc (r DeleteSecretsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteSecretsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype FunctionResponse struct {\n\tCreatedAt float32                `json:\"created_at\"`\n\tId        string                 `json:\"id\"`\n\tImportMap *bool                  `json:\"import_map,omitempty\"`\n\tName      string                 `json:\"name\"`\n\tSlug      string                 `json:\"slug\"`\n\tStatus    FunctionResponseStatus `json:\"status\"`\n\tUpdatedAt float32                `json:\"updated_at\"`\n\tVerifyJwt *bool                  `json:\"verify_jwt,omitempty\"`\n\tVersion   float32                `json:\"version\"`\n}\n```\nFunctionResponse defines model for FunctionResponse.\n\n```go\ntype FunctionResponseStatus string\n```\nFunctionResponseStatus defines model for FunctionResponse.Status.\n\n```go\nconst (\n\tFunctionResponseStatusACTIVE    FunctionResponseStatus = \"ACTIVE\"\n\tFunctionResponseStatusREMOVED   FunctionResponseStatus = \"REMOVED\"\n\tFunctionResponseStatusTHROTTLED FunctionResponseStatus = \"THROTTLED\"\n)\n```\nDefines values for FunctionResponseStatus.\n\n```go\ntype FunctionSlugResponse struct {\n\tBody      *string                    `json:\"body,omitempty\"`\n\tCreatedAt float32                    `json:\"created_at\"`\n\tId        string                     `json:\"id\"`\n\tImportMap *bool                      `json:\"import_map,omitempty\"`\n\tName      string                     `json:\"name\"`\n\tSlug      string                     `json:\"slug\"`\n\tStatus    FunctionSlugResponseStatus `json:\"status\"`\n\tUpdatedAt float32                    `json:\"updated_at\"`\n\tVerifyJwt *bool                      `json:\"verify_jwt,omitempty\"`\n\tVersion   float32                    `json:\"version\"`\n}\n```\nFunctionSlugResponse defines model for FunctionSlugResponse.\n\n```go\ntype FunctionSlugResponseStatus string\n```\nFunctionSlugResponseStatus defines model for FunctionSlugResponse.Status.\n\n```go\nconst (\n\tFunctionSlugResponseStatusACTIVE    FunctionSlugResponseStatus = \"ACTIVE\"\n\tFunctionSlugResponseStatusREMOVED   FunctionSlugResponseStatus = \"REMOVED\"\n\tFunctionSlugResponseStatusTHROTTLED FunctionSlugResponseStatus = \"THROTTLED\"\n)\n```\nDefines values for FunctionSlugResponseStatus.\n\n```go\ntype GetConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *PgsodiumConfigResponse\n}\n```\n\n```go\nfunc ParseGetConfigResponse(rsp *http.Response) (*GetConfigResponse, error)\n```\nParseGetConfigResponse parses an HTTP response from a GetConfigWithResponse call\n\n```go\nfunc (r GetConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetCustomHostnameConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *UpdateCustomHostnameResponse\n}\n```\n\n```go\nfunc ParseGetCustomHostnameConfigResponse(rsp *http.Response) (*GetCustomHostnameConfigResponse, error)\n```\nParseGetCustomHostnameConfigResponse parses an HTTP response from a GetCustomHostnameConfigWithResponse call\n\n```go\nfunc (r GetCustomHostnameConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetCustomHostnameConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetFunctionBodyResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n}\n```\n\n```go\nfunc ParseGetFunctionBodyResponse(rsp *http.Response) (*GetFunctionBodyResponse, error)\n```\nParseGetFunctionBodyResponse parses an HTTP response from a GetFunctionBodyWithResponse call\n\n```go\nfunc (r GetFunctionBodyResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetFunctionBodyResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetFunctionResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *FunctionSlugResponse\n}\n```\n\n```go\nfunc ParseGetFunctionResponse(rsp *http.Response) (*GetFunctionResponse, error)\n```\nParseGetFunctionResponse parses an HTTP response from a GetFunctionWithResponse call\n\n```go\nfunc (r GetFunctionResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetFunctionResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetFunctionsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *[]FunctionResponse\n}\n```\n\n```go\nfunc ParseGetFunctionsResponse(rsp *http.Response) (*GetFunctionsResponse, error)\n```\nParseGetFunctionsResponse parses an HTTP response from a GetFunctionsWithResponse call\n\n```go\nfunc (r GetFunctionsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetFunctionsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetNetworkBansResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *NetworkBanResponse\n}\n```\n\n```go\nfunc ParseGetNetworkBansResponse(rsp *http.Response) (*GetNetworkBansResponse, error)\n```\nParseGetNetworkBansResponse parses an HTTP response from a GetNetworkBansWithResponse call\n\n```go\nfunc (r GetNetworkBansResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetNetworkBansResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetNetworkRestrictionsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *NetworkRestrictionsResponse\n}\n```\n\n```go\nfunc ParseGetNetworkRestrictionsResponse(rsp *http.Response) (*GetNetworkRestrictionsResponse, error)\n```\nParseGetNetworkRestrictionsResponse parses an HTTP response from a GetNetworkRestrictionsWithResponse call\n\n```go\nfunc (r GetNetworkRestrictionsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetNetworkRestrictionsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetOrganizationsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *[]OrganizationResponse\n}\n```\n\n```go\nfunc ParseGetOrganizationsResponse(rsp *http.Response) (*GetOrganizationsResponse, error)\n```\nParseGetOrganizationsResponse parses an HTTP response from a GetOrganizationsWithResponse call\n\n```go\nfunc (r GetOrganizationsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetOrganizationsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetPostgRESTConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *PostgrestConfigResponse\n}\n```\n\n```go\nfunc ParseGetPostgRESTConfigResponse(rsp *http.Response) (*GetPostgRESTConfigResponse, error)\n```\nParseGetPostgRESTConfigResponse parses an HTTP response from a GetPostgRESTConfigWithResponse call\n\n```go\nfunc (r GetPostgRESTConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetPostgRESTConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetProjectsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *[]ProjectResponse\n}\n```\n\n```go\nfunc ParseGetProjectsResponse(rsp *http.Response) (*GetProjectsResponse, error)\n```\nParseGetProjectsResponse parses an HTTP response from a GetProjectsWithResponse call\n\n```go\nfunc (r GetProjectsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetProjectsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetSecretsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *[]SecretResponse\n}\n```\n\n```go\nfunc ParseGetSecretsResponse(rsp *http.Response) (*GetSecretsResponse, error)\n```\nParseGetSecretsResponse parses an HTTP response from a GetSecretsWithResponse call\n\n```go\nfunc (r GetSecretsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetSecretsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetSslEnforcementConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *SslEnforcementResponse\n}\n```\n\n```go\nfunc ParseGetSslEnforcementConfigResponse(rsp *http.Response) (*GetSslEnforcementConfigResponse, error)\n```\nParseGetSslEnforcementConfigResponse parses an HTTP response from a GetSslEnforcementConfigWithResponse call\n\n```go\nfunc (r GetSslEnforcementConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetSslEnforcementConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetTypescriptTypesParams struct {\n\tIncludedSchemas *string `form:\"included_schemas,omitempty\" json:\"included_schemas,omitempty\"`\n}\n```\nGetTypescriptTypesParams defines parameters for GetTypescriptTypes.\n\n```go\ntype GetTypescriptTypesResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *TypescriptResponse\n}\n```\n\n```go\nfunc ParseGetTypescriptTypesResponse(rsp *http.Response) (*GetTypescriptTypesResponse, error)\n```\nParseGetTypescriptTypesResponse parses an HTTP response from a GetTypescriptTypesWithResponse call\n\n```go\nfunc (r GetTypescriptTypesResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetTypescriptTypesResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetVanitySubdomainConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *VanitySubdomainConfigResponse\n}\n```\n\n```go\nfunc ParseGetVanitySubdomainConfigResponse(rsp *http.Response) (*GetVanitySubdomainConfigResponse, error)\n```\nParseGetVanitySubdomainConfigResponse parses an HTTP response from a GetVanitySubdomainConfigWithResponse call\n\n```go\nfunc (r GetVanitySubdomainConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetVanitySubdomainConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype HttpRequestDoer interface {\n\tDo(req *http.Request) (*http.Response, error)\n}\n```\nDoer performs HTTP requests.\n\nThe standard http.Client implements this interface.\n\n```go\ntype NetworkBanResponse struct {\n\tBannedIpv4Addresses []string `json:\"banned_ipv4_addresses\"`\n}\n```\nNetworkBanResponse defines model for NetworkBanResponse.\n\n```go\ntype NetworkRestrictionsRequest struct {\n\tDbAllowedCidrs []string `json:\"dbAllowedCidrs\"`\n}\n```\nNetworkRestrictionsRequest defines model for NetworkRestrictionsRequest.\n\n```go\ntype NetworkRestrictionsResponse struct {\n\tConfig      NetworkRestrictionsRequest             `json:\"config\"`\n\tEntitlement NetworkRestrictionsResponseEntitlement `json:\"entitlement\"`\n\tStatus      NetworkRestrictionsResponseStatus      `json:\"status\"`\n}\n```\nNetworkRestrictionsResponse defines model for NetworkRestrictionsResponse.\n\n```go\ntype NetworkRestrictionsResponseEntitlement string\n```\nNetworkRestrictionsResponseEntitlement defines model for NetworkRestrictionsResponse.Entitlement.\n\n```go\nconst (\n\tAllowed    NetworkRestrictionsResponseEntitlement = \"allowed\"\n\tDisallowed NetworkRestrictionsResponseEntitlement = \"disallowed\"\n)\n```\nDefines values for NetworkRestrictionsResponseEntitlement.\n\n```go\ntype NetworkRestrictionsResponseStatus string\n```\nNetworkRestrictionsResponseStatus defines model for NetworkRestrictionsResponse.Status.\n\n```go\nconst (\n\tApplied NetworkRestrictionsResponseStatus = \"applied\"\n\tStored  NetworkRestrictionsResponseStatus = \"stored\"\n)\n```\nDefines values for NetworkRestrictionsResponseStatus.\n\n```go\ntype OrganizationResponse struct {\n\tId   string `json:\"id\"`\n\tName string `json:\"name\"`\n}\n```\nOrganizationResponse defines model for OrganizationResponse.\n\n```go\ntype PgsodiumConfigResponse struct {\n\tRootKey string `json:\"root_key\"`\n}\n```\nPgsodiumConfigResponse defines model for PgsodiumConfigResponse.\n\n```go\ntype PostgrestConfigResponse struct {\n\tDbExtraSearchPath string `json:\"db_extra_search_path\"`\n\tDbSchema          string `json:\"db_schema\"`\n\tMaxRows           int    `json:\"max_rows\"`\n}\n```\nPostgrestConfigResponse defines model for PostgrestConfigResponse.\n\n```go\ntype ProjectResponse struct {\n\tCreatedAt      string            `json:\"created_at\"`\n\tDatabase       *DatabaseResponse `json:\"database,omitempty\"`\n\tId             string            `json:\"id\"`\n\tName           string            `json:\"name\"`\n\tOrganizationId string            `json:\"organization_id\"`\n\tRegion         string            `json:\"region\"`\n}\n```\nProjectResponse defines model for ProjectResponse.\n\n```go\ntype RemoveCustomHostnameConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n}\n```\n\n```go\nfunc ParseRemoveCustomHostnameConfigResponse(rsp *http.Response) (*RemoveCustomHostnameConfigResponse, error)\n```\nParseRemoveCustomHostnameConfigResponse parses an HTTP response from a RemoveCustomHostnameConfigWithResponse call\n\n```go\nfunc (r RemoveCustomHostnameConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r RemoveCustomHostnameConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype RemoveNetworkBanJSONRequestBody = RemoveNetworkBanRequest\n```\nRemoveNetworkBanJSONRequestBody defines body for RemoveNetworkBan for application/json ContentType.\n\n```go\ntype RemoveNetworkBanRequest struct {\n\tIpv4Addresses []string `json:\"ipv4_addresses\"`\n}\n```\nRemoveNetworkBanRequest defines model for RemoveNetworkBanRequest.\n\n```go\ntype RemoveNetworkBanResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n}\n```\n\n```go\nfunc ParseRemoveNetworkBanResponse(rsp *http.Response) (*RemoveNetworkBanResponse, error)\n```\nParseRemoveNetworkBanResponse parses an HTTP response from a RemoveNetworkBanWithResponse call\n\n```go\nfunc (r RemoveNetworkBanResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r RemoveNetworkBanResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype RemoveVanitySubdomainConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n}\n```\n\n```go\nfunc ParseRemoveVanitySubdomainConfigResponse(rsp *http.Response) (*RemoveVanitySubdomainConfigResponse, error)\n```\nParseRemoveVanitySubdomainConfigResponse parses an HTTP response from a RemoveVanitySubdomainConfigWithResponse call\n\n```go\nfunc (r RemoveVanitySubdomainConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r RemoveVanitySubdomainConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype RequestEditorFn func(ctx context.Context, req *http.Request) error\n```\nRequestEditorFn  is the function signature for the RequestEditor callback function\n\n```go\ntype ReverifyResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON201      *UpdateCustomHostnameResponse\n}\n```\n\n```go\nfunc ParseReverifyResponse(rsp *http.Response) (*ReverifyResponse, error)\n```\nParseReverifyResponse parses an HTTP response from a ReverifyWithResponse call\n\n```go\nfunc (r ReverifyResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ReverifyResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype SecretResponse struct {\n\tName  string `json:\"name\"`\n\tValue string `json:\"value\"`\n}\n```\nSecretResponse defines model for SecretResponse.\n\n```go\ntype SslEnforcementRequest struct {\n\tRequestedConfig SslEnforcements `json:\"requestedConfig\"`\n}\n```\nSslEnforcementRequest defines model for SslEnforcementRequest.\n\n```go\ntype SslEnforcementResponse struct {\n\tAppliedSuccessfully bool            `json:\"appliedSuccessfully\"`\n\tCurrentConfig       SslEnforcements `json:\"currentConfig\"`\n}\n```\nSslEnforcementResponse defines model for SslEnforcementResponse.\n\n```go\ntype SslEnforcements struct {\n\tDatabase bool `json:\"database\"`\n}\n```\nSslEnforcements defines model for SslEnforcements.\n\n```go\ntype SubdomainAvailabilityResponse struct {\n\tAvailable bool `json:\"available\"`\n}\n```\nSubdomainAvailabilityResponse defines model for SubdomainAvailabilityResponse.\n\n```go\ntype TypescriptResponse struct {\n\tTypes string `json:\"types\"`\n}\n```\nTypescriptResponse defines model for TypescriptResponse.\n\n```go\ntype UpdateConfigJSONRequestBody = UpdatePgsodiumConfigBody\n```\nUpdateConfigJSONRequestBody defines body for UpdateConfig for application/json ContentType.\n\n```go\ntype UpdateConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *PgsodiumConfigResponse\n}\n```\n\n```go\nfunc ParseUpdateConfigResponse(rsp *http.Response) (*UpdateConfigResponse, error)\n```\nParseUpdateConfigResponse parses an HTTP response from a UpdateConfigWithResponse call\n\n```go\nfunc (r UpdateConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdateCustomHostnameBody struct {\n\tCustomHostname string `json:\"custom_hostname\"`\n}\n```\nUpdateCustomHostnameBody defines model for UpdateCustomHostnameBody.\n\n```go\ntype UpdateCustomHostnameResponse struct {\n\tCustomHostname string                             `json:\"custom_hostname\"`\n\tData           map[string]interface{}             `json:\"data\"`\n\tStatus         UpdateCustomHostnameResponseStatus `json:\"status\"`\n}\n```\nUpdateCustomHostnameResponse defines model for UpdateCustomHostnameResponse.\n\n```go\ntype UpdateCustomHostnameResponseStatus string\n```\nUpdateCustomHostnameResponseStatus defines model for UpdateCustomHostnameResponse.Status.\n\n```go\nconst (\n\tN1NotStarted           UpdateCustomHostnameResponseStatus = \"1_not_started\"\n\tN2Initiated            UpdateCustomHostnameResponseStatus = \"2_initiated\"\n\tN3ChallengeVerified    UpdateCustomHostnameResponseStatus = \"3_challenge_verified\"\n\tN4OriginSetupCompleted UpdateCustomHostnameResponseStatus = \"4_origin_setup_completed\"\n\tN5ServicesReconfigured UpdateCustomHostnameResponseStatus = \"5_services_reconfigured\"\n)\n```\nDefines values for UpdateCustomHostnameResponseStatus.\n\n```go\ntype UpdateFunctionBody struct {\n\tBody      *string `json:\"body,omitempty\"`\n\tName      *string `json:\"name,omitempty\"`\n\tVerifyJwt *bool   `json:\"verify_jwt,omitempty\"`\n}\n```\nUpdateFunctionBody defines model for UpdateFunctionBody.\n\n```go\ntype UpdateFunctionJSONRequestBody = UpdateFunctionBody\n```\nUpdateFunctionJSONRequestBody defines body for UpdateFunction for application/json ContentType.\n\n```go\ntype UpdateFunctionParams struct {\n\tSlug      *string `form:\"slug,omitempty\" json:\"slug,omitempty\"`\n\tName      *string `form:\"name,omitempty\" json:\"name,omitempty\"`\n\tVerifyJwt *bool   `form:\"verify_jwt,omitempty\" json:\"verify_jwt,omitempty\"`\n\tImportMap *bool   `form:\"import_map,omitempty\" json:\"import_map,omitempty\"`\n}\n```\nUpdateFunctionParams defines parameters for UpdateFunction.\n\n```go\ntype UpdateFunctionResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *FunctionResponse\n}\n```\n\n```go\nfunc ParseUpdateFunctionResponse(rsp *http.Response) (*UpdateFunctionResponse, error)\n```\nParseUpdateFunctionResponse parses an HTTP response from a UpdateFunctionWithResponse call\n\n```go\nfunc (r UpdateFunctionResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateFunctionResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdatePgsodiumConfigBody struct {\n\tRootKey string `json:\"root_key\"`\n}\n```\nUpdatePgsodiumConfigBody defines model for UpdatePgsodiumConfigBody.\n\n```go\ntype UpdatePostgRESTConfigJSONRequestBody = UpdatePostgrestConfigBody\n```\nUpdatePostgRESTConfigJSONRequestBody defines body for UpdatePostgRESTConfig for application/json ContentType.\n\n```go\ntype UpdatePostgRESTConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *PostgrestConfigResponse\n}\n```\n\n```go\nfunc ParseUpdatePostgRESTConfigResponse(rsp *http.Response) (*UpdatePostgRESTConfigResponse, error)\n```\nParseUpdatePostgRESTConfigResponse parses an HTTP response from a UpdatePostgRESTConfigWithResponse call\n\n```go\nfunc (r UpdatePostgRESTConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdatePostgRESTConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdatePostgrestConfigBody struct {\n\tDbExtraSearchPath *string `json:\"db_extra_search_path,omitempty\"`\n\tDbSchema          *string `json:\"db_schema,omitempty\"`\n\tMaxRows           *int    `json:\"max_rows,omitempty\"`\n}\n```\nUpdatePostgrestConfigBody defines model for UpdatePostgrestConfigBody.\n\n```go\ntype UpdateSslEnforcementConfigJSONRequestBody = SslEnforcementRequest\n```\nUpdateSslEnforcementConfigJSONRequestBody defines body for UpdateSslEnforcementConfig for application/json ContentType.\n\n```go\ntype UpdateSslEnforcementConfigResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\tJSON200      *SslEnforcementResponse\n}\n```\n\n```go\nfunc ParseUpdateSslEnforcementConfigResponse(rsp *http.Response) (*UpdateSslEnforcementConfigResponse, error)\n```\nParseUpdateSslEnforcementConfigResponse parses an HTTP response from a UpdateSslEnforcementConfigWithResponse call\n\n```go\nfunc (r UpdateSslEnforcementConfigResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateSslEnforcementConfigResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype VanitySubdomainBody struct {\n\tVanitySubdomain string `json:\"vanity_subdomain\"`\n}\n```\nVanitySubdomainBody defines model for VanitySubdomainBody.\n\n```go\ntype VanitySubdomainConfigResponse struct {\n\tCustomDomain *string                             `json:\"custom_domain,omitempty\"`\n\tStatus       VanitySubdomainConfigResponseStatus `json:\"status\"`\n}\n```\nVanitySubdomainConfigResponse defines model for VanitySubdomainConfigResponse.\n\n```go\ntype VanitySubdomainConfigResponseStatus string\n```\nVanitySubdomainConfigResponseStatus defines model for VanitySubdomainConfigResponse.Status.\n\n```go\nconst (\n\tActive           VanitySubdomainConfigResponseStatus = \"active\"\n\tCustomDomainUsed VanitySubdomainConfigResponseStatus = \"custom-domain-used\"\n\tNotUsed          VanitySubdomainConfigResponseStatus = \"not-used\"\n)\n```\nDefines values for VanitySubdomainConfigResponseStatus.\n\n","path":"github.com/Redstoneguy129/cli/pkg/api","name":"api","synopsis":"Package api provides primitives to interact with the openapi HTTP API.","isRedistributable":true}
