Documentation
¶
Overview ¶
Package valtown provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Package valtown is a Go client for the Val Town API, generated with oapi-codegen from the OpenAPI document Val Town publishes.
Example ¶
This is the README usage example. It talks to the live API, so it has no Output comment and only has to compile.
package main
import (
"context"
"net/http"
"os"
"github.com/psyb0t/go-valtown"
)
func main() {
auth := valtown.WithRequestEditorFn(
func(_ context.Context, req *http.Request) error {
req.Header.Set(
"Authorization",
"Bearer "+os.Getenv("VALTOWN_API_TOKEN"),
)
return nil
},
)
client, err := valtown.NewClientWithResponses(
"https://api.val.town",
auth,
)
if err != nil {
panic(err)
}
res, err := client.MeGetWithResponse(context.Background())
if err != nil {
panic(err)
}
_ = res.JSON200
}
Output:
Index ¶
- func NewAliasUsernameRequest(server string, username string) (*http.Request, error)
- func NewAliasVal2Request(server string, username string, valName string) (*http.Request, error)
- func NewBranchesCreate2Request(server string, valId openapi_types.UUID, body BranchesCreate2JSONRequestBody) (*http.Request, error)
- func NewBranchesCreate2RequestWithBody(server string, valId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewBranchesDelete2Request(server string, valId openapi_types.UUID, branchId openapi_types.UUID) (*http.Request, error)
- func NewBranchesGet2Request(server string, valId openapi_types.UUID, branchId openapi_types.UUID) (*http.Request, error)
- func NewBranchesList2Request(server string, valId openapi_types.UUID, params *BranchesList2Params) (*http.Request, error)
- func NewBranchesMergeUpstream2Request(server string, valId openapi_types.UUID, branchId openapi_types.UUID) (*http.Request, error)
- func NewEmailsSendRequest(server string, body EmailsSendJSONRequestBody) (*http.Request, error)
- func NewEmailsSendRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnvironmentVariableGroupsCreateRequest(server string, body EnvironmentVariableGroupsCreateJSONRequestBody) (*http.Request, error)
- func NewEnvironmentVariableGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnvironmentVariableGroupsCreateVariableRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewEnvironmentVariableGroupsCreateVariableRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewEnvironmentVariableGroupsDeleteRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewEnvironmentVariableGroupsGetRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewEnvironmentVariableGroupsListRequest(server string, params *EnvironmentVariableGroupsListParams) (*http.Request, error)
- func NewEnvironmentVariableGroupsRenameRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewEnvironmentVariableGroupsRenameRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewEnvironmentVariableGroupsUpsertVariableRequest(server string, id openapi_types.UUID, key string, ...) (*http.Request, error)
- func NewEnvironmentVariableGroupsUpsertVariableRequestWithBody(server string, id openapi_types.UUID, key string, contentType string, ...) (*http.Request, error)
- func NewEnvironmentVariableGroupsVariableDeleteRequest(server string, id openapi_types.UUID, key string) (*http.Request, error)
- func NewFileContentUpdate2Request(server string, valId openapi_types.UUID, params *FileContentUpdate2Params, ...) (*http.Request, error)
- func NewFileContentUpdate2RequestWithBody(server string, valId openapi_types.UUID, params *FileContentUpdate2Params, ...) (*http.Request, error)
- func NewFilesContentGet2Request(server string, valId openapi_types.UUID, params *FilesContentGet2Params) (*http.Request, error)
- func NewFilesCreate2Request(server string, valId openapi_types.UUID, params *FilesCreate2Params, ...) (*http.Request, error)
- func NewFilesCreate2RequestWithBody(server string, valId openapi_types.UUID, params *FilesCreate2Params, ...) (*http.Request, error)
- func NewFilesDelete2Request(server string, valId openapi_types.UUID, params *FilesDelete2Params) (*http.Request, error)
- func NewGetV3ValViewerRequest(server string, params *GetV3ValViewerParams) (*http.Request, error)
- func NewLogListRequest(server string, params *LogListParams) (*http.Request, error)
- func NewMeGetRequest(server string) (*http.Request, error)
- func NewMeVals2Request(server string, params *MeVals2Params) (*http.Request, error)
- func NewOrgsListRequest(server string, params *OrgsListParams) (*http.Request, error)
- func NewOrgsMembershipsListRequest(server string, orgId openapi_types.UUID) (*http.Request, error)
- func NewPostV3ConnectionsGoogleDocsTokenRequest(server string, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody) (*http.Request, error)
- func NewPostV3ConnectionsGoogleDocsTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV3ConnectionsSlackTokenRequest(server string, body PostV3ConnectionsSlackTokenJSONRequestBody) (*http.Request, error)
- func NewPostV3ConnectionsSlackTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectsDelete2Request(server string, valId openapi_types.UUID) (*http.Request, error)
- func NewQueryValFileByIdRequest(server string, fileId openapi_types.UUID) (*http.Request, error)
- func NewSqliteBatchRequest(server string, body SqliteBatchJSONRequestBody) (*http.Request, error)
- func NewSqliteBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSqliteExecuteRequest(server string, body SqliteExecuteJSONRequestBody) (*http.Request, error)
- func NewSqliteExecuteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTraceListRequest(server string, params *TraceListParams) (*http.Request, error)
- func NewUsersGetRequest(server string, userId openapi_types.UUID) (*http.Request, error)
- func NewV1blobsDeleteRequest(server string, key string) (*http.Request, error)
- func NewV1blobsGetRequest(server string, key string) (*http.Request, error)
- func NewV1blobsListRequest(server string, params *V1blobsListParams) (*http.Request, error)
- func NewV1blobsStoreRequest(server string, key string, body V1blobsStoreJSONRequestBody) (*http.Request, error)
- func NewV1blobsStoreRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewV2blobsDeleteRequest(server string, key string) (*http.Request, error)
- func NewV2blobsGetRequest(server string, key string) (*http.Request, error)
- func NewV2blobsListRequest(server string, params *V2blobsListParams) (*http.Request, error)
- func NewV2blobsStoreRequest(server string, key string, body V2blobsStoreJSONRequestBody) (*http.Request, error)
- func NewV2blobsStoreRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewValEnvironmentVariableGroupsAttachRequest(server string, valId openapi_types.UUID, groupId openapi_types.UUID) (*http.Request, error)
- func NewValEnvironmentVariableGroupsDetachRequest(server string, valId openapi_types.UUID, groupId openapi_types.UUID) (*http.Request, error)
- func NewValEnvironmentVariableGroupsListRequest(server string, valId openapi_types.UUID, ...) (*http.Request, error)
- func NewValEnvironmentVariablesCreateRequest(server string, valId openapi_types.UUID, ...) (*http.Request, error)
- func NewValEnvironmentVariablesCreateRequestWithBody(server string, valId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewValEnvironmentVariablesDeleteRequest(server string, valId openapi_types.UUID, key string) (*http.Request, error)
- func NewValEnvironmentVariablesListRequest(server string, valId openapi_types.UUID, ...) (*http.Request, error)
- func NewValEnvironmentVariablesUpdateRequest(server string, valId openapi_types.UUID, key string, ...) (*http.Request, error)
- func NewValEnvironmentVariablesUpdateRequestWithBody(server string, valId openapi_types.UUID, key string, contentType string, ...) (*http.Request, error)
- func NewValFilesGet2Request(server string, valId openapi_types.UUID, params *ValFilesGet2Params) (*http.Request, error)
- func NewValsCreate2Request(server string, body ValsCreate2JSONRequestBody) (*http.Request, error)
- func NewValsCreate2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewValsGet2Request(server string, valId openapi_types.UUID) (*http.Request, error)
- func NewValsList2Request(server string, params *ValsList2Params) (*http.Request, error)
- type AliasUsernameResponse
- type AliasVal2Response
- type Branch
- type BranchesCreate2JSONBody
- type BranchesCreate2JSONRequestBody
- type BranchesCreate2Response
- func (r BranchesCreate2Response) ContentType() string
- func (r BranchesCreate2Response) GetBody() []byte
- func (r BranchesCreate2Response) GetJSON201() *Branch
- func (r BranchesCreate2Response) GetJSON409() *interface{}
- func (r BranchesCreate2Response) Status() string
- func (r BranchesCreate2Response) StatusCode() int
- type BranchesDelete2Response
- type BranchesGet2Response
- type BranchesList2Params
- type BranchesList2Response
- type BranchesMergeUpstream2Response
- func (r BranchesMergeUpstream2Response) ContentType() string
- func (r BranchesMergeUpstream2Response) GetBody() []byte
- func (r BranchesMergeUpstream2Response) GetJSON200() *Branch
- func (r BranchesMergeUpstream2Response) GetJSON400() *interface{}
- func (r BranchesMergeUpstream2Response) GetJSON404() *interface{}
- func (r BranchesMergeUpstream2Response) GetJSON409() *interface{}
- func (r BranchesMergeUpstream2Response) Status() string
- func (r BranchesMergeUpstream2Response) StatusCode() int
- type Client
- func (c *Client) AliasUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AliasVal2(ctx context.Context, username string, valName string, ...) (*http.Response, error)
- func (c *Client) BranchesCreate2(ctx context.Context, valId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) BranchesCreate2WithBody(ctx context.Context, valId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) BranchesDelete2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) BranchesGet2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) BranchesList2(ctx context.Context, valId openapi_types.UUID, params *BranchesList2Params, ...) (*http.Response, error)
- func (c *Client) BranchesMergeUpstream2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) EmailsSend(ctx context.Context, body EmailsSendJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EmailsSendWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsCreate(ctx context.Context, body EnvironmentVariableGroupsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsCreateVariable(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsCreateVariableWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsDelete(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsGet(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsList(ctx context.Context, params *EnvironmentVariableGroupsListParams, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsRename(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsRenameWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsUpsertVariable(ctx context.Context, id openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsUpsertVariableWithBody(ctx context.Context, id openapi_types.UUID, key string, contentType string, ...) (*http.Response, error)
- func (c *Client) EnvironmentVariableGroupsVariableDelete(ctx context.Context, id openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) FileContentUpdate2(ctx context.Context, valId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) FileContentUpdate2WithBody(ctx context.Context, valId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) FilesContentGet2(ctx context.Context, valId openapi_types.UUID, params *FilesContentGet2Params, ...) (*http.Response, error)
- func (c *Client) FilesCreate2(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, ...) (*http.Response, error)
- func (c *Client) FilesCreate2WithBody(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, ...) (*http.Response, error)
- func (c *Client) FilesDelete2(ctx context.Context, valId openapi_types.UUID, params *FilesDelete2Params, ...) (*http.Response, error)
- func (c *Client) GetV3ValViewer(ctx context.Context, params *GetV3ValViewerParams, ...) (*http.Response, error)
- func (c *Client) LogList(ctx context.Context, params *LogListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MeVals2(ctx context.Context, params *MeVals2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrgsList(ctx context.Context, params *OrgsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrgsMembershipsList(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostV3ConnectionsGoogleDocsToken(ctx context.Context, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV3ConnectionsGoogleDocsTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV3ConnectionsSlackToken(ctx context.Context, body PostV3ConnectionsSlackTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV3ConnectionsSlackTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectsDelete2(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) QueryValFileById(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SqliteBatch(ctx context.Context, body SqliteBatchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SqliteBatchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SqliteExecute(ctx context.Context, body SqliteExecuteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SqliteExecuteWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TraceList(ctx context.Context, params *TraceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UsersGet(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1blobsDelete(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1blobsGet(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1blobsList(ctx context.Context, params *V1blobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V1blobsStore(ctx context.Context, key string, body V1blobsStoreJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) V1blobsStoreWithBody(ctx context.Context, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) V2blobsDelete(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V2blobsGet(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V2blobsList(ctx context.Context, params *V2blobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) V2blobsStore(ctx context.Context, key string, body V2blobsStoreJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) V2blobsStoreWithBody(ctx context.Context, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariableGroupsAttach(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariableGroupsDetach(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariableGroupsList(ctx context.Context, valId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariablesCreate(ctx context.Context, valId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariablesCreateWithBody(ctx context.Context, valId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariablesDelete(ctx context.Context, valId openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariablesList(ctx context.Context, valId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariablesUpdate(ctx context.Context, valId openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) ValEnvironmentVariablesUpdateWithBody(ctx context.Context, valId openapi_types.UUID, key string, contentType string, ...) (*http.Response, error)
- func (c *Client) ValFilesGet2(ctx context.Context, valId openapi_types.UUID, params *ValFilesGet2Params, ...) (*http.Response, error)
- func (c *Client) ValsCreate2(ctx context.Context, body ValsCreate2JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ValsCreate2WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ValsGet2(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ValsList2(ctx context.Context, params *ValsList2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AliasUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*AliasUsernameResponse, error)
- func (c *ClientWithResponses) AliasVal2WithResponse(ctx context.Context, username string, valName string, ...) (*AliasVal2Response, error)
- func (c *ClientWithResponses) BranchesCreate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, contentType string, ...) (*BranchesCreate2Response, error)
- func (c *ClientWithResponses) BranchesCreate2WithResponse(ctx context.Context, valId openapi_types.UUID, ...) (*BranchesCreate2Response, error)
- func (c *ClientWithResponses) BranchesDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, ...) (*BranchesDelete2Response, error)
- func (c *ClientWithResponses) BranchesGet2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, ...) (*BranchesGet2Response, error)
- func (c *ClientWithResponses) BranchesList2WithResponse(ctx context.Context, valId openapi_types.UUID, params *BranchesList2Params, ...) (*BranchesList2Response, error)
- func (c *ClientWithResponses) BranchesMergeUpstream2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, ...) (*BranchesMergeUpstream2Response, error)
- func (c *ClientWithResponses) EmailsSendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EmailsSendResponse, error)
- func (c *ClientWithResponses) EmailsSendWithResponse(ctx context.Context, body EmailsSendJSONRequestBody, ...) (*EmailsSendResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsCreateVariableWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*EnvironmentVariableGroupsCreateVariableResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsCreateVariableWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*EnvironmentVariableGroupsCreateVariableResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EnvironmentVariableGroupsCreateResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsCreateWithResponse(ctx context.Context, body EnvironmentVariableGroupsCreateJSONRequestBody, ...) (*EnvironmentVariableGroupsCreateResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsDeleteWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsDeleteResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsGetWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsGetResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsListWithResponse(ctx context.Context, params *EnvironmentVariableGroupsListParams, ...) (*EnvironmentVariableGroupsListResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsRenameWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*EnvironmentVariableGroupsRenameResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsRenameWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*EnvironmentVariableGroupsRenameResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsUpsertVariableWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, key string, contentType string, ...) (*EnvironmentVariableGroupsUpsertVariableResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsUpsertVariableWithResponse(ctx context.Context, id openapi_types.UUID, key string, ...) (*EnvironmentVariableGroupsUpsertVariableResponse, error)
- func (c *ClientWithResponses) EnvironmentVariableGroupsVariableDeleteWithResponse(ctx context.Context, id openapi_types.UUID, key string, ...) (*EnvironmentVariableGroupsVariableDeleteResponse, error)
- func (c *ClientWithResponses) FileContentUpdate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, ...) (*FileContentUpdate2Response, error)
- func (c *ClientWithResponses) FileContentUpdate2WithResponse(ctx context.Context, valId openapi_types.UUID, ...) (*FileContentUpdate2Response, error)
- func (c *ClientWithResponses) FilesContentGet2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesContentGet2Params, ...) (*FilesContentGet2Response, error)
- func (c *ClientWithResponses) FilesCreate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, ...) (*FilesCreate2Response, error)
- func (c *ClientWithResponses) FilesCreate2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, ...) (*FilesCreate2Response, error)
- func (c *ClientWithResponses) FilesDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesDelete2Params, ...) (*FilesDelete2Response, error)
- func (c *ClientWithResponses) GetV3ValViewerWithResponse(ctx context.Context, params *GetV3ValViewerParams, ...) (*GetV3ValViewerResponse, error)
- func (c *ClientWithResponses) LogListWithResponse(ctx context.Context, params *LogListParams, reqEditors ...RequestEditorFn) (*LogListResponse, error)
- func (c *ClientWithResponses) MeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MeGetResponse, error)
- func (c *ClientWithResponses) MeVals2WithResponse(ctx context.Context, params *MeVals2Params, reqEditors ...RequestEditorFn) (*MeVals2Response, error)
- func (c *ClientWithResponses) OrgsListWithResponse(ctx context.Context, params *OrgsListParams, reqEditors ...RequestEditorFn) (*OrgsListResponse, error)
- func (c *ClientWithResponses) OrgsMembershipsListWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*OrgsMembershipsListResponse, error)
- func (c *ClientWithResponses) PostV3ConnectionsGoogleDocsTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV3ConnectionsGoogleDocsTokenResponse, error)
- func (c *ClientWithResponses) PostV3ConnectionsGoogleDocsTokenWithResponse(ctx context.Context, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody, ...) (*PostV3ConnectionsGoogleDocsTokenResponse, error)
- func (c *ClientWithResponses) PostV3ConnectionsSlackTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV3ConnectionsSlackTokenResponse, error)
- func (c *ClientWithResponses) PostV3ConnectionsSlackTokenWithResponse(ctx context.Context, body PostV3ConnectionsSlackTokenJSONRequestBody, ...) (*PostV3ConnectionsSlackTokenResponse, error)
- func (c *ClientWithResponses) ProjectsDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProjectsDelete2Response, error)
- func (c *ClientWithResponses) QueryValFileByIdWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*QueryValFileByIdResponse, error)
- func (c *ClientWithResponses) SqliteBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SqliteBatchResponse, error)
- func (c *ClientWithResponses) SqliteBatchWithResponse(ctx context.Context, body SqliteBatchJSONRequestBody, ...) (*SqliteBatchResponse, error)
- func (c *ClientWithResponses) SqliteExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SqliteExecuteResponse, error)
- func (c *ClientWithResponses) SqliteExecuteWithResponse(ctx context.Context, body SqliteExecuteJSONRequestBody, ...) (*SqliteExecuteResponse, error)
- func (c *ClientWithResponses) TraceListWithResponse(ctx context.Context, params *TraceListParams, reqEditors ...RequestEditorFn) (*TraceListResponse, error)
- func (c *ClientWithResponses) UsersGetWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersGetResponse, error)
- func (c *ClientWithResponses) V1blobsDeleteWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V1blobsDeleteResponse, error)
- func (c *ClientWithResponses) V1blobsGetWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V1blobsGetResponse, error)
- func (c *ClientWithResponses) V1blobsListWithResponse(ctx context.Context, params *V1blobsListParams, reqEditors ...RequestEditorFn) (*V1blobsListResponse, error)
- func (c *ClientWithResponses) V1blobsStoreWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, ...) (*V1blobsStoreResponse, error)
- func (c *ClientWithResponses) V1blobsStoreWithResponse(ctx context.Context, key string, body V1blobsStoreJSONRequestBody, ...) (*V1blobsStoreResponse, error)
- func (c *ClientWithResponses) V2blobsDeleteWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V2blobsDeleteResponse, error)
- func (c *ClientWithResponses) V2blobsGetWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V2blobsGetResponse, error)
- func (c *ClientWithResponses) V2blobsListWithResponse(ctx context.Context, params *V2blobsListParams, reqEditors ...RequestEditorFn) (*V2blobsListResponse, error)
- func (c *ClientWithResponses) V2blobsStoreWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, ...) (*V2blobsStoreResponse, error)
- func (c *ClientWithResponses) V2blobsStoreWithResponse(ctx context.Context, key string, body V2blobsStoreJSONRequestBody, ...) (*V2blobsStoreResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariableGroupsAttachWithResponse(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, ...) (*ValEnvironmentVariableGroupsAttachResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariableGroupsDetachWithResponse(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, ...) (*ValEnvironmentVariableGroupsDetachResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariableGroupsListWithResponse(ctx context.Context, valId openapi_types.UUID, ...) (*ValEnvironmentVariableGroupsListResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariablesCreateWithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, contentType string, ...) (*ValEnvironmentVariablesCreateResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariablesCreateWithResponse(ctx context.Context, valId openapi_types.UUID, ...) (*ValEnvironmentVariablesCreateResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariablesDeleteWithResponse(ctx context.Context, valId openapi_types.UUID, key string, ...) (*ValEnvironmentVariablesDeleteResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariablesListWithResponse(ctx context.Context, valId openapi_types.UUID, ...) (*ValEnvironmentVariablesListResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariablesUpdateWithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, key string, contentType string, ...) (*ValEnvironmentVariablesUpdateResponse, error)
- func (c *ClientWithResponses) ValEnvironmentVariablesUpdateWithResponse(ctx context.Context, valId openapi_types.UUID, key string, ...) (*ValEnvironmentVariablesUpdateResponse, error)
- func (c *ClientWithResponses) ValFilesGet2WithResponse(ctx context.Context, valId openapi_types.UUID, params *ValFilesGet2Params, ...) (*ValFilesGet2Response, error)
- func (c *ClientWithResponses) ValsCreate2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ValsCreate2Response, error)
- func (c *ClientWithResponses) ValsCreate2WithResponse(ctx context.Context, body ValsCreate2JSONRequestBody, ...) (*ValsCreate2Response, error)
- func (c *ClientWithResponses) ValsGet2WithResponse(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ValsGet2Response, error)
- func (c *ClientWithResponses) ValsList2WithResponse(ctx context.Context, params *ValsList2Params, reqEditors ...RequestEditorFn) (*ValsList2Response, error)
- type ClientWithResponsesInterface
- type EmailsSendJSONBody
- type EmailsSendJSONBodyBcc0
- func (t EmailsSendJSONBodyBcc0) AsEmailsSendJSONBodyBcc00() (EmailsSendJSONBodyBcc00, error)
- func (t EmailsSendJSONBodyBcc0) AsEmailsSendJSONBodyBcc01() (EmailsSendJSONBodyBcc01, error)
- func (t *EmailsSendJSONBodyBcc0) FromEmailsSendJSONBodyBcc00(v EmailsSendJSONBodyBcc00) error
- func (t *EmailsSendJSONBodyBcc0) FromEmailsSendJSONBodyBcc01(v EmailsSendJSONBodyBcc01) error
- func (t EmailsSendJSONBodyBcc0) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBodyBcc0) MergeEmailsSendJSONBodyBcc00(v EmailsSendJSONBodyBcc00) error
- func (t *EmailsSendJSONBodyBcc0) MergeEmailsSendJSONBodyBcc01(v EmailsSendJSONBodyBcc01) error
- func (t *EmailsSendJSONBodyBcc0) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBodyBcc00
- type EmailsSendJSONBodyBcc1
- type EmailsSendJSONBodyBcc01
- type EmailsSendJSONBodyBcc10
- type EmailsSendJSONBodyBcc11
- type EmailsSendJSONBodyCc0
- func (t EmailsSendJSONBodyCc0) AsEmailsSendJSONBodyCc00() (EmailsSendJSONBodyCc00, error)
- func (t EmailsSendJSONBodyCc0) AsEmailsSendJSONBodyCc01() (EmailsSendJSONBodyCc01, error)
- func (t *EmailsSendJSONBodyCc0) FromEmailsSendJSONBodyCc00(v EmailsSendJSONBodyCc00) error
- func (t *EmailsSendJSONBodyCc0) FromEmailsSendJSONBodyCc01(v EmailsSendJSONBodyCc01) error
- func (t EmailsSendJSONBodyCc0) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBodyCc0) MergeEmailsSendJSONBodyCc00(v EmailsSendJSONBodyCc00) error
- func (t *EmailsSendJSONBodyCc0) MergeEmailsSendJSONBodyCc01(v EmailsSendJSONBodyCc01) error
- func (t *EmailsSendJSONBodyCc0) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBodyCc00
- type EmailsSendJSONBodyCc1
- type EmailsSendJSONBodyCc01
- type EmailsSendJSONBodyCc10
- type EmailsSendJSONBodyCc11
- type EmailsSendJSONBodyFrom0
- type EmailsSendJSONBodyFrom1
- type EmailsSendJSONBodyReplyToList0
- type EmailsSendJSONBodyReplyToList1
- type EmailsSendJSONBodyTo0
- func (t EmailsSendJSONBodyTo0) AsEmailsSendJSONBodyTo00() (EmailsSendJSONBodyTo00, error)
- func (t EmailsSendJSONBodyTo0) AsEmailsSendJSONBodyTo01() (EmailsSendJSONBodyTo01, error)
- func (t *EmailsSendJSONBodyTo0) FromEmailsSendJSONBodyTo00(v EmailsSendJSONBodyTo00) error
- func (t *EmailsSendJSONBodyTo0) FromEmailsSendJSONBodyTo01(v EmailsSendJSONBodyTo01) error
- func (t EmailsSendJSONBodyTo0) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBodyTo0) MergeEmailsSendJSONBodyTo00(v EmailsSendJSONBodyTo00) error
- func (t *EmailsSendJSONBodyTo0) MergeEmailsSendJSONBodyTo01(v EmailsSendJSONBodyTo01) error
- func (t *EmailsSendJSONBodyTo0) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBodyTo00
- type EmailsSendJSONBodyTo1
- type EmailsSendJSONBodyTo01
- type EmailsSendJSONBodyTo10
- type EmailsSendJSONBodyTo11
- type EmailsSendJSONBody_Bcc
- func (t EmailsSendJSONBody_Bcc) AsEmailsSendJSONBodyBcc0() (EmailsSendJSONBodyBcc0, error)
- func (t EmailsSendJSONBody_Bcc) AsEmailsSendJSONBodyBcc1() (EmailsSendJSONBodyBcc1, error)
- func (t *EmailsSendJSONBody_Bcc) FromEmailsSendJSONBodyBcc0(v EmailsSendJSONBodyBcc0) error
- func (t *EmailsSendJSONBody_Bcc) FromEmailsSendJSONBodyBcc1(v EmailsSendJSONBodyBcc1) error
- func (t EmailsSendJSONBody_Bcc) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_Bcc) MergeEmailsSendJSONBodyBcc0(v EmailsSendJSONBodyBcc0) error
- func (t *EmailsSendJSONBody_Bcc) MergeEmailsSendJSONBodyBcc1(v EmailsSendJSONBodyBcc1) error
- func (t *EmailsSendJSONBody_Bcc) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBody_Bcc_1_Item
- func (t EmailsSendJSONBody_Bcc_1_Item) AsEmailsSendJSONBodyBcc10() (EmailsSendJSONBodyBcc10, error)
- func (t EmailsSendJSONBody_Bcc_1_Item) AsEmailsSendJSONBodyBcc11() (EmailsSendJSONBodyBcc11, error)
- func (t *EmailsSendJSONBody_Bcc_1_Item) FromEmailsSendJSONBodyBcc10(v EmailsSendJSONBodyBcc10) error
- func (t *EmailsSendJSONBody_Bcc_1_Item) FromEmailsSendJSONBodyBcc11(v EmailsSendJSONBodyBcc11) error
- func (t EmailsSendJSONBody_Bcc_1_Item) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_Bcc_1_Item) MergeEmailsSendJSONBodyBcc10(v EmailsSendJSONBodyBcc10) error
- func (t *EmailsSendJSONBody_Bcc_1_Item) MergeEmailsSendJSONBodyBcc11(v EmailsSendJSONBodyBcc11) error
- func (t *EmailsSendJSONBody_Bcc_1_Item) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBody_Cc
- func (t EmailsSendJSONBody_Cc) AsEmailsSendJSONBodyCc0() (EmailsSendJSONBodyCc0, error)
- func (t EmailsSendJSONBody_Cc) AsEmailsSendJSONBodyCc1() (EmailsSendJSONBodyCc1, error)
- func (t *EmailsSendJSONBody_Cc) FromEmailsSendJSONBodyCc0(v EmailsSendJSONBodyCc0) error
- func (t *EmailsSendJSONBody_Cc) FromEmailsSendJSONBodyCc1(v EmailsSendJSONBodyCc1) error
- func (t EmailsSendJSONBody_Cc) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_Cc) MergeEmailsSendJSONBodyCc0(v EmailsSendJSONBodyCc0) error
- func (t *EmailsSendJSONBody_Cc) MergeEmailsSendJSONBodyCc1(v EmailsSendJSONBodyCc1) error
- func (t *EmailsSendJSONBody_Cc) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBody_Cc_1_Item
- func (t EmailsSendJSONBody_Cc_1_Item) AsEmailsSendJSONBodyCc10() (EmailsSendJSONBodyCc10, error)
- func (t EmailsSendJSONBody_Cc_1_Item) AsEmailsSendJSONBodyCc11() (EmailsSendJSONBodyCc11, error)
- func (t *EmailsSendJSONBody_Cc_1_Item) FromEmailsSendJSONBodyCc10(v EmailsSendJSONBodyCc10) error
- func (t *EmailsSendJSONBody_Cc_1_Item) FromEmailsSendJSONBodyCc11(v EmailsSendJSONBodyCc11) error
- func (t EmailsSendJSONBody_Cc_1_Item) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_Cc_1_Item) MergeEmailsSendJSONBodyCc10(v EmailsSendJSONBodyCc10) error
- func (t *EmailsSendJSONBody_Cc_1_Item) MergeEmailsSendJSONBodyCc11(v EmailsSendJSONBodyCc11) error
- func (t *EmailsSendJSONBody_Cc_1_Item) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBody_From
- func (t EmailsSendJSONBody_From) AsEmailsSendJSONBodyFrom0() (EmailsSendJSONBodyFrom0, error)
- func (t EmailsSendJSONBody_From) AsEmailsSendJSONBodyFrom1() (EmailsSendJSONBodyFrom1, error)
- func (t *EmailsSendJSONBody_From) FromEmailsSendJSONBodyFrom0(v EmailsSendJSONBodyFrom0) error
- func (t *EmailsSendJSONBody_From) FromEmailsSendJSONBodyFrom1(v EmailsSendJSONBodyFrom1) error
- func (t EmailsSendJSONBody_From) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_From) MergeEmailsSendJSONBodyFrom0(v EmailsSendJSONBodyFrom0) error
- func (t *EmailsSendJSONBody_From) MergeEmailsSendJSONBodyFrom1(v EmailsSendJSONBodyFrom1) error
- func (t *EmailsSendJSONBody_From) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBody_ReplyToList
- func (t EmailsSendJSONBody_ReplyToList) AsEmailsSendJSONBodyReplyToList0() (EmailsSendJSONBodyReplyToList0, error)
- func (t EmailsSendJSONBody_ReplyToList) AsEmailsSendJSONBodyReplyToList1() (EmailsSendJSONBodyReplyToList1, error)
- func (t *EmailsSendJSONBody_ReplyToList) FromEmailsSendJSONBodyReplyToList0(v EmailsSendJSONBodyReplyToList0) error
- func (t *EmailsSendJSONBody_ReplyToList) FromEmailsSendJSONBodyReplyToList1(v EmailsSendJSONBodyReplyToList1) error
- func (t EmailsSendJSONBody_ReplyToList) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_ReplyToList) MergeEmailsSendJSONBodyReplyToList0(v EmailsSendJSONBodyReplyToList0) error
- func (t *EmailsSendJSONBody_ReplyToList) MergeEmailsSendJSONBodyReplyToList1(v EmailsSendJSONBodyReplyToList1) error
- func (t *EmailsSendJSONBody_ReplyToList) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBody_To
- func (t EmailsSendJSONBody_To) AsEmailsSendJSONBodyTo0() (EmailsSendJSONBodyTo0, error)
- func (t EmailsSendJSONBody_To) AsEmailsSendJSONBodyTo1() (EmailsSendJSONBodyTo1, error)
- func (t *EmailsSendJSONBody_To) FromEmailsSendJSONBodyTo0(v EmailsSendJSONBodyTo0) error
- func (t *EmailsSendJSONBody_To) FromEmailsSendJSONBodyTo1(v EmailsSendJSONBodyTo1) error
- func (t EmailsSendJSONBody_To) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_To) MergeEmailsSendJSONBodyTo0(v EmailsSendJSONBodyTo0) error
- func (t *EmailsSendJSONBody_To) MergeEmailsSendJSONBodyTo1(v EmailsSendJSONBodyTo1) error
- func (t *EmailsSendJSONBody_To) UnmarshalJSON(b []byte) error
- type EmailsSendJSONBody_To_1_Item
- func (t EmailsSendJSONBody_To_1_Item) AsEmailsSendJSONBodyTo10() (EmailsSendJSONBodyTo10, error)
- func (t EmailsSendJSONBody_To_1_Item) AsEmailsSendJSONBodyTo11() (EmailsSendJSONBodyTo11, error)
- func (t *EmailsSendJSONBody_To_1_Item) FromEmailsSendJSONBodyTo10(v EmailsSendJSONBodyTo10) error
- func (t *EmailsSendJSONBody_To_1_Item) FromEmailsSendJSONBodyTo11(v EmailsSendJSONBodyTo11) error
- func (t EmailsSendJSONBody_To_1_Item) MarshalJSON() ([]byte, error)
- func (t *EmailsSendJSONBody_To_1_Item) MergeEmailsSendJSONBodyTo10(v EmailsSendJSONBodyTo10) error
- func (t *EmailsSendJSONBody_To_1_Item) MergeEmailsSendJSONBodyTo11(v EmailsSendJSONBodyTo11) error
- func (t *EmailsSendJSONBody_To_1_Item) UnmarshalJSON(b []byte) error
- type EmailsSendJSONRequestBody
- type EmailsSendResponse
- type EnvironmentVariableGroupsCreateJSONBody
- type EnvironmentVariableGroupsCreateJSONRequestBody
- type EnvironmentVariableGroupsCreateResponse
- func (r EnvironmentVariableGroupsCreateResponse) ContentType() string
- func (r EnvironmentVariableGroupsCreateResponse) GetBody() []byte
- func (r EnvironmentVariableGroupsCreateResponse) GetJSON201() ...
- func (r EnvironmentVariableGroupsCreateResponse) GetJSON409() *interface{}
- func (r EnvironmentVariableGroupsCreateResponse) Status() string
- func (r EnvironmentVariableGroupsCreateResponse) StatusCode() int
- type EnvironmentVariableGroupsCreateVariableJSONBody
- type EnvironmentVariableGroupsCreateVariableJSONRequestBody
- type EnvironmentVariableGroupsCreateVariableResponse
- func (r EnvironmentVariableGroupsCreateVariableResponse) ContentType() string
- func (r EnvironmentVariableGroupsCreateVariableResponse) GetBody() []byte
- func (r EnvironmentVariableGroupsCreateVariableResponse) GetJSON201() *TEnvironmentVariable
- func (r EnvironmentVariableGroupsCreateVariableResponse) GetJSON409() *interface{}
- func (r EnvironmentVariableGroupsCreateVariableResponse) Status() string
- func (r EnvironmentVariableGroupsCreateVariableResponse) StatusCode() int
- type EnvironmentVariableGroupsDeleteResponse
- type EnvironmentVariableGroupsGetResponse
- func (r EnvironmentVariableGroupsGetResponse) ContentType() string
- func (r EnvironmentVariableGroupsGetResponse) GetBody() []byte
- func (r EnvironmentVariableGroupsGetResponse) GetJSON200() *[]TEnvironmentVariable
- func (r EnvironmentVariableGroupsGetResponse) Status() string
- func (r EnvironmentVariableGroupsGetResponse) StatusCode() int
- type EnvironmentVariableGroupsListParams
- type EnvironmentVariableGroupsListResponse
- func (r EnvironmentVariableGroupsListResponse) ContentType() string
- func (r EnvironmentVariableGroupsListResponse) GetBody() []byte
- func (r EnvironmentVariableGroupsListResponse) GetJSON200() ...
- func (r EnvironmentVariableGroupsListResponse) Status() string
- func (r EnvironmentVariableGroupsListResponse) StatusCode() int
- type EnvironmentVariableGroupsRenameJSONBody
- type EnvironmentVariableGroupsRenameJSONRequestBody
- type EnvironmentVariableGroupsRenameResponse
- func (r EnvironmentVariableGroupsRenameResponse) ContentType() string
- func (r EnvironmentVariableGroupsRenameResponse) GetBody() []byte
- func (r EnvironmentVariableGroupsRenameResponse) GetJSON409() *interface{}
- func (r EnvironmentVariableGroupsRenameResponse) Status() string
- func (r EnvironmentVariableGroupsRenameResponse) StatusCode() int
- type EnvironmentVariableGroupsUpsertVariableJSONBody
- type EnvironmentVariableGroupsUpsertVariableJSONRequestBody
- type EnvironmentVariableGroupsUpsertVariableResponse
- func (r EnvironmentVariableGroupsUpsertVariableResponse) ContentType() string
- func (r EnvironmentVariableGroupsUpsertVariableResponse) GetBody() []byte
- func (r EnvironmentVariableGroupsUpsertVariableResponse) GetJSON201() *TEnvironmentVariable
- func (r EnvironmentVariableGroupsUpsertVariableResponse) Status() string
- func (r EnvironmentVariableGroupsUpsertVariableResponse) StatusCode() int
- type EnvironmentVariableGroupsVariableDeleteResponse
- type FileContentUpdate2JSONBody
- func (t FileContentUpdate2JSONBody) AsFileContentUpdate2JSONBody0() (FileContentUpdate2JSONBody0, error)
- func (t *FileContentUpdate2JSONBody) FromFileContentUpdate2JSONBody0(v FileContentUpdate2JSONBody0) error
- func (t FileContentUpdate2JSONBody) MarshalJSON() ([]byte, error)
- func (t *FileContentUpdate2JSONBody) MergeFileContentUpdate2JSONBody0(v FileContentUpdate2JSONBody0) error
- func (t *FileContentUpdate2JSONBody) UnmarshalJSON(b []byte) error
- type FileContentUpdate2JSONBody0
- type FileContentUpdate2JSONBody0Type
- type FileContentUpdate2JSONRequestBody
- type FileContentUpdate2Params
- type FileContentUpdate2Response
- func (r FileContentUpdate2Response) ContentType() string
- func (r FileContentUpdate2Response) GetBody() []byte
- func (r FileContentUpdate2Response) GetJSON200() *FileRevisionMetadataV2
- func (r FileContentUpdate2Response) GetJSON201() *FileRevisionMetadataV2
- func (r FileContentUpdate2Response) Status() string
- func (r FileContentUpdate2Response) StatusCode() int
- type FileRevisionMetadataV2
- type FileRevisionMetadataV2Type
- type FilesContentGet2Params
- type FilesContentGet2Response
- func (r FilesContentGet2Response) ContentType() string
- func (r FilesContentGet2Response) GetBody() []byte
- func (r FilesContentGet2Response) GetJSON304() *interface{}
- func (r FilesContentGet2Response) GetJSON412() *string
- func (r FilesContentGet2Response) Status() string
- func (r FilesContentGet2Response) StatusCode() int
- type FilesCreate2JSONBody
- func (t FilesCreate2JSONBody) AsFilesCreate2JSONBody0() (FilesCreate2JSONBody0, error)
- func (t FilesCreate2JSONBody) AsFilesCreate2JSONBody1() (FilesCreate2JSONBody1, error)
- func (t *FilesCreate2JSONBody) FromFilesCreate2JSONBody0(v FilesCreate2JSONBody0) error
- func (t *FilesCreate2JSONBody) FromFilesCreate2JSONBody1(v FilesCreate2JSONBody1) error
- func (t FilesCreate2JSONBody) MarshalJSON() ([]byte, error)
- func (t *FilesCreate2JSONBody) MergeFilesCreate2JSONBody0(v FilesCreate2JSONBody0) error
- func (t *FilesCreate2JSONBody) MergeFilesCreate2JSONBody1(v FilesCreate2JSONBody1) error
- func (t *FilesCreate2JSONBody) UnmarshalJSON(b []byte) error
- type FilesCreate2JSONBody0
- type FilesCreate2JSONBody0Type
- type FilesCreate2JSONBody1
- type FilesCreate2JSONBody1Type
- type FilesCreate2JSONRequestBody
- type FilesCreate2Params
- type FilesCreate2Response
- func (r FilesCreate2Response) ContentType() string
- func (r FilesCreate2Response) GetBody() []byte
- func (r FilesCreate2Response) GetJSON201() *FileRevisionMetadataV2
- func (r FilesCreate2Response) GetJSON409() ...
- func (r FilesCreate2Response) Status() string
- func (r FilesCreate2Response) StatusCode() int
- type FilesDelete2Params
- type FilesDelete2Response
- type GetV3ValViewer200JSONResponseBodyType
- type GetV3ValViewerParams
- type GetV3ValViewerResponse
- func (r GetV3ValViewerResponse) ContentType() string
- func (r GetV3ValViewerResponse) GetBody() []byte
- func (r GetV3ValViewerResponse) GetJSON200() ...
- func (r GetV3ValViewerResponse) GetJSON400() ...
- func (r GetV3ValViewerResponse) GetJSON401() ...
- func (r GetV3ValViewerResponse) GetJSON403() ...
- func (r GetV3ValViewerResponse) GetJSON404() ...
- func (r GetV3ValViewerResponse) Status() string
- func (r GetV3ValViewerResponse) StatusCode() int
- type HttpRequestDoer
- type LogListParams
- type LogListParamsDirection
- type LogListResponse
- type MeGet200JSONResponseBodyTier
- type MeGet200JSONResponseBodyType
- type MeGetResponse
- type MeVals2Params
- type MeVals2Response
- type Membership
- type MembershipRole
- type Org
- type OrgsListParams
- type OrgsListResponse
- type OrgsMembershipsListResponse
- type PaginationLinks
- type PostV3ConnectionsGoogleDocsTokenJSONBody
- type PostV3ConnectionsGoogleDocsTokenJSONRequestBody
- type PostV3ConnectionsGoogleDocsTokenResponse
- func (r PostV3ConnectionsGoogleDocsTokenResponse) ContentType() string
- func (r PostV3ConnectionsGoogleDocsTokenResponse) GetBody() []byte
- func (r PostV3ConnectionsGoogleDocsTokenResponse) GetJSON200() ...
- func (r PostV3ConnectionsGoogleDocsTokenResponse) GetJSON404() ...
- func (r PostV3ConnectionsGoogleDocsTokenResponse) GetJSON500() ...
- func (r PostV3ConnectionsGoogleDocsTokenResponse) Status() string
- func (r PostV3ConnectionsGoogleDocsTokenResponse) StatusCode() int
- type PostV3ConnectionsSlackTokenJSONBody
- type PostV3ConnectionsSlackTokenJSONRequestBody
- type PostV3ConnectionsSlackTokenResponse
- func (r PostV3ConnectionsSlackTokenResponse) ContentType() string
- func (r PostV3ConnectionsSlackTokenResponse) GetBody() []byte
- func (r PostV3ConnectionsSlackTokenResponse) GetJSON200() ...
- func (r PostV3ConnectionsSlackTokenResponse) GetJSON404() ...
- func (r PostV3ConnectionsSlackTokenResponse) GetJSON500() ...
- func (r PostV3ConnectionsSlackTokenResponse) Status() string
- func (r PostV3ConnectionsSlackTokenResponse) StatusCode() int
- type ProjectsDelete2Response
- type QueryValFileByIdResponse
- type RequestEditorFn
- type ResultSet
- type ResultSetLastInsertRowid0
- type ResultSetLastInsertRowid1
- type ResultSet_LastInsertRowid
- func (t ResultSet_LastInsertRowid) AsResultSetLastInsertRowid0() (ResultSetLastInsertRowid0, error)
- func (t ResultSet_LastInsertRowid) AsResultSetLastInsertRowid1() (ResultSetLastInsertRowid1, error)
- func (t *ResultSet_LastInsertRowid) FromResultSetLastInsertRowid0(v ResultSetLastInsertRowid0) error
- func (t *ResultSet_LastInsertRowid) FromResultSetLastInsertRowid1(v ResultSetLastInsertRowid1) error
- func (t ResultSet_LastInsertRowid) MarshalJSON() ([]byte, error)
- func (t *ResultSet_LastInsertRowid) MergeResultSetLastInsertRowid0(v ResultSetLastInsertRowid0) error
- func (t *ResultSet_LastInsertRowid) MergeResultSetLastInsertRowid1(v ResultSetLastInsertRowid1) error
- func (t *ResultSet_LastInsertRowid) UnmarshalJSON(b []byte) error
- type SqliteBatchJSONBody
- type SqliteBatchJSONBodyMode
- type SqliteBatchJSONBodyStatements0
- type SqliteBatchJSONBodyStatements1
- type SqliteBatchJSONBodyStatements1Args0
- type SqliteBatchJSONBodyStatements1Args1
- type SqliteBatchJSONBody_Statements_1_Args
- func (t SqliteBatchJSONBody_Statements_1_Args) AsSqliteBatchJSONBodyStatements1Args0() (SqliteBatchJSONBodyStatements1Args0, error)
- func (t SqliteBatchJSONBody_Statements_1_Args) AsSqliteBatchJSONBodyStatements1Args1() (SqliteBatchJSONBodyStatements1Args1, error)
- func (t *SqliteBatchJSONBody_Statements_1_Args) FromSqliteBatchJSONBodyStatements1Args0(v SqliteBatchJSONBodyStatements1Args0) error
- func (t *SqliteBatchJSONBody_Statements_1_Args) FromSqliteBatchJSONBodyStatements1Args1(v SqliteBatchJSONBodyStatements1Args1) error
- func (t SqliteBatchJSONBody_Statements_1_Args) MarshalJSON() ([]byte, error)
- func (t *SqliteBatchJSONBody_Statements_1_Args) MergeSqliteBatchJSONBodyStatements1Args0(v SqliteBatchJSONBodyStatements1Args0) error
- func (t *SqliteBatchJSONBody_Statements_1_Args) MergeSqliteBatchJSONBodyStatements1Args1(v SqliteBatchJSONBodyStatements1Args1) error
- func (t *SqliteBatchJSONBody_Statements_1_Args) UnmarshalJSON(b []byte) error
- type SqliteBatchJSONBody_Statements_Item
- func (t SqliteBatchJSONBody_Statements_Item) AsSqliteBatchJSONBodyStatements0() (SqliteBatchJSONBodyStatements0, error)
- func (t SqliteBatchJSONBody_Statements_Item) AsSqliteBatchJSONBodyStatements1() (SqliteBatchJSONBodyStatements1, error)
- func (t *SqliteBatchJSONBody_Statements_Item) FromSqliteBatchJSONBodyStatements0(v SqliteBatchJSONBodyStatements0) error
- func (t *SqliteBatchJSONBody_Statements_Item) FromSqliteBatchJSONBodyStatements1(v SqliteBatchJSONBodyStatements1) error
- func (t SqliteBatchJSONBody_Statements_Item) MarshalJSON() ([]byte, error)
- func (t *SqliteBatchJSONBody_Statements_Item) MergeSqliteBatchJSONBodyStatements0(v SqliteBatchJSONBodyStatements0) error
- func (t *SqliteBatchJSONBody_Statements_Item) MergeSqliteBatchJSONBodyStatements1(v SqliteBatchJSONBodyStatements1) error
- func (t *SqliteBatchJSONBody_Statements_Item) UnmarshalJSON(b []byte) error
- type SqliteBatchJSONRequestBody
- type SqliteBatchResponse
- type SqliteExecuteJSONBody
- type SqliteExecuteJSONBodyStatement0
- type SqliteExecuteJSONBodyStatement1
- type SqliteExecuteJSONBodyStatement1Args0
- type SqliteExecuteJSONBodyStatement1Args1
- type SqliteExecuteJSONBody_Statement
- func (t SqliteExecuteJSONBody_Statement) AsSqliteExecuteJSONBodyStatement0() (SqliteExecuteJSONBodyStatement0, error)
- func (t SqliteExecuteJSONBody_Statement) AsSqliteExecuteJSONBodyStatement1() (SqliteExecuteJSONBodyStatement1, error)
- func (t *SqliteExecuteJSONBody_Statement) FromSqliteExecuteJSONBodyStatement0(v SqliteExecuteJSONBodyStatement0) error
- func (t *SqliteExecuteJSONBody_Statement) FromSqliteExecuteJSONBodyStatement1(v SqliteExecuteJSONBodyStatement1) error
- func (t SqliteExecuteJSONBody_Statement) MarshalJSON() ([]byte, error)
- func (t *SqliteExecuteJSONBody_Statement) MergeSqliteExecuteJSONBodyStatement0(v SqliteExecuteJSONBodyStatement0) error
- func (t *SqliteExecuteJSONBody_Statement) MergeSqliteExecuteJSONBodyStatement1(v SqliteExecuteJSONBodyStatement1) error
- func (t *SqliteExecuteJSONBody_Statement) UnmarshalJSON(b []byte) error
- type SqliteExecuteJSONBody_Statement_1_Args
- func (t SqliteExecuteJSONBody_Statement_1_Args) AsSqliteExecuteJSONBodyStatement1Args0() (SqliteExecuteJSONBodyStatement1Args0, error)
- func (t SqliteExecuteJSONBody_Statement_1_Args) AsSqliteExecuteJSONBodyStatement1Args1() (SqliteExecuteJSONBodyStatement1Args1, error)
- func (t *SqliteExecuteJSONBody_Statement_1_Args) FromSqliteExecuteJSONBodyStatement1Args0(v SqliteExecuteJSONBodyStatement1Args0) error
- func (t *SqliteExecuteJSONBody_Statement_1_Args) FromSqliteExecuteJSONBodyStatement1Args1(v SqliteExecuteJSONBodyStatement1Args1) error
- func (t SqliteExecuteJSONBody_Statement_1_Args) MarshalJSON() ([]byte, error)
- func (t *SqliteExecuteJSONBody_Statement_1_Args) MergeSqliteExecuteJSONBodyStatement1Args0(v SqliteExecuteJSONBodyStatement1Args0) error
- func (t *SqliteExecuteJSONBody_Statement_1_Args) MergeSqliteExecuteJSONBodyStatement1Args1(v SqliteExecuteJSONBodyStatement1Args1) error
- func (t *SqliteExecuteJSONBody_Statement_1_Args) UnmarshalJSON(b []byte) error
- type SqliteExecuteJSONRequestBody
- type SqliteExecuteResponse
- type TEnvironmentVariable
- type TraceListParams
- type TraceListParamsDirection
- type TraceListParamsOrderBy
- type TraceListResponse
- type User
- type UserType
- type UsersGetResponse
- type V1blobsDeleteResponse
- type V1blobsGetResponse
- type V1blobsListParams
- type V1blobsListResponse
- type V1blobsStoreJSONBody
- type V1blobsStoreJSONRequestBody
- type V1blobsStoreResponse
- type V2blobsDeleteResponse
- type V2blobsGetResponse
- type V2blobsListParams
- type V2blobsListResponse
- type V2blobsStoreJSONBody
- type V2blobsStoreJSONRequestBody
- type V2blobsStoreResponse
- type Val
- type ValAuthorType0
- type ValAuthorType1
- type ValEnvironmentVariableGroupsAttachResponse
- func (r ValEnvironmentVariableGroupsAttachResponse) ContentType() string
- func (r ValEnvironmentVariableGroupsAttachResponse) GetBody() []byte
- func (r ValEnvironmentVariableGroupsAttachResponse) GetJSON404() *interface{}
- func (r ValEnvironmentVariableGroupsAttachResponse) Status() string
- func (r ValEnvironmentVariableGroupsAttachResponse) StatusCode() int
- type ValEnvironmentVariableGroupsDetachResponse
- func (r ValEnvironmentVariableGroupsDetachResponse) ContentType() string
- func (r ValEnvironmentVariableGroupsDetachResponse) GetBody() []byte
- func (r ValEnvironmentVariableGroupsDetachResponse) GetJSON404() *interface{}
- func (r ValEnvironmentVariableGroupsDetachResponse) Status() string
- func (r ValEnvironmentVariableGroupsDetachResponse) StatusCode() int
- type ValEnvironmentVariableGroupsListParams
- type ValEnvironmentVariableGroupsListResponse
- func (r ValEnvironmentVariableGroupsListResponse) ContentType() string
- func (r ValEnvironmentVariableGroupsListResponse) GetBody() []byte
- func (r ValEnvironmentVariableGroupsListResponse) GetJSON200() ...
- func (r ValEnvironmentVariableGroupsListResponse) Status() string
- func (r ValEnvironmentVariableGroupsListResponse) StatusCode() int
- type ValEnvironmentVariablesCreateJSONBody
- type ValEnvironmentVariablesCreateJSONRequestBody
- type ValEnvironmentVariablesCreateResponse
- func (r ValEnvironmentVariablesCreateResponse) ContentType() string
- func (r ValEnvironmentVariablesCreateResponse) GetBody() []byte
- func (r ValEnvironmentVariablesCreateResponse) GetJSON201() *TEnvironmentVariable
- func (r ValEnvironmentVariablesCreateResponse) GetJSON409() *interface{}
- func (r ValEnvironmentVariablesCreateResponse) Status() string
- func (r ValEnvironmentVariablesCreateResponse) StatusCode() int
- type ValEnvironmentVariablesDeleteResponse
- func (r ValEnvironmentVariablesDeleteResponse) ContentType() string
- func (r ValEnvironmentVariablesDeleteResponse) GetBody() []byte
- func (r ValEnvironmentVariablesDeleteResponse) GetJSON404() *interface{}
- func (r ValEnvironmentVariablesDeleteResponse) Status() string
- func (r ValEnvironmentVariablesDeleteResponse) StatusCode() int
- type ValEnvironmentVariablesListParams
- type ValEnvironmentVariablesListResponse
- func (r ValEnvironmentVariablesListResponse) ContentType() string
- func (r ValEnvironmentVariablesListResponse) GetBody() []byte
- func (r ValEnvironmentVariablesListResponse) GetJSON200() ...
- func (r ValEnvironmentVariablesListResponse) Status() string
- func (r ValEnvironmentVariablesListResponse) StatusCode() int
- type ValEnvironmentVariablesUpdateJSONBody
- type ValEnvironmentVariablesUpdateJSONRequestBody
- type ValEnvironmentVariablesUpdateResponse
- func (r ValEnvironmentVariablesUpdateResponse) ContentType() string
- func (r ValEnvironmentVariablesUpdateResponse) GetBody() []byte
- func (r ValEnvironmentVariablesUpdateResponse) GetJSON201() *TEnvironmentVariable
- func (r ValEnvironmentVariablesUpdateResponse) Status() string
- func (r ValEnvironmentVariablesUpdateResponse) StatusCode() int
- type ValFilesGet2Params
- type ValFilesGet2Response
- type ValPrivacy
- type Val_Author_Type
- func (t Val_Author_Type) AsValAuthorType0() (ValAuthorType0, error)
- func (t Val_Author_Type) AsValAuthorType1() (ValAuthorType1, error)
- func (t *Val_Author_Type) FromValAuthorType0(v ValAuthorType0) error
- func (t *Val_Author_Type) FromValAuthorType1(v ValAuthorType1) error
- func (t Val_Author_Type) MarshalJSON() ([]byte, error)
- func (t *Val_Author_Type) MergeValAuthorType0(v ValAuthorType0) error
- func (t *Val_Author_Type) MergeValAuthorType1(v ValAuthorType1) error
- func (t *Val_Author_Type) UnmarshalJSON(b []byte) error
- type ValsCreate2JSONBody
- type ValsCreate2JSONBodyHttpPrivacy
- type ValsCreate2JSONBodyPrivacy
- type ValsCreate2JSONRequestBody
- type ValsCreate2Response
- type ValsCreate2201JSONResponseBodyAuthorType0
- type ValsCreate2201JSONResponseBodyAuthorType1
- type ValsCreate2201JSONResponseBodyHttpPrivacy
- type ValsCreate2201JSONResponseBodyPrivacy
- type ValsCreate2201JSONResponseBody_Author_Type
- func (t ValsCreate2201JSONResponseBody_Author_Type) AsValsCreate2201JSONResponseBodyAuthorType0() (ValsCreate2201JSONResponseBodyAuthorType0, error)
- func (t ValsCreate2201JSONResponseBody_Author_Type) AsValsCreate2201JSONResponseBodyAuthorType1() (ValsCreate2201JSONResponseBodyAuthorType1, error)
- func (t *ValsCreate2201JSONResponseBody_Author_Type) FromValsCreate2201JSONResponseBodyAuthorType0(v ValsCreate2201JSONResponseBodyAuthorType0) error
- func (t *ValsCreate2201JSONResponseBody_Author_Type) FromValsCreate2201JSONResponseBodyAuthorType1(v ValsCreate2201JSONResponseBodyAuthorType1) error
- func (t ValsCreate2201JSONResponseBody_Author_Type) MarshalJSON() ([]byte, error)
- func (t *ValsCreate2201JSONResponseBody_Author_Type) MergeValsCreate2201JSONResponseBodyAuthorType0(v ValsCreate2201JSONResponseBodyAuthorType0) error
- func (t *ValsCreate2201JSONResponseBody_Author_Type) MergeValsCreate2201JSONResponseBodyAuthorType1(v ValsCreate2201JSONResponseBodyAuthorType1) error
- func (t *ValsCreate2201JSONResponseBody_Author_Type) UnmarshalJSON(b []byte) error
- type ValsGet2Response
- type ValsList2Params
- type ValsList2ParamsPrivacy
- type ValsList2Response
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAliasUsernameRequest ¶
NewAliasUsernameRequest constructs an http.Request for the AliasUsername method
func NewAliasVal2Request ¶
NewAliasVal2Request constructs an http.Request for the AliasVal2 method
func NewBranchesCreate2Request ¶
func NewBranchesCreate2Request(server string, valId openapi_types.UUID, body BranchesCreate2JSONRequestBody) (*http.Request, error)
NewBranchesCreate2Request calls the generic BranchesCreate2 builder with application/json body
func NewBranchesCreate2RequestWithBody ¶
func NewBranchesCreate2RequestWithBody(server string, valId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewBranchesCreate2RequestWithBody constructs an http.Request for the BranchesCreate2 method, with any body, and a specified content type
func NewBranchesDelete2Request ¶
func NewBranchesDelete2Request(server string, valId openapi_types.UUID, branchId openapi_types.UUID) (*http.Request, error)
NewBranchesDelete2Request constructs an http.Request for the BranchesDelete2 method
func NewBranchesGet2Request ¶
func NewBranchesGet2Request(server string, valId openapi_types.UUID, branchId openapi_types.UUID) (*http.Request, error)
NewBranchesGet2Request constructs an http.Request for the BranchesGet2 method
func NewBranchesList2Request ¶
func NewBranchesList2Request(server string, valId openapi_types.UUID, params *BranchesList2Params) (*http.Request, error)
NewBranchesList2Request constructs an http.Request for the BranchesList2 method
func NewBranchesMergeUpstream2Request ¶
func NewBranchesMergeUpstream2Request(server string, valId openapi_types.UUID, branchId openapi_types.UUID) (*http.Request, error)
NewBranchesMergeUpstream2Request constructs an http.Request for the BranchesMergeUpstream2 method
func NewEmailsSendRequest ¶
func NewEmailsSendRequest(server string, body EmailsSendJSONRequestBody) (*http.Request, error)
NewEmailsSendRequest calls the generic EmailsSend builder with application/json body
func NewEmailsSendRequestWithBody ¶
func NewEmailsSendRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEmailsSendRequestWithBody constructs an http.Request for the EmailsSend method, with any body, and a specified content type
func NewEnvironmentVariableGroupsCreateRequest ¶
func NewEnvironmentVariableGroupsCreateRequest(server string, body EnvironmentVariableGroupsCreateJSONRequestBody) (*http.Request, error)
NewEnvironmentVariableGroupsCreateRequest calls the generic EnvironmentVariableGroupsCreate builder with application/json body
func NewEnvironmentVariableGroupsCreateRequestWithBody ¶
func NewEnvironmentVariableGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEnvironmentVariableGroupsCreateRequestWithBody constructs an http.Request for the EnvironmentVariableGroupsCreate method, with any body, and a specified content type
func NewEnvironmentVariableGroupsCreateVariableRequest ¶
func NewEnvironmentVariableGroupsCreateVariableRequest(server string, id openapi_types.UUID, body EnvironmentVariableGroupsCreateVariableJSONRequestBody) (*http.Request, error)
NewEnvironmentVariableGroupsCreateVariableRequest calls the generic EnvironmentVariableGroupsCreateVariable builder with application/json body
func NewEnvironmentVariableGroupsCreateVariableRequestWithBody ¶
func NewEnvironmentVariableGroupsCreateVariableRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewEnvironmentVariableGroupsCreateVariableRequestWithBody constructs an http.Request for the EnvironmentVariableGroupsCreateVariable method, with any body, and a specified content type
func NewEnvironmentVariableGroupsDeleteRequest ¶
func NewEnvironmentVariableGroupsDeleteRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewEnvironmentVariableGroupsDeleteRequest constructs an http.Request for the EnvironmentVariableGroupsDelete method
func NewEnvironmentVariableGroupsGetRequest ¶
func NewEnvironmentVariableGroupsGetRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewEnvironmentVariableGroupsGetRequest constructs an http.Request for the EnvironmentVariableGroupsGet method
func NewEnvironmentVariableGroupsListRequest ¶
func NewEnvironmentVariableGroupsListRequest(server string, params *EnvironmentVariableGroupsListParams) (*http.Request, error)
NewEnvironmentVariableGroupsListRequest constructs an http.Request for the EnvironmentVariableGroupsList method
func NewEnvironmentVariableGroupsRenameRequest ¶
func NewEnvironmentVariableGroupsRenameRequest(server string, id openapi_types.UUID, body EnvironmentVariableGroupsRenameJSONRequestBody) (*http.Request, error)
NewEnvironmentVariableGroupsRenameRequest calls the generic EnvironmentVariableGroupsRename builder with application/json body
func NewEnvironmentVariableGroupsRenameRequestWithBody ¶
func NewEnvironmentVariableGroupsRenameRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewEnvironmentVariableGroupsRenameRequestWithBody constructs an http.Request for the EnvironmentVariableGroupsRename method, with any body, and a specified content type
func NewEnvironmentVariableGroupsUpsertVariableRequest ¶
func NewEnvironmentVariableGroupsUpsertVariableRequest(server string, id openapi_types.UUID, key string, body EnvironmentVariableGroupsUpsertVariableJSONRequestBody) (*http.Request, error)
NewEnvironmentVariableGroupsUpsertVariableRequest calls the generic EnvironmentVariableGroupsUpsertVariable builder with application/json body
func NewEnvironmentVariableGroupsUpsertVariableRequestWithBody ¶
func NewEnvironmentVariableGroupsUpsertVariableRequestWithBody(server string, id openapi_types.UUID, key string, contentType string, body io.Reader) (*http.Request, error)
NewEnvironmentVariableGroupsUpsertVariableRequestWithBody constructs an http.Request for the EnvironmentVariableGroupsUpsertVariable method, with any body, and a specified content type
func NewEnvironmentVariableGroupsVariableDeleteRequest ¶
func NewEnvironmentVariableGroupsVariableDeleteRequest(server string, id openapi_types.UUID, key string) (*http.Request, error)
NewEnvironmentVariableGroupsVariableDeleteRequest constructs an http.Request for the EnvironmentVariableGroupsVariableDelete method
func NewFileContentUpdate2Request ¶
func NewFileContentUpdate2Request(server string, valId openapi_types.UUID, params *FileContentUpdate2Params, body FileContentUpdate2JSONRequestBody) (*http.Request, error)
NewFileContentUpdate2Request calls the generic FileContentUpdate2 builder with application/json body
func NewFileContentUpdate2RequestWithBody ¶
func NewFileContentUpdate2RequestWithBody(server string, valId openapi_types.UUID, params *FileContentUpdate2Params, contentType string, body io.Reader) (*http.Request, error)
NewFileContentUpdate2RequestWithBody constructs an http.Request for the FileContentUpdate2 method, with any body, and a specified content type
func NewFilesContentGet2Request ¶
func NewFilesContentGet2Request(server string, valId openapi_types.UUID, params *FilesContentGet2Params) (*http.Request, error)
NewFilesContentGet2Request constructs an http.Request for the FilesContentGet2 method
func NewFilesCreate2Request ¶
func NewFilesCreate2Request(server string, valId openapi_types.UUID, params *FilesCreate2Params, body FilesCreate2JSONRequestBody) (*http.Request, error)
NewFilesCreate2Request calls the generic FilesCreate2 builder with application/json body
func NewFilesCreate2RequestWithBody ¶
func NewFilesCreate2RequestWithBody(server string, valId openapi_types.UUID, params *FilesCreate2Params, contentType string, body io.Reader) (*http.Request, error)
NewFilesCreate2RequestWithBody constructs an http.Request for the FilesCreate2 method, with any body, and a specified content type
func NewFilesDelete2Request ¶
func NewFilesDelete2Request(server string, valId openapi_types.UUID, params *FilesDelete2Params) (*http.Request, error)
NewFilesDelete2Request constructs an http.Request for the FilesDelete2 method
func NewGetV3ValViewerRequest ¶
func NewGetV3ValViewerRequest(server string, params *GetV3ValViewerParams) (*http.Request, error)
NewGetV3ValViewerRequest constructs an http.Request for the GetV3ValViewer method
func NewLogListRequest ¶
func NewLogListRequest(server string, params *LogListParams) (*http.Request, error)
NewLogListRequest constructs an http.Request for the LogList method
func NewMeGetRequest ¶
NewMeGetRequest constructs an http.Request for the MeGet method
func NewMeVals2Request ¶
func NewMeVals2Request(server string, params *MeVals2Params) (*http.Request, error)
NewMeVals2Request constructs an http.Request for the MeVals2 method
func NewOrgsListRequest ¶
func NewOrgsListRequest(server string, params *OrgsListParams) (*http.Request, error)
NewOrgsListRequest constructs an http.Request for the OrgsList method
func NewOrgsMembershipsListRequest ¶
NewOrgsMembershipsListRequest constructs an http.Request for the OrgsMembershipsList method
func NewPostV3ConnectionsGoogleDocsTokenRequest ¶
func NewPostV3ConnectionsGoogleDocsTokenRequest(server string, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody) (*http.Request, error)
NewPostV3ConnectionsGoogleDocsTokenRequest calls the generic PostV3ConnectionsGoogleDocsToken builder with application/json body
func NewPostV3ConnectionsGoogleDocsTokenRequestWithBody ¶
func NewPostV3ConnectionsGoogleDocsTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV3ConnectionsGoogleDocsTokenRequestWithBody constructs an http.Request for the PostV3ConnectionsGoogleDocsToken method, with any body, and a specified content type
func NewPostV3ConnectionsSlackTokenRequest ¶
func NewPostV3ConnectionsSlackTokenRequest(server string, body PostV3ConnectionsSlackTokenJSONRequestBody) (*http.Request, error)
NewPostV3ConnectionsSlackTokenRequest calls the generic PostV3ConnectionsSlackToken builder with application/json body
func NewPostV3ConnectionsSlackTokenRequestWithBody ¶
func NewPostV3ConnectionsSlackTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV3ConnectionsSlackTokenRequestWithBody constructs an http.Request for the PostV3ConnectionsSlackToken method, with any body, and a specified content type
func NewProjectsDelete2Request ¶
NewProjectsDelete2Request constructs an http.Request for the ProjectsDelete2 method
func NewQueryValFileByIdRequest ¶
NewQueryValFileByIdRequest constructs an http.Request for the QueryValFileById method
func NewSqliteBatchRequest ¶
func NewSqliteBatchRequest(server string, body SqliteBatchJSONRequestBody) (*http.Request, error)
NewSqliteBatchRequest calls the generic SqliteBatch builder with application/json body
func NewSqliteBatchRequestWithBody ¶
func NewSqliteBatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSqliteBatchRequestWithBody constructs an http.Request for the SqliteBatch method, with any body, and a specified content type
func NewSqliteExecuteRequest ¶
func NewSqliteExecuteRequest(server string, body SqliteExecuteJSONRequestBody) (*http.Request, error)
NewSqliteExecuteRequest calls the generic SqliteExecute builder with application/json body
func NewSqliteExecuteRequestWithBody ¶
func NewSqliteExecuteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSqliteExecuteRequestWithBody constructs an http.Request for the SqliteExecute method, with any body, and a specified content type
func NewTraceListRequest ¶
func NewTraceListRequest(server string, params *TraceListParams) (*http.Request, error)
NewTraceListRequest constructs an http.Request for the TraceList method
func NewUsersGetRequest ¶
NewUsersGetRequest constructs an http.Request for the UsersGet method
func NewV1blobsDeleteRequest ¶
NewV1blobsDeleteRequest constructs an http.Request for the V1blobsDelete method
func NewV1blobsGetRequest ¶
NewV1blobsGetRequest constructs an http.Request for the V1blobsGet method
func NewV1blobsListRequest ¶
func NewV1blobsListRequest(server string, params *V1blobsListParams) (*http.Request, error)
NewV1blobsListRequest constructs an http.Request for the V1blobsList method
func NewV1blobsStoreRequest ¶
func NewV1blobsStoreRequest(server string, key string, body V1blobsStoreJSONRequestBody) (*http.Request, error)
NewV1blobsStoreRequest calls the generic V1blobsStore builder with application/json body
func NewV1blobsStoreRequestWithBody ¶
func NewV1blobsStoreRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
NewV1blobsStoreRequestWithBody constructs an http.Request for the V1blobsStore method, with any body, and a specified content type
func NewV2blobsDeleteRequest ¶
NewV2blobsDeleteRequest constructs an http.Request for the V2blobsDelete method
func NewV2blobsGetRequest ¶
NewV2blobsGetRequest constructs an http.Request for the V2blobsGet method
func NewV2blobsListRequest ¶
func NewV2blobsListRequest(server string, params *V2blobsListParams) (*http.Request, error)
NewV2blobsListRequest constructs an http.Request for the V2blobsList method
func NewV2blobsStoreRequest ¶
func NewV2blobsStoreRequest(server string, key string, body V2blobsStoreJSONRequestBody) (*http.Request, error)
NewV2blobsStoreRequest calls the generic V2blobsStore builder with application/json body
func NewV2blobsStoreRequestWithBody ¶
func NewV2blobsStoreRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
NewV2blobsStoreRequestWithBody constructs an http.Request for the V2blobsStore method, with any body, and a specified content type
func NewValEnvironmentVariableGroupsAttachRequest ¶
func NewValEnvironmentVariableGroupsAttachRequest(server string, valId openapi_types.UUID, groupId openapi_types.UUID) (*http.Request, error)
NewValEnvironmentVariableGroupsAttachRequest constructs an http.Request for the ValEnvironmentVariableGroupsAttach method
func NewValEnvironmentVariableGroupsDetachRequest ¶
func NewValEnvironmentVariableGroupsDetachRequest(server string, valId openapi_types.UUID, groupId openapi_types.UUID) (*http.Request, error)
NewValEnvironmentVariableGroupsDetachRequest constructs an http.Request for the ValEnvironmentVariableGroupsDetach method
func NewValEnvironmentVariableGroupsListRequest ¶
func NewValEnvironmentVariableGroupsListRequest(server string, valId openapi_types.UUID, params *ValEnvironmentVariableGroupsListParams) (*http.Request, error)
NewValEnvironmentVariableGroupsListRequest constructs an http.Request for the ValEnvironmentVariableGroupsList method
func NewValEnvironmentVariablesCreateRequest ¶
func NewValEnvironmentVariablesCreateRequest(server string, valId openapi_types.UUID, body ValEnvironmentVariablesCreateJSONRequestBody) (*http.Request, error)
NewValEnvironmentVariablesCreateRequest calls the generic ValEnvironmentVariablesCreate builder with application/json body
func NewValEnvironmentVariablesCreateRequestWithBody ¶
func NewValEnvironmentVariablesCreateRequestWithBody(server string, valId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewValEnvironmentVariablesCreateRequestWithBody constructs an http.Request for the ValEnvironmentVariablesCreate method, with any body, and a specified content type
func NewValEnvironmentVariablesDeleteRequest ¶
func NewValEnvironmentVariablesDeleteRequest(server string, valId openapi_types.UUID, key string) (*http.Request, error)
NewValEnvironmentVariablesDeleteRequest constructs an http.Request for the ValEnvironmentVariablesDelete method
func NewValEnvironmentVariablesListRequest ¶
func NewValEnvironmentVariablesListRequest(server string, valId openapi_types.UUID, params *ValEnvironmentVariablesListParams) (*http.Request, error)
NewValEnvironmentVariablesListRequest constructs an http.Request for the ValEnvironmentVariablesList method
func NewValEnvironmentVariablesUpdateRequest ¶
func NewValEnvironmentVariablesUpdateRequest(server string, valId openapi_types.UUID, key string, body ValEnvironmentVariablesUpdateJSONRequestBody) (*http.Request, error)
NewValEnvironmentVariablesUpdateRequest calls the generic ValEnvironmentVariablesUpdate builder with application/json body
func NewValEnvironmentVariablesUpdateRequestWithBody ¶
func NewValEnvironmentVariablesUpdateRequestWithBody(server string, valId openapi_types.UUID, key string, contentType string, body io.Reader) (*http.Request, error)
NewValEnvironmentVariablesUpdateRequestWithBody constructs an http.Request for the ValEnvironmentVariablesUpdate method, with any body, and a specified content type
func NewValFilesGet2Request ¶
func NewValFilesGet2Request(server string, valId openapi_types.UUID, params *ValFilesGet2Params) (*http.Request, error)
NewValFilesGet2Request constructs an http.Request for the ValFilesGet2 method
func NewValsCreate2Request ¶
func NewValsCreate2Request(server string, body ValsCreate2JSONRequestBody) (*http.Request, error)
NewValsCreate2Request calls the generic ValsCreate2 builder with application/json body
func NewValsCreate2RequestWithBody ¶
func NewValsCreate2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewValsCreate2RequestWithBody constructs an http.Request for the ValsCreate2 method, with any body, and a specified content type
func NewValsGet2Request ¶
NewValsGet2Request constructs an http.Request for the ValsGet2 method
func NewValsList2Request ¶
func NewValsList2Request(server string, params *ValsList2Params) (*http.Request, error)
NewValsList2Request constructs an http.Request for the ValsList2 method
Types ¶
type AliasUsernameResponse ¶
type AliasUsernameResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *User
}
func ParseAliasUsernameResponse ¶
func ParseAliasUsernameResponse(rsp *http.Response) (*AliasUsernameResponse, error)
ParseAliasUsernameResponse parses an HTTP response from a AliasUsernameWithResponse call
func (AliasUsernameResponse) ContentType ¶
func (r AliasUsernameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AliasUsernameResponse) GetBody ¶
func (r AliasUsernameResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AliasUsernameResponse) GetJSON200 ¶
func (r AliasUsernameResponse) GetJSON200() *User
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AliasUsernameResponse) Status ¶
func (r AliasUsernameResponse) Status() string
Status returns HTTPResponse.Status
func (AliasUsernameResponse) StatusCode ¶
func (r AliasUsernameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AliasVal2Response ¶
type AliasVal2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Val
}
func ParseAliasVal2Response ¶
func ParseAliasVal2Response(rsp *http.Response) (*AliasVal2Response, error)
ParseAliasVal2Response parses an HTTP response from a AliasVal2WithResponse call
func (AliasVal2Response) ContentType ¶
func (r AliasVal2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AliasVal2Response) GetBody ¶
func (r AliasVal2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (AliasVal2Response) GetJSON200 ¶
func (r AliasVal2Response) GetJSON200() *Val
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AliasVal2Response) Status ¶
func (r AliasVal2Response) Status() string
Status returns HTTPResponse.Status
func (AliasVal2Response) StatusCode ¶
func (r AliasVal2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Branch ¶
type Branch struct {
CreatedAt time.Time `json:"createdAt"`
ForkedBranchId *string `json:"forkedBranchId"`
// Id The id of the branch
Id openapi_types.UUID `json:"id"`
Links struct {
// Html The URL of this resource on Val Town
Html string `json:"html"`
// Self The URL of this resource on this API
Self string `json:"self"`
} `json:"links"`
Name string `json:"name"`
UpdatedAt time.Time `json:"updatedAt"`
Version int `json:"version"`
}
Branch A Branch
type BranchesCreate2JSONBody ¶
type BranchesCreate2JSONBody struct {
// BranchId The branch ID to fork from. If this is not specified, the new branch will be forked from main.
BranchId *openapi_types.UUID `json:"branchId,omitempty"`
Name string `json:"name"`
}
BranchesCreate2JSONBody defines parameters for BranchesCreate2.
type BranchesCreate2JSONRequestBody ¶
type BranchesCreate2JSONRequestBody BranchesCreate2JSONBody
BranchesCreate2JSONRequestBody defines body for BranchesCreate2 for application/json ContentType.
type BranchesCreate2Response ¶
type BranchesCreate2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Branch
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *interface{}
}
func ParseBranchesCreate2Response ¶
func ParseBranchesCreate2Response(rsp *http.Response) (*BranchesCreate2Response, error)
ParseBranchesCreate2Response parses an HTTP response from a BranchesCreate2WithResponse call
func (BranchesCreate2Response) ContentType ¶
func (r BranchesCreate2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BranchesCreate2Response) GetBody ¶
func (r BranchesCreate2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (BranchesCreate2Response) GetJSON201 ¶
func (r BranchesCreate2Response) GetJSON201() *Branch
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (BranchesCreate2Response) GetJSON409 ¶
func (r BranchesCreate2Response) GetJSON409() *interface{}
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (BranchesCreate2Response) Status ¶
func (r BranchesCreate2Response) Status() string
Status returns HTTPResponse.Status
func (BranchesCreate2Response) StatusCode ¶
func (r BranchesCreate2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BranchesDelete2Response ¶
type BranchesDelete2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *interface{}
}
func ParseBranchesDelete2Response ¶
func ParseBranchesDelete2Response(rsp *http.Response) (*BranchesDelete2Response, error)
ParseBranchesDelete2Response parses an HTTP response from a BranchesDelete2WithResponse call
func (BranchesDelete2Response) ContentType ¶
func (r BranchesDelete2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BranchesDelete2Response) GetBody ¶
func (r BranchesDelete2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (BranchesDelete2Response) GetJSON404 ¶
func (r BranchesDelete2Response) GetJSON404() *interface{}
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BranchesDelete2Response) Status ¶
func (r BranchesDelete2Response) Status() string
Status returns HTTPResponse.Status
func (BranchesDelete2Response) StatusCode ¶
func (r BranchesDelete2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BranchesGet2Response ¶
type BranchesGet2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Branch
}
func ParseBranchesGet2Response ¶
func ParseBranchesGet2Response(rsp *http.Response) (*BranchesGet2Response, error)
ParseBranchesGet2Response parses an HTTP response from a BranchesGet2WithResponse call
func (BranchesGet2Response) ContentType ¶
func (r BranchesGet2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BranchesGet2Response) GetBody ¶
func (r BranchesGet2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (BranchesGet2Response) GetJSON200 ¶
func (r BranchesGet2Response) GetJSON200() *Branch
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BranchesGet2Response) Status ¶
func (r BranchesGet2Response) Status() string
Status returns HTTPResponse.Status
func (BranchesGet2Response) StatusCode ¶
func (r BranchesGet2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BranchesList2Params ¶
type BranchesList2Params struct {
// Offset Number of items to skip in order to deliver paginated results
Offset int `form:"offset" json:"offset"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
BranchesList2Params defines parameters for BranchesList2.
type BranchesList2Response ¶
type BranchesList2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []Branch `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseBranchesList2Response ¶
func ParseBranchesList2Response(rsp *http.Response) (*BranchesList2Response, error)
ParseBranchesList2Response parses an HTTP response from a BranchesList2WithResponse call
func (BranchesList2Response) ContentType ¶
func (r BranchesList2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BranchesList2Response) GetBody ¶
func (r BranchesList2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (BranchesList2Response) GetJSON200 ¶
func (r BranchesList2Response) GetJSON200() *struct { Data []Branch `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BranchesList2Response) Status ¶
func (r BranchesList2Response) Status() string
Status returns HTTPResponse.Status
func (BranchesList2Response) StatusCode ¶
func (r BranchesList2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BranchesMergeUpstream2Response ¶
type BranchesMergeUpstream2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Branch
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *interface{}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *interface{}
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *interface{}
}
func ParseBranchesMergeUpstream2Response ¶
func ParseBranchesMergeUpstream2Response(rsp *http.Response) (*BranchesMergeUpstream2Response, error)
ParseBranchesMergeUpstream2Response parses an HTTP response from a BranchesMergeUpstream2WithResponse call
func (BranchesMergeUpstream2Response) ContentType ¶
func (r BranchesMergeUpstream2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BranchesMergeUpstream2Response) GetBody ¶
func (r BranchesMergeUpstream2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (BranchesMergeUpstream2Response) GetJSON200 ¶
func (r BranchesMergeUpstream2Response) GetJSON200() *Branch
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BranchesMergeUpstream2Response) GetJSON400 ¶
func (r BranchesMergeUpstream2Response) GetJSON400() *interface{}
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (BranchesMergeUpstream2Response) GetJSON404 ¶
func (r BranchesMergeUpstream2Response) GetJSON404() *interface{}
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BranchesMergeUpstream2Response) GetJSON409 ¶
func (r BranchesMergeUpstream2Response) GetJSON409() *interface{}
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (BranchesMergeUpstream2Response) Status ¶
func (r BranchesMergeUpstream2Response) Status() string
Status returns HTTPResponse.Status
func (BranchesMergeUpstream2Response) StatusCode ¶
func (r BranchesMergeUpstream2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) AliasUsername ¶
func (c *Client) AliasUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
AliasUsername performs a GET /v1/alias/{username} (the `AliasUsername` operationId) request.
Get basic details about a user, given their username
func (*Client) AliasVal2 ¶
func (c *Client) AliasVal2(ctx context.Context, username string, valName string, reqEditors ...RequestEditorFn) (*http.Response, error)
AliasVal2 performs a GET /v2/alias/vals/{username}/{val_name} (the `AliasVal2` operationId) request.
Get a val.
func (*Client) BranchesCreate2 ¶
func (c *Client) BranchesCreate2(ctx context.Context, valId openapi_types.UUID, body BranchesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BranchesCreate2 performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request. Takes a body of the `application/json` content type.
Create a new branch.
func (*Client) BranchesCreate2WithBody ¶
func (c *Client) BranchesCreate2WithBody(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BranchesCreate2WithBody performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request, with any type of body and a specified content type.
Create a new branch.
func (*Client) BranchesDelete2 ¶
func (c *Client) BranchesDelete2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
BranchesDelete2 performs a DELETE /v2/vals/{val_id}/branches/{branch_id} (the `BranchesDelete2` operationId) request.
Delete a branch.
func (*Client) BranchesGet2 ¶
func (c *Client) BranchesGet2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
BranchesGet2 performs a GET /v2/vals/{val_id}/branches/{branch_id} (the `BranchesGet2` operationId) request.
Get a branch by id.
func (*Client) BranchesList2 ¶
func (c *Client) BranchesList2(ctx context.Context, valId openapi_types.UUID, params *BranchesList2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
BranchesList2 performs a GET /v2/vals/{val_id}/branches (the `BranchesList2` operationId) request.
List all branches for a val.
func (*Client) BranchesMergeUpstream2 ¶
func (c *Client) BranchesMergeUpstream2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
BranchesMergeUpstream2 performs a POST /v2/vals/{val_id}/branches/{branch_id}/merge-upstream (the `BranchesMergeUpstream2` operationId) request.
Update a remixed branch with the latest changes from the branch it was remixed from.
func (*Client) EmailsSend ¶
func (c *Client) EmailsSend(ctx context.Context, body EmailsSendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EmailsSend performs a POST /v1/email (the `EmailsSend` operationId) request. Takes a body of the `application/json` content type.
Send emails.
func (*Client) EmailsSendWithBody ¶
func (c *Client) EmailsSendWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EmailsSendWithBody performs a POST /v1/email (the `EmailsSend` operationId) request, with any type of body and a specified content type.
Send emails.
func (*Client) EnvironmentVariableGroupsCreate ¶
func (c *Client) EnvironmentVariableGroupsCreate(ctx context.Context, body EnvironmentVariableGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsCreate performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request. Takes a body of the `application/json` content type.
Create a new environment variable group.
func (*Client) EnvironmentVariableGroupsCreateVariable ¶
func (c *Client) EnvironmentVariableGroupsCreateVariable(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsCreateVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsCreateVariable performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request. Takes a body of the `application/json` content type.
Create an environment variable in a group.
func (*Client) EnvironmentVariableGroupsCreateVariableWithBody ¶
func (c *Client) EnvironmentVariableGroupsCreateVariableWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsCreateVariableWithBody performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request, with any type of body and a specified content type.
Create an environment variable in a group.
func (*Client) EnvironmentVariableGroupsCreateWithBody ¶
func (c *Client) EnvironmentVariableGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsCreateWithBody performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request, with any type of body and a specified content type.
Create a new environment variable group.
func (*Client) EnvironmentVariableGroupsDelete ¶
func (c *Client) EnvironmentVariableGroupsDelete(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsDelete performs a DELETE /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsDelete` operationId) request.
Delete an environment variable group.
func (*Client) EnvironmentVariableGroupsGet ¶
func (c *Client) EnvironmentVariableGroupsGet(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsGet performs a GET /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsGet` operationId) request.
List variables in an environment variable group.
func (*Client) EnvironmentVariableGroupsList ¶
func (c *Client) EnvironmentVariableGroupsList(ctx context.Context, params *EnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsList performs a GET /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsList` operationId) request.
List environment variable groups.
func (*Client) EnvironmentVariableGroupsRename ¶
func (c *Client) EnvironmentVariableGroupsRename(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsRename performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request. Takes a body of the `application/json` content type.
Rename an environment variable group.
func (*Client) EnvironmentVariableGroupsRenameWithBody ¶
func (c *Client) EnvironmentVariableGroupsRenameWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsRenameWithBody performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request, with any type of body and a specified content type.
Rename an environment variable group.
func (*Client) EnvironmentVariableGroupsUpsertVariable ¶
func (c *Client) EnvironmentVariableGroupsUpsertVariable(ctx context.Context, id openapi_types.UUID, key string, body EnvironmentVariableGroupsUpsertVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsUpsertVariable performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request. Takes a body of the `application/json` content type.
Create or update an environment variable in a group.
func (*Client) EnvironmentVariableGroupsUpsertVariableWithBody ¶
func (c *Client) EnvironmentVariableGroupsUpsertVariableWithBody(ctx context.Context, id openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsUpsertVariableWithBody performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request, with any type of body and a specified content type.
Create or update an environment variable in a group.
func (*Client) EnvironmentVariableGroupsVariableDelete ¶
func (c *Client) EnvironmentVariableGroupsVariableDelete(ctx context.Context, id openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
EnvironmentVariableGroupsVariableDelete performs a DELETE /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsVariableDelete` operationId) request.
Delete an environment variable in a group.
func (*Client) FileContentUpdate2 ¶
func (c *Client) FileContentUpdate2(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, body FileContentUpdate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FileContentUpdate2 performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request. Takes a body of the `application/json` content type.
Update a file's content.
func (*Client) FileContentUpdate2WithBody ¶
func (c *Client) FileContentUpdate2WithBody(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FileContentUpdate2WithBody performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request, with any type of body and a specified content type.
Update a file's content.
func (*Client) FilesContentGet2 ¶
func (c *Client) FilesContentGet2(ctx context.Context, valId openapi_types.UUID, params *FilesContentGet2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesContentGet2 performs a GET /v2/vals/{val_id}/files/content (the `FilesContentGet2` operationId) request.
Download file content.
func (*Client) FilesCreate2 ¶
func (c *Client) FilesCreate2(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, body FilesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesCreate2 performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request. Takes a body of the `application/json` content type.
Create a new file, project val or directory
func (*Client) FilesCreate2WithBody ¶
func (c *Client) FilesCreate2WithBody(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesCreate2WithBody performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request, with any type of body and a specified content type.
Create a new file, project val or directory
func (*Client) FilesDelete2 ¶
func (c *Client) FilesDelete2(ctx context.Context, valId openapi_types.UUID, params *FilesDelete2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesDelete2 performs a DELETE /v2/vals/{val_id}/files (the `FilesDelete2` operationId) request.
Deletes a file or a directory. To delete a directory and all of its children, use the recursive flag. To delete all files, pass in an empty path and the recursive flag.
func (*Client) GetV3ValViewer ¶
func (c *Client) GetV3ValViewer(ctx context.Context, params *GetV3ValViewerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetV3ValViewer performs a GET /v3/val/viewer (the `GetV3ValViewer` operationId) request.
Look up the identity of the viewer of an app-authenticated (intranet) val, given the X-Val-Town-User header value that Fastify forwarded to the val. Authenticated with the val's own API token (bearer auth). The projectId inside the signed header must match the caller's own project.
func (*Client) LogList ¶
func (c *Client) LogList(ctx context.Context, params *LogListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LogList performs a GET /v1/telemetry/logs (the `LogList` operationId) request.
Get OpenTelemetry logs within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Filter additionally by branch_ids or file_id.
func (*Client) MeGet ¶
MeGet performs a GET /v1/me (the `MeGet` operationId) request.
Get profile information for the current user.
func (*Client) MeVals2 ¶
func (c *Client) MeVals2(ctx context.Context, params *MeVals2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
MeVals2 performs a GET /v2/me/vals (the `MeVals2` operationId) request.
[BETA] List all of a user's vals for authenticated users.
func (*Client) OrgsList ¶
func (c *Client) OrgsList(ctx context.Context, params *OrgsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
OrgsList performs a GET /v2/orgs (the `OrgsList` operationId) request.
Get all orgs you are a member of.
func (*Client) OrgsMembershipsList ¶
func (c *Client) OrgsMembershipsList(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
OrgsMembershipsList performs a GET /v2/orgs/{org_id}/memberships (the `OrgsMembershipsList` operationId) request.
List all memberships of an org.
func (*Client) PostV3ConnectionsGoogleDocsToken ¶
func (c *Client) PostV3ConnectionsGoogleDocsToken(ctx context.Context, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3ConnectionsGoogleDocsToken performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request. Takes a body of the `application/json` content type.
Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
func (*Client) PostV3ConnectionsGoogleDocsTokenWithBody ¶
func (c *Client) PostV3ConnectionsGoogleDocsTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3ConnectionsGoogleDocsTokenWithBody performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request, with any type of body and a specified content type.
Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
func (*Client) PostV3ConnectionsSlackToken ¶
func (c *Client) PostV3ConnectionsSlackToken(ctx context.Context, body PostV3ConnectionsSlackTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3ConnectionsSlackToken performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request. Takes a body of the `application/json` content type.
Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
func (*Client) PostV3ConnectionsSlackTokenWithBody ¶
func (c *Client) PostV3ConnectionsSlackTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV3ConnectionsSlackTokenWithBody performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request, with any type of body and a specified content type.
Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
func (*Client) ProjectsDelete2 ¶
func (c *Client) ProjectsDelete2(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectsDelete2 performs a DELETE /v2/vals/{val_id} (the `ProjectsDelete2` operationId) request.
Delete a project.
func (*Client) QueryValFileById ¶
func (c *Client) QueryValFileById(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
QueryValFileById performs a GET /v2/files/{file_id} (the `QueryValFileById` operationId) request.
Get file metadata by file ID.
func (*Client) SqliteBatch ¶
func (c *Client) SqliteBatch(ctx context.Context, body SqliteBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SqliteBatch performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request. Takes a body of the `application/json` content type.
Execute a batch of SQLite statements and return results for all of them.
func (*Client) SqliteBatchWithBody ¶
func (c *Client) SqliteBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SqliteBatchWithBody performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request, with any type of body and a specified content type.
Execute a batch of SQLite statements and return results for all of them.
func (*Client) SqliteExecute ¶
func (c *Client) SqliteExecute(ctx context.Context, body SqliteExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SqliteExecute performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request. Takes a body of the `application/json` content type.
Execute a single SQLite statement and return results.
func (*Client) SqliteExecuteWithBody ¶
func (c *Client) SqliteExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SqliteExecuteWithBody performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request, with any type of body and a specified content type.
Execute a single SQLite statement and return results.
func (*Client) TraceList ¶
func (c *Client) TraceList(ctx context.Context, params *TraceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TraceList performs a GET /v1/telemetry/traces (the `TraceList` operationId) request.
Get OpenTelemetry traces within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Choose to return in end_time order instead to view traces that completed in a window or since a time. Filter additionally by branch_ids or file_id.
func (*Client) UsersGet ¶
func (c *Client) UsersGet(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
UsersGet performs a GET /v1/users/{user_id} (the `UsersGet` operationId) request.
Get basic information about a user.
func (*Client) V1blobsDelete ¶
func (c *Client) V1blobsDelete(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
V1blobsDelete performs a DELETE /v1/blob/{key} (the `V1blobsDelete` operationId) request.
Delete a blob.
func (*Client) V1blobsGet ¶
func (c *Client) V1blobsGet(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
V1blobsGet performs a GET /v1/blob/{key} (the `V1blobsGet` operationId) request.
Get a blob’s contents.
func (*Client) V1blobsList ¶
func (c *Client) V1blobsList(ctx context.Context, params *V1blobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
V1blobsList performs a GET /v1/blob (the `V1blobsList` operationId) request.
List blobs in your account.
func (*Client) V1blobsStore ¶
func (c *Client) V1blobsStore(ctx context.Context, key string, body V1blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
V1blobsStore performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request. Takes a body of the `application/json` content type.
Store data in blob storage.
func (*Client) V1blobsStoreWithBody ¶
func (c *Client) V1blobsStoreWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
V1blobsStoreWithBody performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request, with any type of body and a specified content type.
Store data in blob storage.
func (*Client) V2blobsDelete ¶
func (c *Client) V2blobsDelete(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
V2blobsDelete performs a DELETE /v2/blob/{key} (the `V2blobsDelete` operationId) request.
Delete a blob.
func (*Client) V2blobsGet ¶
func (c *Client) V2blobsGet(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
V2blobsGet performs a GET /v2/blob/{key} (the `V2blobsGet` operationId) request.
Get a blob’s contents.
func (*Client) V2blobsList ¶
func (c *Client) V2blobsList(ctx context.Context, params *V2blobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
V2blobsList performs a GET /v2/blob (the `V2blobsList` operationId) request.
List blobs in your account.
func (*Client) V2blobsStore ¶
func (c *Client) V2blobsStore(ctx context.Context, key string, body V2blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
V2blobsStore performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request. Takes a body of the `application/json` content type.
Store data in blob storage.
func (*Client) V2blobsStoreWithBody ¶
func (c *Client) V2blobsStoreWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
V2blobsStoreWithBody performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request, with any type of body and a specified content type.
Store data in blob storage.
func (*Client) ValEnvironmentVariableGroupsAttach ¶
func (c *Client) ValEnvironmentVariableGroupsAttach(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariableGroupsAttach performs a PUT /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsAttach` operationId) request.
Attach an environment variable group to this val. Every variable in the group is injected into the val's environment. Variables defined on the val itself take precedence over variables with the same key in a group. Attaching a group that is already attached succeeds without doing anything.
func (*Client) ValEnvironmentVariableGroupsDetach ¶
func (c *Client) ValEnvironmentVariableGroupsDetach(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariableGroupsDetach performs a DELETE /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsDetach` operationId) request.
Detach an environment variable group from this val. The group itself, and the variables in it, are left alone.
func (*Client) ValEnvironmentVariableGroupsList ¶
func (c *Client) ValEnvironmentVariableGroupsList(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariableGroupsList performs a GET /v2/vals/{val_id}/environment_variable_groups/ (the `ValEnvironmentVariableGroupsList` operationId) request.
List the environment variable groups attached to this val. This only includes the groups, not the variables in them.
func (*Client) ValEnvironmentVariablesCreate ¶
func (c *Client) ValEnvironmentVariablesCreate(ctx context.Context, valId openapi_types.UUID, body ValEnvironmentVariablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariablesCreate performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request. Takes a body of the `application/json` content type.
Create a new environment variable scoped to this project.
func (*Client) ValEnvironmentVariablesCreateWithBody ¶
func (c *Client) ValEnvironmentVariablesCreateWithBody(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariablesCreateWithBody performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request, with any type of body and a specified content type.
Create a new environment variable scoped to this project.
func (*Client) ValEnvironmentVariablesDelete ¶
func (c *Client) ValEnvironmentVariablesDelete(ctx context.Context, valId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariablesDelete performs a DELETE /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesDelete` operationId) request.
Delete a environment variable scoped to this project.
func (*Client) ValEnvironmentVariablesList ¶
func (c *Client) ValEnvironmentVariablesList(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariablesList performs a GET /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesList` operationId) request.
List environment variables defined in this project. This only includes names, not values.
func (*Client) ValEnvironmentVariablesUpdate ¶
func (c *Client) ValEnvironmentVariablesUpdate(ctx context.Context, valId openapi_types.UUID, key string, body ValEnvironmentVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariablesUpdate performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request. Takes a body of the `application/json` content type.
Update a environment variable scoped to this project.
func (*Client) ValEnvironmentVariablesUpdateWithBody ¶
func (c *Client) ValEnvironmentVariablesUpdateWithBody(ctx context.Context, valId openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValEnvironmentVariablesUpdateWithBody performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request, with any type of body and a specified content type.
Update a environment variable scoped to this project.
func (*Client) ValFilesGet2 ¶
func (c *Client) ValFilesGet2(ctx context.Context, valId openapi_types.UUID, params *ValFilesGet2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ValFilesGet2 performs a GET /v2/vals/{val_id}/files (the `ValFilesGet2` operationId) request.
Get metadata for files and directories in a val. If path is an empty string, returns files at the root directory.
func (*Client) ValsCreate2 ¶
func (c *Client) ValsCreate2(ctx context.Context, body ValsCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ValsCreate2 performs a POST /v2/vals (the `ValsCreate2` operationId) request. Takes a body of the `application/json` content type.
Create a new val.
func (*Client) ValsCreate2WithBody ¶
func (c *Client) ValsCreate2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValsCreate2WithBody performs a POST /v2/vals (the `ValsCreate2` operationId) request, with any type of body and a specified content type.
Create a new val.
func (*Client) ValsGet2 ¶
func (c *Client) ValsGet2(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ValsGet2 performs a GET /v2/vals/{val_id} (the `ValsGet2` operationId) request.
Get a val by id.
func (*Client) ValsList2 ¶
func (c *Client) ValsList2(ctx context.Context, params *ValsList2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ValsList2 performs a GET /v2/vals (the `ValsList2` operationId) request.
Lists all vals including all public vals and your unlisted and private vals.
type ClientInterface ¶
type ClientInterface interface {
// AliasUsername performs a GET /v1/alias/{username} (the `AliasUsername` operationId) request.
//
// Get basic details about a user, given their username
AliasUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
// V1blobsList performs a GET /v1/blob (the `V1blobsList` operationId) request.
//
// List blobs in your account.
V1blobsList(ctx context.Context, params *V1blobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// V1blobsDelete performs a DELETE /v1/blob/{key} (the `V1blobsDelete` operationId) request.
//
// Delete a blob.
V1blobsDelete(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// V1blobsGet performs a GET /v1/blob/{key} (the `V1blobsGet` operationId) request.
//
// Get a blob’s contents.
V1blobsGet(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// V1blobsStoreWithBody performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request,
// with any type of body and a specified content type.
//
// Store data in blob storage.
V1blobsStoreWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// V1blobsStore performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request.
// Takes a body of the `application/json` content type.
//
// Store data in blob storage.
V1blobsStore(ctx context.Context, key string, body V1blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EmailsSendWithBody performs a POST /v1/email (the `EmailsSend` operationId) request,
// with any type of body and a specified content type.
//
// Send emails.
EmailsSendWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EmailsSend performs a POST /v1/email (the `EmailsSend` operationId) request.
// Takes a body of the `application/json` content type.
//
// Send emails.
EmailsSend(ctx context.Context, body EmailsSendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MeGet performs a GET /v1/me (the `MeGet` operationId) request.
//
// Get profile information for the current user.
MeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SqliteBatchWithBody performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request,
// with any type of body and a specified content type.
//
// Execute a batch of SQLite statements and return results for all of them.
SqliteBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SqliteBatch performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request.
// Takes a body of the `application/json` content type.
//
// Execute a batch of SQLite statements and return results for all of them.
SqliteBatch(ctx context.Context, body SqliteBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SqliteExecuteWithBody performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request,
// with any type of body and a specified content type.
//
// Execute a single SQLite statement and return results.
SqliteExecuteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SqliteExecute performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request.
// Takes a body of the `application/json` content type.
//
// Execute a single SQLite statement and return results.
SqliteExecute(ctx context.Context, body SqliteExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogList performs a GET /v1/telemetry/logs (the `LogList` operationId) request.
//
// Get OpenTelemetry logs within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Filter additionally by branch_ids or file_id.
LogList(ctx context.Context, params *LogListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TraceList performs a GET /v1/telemetry/traces (the `TraceList` operationId) request.
//
// Get OpenTelemetry traces within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Choose to return in end_time order instead to view traces that completed in a window or since a time. Filter additionally by branch_ids or file_id.
TraceList(ctx context.Context, params *TraceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsersGet performs a GET /v1/users/{user_id} (the `UsersGet` operationId) request.
//
// Get basic information about a user.
UsersGet(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AliasVal2 performs a GET /v2/alias/vals/{username}/{val_name} (the `AliasVal2` operationId) request.
//
// Get a val.
AliasVal2(ctx context.Context, username string, valName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// V2blobsList performs a GET /v2/blob (the `V2blobsList` operationId) request.
//
// List blobs in your account.
V2blobsList(ctx context.Context, params *V2blobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// V2blobsDelete performs a DELETE /v2/blob/{key} (the `V2blobsDelete` operationId) request.
//
// Delete a blob.
V2blobsDelete(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// V2blobsGet performs a GET /v2/blob/{key} (the `V2blobsGet` operationId) request.
//
// Get a blob’s contents.
V2blobsGet(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// V2blobsStoreWithBody performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request,
// with any type of body and a specified content type.
//
// Store data in blob storage.
V2blobsStoreWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// V2blobsStore performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request.
// Takes a body of the `application/json` content type.
//
// Store data in blob storage.
V2blobsStore(ctx context.Context, key string, body V2blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QueryValFileById performs a GET /v2/files/{file_id} (the `QueryValFileById` operationId) request.
//
// Get file metadata by file ID.
QueryValFileById(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// MeVals2 performs a GET /v2/me/vals (the `MeVals2` operationId) request.
//
// [BETA] List all of a user's vals for authenticated users.
MeVals2(ctx context.Context, params *MeVals2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrgsList performs a GET /v2/orgs (the `OrgsList` operationId) request.
//
// Get all orgs you are a member of.
OrgsList(ctx context.Context, params *OrgsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrgsMembershipsList performs a GET /v2/orgs/{org_id}/memberships (the `OrgsMembershipsList` operationId) request.
//
// List all memberships of an org.
OrgsMembershipsList(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValsList2 performs a GET /v2/vals (the `ValsList2` operationId) request.
//
// Lists all vals including all public vals and your unlisted and private vals.
ValsList2(ctx context.Context, params *ValsList2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValsCreate2WithBody performs a POST /v2/vals (the `ValsCreate2` operationId) request,
// with any type of body and a specified content type.
//
// Create a new val.
ValsCreate2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValsCreate2 performs a POST /v2/vals (the `ValsCreate2` operationId) request.
// Takes a body of the `application/json` content type.
//
// Create a new val.
ValsCreate2(ctx context.Context, body ValsCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectsDelete2 performs a DELETE /v2/vals/{val_id} (the `ProjectsDelete2` operationId) request.
//
// Delete a project.
ProjectsDelete2(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValsGet2 performs a GET /v2/vals/{val_id} (the `ValsGet2` operationId) request.
//
// Get a val by id.
ValsGet2(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// BranchesList2 performs a GET /v2/vals/{val_id}/branches (the `BranchesList2` operationId) request.
//
// List all branches for a val.
BranchesList2(ctx context.Context, valId openapi_types.UUID, params *BranchesList2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// BranchesCreate2WithBody performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request,
// with any type of body and a specified content type.
//
// Create a new branch.
BranchesCreate2WithBody(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BranchesCreate2 performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request.
// Takes a body of the `application/json` content type.
//
// Create a new branch.
BranchesCreate2(ctx context.Context, valId openapi_types.UUID, body BranchesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BranchesDelete2 performs a DELETE /v2/vals/{val_id}/branches/{branch_id} (the `BranchesDelete2` operationId) request.
//
// Delete a branch.
BranchesDelete2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// BranchesGet2 performs a GET /v2/vals/{val_id}/branches/{branch_id} (the `BranchesGet2` operationId) request.
//
// Get a branch by id.
BranchesGet2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// BranchesMergeUpstream2 performs a POST /v2/vals/{val_id}/branches/{branch_id}/merge-upstream (the `BranchesMergeUpstream2` operationId) request.
//
// Update a remixed branch with the latest changes from the branch it was remixed from.
BranchesMergeUpstream2(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariableGroupsList performs a GET /v2/vals/{val_id}/environment_variable_groups/ (the `ValEnvironmentVariableGroupsList` operationId) request.
//
// List the environment variable groups attached to this val. This only includes the groups, not the variables in them.
ValEnvironmentVariableGroupsList(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariableGroupsDetach performs a DELETE /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsDetach` operationId) request.
//
// Detach an environment variable group from this val. The group itself, and the variables in it, are left alone.
ValEnvironmentVariableGroupsDetach(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariableGroupsAttach performs a PUT /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsAttach` operationId) request.
//
// Attach an environment variable group to this val. Every variable in the group is injected into the val's environment. Variables defined on the val itself take precedence over variables with the same key in a group. Attaching a group that is already attached succeeds without doing anything.
ValEnvironmentVariableGroupsAttach(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariablesList performs a GET /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesList` operationId) request.
//
// List environment variables defined in this project. This only includes names, not values.
ValEnvironmentVariablesList(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariablesCreateWithBody performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request,
// with any type of body and a specified content type.
//
// Create a new environment variable scoped to this project.
ValEnvironmentVariablesCreateWithBody(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariablesCreate performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request.
// Takes a body of the `application/json` content type.
//
// Create a new environment variable scoped to this project.
ValEnvironmentVariablesCreate(ctx context.Context, valId openapi_types.UUID, body ValEnvironmentVariablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariablesDelete performs a DELETE /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesDelete` operationId) request.
//
// Delete a environment variable scoped to this project.
ValEnvironmentVariablesDelete(ctx context.Context, valId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariablesUpdateWithBody performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request,
// with any type of body and a specified content type.
//
// Update a environment variable scoped to this project.
ValEnvironmentVariablesUpdateWithBody(ctx context.Context, valId openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValEnvironmentVariablesUpdate performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request.
// Takes a body of the `application/json` content type.
//
// Update a environment variable scoped to this project.
ValEnvironmentVariablesUpdate(ctx context.Context, valId openapi_types.UUID, key string, body ValEnvironmentVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesDelete2 performs a DELETE /v2/vals/{val_id}/files (the `FilesDelete2` operationId) request.
//
// Deletes a file or a directory. To delete a directory and all of its children, use the recursive flag. To delete all files, pass in an empty path and the recursive flag.
FilesDelete2(ctx context.Context, valId openapi_types.UUID, params *FilesDelete2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValFilesGet2 performs a GET /v2/vals/{val_id}/files (the `ValFilesGet2` operationId) request.
//
// Get metadata for files and directories in a val. If path is an empty string, returns files at the root directory.
ValFilesGet2(ctx context.Context, valId openapi_types.UUID, params *ValFilesGet2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesCreate2WithBody performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request,
// with any type of body and a specified content type.
//
// Create a new file, project val or directory
FilesCreate2WithBody(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesCreate2 performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request.
// Takes a body of the `application/json` content type.
//
// Create a new file, project val or directory
FilesCreate2(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, body FilesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FileContentUpdate2WithBody performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request,
// with any type of body and a specified content type.
//
// Update a file's content.
FileContentUpdate2WithBody(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FileContentUpdate2 performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request.
// Takes a body of the `application/json` content type.
//
// Update a file's content.
FileContentUpdate2(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, body FileContentUpdate2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesContentGet2 performs a GET /v2/vals/{val_id}/files/content (the `FilesContentGet2` operationId) request.
//
// Download file content.
FilesContentGet2(ctx context.Context, valId openapi_types.UUID, params *FilesContentGet2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3ConnectionsGoogleDocsTokenWithBody performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request,
// with any type of body and a specified content type.
//
// Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
PostV3ConnectionsGoogleDocsTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3ConnectionsGoogleDocsToken performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request.
// Takes a body of the `application/json` content type.
//
// Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
PostV3ConnectionsGoogleDocsToken(ctx context.Context, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3ConnectionsSlackTokenWithBody performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request,
// with any type of body and a specified content type.
//
// Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
PostV3ConnectionsSlackTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV3ConnectionsSlackToken performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request.
// Takes a body of the `application/json` content type.
//
// Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
PostV3ConnectionsSlackToken(ctx context.Context, body PostV3ConnectionsSlackTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsList performs a GET /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsList` operationId) request.
//
// List environment variable groups.
EnvironmentVariableGroupsList(ctx context.Context, params *EnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsCreateWithBody performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request,
// with any type of body and a specified content type.
//
// Create a new environment variable group.
EnvironmentVariableGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsCreate performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request.
// Takes a body of the `application/json` content type.
//
// Create a new environment variable group.
EnvironmentVariableGroupsCreate(ctx context.Context, body EnvironmentVariableGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsDelete performs a DELETE /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsDelete` operationId) request.
//
// Delete an environment variable group.
EnvironmentVariableGroupsDelete(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsRenameWithBody performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request,
// with any type of body and a specified content type.
//
// Rename an environment variable group.
EnvironmentVariableGroupsRenameWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsRename performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request.
// Takes a body of the `application/json` content type.
//
// Rename an environment variable group.
EnvironmentVariableGroupsRename(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsGet performs a GET /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsGet` operationId) request.
//
// List variables in an environment variable group.
EnvironmentVariableGroupsGet(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsCreateVariableWithBody performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request,
// with any type of body and a specified content type.
//
// Create an environment variable in a group.
EnvironmentVariableGroupsCreateVariableWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsCreateVariable performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request.
// Takes a body of the `application/json` content type.
//
// Create an environment variable in a group.
EnvironmentVariableGroupsCreateVariable(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsCreateVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsVariableDelete performs a DELETE /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsVariableDelete` operationId) request.
//
// Delete an environment variable in a group.
EnvironmentVariableGroupsVariableDelete(ctx context.Context, id openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsUpsertVariableWithBody performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request,
// with any type of body and a specified content type.
//
// Create or update an environment variable in a group.
EnvironmentVariableGroupsUpsertVariableWithBody(ctx context.Context, id openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnvironmentVariableGroupsUpsertVariable performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request.
// Takes a body of the `application/json` content type.
//
// Create or update an environment variable in a group.
EnvironmentVariableGroupsUpsertVariable(ctx context.Context, id openapi_types.UUID, key string, body EnvironmentVariableGroupsUpsertVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV3ValViewer performs a GET /v3/val/viewer (the `GetV3ValViewer` operationId) request.
//
// Look up the identity of the viewer of an app-authenticated (intranet) val, given the X-Val-Town-User header value that Fastify forwarded to the val. Authenticated with the val's own API token (bearer auth). The projectId inside the signed header must match the caller's own project.
GetV3ValViewer(ctx context.Context, params *GetV3ValViewerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AliasUsernameWithResponse ¶
func (c *ClientWithResponses) AliasUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*AliasUsernameResponse, error)
AliasUsernameWithResponse performs a GET /v1/alias/{username} (the `AliasUsername` operationId) request.
Get basic details about a user, given their username ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AliasVal2WithResponse ¶
func (c *ClientWithResponses) AliasVal2WithResponse(ctx context.Context, username string, valName string, reqEditors ...RequestEditorFn) (*AliasVal2Response, error)
AliasVal2WithResponse performs a GET /v2/alias/vals/{username}/{val_name} (the `AliasVal2` operationId) request.
Get a val.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BranchesCreate2WithBodyWithResponse ¶
func (c *ClientWithResponses) BranchesCreate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BranchesCreate2Response, error)
BranchesCreate2WithBodyWithResponse performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request, with any type of body and a specified content type.
Create a new branch.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BranchesCreate2WithResponse ¶
func (c *ClientWithResponses) BranchesCreate2WithResponse(ctx context.Context, valId openapi_types.UUID, body BranchesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*BranchesCreate2Response, error)
BranchesCreate2WithResponse performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a new branch.
func (*ClientWithResponses) BranchesDelete2WithResponse ¶
func (c *ClientWithResponses) BranchesDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*BranchesDelete2Response, error)
BranchesDelete2WithResponse performs a DELETE /v2/vals/{val_id}/branches/{branch_id} (the `BranchesDelete2` operationId) request.
Delete a branch.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BranchesGet2WithResponse ¶
func (c *ClientWithResponses) BranchesGet2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*BranchesGet2Response, error)
BranchesGet2WithResponse performs a GET /v2/vals/{val_id}/branches/{branch_id} (the `BranchesGet2` operationId) request.
Get a branch by id.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BranchesList2WithResponse ¶
func (c *ClientWithResponses) BranchesList2WithResponse(ctx context.Context, valId openapi_types.UUID, params *BranchesList2Params, reqEditors ...RequestEditorFn) (*BranchesList2Response, error)
BranchesList2WithResponse performs a GET /v2/vals/{val_id}/branches (the `BranchesList2` operationId) request.
List all branches for a val.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BranchesMergeUpstream2WithResponse ¶
func (c *ClientWithResponses) BranchesMergeUpstream2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*BranchesMergeUpstream2Response, error)
BranchesMergeUpstream2WithResponse performs a POST /v2/vals/{val_id}/branches/{branch_id}/merge-upstream (the `BranchesMergeUpstream2` operationId) request.
Update a remixed branch with the latest changes from the branch it was remixed from.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EmailsSendWithBodyWithResponse ¶
func (c *ClientWithResponses) EmailsSendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmailsSendResponse, error)
EmailsSendWithBodyWithResponse performs a POST /v1/email (the `EmailsSend` operationId) request, with any type of body and a specified content type.
Send emails.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EmailsSendWithResponse ¶
func (c *ClientWithResponses) EmailsSendWithResponse(ctx context.Context, body EmailsSendJSONRequestBody, reqEditors ...RequestEditorFn) (*EmailsSendResponse, error)
EmailsSendWithResponse performs a POST /v1/email (the `EmailsSend` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Send emails.
func (*ClientWithResponses) EnvironmentVariableGroupsCreateVariableWithBodyWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsCreateVariableWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateVariableResponse, error)
EnvironmentVariableGroupsCreateVariableWithBodyWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request, with any type of body and a specified content type.
Create an environment variable in a group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EnvironmentVariableGroupsCreateVariableWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsCreateVariableWithResponse(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsCreateVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateVariableResponse, error)
EnvironmentVariableGroupsCreateVariableWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create an environment variable in a group.
func (*ClientWithResponses) EnvironmentVariableGroupsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateResponse, error)
EnvironmentVariableGroupsCreateWithBodyWithResponse performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request, with any type of body and a specified content type.
Create a new environment variable group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EnvironmentVariableGroupsCreateWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsCreateWithResponse(ctx context.Context, body EnvironmentVariableGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateResponse, error)
EnvironmentVariableGroupsCreateWithResponse performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a new environment variable group.
func (*ClientWithResponses) EnvironmentVariableGroupsDeleteWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsDeleteWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsDeleteResponse, error)
EnvironmentVariableGroupsDeleteWithResponse performs a DELETE /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsDelete` operationId) request.
Delete an environment variable group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EnvironmentVariableGroupsGetWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsGetWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsGetResponse, error)
EnvironmentVariableGroupsGetWithResponse performs a GET /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsGet` operationId) request.
List variables in an environment variable group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EnvironmentVariableGroupsListWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsListWithResponse(ctx context.Context, params *EnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsListResponse, error)
EnvironmentVariableGroupsListWithResponse performs a GET /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsList` operationId) request.
List environment variable groups.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EnvironmentVariableGroupsRenameWithBodyWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsRenameWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsRenameResponse, error)
EnvironmentVariableGroupsRenameWithBodyWithResponse performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request, with any type of body and a specified content type.
Rename an environment variable group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EnvironmentVariableGroupsRenameWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsRenameWithResponse(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsRenameResponse, error)
EnvironmentVariableGroupsRenameWithResponse performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Rename an environment variable group.
func (*ClientWithResponses) EnvironmentVariableGroupsUpsertVariableWithBodyWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsUpsertVariableWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsUpsertVariableResponse, error)
EnvironmentVariableGroupsUpsertVariableWithBodyWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request, with any type of body and a specified content type.
Create or update an environment variable in a group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EnvironmentVariableGroupsUpsertVariableWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsUpsertVariableWithResponse(ctx context.Context, id openapi_types.UUID, key string, body EnvironmentVariableGroupsUpsertVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsUpsertVariableResponse, error)
EnvironmentVariableGroupsUpsertVariableWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create or update an environment variable in a group.
func (*ClientWithResponses) EnvironmentVariableGroupsVariableDeleteWithResponse ¶
func (c *ClientWithResponses) EnvironmentVariableGroupsVariableDeleteWithResponse(ctx context.Context, id openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsVariableDeleteResponse, error)
EnvironmentVariableGroupsVariableDeleteWithResponse performs a DELETE /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsVariableDelete` operationId) request.
Delete an environment variable in a group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) FileContentUpdate2WithBodyWithResponse ¶
func (c *ClientWithResponses) FileContentUpdate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileContentUpdate2Response, error)
FileContentUpdate2WithBodyWithResponse performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request, with any type of body and a specified content type.
Update a file's content.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) FileContentUpdate2WithResponse ¶
func (c *ClientWithResponses) FileContentUpdate2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, body FileContentUpdate2JSONRequestBody, reqEditors ...RequestEditorFn) (*FileContentUpdate2Response, error)
FileContentUpdate2WithResponse performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Update a file's content.
func (*ClientWithResponses) FilesContentGet2WithResponse ¶
func (c *ClientWithResponses) FilesContentGet2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesContentGet2Params, reqEditors ...RequestEditorFn) (*FilesContentGet2Response, error)
FilesContentGet2WithResponse performs a GET /v2/vals/{val_id}/files/content (the `FilesContentGet2` operationId) request.
Download file content.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) FilesCreate2WithBodyWithResponse ¶
func (c *ClientWithResponses) FilesCreate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesCreate2Response, error)
FilesCreate2WithBodyWithResponse performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request, with any type of body and a specified content type.
Create a new file, project val or directory ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) FilesCreate2WithResponse ¶
func (c *ClientWithResponses) FilesCreate2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, body FilesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*FilesCreate2Response, error)
FilesCreate2WithResponse performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a new file, project val or directory
func (*ClientWithResponses) FilesDelete2WithResponse ¶
func (c *ClientWithResponses) FilesDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesDelete2Params, reqEditors ...RequestEditorFn) (*FilesDelete2Response, error)
FilesDelete2WithResponse performs a DELETE /v2/vals/{val_id}/files (the `FilesDelete2` operationId) request.
Deletes a file or a directory. To delete a directory and all of its children, use the recursive flag. To delete all files, pass in an empty path and the recursive flag.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetV3ValViewerWithResponse ¶
func (c *ClientWithResponses) GetV3ValViewerWithResponse(ctx context.Context, params *GetV3ValViewerParams, reqEditors ...RequestEditorFn) (*GetV3ValViewerResponse, error)
GetV3ValViewerWithResponse performs a GET /v3/val/viewer (the `GetV3ValViewer` operationId) request.
Look up the identity of the viewer of an app-authenticated (intranet) val, given the X-Val-Town-User header value that Fastify forwarded to the val. Authenticated with the val's own API token (bearer auth). The projectId inside the signed header must match the caller's own project.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) LogListWithResponse ¶
func (c *ClientWithResponses) LogListWithResponse(ctx context.Context, params *LogListParams, reqEditors ...RequestEditorFn) (*LogListResponse, error)
LogListWithResponse performs a GET /v1/telemetry/logs (the `LogList` operationId) request.
Get OpenTelemetry logs within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Filter additionally by branch_ids or file_id.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MeGetWithResponse ¶
func (c *ClientWithResponses) MeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MeGetResponse, error)
MeGetWithResponse performs a GET /v1/me (the `MeGet` operationId) request.
Get profile information for the current user.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MeVals2WithResponse ¶
func (c *ClientWithResponses) MeVals2WithResponse(ctx context.Context, params *MeVals2Params, reqEditors ...RequestEditorFn) (*MeVals2Response, error)
MeVals2WithResponse performs a GET /v2/me/vals (the `MeVals2` operationId) request.
[BETA] List all of a user's vals for authenticated users.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) OrgsListWithResponse ¶
func (c *ClientWithResponses) OrgsListWithResponse(ctx context.Context, params *OrgsListParams, reqEditors ...RequestEditorFn) (*OrgsListResponse, error)
OrgsListWithResponse performs a GET /v2/orgs (the `OrgsList` operationId) request.
Get all orgs you are a member of.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) OrgsMembershipsListWithResponse ¶
func (c *ClientWithResponses) OrgsMembershipsListWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*OrgsMembershipsListResponse, error)
OrgsMembershipsListWithResponse performs a GET /v2/orgs/{org_id}/memberships (the `OrgsMembershipsList` operationId) request.
List all memberships of an org.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) PostV3ConnectionsGoogleDocsTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV3ConnectionsGoogleDocsTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3ConnectionsGoogleDocsTokenResponse, error)
PostV3ConnectionsGoogleDocsTokenWithBodyWithResponse performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request, with any type of body and a specified content type.
Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) PostV3ConnectionsGoogleDocsTokenWithResponse ¶
func (c *ClientWithResponses) PostV3ConnectionsGoogleDocsTokenWithResponse(ctx context.Context, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3ConnectionsGoogleDocsTokenResponse, error)
PostV3ConnectionsGoogleDocsTokenWithResponse performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
func (*ClientWithResponses) PostV3ConnectionsSlackTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV3ConnectionsSlackTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3ConnectionsSlackTokenResponse, error)
PostV3ConnectionsSlackTokenWithBodyWithResponse performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request, with any type of body and a specified content type.
Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) PostV3ConnectionsSlackTokenWithResponse ¶
func (c *ClientWithResponses) PostV3ConnectionsSlackTokenWithResponse(ctx context.Context, body PostV3ConnectionsSlackTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3ConnectionsSlackTokenResponse, error)
PostV3ConnectionsSlackTokenWithResponse performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
func (*ClientWithResponses) ProjectsDelete2WithResponse ¶
func (c *ClientWithResponses) ProjectsDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProjectsDelete2Response, error)
ProjectsDelete2WithResponse performs a DELETE /v2/vals/{val_id} (the `ProjectsDelete2` operationId) request.
Delete a project.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) QueryValFileByIdWithResponse ¶
func (c *ClientWithResponses) QueryValFileByIdWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*QueryValFileByIdResponse, error)
QueryValFileByIdWithResponse performs a GET /v2/files/{file_id} (the `QueryValFileById` operationId) request.
Get file metadata by file ID.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) SqliteBatchWithBodyWithResponse ¶
func (c *ClientWithResponses) SqliteBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SqliteBatchResponse, error)
SqliteBatchWithBodyWithResponse performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request, with any type of body and a specified content type.
Execute a batch of SQLite statements and return results for all of them.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) SqliteBatchWithResponse ¶
func (c *ClientWithResponses) SqliteBatchWithResponse(ctx context.Context, body SqliteBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*SqliteBatchResponse, error)
SqliteBatchWithResponse performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Execute a batch of SQLite statements and return results for all of them.
func (*ClientWithResponses) SqliteExecuteWithBodyWithResponse ¶
func (c *ClientWithResponses) SqliteExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SqliteExecuteResponse, error)
SqliteExecuteWithBodyWithResponse performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request, with any type of body and a specified content type.
Execute a single SQLite statement and return results.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) SqliteExecuteWithResponse ¶
func (c *ClientWithResponses) SqliteExecuteWithResponse(ctx context.Context, body SqliteExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*SqliteExecuteResponse, error)
SqliteExecuteWithResponse performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Execute a single SQLite statement and return results.
func (*ClientWithResponses) TraceListWithResponse ¶
func (c *ClientWithResponses) TraceListWithResponse(ctx context.Context, params *TraceListParams, reqEditors ...RequestEditorFn) (*TraceListResponse, error)
TraceListWithResponse performs a GET /v1/telemetry/traces (the `TraceList` operationId) request.
Get OpenTelemetry traces within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Choose to return in end_time order instead to view traces that completed in a window or since a time. Filter additionally by branch_ids or file_id.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UsersGetWithResponse ¶
func (c *ClientWithResponses) UsersGetWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersGetResponse, error)
UsersGetWithResponse performs a GET /v1/users/{user_id} (the `UsersGet` operationId) request.
Get basic information about a user.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V1blobsDeleteWithResponse ¶
func (c *ClientWithResponses) V1blobsDeleteWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V1blobsDeleteResponse, error)
V1blobsDeleteWithResponse performs a DELETE /v1/blob/{key} (the `V1blobsDelete` operationId) request.
Delete a blob.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V1blobsGetWithResponse ¶
func (c *ClientWithResponses) V1blobsGetWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V1blobsGetResponse, error)
V1blobsGetWithResponse performs a GET /v1/blob/{key} (the `V1blobsGet` operationId) request.
Get a blob’s contents.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V1blobsListWithResponse ¶
func (c *ClientWithResponses) V1blobsListWithResponse(ctx context.Context, params *V1blobsListParams, reqEditors ...RequestEditorFn) (*V1blobsListResponse, error)
V1blobsListWithResponse performs a GET /v1/blob (the `V1blobsList` operationId) request.
List blobs in your account.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V1blobsStoreWithBodyWithResponse ¶
func (c *ClientWithResponses) V1blobsStoreWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1blobsStoreResponse, error)
V1blobsStoreWithBodyWithResponse performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request, with any type of body and a specified content type.
Store data in blob storage.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V1blobsStoreWithResponse ¶
func (c *ClientWithResponses) V1blobsStoreWithResponse(ctx context.Context, key string, body V1blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*V1blobsStoreResponse, error)
V1blobsStoreWithResponse performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Store data in blob storage.
func (*ClientWithResponses) V2blobsDeleteWithResponse ¶
func (c *ClientWithResponses) V2blobsDeleteWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V2blobsDeleteResponse, error)
V2blobsDeleteWithResponse performs a DELETE /v2/blob/{key} (the `V2blobsDelete` operationId) request.
Delete a blob.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V2blobsGetWithResponse ¶
func (c *ClientWithResponses) V2blobsGetWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V2blobsGetResponse, error)
V2blobsGetWithResponse performs a GET /v2/blob/{key} (the `V2blobsGet` operationId) request.
Get a blob’s contents.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V2blobsListWithResponse ¶
func (c *ClientWithResponses) V2blobsListWithResponse(ctx context.Context, params *V2blobsListParams, reqEditors ...RequestEditorFn) (*V2blobsListResponse, error)
V2blobsListWithResponse performs a GET /v2/blob (the `V2blobsList` operationId) request.
List blobs in your account.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V2blobsStoreWithBodyWithResponse ¶
func (c *ClientWithResponses) V2blobsStoreWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2blobsStoreResponse, error)
V2blobsStoreWithBodyWithResponse performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request, with any type of body and a specified content type.
Store data in blob storage.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) V2blobsStoreWithResponse ¶
func (c *ClientWithResponses) V2blobsStoreWithResponse(ctx context.Context, key string, body V2blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*V2blobsStoreResponse, error)
V2blobsStoreWithResponse performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Store data in blob storage.
func (*ClientWithResponses) ValEnvironmentVariableGroupsAttachWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariableGroupsAttachWithResponse(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ValEnvironmentVariableGroupsAttachResponse, error)
ValEnvironmentVariableGroupsAttachWithResponse performs a PUT /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsAttach` operationId) request.
Attach an environment variable group to this val. Every variable in the group is injected into the val's environment. Variables defined on the val itself take precedence over variables with the same key in a group. Attaching a group that is already attached succeeds without doing anything.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValEnvironmentVariableGroupsDetachWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariableGroupsDetachWithResponse(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ValEnvironmentVariableGroupsDetachResponse, error)
ValEnvironmentVariableGroupsDetachWithResponse performs a DELETE /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsDetach` operationId) request.
Detach an environment variable group from this val. The group itself, and the variables in it, are left alone.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValEnvironmentVariableGroupsListWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariableGroupsListWithResponse(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*ValEnvironmentVariableGroupsListResponse, error)
ValEnvironmentVariableGroupsListWithResponse performs a GET /v2/vals/{val_id}/environment_variable_groups/ (the `ValEnvironmentVariableGroupsList` operationId) request.
List the environment variable groups attached to this val. This only includes the groups, not the variables in them.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValEnvironmentVariablesCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariablesCreateWithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesCreateResponse, error)
ValEnvironmentVariablesCreateWithBodyWithResponse performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request, with any type of body and a specified content type.
Create a new environment variable scoped to this project.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValEnvironmentVariablesCreateWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariablesCreateWithResponse(ctx context.Context, valId openapi_types.UUID, body ValEnvironmentVariablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesCreateResponse, error)
ValEnvironmentVariablesCreateWithResponse performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a new environment variable scoped to this project.
func (*ClientWithResponses) ValEnvironmentVariablesDeleteWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariablesDeleteWithResponse(ctx context.Context, valId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesDeleteResponse, error)
ValEnvironmentVariablesDeleteWithResponse performs a DELETE /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesDelete` operationId) request.
Delete a environment variable scoped to this project.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValEnvironmentVariablesListWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariablesListWithResponse(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariablesListParams, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesListResponse, error)
ValEnvironmentVariablesListWithResponse performs a GET /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesList` operationId) request.
List environment variables defined in this project. This only includes names, not values.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValEnvironmentVariablesUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariablesUpdateWithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesUpdateResponse, error)
ValEnvironmentVariablesUpdateWithBodyWithResponse performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request, with any type of body and a specified content type.
Update a environment variable scoped to this project.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValEnvironmentVariablesUpdateWithResponse ¶
func (c *ClientWithResponses) ValEnvironmentVariablesUpdateWithResponse(ctx context.Context, valId openapi_types.UUID, key string, body ValEnvironmentVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesUpdateResponse, error)
ValEnvironmentVariablesUpdateWithResponse performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Update a environment variable scoped to this project.
func (*ClientWithResponses) ValFilesGet2WithResponse ¶
func (c *ClientWithResponses) ValFilesGet2WithResponse(ctx context.Context, valId openapi_types.UUID, params *ValFilesGet2Params, reqEditors ...RequestEditorFn) (*ValFilesGet2Response, error)
ValFilesGet2WithResponse performs a GET /v2/vals/{val_id}/files (the `ValFilesGet2` operationId) request.
Get metadata for files and directories in a val. If path is an empty string, returns files at the root directory.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValsCreate2WithBodyWithResponse ¶
func (c *ClientWithResponses) ValsCreate2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValsCreate2Response, error)
ValsCreate2WithBodyWithResponse performs a POST /v2/vals (the `ValsCreate2` operationId) request, with any type of body and a specified content type.
Create a new val.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValsCreate2WithResponse ¶
func (c *ClientWithResponses) ValsCreate2WithResponse(ctx context.Context, body ValsCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*ValsCreate2Response, error)
ValsCreate2WithResponse performs a POST /v2/vals (the `ValsCreate2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a new val.
func (*ClientWithResponses) ValsGet2WithResponse ¶
func (c *ClientWithResponses) ValsGet2WithResponse(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ValsGet2Response, error)
ValsGet2WithResponse performs a GET /v2/vals/{val_id} (the `ValsGet2` operationId) request.
Get a val by id.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ValsList2WithResponse ¶
func (c *ClientWithResponses) ValsList2WithResponse(ctx context.Context, params *ValsList2Params, reqEditors ...RequestEditorFn) (*ValsList2Response, error)
ValsList2WithResponse performs a GET /v2/vals (the `ValsList2` operationId) request.
Lists all vals including all public vals and your unlisted and private vals.
Returns a wrapper object for the known response body format(s).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// AliasUsernameWithResponse performs a GET /v1/alias/{username} (the `AliasUsername` operationId) request.
//
// Get basic details about a user, given their username
//
// Returns a wrapper object for the known response body format(s).
AliasUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*AliasUsernameResponse, error)
// V1blobsListWithResponse performs a GET /v1/blob (the `V1blobsList` operationId) request.
//
// List blobs in your account.
//
// Returns a wrapper object for the known response body format(s).
V1blobsListWithResponse(ctx context.Context, params *V1blobsListParams, reqEditors ...RequestEditorFn) (*V1blobsListResponse, error)
// V1blobsDeleteWithResponse performs a DELETE /v1/blob/{key} (the `V1blobsDelete` operationId) request.
//
// Delete a blob.
//
// Returns a wrapper object for the known response body format(s).
V1blobsDeleteWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V1blobsDeleteResponse, error)
// V1blobsGetWithResponse performs a GET /v1/blob/{key} (the `V1blobsGet` operationId) request.
//
// Get a blob’s contents.
//
// Returns a wrapper object for the known response body format(s).
V1blobsGetWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V1blobsGetResponse, error)
// V1blobsStoreWithBodyWithResponse performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request,
// with any type of body and a specified content type.
//
// Store data in blob storage.
//
// Returns a wrapper object for the known response body format(s).
V1blobsStoreWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V1blobsStoreResponse, error)
// V1blobsStoreWithResponse performs a POST /v1/blob/{key} (the `V1blobsStore` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Store data in blob storage.
V1blobsStoreWithResponse(ctx context.Context, key string, body V1blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*V1blobsStoreResponse, error)
// EmailsSendWithBodyWithResponse performs a POST /v1/email (the `EmailsSend` operationId) request,
// with any type of body and a specified content type.
//
// Send emails.
//
// Returns a wrapper object for the known response body format(s).
EmailsSendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmailsSendResponse, error)
// EmailsSendWithResponse performs a POST /v1/email (the `EmailsSend` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Send emails.
EmailsSendWithResponse(ctx context.Context, body EmailsSendJSONRequestBody, reqEditors ...RequestEditorFn) (*EmailsSendResponse, error)
// MeGetWithResponse performs a GET /v1/me (the `MeGet` operationId) request.
//
// Get profile information for the current user.
//
// Returns a wrapper object for the known response body format(s).
MeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MeGetResponse, error)
// SqliteBatchWithBodyWithResponse performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request,
// with any type of body and a specified content type.
//
// Execute a batch of SQLite statements and return results for all of them.
//
// Returns a wrapper object for the known response body format(s).
SqliteBatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SqliteBatchResponse, error)
// SqliteBatchWithResponse performs a POST /v1/sqlite/batch (the `SqliteBatch` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Execute a batch of SQLite statements and return results for all of them.
SqliteBatchWithResponse(ctx context.Context, body SqliteBatchJSONRequestBody, reqEditors ...RequestEditorFn) (*SqliteBatchResponse, error)
// SqliteExecuteWithBodyWithResponse performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request,
// with any type of body and a specified content type.
//
// Execute a single SQLite statement and return results.
//
// Returns a wrapper object for the known response body format(s).
SqliteExecuteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SqliteExecuteResponse, error)
// SqliteExecuteWithResponse performs a POST /v1/sqlite/execute (the `SqliteExecute` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Execute a single SQLite statement and return results.
SqliteExecuteWithResponse(ctx context.Context, body SqliteExecuteJSONRequestBody, reqEditors ...RequestEditorFn) (*SqliteExecuteResponse, error)
// LogListWithResponse performs a GET /v1/telemetry/logs (the `LogList` operationId) request.
//
// Get OpenTelemetry logs within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Filter additionally by branch_ids or file_id.
//
// Returns a wrapper object for the known response body format(s).
LogListWithResponse(ctx context.Context, params *LogListParams, reqEditors ...RequestEditorFn) (*LogListResponse, error)
// TraceListWithResponse performs a GET /v1/telemetry/traces (the `TraceList` operationId) request.
//
// Get OpenTelemetry traces within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Choose to return in end_time order instead to view traces that completed in a window or since a time. Filter additionally by branch_ids or file_id.
//
// Returns a wrapper object for the known response body format(s).
TraceListWithResponse(ctx context.Context, params *TraceListParams, reqEditors ...RequestEditorFn) (*TraceListResponse, error)
// UsersGetWithResponse performs a GET /v1/users/{user_id} (the `UsersGet` operationId) request.
//
// Get basic information about a user.
//
// Returns a wrapper object for the known response body format(s).
UsersGetWithResponse(ctx context.Context, userId openapi_types.UUID, reqEditors ...RequestEditorFn) (*UsersGetResponse, error)
// AliasVal2WithResponse performs a GET /v2/alias/vals/{username}/{val_name} (the `AliasVal2` operationId) request.
//
// Get a val.
//
// Returns a wrapper object for the known response body format(s).
AliasVal2WithResponse(ctx context.Context, username string, valName string, reqEditors ...RequestEditorFn) (*AliasVal2Response, error)
// V2blobsListWithResponse performs a GET /v2/blob (the `V2blobsList` operationId) request.
//
// List blobs in your account.
//
// Returns a wrapper object for the known response body format(s).
V2blobsListWithResponse(ctx context.Context, params *V2blobsListParams, reqEditors ...RequestEditorFn) (*V2blobsListResponse, error)
// V2blobsDeleteWithResponse performs a DELETE /v2/blob/{key} (the `V2blobsDelete` operationId) request.
//
// Delete a blob.
//
// Returns a wrapper object for the known response body format(s).
V2blobsDeleteWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V2blobsDeleteResponse, error)
// V2blobsGetWithResponse performs a GET /v2/blob/{key} (the `V2blobsGet` operationId) request.
//
// Get a blob’s contents.
//
// Returns a wrapper object for the known response body format(s).
V2blobsGetWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*V2blobsGetResponse, error)
// V2blobsStoreWithBodyWithResponse performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request,
// with any type of body and a specified content type.
//
// Store data in blob storage.
//
// Returns a wrapper object for the known response body format(s).
V2blobsStoreWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*V2blobsStoreResponse, error)
// V2blobsStoreWithResponse performs a POST /v2/blob/{key} (the `V2blobsStore` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Store data in blob storage.
V2blobsStoreWithResponse(ctx context.Context, key string, body V2blobsStoreJSONRequestBody, reqEditors ...RequestEditorFn) (*V2blobsStoreResponse, error)
// QueryValFileByIdWithResponse performs a GET /v2/files/{file_id} (the `QueryValFileById` operationId) request.
//
// Get file metadata by file ID.
//
// Returns a wrapper object for the known response body format(s).
QueryValFileByIdWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*QueryValFileByIdResponse, error)
// MeVals2WithResponse performs a GET /v2/me/vals (the `MeVals2` operationId) request.
//
// [BETA] List all of a user's vals for authenticated users.
//
// Returns a wrapper object for the known response body format(s).
MeVals2WithResponse(ctx context.Context, params *MeVals2Params, reqEditors ...RequestEditorFn) (*MeVals2Response, error)
// OrgsListWithResponse performs a GET /v2/orgs (the `OrgsList` operationId) request.
//
// Get all orgs you are a member of.
//
// Returns a wrapper object for the known response body format(s).
OrgsListWithResponse(ctx context.Context, params *OrgsListParams, reqEditors ...RequestEditorFn) (*OrgsListResponse, error)
// OrgsMembershipsListWithResponse performs a GET /v2/orgs/{org_id}/memberships (the `OrgsMembershipsList` operationId) request.
//
// List all memberships of an org.
//
// Returns a wrapper object for the known response body format(s).
OrgsMembershipsListWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*OrgsMembershipsListResponse, error)
// ValsList2WithResponse performs a GET /v2/vals (the `ValsList2` operationId) request.
//
// Lists all vals including all public vals and your unlisted and private vals.
//
// Returns a wrapper object for the known response body format(s).
ValsList2WithResponse(ctx context.Context, params *ValsList2Params, reqEditors ...RequestEditorFn) (*ValsList2Response, error)
// ValsCreate2WithBodyWithResponse performs a POST /v2/vals (the `ValsCreate2` operationId) request,
// with any type of body and a specified content type.
//
// Create a new val.
//
// Returns a wrapper object for the known response body format(s).
ValsCreate2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValsCreate2Response, error)
// ValsCreate2WithResponse performs a POST /v2/vals (the `ValsCreate2` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a new val.
ValsCreate2WithResponse(ctx context.Context, body ValsCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*ValsCreate2Response, error)
// ProjectsDelete2WithResponse performs a DELETE /v2/vals/{val_id} (the `ProjectsDelete2` operationId) request.
//
// Delete a project.
//
// Returns a wrapper object for the known response body format(s).
ProjectsDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProjectsDelete2Response, error)
// ValsGet2WithResponse performs a GET /v2/vals/{val_id} (the `ValsGet2` operationId) request.
//
// Get a val by id.
//
// Returns a wrapper object for the known response body format(s).
ValsGet2WithResponse(ctx context.Context, valId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ValsGet2Response, error)
// BranchesList2WithResponse performs a GET /v2/vals/{val_id}/branches (the `BranchesList2` operationId) request.
//
// List all branches for a val.
//
// Returns a wrapper object for the known response body format(s).
BranchesList2WithResponse(ctx context.Context, valId openapi_types.UUID, params *BranchesList2Params, reqEditors ...RequestEditorFn) (*BranchesList2Response, error)
// BranchesCreate2WithBodyWithResponse performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request,
// with any type of body and a specified content type.
//
// Create a new branch.
//
// Returns a wrapper object for the known response body format(s).
BranchesCreate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BranchesCreate2Response, error)
// BranchesCreate2WithResponse performs a POST /v2/vals/{val_id}/branches (the `BranchesCreate2` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a new branch.
BranchesCreate2WithResponse(ctx context.Context, valId openapi_types.UUID, body BranchesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*BranchesCreate2Response, error)
// BranchesDelete2WithResponse performs a DELETE /v2/vals/{val_id}/branches/{branch_id} (the `BranchesDelete2` operationId) request.
//
// Delete a branch.
//
// Returns a wrapper object for the known response body format(s).
BranchesDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*BranchesDelete2Response, error)
// BranchesGet2WithResponse performs a GET /v2/vals/{val_id}/branches/{branch_id} (the `BranchesGet2` operationId) request.
//
// Get a branch by id.
//
// Returns a wrapper object for the known response body format(s).
BranchesGet2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*BranchesGet2Response, error)
// BranchesMergeUpstream2WithResponse performs a POST /v2/vals/{val_id}/branches/{branch_id}/merge-upstream (the `BranchesMergeUpstream2` operationId) request.
//
// Update a remixed branch with the latest changes from the branch it was remixed from.
//
// Returns a wrapper object for the known response body format(s).
BranchesMergeUpstream2WithResponse(ctx context.Context, valId openapi_types.UUID, branchId openapi_types.UUID, reqEditors ...RequestEditorFn) (*BranchesMergeUpstream2Response, error)
// ValEnvironmentVariableGroupsListWithResponse performs a GET /v2/vals/{val_id}/environment_variable_groups/ (the `ValEnvironmentVariableGroupsList` operationId) request.
//
// List the environment variable groups attached to this val. This only includes the groups, not the variables in them.
//
// Returns a wrapper object for the known response body format(s).
ValEnvironmentVariableGroupsListWithResponse(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*ValEnvironmentVariableGroupsListResponse, error)
// ValEnvironmentVariableGroupsDetachWithResponse performs a DELETE /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsDetach` operationId) request.
//
// Detach an environment variable group from this val. The group itself, and the variables in it, are left alone.
//
// Returns a wrapper object for the known response body format(s).
ValEnvironmentVariableGroupsDetachWithResponse(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ValEnvironmentVariableGroupsDetachResponse, error)
// ValEnvironmentVariableGroupsAttachWithResponse performs a PUT /v2/vals/{val_id}/environment_variable_groups/{group_id} (the `ValEnvironmentVariableGroupsAttach` operationId) request.
//
// Attach an environment variable group to this val. Every variable in the group is injected into the val's environment. Variables defined on the val itself take precedence over variables with the same key in a group. Attaching a group that is already attached succeeds without doing anything.
//
// Returns a wrapper object for the known response body format(s).
ValEnvironmentVariableGroupsAttachWithResponse(ctx context.Context, valId openapi_types.UUID, groupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ValEnvironmentVariableGroupsAttachResponse, error)
// ValEnvironmentVariablesListWithResponse performs a GET /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesList` operationId) request.
//
// List environment variables defined in this project. This only includes names, not values.
//
// Returns a wrapper object for the known response body format(s).
ValEnvironmentVariablesListWithResponse(ctx context.Context, valId openapi_types.UUID, params *ValEnvironmentVariablesListParams, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesListResponse, error)
// ValEnvironmentVariablesCreateWithBodyWithResponse performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request,
// with any type of body and a specified content type.
//
// Create a new environment variable scoped to this project.
//
// Returns a wrapper object for the known response body format(s).
ValEnvironmentVariablesCreateWithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesCreateResponse, error)
// ValEnvironmentVariablesCreateWithResponse performs a POST /v2/vals/{val_id}/environment_variables/ (the `ValEnvironmentVariablesCreate` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a new environment variable scoped to this project.
ValEnvironmentVariablesCreateWithResponse(ctx context.Context, valId openapi_types.UUID, body ValEnvironmentVariablesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesCreateResponse, error)
// ValEnvironmentVariablesDeleteWithResponse performs a DELETE /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesDelete` operationId) request.
//
// Delete a environment variable scoped to this project.
//
// Returns a wrapper object for the known response body format(s).
ValEnvironmentVariablesDeleteWithResponse(ctx context.Context, valId openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesDeleteResponse, error)
// ValEnvironmentVariablesUpdateWithBodyWithResponse performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request,
// with any type of body and a specified content type.
//
// Update a environment variable scoped to this project.
//
// Returns a wrapper object for the known response body format(s).
ValEnvironmentVariablesUpdateWithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesUpdateResponse, error)
// ValEnvironmentVariablesUpdateWithResponse performs a PUT /v2/vals/{val_id}/environment_variables/{key} (the `ValEnvironmentVariablesUpdate` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Update a environment variable scoped to this project.
ValEnvironmentVariablesUpdateWithResponse(ctx context.Context, valId openapi_types.UUID, key string, body ValEnvironmentVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ValEnvironmentVariablesUpdateResponse, error)
// FilesDelete2WithResponse performs a DELETE /v2/vals/{val_id}/files (the `FilesDelete2` operationId) request.
//
// Deletes a file or a directory. To delete a directory and all of its children, use the recursive flag. To delete all files, pass in an empty path and the recursive flag.
//
// Returns a wrapper object for the known response body format(s).
FilesDelete2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesDelete2Params, reqEditors ...RequestEditorFn) (*FilesDelete2Response, error)
// ValFilesGet2WithResponse performs a GET /v2/vals/{val_id}/files (the `ValFilesGet2` operationId) request.
//
// Get metadata for files and directories in a val. If path is an empty string, returns files at the root directory.
//
// Returns a wrapper object for the known response body format(s).
ValFilesGet2WithResponse(ctx context.Context, valId openapi_types.UUID, params *ValFilesGet2Params, reqEditors ...RequestEditorFn) (*ValFilesGet2Response, error)
// FilesCreate2WithBodyWithResponse performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request,
// with any type of body and a specified content type.
//
// Create a new file, project val or directory
//
// Returns a wrapper object for the known response body format(s).
FilesCreate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesCreate2Response, error)
// FilesCreate2WithResponse performs a POST /v2/vals/{val_id}/files (the `FilesCreate2` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a new file, project val or directory
FilesCreate2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesCreate2Params, body FilesCreate2JSONRequestBody, reqEditors ...RequestEditorFn) (*FilesCreate2Response, error)
// FileContentUpdate2WithBodyWithResponse performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request,
// with any type of body and a specified content type.
//
// Update a file's content.
//
// Returns a wrapper object for the known response body format(s).
FileContentUpdate2WithBodyWithResponse(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileContentUpdate2Response, error)
// FileContentUpdate2WithResponse performs a PUT /v2/vals/{val_id}/files (the `FileContentUpdate2` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Update a file's content.
FileContentUpdate2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FileContentUpdate2Params, body FileContentUpdate2JSONRequestBody, reqEditors ...RequestEditorFn) (*FileContentUpdate2Response, error)
// FilesContentGet2WithResponse performs a GET /v2/vals/{val_id}/files/content (the `FilesContentGet2` operationId) request.
//
// Download file content.
//
// Returns a wrapper object for the known response body format(s).
FilesContentGet2WithResponse(ctx context.Context, valId openapi_types.UUID, params *FilesContentGet2Params, reqEditors ...RequestEditorFn) (*FilesContentGet2Response, error)
// PostV3ConnectionsGoogleDocsTokenWithBodyWithResponse performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request,
// with any type of body and a specified content type.
//
// Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
//
// Returns a wrapper object for the known response body format(s).
PostV3ConnectionsGoogleDocsTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3ConnectionsGoogleDocsTokenResponse, error)
// PostV3ConnectionsGoogleDocsTokenWithResponse performs a POST /v3/connections/google-docs/token (the `PostV3ConnectionsGoogleDocsToken` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.
PostV3ConnectionsGoogleDocsTokenWithResponse(ctx context.Context, body PostV3ConnectionsGoogleDocsTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3ConnectionsGoogleDocsTokenResponse, error)
// PostV3ConnectionsSlackTokenWithBodyWithResponse performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request,
// with any type of body and a specified content type.
//
// Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
//
// Returns a wrapper object for the known response body format(s).
PostV3ConnectionsSlackTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3ConnectionsSlackTokenResponse, error)
// PostV3ConnectionsSlackTokenWithResponse performs a POST /v3/connections/slack/token (the `PostV3ConnectionsSlackToken` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.
PostV3ConnectionsSlackTokenWithResponse(ctx context.Context, body PostV3ConnectionsSlackTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3ConnectionsSlackTokenResponse, error)
// EnvironmentVariableGroupsListWithResponse performs a GET /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsList` operationId) request.
//
// List environment variable groups.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsListWithResponse(ctx context.Context, params *EnvironmentVariableGroupsListParams, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsListResponse, error)
// EnvironmentVariableGroupsCreateWithBodyWithResponse performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request,
// with any type of body and a specified content type.
//
// Create a new environment variable group.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateResponse, error)
// EnvironmentVariableGroupsCreateWithResponse performs a POST /v3/environment-variable-groups/ (the `EnvironmentVariableGroupsCreate` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a new environment variable group.
EnvironmentVariableGroupsCreateWithResponse(ctx context.Context, body EnvironmentVariableGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateResponse, error)
// EnvironmentVariableGroupsDeleteWithResponse performs a DELETE /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsDelete` operationId) request.
//
// Delete an environment variable group.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsDeleteWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsDeleteResponse, error)
// EnvironmentVariableGroupsRenameWithBodyWithResponse performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request,
// with any type of body and a specified content type.
//
// Rename an environment variable group.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsRenameWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsRenameResponse, error)
// EnvironmentVariableGroupsRenameWithResponse performs a PUT /v3/environment-variable-groups/{id} (the `EnvironmentVariableGroupsRename` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Rename an environment variable group.
EnvironmentVariableGroupsRenameWithResponse(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsRenameResponse, error)
// EnvironmentVariableGroupsGetWithResponse performs a GET /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsGet` operationId) request.
//
// List variables in an environment variable group.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsGetWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsGetResponse, error)
// EnvironmentVariableGroupsCreateVariableWithBodyWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request,
// with any type of body and a specified content type.
//
// Create an environment variable in a group.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsCreateVariableWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateVariableResponse, error)
// EnvironmentVariableGroupsCreateVariableWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables (the `EnvironmentVariableGroupsCreateVariable` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create an environment variable in a group.
EnvironmentVariableGroupsCreateVariableWithResponse(ctx context.Context, id openapi_types.UUID, body EnvironmentVariableGroupsCreateVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsCreateVariableResponse, error)
// EnvironmentVariableGroupsVariableDeleteWithResponse performs a DELETE /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsVariableDelete` operationId) request.
//
// Delete an environment variable in a group.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsVariableDeleteWithResponse(ctx context.Context, id openapi_types.UUID, key string, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsVariableDeleteResponse, error)
// EnvironmentVariableGroupsUpsertVariableWithBodyWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request,
// with any type of body and a specified content type.
//
// Create or update an environment variable in a group.
//
// Returns a wrapper object for the known response body format(s).
EnvironmentVariableGroupsUpsertVariableWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsUpsertVariableResponse, error)
// EnvironmentVariableGroupsUpsertVariableWithResponse performs a POST /v3/environment-variable-groups/{id}/environment-variables/{key} (the `EnvironmentVariableGroupsUpsertVariable` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create or update an environment variable in a group.
EnvironmentVariableGroupsUpsertVariableWithResponse(ctx context.Context, id openapi_types.UUID, key string, body EnvironmentVariableGroupsUpsertVariableJSONRequestBody, reqEditors ...RequestEditorFn) (*EnvironmentVariableGroupsUpsertVariableResponse, error)
// GetV3ValViewerWithResponse performs a GET /v3/val/viewer (the `GetV3ValViewer` operationId) request.
//
// Look up the identity of the viewer of an app-authenticated (intranet) val, given the X-Val-Town-User header value that Fastify forwarded to the val. Authenticated with the val's own API token (bearer auth). The projectId inside the signed header must match the caller's own project.
//
// Returns a wrapper object for the known response body format(s).
GetV3ValViewerWithResponse(ctx context.Context, params *GetV3ValViewerParams, reqEditors ...RequestEditorFn) (*GetV3ValViewerResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type EmailsSendJSONBody ¶
type EmailsSendJSONBody struct {
// Attachments A list of attachments to add to the email
Attachments *[]struct {
Content string `json:"content"`
ContentId *string `json:"contentId,omitempty"`
Disposition *string `json:"disposition,omitempty"`
Filename string `json:"filename"`
Type *string `json:"type,omitempty"`
} `json:"attachments,omitempty"`
// Bcc A single email or list of emails for one of the address fields
Bcc *EmailsSendJSONBody_Bcc `json:"bcc,omitempty"`
// Cc A single email or list of emails for one of the address fields
Cc *EmailsSendJSONBody_Cc `json:"cc,omitempty"`
From *EmailsSendJSONBody_From `json:"from,omitempty"`
// Headers A set of headers to include the email that you send
Headers *map[string]string `json:"headers,omitempty"`
// Html HTML content of the email. Can be specified alongside text
Html *string `json:"html,omitempty"`
// ReplyToList A reply-to list of email addresses
ReplyToList *EmailsSendJSONBody_ReplyToList `json:"replyToList,omitempty"`
// Subject The subject line of the email
Subject *string `json:"subject,omitempty"`
// Text Text content of the email, for email clients that may not support HTML
Text *string `json:"text,omitempty"`
// To A single email or list of emails for one of the address fields
To *EmailsSendJSONBody_To `json:"to,omitempty"`
}
EmailsSendJSONBody defines parameters for EmailsSend.
type EmailsSendJSONBodyBcc0 ¶
type EmailsSendJSONBodyBcc0 struct {
// contains filtered or unexported fields
}
EmailsSendJSONBodyBcc0 defines parameters for EmailsSend.
func (EmailsSendJSONBodyBcc0) AsEmailsSendJSONBodyBcc00 ¶
func (t EmailsSendJSONBodyBcc0) AsEmailsSendJSONBodyBcc00() (EmailsSendJSONBodyBcc00, error)
AsEmailsSendJSONBodyBcc00 returns the union data inside the EmailsSendJSONBodyBcc0 as a EmailsSendJSONBodyBcc00
func (EmailsSendJSONBodyBcc0) AsEmailsSendJSONBodyBcc01 ¶
func (t EmailsSendJSONBodyBcc0) AsEmailsSendJSONBodyBcc01() (EmailsSendJSONBodyBcc01, error)
AsEmailsSendJSONBodyBcc01 returns the union data inside the EmailsSendJSONBodyBcc0 as a EmailsSendJSONBodyBcc01
func (*EmailsSendJSONBodyBcc0) FromEmailsSendJSONBodyBcc00 ¶
func (t *EmailsSendJSONBodyBcc0) FromEmailsSendJSONBodyBcc00(v EmailsSendJSONBodyBcc00) error
FromEmailsSendJSONBodyBcc00 overwrites any union data inside the EmailsSendJSONBodyBcc0 as the provided EmailsSendJSONBodyBcc00
func (*EmailsSendJSONBodyBcc0) FromEmailsSendJSONBodyBcc01 ¶
func (t *EmailsSendJSONBodyBcc0) FromEmailsSendJSONBodyBcc01(v EmailsSendJSONBodyBcc01) error
FromEmailsSendJSONBodyBcc01 overwrites any union data inside the EmailsSendJSONBodyBcc0 as the provided EmailsSendJSONBodyBcc01
func (EmailsSendJSONBodyBcc0) MarshalJSON ¶
func (t EmailsSendJSONBodyBcc0) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBodyBcc0) MergeEmailsSendJSONBodyBcc00 ¶
func (t *EmailsSendJSONBodyBcc0) MergeEmailsSendJSONBodyBcc00(v EmailsSendJSONBodyBcc00) error
MergeEmailsSendJSONBodyBcc00 performs a merge with any union data inside the EmailsSendJSONBodyBcc0, using the provided EmailsSendJSONBodyBcc00
func (*EmailsSendJSONBodyBcc0) MergeEmailsSendJSONBodyBcc01 ¶
func (t *EmailsSendJSONBodyBcc0) MergeEmailsSendJSONBodyBcc01(v EmailsSendJSONBodyBcc01) error
MergeEmailsSendJSONBodyBcc01 performs a merge with any union data inside the EmailsSendJSONBodyBcc0, using the provided EmailsSendJSONBodyBcc01
func (*EmailsSendJSONBodyBcc0) UnmarshalJSON ¶
func (t *EmailsSendJSONBodyBcc0) UnmarshalJSON(b []byte) error
type EmailsSendJSONBodyBcc00 ¶
type EmailsSendJSONBodyBcc00 = string
EmailsSendJSONBodyBcc00 defines parameters for EmailsSend.
type EmailsSendJSONBodyBcc1 ¶
type EmailsSendJSONBodyBcc1 = []EmailsSendJSONBody_Bcc_1_Item
EmailsSendJSONBodyBcc1 defines parameters for EmailsSend.
type EmailsSendJSONBodyBcc01 ¶
type EmailsSendJSONBodyBcc01 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyBcc01 defines parameters for EmailsSend.
type EmailsSendJSONBodyBcc10 ¶
type EmailsSendJSONBodyBcc10 = string
EmailsSendJSONBodyBcc10 defines parameters for EmailsSend.
type EmailsSendJSONBodyBcc11 ¶
type EmailsSendJSONBodyBcc11 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyBcc11 defines parameters for EmailsSend.
type EmailsSendJSONBodyCc0 ¶
type EmailsSendJSONBodyCc0 struct {
// contains filtered or unexported fields
}
EmailsSendJSONBodyCc0 defines parameters for EmailsSend.
func (EmailsSendJSONBodyCc0) AsEmailsSendJSONBodyCc00 ¶
func (t EmailsSendJSONBodyCc0) AsEmailsSendJSONBodyCc00() (EmailsSendJSONBodyCc00, error)
AsEmailsSendJSONBodyCc00 returns the union data inside the EmailsSendJSONBodyCc0 as a EmailsSendJSONBodyCc00
func (EmailsSendJSONBodyCc0) AsEmailsSendJSONBodyCc01 ¶
func (t EmailsSendJSONBodyCc0) AsEmailsSendJSONBodyCc01() (EmailsSendJSONBodyCc01, error)
AsEmailsSendJSONBodyCc01 returns the union data inside the EmailsSendJSONBodyCc0 as a EmailsSendJSONBodyCc01
func (*EmailsSendJSONBodyCc0) FromEmailsSendJSONBodyCc00 ¶
func (t *EmailsSendJSONBodyCc0) FromEmailsSendJSONBodyCc00(v EmailsSendJSONBodyCc00) error
FromEmailsSendJSONBodyCc00 overwrites any union data inside the EmailsSendJSONBodyCc0 as the provided EmailsSendJSONBodyCc00
func (*EmailsSendJSONBodyCc0) FromEmailsSendJSONBodyCc01 ¶
func (t *EmailsSendJSONBodyCc0) FromEmailsSendJSONBodyCc01(v EmailsSendJSONBodyCc01) error
FromEmailsSendJSONBodyCc01 overwrites any union data inside the EmailsSendJSONBodyCc0 as the provided EmailsSendJSONBodyCc01
func (EmailsSendJSONBodyCc0) MarshalJSON ¶
func (t EmailsSendJSONBodyCc0) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBodyCc0) MergeEmailsSendJSONBodyCc00 ¶
func (t *EmailsSendJSONBodyCc0) MergeEmailsSendJSONBodyCc00(v EmailsSendJSONBodyCc00) error
MergeEmailsSendJSONBodyCc00 performs a merge with any union data inside the EmailsSendJSONBodyCc0, using the provided EmailsSendJSONBodyCc00
func (*EmailsSendJSONBodyCc0) MergeEmailsSendJSONBodyCc01 ¶
func (t *EmailsSendJSONBodyCc0) MergeEmailsSendJSONBodyCc01(v EmailsSendJSONBodyCc01) error
MergeEmailsSendJSONBodyCc01 performs a merge with any union data inside the EmailsSendJSONBodyCc0, using the provided EmailsSendJSONBodyCc01
func (*EmailsSendJSONBodyCc0) UnmarshalJSON ¶
func (t *EmailsSendJSONBodyCc0) UnmarshalJSON(b []byte) error
type EmailsSendJSONBodyCc00 ¶
type EmailsSendJSONBodyCc00 = string
EmailsSendJSONBodyCc00 defines parameters for EmailsSend.
type EmailsSendJSONBodyCc1 ¶
type EmailsSendJSONBodyCc1 = []EmailsSendJSONBody_Cc_1_Item
EmailsSendJSONBodyCc1 defines parameters for EmailsSend.
type EmailsSendJSONBodyCc01 ¶
type EmailsSendJSONBodyCc01 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyCc01 defines parameters for EmailsSend.
type EmailsSendJSONBodyCc10 ¶
type EmailsSendJSONBodyCc10 = string
EmailsSendJSONBodyCc10 defines parameters for EmailsSend.
type EmailsSendJSONBodyCc11 ¶
type EmailsSendJSONBodyCc11 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyCc11 defines parameters for EmailsSend.
type EmailsSendJSONBodyFrom0 ¶
type EmailsSendJSONBodyFrom0 = string
EmailsSendJSONBodyFrom0 defines parameters for EmailsSend.
type EmailsSendJSONBodyFrom1 ¶
type EmailsSendJSONBodyFrom1 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyFrom1 defines parameters for EmailsSend.
type EmailsSendJSONBodyReplyToList0 ¶
type EmailsSendJSONBodyReplyToList0 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyReplyToList0 defines parameters for EmailsSend.
type EmailsSendJSONBodyReplyToList1 ¶
type EmailsSendJSONBodyReplyToList1 = []struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyReplyToList1 defines parameters for EmailsSend.
type EmailsSendJSONBodyTo0 ¶
type EmailsSendJSONBodyTo0 struct {
// contains filtered or unexported fields
}
EmailsSendJSONBodyTo0 defines parameters for EmailsSend.
func (EmailsSendJSONBodyTo0) AsEmailsSendJSONBodyTo00 ¶
func (t EmailsSendJSONBodyTo0) AsEmailsSendJSONBodyTo00() (EmailsSendJSONBodyTo00, error)
AsEmailsSendJSONBodyTo00 returns the union data inside the EmailsSendJSONBodyTo0 as a EmailsSendJSONBodyTo00
func (EmailsSendJSONBodyTo0) AsEmailsSendJSONBodyTo01 ¶
func (t EmailsSendJSONBodyTo0) AsEmailsSendJSONBodyTo01() (EmailsSendJSONBodyTo01, error)
AsEmailsSendJSONBodyTo01 returns the union data inside the EmailsSendJSONBodyTo0 as a EmailsSendJSONBodyTo01
func (*EmailsSendJSONBodyTo0) FromEmailsSendJSONBodyTo00 ¶
func (t *EmailsSendJSONBodyTo0) FromEmailsSendJSONBodyTo00(v EmailsSendJSONBodyTo00) error
FromEmailsSendJSONBodyTo00 overwrites any union data inside the EmailsSendJSONBodyTo0 as the provided EmailsSendJSONBodyTo00
func (*EmailsSendJSONBodyTo0) FromEmailsSendJSONBodyTo01 ¶
func (t *EmailsSendJSONBodyTo0) FromEmailsSendJSONBodyTo01(v EmailsSendJSONBodyTo01) error
FromEmailsSendJSONBodyTo01 overwrites any union data inside the EmailsSendJSONBodyTo0 as the provided EmailsSendJSONBodyTo01
func (EmailsSendJSONBodyTo0) MarshalJSON ¶
func (t EmailsSendJSONBodyTo0) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBodyTo0) MergeEmailsSendJSONBodyTo00 ¶
func (t *EmailsSendJSONBodyTo0) MergeEmailsSendJSONBodyTo00(v EmailsSendJSONBodyTo00) error
MergeEmailsSendJSONBodyTo00 performs a merge with any union data inside the EmailsSendJSONBodyTo0, using the provided EmailsSendJSONBodyTo00
func (*EmailsSendJSONBodyTo0) MergeEmailsSendJSONBodyTo01 ¶
func (t *EmailsSendJSONBodyTo0) MergeEmailsSendJSONBodyTo01(v EmailsSendJSONBodyTo01) error
MergeEmailsSendJSONBodyTo01 performs a merge with any union data inside the EmailsSendJSONBodyTo0, using the provided EmailsSendJSONBodyTo01
func (*EmailsSendJSONBodyTo0) UnmarshalJSON ¶
func (t *EmailsSendJSONBodyTo0) UnmarshalJSON(b []byte) error
type EmailsSendJSONBodyTo00 ¶
type EmailsSendJSONBodyTo00 = string
EmailsSendJSONBodyTo00 defines parameters for EmailsSend.
type EmailsSendJSONBodyTo1 ¶
type EmailsSendJSONBodyTo1 = []EmailsSendJSONBody_To_1_Item
EmailsSendJSONBodyTo1 defines parameters for EmailsSend.
type EmailsSendJSONBodyTo01 ¶
type EmailsSendJSONBodyTo01 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyTo01 defines parameters for EmailsSend.
type EmailsSendJSONBodyTo10 ¶
type EmailsSendJSONBodyTo10 = string
EmailsSendJSONBodyTo10 defines parameters for EmailsSend.
type EmailsSendJSONBodyTo11 ¶
type EmailsSendJSONBodyTo11 struct {
Email string `json:"email"`
Name *string `json:"name,omitempty"`
}
EmailsSendJSONBodyTo11 defines parameters for EmailsSend.
type EmailsSendJSONBody_Bcc ¶
type EmailsSendJSONBody_Bcc struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_Bcc defines parameters for EmailsSend.
func (EmailsSendJSONBody_Bcc) AsEmailsSendJSONBodyBcc0 ¶
func (t EmailsSendJSONBody_Bcc) AsEmailsSendJSONBodyBcc0() (EmailsSendJSONBodyBcc0, error)
AsEmailsSendJSONBodyBcc0 returns the union data inside the EmailsSendJSONBody_Bcc as a EmailsSendJSONBodyBcc0
func (EmailsSendJSONBody_Bcc) AsEmailsSendJSONBodyBcc1 ¶
func (t EmailsSendJSONBody_Bcc) AsEmailsSendJSONBodyBcc1() (EmailsSendJSONBodyBcc1, error)
AsEmailsSendJSONBodyBcc1 returns the union data inside the EmailsSendJSONBody_Bcc as a EmailsSendJSONBodyBcc1
func (*EmailsSendJSONBody_Bcc) FromEmailsSendJSONBodyBcc0 ¶
func (t *EmailsSendJSONBody_Bcc) FromEmailsSendJSONBodyBcc0(v EmailsSendJSONBodyBcc0) error
FromEmailsSendJSONBodyBcc0 overwrites any union data inside the EmailsSendJSONBody_Bcc as the provided EmailsSendJSONBodyBcc0
func (*EmailsSendJSONBody_Bcc) FromEmailsSendJSONBodyBcc1 ¶
func (t *EmailsSendJSONBody_Bcc) FromEmailsSendJSONBodyBcc1(v EmailsSendJSONBodyBcc1) error
FromEmailsSendJSONBodyBcc1 overwrites any union data inside the EmailsSendJSONBody_Bcc as the provided EmailsSendJSONBodyBcc1
func (EmailsSendJSONBody_Bcc) MarshalJSON ¶
func (t EmailsSendJSONBody_Bcc) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_Bcc) MergeEmailsSendJSONBodyBcc0 ¶
func (t *EmailsSendJSONBody_Bcc) MergeEmailsSendJSONBodyBcc0(v EmailsSendJSONBodyBcc0) error
MergeEmailsSendJSONBodyBcc0 performs a merge with any union data inside the EmailsSendJSONBody_Bcc, using the provided EmailsSendJSONBodyBcc0
func (*EmailsSendJSONBody_Bcc) MergeEmailsSendJSONBodyBcc1 ¶
func (t *EmailsSendJSONBody_Bcc) MergeEmailsSendJSONBodyBcc1(v EmailsSendJSONBodyBcc1) error
MergeEmailsSendJSONBodyBcc1 performs a merge with any union data inside the EmailsSendJSONBody_Bcc, using the provided EmailsSendJSONBodyBcc1
func (*EmailsSendJSONBody_Bcc) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_Bcc) UnmarshalJSON(b []byte) error
type EmailsSendJSONBody_Bcc_1_Item ¶
type EmailsSendJSONBody_Bcc_1_Item struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_Bcc_1_Item defines parameters for EmailsSend.
func (EmailsSendJSONBody_Bcc_1_Item) AsEmailsSendJSONBodyBcc10 ¶
func (t EmailsSendJSONBody_Bcc_1_Item) AsEmailsSendJSONBodyBcc10() (EmailsSendJSONBodyBcc10, error)
AsEmailsSendJSONBodyBcc10 returns the union data inside the EmailsSendJSONBody_Bcc_1_Item as a EmailsSendJSONBodyBcc10
func (EmailsSendJSONBody_Bcc_1_Item) AsEmailsSendJSONBodyBcc11 ¶
func (t EmailsSendJSONBody_Bcc_1_Item) AsEmailsSendJSONBodyBcc11() (EmailsSendJSONBodyBcc11, error)
AsEmailsSendJSONBodyBcc11 returns the union data inside the EmailsSendJSONBody_Bcc_1_Item as a EmailsSendJSONBodyBcc11
func (*EmailsSendJSONBody_Bcc_1_Item) FromEmailsSendJSONBodyBcc10 ¶
func (t *EmailsSendJSONBody_Bcc_1_Item) FromEmailsSendJSONBodyBcc10(v EmailsSendJSONBodyBcc10) error
FromEmailsSendJSONBodyBcc10 overwrites any union data inside the EmailsSendJSONBody_Bcc_1_Item as the provided EmailsSendJSONBodyBcc10
func (*EmailsSendJSONBody_Bcc_1_Item) FromEmailsSendJSONBodyBcc11 ¶
func (t *EmailsSendJSONBody_Bcc_1_Item) FromEmailsSendJSONBodyBcc11(v EmailsSendJSONBodyBcc11) error
FromEmailsSendJSONBodyBcc11 overwrites any union data inside the EmailsSendJSONBody_Bcc_1_Item as the provided EmailsSendJSONBodyBcc11
func (EmailsSendJSONBody_Bcc_1_Item) MarshalJSON ¶
func (t EmailsSendJSONBody_Bcc_1_Item) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_Bcc_1_Item) MergeEmailsSendJSONBodyBcc10 ¶
func (t *EmailsSendJSONBody_Bcc_1_Item) MergeEmailsSendJSONBodyBcc10(v EmailsSendJSONBodyBcc10) error
MergeEmailsSendJSONBodyBcc10 performs a merge with any union data inside the EmailsSendJSONBody_Bcc_1_Item, using the provided EmailsSendJSONBodyBcc10
func (*EmailsSendJSONBody_Bcc_1_Item) MergeEmailsSendJSONBodyBcc11 ¶
func (t *EmailsSendJSONBody_Bcc_1_Item) MergeEmailsSendJSONBodyBcc11(v EmailsSendJSONBodyBcc11) error
MergeEmailsSendJSONBodyBcc11 performs a merge with any union data inside the EmailsSendJSONBody_Bcc_1_Item, using the provided EmailsSendJSONBodyBcc11
func (*EmailsSendJSONBody_Bcc_1_Item) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_Bcc_1_Item) UnmarshalJSON(b []byte) error
type EmailsSendJSONBody_Cc ¶
type EmailsSendJSONBody_Cc struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_Cc defines parameters for EmailsSend.
func (EmailsSendJSONBody_Cc) AsEmailsSendJSONBodyCc0 ¶
func (t EmailsSendJSONBody_Cc) AsEmailsSendJSONBodyCc0() (EmailsSendJSONBodyCc0, error)
AsEmailsSendJSONBodyCc0 returns the union data inside the EmailsSendJSONBody_Cc as a EmailsSendJSONBodyCc0
func (EmailsSendJSONBody_Cc) AsEmailsSendJSONBodyCc1 ¶
func (t EmailsSendJSONBody_Cc) AsEmailsSendJSONBodyCc1() (EmailsSendJSONBodyCc1, error)
AsEmailsSendJSONBodyCc1 returns the union data inside the EmailsSendJSONBody_Cc as a EmailsSendJSONBodyCc1
func (*EmailsSendJSONBody_Cc) FromEmailsSendJSONBodyCc0 ¶
func (t *EmailsSendJSONBody_Cc) FromEmailsSendJSONBodyCc0(v EmailsSendJSONBodyCc0) error
FromEmailsSendJSONBodyCc0 overwrites any union data inside the EmailsSendJSONBody_Cc as the provided EmailsSendJSONBodyCc0
func (*EmailsSendJSONBody_Cc) FromEmailsSendJSONBodyCc1 ¶
func (t *EmailsSendJSONBody_Cc) FromEmailsSendJSONBodyCc1(v EmailsSendJSONBodyCc1) error
FromEmailsSendJSONBodyCc1 overwrites any union data inside the EmailsSendJSONBody_Cc as the provided EmailsSendJSONBodyCc1
func (EmailsSendJSONBody_Cc) MarshalJSON ¶
func (t EmailsSendJSONBody_Cc) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_Cc) MergeEmailsSendJSONBodyCc0 ¶
func (t *EmailsSendJSONBody_Cc) MergeEmailsSendJSONBodyCc0(v EmailsSendJSONBodyCc0) error
MergeEmailsSendJSONBodyCc0 performs a merge with any union data inside the EmailsSendJSONBody_Cc, using the provided EmailsSendJSONBodyCc0
func (*EmailsSendJSONBody_Cc) MergeEmailsSendJSONBodyCc1 ¶
func (t *EmailsSendJSONBody_Cc) MergeEmailsSendJSONBodyCc1(v EmailsSendJSONBodyCc1) error
MergeEmailsSendJSONBodyCc1 performs a merge with any union data inside the EmailsSendJSONBody_Cc, using the provided EmailsSendJSONBodyCc1
func (*EmailsSendJSONBody_Cc) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_Cc) UnmarshalJSON(b []byte) error
type EmailsSendJSONBody_Cc_1_Item ¶
type EmailsSendJSONBody_Cc_1_Item struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_Cc_1_Item defines parameters for EmailsSend.
func (EmailsSendJSONBody_Cc_1_Item) AsEmailsSendJSONBodyCc10 ¶
func (t EmailsSendJSONBody_Cc_1_Item) AsEmailsSendJSONBodyCc10() (EmailsSendJSONBodyCc10, error)
AsEmailsSendJSONBodyCc10 returns the union data inside the EmailsSendJSONBody_Cc_1_Item as a EmailsSendJSONBodyCc10
func (EmailsSendJSONBody_Cc_1_Item) AsEmailsSendJSONBodyCc11 ¶
func (t EmailsSendJSONBody_Cc_1_Item) AsEmailsSendJSONBodyCc11() (EmailsSendJSONBodyCc11, error)
AsEmailsSendJSONBodyCc11 returns the union data inside the EmailsSendJSONBody_Cc_1_Item as a EmailsSendJSONBodyCc11
func (*EmailsSendJSONBody_Cc_1_Item) FromEmailsSendJSONBodyCc10 ¶
func (t *EmailsSendJSONBody_Cc_1_Item) FromEmailsSendJSONBodyCc10(v EmailsSendJSONBodyCc10) error
FromEmailsSendJSONBodyCc10 overwrites any union data inside the EmailsSendJSONBody_Cc_1_Item as the provided EmailsSendJSONBodyCc10
func (*EmailsSendJSONBody_Cc_1_Item) FromEmailsSendJSONBodyCc11 ¶
func (t *EmailsSendJSONBody_Cc_1_Item) FromEmailsSendJSONBodyCc11(v EmailsSendJSONBodyCc11) error
FromEmailsSendJSONBodyCc11 overwrites any union data inside the EmailsSendJSONBody_Cc_1_Item as the provided EmailsSendJSONBodyCc11
func (EmailsSendJSONBody_Cc_1_Item) MarshalJSON ¶
func (t EmailsSendJSONBody_Cc_1_Item) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_Cc_1_Item) MergeEmailsSendJSONBodyCc10 ¶
func (t *EmailsSendJSONBody_Cc_1_Item) MergeEmailsSendJSONBodyCc10(v EmailsSendJSONBodyCc10) error
MergeEmailsSendJSONBodyCc10 performs a merge with any union data inside the EmailsSendJSONBody_Cc_1_Item, using the provided EmailsSendJSONBodyCc10
func (*EmailsSendJSONBody_Cc_1_Item) MergeEmailsSendJSONBodyCc11 ¶
func (t *EmailsSendJSONBody_Cc_1_Item) MergeEmailsSendJSONBodyCc11(v EmailsSendJSONBodyCc11) error
MergeEmailsSendJSONBodyCc11 performs a merge with any union data inside the EmailsSendJSONBody_Cc_1_Item, using the provided EmailsSendJSONBodyCc11
func (*EmailsSendJSONBody_Cc_1_Item) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_Cc_1_Item) UnmarshalJSON(b []byte) error
type EmailsSendJSONBody_From ¶
type EmailsSendJSONBody_From struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_From defines parameters for EmailsSend.
func (EmailsSendJSONBody_From) AsEmailsSendJSONBodyFrom0 ¶
func (t EmailsSendJSONBody_From) AsEmailsSendJSONBodyFrom0() (EmailsSendJSONBodyFrom0, error)
AsEmailsSendJSONBodyFrom0 returns the union data inside the EmailsSendJSONBody_From as a EmailsSendJSONBodyFrom0
func (EmailsSendJSONBody_From) AsEmailsSendJSONBodyFrom1 ¶
func (t EmailsSendJSONBody_From) AsEmailsSendJSONBodyFrom1() (EmailsSendJSONBodyFrom1, error)
AsEmailsSendJSONBodyFrom1 returns the union data inside the EmailsSendJSONBody_From as a EmailsSendJSONBodyFrom1
func (*EmailsSendJSONBody_From) FromEmailsSendJSONBodyFrom0 ¶
func (t *EmailsSendJSONBody_From) FromEmailsSendJSONBodyFrom0(v EmailsSendJSONBodyFrom0) error
FromEmailsSendJSONBodyFrom0 overwrites any union data inside the EmailsSendJSONBody_From as the provided EmailsSendJSONBodyFrom0
func (*EmailsSendJSONBody_From) FromEmailsSendJSONBodyFrom1 ¶
func (t *EmailsSendJSONBody_From) FromEmailsSendJSONBodyFrom1(v EmailsSendJSONBodyFrom1) error
FromEmailsSendJSONBodyFrom1 overwrites any union data inside the EmailsSendJSONBody_From as the provided EmailsSendJSONBodyFrom1
func (EmailsSendJSONBody_From) MarshalJSON ¶
func (t EmailsSendJSONBody_From) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_From) MergeEmailsSendJSONBodyFrom0 ¶
func (t *EmailsSendJSONBody_From) MergeEmailsSendJSONBodyFrom0(v EmailsSendJSONBodyFrom0) error
MergeEmailsSendJSONBodyFrom0 performs a merge with any union data inside the EmailsSendJSONBody_From, using the provided EmailsSendJSONBodyFrom0
func (*EmailsSendJSONBody_From) MergeEmailsSendJSONBodyFrom1 ¶
func (t *EmailsSendJSONBody_From) MergeEmailsSendJSONBodyFrom1(v EmailsSendJSONBodyFrom1) error
MergeEmailsSendJSONBodyFrom1 performs a merge with any union data inside the EmailsSendJSONBody_From, using the provided EmailsSendJSONBodyFrom1
func (*EmailsSendJSONBody_From) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_From) UnmarshalJSON(b []byte) error
type EmailsSendJSONBody_ReplyToList ¶
type EmailsSendJSONBody_ReplyToList struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_ReplyToList defines parameters for EmailsSend.
func (EmailsSendJSONBody_ReplyToList) AsEmailsSendJSONBodyReplyToList0 ¶
func (t EmailsSendJSONBody_ReplyToList) AsEmailsSendJSONBodyReplyToList0() (EmailsSendJSONBodyReplyToList0, error)
AsEmailsSendJSONBodyReplyToList0 returns the union data inside the EmailsSendJSONBody_ReplyToList as a EmailsSendJSONBodyReplyToList0
func (EmailsSendJSONBody_ReplyToList) AsEmailsSendJSONBodyReplyToList1 ¶
func (t EmailsSendJSONBody_ReplyToList) AsEmailsSendJSONBodyReplyToList1() (EmailsSendJSONBodyReplyToList1, error)
AsEmailsSendJSONBodyReplyToList1 returns the union data inside the EmailsSendJSONBody_ReplyToList as a EmailsSendJSONBodyReplyToList1
func (*EmailsSendJSONBody_ReplyToList) FromEmailsSendJSONBodyReplyToList0 ¶
func (t *EmailsSendJSONBody_ReplyToList) FromEmailsSendJSONBodyReplyToList0(v EmailsSendJSONBodyReplyToList0) error
FromEmailsSendJSONBodyReplyToList0 overwrites any union data inside the EmailsSendJSONBody_ReplyToList as the provided EmailsSendJSONBodyReplyToList0
func (*EmailsSendJSONBody_ReplyToList) FromEmailsSendJSONBodyReplyToList1 ¶
func (t *EmailsSendJSONBody_ReplyToList) FromEmailsSendJSONBodyReplyToList1(v EmailsSendJSONBodyReplyToList1) error
FromEmailsSendJSONBodyReplyToList1 overwrites any union data inside the EmailsSendJSONBody_ReplyToList as the provided EmailsSendJSONBodyReplyToList1
func (EmailsSendJSONBody_ReplyToList) MarshalJSON ¶
func (t EmailsSendJSONBody_ReplyToList) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_ReplyToList) MergeEmailsSendJSONBodyReplyToList0 ¶
func (t *EmailsSendJSONBody_ReplyToList) MergeEmailsSendJSONBodyReplyToList0(v EmailsSendJSONBodyReplyToList0) error
MergeEmailsSendJSONBodyReplyToList0 performs a merge with any union data inside the EmailsSendJSONBody_ReplyToList, using the provided EmailsSendJSONBodyReplyToList0
func (*EmailsSendJSONBody_ReplyToList) MergeEmailsSendJSONBodyReplyToList1 ¶
func (t *EmailsSendJSONBody_ReplyToList) MergeEmailsSendJSONBodyReplyToList1(v EmailsSendJSONBodyReplyToList1) error
MergeEmailsSendJSONBodyReplyToList1 performs a merge with any union data inside the EmailsSendJSONBody_ReplyToList, using the provided EmailsSendJSONBodyReplyToList1
func (*EmailsSendJSONBody_ReplyToList) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_ReplyToList) UnmarshalJSON(b []byte) error
type EmailsSendJSONBody_To ¶
type EmailsSendJSONBody_To struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_To defines parameters for EmailsSend.
func (EmailsSendJSONBody_To) AsEmailsSendJSONBodyTo0 ¶
func (t EmailsSendJSONBody_To) AsEmailsSendJSONBodyTo0() (EmailsSendJSONBodyTo0, error)
AsEmailsSendJSONBodyTo0 returns the union data inside the EmailsSendJSONBody_To as a EmailsSendJSONBodyTo0
func (EmailsSendJSONBody_To) AsEmailsSendJSONBodyTo1 ¶
func (t EmailsSendJSONBody_To) AsEmailsSendJSONBodyTo1() (EmailsSendJSONBodyTo1, error)
AsEmailsSendJSONBodyTo1 returns the union data inside the EmailsSendJSONBody_To as a EmailsSendJSONBodyTo1
func (*EmailsSendJSONBody_To) FromEmailsSendJSONBodyTo0 ¶
func (t *EmailsSendJSONBody_To) FromEmailsSendJSONBodyTo0(v EmailsSendJSONBodyTo0) error
FromEmailsSendJSONBodyTo0 overwrites any union data inside the EmailsSendJSONBody_To as the provided EmailsSendJSONBodyTo0
func (*EmailsSendJSONBody_To) FromEmailsSendJSONBodyTo1 ¶
func (t *EmailsSendJSONBody_To) FromEmailsSendJSONBodyTo1(v EmailsSendJSONBodyTo1) error
FromEmailsSendJSONBodyTo1 overwrites any union data inside the EmailsSendJSONBody_To as the provided EmailsSendJSONBodyTo1
func (EmailsSendJSONBody_To) MarshalJSON ¶
func (t EmailsSendJSONBody_To) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_To) MergeEmailsSendJSONBodyTo0 ¶
func (t *EmailsSendJSONBody_To) MergeEmailsSendJSONBodyTo0(v EmailsSendJSONBodyTo0) error
MergeEmailsSendJSONBodyTo0 performs a merge with any union data inside the EmailsSendJSONBody_To, using the provided EmailsSendJSONBodyTo0
func (*EmailsSendJSONBody_To) MergeEmailsSendJSONBodyTo1 ¶
func (t *EmailsSendJSONBody_To) MergeEmailsSendJSONBodyTo1(v EmailsSendJSONBodyTo1) error
MergeEmailsSendJSONBodyTo1 performs a merge with any union data inside the EmailsSendJSONBody_To, using the provided EmailsSendJSONBodyTo1
func (*EmailsSendJSONBody_To) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_To) UnmarshalJSON(b []byte) error
type EmailsSendJSONBody_To_1_Item ¶
type EmailsSendJSONBody_To_1_Item struct {
// contains filtered or unexported fields
}
EmailsSendJSONBody_To_1_Item defines parameters for EmailsSend.
func (EmailsSendJSONBody_To_1_Item) AsEmailsSendJSONBodyTo10 ¶
func (t EmailsSendJSONBody_To_1_Item) AsEmailsSendJSONBodyTo10() (EmailsSendJSONBodyTo10, error)
AsEmailsSendJSONBodyTo10 returns the union data inside the EmailsSendJSONBody_To_1_Item as a EmailsSendJSONBodyTo10
func (EmailsSendJSONBody_To_1_Item) AsEmailsSendJSONBodyTo11 ¶
func (t EmailsSendJSONBody_To_1_Item) AsEmailsSendJSONBodyTo11() (EmailsSendJSONBodyTo11, error)
AsEmailsSendJSONBodyTo11 returns the union data inside the EmailsSendJSONBody_To_1_Item as a EmailsSendJSONBodyTo11
func (*EmailsSendJSONBody_To_1_Item) FromEmailsSendJSONBodyTo10 ¶
func (t *EmailsSendJSONBody_To_1_Item) FromEmailsSendJSONBodyTo10(v EmailsSendJSONBodyTo10) error
FromEmailsSendJSONBodyTo10 overwrites any union data inside the EmailsSendJSONBody_To_1_Item as the provided EmailsSendJSONBodyTo10
func (*EmailsSendJSONBody_To_1_Item) FromEmailsSendJSONBodyTo11 ¶
func (t *EmailsSendJSONBody_To_1_Item) FromEmailsSendJSONBodyTo11(v EmailsSendJSONBodyTo11) error
FromEmailsSendJSONBodyTo11 overwrites any union data inside the EmailsSendJSONBody_To_1_Item as the provided EmailsSendJSONBodyTo11
func (EmailsSendJSONBody_To_1_Item) MarshalJSON ¶
func (t EmailsSendJSONBody_To_1_Item) MarshalJSON() ([]byte, error)
func (*EmailsSendJSONBody_To_1_Item) MergeEmailsSendJSONBodyTo10 ¶
func (t *EmailsSendJSONBody_To_1_Item) MergeEmailsSendJSONBodyTo10(v EmailsSendJSONBodyTo10) error
MergeEmailsSendJSONBodyTo10 performs a merge with any union data inside the EmailsSendJSONBody_To_1_Item, using the provided EmailsSendJSONBodyTo10
func (*EmailsSendJSONBody_To_1_Item) MergeEmailsSendJSONBodyTo11 ¶
func (t *EmailsSendJSONBody_To_1_Item) MergeEmailsSendJSONBodyTo11(v EmailsSendJSONBodyTo11) error
MergeEmailsSendJSONBodyTo11 performs a merge with any union data inside the EmailsSendJSONBody_To_1_Item, using the provided EmailsSendJSONBodyTo11
func (*EmailsSendJSONBody_To_1_Item) UnmarshalJSON ¶
func (t *EmailsSendJSONBody_To_1_Item) UnmarshalJSON(b []byte) error
type EmailsSendJSONRequestBody ¶
type EmailsSendJSONRequestBody EmailsSendJSONBody
EmailsSendJSONRequestBody defines body for EmailsSend for application/json ContentType.
type EmailsSendResponse ¶
type EmailsSendResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Message string `json:"message"`
}
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *struct {
Error string `json:"error"`
}
}
func ParseEmailsSendResponse ¶
func ParseEmailsSendResponse(rsp *http.Response) (*EmailsSendResponse, error)
ParseEmailsSendResponse parses an HTTP response from a EmailsSendWithResponse call
func (EmailsSendResponse) ContentType ¶
func (r EmailsSendResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EmailsSendResponse) GetBody ¶
func (r EmailsSendResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EmailsSendResponse) GetJSON202 ¶
func (r EmailsSendResponse) GetJSON202() *struct { Message string `json:"message"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (EmailsSendResponse) GetJSON500 ¶
func (r EmailsSendResponse) GetJSON500() *struct { Error string `json:"error"` }
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (EmailsSendResponse) Status ¶
func (r EmailsSendResponse) Status() string
Status returns HTTPResponse.Status
func (EmailsSendResponse) StatusCode ¶
func (r EmailsSendResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsCreateJSONBody ¶
type EnvironmentVariableGroupsCreateJSONBody struct {
Name string `json:"name"`
// OrgId Organization to act in. Defaults to the organization that owns the API token. List the organizations you belong to with GET /v2/orgs.
OrgId *openapi_types.UUID `json:"orgId,omitempty"`
}
EnvironmentVariableGroupsCreateJSONBody defines parameters for EnvironmentVariableGroupsCreate.
type EnvironmentVariableGroupsCreateJSONRequestBody ¶
type EnvironmentVariableGroupsCreateJSONRequestBody EnvironmentVariableGroupsCreateJSONBody
EnvironmentVariableGroupsCreateJSONRequestBody defines body for EnvironmentVariableGroupsCreate for application/json ContentType.
type EnvironmentVariableGroupsCreateResponse ¶
type EnvironmentVariableGroupsCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Count int `json:"count"`
CreatedAt time.Time `json:"createdAt"`
// Id The id of the group
Id openapi_types.UUID `json:"id"`
// Name Name of the environment variable group
Name string `json:"name"`
// OrgId The id of the group
OrgId openapi_types.UUID `json:"orgId"`
UpdatedAt *time.Time `json:"updatedAt"`
}
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *interface{}
}
func ParseEnvironmentVariableGroupsCreateResponse ¶
func ParseEnvironmentVariableGroupsCreateResponse(rsp *http.Response) (*EnvironmentVariableGroupsCreateResponse, error)
ParseEnvironmentVariableGroupsCreateResponse parses an HTTP response from a EnvironmentVariableGroupsCreateWithResponse call
func (EnvironmentVariableGroupsCreateResponse) ContentType ¶
func (r EnvironmentVariableGroupsCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsCreateResponse) GetBody ¶
func (r EnvironmentVariableGroupsCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsCreateResponse) GetJSON201 ¶
func (r EnvironmentVariableGroupsCreateResponse) GetJSON201() *struct { Count int `json:"count"` CreatedAt time.Time `json:"createdAt"` // Id The id of the group Id openapi_types.UUID `json:"id"` // Name Name of the environment variable group Name string `json:"name"` // OrgId The id of the group OrgId openapi_types.UUID `json:"orgId"` UpdatedAt *time.Time `json:"updatedAt"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (EnvironmentVariableGroupsCreateResponse) GetJSON409 ¶
func (r EnvironmentVariableGroupsCreateResponse) GetJSON409() *interface{}
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (EnvironmentVariableGroupsCreateResponse) Status ¶
func (r EnvironmentVariableGroupsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsCreateResponse) StatusCode ¶
func (r EnvironmentVariableGroupsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsCreateVariableJSONBody ¶
type EnvironmentVariableGroupsCreateVariableJSONBody struct {
Description *string `json:"description,omitempty"`
// Key Name or key of the environment variable, accessible via Deno.env or process.env
Key string `json:"key"`
// Value Value of the environment variable.
Value string `json:"value"`
}
EnvironmentVariableGroupsCreateVariableJSONBody defines parameters for EnvironmentVariableGroupsCreateVariable.
type EnvironmentVariableGroupsCreateVariableJSONRequestBody ¶
type EnvironmentVariableGroupsCreateVariableJSONRequestBody EnvironmentVariableGroupsCreateVariableJSONBody
EnvironmentVariableGroupsCreateVariableJSONRequestBody defines body for EnvironmentVariableGroupsCreateVariable for application/json ContentType.
type EnvironmentVariableGroupsCreateVariableResponse ¶
type EnvironmentVariableGroupsCreateVariableResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TEnvironmentVariable
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *interface{}
}
func ParseEnvironmentVariableGroupsCreateVariableResponse ¶
func ParseEnvironmentVariableGroupsCreateVariableResponse(rsp *http.Response) (*EnvironmentVariableGroupsCreateVariableResponse, error)
ParseEnvironmentVariableGroupsCreateVariableResponse parses an HTTP response from a EnvironmentVariableGroupsCreateVariableWithResponse call
func (EnvironmentVariableGroupsCreateVariableResponse) ContentType ¶
func (r EnvironmentVariableGroupsCreateVariableResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsCreateVariableResponse) GetBody ¶
func (r EnvironmentVariableGroupsCreateVariableResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsCreateVariableResponse) GetJSON201 ¶
func (r EnvironmentVariableGroupsCreateVariableResponse) GetJSON201() *TEnvironmentVariable
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (EnvironmentVariableGroupsCreateVariableResponse) GetJSON409 ¶
func (r EnvironmentVariableGroupsCreateVariableResponse) GetJSON409() *interface{}
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (EnvironmentVariableGroupsCreateVariableResponse) Status ¶
func (r EnvironmentVariableGroupsCreateVariableResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsCreateVariableResponse) StatusCode ¶
func (r EnvironmentVariableGroupsCreateVariableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsDeleteResponse ¶
func ParseEnvironmentVariableGroupsDeleteResponse ¶
func ParseEnvironmentVariableGroupsDeleteResponse(rsp *http.Response) (*EnvironmentVariableGroupsDeleteResponse, error)
ParseEnvironmentVariableGroupsDeleteResponse parses an HTTP response from a EnvironmentVariableGroupsDeleteWithResponse call
func (EnvironmentVariableGroupsDeleteResponse) ContentType ¶
func (r EnvironmentVariableGroupsDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsDeleteResponse) GetBody ¶
func (r EnvironmentVariableGroupsDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsDeleteResponse) Status ¶
func (r EnvironmentVariableGroupsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsDeleteResponse) StatusCode ¶
func (r EnvironmentVariableGroupsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsGetResponse ¶
type EnvironmentVariableGroupsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]TEnvironmentVariable
}
func ParseEnvironmentVariableGroupsGetResponse ¶
func ParseEnvironmentVariableGroupsGetResponse(rsp *http.Response) (*EnvironmentVariableGroupsGetResponse, error)
ParseEnvironmentVariableGroupsGetResponse parses an HTTP response from a EnvironmentVariableGroupsGetWithResponse call
func (EnvironmentVariableGroupsGetResponse) ContentType ¶
func (r EnvironmentVariableGroupsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsGetResponse) GetBody ¶
func (r EnvironmentVariableGroupsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsGetResponse) GetJSON200 ¶
func (r EnvironmentVariableGroupsGetResponse) GetJSON200() *[]TEnvironmentVariable
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EnvironmentVariableGroupsGetResponse) Status ¶
func (r EnvironmentVariableGroupsGetResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsGetResponse) StatusCode ¶
func (r EnvironmentVariableGroupsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsListParams ¶
type EnvironmentVariableGroupsListParams struct {
// Offset Number of items to skip in order to deliver paginated results
Offset int `form:"offset" json:"offset"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
// OrgId Organization to act in. Defaults to the organization that owns the API token. List the organizations you belong to with GET /v2/orgs.
OrgId *openapi_types.UUID `form:"orgId,omitempty" json:"orgId,omitempty"`
}
EnvironmentVariableGroupsListParams defines parameters for EnvironmentVariableGroupsList.
type EnvironmentVariableGroupsListResponse ¶
type EnvironmentVariableGroupsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []struct {
Count int `json:"count"`
CreatedAt time.Time `json:"createdAt"`
// Id The id of the group
Id openapi_types.UUID `json:"id"`
// Name Name of the environment variable group
Name string `json:"name"`
// OrgId The id of the group
OrgId openapi_types.UUID `json:"orgId"`
UpdatedAt *time.Time `json:"updatedAt"`
} `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseEnvironmentVariableGroupsListResponse ¶
func ParseEnvironmentVariableGroupsListResponse(rsp *http.Response) (*EnvironmentVariableGroupsListResponse, error)
ParseEnvironmentVariableGroupsListResponse parses an HTTP response from a EnvironmentVariableGroupsListWithResponse call
func (EnvironmentVariableGroupsListResponse) ContentType ¶
func (r EnvironmentVariableGroupsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsListResponse) GetBody ¶
func (r EnvironmentVariableGroupsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsListResponse) GetJSON200 ¶
func (r EnvironmentVariableGroupsListResponse) GetJSON200() *struct { Data []struct { Count int `json:"count"` CreatedAt time.Time `json:"createdAt"` // Id The id of the group Id openapi_types.UUID `json:"id"` // Name Name of the environment variable group Name string `json:"name"` // OrgId The id of the group OrgId openapi_types.UUID `json:"orgId"` UpdatedAt *time.Time `json:"updatedAt"` } `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EnvironmentVariableGroupsListResponse) Status ¶
func (r EnvironmentVariableGroupsListResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsListResponse) StatusCode ¶
func (r EnvironmentVariableGroupsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsRenameJSONBody ¶
type EnvironmentVariableGroupsRenameJSONBody struct {
// Name New name for group
Name string `json:"name"`
}
EnvironmentVariableGroupsRenameJSONBody defines parameters for EnvironmentVariableGroupsRename.
type EnvironmentVariableGroupsRenameJSONRequestBody ¶
type EnvironmentVariableGroupsRenameJSONRequestBody EnvironmentVariableGroupsRenameJSONBody
EnvironmentVariableGroupsRenameJSONRequestBody defines body for EnvironmentVariableGroupsRename for application/json ContentType.
type EnvironmentVariableGroupsRenameResponse ¶
type EnvironmentVariableGroupsRenameResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *interface{}
}
func ParseEnvironmentVariableGroupsRenameResponse ¶
func ParseEnvironmentVariableGroupsRenameResponse(rsp *http.Response) (*EnvironmentVariableGroupsRenameResponse, error)
ParseEnvironmentVariableGroupsRenameResponse parses an HTTP response from a EnvironmentVariableGroupsRenameWithResponse call
func (EnvironmentVariableGroupsRenameResponse) ContentType ¶
func (r EnvironmentVariableGroupsRenameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsRenameResponse) GetBody ¶
func (r EnvironmentVariableGroupsRenameResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsRenameResponse) GetJSON409 ¶
func (r EnvironmentVariableGroupsRenameResponse) GetJSON409() *interface{}
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (EnvironmentVariableGroupsRenameResponse) Status ¶
func (r EnvironmentVariableGroupsRenameResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsRenameResponse) StatusCode ¶
func (r EnvironmentVariableGroupsRenameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsUpsertVariableJSONBody ¶
type EnvironmentVariableGroupsUpsertVariableJSONBody struct {
Description *string `json:"description,omitempty"`
// Value Value of the environment variable.
Value string `json:"value"`
}
EnvironmentVariableGroupsUpsertVariableJSONBody defines parameters for EnvironmentVariableGroupsUpsertVariable.
type EnvironmentVariableGroupsUpsertVariableJSONRequestBody ¶
type EnvironmentVariableGroupsUpsertVariableJSONRequestBody EnvironmentVariableGroupsUpsertVariableJSONBody
EnvironmentVariableGroupsUpsertVariableJSONRequestBody defines body for EnvironmentVariableGroupsUpsertVariable for application/json ContentType.
type EnvironmentVariableGroupsUpsertVariableResponse ¶
type EnvironmentVariableGroupsUpsertVariableResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TEnvironmentVariable
}
func ParseEnvironmentVariableGroupsUpsertVariableResponse ¶
func ParseEnvironmentVariableGroupsUpsertVariableResponse(rsp *http.Response) (*EnvironmentVariableGroupsUpsertVariableResponse, error)
ParseEnvironmentVariableGroupsUpsertVariableResponse parses an HTTP response from a EnvironmentVariableGroupsUpsertVariableWithResponse call
func (EnvironmentVariableGroupsUpsertVariableResponse) ContentType ¶
func (r EnvironmentVariableGroupsUpsertVariableResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsUpsertVariableResponse) GetBody ¶
func (r EnvironmentVariableGroupsUpsertVariableResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsUpsertVariableResponse) GetJSON201 ¶
func (r EnvironmentVariableGroupsUpsertVariableResponse) GetJSON201() *TEnvironmentVariable
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (EnvironmentVariableGroupsUpsertVariableResponse) Status ¶
func (r EnvironmentVariableGroupsUpsertVariableResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsUpsertVariableResponse) StatusCode ¶
func (r EnvironmentVariableGroupsUpsertVariableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariableGroupsVariableDeleteResponse ¶
type EnvironmentVariableGroupsVariableDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseEnvironmentVariableGroupsVariableDeleteResponse ¶
func ParseEnvironmentVariableGroupsVariableDeleteResponse(rsp *http.Response) (*EnvironmentVariableGroupsVariableDeleteResponse, error)
ParseEnvironmentVariableGroupsVariableDeleteResponse parses an HTTP response from a EnvironmentVariableGroupsVariableDeleteWithResponse call
func (EnvironmentVariableGroupsVariableDeleteResponse) ContentType ¶
func (r EnvironmentVariableGroupsVariableDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnvironmentVariableGroupsVariableDeleteResponse) GetBody ¶
func (r EnvironmentVariableGroupsVariableDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnvironmentVariableGroupsVariableDeleteResponse) Status ¶
func (r EnvironmentVariableGroupsVariableDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (EnvironmentVariableGroupsVariableDeleteResponse) StatusCode ¶
func (r EnvironmentVariableGroupsVariableDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FileContentUpdate2JSONBody ¶
type FileContentUpdate2JSONBody struct {
// contains filtered or unexported fields
}
FileContentUpdate2JSONBody defines parameters for FileContentUpdate2.
func (FileContentUpdate2JSONBody) AsFileContentUpdate2JSONBody0 ¶
func (t FileContentUpdate2JSONBody) AsFileContentUpdate2JSONBody0() (FileContentUpdate2JSONBody0, error)
AsFileContentUpdate2JSONBody0 returns the union data inside the FileContentUpdate2JSONBody as a FileContentUpdate2JSONBody0
func (*FileContentUpdate2JSONBody) FromFileContentUpdate2JSONBody0 ¶
func (t *FileContentUpdate2JSONBody) FromFileContentUpdate2JSONBody0(v FileContentUpdate2JSONBody0) error
FromFileContentUpdate2JSONBody0 overwrites any union data inside the FileContentUpdate2JSONBody as the provided FileContentUpdate2JSONBody0
func (FileContentUpdate2JSONBody) MarshalJSON ¶
func (t FileContentUpdate2JSONBody) MarshalJSON() ([]byte, error)
func (*FileContentUpdate2JSONBody) MergeFileContentUpdate2JSONBody0 ¶
func (t *FileContentUpdate2JSONBody) MergeFileContentUpdate2JSONBody0(v FileContentUpdate2JSONBody0) error
MergeFileContentUpdate2JSONBody0 performs a merge with any union data inside the FileContentUpdate2JSONBody, using the provided FileContentUpdate2JSONBody0
func (*FileContentUpdate2JSONBody) UnmarshalJSON ¶
func (t *FileContentUpdate2JSONBody) UnmarshalJSON(b []byte) error
type FileContentUpdate2JSONBody0 ¶
type FileContentUpdate2JSONBody0 struct {
// Content File and val content. An empty string will create an empty file. When creating a directory, the content should be null or undefined.
Content *string `json:"content,omitempty"`
Name *string `json:"name,omitempty"`
ParentPath *string `json:"parent_path,omitempty"`
Type *FileContentUpdate2JSONBody0Type `json:"type,omitempty"`
}
FileContentUpdate2JSONBody0 defines parameters for FileContentUpdate2.
type FileContentUpdate2JSONBody0Type ¶
type FileContentUpdate2JSONBody0Type string
FileContentUpdate2JSONBody0Type defines parameters for FileContentUpdate2.
const ( FileContentUpdate2JSONBody0TypeEmail FileContentUpdate2JSONBody0Type = "email" FileContentUpdate2JSONBody0TypeFile FileContentUpdate2JSONBody0Type = "file" FileContentUpdate2JSONBody0TypeHttp FileContentUpdate2JSONBody0Type = "http" FileContentUpdate2JSONBody0TypeInterval FileContentUpdate2JSONBody0Type = "interval" FileContentUpdate2JSONBody0TypeScript FileContentUpdate2JSONBody0Type = "script" )
Defines values for FileContentUpdate2JSONBody0Type.
func (FileContentUpdate2JSONBody0Type) Valid ¶
func (e FileContentUpdate2JSONBody0Type) Valid() bool
Valid indicates whether the value is a known member of the FileContentUpdate2JSONBody0Type enum.
type FileContentUpdate2JSONRequestBody ¶
type FileContentUpdate2JSONRequestBody FileContentUpdate2JSONBody
FileContentUpdate2JSONRequestBody defines body for FileContentUpdate2 for application/json ContentType.
type FileContentUpdate2Params ¶
type FileContentUpdate2Params struct {
// BranchId The specified branch of the resource. Defaults to main if not provided.
BranchId *openapi_types.UUID `form:"branch_id,omitempty" json:"branch_id,omitempty"`
// Path Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.
Path string `form:"path" json:"path"`
}
FileContentUpdate2Params defines parameters for FileContentUpdate2.
type FileContentUpdate2Response ¶
type FileContentUpdate2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FileRevisionMetadataV2
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *FileRevisionMetadataV2
}
func ParseFileContentUpdate2Response ¶
func ParseFileContentUpdate2Response(rsp *http.Response) (*FileContentUpdate2Response, error)
ParseFileContentUpdate2Response parses an HTTP response from a FileContentUpdate2WithResponse call
func (FileContentUpdate2Response) ContentType ¶
func (r FileContentUpdate2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FileContentUpdate2Response) GetBody ¶
func (r FileContentUpdate2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (FileContentUpdate2Response) GetJSON200 ¶
func (r FileContentUpdate2Response) GetJSON200() *FileRevisionMetadataV2
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FileContentUpdate2Response) GetJSON201 ¶
func (r FileContentUpdate2Response) GetJSON201() *FileRevisionMetadataV2
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (FileContentUpdate2Response) Status ¶
func (r FileContentUpdate2Response) Status() string
Status returns HTTPResponse.Status
func (FileContentUpdate2Response) StatusCode ¶
func (r FileContentUpdate2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FileRevisionMetadataV2 ¶
type FileRevisionMetadataV2 struct {
// Id The id of the resource
Id openapi_types.UUID `json:"id"`
Links struct {
// Email This resource's email address for receiving emails (for email-type vals)
Email *openapi_types.Email `json:"email,omitempty"`
// Endpoint This resource's web endpoint, where it serves a website or API
Endpoint *string `json:"endpoint,omitempty"`
// Html The URL of this resource on Val Town
Html string `json:"html"`
// Module The URL of this resource's source code as a module
Module string `json:"module"`
// Self The URL of this resource on this API
Self string `json:"self"`
} `json:"links"`
Name string `json:"name"`
Path string `json:"path"`
Type FileRevisionMetadataV2Type `json:"type"`
UpdatedAt time.Time `json:"updatedAt"`
Version int `json:"version"`
}
FileRevisionMetadataV2 A File or Directory's Metadata
type FileRevisionMetadataV2Type ¶
type FileRevisionMetadataV2Type string
FileRevisionMetadataV2Type defines model for FileRevisionMetadataV2.Type.
const ( FileRevisionMetadataV2TypeDirectory FileRevisionMetadataV2Type = "directory" FileRevisionMetadataV2TypeEmail FileRevisionMetadataV2Type = "email" FileRevisionMetadataV2TypeFile FileRevisionMetadataV2Type = "file" FileRevisionMetadataV2TypeHttp FileRevisionMetadataV2Type = "http" FileRevisionMetadataV2TypeInterval FileRevisionMetadataV2Type = "interval" FileRevisionMetadataV2TypeScript FileRevisionMetadataV2Type = "script" )
Defines values for FileRevisionMetadataV2Type.
func (FileRevisionMetadataV2Type) Valid ¶
func (e FileRevisionMetadataV2Type) Valid() bool
Valid indicates whether the value is a known member of the FileRevisionMetadataV2Type enum.
type FilesContentGet2Params ¶
type FilesContentGet2Params struct {
// Version Specific branch version to query
Version *int `form:"version,omitempty" json:"version,omitempty"`
// BranchId Id to query
BranchId *openapi_types.UUID `form:"branch_id,omitempty" json:"branch_id,omitempty"`
// Path Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.
Path string `form:"path" json:"path"`
IfMatch *string `json:"If-Match,omitempty"`
IfUnmodifiedSince *string `json:"If-Unmodified-Since,omitempty"`
IfNoneMatch *string `json:"If-None-Match,omitempty"`
IfModifiedSince *string `json:"If-Modified-Since,omitempty"`
CacheControl *string `json:"Cache-Control,omitempty"`
}
FilesContentGet2Params defines parameters for FilesContentGet2.
type FilesContentGet2Response ¶
type FilesContentGet2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON304 the response for an HTTP 304 `application/json` response
JSON304 *interface{}
// JSON412 the response for an HTTP 412 `application/json` response
JSON412 *string
}
func ParseFilesContentGet2Response ¶
func ParseFilesContentGet2Response(rsp *http.Response) (*FilesContentGet2Response, error)
ParseFilesContentGet2Response parses an HTTP response from a FilesContentGet2WithResponse call
func (FilesContentGet2Response) ContentType ¶
func (r FilesContentGet2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesContentGet2Response) GetBody ¶
func (r FilesContentGet2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesContentGet2Response) GetJSON304 ¶
func (r FilesContentGet2Response) GetJSON304() *interface{}
GetJSON304 returns the response for an HTTP 304 `application/json` response
func (FilesContentGet2Response) GetJSON412 ¶
func (r FilesContentGet2Response) GetJSON412() *string
GetJSON412 returns the response for an HTTP 412 `application/json` response
func (FilesContentGet2Response) Status ¶
func (r FilesContentGet2Response) Status() string
Status returns HTTPResponse.Status
func (FilesContentGet2Response) StatusCode ¶
func (r FilesContentGet2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilesCreate2JSONBody ¶
type FilesCreate2JSONBody struct {
// contains filtered or unexported fields
}
FilesCreate2JSONBody defines parameters for FilesCreate2.
func (FilesCreate2JSONBody) AsFilesCreate2JSONBody0 ¶
func (t FilesCreate2JSONBody) AsFilesCreate2JSONBody0() (FilesCreate2JSONBody0, error)
AsFilesCreate2JSONBody0 returns the union data inside the FilesCreate2JSONBody as a FilesCreate2JSONBody0
func (FilesCreate2JSONBody) AsFilesCreate2JSONBody1 ¶
func (t FilesCreate2JSONBody) AsFilesCreate2JSONBody1() (FilesCreate2JSONBody1, error)
AsFilesCreate2JSONBody1 returns the union data inside the FilesCreate2JSONBody as a FilesCreate2JSONBody1
func (*FilesCreate2JSONBody) FromFilesCreate2JSONBody0 ¶
func (t *FilesCreate2JSONBody) FromFilesCreate2JSONBody0(v FilesCreate2JSONBody0) error
FromFilesCreate2JSONBody0 overwrites any union data inside the FilesCreate2JSONBody as the provided FilesCreate2JSONBody0
func (*FilesCreate2JSONBody) FromFilesCreate2JSONBody1 ¶
func (t *FilesCreate2JSONBody) FromFilesCreate2JSONBody1(v FilesCreate2JSONBody1) error
FromFilesCreate2JSONBody1 overwrites any union data inside the FilesCreate2JSONBody as the provided FilesCreate2JSONBody1
func (FilesCreate2JSONBody) MarshalJSON ¶
func (t FilesCreate2JSONBody) MarshalJSON() ([]byte, error)
func (*FilesCreate2JSONBody) MergeFilesCreate2JSONBody0 ¶
func (t *FilesCreate2JSONBody) MergeFilesCreate2JSONBody0(v FilesCreate2JSONBody0) error
MergeFilesCreate2JSONBody0 performs a merge with any union data inside the FilesCreate2JSONBody, using the provided FilesCreate2JSONBody0
func (*FilesCreate2JSONBody) MergeFilesCreate2JSONBody1 ¶
func (t *FilesCreate2JSONBody) MergeFilesCreate2JSONBody1(v FilesCreate2JSONBody1) error
MergeFilesCreate2JSONBody1 performs a merge with any union data inside the FilesCreate2JSONBody, using the provided FilesCreate2JSONBody1
func (*FilesCreate2JSONBody) UnmarshalJSON ¶
func (t *FilesCreate2JSONBody) UnmarshalJSON(b []byte) error
type FilesCreate2JSONBody0 ¶
type FilesCreate2JSONBody0 struct {
Content any `json:"content,omitempty"`
Type FilesCreate2JSONBody0Type `json:"type"`
}
FilesCreate2JSONBody0 defines parameters for FilesCreate2.
type FilesCreate2JSONBody0Type ¶
type FilesCreate2JSONBody0Type string
FilesCreate2JSONBody0Type defines parameters for FilesCreate2.
const (
FilesCreate2JSONBody0TypeDirectory FilesCreate2JSONBody0Type = "directory"
)
Defines values for FilesCreate2JSONBody0Type.
func (FilesCreate2JSONBody0Type) Valid ¶
func (e FilesCreate2JSONBody0Type) Valid() bool
Valid indicates whether the value is a known member of the FilesCreate2JSONBody0Type enum.
type FilesCreate2JSONBody1 ¶
type FilesCreate2JSONBody1 struct {
// Content File and val content. An empty string will create an empty file. When creating a directory, the content should be null or undefined.
Content string `json:"content"`
Type FilesCreate2JSONBody1Type `json:"type"`
}
FilesCreate2JSONBody1 defines parameters for FilesCreate2.
type FilesCreate2JSONBody1Type ¶
type FilesCreate2JSONBody1Type string
FilesCreate2JSONBody1Type defines parameters for FilesCreate2.
const ( FilesCreate2JSONBody1TypeEmail FilesCreate2JSONBody1Type = "email" FilesCreate2JSONBody1TypeFile FilesCreate2JSONBody1Type = "file" FilesCreate2JSONBody1TypeHttp FilesCreate2JSONBody1Type = "http" FilesCreate2JSONBody1TypeInterval FilesCreate2JSONBody1Type = "interval" FilesCreate2JSONBody1TypeScript FilesCreate2JSONBody1Type = "script" )
Defines values for FilesCreate2JSONBody1Type.
func (FilesCreate2JSONBody1Type) Valid ¶
func (e FilesCreate2JSONBody1Type) Valid() bool
Valid indicates whether the value is a known member of the FilesCreate2JSONBody1Type enum.
type FilesCreate2JSONRequestBody ¶
type FilesCreate2JSONRequestBody FilesCreate2JSONBody
FilesCreate2JSONRequestBody defines body for FilesCreate2 for application/json ContentType.
type FilesCreate2Params ¶
type FilesCreate2Params struct {
// BranchId The specified branch of the resource. Defaults to main if not provided.
BranchId *openapi_types.UUID `form:"branch_id,omitempty" json:"branch_id,omitempty"`
// Path Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.
Path string `form:"path" json:"path"`
}
FilesCreate2Params defines parameters for FilesCreate2.
type FilesCreate2Response ¶
type FilesCreate2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *FileRevisionMetadataV2
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *struct {
// Message File or directory already exists at this path
Message string `json:"message"`
}
}
func ParseFilesCreate2Response ¶
func ParseFilesCreate2Response(rsp *http.Response) (*FilesCreate2Response, error)
ParseFilesCreate2Response parses an HTTP response from a FilesCreate2WithResponse call
func (FilesCreate2Response) ContentType ¶
func (r FilesCreate2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesCreate2Response) GetBody ¶
func (r FilesCreate2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesCreate2Response) GetJSON201 ¶
func (r FilesCreate2Response) GetJSON201() *FileRevisionMetadataV2
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (FilesCreate2Response) GetJSON409 ¶
func (r FilesCreate2Response) GetJSON409() *struct { // Message File or directory already exists at this path Message string `json:"message"` }
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (FilesCreate2Response) Status ¶
func (r FilesCreate2Response) Status() string
Status returns HTTPResponse.Status
func (FilesCreate2Response) StatusCode ¶
func (r FilesCreate2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilesDelete2Params ¶
type FilesDelete2Params struct {
// BranchId The specified branch of the resource. Defaults to main if not provided.
BranchId *openapi_types.UUID `form:"branch_id,omitempty" json:"branch_id,omitempty"`
// Path Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.
Path string `form:"path" json:"path"`
// Recursive Whether to recursively act on all files in the project
Recursive bool `form:"recursive" json:"recursive"`
}
FilesDelete2Params defines parameters for FilesDelete2.
type FilesDelete2Response ¶
type FilesDelete2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *interface{}
}
func ParseFilesDelete2Response ¶
func ParseFilesDelete2Response(rsp *http.Response) (*FilesDelete2Response, error)
ParseFilesDelete2Response parses an HTTP response from a FilesDelete2WithResponse call
func (FilesDelete2Response) ContentType ¶
func (r FilesDelete2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesDelete2Response) GetBody ¶
func (r FilesDelete2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesDelete2Response) GetJSON404 ¶
func (r FilesDelete2Response) GetJSON404() *interface{}
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (FilesDelete2Response) Status ¶
func (r FilesDelete2Response) Status() string
Status returns HTTPResponse.Status
func (FilesDelete2Response) StatusCode ¶
func (r FilesDelete2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV3ValViewer200JSONResponseBodyType ¶
type GetV3ValViewer200JSONResponseBodyType string
GetV3ValViewer200JSONResponseBodyType defines parameters for GetV3ValViewer.
const ( GetV3ValViewer200JSONResponseBodyTypeOrg GetV3ValViewer200JSONResponseBodyType = "org" GetV3ValViewer200JSONResponseBodyTypeUser GetV3ValViewer200JSONResponseBodyType = "user" )
Defines values for GetV3ValViewer200JSONResponseBodyType.
func (GetV3ValViewer200JSONResponseBodyType) Valid ¶
func (e GetV3ValViewer200JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetV3ValViewer200JSONResponseBodyType enum.
type GetV3ValViewerParams ¶
type GetV3ValViewerParams struct {
// XValTownUser The signed X-Val-Town-User header value Fastify forwarded to the val.
XValTownUser string `json:"x-val-town-user"`
}
GetV3ValViewerParams defines parameters for GetV3ValViewer.
type GetV3ValViewerResponse ¶
type GetV3ValViewerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Bio *string `json:"bio"`
// Id The viewer's user id
Id openapi_types.UUID `json:"id"`
Links struct {
// Self URL of this viewer on this API
Self string `json:"self"`
} `json:"links"`
ProfileImageUrl *string `json:"profileImageUrl"`
Type *GetV3ValViewer200JSONResponseBodyType `json:"type"`
// Url The viewer's profile URL on val.town
Url string `json:"url"`
Username *string `json:"username"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Error string `json:"error"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *struct {
Error string `json:"error"`
}
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *struct {
Error string `json:"error"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Error string `json:"error"`
}
}
func ParseGetV3ValViewerResponse ¶
func ParseGetV3ValViewerResponse(rsp *http.Response) (*GetV3ValViewerResponse, error)
ParseGetV3ValViewerResponse parses an HTTP response from a GetV3ValViewerWithResponse call
func (GetV3ValViewerResponse) ContentType ¶
func (r GetV3ValViewerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetV3ValViewerResponse) GetBody ¶
func (r GetV3ValViewerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetV3ValViewerResponse) GetJSON200 ¶
func (r GetV3ValViewerResponse) GetJSON200() *struct { Bio *string `json:"bio"` // Id The viewer's user id Id openapi_types.UUID `json:"id"` Links struct { // Self URL of this viewer on this API Self string `json:"self"` } `json:"links"` ProfileImageUrl *string `json:"profileImageUrl"` Type *GetV3ValViewer200JSONResponseBodyType `json:"type"` // Url The viewer's profile URL on val.town Url string `json:"url"` Username *string `json:"username"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetV3ValViewerResponse) GetJSON400 ¶
func (r GetV3ValViewerResponse) GetJSON400() *struct { Error string `json:"error"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetV3ValViewerResponse) GetJSON401 ¶
func (r GetV3ValViewerResponse) GetJSON401() *struct { Error string `json:"error"` }
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetV3ValViewerResponse) GetJSON403 ¶
func (r GetV3ValViewerResponse) GetJSON403() *struct { Error string `json:"error"` }
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetV3ValViewerResponse) GetJSON404 ¶
func (r GetV3ValViewerResponse) GetJSON404() *struct { Error string `json:"error"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetV3ValViewerResponse) Status ¶
func (r GetV3ValViewerResponse) Status() string
Status returns HTTPResponse.Status
func (GetV3ValViewerResponse) StatusCode ¶
func (r GetV3ValViewerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type LogListParams ¶
type LogListParams struct {
TraceIds *[]string `form:"trace_ids,omitempty" json:"trace_ids,omitempty"`
// FileId Include only resources from a given file identified by its ID
FileId *openapi_types.UUID `form:"file_id,omitempty" json:"file_id,omitempty"`
// BranchIds Branch IDs to filter by
BranchIds *[]openapi_types.UUID `form:"branch_ids,omitempty" json:"branch_ids,omitempty"`
// Direction Sort direction for the traces. Defaults to descending order of timestamp.
Direction LogListParamsDirection `form:"direction" json:"direction"`
// Start Start date of the time window (earliest time)
Start *time.Time `form:"start,omitempty" json:"start,omitempty"`
// End End date of the time window (latest time)
End *time.Time `form:"end,omitempty" json:"end,omitempty"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
LogListParams defines parameters for LogList.
type LogListParamsDirection ¶
type LogListParamsDirection string
LogListParamsDirection defines parameters for LogList.
const ( LogListParamsDirectionAsc LogListParamsDirection = "asc" LogListParamsDirectionDesc LogListParamsDirection = "desc" )
Defines values for LogListParamsDirection.
func (LogListParamsDirection) Valid ¶
func (e LogListParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the LogListParamsDirection enum.
type LogListResponse ¶
type LogListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []struct {
Attributes []struct {
Key string `json:"key"`
Value struct {
ArrayValue interface{} `json:"arrayValue,omitempty"`
BoolValue *bool `json:"boolValue,omitempty"`
BytesValue *string `json:"bytesValue,omitempty"`
DoubleValue *float64 `json:"doubleValue,omitempty"`
IntValue *string `json:"intValue,omitempty"`
KvlistValue interface{} `json:"kvlistValue,omitempty"`
StringValue *string `json:"stringValue,omitempty"`
} `json:"value"`
} `json:"attributes"`
Body struct {
ArrayValue interface{} `json:"arrayValue,omitempty"`
BoolValue *bool `json:"boolValue,omitempty"`
BytesValue *string `json:"bytesValue,omitempty"`
DoubleValue *float64 `json:"doubleValue,omitempty"`
IntValue *string `json:"intValue,omitempty"`
KvlistValue interface{} `json:"kvlistValue,omitempty"`
StringValue *string `json:"stringValue,omitempty"`
} `json:"body"`
SeverityText string `json:"severityText"`
TimeUnixNano string `json:"timeUnixNano"`
TraceId string `json:"traceId"`
} `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseLogListResponse ¶
func ParseLogListResponse(rsp *http.Response) (*LogListResponse, error)
ParseLogListResponse parses an HTTP response from a LogListWithResponse call
func (LogListResponse) ContentType ¶
func (r LogListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogListResponse) GetBody ¶
func (r LogListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LogListResponse) GetJSON200 ¶
func (r LogListResponse) GetJSON200() *struct { Data []struct { Attributes []struct { Key string `json:"key"` Value struct { ArrayValue interface{} `json:"arrayValue,omitempty"` BoolValue *bool `json:"boolValue,omitempty"` BytesValue *string `json:"bytesValue,omitempty"` DoubleValue *float64 `json:"doubleValue,omitempty"` IntValue *string `json:"intValue,omitempty"` KvlistValue interface{} `json:"kvlistValue,omitempty"` StringValue *string `json:"stringValue,omitempty"` } `json:"value"` } `json:"attributes"` Body struct { ArrayValue interface{} `json:"arrayValue,omitempty"` BoolValue *bool `json:"boolValue,omitempty"` BytesValue *string `json:"bytesValue,omitempty"` DoubleValue *float64 `json:"doubleValue,omitempty"` IntValue *string `json:"intValue,omitempty"` KvlistValue interface{} `json:"kvlistValue,omitempty"` StringValue *string `json:"stringValue,omitempty"` } `json:"body"` SeverityText string `json:"severityText"` TimeUnixNano string `json:"timeUnixNano"` TraceId string `json:"traceId"` } `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LogListResponse) Status ¶
func (r LogListResponse) Status() string
Status returns HTTPResponse.Status
func (LogListResponse) StatusCode ¶
func (r LogListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MeGet200JSONResponseBodyTier ¶
type MeGet200JSONResponseBodyTier string
MeGet200JSONResponseBodyTier defines parameters for MeGet.
const ( MeGet200JSONResponseBodyTierBusiness MeGet200JSONResponseBodyTier = "business" MeGet200JSONResponseBodyTierFree MeGet200JSONResponseBodyTier = "free" MeGet200JSONResponseBodyTierPro MeGet200JSONResponseBodyTier = "pro" )
Defines values for MeGet200JSONResponseBodyTier.
func (MeGet200JSONResponseBodyTier) Valid ¶
func (e MeGet200JSONResponseBodyTier) Valid() bool
Valid indicates whether the value is a known member of the MeGet200JSONResponseBodyTier enum.
type MeGet200JSONResponseBodyType ¶
type MeGet200JSONResponseBodyType string
MeGet200JSONResponseBodyType defines parameters for MeGet.
const ( MeGet200JSONResponseBodyTypeOrg MeGet200JSONResponseBodyType = "org" MeGet200JSONResponseBodyTypeUser MeGet200JSONResponseBodyType = "user" )
Defines values for MeGet200JSONResponseBodyType.
func (MeGet200JSONResponseBodyType) Valid ¶
func (e MeGet200JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the MeGet200JSONResponseBodyType enum.
type MeGetResponse ¶
type MeGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Bio *string `json:"bio"`
Email *string `json:"email"`
// Id The ID of this user
Id openapi_types.UUID `json:"id"`
Links struct {
// Self URL of this user on this API
Self string `json:"self"`
} `json:"links"`
ProfileImageUrl *string `json:"profileImageUrl"`
Tier *MeGet200JSONResponseBodyTier `json:"tier"`
// Type Whether this is a user or an organization
Type MeGet200JSONResponseBodyType `json:"type"`
// Url URL of this user’s profile on Val Town’s website
Url string `json:"url"`
Username *string `json:"username"`
}
}
func ParseMeGetResponse ¶
func ParseMeGetResponse(rsp *http.Response) (*MeGetResponse, error)
ParseMeGetResponse parses an HTTP response from a MeGetWithResponse call
func (MeGetResponse) ContentType ¶
func (r MeGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MeGetResponse) GetBody ¶
func (r MeGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MeGetResponse) GetJSON200 ¶
func (r MeGetResponse) GetJSON200() *struct { Bio *string `json:"bio"` Email *string `json:"email"` // Id The ID of this user Id openapi_types.UUID `json:"id"` Links struct { // Self URL of this user on this API Self string `json:"self"` } `json:"links"` ProfileImageUrl *string `json:"profileImageUrl"` Tier *MeGet200JSONResponseBodyTier `json:"tier"` // Type Whether this is a user or an organization Type MeGet200JSONResponseBodyType `json:"type"` // Url URL of this user’s profile on Val Town’s website Url string `json:"url"` Username *string `json:"username"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MeGetResponse) Status ¶
func (r MeGetResponse) Status() string
Status returns HTTPResponse.Status
func (MeGetResponse) StatusCode ¶
func (r MeGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MeVals2Params ¶
type MeVals2Params struct {
// Offset Number of items to skip in order to deliver paginated results
Offset int `form:"offset" json:"offset"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
MeVals2Params defines parameters for MeVals2.
type MeVals2Response ¶
type MeVals2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []Val `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseMeVals2Response ¶
func ParseMeVals2Response(rsp *http.Response) (*MeVals2Response, error)
ParseMeVals2Response parses an HTTP response from a MeVals2WithResponse call
func (MeVals2Response) ContentType ¶
func (r MeVals2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MeVals2Response) GetBody ¶
func (r MeVals2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (MeVals2Response) GetJSON200 ¶
func (r MeVals2Response) GetJSON200() *struct { Data []Val `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MeVals2Response) Status ¶
func (r MeVals2Response) Status() string
Status returns HTTPResponse.Status
func (MeVals2Response) StatusCode ¶
func (r MeVals2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Membership ¶
type Membership struct {
// Id The id of the membership
Id openapi_types.UUID `json:"id"`
Role *MembershipRole `json:"role"`
User struct {
// Id The id of the user
Id openapi_types.UUID `json:"id"`
Username *string `json:"username"`
} `json:"user"`
}
Membership A Membership
type MembershipRole ¶
type MembershipRole string
MembershipRole The role of the member
const ( MembershipRoleMember MembershipRole = "member" MembershipRoleOwner MembershipRole = "owner" )
Defines values for MembershipRole.
func (MembershipRole) Valid ¶
func (e MembershipRole) Valid() bool
Valid indicates whether the value is a known member of the MembershipRole enum.
type Org ¶
type Org struct {
// Id The id of the org
Id openapi_types.UUID `json:"id"`
Username string `json:"username"`
}
Org An Org
type OrgsListParams ¶
type OrgsListParams struct {
// Offset Number of items to skip in order to deliver paginated results
Offset int `form:"offset" json:"offset"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
OrgsListParams defines parameters for OrgsList.
type OrgsListResponse ¶
type OrgsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []Org `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseOrgsListResponse ¶
func ParseOrgsListResponse(rsp *http.Response) (*OrgsListResponse, error)
ParseOrgsListResponse parses an HTTP response from a OrgsListWithResponse call
func (OrgsListResponse) ContentType ¶
func (r OrgsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrgsListResponse) GetBody ¶
func (r OrgsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrgsListResponse) GetJSON200 ¶
func (r OrgsListResponse) GetJSON200() *struct { Data []Org `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrgsListResponse) Status ¶
func (r OrgsListResponse) Status() string
Status returns HTTPResponse.Status
func (OrgsListResponse) StatusCode ¶
func (r OrgsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrgsMembershipsListResponse ¶
type OrgsMembershipsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Membership
}
func ParseOrgsMembershipsListResponse ¶
func ParseOrgsMembershipsListResponse(rsp *http.Response) (*OrgsMembershipsListResponse, error)
ParseOrgsMembershipsListResponse parses an HTTP response from a OrgsMembershipsListWithResponse call
func (OrgsMembershipsListResponse) ContentType ¶
func (r OrgsMembershipsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrgsMembershipsListResponse) GetBody ¶
func (r OrgsMembershipsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrgsMembershipsListResponse) GetJSON200 ¶
func (r OrgsMembershipsListResponse) GetJSON200() *[]Membership
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrgsMembershipsListResponse) Status ¶
func (r OrgsMembershipsListResponse) Status() string
Status returns HTTPResponse.Status
func (OrgsMembershipsListResponse) StatusCode ¶
func (r OrgsMembershipsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PaginationLinks ¶
type PaginationLinks struct {
// Next URL of the next page, if any
Next *string `json:"next,omitempty"`
// Prev URL of the previous page, if any
Prev *string `json:"prev,omitempty"`
// Self URL of this page
Self string `json:"self"`
}
PaginationLinks Links to use for pagination
type PostV3ConnectionsGoogleDocsTokenJSONBody ¶
type PostV3ConnectionsGoogleDocsTokenJSONBody struct {
// Email The Google account email
Email string `json:"email"`
}
PostV3ConnectionsGoogleDocsTokenJSONBody defines parameters for PostV3ConnectionsGoogleDocsToken.
type PostV3ConnectionsGoogleDocsTokenJSONRequestBody ¶
type PostV3ConnectionsGoogleDocsTokenJSONRequestBody PostV3ConnectionsGoogleDocsTokenJSONBody
PostV3ConnectionsGoogleDocsTokenJSONRequestBody defines body for PostV3ConnectionsGoogleDocsToken for application/json ContentType.
type PostV3ConnectionsGoogleDocsTokenResponse ¶
type PostV3ConnectionsGoogleDocsTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
// AccessToken A valid Google access token
AccessToken string `json:"access_token"`
// GrantedScopes The scopes granted by the user during OAuth (may be a subset of requested scopes)
GrantedScopes *[]string `json:"granted_scopes,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Error string `json:"error"`
}
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *struct {
Error string `json:"error"`
}
}
func ParsePostV3ConnectionsGoogleDocsTokenResponse ¶
func ParsePostV3ConnectionsGoogleDocsTokenResponse(rsp *http.Response) (*PostV3ConnectionsGoogleDocsTokenResponse, error)
ParsePostV3ConnectionsGoogleDocsTokenResponse parses an HTTP response from a PostV3ConnectionsGoogleDocsTokenWithResponse call
func (PostV3ConnectionsGoogleDocsTokenResponse) ContentType ¶
func (r PostV3ConnectionsGoogleDocsTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV3ConnectionsGoogleDocsTokenResponse) GetBody ¶
func (r PostV3ConnectionsGoogleDocsTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV3ConnectionsGoogleDocsTokenResponse) GetJSON200 ¶
func (r PostV3ConnectionsGoogleDocsTokenResponse) GetJSON200() *struct { // AccessToken A valid Google access token AccessToken string `json:"access_token"` // GrantedScopes The scopes granted by the user during OAuth (may be a subset of requested scopes) GrantedScopes *[]string `json:"granted_scopes,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostV3ConnectionsGoogleDocsTokenResponse) GetJSON404 ¶
func (r PostV3ConnectionsGoogleDocsTokenResponse) GetJSON404() *struct { Error string `json:"error"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostV3ConnectionsGoogleDocsTokenResponse) GetJSON500 ¶
func (r PostV3ConnectionsGoogleDocsTokenResponse) GetJSON500() *struct { Error string `json:"error"` }
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV3ConnectionsGoogleDocsTokenResponse) Status ¶
func (r PostV3ConnectionsGoogleDocsTokenResponse) Status() string
Status returns HTTPResponse.Status
func (PostV3ConnectionsGoogleDocsTokenResponse) StatusCode ¶
func (r PostV3ConnectionsGoogleDocsTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV3ConnectionsSlackTokenJSONBody ¶
type PostV3ConnectionsSlackTokenJSONBody struct {
// TeamId The Slack team/workspace ID (e.g., 'T9TK3CUKW')
TeamId string `json:"team_id"`
}
PostV3ConnectionsSlackTokenJSONBody defines parameters for PostV3ConnectionsSlackToken.
type PostV3ConnectionsSlackTokenJSONRequestBody ¶
type PostV3ConnectionsSlackTokenJSONRequestBody PostV3ConnectionsSlackTokenJSONBody
PostV3ConnectionsSlackTokenJSONRequestBody defines body for PostV3ConnectionsSlackToken for application/json ContentType.
type PostV3ConnectionsSlackTokenResponse ¶
type PostV3ConnectionsSlackTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
// AccessToken A valid Slack access token
AccessToken string `json:"access_token"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *struct {
Error string `json:"error"`
}
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *struct {
Error string `json:"error"`
}
}
func ParsePostV3ConnectionsSlackTokenResponse ¶
func ParsePostV3ConnectionsSlackTokenResponse(rsp *http.Response) (*PostV3ConnectionsSlackTokenResponse, error)
ParsePostV3ConnectionsSlackTokenResponse parses an HTTP response from a PostV3ConnectionsSlackTokenWithResponse call
func (PostV3ConnectionsSlackTokenResponse) ContentType ¶
func (r PostV3ConnectionsSlackTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostV3ConnectionsSlackTokenResponse) GetBody ¶
func (r PostV3ConnectionsSlackTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostV3ConnectionsSlackTokenResponse) GetJSON200 ¶
func (r PostV3ConnectionsSlackTokenResponse) GetJSON200() *struct { // AccessToken A valid Slack access token AccessToken string `json:"access_token"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostV3ConnectionsSlackTokenResponse) GetJSON404 ¶
func (r PostV3ConnectionsSlackTokenResponse) GetJSON404() *struct { Error string `json:"error"` }
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostV3ConnectionsSlackTokenResponse) GetJSON500 ¶
func (r PostV3ConnectionsSlackTokenResponse) GetJSON500() *struct { Error string `json:"error"` }
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PostV3ConnectionsSlackTokenResponse) Status ¶
func (r PostV3ConnectionsSlackTokenResponse) Status() string
Status returns HTTPResponse.Status
func (PostV3ConnectionsSlackTokenResponse) StatusCode ¶
func (r PostV3ConnectionsSlackTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectsDelete2Response ¶
type ProjectsDelete2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *interface{}
}
func ParseProjectsDelete2Response ¶
func ParseProjectsDelete2Response(rsp *http.Response) (*ProjectsDelete2Response, error)
ParseProjectsDelete2Response parses an HTTP response from a ProjectsDelete2WithResponse call
func (ProjectsDelete2Response) ContentType ¶
func (r ProjectsDelete2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectsDelete2Response) GetBody ¶
func (r ProjectsDelete2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectsDelete2Response) GetJSON404 ¶
func (r ProjectsDelete2Response) GetJSON404() *interface{}
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ProjectsDelete2Response) Status ¶
func (r ProjectsDelete2Response) Status() string
Status returns HTTPResponse.Status
func (ProjectsDelete2Response) StatusCode ¶
func (r ProjectsDelete2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QueryValFileByIdResponse ¶
type QueryValFileByIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FileRevisionMetadataV2
}
func ParseQueryValFileByIdResponse ¶
func ParseQueryValFileByIdResponse(rsp *http.Response) (*QueryValFileByIdResponse, error)
ParseQueryValFileByIdResponse parses an HTTP response from a QueryValFileByIdWithResponse call
func (QueryValFileByIdResponse) ContentType ¶
func (r QueryValFileByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QueryValFileByIdResponse) GetBody ¶
func (r QueryValFileByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QueryValFileByIdResponse) GetJSON200 ¶
func (r QueryValFileByIdResponse) GetJSON200() *FileRevisionMetadataV2
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (QueryValFileByIdResponse) Status ¶
func (r QueryValFileByIdResponse) Status() string
Status returns HTTPResponse.Status
func (QueryValFileByIdResponse) StatusCode ¶
func (r QueryValFileByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResultSet ¶
type ResultSet struct {
// ColumnTypes Types of columns.
//
// The types are currently shown for types declared in a SQL table. For column types of function calls, for example, an empty string is returned.
ColumnTypes []string `json:"columnTypes"`
// Columns Names of columns.
//
// Names of columns can be defined using the `AS` keyword in SQL:
//
// “`sql
// SELECT author AS author, COUNT(*) AS count FROM books GROUP BY author
// “`
Columns []string `json:"columns"`
// LastInsertRowid ROWID of the last inserted row.
//
// This value is not specified if the SQL statement was not an INSERT or if the table was not a ROWID table.
LastInsertRowid *ResultSet_LastInsertRowid `json:"lastInsertRowid,omitempty"`
// Rows Rows produced by the statement.
Rows [][]interface{} `json:"rows"`
// RowsAffected Number of rows that were affected by an UPDATE, INSERT or DELETE operation.
//
// This value is not specified for other SQL statements.
RowsAffected float64 `json:"rowsAffected"`
}
ResultSet Result of executing an SQL statement.
type ResultSetLastInsertRowid0 ¶
type ResultSetLastInsertRowid0 = string
ResultSetLastInsertRowid0 defines model for ResultSet.LastInsertRowid.0.
type ResultSetLastInsertRowid1 ¶
type ResultSetLastInsertRowid1 = float64
ResultSetLastInsertRowid1 defines model for ResultSet.LastInsertRowid.1.
type ResultSet_LastInsertRowid ¶
type ResultSet_LastInsertRowid struct {
// contains filtered or unexported fields
}
ResultSet_LastInsertRowid ROWID of the last inserted row.
This value is not specified if the SQL statement was not an INSERT or if the table was not a ROWID table.
func (ResultSet_LastInsertRowid) AsResultSetLastInsertRowid0 ¶
func (t ResultSet_LastInsertRowid) AsResultSetLastInsertRowid0() (ResultSetLastInsertRowid0, error)
AsResultSetLastInsertRowid0 returns the union data inside the ResultSet_LastInsertRowid as a ResultSetLastInsertRowid0
func (ResultSet_LastInsertRowid) AsResultSetLastInsertRowid1 ¶
func (t ResultSet_LastInsertRowid) AsResultSetLastInsertRowid1() (ResultSetLastInsertRowid1, error)
AsResultSetLastInsertRowid1 returns the union data inside the ResultSet_LastInsertRowid as a ResultSetLastInsertRowid1
func (*ResultSet_LastInsertRowid) FromResultSetLastInsertRowid0 ¶
func (t *ResultSet_LastInsertRowid) FromResultSetLastInsertRowid0(v ResultSetLastInsertRowid0) error
FromResultSetLastInsertRowid0 overwrites any union data inside the ResultSet_LastInsertRowid as the provided ResultSetLastInsertRowid0
func (*ResultSet_LastInsertRowid) FromResultSetLastInsertRowid1 ¶
func (t *ResultSet_LastInsertRowid) FromResultSetLastInsertRowid1(v ResultSetLastInsertRowid1) error
FromResultSetLastInsertRowid1 overwrites any union data inside the ResultSet_LastInsertRowid as the provided ResultSetLastInsertRowid1
func (ResultSet_LastInsertRowid) MarshalJSON ¶
func (t ResultSet_LastInsertRowid) MarshalJSON() ([]byte, error)
func (*ResultSet_LastInsertRowid) MergeResultSetLastInsertRowid0 ¶
func (t *ResultSet_LastInsertRowid) MergeResultSetLastInsertRowid0(v ResultSetLastInsertRowid0) error
MergeResultSetLastInsertRowid0 performs a merge with any union data inside the ResultSet_LastInsertRowid, using the provided ResultSetLastInsertRowid0
func (*ResultSet_LastInsertRowid) MergeResultSetLastInsertRowid1 ¶
func (t *ResultSet_LastInsertRowid) MergeResultSetLastInsertRowid1(v ResultSetLastInsertRowid1) error
MergeResultSetLastInsertRowid1 performs a merge with any union data inside the ResultSet_LastInsertRowid, using the provided ResultSetLastInsertRowid1
func (*ResultSet_LastInsertRowid) UnmarshalJSON ¶
func (t *ResultSet_LastInsertRowid) UnmarshalJSON(b []byte) error
type SqliteBatchJSONBody ¶
type SqliteBatchJSONBody struct {
Mode *SqliteBatchJSONBodyMode `json:"mode,omitempty"`
Statements []SqliteBatchJSONBody_Statements_Item `json:"statements"`
}
SqliteBatchJSONBody defines parameters for SqliteBatch.
type SqliteBatchJSONBodyMode ¶
type SqliteBatchJSONBodyMode string
SqliteBatchJSONBodyMode defines parameters for SqliteBatch.
const ( SqliteBatchJSONBodyModeDeferred SqliteBatchJSONBodyMode = "deferred" SqliteBatchJSONBodyModeRead SqliteBatchJSONBodyMode = "read" SqliteBatchJSONBodyModeWrite SqliteBatchJSONBodyMode = "write" )
Defines values for SqliteBatchJSONBodyMode.
func (SqliteBatchJSONBodyMode) Valid ¶
func (e SqliteBatchJSONBodyMode) Valid() bool
Valid indicates whether the value is a known member of the SqliteBatchJSONBodyMode enum.
type SqliteBatchJSONBodyStatements0 ¶
type SqliteBatchJSONBodyStatements0 = string
SqliteBatchJSONBodyStatements0 defines parameters for SqliteBatch.
type SqliteBatchJSONBodyStatements1 ¶
type SqliteBatchJSONBodyStatements1 struct {
// Args List of arguments to be used in the given statement
Args SqliteBatchJSONBody_Statements_1_Args `json:"args"`
// Sql SQL statement, with ? placeholders for arguments
Sql string `json:"sql"`
}
SqliteBatchJSONBodyStatements1 defines parameters for SqliteBatch.
type SqliteBatchJSONBodyStatements1Args0 ¶
type SqliteBatchJSONBodyStatements1Args0 = []interface{}
SqliteBatchJSONBodyStatements1Args0 defines parameters for SqliteBatch.
type SqliteBatchJSONBodyStatements1Args1 ¶
type SqliteBatchJSONBodyStatements1Args1 map[string]interface{}
SqliteBatchJSONBodyStatements1Args1 defines parameters for SqliteBatch.
type SqliteBatchJSONBody_Statements_1_Args ¶
type SqliteBatchJSONBody_Statements_1_Args struct {
// contains filtered or unexported fields
}
SqliteBatchJSONBody_Statements_1_Args defines parameters for SqliteBatch.
func (SqliteBatchJSONBody_Statements_1_Args) AsSqliteBatchJSONBodyStatements1Args0 ¶
func (t SqliteBatchJSONBody_Statements_1_Args) AsSqliteBatchJSONBodyStatements1Args0() (SqliteBatchJSONBodyStatements1Args0, error)
AsSqliteBatchJSONBodyStatements1Args0 returns the union data inside the SqliteBatchJSONBody_Statements_1_Args as a SqliteBatchJSONBodyStatements1Args0
func (SqliteBatchJSONBody_Statements_1_Args) AsSqliteBatchJSONBodyStatements1Args1 ¶
func (t SqliteBatchJSONBody_Statements_1_Args) AsSqliteBatchJSONBodyStatements1Args1() (SqliteBatchJSONBodyStatements1Args1, error)
AsSqliteBatchJSONBodyStatements1Args1 returns the union data inside the SqliteBatchJSONBody_Statements_1_Args as a SqliteBatchJSONBodyStatements1Args1
func (*SqliteBatchJSONBody_Statements_1_Args) FromSqliteBatchJSONBodyStatements1Args0 ¶
func (t *SqliteBatchJSONBody_Statements_1_Args) FromSqliteBatchJSONBodyStatements1Args0(v SqliteBatchJSONBodyStatements1Args0) error
FromSqliteBatchJSONBodyStatements1Args0 overwrites any union data inside the SqliteBatchJSONBody_Statements_1_Args as the provided SqliteBatchJSONBodyStatements1Args0
func (*SqliteBatchJSONBody_Statements_1_Args) FromSqliteBatchJSONBodyStatements1Args1 ¶
func (t *SqliteBatchJSONBody_Statements_1_Args) FromSqliteBatchJSONBodyStatements1Args1(v SqliteBatchJSONBodyStatements1Args1) error
FromSqliteBatchJSONBodyStatements1Args1 overwrites any union data inside the SqliteBatchJSONBody_Statements_1_Args as the provided SqliteBatchJSONBodyStatements1Args1
func (SqliteBatchJSONBody_Statements_1_Args) MarshalJSON ¶
func (t SqliteBatchJSONBody_Statements_1_Args) MarshalJSON() ([]byte, error)
func (*SqliteBatchJSONBody_Statements_1_Args) MergeSqliteBatchJSONBodyStatements1Args0 ¶
func (t *SqliteBatchJSONBody_Statements_1_Args) MergeSqliteBatchJSONBodyStatements1Args0(v SqliteBatchJSONBodyStatements1Args0) error
MergeSqliteBatchJSONBodyStatements1Args0 performs a merge with any union data inside the SqliteBatchJSONBody_Statements_1_Args, using the provided SqliteBatchJSONBodyStatements1Args0
func (*SqliteBatchJSONBody_Statements_1_Args) MergeSqliteBatchJSONBodyStatements1Args1 ¶
func (t *SqliteBatchJSONBody_Statements_1_Args) MergeSqliteBatchJSONBodyStatements1Args1(v SqliteBatchJSONBodyStatements1Args1) error
MergeSqliteBatchJSONBodyStatements1Args1 performs a merge with any union data inside the SqliteBatchJSONBody_Statements_1_Args, using the provided SqliteBatchJSONBodyStatements1Args1
func (*SqliteBatchJSONBody_Statements_1_Args) UnmarshalJSON ¶
func (t *SqliteBatchJSONBody_Statements_1_Args) UnmarshalJSON(b []byte) error
type SqliteBatchJSONBody_Statements_Item ¶
type SqliteBatchJSONBody_Statements_Item struct {
// contains filtered or unexported fields
}
SqliteBatchJSONBody_Statements_Item defines parameters for SqliteBatch.
func (SqliteBatchJSONBody_Statements_Item) AsSqliteBatchJSONBodyStatements0 ¶
func (t SqliteBatchJSONBody_Statements_Item) AsSqliteBatchJSONBodyStatements0() (SqliteBatchJSONBodyStatements0, error)
AsSqliteBatchJSONBodyStatements0 returns the union data inside the SqliteBatchJSONBody_Statements_Item as a SqliteBatchJSONBodyStatements0
func (SqliteBatchJSONBody_Statements_Item) AsSqliteBatchJSONBodyStatements1 ¶
func (t SqliteBatchJSONBody_Statements_Item) AsSqliteBatchJSONBodyStatements1() (SqliteBatchJSONBodyStatements1, error)
AsSqliteBatchJSONBodyStatements1 returns the union data inside the SqliteBatchJSONBody_Statements_Item as a SqliteBatchJSONBodyStatements1
func (*SqliteBatchJSONBody_Statements_Item) FromSqliteBatchJSONBodyStatements0 ¶
func (t *SqliteBatchJSONBody_Statements_Item) FromSqliteBatchJSONBodyStatements0(v SqliteBatchJSONBodyStatements0) error
FromSqliteBatchJSONBodyStatements0 overwrites any union data inside the SqliteBatchJSONBody_Statements_Item as the provided SqliteBatchJSONBodyStatements0
func (*SqliteBatchJSONBody_Statements_Item) FromSqliteBatchJSONBodyStatements1 ¶
func (t *SqliteBatchJSONBody_Statements_Item) FromSqliteBatchJSONBodyStatements1(v SqliteBatchJSONBodyStatements1) error
FromSqliteBatchJSONBodyStatements1 overwrites any union data inside the SqliteBatchJSONBody_Statements_Item as the provided SqliteBatchJSONBodyStatements1
func (SqliteBatchJSONBody_Statements_Item) MarshalJSON ¶
func (t SqliteBatchJSONBody_Statements_Item) MarshalJSON() ([]byte, error)
func (*SqliteBatchJSONBody_Statements_Item) MergeSqliteBatchJSONBodyStatements0 ¶
func (t *SqliteBatchJSONBody_Statements_Item) MergeSqliteBatchJSONBodyStatements0(v SqliteBatchJSONBodyStatements0) error
MergeSqliteBatchJSONBodyStatements0 performs a merge with any union data inside the SqliteBatchJSONBody_Statements_Item, using the provided SqliteBatchJSONBodyStatements0
func (*SqliteBatchJSONBody_Statements_Item) MergeSqliteBatchJSONBodyStatements1 ¶
func (t *SqliteBatchJSONBody_Statements_Item) MergeSqliteBatchJSONBodyStatements1(v SqliteBatchJSONBodyStatements1) error
MergeSqliteBatchJSONBodyStatements1 performs a merge with any union data inside the SqliteBatchJSONBody_Statements_Item, using the provided SqliteBatchJSONBodyStatements1
func (*SqliteBatchJSONBody_Statements_Item) UnmarshalJSON ¶
func (t *SqliteBatchJSONBody_Statements_Item) UnmarshalJSON(b []byte) error
type SqliteBatchJSONRequestBody ¶
type SqliteBatchJSONRequestBody SqliteBatchJSONBody
SqliteBatchJSONRequestBody defines body for SqliteBatch for application/json ContentType.
type SqliteBatchResponse ¶
type SqliteBatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ResultSet
}
func ParseSqliteBatchResponse ¶
func ParseSqliteBatchResponse(rsp *http.Response) (*SqliteBatchResponse, error)
ParseSqliteBatchResponse parses an HTTP response from a SqliteBatchWithResponse call
func (SqliteBatchResponse) ContentType ¶
func (r SqliteBatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SqliteBatchResponse) GetBody ¶
func (r SqliteBatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SqliteBatchResponse) GetJSON200 ¶
func (r SqliteBatchResponse) GetJSON200() *[]ResultSet
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SqliteBatchResponse) Status ¶
func (r SqliteBatchResponse) Status() string
Status returns HTTPResponse.Status
func (SqliteBatchResponse) StatusCode ¶
func (r SqliteBatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SqliteExecuteJSONBody ¶
type SqliteExecuteJSONBody struct {
Statement SqliteExecuteJSONBody_Statement `json:"statement"`
}
SqliteExecuteJSONBody defines parameters for SqliteExecute.
type SqliteExecuteJSONBodyStatement0 ¶
type SqliteExecuteJSONBodyStatement0 = string
SqliteExecuteJSONBodyStatement0 defines parameters for SqliteExecute.
type SqliteExecuteJSONBodyStatement1 ¶
type SqliteExecuteJSONBodyStatement1 struct {
// Args List of arguments to be used in the given statement
Args SqliteExecuteJSONBody_Statement_1_Args `json:"args"`
// Sql SQL statement, with ? placeholders for arguments
Sql string `json:"sql"`
}
SqliteExecuteJSONBodyStatement1 defines parameters for SqliteExecute.
type SqliteExecuteJSONBodyStatement1Args0 ¶
type SqliteExecuteJSONBodyStatement1Args0 = []interface{}
SqliteExecuteJSONBodyStatement1Args0 defines parameters for SqliteExecute.
type SqliteExecuteJSONBodyStatement1Args1 ¶
type SqliteExecuteJSONBodyStatement1Args1 map[string]interface{}
SqliteExecuteJSONBodyStatement1Args1 defines parameters for SqliteExecute.
type SqliteExecuteJSONBody_Statement ¶
type SqliteExecuteJSONBody_Statement struct {
// contains filtered or unexported fields
}
SqliteExecuteJSONBody_Statement defines parameters for SqliteExecute.
func (SqliteExecuteJSONBody_Statement) AsSqliteExecuteJSONBodyStatement0 ¶
func (t SqliteExecuteJSONBody_Statement) AsSqliteExecuteJSONBodyStatement0() (SqliteExecuteJSONBodyStatement0, error)
AsSqliteExecuteJSONBodyStatement0 returns the union data inside the SqliteExecuteJSONBody_Statement as a SqliteExecuteJSONBodyStatement0
func (SqliteExecuteJSONBody_Statement) AsSqliteExecuteJSONBodyStatement1 ¶
func (t SqliteExecuteJSONBody_Statement) AsSqliteExecuteJSONBodyStatement1() (SqliteExecuteJSONBodyStatement1, error)
AsSqliteExecuteJSONBodyStatement1 returns the union data inside the SqliteExecuteJSONBody_Statement as a SqliteExecuteJSONBodyStatement1
func (*SqliteExecuteJSONBody_Statement) FromSqliteExecuteJSONBodyStatement0 ¶
func (t *SqliteExecuteJSONBody_Statement) FromSqliteExecuteJSONBodyStatement0(v SqliteExecuteJSONBodyStatement0) error
FromSqliteExecuteJSONBodyStatement0 overwrites any union data inside the SqliteExecuteJSONBody_Statement as the provided SqliteExecuteJSONBodyStatement0
func (*SqliteExecuteJSONBody_Statement) FromSqliteExecuteJSONBodyStatement1 ¶
func (t *SqliteExecuteJSONBody_Statement) FromSqliteExecuteJSONBodyStatement1(v SqliteExecuteJSONBodyStatement1) error
FromSqliteExecuteJSONBodyStatement1 overwrites any union data inside the SqliteExecuteJSONBody_Statement as the provided SqliteExecuteJSONBodyStatement1
func (SqliteExecuteJSONBody_Statement) MarshalJSON ¶
func (t SqliteExecuteJSONBody_Statement) MarshalJSON() ([]byte, error)
func (*SqliteExecuteJSONBody_Statement) MergeSqliteExecuteJSONBodyStatement0 ¶
func (t *SqliteExecuteJSONBody_Statement) MergeSqliteExecuteJSONBodyStatement0(v SqliteExecuteJSONBodyStatement0) error
MergeSqliteExecuteJSONBodyStatement0 performs a merge with any union data inside the SqliteExecuteJSONBody_Statement, using the provided SqliteExecuteJSONBodyStatement0
func (*SqliteExecuteJSONBody_Statement) MergeSqliteExecuteJSONBodyStatement1 ¶
func (t *SqliteExecuteJSONBody_Statement) MergeSqliteExecuteJSONBodyStatement1(v SqliteExecuteJSONBodyStatement1) error
MergeSqliteExecuteJSONBodyStatement1 performs a merge with any union data inside the SqliteExecuteJSONBody_Statement, using the provided SqliteExecuteJSONBodyStatement1
func (*SqliteExecuteJSONBody_Statement) UnmarshalJSON ¶
func (t *SqliteExecuteJSONBody_Statement) UnmarshalJSON(b []byte) error
type SqliteExecuteJSONBody_Statement_1_Args ¶
type SqliteExecuteJSONBody_Statement_1_Args struct {
// contains filtered or unexported fields
}
SqliteExecuteJSONBody_Statement_1_Args defines parameters for SqliteExecute.
func (SqliteExecuteJSONBody_Statement_1_Args) AsSqliteExecuteJSONBodyStatement1Args0 ¶
func (t SqliteExecuteJSONBody_Statement_1_Args) AsSqliteExecuteJSONBodyStatement1Args0() (SqliteExecuteJSONBodyStatement1Args0, error)
AsSqliteExecuteJSONBodyStatement1Args0 returns the union data inside the SqliteExecuteJSONBody_Statement_1_Args as a SqliteExecuteJSONBodyStatement1Args0
func (SqliteExecuteJSONBody_Statement_1_Args) AsSqliteExecuteJSONBodyStatement1Args1 ¶
func (t SqliteExecuteJSONBody_Statement_1_Args) AsSqliteExecuteJSONBodyStatement1Args1() (SqliteExecuteJSONBodyStatement1Args1, error)
AsSqliteExecuteJSONBodyStatement1Args1 returns the union data inside the SqliteExecuteJSONBody_Statement_1_Args as a SqliteExecuteJSONBodyStatement1Args1
func (*SqliteExecuteJSONBody_Statement_1_Args) FromSqliteExecuteJSONBodyStatement1Args0 ¶
func (t *SqliteExecuteJSONBody_Statement_1_Args) FromSqliteExecuteJSONBodyStatement1Args0(v SqliteExecuteJSONBodyStatement1Args0) error
FromSqliteExecuteJSONBodyStatement1Args0 overwrites any union data inside the SqliteExecuteJSONBody_Statement_1_Args as the provided SqliteExecuteJSONBodyStatement1Args0
func (*SqliteExecuteJSONBody_Statement_1_Args) FromSqliteExecuteJSONBodyStatement1Args1 ¶
func (t *SqliteExecuteJSONBody_Statement_1_Args) FromSqliteExecuteJSONBodyStatement1Args1(v SqliteExecuteJSONBodyStatement1Args1) error
FromSqliteExecuteJSONBodyStatement1Args1 overwrites any union data inside the SqliteExecuteJSONBody_Statement_1_Args as the provided SqliteExecuteJSONBodyStatement1Args1
func (SqliteExecuteJSONBody_Statement_1_Args) MarshalJSON ¶
func (t SqliteExecuteJSONBody_Statement_1_Args) MarshalJSON() ([]byte, error)
func (*SqliteExecuteJSONBody_Statement_1_Args) MergeSqliteExecuteJSONBodyStatement1Args0 ¶
func (t *SqliteExecuteJSONBody_Statement_1_Args) MergeSqliteExecuteJSONBodyStatement1Args0(v SqliteExecuteJSONBodyStatement1Args0) error
MergeSqliteExecuteJSONBodyStatement1Args0 performs a merge with any union data inside the SqliteExecuteJSONBody_Statement_1_Args, using the provided SqliteExecuteJSONBodyStatement1Args0
func (*SqliteExecuteJSONBody_Statement_1_Args) MergeSqliteExecuteJSONBodyStatement1Args1 ¶
func (t *SqliteExecuteJSONBody_Statement_1_Args) MergeSqliteExecuteJSONBodyStatement1Args1(v SqliteExecuteJSONBodyStatement1Args1) error
MergeSqliteExecuteJSONBodyStatement1Args1 performs a merge with any union data inside the SqliteExecuteJSONBody_Statement_1_Args, using the provided SqliteExecuteJSONBodyStatement1Args1
func (*SqliteExecuteJSONBody_Statement_1_Args) UnmarshalJSON ¶
func (t *SqliteExecuteJSONBody_Statement_1_Args) UnmarshalJSON(b []byte) error
type SqliteExecuteJSONRequestBody ¶
type SqliteExecuteJSONRequestBody SqliteExecuteJSONBody
SqliteExecuteJSONRequestBody defines body for SqliteExecute for application/json ContentType.
type SqliteExecuteResponse ¶
type SqliteExecuteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ResultSet
}
func ParseSqliteExecuteResponse ¶
func ParseSqliteExecuteResponse(rsp *http.Response) (*SqliteExecuteResponse, error)
ParseSqliteExecuteResponse parses an HTTP response from a SqliteExecuteWithResponse call
func (SqliteExecuteResponse) ContentType ¶
func (r SqliteExecuteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SqliteExecuteResponse) GetBody ¶
func (r SqliteExecuteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SqliteExecuteResponse) GetJSON200 ¶
func (r SqliteExecuteResponse) GetJSON200() *ResultSet
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SqliteExecuteResponse) Status ¶
func (r SqliteExecuteResponse) Status() string
Status returns HTTPResponse.Status
func (SqliteExecuteResponse) StatusCode ¶
func (r SqliteExecuteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TEnvironmentVariable ¶
type TEnvironmentVariable struct {
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description"`
// Key Name or key of the environment variable, accessible via Deno.env or process.env
Key string `json:"key"`
UpdatedAt *time.Time `json:"updatedAt"`
}
TEnvironmentVariable An environment variable
type TraceListParams ¶
type TraceListParams struct {
// FileId Include only resources from a given file identified by its ID
FileId *openapi_types.UUID `form:"file_id,omitempty" json:"file_id,omitempty"`
// BranchIds Branch IDs to filter by
BranchIds *[]openapi_types.UUID `form:"branch_ids,omitempty" json:"branch_ids,omitempty"`
// Direction Sort direction for the traces. Defaults to descending order of timestamp.
Direction TraceListParamsDirection `form:"direction" json:"direction"`
// Start Start date of the time window (earliest time)
Start *time.Time `form:"start,omitempty" json:"start,omitempty"`
// End End date of the time window (latest time)
End *time.Time `form:"end,omitempty" json:"end,omitempty"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
// OrderBy When set to end_time, traces are sorted by their end time, and pending traces are omitted. When set to start_time, all traces are included, with pending traces given "0" for their end time.
OrderBy *TraceListParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
}
TraceListParams defines parameters for TraceList.
type TraceListParamsDirection ¶
type TraceListParamsDirection string
TraceListParamsDirection defines parameters for TraceList.
const ( TraceListParamsDirectionAsc TraceListParamsDirection = "asc" TraceListParamsDirectionDesc TraceListParamsDirection = "desc" )
Defines values for TraceListParamsDirection.
func (TraceListParamsDirection) Valid ¶
func (e TraceListParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the TraceListParamsDirection enum.
type TraceListParamsOrderBy ¶
type TraceListParamsOrderBy string
TraceListParamsOrderBy defines parameters for TraceList.
const ( TraceListParamsOrderByEndTime TraceListParamsOrderBy = "end_time" TraceListParamsOrderByStartTime TraceListParamsOrderBy = "start_time" )
Defines values for TraceListParamsOrderBy.
func (TraceListParamsOrderBy) Valid ¶
func (e TraceListParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the TraceListParamsOrderBy enum.
type TraceListResponse ¶
type TraceListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []struct {
Attributes []struct {
Key string `json:"key"`
Value struct {
ArrayValue interface{} `json:"arrayValue,omitempty"`
BoolValue *bool `json:"boolValue,omitempty"`
BytesValue *string `json:"bytesValue,omitempty"`
DoubleValue *float64 `json:"doubleValue,omitempty"`
IntValue *string `json:"intValue,omitempty"`
KvlistValue interface{} `json:"kvlistValue,omitempty"`
StringValue *string `json:"stringValue,omitempty"`
} `json:"value"`
} `json:"attributes"`
// EndTimeUnixNano 0 if trace is unfinished
EndTimeUnixNano string `json:"endTimeUnixNano"`
Name string `json:"name"`
StartTimeUnixNano string `json:"startTimeUnixNano"`
Status struct {
Code float64 `json:"code"`
Message string `json:"message"`
} `json:"status"`
TraceId string `json:"traceId"`
} `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseTraceListResponse ¶
func ParseTraceListResponse(rsp *http.Response) (*TraceListResponse, error)
ParseTraceListResponse parses an HTTP response from a TraceListWithResponse call
func (TraceListResponse) ContentType ¶
func (r TraceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TraceListResponse) GetBody ¶
func (r TraceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TraceListResponse) GetJSON200 ¶
func (r TraceListResponse) GetJSON200() *struct { Data []struct { Attributes []struct { Key string `json:"key"` Value struct { ArrayValue interface{} `json:"arrayValue,omitempty"` BoolValue *bool `json:"boolValue,omitempty"` BytesValue *string `json:"bytesValue,omitempty"` DoubleValue *float64 `json:"doubleValue,omitempty"` IntValue *string `json:"intValue,omitempty"` KvlistValue interface{} `json:"kvlistValue,omitempty"` StringValue *string `json:"stringValue,omitempty"` } `json:"value"` } `json:"attributes"` // EndTimeUnixNano 0 if trace is unfinished EndTimeUnixNano string `json:"endTimeUnixNano"` Name string `json:"name"` StartTimeUnixNano string `json:"startTimeUnixNano"` Status struct { Code float64 `json:"code"` Message string `json:"message"` } `json:"status"` TraceId string `json:"traceId"` } `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TraceListResponse) Status ¶
func (r TraceListResponse) Status() string
Status returns HTTPResponse.Status
func (TraceListResponse) StatusCode ¶
func (r TraceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type User ¶
type User struct {
Bio *string `json:"bio"`
// Id The ID of this user
Id openapi_types.UUID `json:"id"`
Links struct {
// Self URL of this user on this API
Self string `json:"self"`
} `json:"links"`
ProfileImageUrl *string `json:"profileImageUrl"`
// Type Whether this is a user or an organization
Type UserType `json:"type"`
// Url URL of this user’s profile on Val Town’s website
Url string `json:"url"`
Username *string `json:"username"`
}
User User object
type UsersGetResponse ¶
type UsersGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *User
}
func ParseUsersGetResponse ¶
func ParseUsersGetResponse(rsp *http.Response) (*UsersGetResponse, error)
ParseUsersGetResponse parses an HTTP response from a UsersGetWithResponse call
func (UsersGetResponse) ContentType ¶
func (r UsersGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UsersGetResponse) GetBody ¶
func (r UsersGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UsersGetResponse) GetJSON200 ¶
func (r UsersGetResponse) GetJSON200() *User
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UsersGetResponse) Status ¶
func (r UsersGetResponse) Status() string
Status returns HTTPResponse.Status
func (UsersGetResponse) StatusCode ¶
func (r UsersGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1blobsDeleteResponse ¶
func ParseV1blobsDeleteResponse ¶
func ParseV1blobsDeleteResponse(rsp *http.Response) (*V1blobsDeleteResponse, error)
ParseV1blobsDeleteResponse parses an HTTP response from a V1blobsDeleteWithResponse call
func (V1blobsDeleteResponse) ContentType ¶
func (r V1blobsDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V1blobsDeleteResponse) GetBody ¶
func (r V1blobsDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V1blobsDeleteResponse) Status ¶
func (r V1blobsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (V1blobsDeleteResponse) StatusCode ¶
func (r V1blobsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1blobsGetResponse ¶
func ParseV1blobsGetResponse ¶
func ParseV1blobsGetResponse(rsp *http.Response) (*V1blobsGetResponse, error)
ParseV1blobsGetResponse parses an HTTP response from a V1blobsGetWithResponse call
func (V1blobsGetResponse) ContentType ¶
func (r V1blobsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V1blobsGetResponse) GetBody ¶
func (r V1blobsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V1blobsGetResponse) Status ¶
func (r V1blobsGetResponse) Status() string
Status returns HTTPResponse.Status
func (V1blobsGetResponse) StatusCode ¶
func (r V1blobsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1blobsListParams ¶
type V1blobsListParams struct {
// Prefix If specified, only include blobs that start with this string
Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"`
}
V1blobsListParams defines parameters for V1blobsList.
type V1blobsListResponse ¶
type V1blobsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]struct {
Key string `json:"key"`
// LastModified Creation date of the object
LastModified *time.Time `json:"lastModified,omitempty"`
// Size Size in bytes of the object
Size *int `json:"size,omitempty"`
}
}
func ParseV1blobsListResponse ¶
func ParseV1blobsListResponse(rsp *http.Response) (*V1blobsListResponse, error)
ParseV1blobsListResponse parses an HTTP response from a V1blobsListWithResponse call
func (V1blobsListResponse) ContentType ¶
func (r V1blobsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V1blobsListResponse) GetBody ¶
func (r V1blobsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V1blobsListResponse) GetJSON200 ¶
func (r V1blobsListResponse) GetJSON200() *[]struct { Key string `json:"key"` // LastModified Creation date of the object LastModified *time.Time `json:"lastModified,omitempty"` // Size Size in bytes of the object Size *int `json:"size,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (V1blobsListResponse) Status ¶
func (r V1blobsListResponse) Status() string
Status returns HTTPResponse.Status
func (V1blobsListResponse) StatusCode ¶
func (r V1blobsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V1blobsStoreJSONBody ¶
type V1blobsStoreJSONBody = openapi_types.File
V1blobsStoreJSONBody defines parameters for V1blobsStore.
type V1blobsStoreJSONRequestBody ¶
type V1blobsStoreJSONRequestBody = V1blobsStoreJSONBody
V1blobsStoreJSONRequestBody defines body for V1blobsStore for application/json ContentType.
type V1blobsStoreResponse ¶
type V1blobsStoreResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *string
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Error string `json:"error"`
Message *string `json:"message,omitempty"`
}
}
func ParseV1blobsStoreResponse ¶
func ParseV1blobsStoreResponse(rsp *http.Response) (*V1blobsStoreResponse, error)
ParseV1blobsStoreResponse parses an HTTP response from a V1blobsStoreWithResponse call
func (V1blobsStoreResponse) ContentType ¶
func (r V1blobsStoreResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V1blobsStoreResponse) GetBody ¶
func (r V1blobsStoreResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V1blobsStoreResponse) GetJSON201 ¶
func (r V1blobsStoreResponse) GetJSON201() *string
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (V1blobsStoreResponse) GetJSON400 ¶
func (r V1blobsStoreResponse) GetJSON400() *struct { Error string `json:"error"` Message *string `json:"message,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (V1blobsStoreResponse) Status ¶
func (r V1blobsStoreResponse) Status() string
Status returns HTTPResponse.Status
func (V1blobsStoreResponse) StatusCode ¶
func (r V1blobsStoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2blobsDeleteResponse ¶
func ParseV2blobsDeleteResponse ¶
func ParseV2blobsDeleteResponse(rsp *http.Response) (*V2blobsDeleteResponse, error)
ParseV2blobsDeleteResponse parses an HTTP response from a V2blobsDeleteWithResponse call
func (V2blobsDeleteResponse) ContentType ¶
func (r V2blobsDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V2blobsDeleteResponse) GetBody ¶
func (r V2blobsDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V2blobsDeleteResponse) Status ¶
func (r V2blobsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (V2blobsDeleteResponse) StatusCode ¶
func (r V2blobsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2blobsGetResponse ¶
func ParseV2blobsGetResponse ¶
func ParseV2blobsGetResponse(rsp *http.Response) (*V2blobsGetResponse, error)
ParseV2blobsGetResponse parses an HTTP response from a V2blobsGetWithResponse call
func (V2blobsGetResponse) ContentType ¶
func (r V2blobsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V2blobsGetResponse) GetBody ¶
func (r V2blobsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V2blobsGetResponse) Status ¶
func (r V2blobsGetResponse) Status() string
Status returns HTTPResponse.Status
func (V2blobsGetResponse) StatusCode ¶
func (r V2blobsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2blobsListParams ¶
type V2blobsListParams struct {
// Prefix If specified, only include blobs that start with this string
Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"`
}
V2blobsListParams defines parameters for V2blobsList.
type V2blobsListResponse ¶
type V2blobsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]struct {
Key string `json:"key"`
// LastModified Creation date of the object
LastModified *time.Time `json:"lastModified,omitempty"`
// Size Size in bytes of the object
Size *int `json:"size,omitempty"`
}
}
func ParseV2blobsListResponse ¶
func ParseV2blobsListResponse(rsp *http.Response) (*V2blobsListResponse, error)
ParseV2blobsListResponse parses an HTTP response from a V2blobsListWithResponse call
func (V2blobsListResponse) ContentType ¶
func (r V2blobsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V2blobsListResponse) GetBody ¶
func (r V2blobsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V2blobsListResponse) GetJSON200 ¶
func (r V2blobsListResponse) GetJSON200() *[]struct { Key string `json:"key"` // LastModified Creation date of the object LastModified *time.Time `json:"lastModified,omitempty"` // Size Size in bytes of the object Size *int `json:"size,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (V2blobsListResponse) Status ¶
func (r V2blobsListResponse) Status() string
Status returns HTTPResponse.Status
func (V2blobsListResponse) StatusCode ¶
func (r V2blobsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type V2blobsStoreJSONBody ¶
type V2blobsStoreJSONBody = openapi_types.File
V2blobsStoreJSONBody defines parameters for V2blobsStore.
type V2blobsStoreJSONRequestBody ¶
type V2blobsStoreJSONRequestBody = V2blobsStoreJSONBody
V2blobsStoreJSONRequestBody defines body for V2blobsStore for application/json ContentType.
type V2blobsStoreResponse ¶
type V2blobsStoreResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *string
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *struct {
Error string `json:"error"`
Message *string `json:"message,omitempty"`
}
}
func ParseV2blobsStoreResponse ¶
func ParseV2blobsStoreResponse(rsp *http.Response) (*V2blobsStoreResponse, error)
ParseV2blobsStoreResponse parses an HTTP response from a V2blobsStoreWithResponse call
func (V2blobsStoreResponse) ContentType ¶
func (r V2blobsStoreResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (V2blobsStoreResponse) GetBody ¶
func (r V2blobsStoreResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (V2blobsStoreResponse) GetJSON201 ¶
func (r V2blobsStoreResponse) GetJSON201() *string
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (V2blobsStoreResponse) GetJSON400 ¶
func (r V2blobsStoreResponse) GetJSON400() *struct { Error string `json:"error"` Message *string `json:"message,omitempty"` }
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (V2blobsStoreResponse) Status ¶
func (r V2blobsStoreResponse) Status() string
Status returns HTTPResponse.Status
func (V2blobsStoreResponse) StatusCode ¶
func (r V2blobsStoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Val ¶
type Val struct {
Author struct {
Id openapi_types.UUID `json:"id"`
Type Val_Author_Type `json:"type"`
Username *string `json:"username"`
} `json:"author"`
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description"`
// Id The id of the val
Id openapi_types.UUID `json:"id"`
ImageUrl *string `json:"imageUrl"`
Links struct {
// Html The URL of this resource on Val Town
Html string `json:"html"`
// Self The URL of this resource on this API
Self string `json:"self"`
} `json:"links"`
Name string `json:"name"`
// Privacy This resource's privacy setting. Unlisted resources do not appear on profile pages or elsewhere, but you can link to them.
Privacy ValPrivacy `json:"privacy"`
}
Val A Val
type ValAuthorType0 ¶
type ValAuthorType0 string
ValAuthorType0 defines model for Val.Author.Type.0.
const (
ValAuthorType0User ValAuthorType0 = "user"
)
Defines values for ValAuthorType0.
func (ValAuthorType0) Valid ¶
func (e ValAuthorType0) Valid() bool
Valid indicates whether the value is a known member of the ValAuthorType0 enum.
type ValAuthorType1 ¶
type ValAuthorType1 string
ValAuthorType1 defines model for Val.Author.Type.1.
const (
ValAuthorType1Org ValAuthorType1 = "org"
)
Defines values for ValAuthorType1.
func (ValAuthorType1) Valid ¶
func (e ValAuthorType1) Valid() bool
Valid indicates whether the value is a known member of the ValAuthorType1 enum.
type ValEnvironmentVariableGroupsAttachResponse ¶
type ValEnvironmentVariableGroupsAttachResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *interface{}
}
func ParseValEnvironmentVariableGroupsAttachResponse ¶
func ParseValEnvironmentVariableGroupsAttachResponse(rsp *http.Response) (*ValEnvironmentVariableGroupsAttachResponse, error)
ParseValEnvironmentVariableGroupsAttachResponse parses an HTTP response from a ValEnvironmentVariableGroupsAttachWithResponse call
func (ValEnvironmentVariableGroupsAttachResponse) ContentType ¶
func (r ValEnvironmentVariableGroupsAttachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValEnvironmentVariableGroupsAttachResponse) GetBody ¶
func (r ValEnvironmentVariableGroupsAttachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValEnvironmentVariableGroupsAttachResponse) GetJSON404 ¶
func (r ValEnvironmentVariableGroupsAttachResponse) GetJSON404() *interface{}
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ValEnvironmentVariableGroupsAttachResponse) Status ¶
func (r ValEnvironmentVariableGroupsAttachResponse) Status() string
Status returns HTTPResponse.Status
func (ValEnvironmentVariableGroupsAttachResponse) StatusCode ¶
func (r ValEnvironmentVariableGroupsAttachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValEnvironmentVariableGroupsDetachResponse ¶
type ValEnvironmentVariableGroupsDetachResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *interface{}
}
func ParseValEnvironmentVariableGroupsDetachResponse ¶
func ParseValEnvironmentVariableGroupsDetachResponse(rsp *http.Response) (*ValEnvironmentVariableGroupsDetachResponse, error)
ParseValEnvironmentVariableGroupsDetachResponse parses an HTTP response from a ValEnvironmentVariableGroupsDetachWithResponse call
func (ValEnvironmentVariableGroupsDetachResponse) ContentType ¶
func (r ValEnvironmentVariableGroupsDetachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValEnvironmentVariableGroupsDetachResponse) GetBody ¶
func (r ValEnvironmentVariableGroupsDetachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValEnvironmentVariableGroupsDetachResponse) GetJSON404 ¶
func (r ValEnvironmentVariableGroupsDetachResponse) GetJSON404() *interface{}
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ValEnvironmentVariableGroupsDetachResponse) Status ¶
func (r ValEnvironmentVariableGroupsDetachResponse) Status() string
Status returns HTTPResponse.Status
func (ValEnvironmentVariableGroupsDetachResponse) StatusCode ¶
func (r ValEnvironmentVariableGroupsDetachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValEnvironmentVariableGroupsListParams ¶
type ValEnvironmentVariableGroupsListParams struct {
// Offset Number of items to skip in order to deliver paginated results
Offset int `form:"offset" json:"offset"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
ValEnvironmentVariableGroupsListParams defines parameters for ValEnvironmentVariableGroupsList.
type ValEnvironmentVariableGroupsListResponse ¶
type ValEnvironmentVariableGroupsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []struct {
Count int `json:"count"`
CreatedAt time.Time `json:"createdAt"`
// Id The id of the group
Id openapi_types.UUID `json:"id"`
// Name Name of the environment variable group
Name string `json:"name"`
// OrgId The id of the group
OrgId openapi_types.UUID `json:"orgId"`
UpdatedAt *time.Time `json:"updatedAt"`
} `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseValEnvironmentVariableGroupsListResponse ¶
func ParseValEnvironmentVariableGroupsListResponse(rsp *http.Response) (*ValEnvironmentVariableGroupsListResponse, error)
ParseValEnvironmentVariableGroupsListResponse parses an HTTP response from a ValEnvironmentVariableGroupsListWithResponse call
func (ValEnvironmentVariableGroupsListResponse) ContentType ¶
func (r ValEnvironmentVariableGroupsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValEnvironmentVariableGroupsListResponse) GetBody ¶
func (r ValEnvironmentVariableGroupsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValEnvironmentVariableGroupsListResponse) GetJSON200 ¶
func (r ValEnvironmentVariableGroupsListResponse) GetJSON200() *struct { Data []struct { Count int `json:"count"` CreatedAt time.Time `json:"createdAt"` // Id The id of the group Id openapi_types.UUID `json:"id"` // Name Name of the environment variable group Name string `json:"name"` // OrgId The id of the group OrgId openapi_types.UUID `json:"orgId"` UpdatedAt *time.Time `json:"updatedAt"` } `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValEnvironmentVariableGroupsListResponse) Status ¶
func (r ValEnvironmentVariableGroupsListResponse) Status() string
Status returns HTTPResponse.Status
func (ValEnvironmentVariableGroupsListResponse) StatusCode ¶
func (r ValEnvironmentVariableGroupsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValEnvironmentVariablesCreateJSONBody ¶
type ValEnvironmentVariablesCreateJSONBody struct {
Description *string `json:"description,omitempty"`
// Key Name or key of the environment variable, accessible via Deno.env or process.env
Key string `json:"key"`
// Value Value of the environment variable.
Value string `json:"value"`
}
ValEnvironmentVariablesCreateJSONBody defines parameters for ValEnvironmentVariablesCreate.
type ValEnvironmentVariablesCreateJSONRequestBody ¶
type ValEnvironmentVariablesCreateJSONRequestBody ValEnvironmentVariablesCreateJSONBody
ValEnvironmentVariablesCreateJSONRequestBody defines body for ValEnvironmentVariablesCreate for application/json ContentType.
type ValEnvironmentVariablesCreateResponse ¶
type ValEnvironmentVariablesCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TEnvironmentVariable
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *interface{}
}
func ParseValEnvironmentVariablesCreateResponse ¶
func ParseValEnvironmentVariablesCreateResponse(rsp *http.Response) (*ValEnvironmentVariablesCreateResponse, error)
ParseValEnvironmentVariablesCreateResponse parses an HTTP response from a ValEnvironmentVariablesCreateWithResponse call
func (ValEnvironmentVariablesCreateResponse) ContentType ¶
func (r ValEnvironmentVariablesCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValEnvironmentVariablesCreateResponse) GetBody ¶
func (r ValEnvironmentVariablesCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValEnvironmentVariablesCreateResponse) GetJSON201 ¶
func (r ValEnvironmentVariablesCreateResponse) GetJSON201() *TEnvironmentVariable
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ValEnvironmentVariablesCreateResponse) GetJSON409 ¶
func (r ValEnvironmentVariablesCreateResponse) GetJSON409() *interface{}
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ValEnvironmentVariablesCreateResponse) Status ¶
func (r ValEnvironmentVariablesCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ValEnvironmentVariablesCreateResponse) StatusCode ¶
func (r ValEnvironmentVariablesCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValEnvironmentVariablesDeleteResponse ¶
type ValEnvironmentVariablesDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *interface{}
}
func ParseValEnvironmentVariablesDeleteResponse ¶
func ParseValEnvironmentVariablesDeleteResponse(rsp *http.Response) (*ValEnvironmentVariablesDeleteResponse, error)
ParseValEnvironmentVariablesDeleteResponse parses an HTTP response from a ValEnvironmentVariablesDeleteWithResponse call
func (ValEnvironmentVariablesDeleteResponse) ContentType ¶
func (r ValEnvironmentVariablesDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValEnvironmentVariablesDeleteResponse) GetBody ¶
func (r ValEnvironmentVariablesDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValEnvironmentVariablesDeleteResponse) GetJSON404 ¶
func (r ValEnvironmentVariablesDeleteResponse) GetJSON404() *interface{}
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ValEnvironmentVariablesDeleteResponse) Status ¶
func (r ValEnvironmentVariablesDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (ValEnvironmentVariablesDeleteResponse) StatusCode ¶
func (r ValEnvironmentVariablesDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValEnvironmentVariablesListParams ¶
type ValEnvironmentVariablesListParams struct {
// Offset Number of items to skip in order to deliver paginated results
Offset int `form:"offset" json:"offset"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
ValEnvironmentVariablesListParams defines parameters for ValEnvironmentVariablesList.
type ValEnvironmentVariablesListResponse ¶
type ValEnvironmentVariablesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []TEnvironmentVariable `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseValEnvironmentVariablesListResponse ¶
func ParseValEnvironmentVariablesListResponse(rsp *http.Response) (*ValEnvironmentVariablesListResponse, error)
ParseValEnvironmentVariablesListResponse parses an HTTP response from a ValEnvironmentVariablesListWithResponse call
func (ValEnvironmentVariablesListResponse) ContentType ¶
func (r ValEnvironmentVariablesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValEnvironmentVariablesListResponse) GetBody ¶
func (r ValEnvironmentVariablesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValEnvironmentVariablesListResponse) GetJSON200 ¶
func (r ValEnvironmentVariablesListResponse) GetJSON200() *struct { Data []TEnvironmentVariable `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValEnvironmentVariablesListResponse) Status ¶
func (r ValEnvironmentVariablesListResponse) Status() string
Status returns HTTPResponse.Status
func (ValEnvironmentVariablesListResponse) StatusCode ¶
func (r ValEnvironmentVariablesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValEnvironmentVariablesUpdateJSONBody ¶
type ValEnvironmentVariablesUpdateJSONBody struct {
Description *string `json:"description,omitempty"`
// Value Value of the environment variable.
Value string `json:"value"`
}
ValEnvironmentVariablesUpdateJSONBody defines parameters for ValEnvironmentVariablesUpdate.
type ValEnvironmentVariablesUpdateJSONRequestBody ¶
type ValEnvironmentVariablesUpdateJSONRequestBody ValEnvironmentVariablesUpdateJSONBody
ValEnvironmentVariablesUpdateJSONRequestBody defines body for ValEnvironmentVariablesUpdate for application/json ContentType.
type ValEnvironmentVariablesUpdateResponse ¶
type ValEnvironmentVariablesUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TEnvironmentVariable
}
func ParseValEnvironmentVariablesUpdateResponse ¶
func ParseValEnvironmentVariablesUpdateResponse(rsp *http.Response) (*ValEnvironmentVariablesUpdateResponse, error)
ParseValEnvironmentVariablesUpdateResponse parses an HTTP response from a ValEnvironmentVariablesUpdateWithResponse call
func (ValEnvironmentVariablesUpdateResponse) ContentType ¶
func (r ValEnvironmentVariablesUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValEnvironmentVariablesUpdateResponse) GetBody ¶
func (r ValEnvironmentVariablesUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValEnvironmentVariablesUpdateResponse) GetJSON201 ¶
func (r ValEnvironmentVariablesUpdateResponse) GetJSON201() *TEnvironmentVariable
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ValEnvironmentVariablesUpdateResponse) Status ¶
func (r ValEnvironmentVariablesUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ValEnvironmentVariablesUpdateResponse) StatusCode ¶
func (r ValEnvironmentVariablesUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValFilesGet2Params ¶
type ValFilesGet2Params struct {
// Version Specific branch version to query
Version *int `form:"version,omitempty" json:"version,omitempty"`
// BranchId Id to query
BranchId *openapi_types.UUID `form:"branch_id,omitempty" json:"branch_id,omitempty"`
// Path Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.
Path string `form:"path" json:"path"`
// Recursive Whether to recursively act on all files in the project
Recursive bool `form:"recursive" json:"recursive"`
// Offset Number of items to skip in order to deliver paginated results
Offset int `form:"offset" json:"offset"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
ValFilesGet2Params defines parameters for ValFilesGet2.
type ValFilesGet2Response ¶
type ValFilesGet2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []FileRevisionMetadataV2 `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseValFilesGet2Response ¶
func ParseValFilesGet2Response(rsp *http.Response) (*ValFilesGet2Response, error)
ParseValFilesGet2Response parses an HTTP response from a ValFilesGet2WithResponse call
func (ValFilesGet2Response) ContentType ¶
func (r ValFilesGet2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValFilesGet2Response) GetBody ¶
func (r ValFilesGet2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ValFilesGet2Response) GetJSON200 ¶
func (r ValFilesGet2Response) GetJSON200() *struct { Data []FileRevisionMetadataV2 `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValFilesGet2Response) Status ¶
func (r ValFilesGet2Response) Status() string
Status returns HTTPResponse.Status
func (ValFilesGet2Response) StatusCode ¶
func (r ValFilesGet2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValPrivacy ¶
type ValPrivacy string
ValPrivacy This resource's privacy setting. Unlisted resources do not appear on profile pages or elsewhere, but you can link to them.
const ( ValPrivacyPrivate ValPrivacy = "private" ValPrivacyPublic ValPrivacy = "public" ValPrivacyUnlisted ValPrivacy = "unlisted" )
Defines values for ValPrivacy.
func (ValPrivacy) Valid ¶
func (e ValPrivacy) Valid() bool
Valid indicates whether the value is a known member of the ValPrivacy enum.
type Val_Author_Type ¶
type Val_Author_Type struct {
// contains filtered or unexported fields
}
Val_Author_Type defines model for Val.Author.Type.
func (Val_Author_Type) AsValAuthorType0 ¶
func (t Val_Author_Type) AsValAuthorType0() (ValAuthorType0, error)
AsValAuthorType0 returns the union data inside the Val_Author_Type as a ValAuthorType0
func (Val_Author_Type) AsValAuthorType1 ¶
func (t Val_Author_Type) AsValAuthorType1() (ValAuthorType1, error)
AsValAuthorType1 returns the union data inside the Val_Author_Type as a ValAuthorType1
func (*Val_Author_Type) FromValAuthorType0 ¶
func (t *Val_Author_Type) FromValAuthorType0(v ValAuthorType0) error
FromValAuthorType0 overwrites any union data inside the Val_Author_Type as the provided ValAuthorType0
func (*Val_Author_Type) FromValAuthorType1 ¶
func (t *Val_Author_Type) FromValAuthorType1(v ValAuthorType1) error
FromValAuthorType1 overwrites any union data inside the Val_Author_Type as the provided ValAuthorType1
func (Val_Author_Type) MarshalJSON ¶
func (t Val_Author_Type) MarshalJSON() ([]byte, error)
func (*Val_Author_Type) MergeValAuthorType0 ¶
func (t *Val_Author_Type) MergeValAuthorType0(v ValAuthorType0) error
MergeValAuthorType0 performs a merge with any union data inside the Val_Author_Type, using the provided ValAuthorType0
func (*Val_Author_Type) MergeValAuthorType1 ¶
func (t *Val_Author_Type) MergeValAuthorType1(v ValAuthorType1) error
MergeValAuthorType1 performs a merge with any union data inside the Val_Author_Type, using the provided ValAuthorType1
func (*Val_Author_Type) UnmarshalJSON ¶
func (t *Val_Author_Type) UnmarshalJSON(b []byte) error
type ValsCreate2JSONBody ¶
type ValsCreate2JSONBody struct {
Description *string `json:"description,omitempty"`
// HttpPrivacy Who can access the val's HTTP endpoints. Restricted app access is only available to eligible team organizations. If omitted, eligible team organizations default to restricted and other organizations default to public.
HttpPrivacy *ValsCreate2JSONBodyHttpPrivacy `json:"httpPrivacy,omitempty"`
Name string `json:"name"`
// OrgId ID of the org to create the val in
OrgId *openapi_types.UUID `json:"orgId,omitempty"`
Privacy ValsCreate2JSONBodyPrivacy `json:"privacy"`
}
ValsCreate2JSONBody defines parameters for ValsCreate2.
type ValsCreate2JSONBodyHttpPrivacy ¶
type ValsCreate2JSONBodyHttpPrivacy string
ValsCreate2JSONBodyHttpPrivacy defines parameters for ValsCreate2.
const ( ValsCreate2JSONBodyHttpPrivacyPublic ValsCreate2JSONBodyHttpPrivacy = "public" ValsCreate2JSONBodyHttpPrivacyRestricted ValsCreate2JSONBodyHttpPrivacy = "restricted" )
Defines values for ValsCreate2JSONBodyHttpPrivacy.
func (ValsCreate2JSONBodyHttpPrivacy) Valid ¶
func (e ValsCreate2JSONBodyHttpPrivacy) Valid() bool
Valid indicates whether the value is a known member of the ValsCreate2JSONBodyHttpPrivacy enum.
type ValsCreate2JSONBodyPrivacy ¶
type ValsCreate2JSONBodyPrivacy string
ValsCreate2JSONBodyPrivacy defines parameters for ValsCreate2.
const ( ValsCreate2JSONBodyPrivacyPrivate ValsCreate2JSONBodyPrivacy = "private" ValsCreate2JSONBodyPrivacyPublic ValsCreate2JSONBodyPrivacy = "public" ValsCreate2JSONBodyPrivacyUnlisted ValsCreate2JSONBodyPrivacy = "unlisted" )
Defines values for ValsCreate2JSONBodyPrivacy.
func (ValsCreate2JSONBodyPrivacy) Valid ¶
func (e ValsCreate2JSONBodyPrivacy) Valid() bool
Valid indicates whether the value is a known member of the ValsCreate2JSONBodyPrivacy enum.
type ValsCreate2JSONRequestBody ¶
type ValsCreate2JSONRequestBody ValsCreate2JSONBody
ValsCreate2JSONRequestBody defines body for ValsCreate2 for application/json ContentType.
type ValsCreate2Response ¶
type ValsCreate2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Author struct {
Id openapi_types.UUID `json:"id"`
Type ValsCreate2201JSONResponseBody_Author_Type `json:"type"`
Username *string `json:"username"`
} `json:"author"`
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description"`
// HttpPrivacy Who can access the val's HTTP endpoints
HttpPrivacy ValsCreate2201JSONResponseBodyHttpPrivacy `json:"httpPrivacy"`
// Id The id of the val
Id openapi_types.UUID `json:"id"`
ImageUrl *string `json:"imageUrl"`
Links struct {
// Html The URL of this resource on Val Town
Html string `json:"html"`
// Self The URL of this resource on this API
Self string `json:"self"`
} `json:"links"`
Name string `json:"name"`
// Privacy This resource's privacy setting. Unlisted resources do not appear on profile pages or elsewhere, but you can link to them.
Privacy ValsCreate2201JSONResponseBodyPrivacy `json:"privacy"`
}
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *interface{}
}
func ParseValsCreate2Response ¶
func ParseValsCreate2Response(rsp *http.Response) (*ValsCreate2Response, error)
ParseValsCreate2Response parses an HTTP response from a ValsCreate2WithResponse call
func (ValsCreate2Response) ContentType ¶
func (r ValsCreate2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValsCreate2Response) GetBody ¶
func (r ValsCreate2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ValsCreate2Response) GetJSON201 ¶
func (r ValsCreate2Response) GetJSON201() *struct { Author struct { Id openapi_types.UUID `json:"id"` Type ValsCreate2201JSONResponseBody_Author_Type `json:"type"` Username *string `json:"username"` } `json:"author"` CreatedAt time.Time `json:"createdAt"` Description *string `json:"description"` // HttpPrivacy Who can access the val's HTTP endpoints HttpPrivacy ValsCreate2201JSONResponseBodyHttpPrivacy `json:"httpPrivacy"` // Id The id of the val Id openapi_types.UUID `json:"id"` ImageUrl *string `json:"imageUrl"` Links struct { // Html The URL of this resource on Val Town Html string `json:"html"` // Self The URL of this resource on this API Self string `json:"self"` } `json:"links"` Name string `json:"name"` // Privacy This resource's privacy setting. Unlisted resources do not appear on profile pages or elsewhere, but you can link to them. Privacy ValsCreate2201JSONResponseBodyPrivacy `json:"privacy"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ValsCreate2Response) GetJSON409 ¶
func (r ValsCreate2Response) GetJSON409() *interface{}
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ValsCreate2Response) Status ¶
func (r ValsCreate2Response) Status() string
Status returns HTTPResponse.Status
func (ValsCreate2Response) StatusCode ¶
func (r ValsCreate2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValsCreate2201JSONResponseBodyAuthorType0 ¶
type ValsCreate2201JSONResponseBodyAuthorType0 string
ValsCreate2201JSONResponseBodyAuthorType0 defines parameters for ValsCreate2.
const (
ValsCreate2201JSONResponseBodyAuthorType0User ValsCreate2201JSONResponseBodyAuthorType0 = "user"
)
Defines values for ValsCreate2201JSONResponseBodyAuthorType0.
func (ValsCreate2201JSONResponseBodyAuthorType0) Valid ¶
func (e ValsCreate2201JSONResponseBodyAuthorType0) Valid() bool
Valid indicates whether the value is a known member of the ValsCreate2201JSONResponseBodyAuthorType0 enum.
type ValsCreate2201JSONResponseBodyAuthorType1 ¶
type ValsCreate2201JSONResponseBodyAuthorType1 string
ValsCreate2201JSONResponseBodyAuthorType1 defines parameters for ValsCreate2.
const (
ValsCreate2201JSONResponseBodyAuthorType1Org ValsCreate2201JSONResponseBodyAuthorType1 = "org"
)
Defines values for ValsCreate2201JSONResponseBodyAuthorType1.
func (ValsCreate2201JSONResponseBodyAuthorType1) Valid ¶
func (e ValsCreate2201JSONResponseBodyAuthorType1) Valid() bool
Valid indicates whether the value is a known member of the ValsCreate2201JSONResponseBodyAuthorType1 enum.
type ValsCreate2201JSONResponseBodyHttpPrivacy ¶
type ValsCreate2201JSONResponseBodyHttpPrivacy string
ValsCreate2201JSONResponseBodyHttpPrivacy defines parameters for ValsCreate2.
const ( ValsCreate2201JSONResponseBodyHttpPrivacyPublic ValsCreate2201JSONResponseBodyHttpPrivacy = "public" ValsCreate2201JSONResponseBodyHttpPrivacyRestricted ValsCreate2201JSONResponseBodyHttpPrivacy = "restricted" )
Defines values for ValsCreate2201JSONResponseBodyHttpPrivacy.
func (ValsCreate2201JSONResponseBodyHttpPrivacy) Valid ¶
func (e ValsCreate2201JSONResponseBodyHttpPrivacy) Valid() bool
Valid indicates whether the value is a known member of the ValsCreate2201JSONResponseBodyHttpPrivacy enum.
type ValsCreate2201JSONResponseBodyPrivacy ¶
type ValsCreate2201JSONResponseBodyPrivacy string
ValsCreate2201JSONResponseBodyPrivacy defines parameters for ValsCreate2.
const ( ValsCreate2201JSONResponseBodyPrivacyPrivate ValsCreate2201JSONResponseBodyPrivacy = "private" ValsCreate2201JSONResponseBodyPrivacyPublic ValsCreate2201JSONResponseBodyPrivacy = "public" ValsCreate2201JSONResponseBodyPrivacyUnlisted ValsCreate2201JSONResponseBodyPrivacy = "unlisted" )
Defines values for ValsCreate2201JSONResponseBodyPrivacy.
func (ValsCreate2201JSONResponseBodyPrivacy) Valid ¶
func (e ValsCreate2201JSONResponseBodyPrivacy) Valid() bool
Valid indicates whether the value is a known member of the ValsCreate2201JSONResponseBodyPrivacy enum.
type ValsCreate2201JSONResponseBody_Author_Type ¶
type ValsCreate2201JSONResponseBody_Author_Type struct {
// contains filtered or unexported fields
}
ValsCreate2201JSONResponseBody_Author_Type defines parameters for ValsCreate2.
func (ValsCreate2201JSONResponseBody_Author_Type) AsValsCreate2201JSONResponseBodyAuthorType0 ¶
func (t ValsCreate2201JSONResponseBody_Author_Type) AsValsCreate2201JSONResponseBodyAuthorType0() (ValsCreate2201JSONResponseBodyAuthorType0, error)
AsValsCreate2201JSONResponseBodyAuthorType0 returns the union data inside the ValsCreate2201JSONResponseBody_Author_Type as a ValsCreate2201JSONResponseBodyAuthorType0
func (ValsCreate2201JSONResponseBody_Author_Type) AsValsCreate2201JSONResponseBodyAuthorType1 ¶
func (t ValsCreate2201JSONResponseBody_Author_Type) AsValsCreate2201JSONResponseBodyAuthorType1() (ValsCreate2201JSONResponseBodyAuthorType1, error)
AsValsCreate2201JSONResponseBodyAuthorType1 returns the union data inside the ValsCreate2201JSONResponseBody_Author_Type as a ValsCreate2201JSONResponseBodyAuthorType1
func (*ValsCreate2201JSONResponseBody_Author_Type) FromValsCreate2201JSONResponseBodyAuthorType0 ¶
func (t *ValsCreate2201JSONResponseBody_Author_Type) FromValsCreate2201JSONResponseBodyAuthorType0(v ValsCreate2201JSONResponseBodyAuthorType0) error
FromValsCreate2201JSONResponseBodyAuthorType0 overwrites any union data inside the ValsCreate2201JSONResponseBody_Author_Type as the provided ValsCreate2201JSONResponseBodyAuthorType0
func (*ValsCreate2201JSONResponseBody_Author_Type) FromValsCreate2201JSONResponseBodyAuthorType1 ¶
func (t *ValsCreate2201JSONResponseBody_Author_Type) FromValsCreate2201JSONResponseBodyAuthorType1(v ValsCreate2201JSONResponseBodyAuthorType1) error
FromValsCreate2201JSONResponseBodyAuthorType1 overwrites any union data inside the ValsCreate2201JSONResponseBody_Author_Type as the provided ValsCreate2201JSONResponseBodyAuthorType1
func (ValsCreate2201JSONResponseBody_Author_Type) MarshalJSON ¶
func (t ValsCreate2201JSONResponseBody_Author_Type) MarshalJSON() ([]byte, error)
func (*ValsCreate2201JSONResponseBody_Author_Type) MergeValsCreate2201JSONResponseBodyAuthorType0 ¶
func (t *ValsCreate2201JSONResponseBody_Author_Type) MergeValsCreate2201JSONResponseBodyAuthorType0(v ValsCreate2201JSONResponseBodyAuthorType0) error
MergeValsCreate2201JSONResponseBodyAuthorType0 performs a merge with any union data inside the ValsCreate2201JSONResponseBody_Author_Type, using the provided ValsCreate2201JSONResponseBodyAuthorType0
func (*ValsCreate2201JSONResponseBody_Author_Type) MergeValsCreate2201JSONResponseBodyAuthorType1 ¶
func (t *ValsCreate2201JSONResponseBody_Author_Type) MergeValsCreate2201JSONResponseBodyAuthorType1(v ValsCreate2201JSONResponseBodyAuthorType1) error
MergeValsCreate2201JSONResponseBodyAuthorType1 performs a merge with any union data inside the ValsCreate2201JSONResponseBody_Author_Type, using the provided ValsCreate2201JSONResponseBodyAuthorType1
func (*ValsCreate2201JSONResponseBody_Author_Type) UnmarshalJSON ¶
func (t *ValsCreate2201JSONResponseBody_Author_Type) UnmarshalJSON(b []byte) error
type ValsGet2Response ¶
type ValsGet2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Val
}
func ParseValsGet2Response ¶
func ParseValsGet2Response(rsp *http.Response) (*ValsGet2Response, error)
ParseValsGet2Response parses an HTTP response from a ValsGet2WithResponse call
func (ValsGet2Response) ContentType ¶
func (r ValsGet2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValsGet2Response) GetBody ¶
func (r ValsGet2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ValsGet2Response) GetJSON200 ¶
func (r ValsGet2Response) GetJSON200() *Val
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValsGet2Response) Status ¶
func (r ValsGet2Response) Status() string
Status returns HTTPResponse.Status
func (ValsGet2Response) StatusCode ¶
func (r ValsGet2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValsList2Params ¶
type ValsList2Params struct {
// Privacy This resource's privacy setting. Unlisted resources do not appear on profile pages or elsewhere, but you can link to them.
Privacy *ValsList2ParamsPrivacy `form:"privacy,omitempty" json:"privacy,omitempty"`
// UserId User ID to filter by
UserId *openapi_types.UUID `form:"user_id,omitempty" json:"user_id,omitempty"`
// Cursor Cursor to start the pagination from
Cursor *time.Time `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum items to return in each paginated response
Limit int `form:"limit" json:"limit"`
}
ValsList2Params defines parameters for ValsList2.
type ValsList2ParamsPrivacy ¶
type ValsList2ParamsPrivacy string
ValsList2ParamsPrivacy defines parameters for ValsList2.
const ( ValsList2ParamsPrivacyPrivate ValsList2ParamsPrivacy = "private" ValsList2ParamsPrivacyPublic ValsList2ParamsPrivacy = "public" ValsList2ParamsPrivacyUnlisted ValsList2ParamsPrivacy = "unlisted" )
Defines values for ValsList2ParamsPrivacy.
func (ValsList2ParamsPrivacy) Valid ¶
func (e ValsList2ParamsPrivacy) Valid() bool
Valid indicates whether the value is a known member of the ValsList2ParamsPrivacy enum.
type ValsList2Response ¶
type ValsList2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data []Val `json:"data"`
// Links Links to use for pagination
Links PaginationLinks `json:"links"`
}
}
func ParseValsList2Response ¶
func ParseValsList2Response(rsp *http.Response) (*ValsList2Response, error)
ParseValsList2Response parses an HTTP response from a ValsList2WithResponse call
func (ValsList2Response) ContentType ¶
func (r ValsList2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValsList2Response) GetBody ¶
func (r ValsList2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ValsList2Response) GetJSON200 ¶
func (r ValsList2Response) GetJSON200() *struct { Data []Val `json:"data"` // Links Links to use for pagination Links PaginationLinks `json:"links"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValsList2Response) Status ¶
func (r ValsList2Response) Status() string
Status returns HTTPResponse.Status
func (ValsList2Response) StatusCode ¶
func (r ValsList2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode