Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- Variables
- func NewBackfillScheduleRequest(server string, orgName string, appName string, scheduleName string, ...) (*http.Request, error)
- func NewBackfillScheduleRequestWithBody(server string, orgName string, appName string, scheduleName string, ...) (*http.Request, error)
- func NewBulkCancelWorkflowsRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewBulkCancelWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewBulkDeleteWorkflowsRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewBulkDeleteWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewBulkForkWorkflowsFromFailureRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewBulkForkWorkflowsFromFailureRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewBulkResumeWorkflowsRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewBulkResumeWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewCancelWorkflowRequest(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewCancelWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewCreateAlertingRuleRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewCreateAlertingRuleRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewCreateRoleRequest(server string, orgName string, body CreateRoleJSONRequestBody) (*http.Request, error)
- func NewCreateRoleRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTokenRequest(server string, orgName string, tokenName string, ...) (*http.Request, error)
- func NewCreateTokenRequestWithBody(server string, orgName string, tokenName string, contentType string, ...) (*http.Request, error)
- func NewDeleteAlertingRuleRequest(server string, orgName string, appName string, ruleId string) (*http.Request, error)
- func NewDeleteAppRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewDeleteAutoscalingPolicyRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewDeleteRoleRequest(server string, orgName string, roleName string) (*http.Request, error)
- func NewDeleteTokenRequest(server string, orgName string, tokenName string) (*http.Request, error)
- func NewDeleteWorkflowRequest(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewExportWorkflowRequest(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewForkWorkflowRequest(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewForkWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewGenerateSecretRequest(server string, orgName string) (*http.Request, error)
- func NewGetAppRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewGetAutoscaleRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewGetAutoscalingPolicyRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewGetCurrentUserRequest(server string) (*http.Request, error)
- func NewGetOrgRequest(server string, orgName string) (*http.Request, error)
- func NewGetQueueRequest(server string, orgName string, appName string, queueName string) (*http.Request, error)
- func NewGetScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
- func NewGetStepAggregatesRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewGetStepAggregatesRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewGetWorkflowAggregatesRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewGetWorkflowAggregatesRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewGetWorkflowRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
- func NewGrantRoleRequest(server string, orgName string, username string, roleName string) (*http.Request, error)
- func NewImportWorkflowRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewImportWorkflowRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewJoinOrgRequest(server string, orgName string, body JoinOrgJSONRequestBody) (*http.Request, error)
- func NewJoinOrgRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)
- func NewListAlertingRulesRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewListAppVersionsRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewListAppsRequest(server string, orgName string) (*http.Request, error)
- func NewListAuditLogsRequest(server string, orgName string, params *ListAuditLogsParams) (*http.Request, error)
- func NewListDomainClaimsRequest(server string, orgName string) (*http.Request, error)
- func NewListExecutorsRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewListMembersRequest(server string, orgName string) (*http.Request, error)
- func NewListMetricsRequest(server string, orgName string, appName string, params *ListMetricsParams) (*http.Request, error)
- func NewListPermissionsRequest(server string, orgName string) (*http.Request, error)
- func NewListQueuesRequest(server string, orgName string, appName string) (*http.Request, error)
- func NewListRolesRequest(server string, orgName string) (*http.Request, error)
- func NewListSchedulesRequest(server string, orgName string, appName string, params *ListSchedulesParams) (*http.Request, error)
- func NewListTokensRequest(server string, orgName string) (*http.Request, error)
- func NewListWorkflowEventsRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
- func NewListWorkflowNotificationsRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
- func NewListWorkflowStepsRequest(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewListWorkflowStreamsRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
- func NewListWorkflowsRequest(server string, orgName string, appName string, params *ListWorkflowsParams) (*http.Request, error)
- func NewPauseScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
- func NewRegisterAppRequest(server string, orgName string, appName string, body RegisterAppJSONRequestBody) (*http.Request, error)
- func NewRegisterAppRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewRegisterUserRequest(server string, body RegisterUserJSONRequestBody) (*http.Request, error)
- func NewRegisterUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewReleaseDomainClaimRequest(server string, orgName string, domain string) (*http.Request, error)
- func NewRemoveMemberRequest(server string, orgName string, username string) (*http.Request, error)
- func NewRequestDomainClaimRequest(server string, orgName string, body RequestDomainClaimJSONRequestBody) (*http.Request, error)
- func NewRequestDomainClaimRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)
- func NewResumeScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
- func NewResumeWorkflowRequest(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewResumeWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, ...) (*http.Request, error)
- func NewSearchWorkflowsRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewSearchWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewSetAutoscalingPolicyRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewSetAutoscalingPolicyRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewSetLatestAppVersionRequest(server string, orgName string, appName string, ...) (*http.Request, error)
- func NewSetLatestAppVersionRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewTriggerScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
- func NewUpdateAppRequest(server string, orgName string, appName string, body UpdateAppJSONRequestBody) (*http.Request, error)
- func NewUpdateAppRequestWithBody(server string, orgName string, appName string, contentType string, ...) (*http.Request, error)
- func NewUpdateOrgRequest(server string, orgName string, body UpdateOrgJSONRequestBody) (*http.Request, error)
- func NewUpdateOrgRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)
- type AlertingRule
- type AlertingRuleRuleType
- type Application
- type ApplicationStatus
- type ApplicationVersion
- type AuditLogEntry
- type AuditLogEntryStatus
- type AuditSubject
- type AuditSubjectType
- type AuditTarget
- type AuditTargetType
- type AutoscalePolicy
- type BackfillInputBody
- type BackfillOutputBody
- type BackfillScheduleJSONRequestBody
- type BackfillScheduleResponse
- func (r BackfillScheduleResponse) ContentType() string
- func (r BackfillScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r BackfillScheduleResponse) GetBody() []byte
- func (r BackfillScheduleResponse) GetJSON200() *BackfillOutputBody
- func (r BackfillScheduleResponse) Status() string
- func (r BackfillScheduleResponse) StatusCode() int
- type BulkCancelInputBody
- type BulkCancelWorkflowsJSONRequestBody
- type BulkCancelWorkflowsResponse
- func (r BulkCancelWorkflowsResponse) ContentType() string
- func (r BulkCancelWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r BulkCancelWorkflowsResponse) GetBody() []byte
- func (r BulkCancelWorkflowsResponse) Status() string
- func (r BulkCancelWorkflowsResponse) StatusCode() int
- type BulkDeleteInputBody
- type BulkDeleteWorkflowsJSONRequestBody
- type BulkDeleteWorkflowsResponse
- func (r BulkDeleteWorkflowsResponse) ContentType() string
- func (r BulkDeleteWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r BulkDeleteWorkflowsResponse) GetBody() []byte
- func (r BulkDeleteWorkflowsResponse) Status() string
- func (r BulkDeleteWorkflowsResponse) StatusCode() int
- type BulkForkFromFailureBody
- type BulkForkFromFailureOutputBody
- type BulkForkWorkflowsFromFailureJSONRequestBody
- type BulkForkWorkflowsFromFailureResponse
- func (r BulkForkWorkflowsFromFailureResponse) ContentType() string
- func (r BulkForkWorkflowsFromFailureResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r BulkForkWorkflowsFromFailureResponse) GetBody() []byte
- func (r BulkForkWorkflowsFromFailureResponse) GetJSON200() *BulkForkFromFailureOutputBody
- func (r BulkForkWorkflowsFromFailureResponse) Status() string
- func (r BulkForkWorkflowsFromFailureResponse) StatusCode() int
- type BulkResumeInputBody
- type BulkResumeWorkflowsJSONRequestBody
- type BulkResumeWorkflowsResponse
- func (r BulkResumeWorkflowsResponse) ContentType() string
- func (r BulkResumeWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r BulkResumeWorkflowsResponse) GetBody() []byte
- func (r BulkResumeWorkflowsResponse) Status() string
- func (r BulkResumeWorkflowsResponse) StatusCode() int
- type CancelWorkflowInputBody
- type CancelWorkflowJSONRequestBody
- type CancelWorkflowResponse
- type Client
- func (c *Client) BackfillSchedule(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*http.Response, error)
- func (c *Client) BackfillScheduleWithBody(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*http.Response, error)
- func (c *Client) BulkCancelWorkflows(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) BulkCancelWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) BulkDeleteWorkflows(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) BulkDeleteWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) BulkForkWorkflowsFromFailure(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) BulkForkWorkflowsFromFailureWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) BulkResumeWorkflows(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) BulkResumeWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) CancelWorkflow(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) CancelWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) CreateAlertingRule(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) CreateAlertingRuleWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateRole(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRoleWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateToken(ctx context.Context, orgName string, tokenName string, ...) (*http.Response, error)
- func (c *Client) CreateTokenWithBody(ctx context.Context, orgName string, tokenName string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteAlertingRule(ctx context.Context, orgName string, appName string, ruleId string, ...) (*http.Response, error)
- func (c *Client) DeleteApp(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) DeleteAutoscalingPolicy(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) DeleteRole(ctx context.Context, orgName string, roleName string, ...) (*http.Response, error)
- func (c *Client) DeleteToken(ctx context.Context, orgName string, tokenName string, ...) (*http.Response, error)
- func (c *Client) DeleteWorkflow(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ExportWorkflow(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ForkWorkflow(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ForkWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) GenerateSecret(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApp(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) GetAutoscale(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) GetAutoscalingPolicy(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrg(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetQueue(ctx context.Context, orgName string, appName string, queueName string, ...) (*http.Response, error)
- func (c *Client) GetSchedule(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*http.Response, error)
- func (c *Client) GetStepAggregates(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) GetStepAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) GetWorkflow(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) GetWorkflowAggregates(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) GetWorkflowAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) GrantRole(ctx context.Context, orgName string, username string, roleName string, ...) (*http.Response, error)
- func (c *Client) ImportWorkflow(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) ImportWorkflowWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) JoinOrg(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) JoinOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ListAlertingRules(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) ListAppVersions(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) ListApps(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAuditLogs(ctx context.Context, orgName string, params *ListAuditLogsParams, ...) (*http.Response, error)
- func (c *Client) ListDomainClaims(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListExecutors(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) ListMembers(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMetrics(ctx context.Context, orgName string, appName string, params *ListMetricsParams, ...) (*http.Response, error)
- func (c *Client) ListPermissions(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListQueues(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) ListRoles(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSchedules(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) ListTokens(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListWorkflowEvents(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ListWorkflowNotifications(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ListWorkflowSteps(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ListWorkflowStreams(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ListWorkflows(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) PauseSchedule(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*http.Response, error)
- func (c *Client) RegisterApp(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) RegisterAppWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) RegisterUser(ctx context.Context, body RegisterUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RegisterUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReleaseDomainClaim(ctx context.Context, orgName string, domain string, ...) (*http.Response, error)
- func (c *Client) RemoveMember(ctx context.Context, orgName string, username string, ...) (*http.Response, error)
- func (c *Client) RequestDomainClaim(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RequestDomainClaimWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResumeSchedule(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*http.Response, error)
- func (c *Client) ResumeWorkflow(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) ResumeWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, ...) (*http.Response, error)
- func (c *Client) SearchWorkflows(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) SearchWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) SetAutoscalingPolicy(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) SetAutoscalingPolicyWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) SetLatestAppVersion(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) SetLatestAppVersionWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) TriggerSchedule(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*http.Response, error)
- func (c *Client) UpdateApp(ctx context.Context, orgName string, appName string, ...) (*http.Response, error)
- func (c *Client) UpdateAppWithBody(ctx context.Context, orgName string, appName string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateOrg(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) BackfillScheduleWithBodyWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*BackfillScheduleResponse, error)
- func (c *ClientWithResponses) BackfillScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*BackfillScheduleResponse, error)
- func (c *ClientWithResponses) BulkCancelWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*BulkCancelWorkflowsResponse, error)
- func (c *ClientWithResponses) BulkCancelWorkflowsWithResponse(ctx context.Context, orgName string, appName string, ...) (*BulkCancelWorkflowsResponse, error)
- func (c *ClientWithResponses) BulkDeleteWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*BulkDeleteWorkflowsResponse, error)
- func (c *ClientWithResponses) BulkDeleteWorkflowsWithResponse(ctx context.Context, orgName string, appName string, ...) (*BulkDeleteWorkflowsResponse, error)
- func (c *ClientWithResponses) BulkForkWorkflowsFromFailureWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*BulkForkWorkflowsFromFailureResponse, error)
- func (c *ClientWithResponses) BulkForkWorkflowsFromFailureWithResponse(ctx context.Context, orgName string, appName string, ...) (*BulkForkWorkflowsFromFailureResponse, error)
- func (c *ClientWithResponses) BulkResumeWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*BulkResumeWorkflowsResponse, error)
- func (c *ClientWithResponses) BulkResumeWorkflowsWithResponse(ctx context.Context, orgName string, appName string, ...) (*BulkResumeWorkflowsResponse, error)
- func (c *ClientWithResponses) CancelWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*CancelWorkflowResponse, error)
- func (c *ClientWithResponses) CancelWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*CancelWorkflowResponse, error)
- func (c *ClientWithResponses) CreateAlertingRuleWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*CreateAlertingRuleResponse, error)
- func (c *ClientWithResponses) CreateAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, ...) (*CreateAlertingRuleResponse, error)
- func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*CreateRoleResponse, error)
- func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, ...) (*CreateRoleResponse, error)
- func (c *ClientWithResponses) CreateTokenWithBodyWithResponse(ctx context.Context, orgName string, tokenName string, contentType string, ...) (*CreateTokenResponse, error)
- func (c *ClientWithResponses) CreateTokenWithResponse(ctx context.Context, orgName string, tokenName string, ...) (*CreateTokenResponse, error)
- func (c *ClientWithResponses) DeleteAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, ruleId string, ...) (*DeleteAlertingRuleResponse, error)
- func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, orgName string, appName string, ...) (*DeleteAppResponse, error)
- func (c *ClientWithResponses) DeleteAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, ...) (*DeleteAutoscalingPolicyResponse, error)
- func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, orgName string, roleName string, ...) (*DeleteRoleResponse, error)
- func (c *ClientWithResponses) DeleteTokenWithResponse(ctx context.Context, orgName string, tokenName string, ...) (*DeleteTokenResponse, error)
- func (c *ClientWithResponses) DeleteWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*DeleteWorkflowResponse, error)
- func (c *ClientWithResponses) ExportWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ExportWorkflowResponse, error)
- func (c *ClientWithResponses) ForkWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ForkWorkflowResponse, error)
- func (c *ClientWithResponses) ForkWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ForkWorkflowResponse, error)
- func (c *ClientWithResponses) GenerateSecretWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GenerateSecretResponse, error)
- func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, orgName string, appName string, ...) (*GetAppResponse, error)
- func (c *ClientWithResponses) GetAutoscaleWithResponse(ctx context.Context, orgName string, appName string, ...) (*GetAutoscaleResponse, error)
- func (c *ClientWithResponses) GetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, ...) (*GetAutoscalingPolicyResponse, error)
- func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
- func (c *ClientWithResponses) GetOrgWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)
- func (c *ClientWithResponses) GetQueueWithResponse(ctx context.Context, orgName string, appName string, queueName string, ...) (*GetQueueResponse, error)
- func (c *ClientWithResponses) GetScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*GetScheduleResponse, error)
- func (c *ClientWithResponses) GetStepAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*GetStepAggregatesResponse, error)
- func (c *ClientWithResponses) GetStepAggregatesWithResponse(ctx context.Context, orgName string, appName string, ...) (*GetStepAggregatesResponse, error)
- func (c *ClientWithResponses) GetWorkflowAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*GetWorkflowAggregatesResponse, error)
- func (c *ClientWithResponses) GetWorkflowAggregatesWithResponse(ctx context.Context, orgName string, appName string, ...) (*GetWorkflowAggregatesResponse, error)
- func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*GetWorkflowResponse, error)
- func (c *ClientWithResponses) GrantRoleWithResponse(ctx context.Context, orgName string, username string, roleName string, ...) (*GrantRoleResponse, error)
- func (c *ClientWithResponses) ImportWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*ImportWorkflowResponse, error)
- func (c *ClientWithResponses) ImportWorkflowWithResponse(ctx context.Context, orgName string, appName string, ...) (*ImportWorkflowResponse, error)
- func (c *ClientWithResponses) JoinOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*JoinOrgResponse, error)
- func (c *ClientWithResponses) JoinOrgWithResponse(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, ...) (*JoinOrgResponse, error)
- func (c *ClientWithResponses) ListAlertingRulesWithResponse(ctx context.Context, orgName string, appName string, ...) (*ListAlertingRulesResponse, error)
- func (c *ClientWithResponses) ListAppVersionsWithResponse(ctx context.Context, orgName string, appName string, ...) (*ListAppVersionsResponse, error)
- func (c *ClientWithResponses) ListAppsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)
- func (c *ClientWithResponses) ListAuditLogsWithResponse(ctx context.Context, orgName string, params *ListAuditLogsParams, ...) (*ListAuditLogsResponse, error)
- func (c *ClientWithResponses) ListDomainClaimsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListDomainClaimsResponse, error)
- func (c *ClientWithResponses) ListExecutorsWithResponse(ctx context.Context, orgName string, appName string, ...) (*ListExecutorsResponse, error)
- func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
- func (c *ClientWithResponses) ListMetricsWithResponse(ctx context.Context, orgName string, appName string, params *ListMetricsParams, ...) (*ListMetricsResponse, error)
- func (c *ClientWithResponses) ListPermissionsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListPermissionsResponse, error)
- func (c *ClientWithResponses) ListQueuesWithResponse(ctx context.Context, orgName string, appName string, ...) (*ListQueuesResponse, error)
- func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
- func (c *ClientWithResponses) ListSchedulesWithResponse(ctx context.Context, orgName string, appName string, ...) (*ListSchedulesResponse, error)
- func (c *ClientWithResponses) ListTokensWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListTokensResponse, error)
- func (c *ClientWithResponses) ListWorkflowEventsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ListWorkflowEventsResponse, error)
- func (c *ClientWithResponses) ListWorkflowNotificationsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ListWorkflowNotificationsResponse, error)
- func (c *ClientWithResponses) ListWorkflowStepsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ListWorkflowStepsResponse, error)
- func (c *ClientWithResponses) ListWorkflowStreamsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ListWorkflowStreamsResponse, error)
- func (c *ClientWithResponses) ListWorkflowsWithResponse(ctx context.Context, orgName string, appName string, ...) (*ListWorkflowsResponse, error)
- func (c *ClientWithResponses) PauseScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*PauseScheduleResponse, error)
- func (c *ClientWithResponses) RegisterAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*RegisterAppResponse, error)
- func (c *ClientWithResponses) RegisterAppWithResponse(ctx context.Context, orgName string, appName string, ...) (*RegisterAppResponse, error)
- func (c *ClientWithResponses) RegisterUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RegisterUserResponse, error)
- func (c *ClientWithResponses) RegisterUserWithResponse(ctx context.Context, body RegisterUserJSONRequestBody, ...) (*RegisterUserResponse, error)
- func (c *ClientWithResponses) ReleaseDomainClaimWithResponse(ctx context.Context, orgName string, domain string, ...) (*ReleaseDomainClaimResponse, error)
- func (c *ClientWithResponses) RemoveMemberWithResponse(ctx context.Context, orgName string, username string, ...) (*RemoveMemberResponse, error)
- func (c *ClientWithResponses) RequestDomainClaimWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*RequestDomainClaimResponse, error)
- func (c *ClientWithResponses) RequestDomainClaimWithResponse(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, ...) (*RequestDomainClaimResponse, error)
- func (c *ClientWithResponses) ResumeScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*ResumeScheduleResponse, error)
- func (c *ClientWithResponses) ResumeWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ResumeWorkflowResponse, error)
- func (c *ClientWithResponses) ResumeWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, ...) (*ResumeWorkflowResponse, error)
- func (c *ClientWithResponses) SearchWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*SearchWorkflowsResponse, error)
- func (c *ClientWithResponses) SearchWorkflowsWithResponse(ctx context.Context, orgName string, appName string, ...) (*SearchWorkflowsResponse, error)
- func (c *ClientWithResponses) SetAutoscalingPolicyWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*SetAutoscalingPolicyResponse, error)
- func (c *ClientWithResponses) SetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, ...) (*SetAutoscalingPolicyResponse, error)
- func (c *ClientWithResponses) SetLatestAppVersionWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*SetLatestAppVersionResponse, error)
- func (c *ClientWithResponses) SetLatestAppVersionWithResponse(ctx context.Context, orgName string, appName string, ...) (*SetLatestAppVersionResponse, error)
- func (c *ClientWithResponses) TriggerScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, ...) (*TriggerScheduleResponse, error)
- func (c *ClientWithResponses) UpdateAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, ...) (*UpdateAppResponse, error)
- func (c *ClientWithResponses) UpdateAppWithResponse(ctx context.Context, orgName string, appName string, ...) (*UpdateAppResponse, error)
- func (c *ClientWithResponses) UpdateOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, ...) (*UpdateOrgResponse, error)
- func (c *ClientWithResponses) UpdateOrgWithResponse(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, ...) (*UpdateOrgResponse, error)
- type ClientWithResponsesInterface
- type CreateAlertInputBody
- type CreateAlertInputBodyRuleType
- type CreateAlertingRuleJSONRequestBody
- type CreateAlertingRuleResponse
- func (r CreateAlertingRuleResponse) ContentType() string
- func (r CreateAlertingRuleResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r CreateAlertingRuleResponse) GetBody() []byte
- func (r CreateAlertingRuleResponse) GetJSON201() *AlertingRule
- func (r CreateAlertingRuleResponse) Status() string
- func (r CreateAlertingRuleResponse) StatusCode() int
- type CreateRoleInputBody
- type CreateRoleJSONRequestBody
- type CreateRoleOutputBody
- type CreateRoleResponse
- func (r CreateRoleResponse) ContentType() string
- func (r CreateRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r CreateRoleResponse) GetBody() []byte
- func (r CreateRoleResponse) GetJSON201() *CreateRoleOutputBody
- func (r CreateRoleResponse) Status() string
- func (r CreateRoleResponse) StatusCode() int
- type CreateRoleResponse201Headers
- type CreateTokenInputBody
- type CreateTokenJSONRequestBody
- type CreateTokenResponse
- func (r CreateTokenResponse) ContentType() string
- func (r CreateTokenResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r CreateTokenResponse) GetBody() []byte
- func (r CreateTokenResponse) GetJSON201() *TokenCreated
- func (r CreateTokenResponse) Status() string
- func (r CreateTokenResponse) StatusCode() int
- type DeleteAlertingRuleResponse
- type DeleteAppResponse
- type DeleteAutoscalingPolicyResponse
- func (r DeleteAutoscalingPolicyResponse) ContentType() string
- func (r DeleteAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DeleteAutoscalingPolicyResponse) GetBody() []byte
- func (r DeleteAutoscalingPolicyResponse) Status() string
- func (r DeleteAutoscalingPolicyResponse) StatusCode() int
- type DeleteRoleResponse
- type DeleteTokenResponse
- type DeleteWorkflowParams
- type DeleteWorkflowResponse
- type DomainClaim
- type DomainClaimStatus
- type ErrorDetail
- type ErrorModel
- type Event
- type Executor
- type ExecutorStatus
- type ExportWorkflowOutputBody
- type ExportWorkflowParams
- type ExportWorkflowResponse
- func (r ExportWorkflowResponse) ContentType() string
- func (r ExportWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ExportWorkflowResponse) GetBody() []byte
- func (r ExportWorkflowResponse) GetJSON200() *ExportWorkflowOutputBody
- func (r ExportWorkflowResponse) Status() string
- func (r ExportWorkflowResponse) StatusCode() int
- type ForkWorkflowInputBody
- type ForkWorkflowJSONRequestBody
- type ForkWorkflowOutputBody
- type ForkWorkflowResponse
- func (r ForkWorkflowResponse) ContentType() string
- func (r ForkWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ForkWorkflowResponse) GetBody() []byte
- func (r ForkWorkflowResponse) GetJSON201() *ForkWorkflowOutputBody
- func (r ForkWorkflowResponse) Status() string
- func (r ForkWorkflowResponse) StatusCode() int
- type ForkWorkflowResponse201Headers
- type GenerateSecretOutputBody
- type GenerateSecretResponse
- func (r GenerateSecretResponse) ContentType() string
- func (r GenerateSecretResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GenerateSecretResponse) GetBody() []byte
- func (r GenerateSecretResponse) GetJSON201() *GenerateSecretOutputBody
- func (r GenerateSecretResponse) Status() string
- func (r GenerateSecretResponse) StatusCode() int
- type GetAppResponse
- type GetAutoscaleResponse
- func (r GetAutoscaleResponse) ContentType() string
- func (r GetAutoscaleResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GetAutoscaleResponse) GetBody() []byte
- func (r GetAutoscaleResponse) GetJSON200() *[]QueueAutoscale
- func (r GetAutoscaleResponse) Status() string
- func (r GetAutoscaleResponse) StatusCode() int
- type GetAutoscalingPolicyResponse
- func (r GetAutoscalingPolicyResponse) ContentType() string
- func (r GetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GetAutoscalingPolicyResponse) GetBody() []byte
- func (r GetAutoscalingPolicyResponse) GetJSON200() *PolicyOutputBody
- func (r GetAutoscalingPolicyResponse) Status() string
- func (r GetAutoscalingPolicyResponse) StatusCode() int
- type GetCurrentUserResponse
- func (r GetCurrentUserResponse) ContentType() string
- func (r GetCurrentUserResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GetCurrentUserResponse) GetBody() []byte
- func (r GetCurrentUserResponse) GetJSON200() *UserProfile
- func (r GetCurrentUserResponse) Status() string
- func (r GetCurrentUserResponse) StatusCode() int
- type GetOrgResponse
- type GetQueueResponse
- type GetScheduleResponse
- func (r GetScheduleResponse) ContentType() string
- func (r GetScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GetScheduleResponse) GetBody() []byte
- func (r GetScheduleResponse) GetJSON200() *Schedule
- func (r GetScheduleResponse) Status() string
- func (r GetScheduleResponse) StatusCode() int
- type GetStepAggregatesJSONRequestBody
- type GetStepAggregatesResponse
- func (r GetStepAggregatesResponse) ContentType() string
- func (r GetStepAggregatesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GetStepAggregatesResponse) GetBody() []byte
- func (r GetStepAggregatesResponse) GetJSON200() *[]StepAggregate
- func (r GetStepAggregatesResponse) Status() string
- func (r GetStepAggregatesResponse) StatusCode() int
- type GetWorkflowAggregatesJSONRequestBody
- type GetWorkflowAggregatesResponse
- func (r GetWorkflowAggregatesResponse) ContentType() string
- func (r GetWorkflowAggregatesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GetWorkflowAggregatesResponse) GetBody() []byte
- func (r GetWorkflowAggregatesResponse) GetJSON200() *[]WorkflowAggregate
- func (r GetWorkflowAggregatesResponse) Status() string
- func (r GetWorkflowAggregatesResponse) StatusCode() int
- type GetWorkflowResponse
- func (r GetWorkflowResponse) ContentType() string
- func (r GetWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GetWorkflowResponse) GetBody() []byte
- func (r GetWorkflowResponse) GetJSON200() *Workflow
- func (r GetWorkflowResponse) Status() string
- func (r GetWorkflowResponse) StatusCode() int
- type GrantRoleResponse
- type HttpRequestDoer
- type ImportWorkflowInputBody
- type ImportWorkflowJSONRequestBody
- type ImportWorkflowResponse
- type JoinOrgInputBody
- type JoinOrgJSONRequestBody
- type JoinOrgResponse
- type ListAlertingRulesResponse
- func (r ListAlertingRulesResponse) ContentType() string
- func (r ListAlertingRulesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListAlertingRulesResponse) GetBody() []byte
- func (r ListAlertingRulesResponse) GetJSON200() *[]AlertingRule
- func (r ListAlertingRulesResponse) Status() string
- func (r ListAlertingRulesResponse) StatusCode() int
- type ListAppVersionsResponse
- func (r ListAppVersionsResponse) ContentType() string
- func (r ListAppVersionsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListAppVersionsResponse) GetBody() []byte
- func (r ListAppVersionsResponse) GetJSON200() *[]ApplicationVersion
- func (r ListAppVersionsResponse) Status() string
- func (r ListAppVersionsResponse) StatusCode() int
- type ListAppsResponse
- func (r ListAppsResponse) ContentType() string
- func (r ListAppsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListAppsResponse) GetBody() []byte
- func (r ListAppsResponse) GetJSON200() *[]Application
- func (r ListAppsResponse) Status() string
- func (r ListAppsResponse) StatusCode() int
- type ListAuditLogsParams
- type ListAuditLogsResponse
- func (r ListAuditLogsResponse) ContentType() string
- func (r ListAuditLogsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListAuditLogsResponse) GetBody() []byte
- func (r ListAuditLogsResponse) GetJSON200() *[]AuditLogEntry
- func (r ListAuditLogsResponse) Status() string
- func (r ListAuditLogsResponse) StatusCode() int
- type ListDomainClaimsOutputBody
- type ListDomainClaimsResponse
- func (r ListDomainClaimsResponse) ContentType() string
- func (r ListDomainClaimsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListDomainClaimsResponse) GetBody() []byte
- func (r ListDomainClaimsResponse) GetJSON200() *ListDomainClaimsOutputBody
- func (r ListDomainClaimsResponse) Status() string
- func (r ListDomainClaimsResponse) StatusCode() int
- type ListExecutorsResponse
- func (r ListExecutorsResponse) ContentType() string
- func (r ListExecutorsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListExecutorsResponse) GetBody() []byte
- func (r ListExecutorsResponse) GetJSON200() *[]Executor
- func (r ListExecutorsResponse) Status() string
- func (r ListExecutorsResponse) StatusCode() int
- type ListMembersResponse
- func (r ListMembersResponse) ContentType() string
- func (r ListMembersResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListMembersResponse) GetBody() []byte
- func (r ListMembersResponse) GetJSON200() *OrgMembers
- func (r ListMembersResponse) Status() string
- func (r ListMembersResponse) StatusCode() int
- type ListMetricsParams
- type ListMetricsResponse
- func (r ListMetricsResponse) ContentType() string
- func (r ListMetricsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListMetricsResponse) GetBody() []byte
- func (r ListMetricsResponse) GetJSON200() *[]Metric
- func (r ListMetricsResponse) Status() string
- func (r ListMetricsResponse) StatusCode() int
- type ListPermissionsResponse
- func (r ListPermissionsResponse) ContentType() string
- func (r ListPermissionsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListPermissionsResponse) GetBody() []byte
- func (r ListPermissionsResponse) GetJSON200() *[]string
- func (r ListPermissionsResponse) Status() string
- func (r ListPermissionsResponse) StatusCode() int
- type ListQueuesResponse
- func (r ListQueuesResponse) ContentType() string
- func (r ListQueuesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListQueuesResponse) GetBody() []byte
- func (r ListQueuesResponse) GetJSON200() *[]Queue
- func (r ListQueuesResponse) Status() string
- func (r ListQueuesResponse) StatusCode() int
- type ListRolesResponse
- func (r ListRolesResponse) ContentType() string
- func (r ListRolesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListRolesResponse) GetBody() []byte
- func (r ListRolesResponse) GetJSON200() *[]RoleOutput
- func (r ListRolesResponse) Status() string
- func (r ListRolesResponse) StatusCode() int
- type ListSchedulesParams
- type ListSchedulesResponse
- func (r ListSchedulesResponse) ContentType() string
- func (r ListSchedulesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListSchedulesResponse) GetBody() []byte
- func (r ListSchedulesResponse) GetJSON200() *[]Schedule
- func (r ListSchedulesResponse) Status() string
- func (r ListSchedulesResponse) StatusCode() int
- type ListTokensResponse
- func (r ListTokensResponse) ContentType() string
- func (r ListTokensResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListTokensResponse) GetBody() []byte
- func (r ListTokensResponse) GetJSON200() *[]Token
- func (r ListTokensResponse) Status() string
- func (r ListTokensResponse) StatusCode() int
- type ListWorkflowEventsResponse
- func (r ListWorkflowEventsResponse) ContentType() string
- func (r ListWorkflowEventsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListWorkflowEventsResponse) GetBody() []byte
- func (r ListWorkflowEventsResponse) GetJSON200() *[]Event
- func (r ListWorkflowEventsResponse) Status() string
- func (r ListWorkflowEventsResponse) StatusCode() int
- type ListWorkflowNotificationsResponse
- func (r ListWorkflowNotificationsResponse) ContentType() string
- func (r ListWorkflowNotificationsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListWorkflowNotificationsResponse) GetBody() []byte
- func (r ListWorkflowNotificationsResponse) GetJSON200() *[]Notification
- func (r ListWorkflowNotificationsResponse) Status() string
- func (r ListWorkflowNotificationsResponse) StatusCode() int
- type ListWorkflowStepsParams
- type ListWorkflowStepsResponse
- func (r ListWorkflowStepsResponse) ContentType() string
- func (r ListWorkflowStepsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListWorkflowStepsResponse) GetBody() []byte
- func (r ListWorkflowStepsResponse) GetJSON200() *[]Step
- func (r ListWorkflowStepsResponse) Status() string
- func (r ListWorkflowStepsResponse) StatusCode() int
- type ListWorkflowStreamsResponse
- func (r ListWorkflowStreamsResponse) ContentType() string
- func (r ListWorkflowStreamsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListWorkflowStreamsResponse) GetBody() []byte
- func (r ListWorkflowStreamsResponse) GetJSON200() *[]StreamEntry
- func (r ListWorkflowStreamsResponse) Status() string
- func (r ListWorkflowStreamsResponse) StatusCode() int
- type ListWorkflowsParams
- type ListWorkflowsResponse
- func (r ListWorkflowsResponse) ContentType() string
- func (r ListWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ListWorkflowsResponse) GetBody() []byte
- func (r ListWorkflowsResponse) GetJSON200() *[]Workflow
- func (r ListWorkflowsResponse) Status() string
- func (r ListWorkflowsResponse) StatusCode() int
- type Member
- type Metric
- type Notification
- type OrgMembers
- type Organization
- type OrganizationSubscriptionPlan
- type PatchAppInputBody
- type PatchLatestVersionInputBody
- type PauseScheduleResponse
- type PolicyOutputBody
- type PutAppInputBody
- type Queue
- type QueueAutoscale
- type RegisterAppJSONRequestBody
- type RegisterAppResponse
- type RegisterUserInputBody
- type RegisterUserJSONRequestBody
- type RegisterUserOutputBody
- type RegisterUserResponse
- func (r RegisterUserResponse) ContentType() string
- func (r RegisterUserResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r RegisterUserResponse) GetBody() []byte
- func (r RegisterUserResponse) GetJSON201() *RegisterUserOutputBody
- func (r RegisterUserResponse) Status() string
- func (r RegisterUserResponse) StatusCode() int
- type ReleaseDomainClaimResponse
- type RemoveMemberResponse
- func (r RemoveMemberResponse) ContentType() string
- func (r RemoveMemberResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r RemoveMemberResponse) GetBody() []byte
- func (r RemoveMemberResponse) GetJSON200() *Member
- func (r RemoveMemberResponse) Status() string
- func (r RemoveMemberResponse) StatusCode() int
- type RequestDomainClaimInputBody
- type RequestDomainClaimJSONRequestBody
- type RequestDomainClaimResponse
- func (r RequestDomainClaimResponse) ContentType() string
- func (r RequestDomainClaimResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r RequestDomainClaimResponse) GetBody() []byte
- func (r RequestDomainClaimResponse) GetJSON201() *DomainClaim
- func (r RequestDomainClaimResponse) Status() string
- func (r RequestDomainClaimResponse) StatusCode() int
- type RequestEditorFn
- type ResumeScheduleResponse
- type ResumeWorkflowInputBody
- type ResumeWorkflowJSONRequestBody
- type ResumeWorkflowResponse
- type RoleOutput
- type RolloutPolicy
- type Schedule
- type SearchWorkflowsJSONRequestBody
- type SearchWorkflowsResponse
- func (r SearchWorkflowsResponse) ContentType() string
- func (r SearchWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r SearchWorkflowsResponse) GetBody() []byte
- func (r SearchWorkflowsResponse) GetJSON200() *[]Workflow
- func (r SearchWorkflowsResponse) Status() string
- func (r SearchWorkflowsResponse) StatusCode() int
- type SetAutoscalingPolicyJSONRequestBody
- type SetAutoscalingPolicyResponse
- func (r SetAutoscalingPolicyResponse) ContentType() string
- func (r SetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r SetAutoscalingPolicyResponse) GetBody() []byte
- func (r SetAutoscalingPolicyResponse) GetJSON200() *PolicyOutputBody
- func (r SetAutoscalingPolicyResponse) Status() string
- func (r SetAutoscalingPolicyResponse) StatusCode() int
- type SetLatestAppVersionJSONRequestBody
- type SetLatestAppVersionResponse
- func (r SetLatestAppVersionResponse) ContentType() string
- func (r SetLatestAppVersionResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r SetLatestAppVersionResponse) GetBody() []byte
- func (r SetLatestAppVersionResponse) Status() string
- func (r SetLatestAppVersionResponse) StatusCode() int
- type Step
- type StepAggregate
- type StepAggregatesBody
- type StreamEntry
- type Token
- type TokenCreated
- type TriggerOutputBody
- type TriggerScheduleResponse
- func (r TriggerScheduleResponse) ContentType() string
- func (r TriggerScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TriggerScheduleResponse) GetBody() []byte
- func (r TriggerScheduleResponse) GetJSON201() *TriggerOutputBody
- func (r TriggerScheduleResponse) Status() string
- func (r TriggerScheduleResponse) StatusCode() int
- type TriggerScheduleResponse201Headers
- type UpdateAppJSONRequestBody
- type UpdateAppResponse
- type UpdateOrgInputBody
- type UpdateOrgJSONRequestBody
- type UpdateOrgResponse
- type UserProfile
- type UserProfileSubscriptionPlan
- type Workflow
- type WorkflowAggregate
- type WorkflowAggregatesBody
- type WorkflowSearchBody
Constants ¶
This section is empty.
Variables ¶
var OAuthGated = map[string]bool{ "createRole": true, "deleteRole": true, "generateSecret": true, "getCurrentUser": true, "getOrg": true, "grantRole": true, "joinOrg": true, "listAuditLogs": true, "listDomainClaims": true, "listMembers": true, "listRoles": true, "registerUser": true, "releaseDomainClaim": true, "removeMember": true, "requestDomainClaim": true, "updateOrg": true, }
OAuthGated reports, by operationId, which operations carry the spec's x-dbos-requires-oauth extension and therefore do not exist in a no-auth (auth: none) deployment. The CLI consults it to fail such a command before the request with a mode-aware message rather than on a raw 404.
Functions ¶
func NewBackfillScheduleRequest ¶
func NewBackfillScheduleRequest(server string, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody) (*http.Request, error)
NewBackfillScheduleRequest calls the generic BackfillSchedule builder with application/json body
func NewBackfillScheduleRequestWithBody ¶
func NewBackfillScheduleRequestWithBody(server string, orgName string, appName string, scheduleName string, contentType string, body io.Reader) (*http.Request, error)
NewBackfillScheduleRequestWithBody constructs an http.Request for the BackfillSchedule method, with any body, and a specified content type
func NewBulkCancelWorkflowsRequest ¶
func NewBulkCancelWorkflowsRequest(server string, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody) (*http.Request, error)
NewBulkCancelWorkflowsRequest calls the generic BulkCancelWorkflows builder with application/json body
func NewBulkCancelWorkflowsRequestWithBody ¶
func NewBulkCancelWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewBulkCancelWorkflowsRequestWithBody constructs an http.Request for the BulkCancelWorkflows method, with any body, and a specified content type
func NewBulkDeleteWorkflowsRequest ¶
func NewBulkDeleteWorkflowsRequest(server string, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody) (*http.Request, error)
NewBulkDeleteWorkflowsRequest calls the generic BulkDeleteWorkflows builder with application/json body
func NewBulkDeleteWorkflowsRequestWithBody ¶
func NewBulkDeleteWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewBulkDeleteWorkflowsRequestWithBody constructs an http.Request for the BulkDeleteWorkflows method, with any body, and a specified content type
func NewBulkForkWorkflowsFromFailureRequest ¶
func NewBulkForkWorkflowsFromFailureRequest(server string, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody) (*http.Request, error)
NewBulkForkWorkflowsFromFailureRequest calls the generic BulkForkWorkflowsFromFailure builder with application/json body
func NewBulkForkWorkflowsFromFailureRequestWithBody ¶
func NewBulkForkWorkflowsFromFailureRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewBulkForkWorkflowsFromFailureRequestWithBody constructs an http.Request for the BulkForkWorkflowsFromFailure method, with any body, and a specified content type
func NewBulkResumeWorkflowsRequest ¶
func NewBulkResumeWorkflowsRequest(server string, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody) (*http.Request, error)
NewBulkResumeWorkflowsRequest calls the generic BulkResumeWorkflows builder with application/json body
func NewBulkResumeWorkflowsRequestWithBody ¶
func NewBulkResumeWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewBulkResumeWorkflowsRequestWithBody constructs an http.Request for the BulkResumeWorkflows method, with any body, and a specified content type
func NewCancelWorkflowRequest ¶
func NewCancelWorkflowRequest(server string, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody) (*http.Request, error)
NewCancelWorkflowRequest calls the generic CancelWorkflow builder with application/json body
func NewCancelWorkflowRequestWithBody ¶
func NewCancelWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewCancelWorkflowRequestWithBody constructs an http.Request for the CancelWorkflow method, with any body, and a specified content type
func NewCreateAlertingRuleRequest ¶
func NewCreateAlertingRuleRequest(server string, orgName string, appName string, body CreateAlertingRuleJSONRequestBody) (*http.Request, error)
NewCreateAlertingRuleRequest calls the generic CreateAlertingRule builder with application/json body
func NewCreateAlertingRuleRequestWithBody ¶
func NewCreateAlertingRuleRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAlertingRuleRequestWithBody constructs an http.Request for the CreateAlertingRule method, with any body, and a specified content type
func NewCreateRoleRequest ¶
func NewCreateRoleRequest(server string, orgName string, body CreateRoleJSONRequestBody) (*http.Request, error)
NewCreateRoleRequest calls the generic CreateRole builder with application/json body
func NewCreateRoleRequestWithBody ¶
func NewCreateRoleRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRoleRequestWithBody constructs an http.Request for the CreateRole method, with any body, and a specified content type
func NewCreateTokenRequest ¶
func NewCreateTokenRequest(server string, orgName string, tokenName string, body CreateTokenJSONRequestBody) (*http.Request, error)
NewCreateTokenRequest calls the generic CreateToken builder with application/json body
func NewCreateTokenRequestWithBody ¶
func NewCreateTokenRequestWithBody(server string, orgName string, tokenName string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTokenRequestWithBody constructs an http.Request for the CreateToken method, with any body, and a specified content type
func NewDeleteAlertingRuleRequest ¶
func NewDeleteAlertingRuleRequest(server string, orgName string, appName string, ruleId string) (*http.Request, error)
NewDeleteAlertingRuleRequest constructs an http.Request for the DeleteAlertingRule method
func NewDeleteAppRequest ¶
NewDeleteAppRequest constructs an http.Request for the DeleteApp method
func NewDeleteAutoscalingPolicyRequest ¶
func NewDeleteAutoscalingPolicyRequest(server string, orgName string, appName string) (*http.Request, error)
NewDeleteAutoscalingPolicyRequest constructs an http.Request for the DeleteAutoscalingPolicy method
func NewDeleteRoleRequest ¶
NewDeleteRoleRequest constructs an http.Request for the DeleteRole method
func NewDeleteTokenRequest ¶
NewDeleteTokenRequest constructs an http.Request for the DeleteToken method
func NewDeleteWorkflowRequest ¶
func NewDeleteWorkflowRequest(server string, orgName string, appName string, workflowId string, params *DeleteWorkflowParams) (*http.Request, error)
NewDeleteWorkflowRequest constructs an http.Request for the DeleteWorkflow method
func NewExportWorkflowRequest ¶
func NewExportWorkflowRequest(server string, orgName string, appName string, workflowId string, params *ExportWorkflowParams) (*http.Request, error)
NewExportWorkflowRequest constructs an http.Request for the ExportWorkflow method
func NewForkWorkflowRequest ¶
func NewForkWorkflowRequest(server string, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody) (*http.Request, error)
NewForkWorkflowRequest calls the generic ForkWorkflow builder with application/json body
func NewForkWorkflowRequestWithBody ¶
func NewForkWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewForkWorkflowRequestWithBody constructs an http.Request for the ForkWorkflow method, with any body, and a specified content type
func NewGenerateSecretRequest ¶
NewGenerateSecretRequest constructs an http.Request for the GenerateSecret method
func NewGetAppRequest ¶
NewGetAppRequest constructs an http.Request for the GetApp method
func NewGetAutoscaleRequest ¶
NewGetAutoscaleRequest constructs an http.Request for the GetAutoscale method
func NewGetAutoscalingPolicyRequest ¶
func NewGetAutoscalingPolicyRequest(server string, orgName string, appName string) (*http.Request, error)
NewGetAutoscalingPolicyRequest constructs an http.Request for the GetAutoscalingPolicy method
func NewGetCurrentUserRequest ¶
NewGetCurrentUserRequest constructs an http.Request for the GetCurrentUser method
func NewGetOrgRequest ¶
NewGetOrgRequest constructs an http.Request for the GetOrg method
func NewGetQueueRequest ¶
func NewGetQueueRequest(server string, orgName string, appName string, queueName string) (*http.Request, error)
NewGetQueueRequest constructs an http.Request for the GetQueue method
func NewGetScheduleRequest ¶
func NewGetScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
NewGetScheduleRequest constructs an http.Request for the GetSchedule method
func NewGetStepAggregatesRequest ¶
func NewGetStepAggregatesRequest(server string, orgName string, appName string, body GetStepAggregatesJSONRequestBody) (*http.Request, error)
NewGetStepAggregatesRequest calls the generic GetStepAggregates builder with application/json body
func NewGetStepAggregatesRequestWithBody ¶
func NewGetStepAggregatesRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewGetStepAggregatesRequestWithBody constructs an http.Request for the GetStepAggregates method, with any body, and a specified content type
func NewGetWorkflowAggregatesRequest ¶
func NewGetWorkflowAggregatesRequest(server string, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody) (*http.Request, error)
NewGetWorkflowAggregatesRequest calls the generic GetWorkflowAggregates builder with application/json body
func NewGetWorkflowAggregatesRequestWithBody ¶
func NewGetWorkflowAggregatesRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewGetWorkflowAggregatesRequestWithBody constructs an http.Request for the GetWorkflowAggregates method, with any body, and a specified content type
func NewGetWorkflowRequest ¶
func NewGetWorkflowRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
NewGetWorkflowRequest constructs an http.Request for the GetWorkflow method
func NewGrantRoleRequest ¶
func NewGrantRoleRequest(server string, orgName string, username string, roleName string) (*http.Request, error)
NewGrantRoleRequest constructs an http.Request for the GrantRole method
func NewImportWorkflowRequest ¶
func NewImportWorkflowRequest(server string, orgName string, appName string, body ImportWorkflowJSONRequestBody) (*http.Request, error)
NewImportWorkflowRequest calls the generic ImportWorkflow builder with application/json body
func NewImportWorkflowRequestWithBody ¶
func NewImportWorkflowRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewImportWorkflowRequestWithBody constructs an http.Request for the ImportWorkflow method, with any body, and a specified content type
func NewJoinOrgRequest ¶
func NewJoinOrgRequest(server string, orgName string, body JoinOrgJSONRequestBody) (*http.Request, error)
NewJoinOrgRequest calls the generic JoinOrg builder with application/json body
func NewJoinOrgRequestWithBody ¶
func NewJoinOrgRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)
NewJoinOrgRequestWithBody constructs an http.Request for the JoinOrg method, with any body, and a specified content type
func NewListAlertingRulesRequest ¶
func NewListAlertingRulesRequest(server string, orgName string, appName string) (*http.Request, error)
NewListAlertingRulesRequest constructs an http.Request for the ListAlertingRules method
func NewListAppVersionsRequest ¶
func NewListAppVersionsRequest(server string, orgName string, appName string) (*http.Request, error)
NewListAppVersionsRequest constructs an http.Request for the ListAppVersions method
func NewListAppsRequest ¶
NewListAppsRequest constructs an http.Request for the ListApps method
func NewListAuditLogsRequest ¶
func NewListAuditLogsRequest(server string, orgName string, params *ListAuditLogsParams) (*http.Request, error)
NewListAuditLogsRequest constructs an http.Request for the ListAuditLogs method
func NewListDomainClaimsRequest ¶
NewListDomainClaimsRequest constructs an http.Request for the ListDomainClaims method
func NewListExecutorsRequest ¶
NewListExecutorsRequest constructs an http.Request for the ListExecutors method
func NewListMembersRequest ¶
NewListMembersRequest constructs an http.Request for the ListMembers method
func NewListMetricsRequest ¶
func NewListMetricsRequest(server string, orgName string, appName string, params *ListMetricsParams) (*http.Request, error)
NewListMetricsRequest constructs an http.Request for the ListMetrics method
func NewListPermissionsRequest ¶
NewListPermissionsRequest constructs an http.Request for the ListPermissions method
func NewListQueuesRequest ¶
NewListQueuesRequest constructs an http.Request for the ListQueues method
func NewListRolesRequest ¶
NewListRolesRequest constructs an http.Request for the ListRoles method
func NewListSchedulesRequest ¶
func NewListSchedulesRequest(server string, orgName string, appName string, params *ListSchedulesParams) (*http.Request, error)
NewListSchedulesRequest constructs an http.Request for the ListSchedules method
func NewListTokensRequest ¶
NewListTokensRequest constructs an http.Request for the ListTokens method
func NewListWorkflowEventsRequest ¶
func NewListWorkflowEventsRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
NewListWorkflowEventsRequest constructs an http.Request for the ListWorkflowEvents method
func NewListWorkflowNotificationsRequest ¶
func NewListWorkflowNotificationsRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
NewListWorkflowNotificationsRequest constructs an http.Request for the ListWorkflowNotifications method
func NewListWorkflowStepsRequest ¶
func NewListWorkflowStepsRequest(server string, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams) (*http.Request, error)
NewListWorkflowStepsRequest constructs an http.Request for the ListWorkflowSteps method
func NewListWorkflowStreamsRequest ¶
func NewListWorkflowStreamsRequest(server string, orgName string, appName string, workflowId string) (*http.Request, error)
NewListWorkflowStreamsRequest constructs an http.Request for the ListWorkflowStreams method
func NewListWorkflowsRequest ¶
func NewListWorkflowsRequest(server string, orgName string, appName string, params *ListWorkflowsParams) (*http.Request, error)
NewListWorkflowsRequest constructs an http.Request for the ListWorkflows method
func NewPauseScheduleRequest ¶
func NewPauseScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
NewPauseScheduleRequest constructs an http.Request for the PauseSchedule method
func NewRegisterAppRequest ¶
func NewRegisterAppRequest(server string, orgName string, appName string, body RegisterAppJSONRequestBody) (*http.Request, error)
NewRegisterAppRequest calls the generic RegisterApp builder with application/json body
func NewRegisterAppRequestWithBody ¶
func NewRegisterAppRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterAppRequestWithBody constructs an http.Request for the RegisterApp method, with any body, and a specified content type
func NewRegisterUserRequest ¶
func NewRegisterUserRequest(server string, body RegisterUserJSONRequestBody) (*http.Request, error)
NewRegisterUserRequest calls the generic RegisterUser builder with application/json body
func NewRegisterUserRequestWithBody ¶
func NewRegisterUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterUserRequestWithBody constructs an http.Request for the RegisterUser method, with any body, and a specified content type
func NewReleaseDomainClaimRequest ¶
func NewReleaseDomainClaimRequest(server string, orgName string, domain string) (*http.Request, error)
NewReleaseDomainClaimRequest constructs an http.Request for the ReleaseDomainClaim method
func NewRemoveMemberRequest ¶
NewRemoveMemberRequest constructs an http.Request for the RemoveMember method
func NewRequestDomainClaimRequest ¶
func NewRequestDomainClaimRequest(server string, orgName string, body RequestDomainClaimJSONRequestBody) (*http.Request, error)
NewRequestDomainClaimRequest calls the generic RequestDomainClaim builder with application/json body
func NewRequestDomainClaimRequestWithBody ¶
func NewRequestDomainClaimRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)
NewRequestDomainClaimRequestWithBody constructs an http.Request for the RequestDomainClaim method, with any body, and a specified content type
func NewResumeScheduleRequest ¶
func NewResumeScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
NewResumeScheduleRequest constructs an http.Request for the ResumeSchedule method
func NewResumeWorkflowRequest ¶
func NewResumeWorkflowRequest(server string, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody) (*http.Request, error)
NewResumeWorkflowRequest calls the generic ResumeWorkflow builder with application/json body
func NewResumeWorkflowRequestWithBody ¶
func NewResumeWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewResumeWorkflowRequestWithBody constructs an http.Request for the ResumeWorkflow method, with any body, and a specified content type
func NewSearchWorkflowsRequest ¶
func NewSearchWorkflowsRequest(server string, orgName string, appName string, body SearchWorkflowsJSONRequestBody) (*http.Request, error)
NewSearchWorkflowsRequest calls the generic SearchWorkflows builder with application/json body
func NewSearchWorkflowsRequestWithBody ¶
func NewSearchWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewSearchWorkflowsRequestWithBody constructs an http.Request for the SearchWorkflows method, with any body, and a specified content type
func NewSetAutoscalingPolicyRequest ¶
func NewSetAutoscalingPolicyRequest(server string, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody) (*http.Request, error)
NewSetAutoscalingPolicyRequest calls the generic SetAutoscalingPolicy builder with application/json body
func NewSetAutoscalingPolicyRequestWithBody ¶
func NewSetAutoscalingPolicyRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewSetAutoscalingPolicyRequestWithBody constructs an http.Request for the SetAutoscalingPolicy method, with any body, and a specified content type
func NewSetLatestAppVersionRequest ¶
func NewSetLatestAppVersionRequest(server string, orgName string, appName string, body SetLatestAppVersionJSONRequestBody) (*http.Request, error)
NewSetLatestAppVersionRequest calls the generic SetLatestAppVersion builder with application/json body
func NewSetLatestAppVersionRequestWithBody ¶
func NewSetLatestAppVersionRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewSetLatestAppVersionRequestWithBody constructs an http.Request for the SetLatestAppVersion method, with any body, and a specified content type
func NewTriggerScheduleRequest ¶
func NewTriggerScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)
NewTriggerScheduleRequest constructs an http.Request for the TriggerSchedule method
func NewUpdateAppRequest ¶
func NewUpdateAppRequest(server string, orgName string, appName string, body UpdateAppJSONRequestBody) (*http.Request, error)
NewUpdateAppRequest calls the generic UpdateApp builder with application/json body
func NewUpdateAppRequestWithBody ¶
func NewUpdateAppRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAppRequestWithBody constructs an http.Request for the UpdateApp method, with any body, and a specified content type
func NewUpdateOrgRequest ¶
func NewUpdateOrgRequest(server string, orgName string, body UpdateOrgJSONRequestBody) (*http.Request, error)
NewUpdateOrgRequest calls the generic UpdateOrg builder with application/json body
Types ¶
type AlertingRule ¶
type AlertingRule struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/AlertingRule.json
Schema *string `json:"$schema,omitempty"`
AppId string `json:"appId"`
Id string `json:"id"`
LastFiredAt *time.Time `json:"lastFiredAt"`
MinIntervalSecs *int32 `json:"minIntervalSecs"`
ReceivingAppId string `json:"receivingAppId"`
RuleMetadata interface{} `json:"ruleMetadata"`
RuleType AlertingRuleRuleType `json:"ruleType"`
}
AlertingRule defines model for AlertingRule.
type AlertingRuleRuleType ¶
type AlertingRuleRuleType string
AlertingRuleRuleType defines model for AlertingRule.RuleType.
const ( AlertingRuleRuleTypeSlowQueue AlertingRuleRuleType = "SlowQueue" AlertingRuleRuleTypeUnresponsiveApplication AlertingRuleRuleType = "UnresponsiveApplication" AlertingRuleRuleTypeWorkflowFailure AlertingRuleRuleType = "WorkflowFailure" )
Defines values for AlertingRuleRuleType.
func (AlertingRuleRuleType) Valid ¶
func (e AlertingRuleRuleType) Valid() bool
Valid indicates whether the value is a known member of the AlertingRuleRuleType enum.
type Application ¶
type Application struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/Application.json
Schema *string `json:"$schema,omitempty"`
DbosCloud bool `json:"dbosCloud"`
ExecutorTimeoutSecs int64 `json:"executorTimeoutSecs"`
GcRowsThreshold *int64 `json:"gcRowsThreshold"`
GcTimeThresholdMs *int64 `json:"gcTimeThresholdMs"`
GlobalTimeoutMs *int64 `json:"globalTimeoutMs"`
Id string `json:"id"`
Language *string `json:"language"`
Name string `json:"name"`
OrgId string `json:"orgId"`
PrivateMode bool `json:"privateMode"`
Status ApplicationStatus `json:"status"`
}
Application defines model for Application.
type ApplicationStatus ¶
type ApplicationStatus string
ApplicationStatus defines model for Application.Status.
const ( AVAILABLE ApplicationStatus = "AVAILABLE" UNAVAILABLE ApplicationStatus = "UNAVAILABLE" )
Defines values for ApplicationStatus.
func (ApplicationStatus) Valid ¶
func (e ApplicationStatus) Valid() bool
Valid indicates whether the value is a known member of the ApplicationStatus enum.
type ApplicationVersion ¶
type ApplicationVersion struct {
CreatedAt time.Time `json:"createdAt"`
VersionId string `json:"versionId"`
VersionName string `json:"versionName"`
VersionTimestamp time.Time `json:"versionTimestamp"`
}
ApplicationVersion defines model for ApplicationVersion.
type AuditLogEntry ¶
type AuditLogEntry struct {
Details *map[string]interface{} `json:"details"`
EmitTime time.Time `json:"emitTime"`
Id string `json:"id"`
Operation string `json:"operation"`
SourceIp string `json:"sourceIp"`
Status AuditLogEntryStatus `json:"status"`
Subject AuditSubject `json:"subject"`
Target *AuditTarget `json:"target,omitempty"`
}
AuditLogEntry defines model for AuditLogEntry.
type AuditLogEntryStatus ¶
type AuditLogEntryStatus string
AuditLogEntryStatus defines model for AuditLogEntry.Status.
const ( Failure AuditLogEntryStatus = "failure" Success AuditLogEntryStatus = "success" )
Defines values for AuditLogEntryStatus.
func (AuditLogEntryStatus) Valid ¶
func (e AuditLogEntryStatus) Valid() bool
Valid indicates whether the value is a known member of the AuditLogEntryStatus enum.
type AuditSubject ¶
type AuditSubject struct {
Display string `json:"display"`
Id string `json:"id"`
Type AuditSubjectType `json:"type"`
}
AuditSubject defines model for AuditSubject.
type AuditSubjectType ¶
type AuditSubjectType string
AuditSubjectType defines model for AuditSubject.Type.
const ( AuditSubjectTypeApiKey AuditSubjectType = "api_key" AuditSubjectTypeUser AuditSubjectType = "user" )
Defines values for AuditSubjectType.
func (AuditSubjectType) Valid ¶
func (e AuditSubjectType) Valid() bool
Valid indicates whether the value is a known member of the AuditSubjectType enum.
type AuditTarget ¶
type AuditTarget struct {
Id string `json:"id"`
Type AuditTargetType `json:"type"`
}
AuditTarget defines model for AuditTarget.
type AuditTargetType ¶
type AuditTargetType string
AuditTargetType defines model for AuditTarget.Type.
const ( AuditTargetTypeAlertingRule AuditTargetType = "alerting_rule" AuditTargetTypeApplication AuditTargetType = "application" AuditTargetTypeDomainClaim AuditTargetType = "domain_claim" AuditTargetTypeOrganization AuditTargetType = "organization" AuditTargetTypeRole AuditTargetType = "role" AuditTargetTypeSchedule AuditTargetType = "schedule" AuditTargetTypeToken AuditTargetType = "token" AuditTargetTypeUser AuditTargetType = "user" AuditTargetTypeWorkflow AuditTargetType = "workflow" )
Defines values for AuditTargetType.
func (AuditTargetType) Valid ¶
func (e AuditTargetType) Valid() bool
Valid indicates whether the value is a known member of the AuditTargetType enum.
type AutoscalePolicy ¶
type AutoscalePolicy struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/AutoscalePolicy.json
Schema *string `json:"$schema,omitempty"`
// Queue The queue whose utilization drives the desired executor count. Must exist, not be partitioned and have worker_concurrency set.
Queue string `json:"queue"`
// Rollout Rollout preferences for non-latest application versions. Omitted means old versions are sized to their own backlog.
Rollout *RolloutPolicy `json:"rollout,omitempty"`
}
AutoscalePolicy defines model for AutoscalePolicy.
type BackfillInputBody ¶
type BackfillInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/BackfillInputBody.json
Schema *string `json:"$schema,omitempty"`
EndTime time.Time `json:"endTime"`
StartTime time.Time `json:"startTime"`
}
BackfillInputBody defines model for BackfillInputBody.
type BackfillOutputBody ¶
type BackfillOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/BackfillOutputBody.json
Schema *string `json:"$schema,omitempty"`
WorkflowIds []string `json:"workflowIds"`
}
BackfillOutputBody defines model for BackfillOutputBody.
type BackfillScheduleJSONRequestBody ¶
type BackfillScheduleJSONRequestBody = BackfillInputBody
BackfillScheduleJSONRequestBody defines body for BackfillSchedule for application/json ContentType.
type BackfillScheduleResponse ¶
type BackfillScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BackfillOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseBackfillScheduleResponse ¶
func ParseBackfillScheduleResponse(rsp *http.Response) (*BackfillScheduleResponse, error)
ParseBackfillScheduleResponse parses an HTTP response from a BackfillScheduleWithResponse call
func (BackfillScheduleResponse) ContentType ¶
func (r BackfillScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BackfillScheduleResponse) GetApplicationproblemJSONDefault ¶
func (r BackfillScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (BackfillScheduleResponse) GetBody ¶
func (r BackfillScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BackfillScheduleResponse) GetJSON200 ¶
func (r BackfillScheduleResponse) GetJSON200() *BackfillOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BackfillScheduleResponse) Status ¶
func (r BackfillScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (BackfillScheduleResponse) StatusCode ¶
func (r BackfillScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkCancelInputBody ¶
type BulkCancelInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/BulkCancelInputBody.json
Schema *string `json:"$schema,omitempty"`
CancelChildren *bool `json:"cancelChildren,omitempty"`
WorkflowIds []string `json:"workflowIds"`
}
BulkCancelInputBody defines model for BulkCancelInputBody.
type BulkCancelWorkflowsJSONRequestBody ¶
type BulkCancelWorkflowsJSONRequestBody = BulkCancelInputBody
BulkCancelWorkflowsJSONRequestBody defines body for BulkCancelWorkflows for application/json ContentType.
type BulkCancelWorkflowsResponse ¶
type BulkCancelWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseBulkCancelWorkflowsResponse ¶
func ParseBulkCancelWorkflowsResponse(rsp *http.Response) (*BulkCancelWorkflowsResponse, error)
ParseBulkCancelWorkflowsResponse parses an HTTP response from a BulkCancelWorkflowsWithResponse call
func (BulkCancelWorkflowsResponse) ContentType ¶
func (r BulkCancelWorkflowsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkCancelWorkflowsResponse) GetApplicationproblemJSONDefault ¶
func (r BulkCancelWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (BulkCancelWorkflowsResponse) GetBody ¶
func (r BulkCancelWorkflowsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkCancelWorkflowsResponse) Status ¶
func (r BulkCancelWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (BulkCancelWorkflowsResponse) StatusCode ¶
func (r BulkCancelWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkDeleteInputBody ¶
type BulkDeleteInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/BulkDeleteInputBody.json
Schema *string `json:"$schema,omitempty"`
DeleteChildren *bool `json:"deleteChildren,omitempty"`
WorkflowIds []string `json:"workflowIds"`
}
BulkDeleteInputBody defines model for BulkDeleteInputBody.
type BulkDeleteWorkflowsJSONRequestBody ¶
type BulkDeleteWorkflowsJSONRequestBody = BulkDeleteInputBody
BulkDeleteWorkflowsJSONRequestBody defines body for BulkDeleteWorkflows for application/json ContentType.
type BulkDeleteWorkflowsResponse ¶
type BulkDeleteWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseBulkDeleteWorkflowsResponse ¶
func ParseBulkDeleteWorkflowsResponse(rsp *http.Response) (*BulkDeleteWorkflowsResponse, error)
ParseBulkDeleteWorkflowsResponse parses an HTTP response from a BulkDeleteWorkflowsWithResponse call
func (BulkDeleteWorkflowsResponse) ContentType ¶
func (r BulkDeleteWorkflowsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkDeleteWorkflowsResponse) GetApplicationproblemJSONDefault ¶
func (r BulkDeleteWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (BulkDeleteWorkflowsResponse) GetBody ¶
func (r BulkDeleteWorkflowsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkDeleteWorkflowsResponse) Status ¶
func (r BulkDeleteWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (BulkDeleteWorkflowsResponse) StatusCode ¶
func (r BulkDeleteWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkForkFromFailureBody ¶
type BulkForkFromFailureBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/BulkForkFromFailureBody.json
Schema *string `json:"$schema,omitempty"`
AppVersion *string `json:"appVersion,omitempty"`
// FromLastFailure Restart each workflow from its own last failed step. Mutually exclusive with fromLastStep, fromStep, and fromStepName.
FromLastFailure *bool `json:"fromLastFailure,omitempty"`
// FromLastStep Restart each workflow from its own last completed step. Mutually exclusive with fromLastFailure, fromStep, and fromStepName.
FromLastStep *bool `json:"fromLastStep,omitempty"`
// FromStep Restart every workflow from this explicit step index. Mutually exclusive with fromLastFailure, fromLastStep, and fromStepName.
FromStep *int32 `json:"fromStep,omitempty"`
// FromStepName Restart every workflow from the last occurrence of this named step. Mutually exclusive with fromLastFailure, fromLastStep, and fromStep.
FromStepName *string `json:"fromStepName,omitempty"`
QueueName *string `json:"queueName,omitempty"`
QueuePartitionKey *string `json:"queuePartitionKey,omitempty"`
WorkflowIds []string `json:"workflowIds"`
}
BulkForkFromFailureBody defines model for BulkForkFromFailureBody.
type BulkForkFromFailureOutputBody ¶
type BulkForkFromFailureOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/BulkForkFromFailureOutputBody.json
Schema *string `json:"$schema,omitempty"`
WorkflowIds []string `json:"workflowIds"`
}
BulkForkFromFailureOutputBody defines model for BulkForkFromFailureOutputBody.
type BulkForkWorkflowsFromFailureJSONRequestBody ¶
type BulkForkWorkflowsFromFailureJSONRequestBody = BulkForkFromFailureBody
BulkForkWorkflowsFromFailureJSONRequestBody defines body for BulkForkWorkflowsFromFailure for application/json ContentType.
type BulkForkWorkflowsFromFailureResponse ¶
type BulkForkWorkflowsFromFailureResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BulkForkFromFailureOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseBulkForkWorkflowsFromFailureResponse ¶
func ParseBulkForkWorkflowsFromFailureResponse(rsp *http.Response) (*BulkForkWorkflowsFromFailureResponse, error)
ParseBulkForkWorkflowsFromFailureResponse parses an HTTP response from a BulkForkWorkflowsFromFailureWithResponse call
func (BulkForkWorkflowsFromFailureResponse) ContentType ¶
func (r BulkForkWorkflowsFromFailureResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkForkWorkflowsFromFailureResponse) GetApplicationproblemJSONDefault ¶
func (r BulkForkWorkflowsFromFailureResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (BulkForkWorkflowsFromFailureResponse) GetBody ¶
func (r BulkForkWorkflowsFromFailureResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkForkWorkflowsFromFailureResponse) GetJSON200 ¶
func (r BulkForkWorkflowsFromFailureResponse) GetJSON200() *BulkForkFromFailureOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BulkForkWorkflowsFromFailureResponse) Status ¶
func (r BulkForkWorkflowsFromFailureResponse) Status() string
Status returns HTTPResponse.Status
func (BulkForkWorkflowsFromFailureResponse) StatusCode ¶
func (r BulkForkWorkflowsFromFailureResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkResumeInputBody ¶
type BulkResumeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/BulkResumeInputBody.json
Schema *string `json:"$schema,omitempty"`
QueueName *string `json:"queueName,omitempty"`
WorkflowIds []string `json:"workflowIds"`
}
BulkResumeInputBody defines model for BulkResumeInputBody.
type BulkResumeWorkflowsJSONRequestBody ¶
type BulkResumeWorkflowsJSONRequestBody = BulkResumeInputBody
BulkResumeWorkflowsJSONRequestBody defines body for BulkResumeWorkflows for application/json ContentType.
type BulkResumeWorkflowsResponse ¶
type BulkResumeWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseBulkResumeWorkflowsResponse ¶
func ParseBulkResumeWorkflowsResponse(rsp *http.Response) (*BulkResumeWorkflowsResponse, error)
ParseBulkResumeWorkflowsResponse parses an HTTP response from a BulkResumeWorkflowsWithResponse call
func (BulkResumeWorkflowsResponse) ContentType ¶
func (r BulkResumeWorkflowsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkResumeWorkflowsResponse) GetApplicationproblemJSONDefault ¶
func (r BulkResumeWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (BulkResumeWorkflowsResponse) GetBody ¶
func (r BulkResumeWorkflowsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkResumeWorkflowsResponse) Status ¶
func (r BulkResumeWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (BulkResumeWorkflowsResponse) StatusCode ¶
func (r BulkResumeWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelWorkflowInputBody ¶
type CancelWorkflowInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/CancelWorkflowInputBody.json
Schema *string `json:"$schema,omitempty"`
CancelChildren *bool `json:"cancelChildren,omitempty"`
}
CancelWorkflowInputBody defines model for CancelWorkflowInputBody.
type CancelWorkflowJSONRequestBody ¶
type CancelWorkflowJSONRequestBody = CancelWorkflowInputBody
CancelWorkflowJSONRequestBody defines body for CancelWorkflow for application/json ContentType.
type CancelWorkflowResponse ¶
type CancelWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseCancelWorkflowResponse ¶
func ParseCancelWorkflowResponse(rsp *http.Response) (*CancelWorkflowResponse, error)
ParseCancelWorkflowResponse parses an HTTP response from a CancelWorkflowWithResponse call
func (CancelWorkflowResponse) ContentType ¶
func (r CancelWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelWorkflowResponse) GetApplicationproblemJSONDefault ¶
func (r CancelWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CancelWorkflowResponse) GetBody ¶
func (r CancelWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelWorkflowResponse) Status ¶
func (r CancelWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (CancelWorkflowResponse) StatusCode ¶
func (r CancelWorkflowResponse) 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) BackfillSchedule ¶
func (c *Client) BackfillSchedule(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BackfillSchedule Backfill schedule
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
func (*Client) BackfillScheduleWithBody ¶
func (c *Client) BackfillScheduleWithBody(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BackfillScheduleWithBody Backfill schedule
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
func (*Client) BulkCancelWorkflows ¶
func (c *Client) BulkCancelWorkflows(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkCancelWorkflows Bulk cancel workflows
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
func (*Client) BulkCancelWorkflowsWithBody ¶
func (c *Client) BulkCancelWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkCancelWorkflowsWithBody Bulk cancel workflows
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
func (*Client) BulkDeleteWorkflows ¶
func (c *Client) BulkDeleteWorkflows(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkDeleteWorkflows Bulk delete workflows
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
func (*Client) BulkDeleteWorkflowsWithBody ¶
func (c *Client) BulkDeleteWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkDeleteWorkflowsWithBody Bulk delete workflows
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
func (*Client) BulkForkWorkflowsFromFailure ¶
func (c *Client) BulkForkWorkflowsFromFailure(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkForkWorkflowsFromFailure Bulk fork workflows from failure
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
func (*Client) BulkForkWorkflowsFromFailureWithBody ¶
func (c *Client) BulkForkWorkflowsFromFailureWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkForkWorkflowsFromFailureWithBody Bulk fork workflows from failure
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
func (*Client) BulkResumeWorkflows ¶
func (c *Client) BulkResumeWorkflows(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkResumeWorkflows Bulk resume workflows
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
func (*Client) BulkResumeWorkflowsWithBody ¶
func (c *Client) BulkResumeWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkResumeWorkflowsWithBody Bulk resume workflows
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
func (*Client) CancelWorkflow ¶
func (c *Client) CancelWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelWorkflow Cancel workflow
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
func (*Client) CancelWorkflowWithBody ¶
func (c *Client) CancelWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelWorkflowWithBody Cancel workflow
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
func (*Client) CreateAlertingRule ¶
func (c *Client) CreateAlertingRule(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAlertingRule Create alerting rule
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
func (*Client) CreateAlertingRuleWithBody ¶
func (c *Client) CreateAlertingRuleWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAlertingRuleWithBody Create alerting rule
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
func (*Client) CreateRole ¶
func (c *Client) CreateRole(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRole Create role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
func (*Client) CreateRoleWithBody ¶
func (c *Client) CreateRoleWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRoleWithBody Create role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
func (*Client) CreateToken ¶
func (c *Client) CreateToken(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateToken Create token
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
func (*Client) CreateTokenWithBody ¶
func (c *Client) CreateTokenWithBody(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTokenWithBody Create token
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
func (*Client) DeleteAlertingRule ¶
func (c *Client) DeleteAlertingRule(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAlertingRule Delete alerting rule
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).
func (*Client) DeleteApp ¶
func (c *Client) DeleteApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteApp Delete application
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).
func (*Client) DeleteAutoscalingPolicy ¶
func (c *Client) DeleteAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAutoscalingPolicy Delete autoscaling policy
Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).
func (*Client) DeleteRole ¶
func (c *Client) DeleteRole(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRole Delete role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).
func (*Client) DeleteToken ¶
func (c *Client) DeleteToken(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteToken Delete token
Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).
func (*Client) DeleteWorkflow ¶
func (c *Client) DeleteWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteWorkflow Delete workflow
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).
func (*Client) ExportWorkflow ¶
func (c *Client) ExportWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportWorkflow Export workflow
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).
func (*Client) ForkWorkflow ¶
func (c *Client) ForkWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ForkWorkflow Fork workflow
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
func (*Client) ForkWorkflowWithBody ¶
func (c *Client) ForkWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ForkWorkflowWithBody Fork workflow
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
func (*Client) GenerateSecret ¶
func (c *Client) GenerateSecret(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GenerateSecret Generate join secret
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).
func (*Client) GetApp ¶
func (c *Client) GetApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetApp Get application
Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).
func (*Client) GetAutoscale ¶
func (c *Client) GetAutoscale(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAutoscale Get autoscaling recommendation
Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed. Requires a DBOS Teams subscription.
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).
func (*Client) GetAutoscalingPolicy ¶
func (c *Client) GetAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAutoscalingPolicy Get autoscaling policy
Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).
func (*Client) GetCurrentUser ¶
func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCurrentUser Get current user
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).
func (*Client) GetOrg ¶
func (c *Client) GetOrg(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrg Get org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).
func (*Client) GetQueue ¶
func (c *Client) GetQueue(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetQueue Get queue
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).
func (*Client) GetSchedule ¶
func (c *Client) GetSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSchedule Get schedule
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).
func (*Client) GetStepAggregates ¶
func (c *Client) GetStepAggregates(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStepAggregates Get step aggregates
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
func (*Client) GetStepAggregatesWithBody ¶
func (c *Client) GetStepAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStepAggregatesWithBody Get step aggregates
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
func (*Client) GetWorkflow ¶
func (c *Client) GetWorkflow(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflow Get workflow
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).
func (*Client) GetWorkflowAggregates ¶
func (c *Client) GetWorkflowAggregates(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowAggregates Get workflow aggregates
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
func (*Client) GetWorkflowAggregatesWithBody ¶
func (c *Client) GetWorkflowAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowAggregatesWithBody Get workflow aggregates
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
func (*Client) GrantRole ¶
func (c *Client) GrantRole(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GrantRole Grant role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).
func (*Client) ImportWorkflow ¶
func (c *Client) ImportWorkflow(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportWorkflow Import workflow
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
func (*Client) ImportWorkflowWithBody ¶
func (c *Client) ImportWorkflowWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportWorkflowWithBody Import workflow
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
func (*Client) JoinOrg ¶
func (c *Client) JoinOrg(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JoinOrg Join org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
func (*Client) JoinOrgWithBody ¶
func (c *Client) JoinOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JoinOrgWithBody Join org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
func (*Client) ListAlertingRules ¶
func (c *Client) ListAlertingRules(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAlertingRules List alerting rules
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).
func (*Client) ListAppVersions ¶
func (c *Client) ListAppVersions(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAppVersions List application versions
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).
func (*Client) ListApps ¶
func (c *Client) ListApps(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListApps List applications
Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).
func (*Client) ListAuditLogs ¶
func (c *Client) ListAuditLogs(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAuditLogs List audit logs
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).
func (*Client) ListDomainClaims ¶
func (c *Client) ListDomainClaims(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDomainClaims List domain claims
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).
func (*Client) ListExecutors ¶
func (c *Client) ListExecutors(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListExecutors List executors
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).
func (*Client) ListMembers ¶
func (c *Client) ListMembers(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMembers List members
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).
func (*Client) ListMetrics ¶
func (c *Client) ListMetrics(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMetrics List metrics
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).
func (*Client) ListPermissions ¶
func (c *Client) ListPermissions(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPermissions List permissions
Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).
func (*Client) ListQueues ¶
func (c *Client) ListQueues(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListQueues List queues
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).
func (*Client) ListRoles ¶
func (c *Client) ListRoles(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRoles List roles
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).
func (*Client) ListSchedules ¶
func (c *Client) ListSchedules(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSchedules List schedules
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).
func (*Client) ListTokens ¶
func (c *Client) ListTokens(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListTokens List tokens
Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).
func (*Client) ListWorkflowEvents ¶
func (c *Client) ListWorkflowEvents(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWorkflowEvents List workflow events
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).
func (*Client) ListWorkflowNotifications ¶
func (c *Client) ListWorkflowNotifications(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWorkflowNotifications List workflow notifications
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).
func (*Client) ListWorkflowSteps ¶
func (c *Client) ListWorkflowSteps(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWorkflowSteps List workflow steps
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).
func (*Client) ListWorkflowStreams ¶
func (c *Client) ListWorkflowStreams(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWorkflowStreams List workflow streams
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).
func (*Client) ListWorkflows ¶
func (c *Client) ListWorkflows(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWorkflows List workflows
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).
func (*Client) PauseSchedule ¶
func (c *Client) PauseSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
PauseSchedule Pause schedule
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).
func (*Client) RegisterApp ¶
func (c *Client) RegisterApp(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterApp Register application
Takes a body of the `application/json` content type.
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
func (*Client) RegisterAppWithBody ¶
func (c *Client) RegisterAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterAppWithBody Register application
Takes any type of body and a specified content type.
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
func (*Client) RegisterUser ¶
func (c *Client) RegisterUser(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterUser Register user
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/users (the `RegisterUser` operationId).
func (*Client) RegisterUserWithBody ¶
func (c *Client) RegisterUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterUserWithBody Register user
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type.
Corresponds with POST /v2/users (the `RegisterUser` operationId).
func (*Client) ReleaseDomainClaim ¶
func (c *Client) ReleaseDomainClaim(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
ReleaseDomainClaim Release a domain claim
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).
func (*Client) RemoveMember ¶
func (c *Client) RemoveMember(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveMember Remove member
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).
func (*Client) RequestDomainClaim ¶
func (c *Client) RequestDomainClaim(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDomainClaim Claim a domain
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
func (*Client) RequestDomainClaimWithBody ¶
func (c *Client) RequestDomainClaimWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDomainClaimWithBody Claim a domain
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
func (*Client) ResumeSchedule ¶
func (c *Client) ResumeSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResumeSchedule Resume schedule
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).
func (*Client) ResumeWorkflow ¶
func (c *Client) ResumeWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResumeWorkflow Resume workflow
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
func (*Client) ResumeWorkflowWithBody ¶
func (c *Client) ResumeWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResumeWorkflowWithBody Resume workflow
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
func (*Client) SearchWorkflows ¶
func (c *Client) SearchWorkflows(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchWorkflows Search workflows
Takes a body of the `application/json` content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
func (*Client) SearchWorkflowsWithBody ¶
func (c *Client) SearchWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchWorkflowsWithBody Search workflows
Takes any type of body and a specified content type.
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
func (*Client) SetAutoscalingPolicy ¶
func (c *Client) SetAutoscalingPolicy(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAutoscalingPolicy Set autoscaling policy
Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
Takes a body of the `application/json` content type.
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
func (*Client) SetAutoscalingPolicyWithBody ¶
func (c *Client) SetAutoscalingPolicyWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAutoscalingPolicyWithBody Set autoscaling policy
Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
Takes any type of body and a specified content type.
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
func (*Client) SetLatestAppVersion ¶
func (c *Client) SetLatestAppVersion(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetLatestAppVersion Set latest application version
Takes a body of the `application/json` content type.
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
func (*Client) SetLatestAppVersionWithBody ¶
func (c *Client) SetLatestAppVersionWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetLatestAppVersionWithBody Set latest application version
Takes any type of body and a specified content type.
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
func (*Client) TriggerSchedule ¶
func (c *Client) TriggerSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
TriggerSchedule Trigger schedule
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).
func (*Client) UpdateApp ¶
func (c *Client) UpdateApp(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateApp Update application
Takes a body of the `application/json` content type.
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
func (*Client) UpdateAppWithBody ¶
func (c *Client) UpdateAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAppWithBody Update application
Takes any type of body and a specified content type.
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
func (*Client) UpdateOrg ¶
func (c *Client) UpdateOrg(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrg Update org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
func (*Client) UpdateOrgWithBody ¶
func (c *Client) UpdateOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgWithBody Update org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type.
Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetOrg Get org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).
GetOrg(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgWithBody Update org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
UpdateOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrg Update org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
UpdateOrg(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApps List applications
//
// Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).
ListApps(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApp Delete application
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).
DeleteApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApp Get application
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).
GetApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAppWithBody Update application
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
UpdateAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateApp Update application
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
UpdateApp(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterAppWithBody Register application
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
RegisterAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterApp Register application
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
RegisterApp(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAlertingRules List alerting rules
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).
ListAlertingRules(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAlertingRuleWithBody Create alerting rule
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
CreateAlertingRuleWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAlertingRule Create alerting rule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
CreateAlertingRule(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAlertingRule Delete alerting rule
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).
DeleteAlertingRule(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAutoscale Get autoscaling recommendation
//
// Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed. Requires a DBOS Teams subscription.
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).
GetAutoscale(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAutoscalingPolicy Delete autoscaling policy
//
// Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).
DeleteAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAutoscalingPolicy Get autoscaling policy
//
// Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).
GetAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAutoscalingPolicyWithBody Set autoscaling policy
//
// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
SetAutoscalingPolicyWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAutoscalingPolicy Set autoscaling policy
//
// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
SetAutoscalingPolicy(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListExecutors List executors
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).
ListExecutors(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMetrics List metrics
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).
ListMetrics(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListQueues List queues
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).
ListQueues(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetQueue Get queue
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).
GetQueue(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSchedules List schedules
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).
ListSchedules(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSchedule Get schedule
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).
GetSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackfillScheduleWithBody Backfill schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
BackfillScheduleWithBody(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BackfillSchedule Backfill schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
BackfillSchedule(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PauseSchedule Pause schedule
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).
PauseSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeSchedule Resume schedule
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).
ResumeSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TriggerSchedule Trigger schedule
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).
TriggerSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStepAggregatesWithBody Get step aggregates
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
GetStepAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStepAggregates Get step aggregates
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
GetStepAggregates(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppVersions List application versions
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).
ListAppVersions(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetLatestAppVersionWithBody Set latest application version
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
SetLatestAppVersionWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetLatestAppVersion Set latest application version
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
SetLatestAppVersion(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflows List workflows
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).
ListWorkflows(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowAggregatesWithBody Get workflow aggregates
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
GetWorkflowAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowAggregates Get workflow aggregates
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
GetWorkflowAggregates(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkCancelWorkflowsWithBody Bulk cancel workflows
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
BulkCancelWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkCancelWorkflows Bulk cancel workflows
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
BulkCancelWorkflows(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkDeleteWorkflowsWithBody Bulk delete workflows
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
BulkDeleteWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkDeleteWorkflows Bulk delete workflows
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
BulkDeleteWorkflows(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkForkWorkflowsFromFailureWithBody Bulk fork workflows from failure
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
BulkForkWorkflowsFromFailureWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkForkWorkflowsFromFailure Bulk fork workflows from failure
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
BulkForkWorkflowsFromFailure(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkResumeWorkflowsWithBody Bulk resume workflows
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
BulkResumeWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkResumeWorkflows Bulk resume workflows
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
BulkResumeWorkflows(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportWorkflowWithBody Import workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
ImportWorkflowWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportWorkflow Import workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
ImportWorkflow(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchWorkflowsWithBody Search workflows
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
SearchWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchWorkflows Search workflows
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
SearchWorkflows(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkflow Delete workflow
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).
DeleteWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflow Get workflow
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).
GetWorkflow(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelWorkflowWithBody Cancel workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
CancelWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelWorkflow Cancel workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
CancelWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowEvents List workflow events
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).
ListWorkflowEvents(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportWorkflow Export workflow
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).
ExportWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForkWorkflowWithBody Fork workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
ForkWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForkWorkflow Fork workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
ForkWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowNotifications List workflow notifications
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).
ListWorkflowNotifications(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeWorkflowWithBody Resume workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
ResumeWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeWorkflow Resume workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
ResumeWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowSteps List workflow steps
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).
ListWorkflowSteps(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflowStreams List workflow streams
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).
ListWorkflowStreams(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAuditLogs List audit logs
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).
ListAuditLogs(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDomainClaims List domain claims
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).
ListDomainClaims(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDomainClaimWithBody Claim a domain
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
RequestDomainClaimWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDomainClaim Claim a domain
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
RequestDomainClaim(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReleaseDomainClaim Release a domain claim
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).
ReleaseDomainClaim(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// JoinOrgWithBody Join org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
JoinOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JoinOrg Join org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
JoinOrg(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMembers List members
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).
ListMembers(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveMember Remove member
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).
RemoveMember(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrantRole Grant role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).
GrantRole(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPermissions List permissions
//
// Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).
ListPermissions(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRoles List roles
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).
ListRoles(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRoleWithBody Create role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
CreateRoleWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRole Create role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
CreateRole(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRole Delete role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).
DeleteRole(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GenerateSecret Generate join secret
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).
GenerateSecret(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTokens List tokens
//
// Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).
ListTokens(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteToken Delete token
//
// Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).
DeleteToken(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTokenWithBody Create token
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
CreateTokenWithBody(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateToken Create token
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
CreateToken(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterUserWithBody Register user
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v2/users (the `RegisterUser` operationId).
RegisterUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterUser Register user
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v2/users (the `RegisterUser` operationId).
RegisterUser(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentUser Get current user
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).
GetCurrentUser(ctx context.Context, 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) BackfillScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) BackfillScheduleWithBodyWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)
BackfillScheduleWithBodyWithResponse Backfill schedule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
func (*ClientWithResponses) BackfillScheduleWithResponse ¶
func (c *ClientWithResponses) BackfillScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)
BackfillScheduleWithResponse Backfill schedule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
func (*ClientWithResponses) BulkCancelWorkflowsWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkCancelWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)
BulkCancelWorkflowsWithBodyWithResponse Bulk cancel workflows
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
func (*ClientWithResponses) BulkCancelWorkflowsWithResponse ¶
func (c *ClientWithResponses) BulkCancelWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)
BulkCancelWorkflowsWithResponse Bulk cancel workflows
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
func (*ClientWithResponses) BulkDeleteWorkflowsWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkDeleteWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)
BulkDeleteWorkflowsWithBodyWithResponse Bulk delete workflows
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
func (*ClientWithResponses) BulkDeleteWorkflowsWithResponse ¶
func (c *ClientWithResponses) BulkDeleteWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)
BulkDeleteWorkflowsWithResponse Bulk delete workflows
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
func (*ClientWithResponses) BulkForkWorkflowsFromFailureWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkForkWorkflowsFromFailureWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)
BulkForkWorkflowsFromFailureWithBodyWithResponse Bulk fork workflows from failure
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
func (*ClientWithResponses) BulkForkWorkflowsFromFailureWithResponse ¶
func (c *ClientWithResponses) BulkForkWorkflowsFromFailureWithResponse(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)
BulkForkWorkflowsFromFailureWithResponse Bulk fork workflows from failure
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
func (*ClientWithResponses) BulkResumeWorkflowsWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkResumeWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)
BulkResumeWorkflowsWithBodyWithResponse Bulk resume workflows
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
func (*ClientWithResponses) BulkResumeWorkflowsWithResponse ¶
func (c *ClientWithResponses) BulkResumeWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)
BulkResumeWorkflowsWithResponse Bulk resume workflows
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
func (*ClientWithResponses) CancelWorkflowWithBodyWithResponse ¶
func (c *ClientWithResponses) CancelWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)
CancelWorkflowWithBodyWithResponse Cancel workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
func (*ClientWithResponses) CancelWorkflowWithResponse ¶
func (c *ClientWithResponses) CancelWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)
CancelWorkflowWithResponse Cancel workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
func (*ClientWithResponses) CreateAlertingRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAlertingRuleWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)
CreateAlertingRuleWithBodyWithResponse Create alerting rule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
func (*ClientWithResponses) CreateAlertingRuleWithResponse ¶
func (c *ClientWithResponses) CreateAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)
CreateAlertingRuleWithResponse Create alerting rule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
func (*ClientWithResponses) CreateRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
CreateRoleWithBodyWithResponse Create role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
func (*ClientWithResponses) CreateRoleWithResponse ¶
func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
CreateRoleWithResponse Create role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
func (*ClientWithResponses) CreateTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTokenWithBodyWithResponse(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)
CreateTokenWithBodyWithResponse Create token
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
func (*ClientWithResponses) CreateTokenWithResponse ¶
func (c *ClientWithResponses) CreateTokenWithResponse(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)
CreateTokenWithResponse Create token
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
func (*ClientWithResponses) DeleteAlertingRuleWithResponse ¶
func (c *ClientWithResponses) DeleteAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteAlertingRuleResponse, error)
DeleteAlertingRuleWithResponse Delete alerting rule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).
func (*ClientWithResponses) DeleteAppWithResponse ¶
func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error)
DeleteAppWithResponse Delete application
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).
func (*ClientWithResponses) DeleteAutoscalingPolicyWithResponse ¶
func (c *ClientWithResponses) DeleteAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAutoscalingPolicyResponse, error)
DeleteAutoscalingPolicyWithResponse Delete autoscaling policy
Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).
func (*ClientWithResponses) DeleteRoleWithResponse ¶
func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)
DeleteRoleWithResponse Delete role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).
func (*ClientWithResponses) DeleteTokenWithResponse ¶
func (c *ClientWithResponses) DeleteTokenWithResponse(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)
DeleteTokenWithResponse Delete token
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).
func (*ClientWithResponses) DeleteWorkflowWithResponse ¶
func (c *ClientWithResponses) DeleteWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)
DeleteWorkflowWithResponse Delete workflow
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).
func (*ClientWithResponses) ExportWorkflowWithResponse ¶
func (c *ClientWithResponses) ExportWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*ExportWorkflowResponse, error)
ExportWorkflowWithResponse Export workflow
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).
func (*ClientWithResponses) ForkWorkflowWithBodyWithResponse ¶
func (c *ClientWithResponses) ForkWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)
ForkWorkflowWithBodyWithResponse Fork workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
func (*ClientWithResponses) ForkWorkflowWithResponse ¶
func (c *ClientWithResponses) ForkWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)
ForkWorkflowWithResponse Fork workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
func (*ClientWithResponses) GenerateSecretWithResponse ¶
func (c *ClientWithResponses) GenerateSecretWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GenerateSecretResponse, error)
GenerateSecretWithResponse Generate join secret
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).
func (*ClientWithResponses) GetAppWithResponse ¶
func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAppResponse, error)
GetAppWithResponse Get application
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).
func (*ClientWithResponses) GetAutoscaleWithResponse ¶
func (c *ClientWithResponses) GetAutoscaleWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscaleResponse, error)
GetAutoscaleWithResponse Get autoscaling recommendation
Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed. Requires a DBOS Teams subscription.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).
func (*ClientWithResponses) GetAutoscalingPolicyWithResponse ¶
func (c *ClientWithResponses) GetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscalingPolicyResponse, error)
GetAutoscalingPolicyWithResponse Get autoscaling policy
Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).
func (*ClientWithResponses) GetCurrentUserWithResponse ¶
func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
GetCurrentUserWithResponse Get current user
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).
func (*ClientWithResponses) GetOrgWithResponse ¶
func (c *ClientWithResponses) GetOrgWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)
GetOrgWithResponse Get org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).
func (*ClientWithResponses) GetQueueWithResponse ¶
func (c *ClientWithResponses) GetQueueWithResponse(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*GetQueueResponse, error)
GetQueueWithResponse Get queue
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).
func (*ClientWithResponses) GetScheduleWithResponse ¶
func (c *ClientWithResponses) GetScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*GetScheduleResponse, error)
GetScheduleWithResponse Get schedule
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).
func (*ClientWithResponses) GetStepAggregatesWithBodyWithResponse ¶
func (c *ClientWithResponses) GetStepAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)
GetStepAggregatesWithBodyWithResponse Get step aggregates
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
func (*ClientWithResponses) GetStepAggregatesWithResponse ¶
func (c *ClientWithResponses) GetStepAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)
GetStepAggregatesWithResponse Get step aggregates
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
func (*ClientWithResponses) GetWorkflowAggregatesWithBodyWithResponse ¶
func (c *ClientWithResponses) GetWorkflowAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)
GetWorkflowAggregatesWithBodyWithResponse Get workflow aggregates
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
func (*ClientWithResponses) GetWorkflowAggregatesWithResponse ¶
func (c *ClientWithResponses) GetWorkflowAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)
GetWorkflowAggregatesWithResponse Get workflow aggregates
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
func (*ClientWithResponses) GetWorkflowWithResponse ¶
func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
GetWorkflowWithResponse Get workflow
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).
func (*ClientWithResponses) GrantRoleWithResponse ¶
func (c *ClientWithResponses) GrantRoleWithResponse(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*GrantRoleResponse, error)
GrantRoleWithResponse Grant role
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).
func (*ClientWithResponses) ImportWorkflowWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)
ImportWorkflowWithBodyWithResponse Import workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
func (*ClientWithResponses) ImportWorkflowWithResponse ¶
func (c *ClientWithResponses) ImportWorkflowWithResponse(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)
ImportWorkflowWithResponse Import workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
func (*ClientWithResponses) JoinOrgWithBodyWithResponse ¶
func (c *ClientWithResponses) JoinOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)
JoinOrgWithBodyWithResponse Join org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
func (*ClientWithResponses) JoinOrgWithResponse ¶
func (c *ClientWithResponses) JoinOrgWithResponse(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)
JoinOrgWithResponse Join org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
func (*ClientWithResponses) ListAlertingRulesWithResponse ¶
func (c *ClientWithResponses) ListAlertingRulesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAlertingRulesResponse, error)
ListAlertingRulesWithResponse List alerting rules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).
func (*ClientWithResponses) ListAppVersionsWithResponse ¶
func (c *ClientWithResponses) ListAppVersionsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAppVersionsResponse, error)
ListAppVersionsWithResponse List application versions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).
func (*ClientWithResponses) ListAppsWithResponse ¶
func (c *ClientWithResponses) ListAppsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)
ListAppsWithResponse List applications
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).
func (*ClientWithResponses) ListAuditLogsWithResponse ¶
func (c *ClientWithResponses) ListAuditLogsWithResponse(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*ListAuditLogsResponse, error)
ListAuditLogsWithResponse List audit logs
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).
func (*ClientWithResponses) ListDomainClaimsWithResponse ¶
func (c *ClientWithResponses) ListDomainClaimsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListDomainClaimsResponse, error)
ListDomainClaimsWithResponse List domain claims
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).
func (*ClientWithResponses) ListExecutorsWithResponse ¶
func (c *ClientWithResponses) ListExecutorsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListExecutorsResponse, error)
ListExecutorsWithResponse List executors
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).
func (*ClientWithResponses) ListMembersWithResponse ¶
func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
ListMembersWithResponse List members
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).
func (*ClientWithResponses) ListMetricsWithResponse ¶
func (c *ClientWithResponses) ListMetricsWithResponse(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*ListMetricsResponse, error)
ListMetricsWithResponse List metrics
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).
func (*ClientWithResponses) ListPermissionsWithResponse ¶
func (c *ClientWithResponses) ListPermissionsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListPermissionsResponse, error)
ListPermissionsWithResponse List permissions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).
func (*ClientWithResponses) ListQueuesWithResponse ¶
func (c *ClientWithResponses) ListQueuesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListQueuesResponse, error)
ListQueuesWithResponse List queues
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).
func (*ClientWithResponses) ListRolesWithResponse ¶
func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
ListRolesWithResponse List roles
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).
func (*ClientWithResponses) ListSchedulesWithResponse ¶
func (c *ClientWithResponses) ListSchedulesWithResponse(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*ListSchedulesResponse, error)
ListSchedulesWithResponse List schedules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).
func (*ClientWithResponses) ListTokensWithResponse ¶
func (c *ClientWithResponses) ListTokensWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListTokensResponse, error)
ListTokensWithResponse List tokens
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).
func (*ClientWithResponses) ListWorkflowEventsWithResponse ¶
func (c *ClientWithResponses) ListWorkflowEventsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*ListWorkflowEventsResponse, error)
ListWorkflowEventsWithResponse List workflow events
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).
func (*ClientWithResponses) ListWorkflowNotificationsWithResponse ¶
func (c *ClientWithResponses) ListWorkflowNotificationsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*ListWorkflowNotificationsResponse, error)
ListWorkflowNotificationsWithResponse List workflow notifications
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).
func (*ClientWithResponses) ListWorkflowStepsWithResponse ¶
func (c *ClientWithResponses) ListWorkflowStepsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*ListWorkflowStepsResponse, error)
ListWorkflowStepsWithResponse List workflow steps
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).
func (*ClientWithResponses) ListWorkflowStreamsWithResponse ¶
func (c *ClientWithResponses) ListWorkflowStreamsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*ListWorkflowStreamsResponse, error)
ListWorkflowStreamsWithResponse List workflow streams
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).
func (*ClientWithResponses) ListWorkflowsWithResponse ¶
func (c *ClientWithResponses) ListWorkflowsWithResponse(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)
ListWorkflowsWithResponse List workflows
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).
func (*ClientWithResponses) PauseScheduleWithResponse ¶
func (c *ClientWithResponses) PauseScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*PauseScheduleResponse, error)
PauseScheduleWithResponse Pause schedule
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).
func (*ClientWithResponses) RegisterAppWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)
RegisterAppWithBodyWithResponse Register application
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
func (*ClientWithResponses) RegisterAppWithResponse ¶
func (c *ClientWithResponses) RegisterAppWithResponse(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)
RegisterAppWithResponse Register application
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
func (*ClientWithResponses) RegisterUserWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)
RegisterUserWithBodyWithResponse Register user
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/users (the `RegisterUser` operationId).
func (*ClientWithResponses) RegisterUserWithResponse ¶
func (c *ClientWithResponses) RegisterUserWithResponse(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)
RegisterUserWithResponse Register user
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/users (the `RegisterUser` operationId).
func (*ClientWithResponses) ReleaseDomainClaimWithResponse ¶
func (c *ClientWithResponses) ReleaseDomainClaimWithResponse(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*ReleaseDomainClaimResponse, error)
ReleaseDomainClaimWithResponse Release a domain claim
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).
func (*ClientWithResponses) RemoveMemberWithResponse ¶
func (c *ClientWithResponses) RemoveMemberWithResponse(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*RemoveMemberResponse, error)
RemoveMemberWithResponse Remove member
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).
func (*ClientWithResponses) RequestDomainClaimWithBodyWithResponse ¶
func (c *ClientWithResponses) RequestDomainClaimWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)
RequestDomainClaimWithBodyWithResponse Claim a domain
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
func (*ClientWithResponses) RequestDomainClaimWithResponse ¶
func (c *ClientWithResponses) RequestDomainClaimWithResponse(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)
RequestDomainClaimWithResponse Claim a domain
A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
func (*ClientWithResponses) ResumeScheduleWithResponse ¶
func (c *ClientWithResponses) ResumeScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*ResumeScheduleResponse, error)
ResumeScheduleWithResponse Resume schedule
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).
func (*ClientWithResponses) ResumeWorkflowWithBodyWithResponse ¶
func (c *ClientWithResponses) ResumeWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)
ResumeWorkflowWithBodyWithResponse Resume workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
func (*ClientWithResponses) ResumeWorkflowWithResponse ¶
func (c *ClientWithResponses) ResumeWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)
ResumeWorkflowWithResponse Resume workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
func (*ClientWithResponses) SearchWorkflowsWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)
SearchWorkflowsWithBodyWithResponse Search workflows
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
func (*ClientWithResponses) SearchWorkflowsWithResponse ¶
func (c *ClientWithResponses) SearchWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)
SearchWorkflowsWithResponse Search workflows
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
func (*ClientWithResponses) SetAutoscalingPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) SetAutoscalingPolicyWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)
SetAutoscalingPolicyWithBodyWithResponse Set autoscaling policy
Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
func (*ClientWithResponses) SetAutoscalingPolicyWithResponse ¶
func (c *ClientWithResponses) SetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)
SetAutoscalingPolicyWithResponse Set autoscaling policy
Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
func (*ClientWithResponses) SetLatestAppVersionWithBodyWithResponse ¶
func (c *ClientWithResponses) SetLatestAppVersionWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)
SetLatestAppVersionWithBodyWithResponse Set latest application version
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
func (*ClientWithResponses) SetLatestAppVersionWithResponse ¶
func (c *ClientWithResponses) SetLatestAppVersionWithResponse(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)
SetLatestAppVersionWithResponse Set latest application version
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
func (*ClientWithResponses) TriggerScheduleWithResponse ¶
func (c *ClientWithResponses) TriggerScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*TriggerScheduleResponse, error)
TriggerScheduleWithResponse Trigger schedule
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).
func (*ClientWithResponses) UpdateAppWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)
UpdateAppWithBodyWithResponse Update application
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
func (*ClientWithResponses) UpdateAppWithResponse ¶
func (c *ClientWithResponses) UpdateAppWithResponse(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)
UpdateAppWithResponse Update application
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
func (*ClientWithResponses) UpdateOrgWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
UpdateOrgWithBodyWithResponse Update org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
func (*ClientWithResponses) UpdateOrgWithResponse ¶
func (c *ClientWithResponses) UpdateOrgWithResponse(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
UpdateOrgWithResponse Update org
Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetOrgWithResponse Get org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).
GetOrgWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)
// UpdateOrgWithBodyWithResponse Update org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
UpdateOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
// UpdateOrgWithResponse Update org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
UpdateOrgWithResponse(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)
// ListAppsWithResponse List applications
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).
ListAppsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)
// DeleteAppWithResponse Delete application
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).
DeleteAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error)
// GetAppWithResponse Get application
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).
GetAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAppResponse, error)
// UpdateAppWithBodyWithResponse Update application
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
UpdateAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)
// UpdateAppWithResponse Update application
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
UpdateAppWithResponse(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)
// RegisterAppWithBodyWithResponse Register application
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
RegisterAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)
// RegisterAppWithResponse Register application
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
RegisterAppWithResponse(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)
// ListAlertingRulesWithResponse List alerting rules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).
ListAlertingRulesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAlertingRulesResponse, error)
// CreateAlertingRuleWithBodyWithResponse Create alerting rule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
CreateAlertingRuleWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)
// CreateAlertingRuleWithResponse Create alerting rule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
CreateAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)
// DeleteAlertingRuleWithResponse Delete alerting rule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).
DeleteAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteAlertingRuleResponse, error)
// GetAutoscaleWithResponse Get autoscaling recommendation
//
// Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed. Requires a DBOS Teams subscription.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).
GetAutoscaleWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscaleResponse, error)
// DeleteAutoscalingPolicyWithResponse Delete autoscaling policy
//
// Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).
DeleteAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAutoscalingPolicyResponse, error)
// GetAutoscalingPolicyWithResponse Get autoscaling policy
//
// Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).
GetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscalingPolicyResponse, error)
// SetAutoscalingPolicyWithBodyWithResponse Set autoscaling policy
//
// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
SetAutoscalingPolicyWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)
// SetAutoscalingPolicyWithResponse Set autoscaling policy
//
// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — not partitioned, worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
SetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)
// ListExecutorsWithResponse List executors
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).
ListExecutorsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListExecutorsResponse, error)
// ListMetricsWithResponse List metrics
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).
ListMetricsWithResponse(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*ListMetricsResponse, error)
// ListQueuesWithResponse List queues
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).
ListQueuesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListQueuesResponse, error)
// GetQueueWithResponse Get queue
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).
GetQueueWithResponse(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*GetQueueResponse, error)
// ListSchedulesWithResponse List schedules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).
ListSchedulesWithResponse(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*ListSchedulesResponse, error)
// GetScheduleWithResponse Get schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).
GetScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*GetScheduleResponse, error)
// BackfillScheduleWithBodyWithResponse Backfill schedule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
BackfillScheduleWithBodyWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)
// BackfillScheduleWithResponse Backfill schedule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
BackfillScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)
// PauseScheduleWithResponse Pause schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).
PauseScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*PauseScheduleResponse, error)
// ResumeScheduleWithResponse Resume schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).
ResumeScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*ResumeScheduleResponse, error)
// TriggerScheduleWithResponse Trigger schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).
TriggerScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*TriggerScheduleResponse, error)
// GetStepAggregatesWithBodyWithResponse Get step aggregates
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
GetStepAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)
// GetStepAggregatesWithResponse Get step aggregates
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
GetStepAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)
// ListAppVersionsWithResponse List application versions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).
ListAppVersionsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAppVersionsResponse, error)
// SetLatestAppVersionWithBodyWithResponse Set latest application version
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
SetLatestAppVersionWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)
// SetLatestAppVersionWithResponse Set latest application version
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
SetLatestAppVersionWithResponse(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)
// ListWorkflowsWithResponse List workflows
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).
ListWorkflowsWithResponse(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)
// GetWorkflowAggregatesWithBodyWithResponse Get workflow aggregates
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
GetWorkflowAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)
// GetWorkflowAggregatesWithResponse Get workflow aggregates
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
GetWorkflowAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)
// BulkCancelWorkflowsWithBodyWithResponse Bulk cancel workflows
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
BulkCancelWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)
// BulkCancelWorkflowsWithResponse Bulk cancel workflows
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
BulkCancelWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)
// BulkDeleteWorkflowsWithBodyWithResponse Bulk delete workflows
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
BulkDeleteWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)
// BulkDeleteWorkflowsWithResponse Bulk delete workflows
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
BulkDeleteWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)
// BulkForkWorkflowsFromFailureWithBodyWithResponse Bulk fork workflows from failure
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
BulkForkWorkflowsFromFailureWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)
// BulkForkWorkflowsFromFailureWithResponse Bulk fork workflows from failure
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
BulkForkWorkflowsFromFailureWithResponse(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)
// BulkResumeWorkflowsWithBodyWithResponse Bulk resume workflows
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
BulkResumeWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)
// BulkResumeWorkflowsWithResponse Bulk resume workflows
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
BulkResumeWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)
// ImportWorkflowWithBodyWithResponse Import workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
ImportWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)
// ImportWorkflowWithResponse Import workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
ImportWorkflowWithResponse(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)
// SearchWorkflowsWithBodyWithResponse Search workflows
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
SearchWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)
// SearchWorkflowsWithResponse Search workflows
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
SearchWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)
// DeleteWorkflowWithResponse Delete workflow
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).
DeleteWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)
// GetWorkflowWithResponse Get workflow
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).
GetWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
// CancelWorkflowWithBodyWithResponse Cancel workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
CancelWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)
// CancelWorkflowWithResponse Cancel workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
CancelWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)
// ListWorkflowEventsWithResponse List workflow events
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).
ListWorkflowEventsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*ListWorkflowEventsResponse, error)
// ExportWorkflowWithResponse Export workflow
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).
ExportWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*ExportWorkflowResponse, error)
// ForkWorkflowWithBodyWithResponse Fork workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
ForkWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)
// ForkWorkflowWithResponse Fork workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
ForkWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)
// ListWorkflowNotificationsWithResponse List workflow notifications
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).
ListWorkflowNotificationsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*ListWorkflowNotificationsResponse, error)
// ResumeWorkflowWithBodyWithResponse Resume workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
ResumeWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)
// ResumeWorkflowWithResponse Resume workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
ResumeWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)
// ListWorkflowStepsWithResponse List workflow steps
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).
ListWorkflowStepsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*ListWorkflowStepsResponse, error)
// ListWorkflowStreamsWithResponse List workflow streams
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).
ListWorkflowStreamsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, reqEditors ...RequestEditorFn) (*ListWorkflowStreamsResponse, error)
// ListAuditLogsWithResponse List audit logs
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).
ListAuditLogsWithResponse(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*ListAuditLogsResponse, error)
// ListDomainClaimsWithResponse List domain claims
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).
ListDomainClaimsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListDomainClaimsResponse, error)
// RequestDomainClaimWithBodyWithResponse Claim a domain
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
RequestDomainClaimWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)
// RequestDomainClaimWithResponse Claim a domain
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
RequestDomainClaimWithResponse(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)
// ReleaseDomainClaimWithResponse Release a domain claim
//
// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).
ReleaseDomainClaimWithResponse(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*ReleaseDomainClaimResponse, error)
// JoinOrgWithBodyWithResponse Join org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
JoinOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)
// JoinOrgWithResponse Join org
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
JoinOrgWithResponse(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)
// ListMembersWithResponse List members
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).
ListMembersWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
// RemoveMemberWithResponse Remove member
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).
RemoveMemberWithResponse(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*RemoveMemberResponse, error)
// GrantRoleWithResponse Grant role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).
GrantRoleWithResponse(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*GrantRoleResponse, error)
// ListPermissionsWithResponse List permissions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).
ListPermissionsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListPermissionsResponse, error)
// ListRolesWithResponse List roles
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).
ListRolesWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
// CreateRoleWithBodyWithResponse Create role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
CreateRoleWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
// CreateRoleWithResponse Create role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
CreateRoleWithResponse(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
// DeleteRoleWithResponse Delete role
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).
DeleteRoleWithResponse(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)
// GenerateSecretWithResponse Generate join secret
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).
GenerateSecretWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GenerateSecretResponse, error)
// ListTokensWithResponse List tokens
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).
ListTokensWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListTokensResponse, error)
// DeleteTokenWithResponse Delete token
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).
DeleteTokenWithResponse(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)
// CreateTokenWithBodyWithResponse Create token
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
CreateTokenWithBodyWithResponse(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)
// CreateTokenWithResponse Create token
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
CreateTokenWithResponse(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)
// RegisterUserWithBodyWithResponse Register user
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/users (the `RegisterUser` operationId).
RegisterUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)
// RegisterUserWithResponse Register user
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v2/users (the `RegisterUser` operationId).
RegisterUserWithResponse(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)
// GetCurrentUserWithResponse Get current user
//
// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).
GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateAlertInputBody ¶
type CreateAlertInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/CreateAlertInputBody.json
Schema *string `json:"$schema,omitempty"`
MinIntervalSecs *int32 `json:"minIntervalSecs,omitempty"`
ReceivingAppName *string `json:"receivingAppName,omitempty"`
RuleMetadata interface{} `json:"ruleMetadata"`
RuleType CreateAlertInputBodyRuleType `json:"ruleType"`
}
CreateAlertInputBody defines model for CreateAlertInputBody.
type CreateAlertInputBodyRuleType ¶
type CreateAlertInputBodyRuleType string
CreateAlertInputBodyRuleType defines model for CreateAlertInputBody.RuleType.
const ( CreateAlertInputBodyRuleTypeSlowQueue CreateAlertInputBodyRuleType = "SlowQueue" CreateAlertInputBodyRuleTypeUnresponsiveApplication CreateAlertInputBodyRuleType = "UnresponsiveApplication" CreateAlertInputBodyRuleTypeWorkflowFailure CreateAlertInputBodyRuleType = "WorkflowFailure" )
Defines values for CreateAlertInputBodyRuleType.
func (CreateAlertInputBodyRuleType) Valid ¶
func (e CreateAlertInputBodyRuleType) Valid() bool
Valid indicates whether the value is a known member of the CreateAlertInputBodyRuleType enum.
type CreateAlertingRuleJSONRequestBody ¶
type CreateAlertingRuleJSONRequestBody = CreateAlertInputBody
CreateAlertingRuleJSONRequestBody defines body for CreateAlertingRule for application/json ContentType.
type CreateAlertingRuleResponse ¶
type CreateAlertingRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AlertingRule
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseCreateAlertingRuleResponse ¶
func ParseCreateAlertingRuleResponse(rsp *http.Response) (*CreateAlertingRuleResponse, error)
ParseCreateAlertingRuleResponse parses an HTTP response from a CreateAlertingRuleWithResponse call
func (CreateAlertingRuleResponse) ContentType ¶
func (r CreateAlertingRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAlertingRuleResponse) GetApplicationproblemJSONDefault ¶
func (r CreateAlertingRuleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateAlertingRuleResponse) GetBody ¶
func (r CreateAlertingRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAlertingRuleResponse) GetJSON201 ¶
func (r CreateAlertingRuleResponse) GetJSON201() *AlertingRule
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateAlertingRuleResponse) Status ¶
func (r CreateAlertingRuleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAlertingRuleResponse) StatusCode ¶
func (r CreateAlertingRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRoleInputBody ¶
type CreateRoleInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/CreateRoleInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
Permissions *[]string `json:"permissions,omitempty"`
}
CreateRoleInputBody defines model for CreateRoleInputBody.
type CreateRoleJSONRequestBody ¶
type CreateRoleJSONRequestBody = CreateRoleInputBody
CreateRoleJSONRequestBody defines body for CreateRole for application/json ContentType.
type CreateRoleOutputBody ¶
type CreateRoleOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/CreateRoleOutputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
Permissions []string `json:"permissions"`
}
CreateRoleOutputBody defines model for CreateRoleOutputBody.
type CreateRoleResponse ¶
type CreateRoleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreateRoleOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateRoleResponse201Headers
}
func ParseCreateRoleResponse ¶
func ParseCreateRoleResponse(rsp *http.Response) (*CreateRoleResponse, error)
ParseCreateRoleResponse parses an HTTP response from a CreateRoleWithResponse call
func (CreateRoleResponse) ContentType ¶
func (r CreateRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRoleResponse) GetApplicationproblemJSONDefault ¶
func (r CreateRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateRoleResponse) GetBody ¶
func (r CreateRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRoleResponse) GetJSON201 ¶
func (r CreateRoleResponse) GetJSON201() *CreateRoleOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateRoleResponse) Status ¶
func (r CreateRoleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRoleResponse) StatusCode ¶
func (r CreateRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRoleResponse201Headers ¶
type CreateRoleResponse201Headers struct {
Location *string
}
CreateRoleResponse201Headers the declared response headers of an HTTP 201 response for CreateRole
type CreateTokenInputBody ¶
type CreateTokenInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/CreateTokenInputBody.json
Schema *string `json:"$schema,omitempty"`
AppNames *[]string `json:"appNames,omitempty"`
Permissions *[]string `json:"permissions,omitempty"`
}
CreateTokenInputBody defines model for CreateTokenInputBody.
type CreateTokenJSONRequestBody ¶
type CreateTokenJSONRequestBody = CreateTokenInputBody
CreateTokenJSONRequestBody defines body for CreateToken for application/json ContentType.
type CreateTokenResponse ¶
type CreateTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TokenCreated
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseCreateTokenResponse ¶
func ParseCreateTokenResponse(rsp *http.Response) (*CreateTokenResponse, error)
ParseCreateTokenResponse parses an HTTP response from a CreateTokenWithResponse call
func (CreateTokenResponse) ContentType ¶
func (r CreateTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTokenResponse) GetApplicationproblemJSONDefault ¶
func (r CreateTokenResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateTokenResponse) GetBody ¶
func (r CreateTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateTokenResponse) GetJSON201 ¶
func (r CreateTokenResponse) GetJSON201() *TokenCreated
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateTokenResponse) Status ¶
func (r CreateTokenResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTokenResponse) StatusCode ¶
func (r CreateTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAlertingRuleResponse ¶
type DeleteAlertingRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDeleteAlertingRuleResponse ¶
func ParseDeleteAlertingRuleResponse(rsp *http.Response) (*DeleteAlertingRuleResponse, error)
ParseDeleteAlertingRuleResponse parses an HTTP response from a DeleteAlertingRuleWithResponse call
func (DeleteAlertingRuleResponse) ContentType ¶
func (r DeleteAlertingRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAlertingRuleResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteAlertingRuleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteAlertingRuleResponse) GetBody ¶
func (r DeleteAlertingRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAlertingRuleResponse) Status ¶
func (r DeleteAlertingRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAlertingRuleResponse) StatusCode ¶
func (r DeleteAlertingRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAppResponse ¶
type DeleteAppResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDeleteAppResponse ¶
func ParseDeleteAppResponse(rsp *http.Response) (*DeleteAppResponse, error)
ParseDeleteAppResponse parses an HTTP response from a DeleteAppWithResponse call
func (DeleteAppResponse) ContentType ¶
func (r DeleteAppResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAppResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteAppResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteAppResponse) GetBody ¶
func (r DeleteAppResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAppResponse) Status ¶
func (r DeleteAppResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppResponse) StatusCode ¶
func (r DeleteAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAutoscalingPolicyResponse ¶
type DeleteAutoscalingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDeleteAutoscalingPolicyResponse ¶
func ParseDeleteAutoscalingPolicyResponse(rsp *http.Response) (*DeleteAutoscalingPolicyResponse, error)
ParseDeleteAutoscalingPolicyResponse parses an HTTP response from a DeleteAutoscalingPolicyWithResponse call
func (DeleteAutoscalingPolicyResponse) ContentType ¶
func (r DeleteAutoscalingPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAutoscalingPolicyResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteAutoscalingPolicyResponse) GetBody ¶
func (r DeleteAutoscalingPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAutoscalingPolicyResponse) Status ¶
func (r DeleteAutoscalingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAutoscalingPolicyResponse) StatusCode ¶
func (r DeleteAutoscalingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDeleteRoleResponse ¶
func ParseDeleteRoleResponse(rsp *http.Response) (*DeleteRoleResponse, error)
ParseDeleteRoleResponse parses an HTTP response from a DeleteRoleWithResponse call
func (DeleteRoleResponse) ContentType ¶
func (r DeleteRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRoleResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteRoleResponse) GetBody ¶
func (r DeleteRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteRoleResponse) Status ¶
func (r DeleteRoleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRoleResponse) StatusCode ¶
func (r DeleteRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTokenResponse ¶
type DeleteTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDeleteTokenResponse ¶
func ParseDeleteTokenResponse(rsp *http.Response) (*DeleteTokenResponse, error)
ParseDeleteTokenResponse parses an HTTP response from a DeleteTokenWithResponse call
func (DeleteTokenResponse) ContentType ¶
func (r DeleteTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTokenResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteTokenResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteTokenResponse) GetBody ¶
func (r DeleteTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteTokenResponse) Status ¶
func (r DeleteTokenResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTokenResponse) StatusCode ¶
func (r DeleteTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkflowParams ¶
type DeleteWorkflowParams struct {
DeleteChildren *bool `form:"deleteChildren,omitempty" json:"deleteChildren,omitempty"`
}
DeleteWorkflowParams defines parameters for DeleteWorkflow.
type DeleteWorkflowResponse ¶
type DeleteWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDeleteWorkflowResponse ¶
func ParseDeleteWorkflowResponse(rsp *http.Response) (*DeleteWorkflowResponse, error)
ParseDeleteWorkflowResponse parses an HTTP response from a DeleteWorkflowWithResponse call
func (DeleteWorkflowResponse) ContentType ¶
func (r DeleteWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWorkflowResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteWorkflowResponse) GetBody ¶
func (r DeleteWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteWorkflowResponse) Status ¶
func (r DeleteWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkflowResponse) StatusCode ¶
func (r DeleteWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainClaim ¶
type DomainClaim struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/DomainClaim.json
Schema *string `json:"$schema,omitempty"`
DecidedAt *time.Time `json:"decidedAt,omitempty"`
DecidedBy *string `json:"decidedBy,omitempty"`
DecisionNote *string `json:"decisionNote,omitempty"`
Domain string `json:"domain"`
Id string `json:"id"`
OrgName string `json:"orgName"`
RequestedAt time.Time `json:"requestedAt"`
RequestedBy string `json:"requestedBy"`
Status DomainClaimStatus `json:"status"`
}
DomainClaim defines model for DomainClaim.
type DomainClaimStatus ¶
type DomainClaimStatus string
DomainClaimStatus defines model for DomainClaim.Status.
const ( Approved DomainClaimStatus = "approved" Denied DomainClaimStatus = "denied" Pending DomainClaimStatus = "pending" )
Defines values for DomainClaimStatus.
func (DomainClaimStatus) Valid ¶
func (e DomainClaimStatus) Valid() bool
Valid indicates whether the value is a known member of the DomainClaimStatus enum.
type ErrorDetail ¶
type ErrorDetail struct {
// Location Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Location *string `json:"location,omitempty"`
// Message Error message text
Message *string `json:"message,omitempty"`
// Value The value at the given location
Value interface{} `json:"value,omitempty"`
}
ErrorDetail defines model for ErrorDetail.
type ErrorModel ¶
type ErrorModel struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/ErrorModel.json
Schema *string `json:"$schema,omitempty"`
// Detail A human-readable explanation specific to this occurrence of the problem.
//
// Examples: Property foo is required but is missing.
Detail *string `json:"detail,omitempty"`
// Errors Optional list of individual error details
Errors *[]ErrorDetail `json:"errors,omitempty"`
// Instance A URI reference that identifies the specific occurrence of the problem.
//
// Examples: https://example.com/error-log/abc123
Instance *string `json:"instance,omitempty"`
// Status HTTP status code
//
// Examples: 400
Status *int64 `json:"status,omitempty"`
// Title A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
//
// Examples: Bad Request
Title *string `json:"title,omitempty"`
// Type A URI reference to human-readable documentation for the error.
//
// Examples: https://example.com/errors/example
Type *string `json:"type,omitempty"`
}
ErrorModel defines model for ErrorModel.
type Executor ¶
type Executor struct {
AppId string `json:"appId"`
AppVersion string `json:"appVersion"`
CreatedAt time.Time `json:"createdAt"`
DbosVersion *string `json:"dbosVersion"`
ExecutorId string `json:"executorId"`
ExecutorMetadata *map[string]interface{} `json:"executorMetadata"`
HostId *string `json:"hostId"`
Hostname *string `json:"hostname"`
Language *string `json:"language"`
Status ExecutorStatus `json:"status"`
UpdatedAt time.Time `json:"updatedAt"`
}
Executor defines model for Executor.
type ExecutorStatus ¶
type ExecutorStatus string
ExecutorStatus defines model for Executor.Status.
const ( DEAD ExecutorStatus = "DEAD" DISCONNECTED ExecutorStatus = "DISCONNECTED" HEALTHY ExecutorStatus = "HEALTHY" )
Defines values for ExecutorStatus.
func (ExecutorStatus) Valid ¶
func (e ExecutorStatus) Valid() bool
Valid indicates whether the value is a known member of the ExecutorStatus enum.
type ExportWorkflowOutputBody ¶
type ExportWorkflowOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/ExportWorkflowOutputBody.json
Schema *string `json:"$schema,omitempty"`
SerializedWorkflow string `json:"serializedWorkflow"`
}
ExportWorkflowOutputBody defines model for ExportWorkflowOutputBody.
type ExportWorkflowParams ¶
type ExportWorkflowParams struct {
ExportChildren *bool `form:"exportChildren,omitempty" json:"exportChildren,omitempty"`
}
ExportWorkflowParams defines parameters for ExportWorkflow.
type ExportWorkflowResponse ¶
type ExportWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExportWorkflowOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseExportWorkflowResponse ¶
func ParseExportWorkflowResponse(rsp *http.Response) (*ExportWorkflowResponse, error)
ParseExportWorkflowResponse parses an HTTP response from a ExportWorkflowWithResponse call
func (ExportWorkflowResponse) ContentType ¶
func (r ExportWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportWorkflowResponse) GetApplicationproblemJSONDefault ¶
func (r ExportWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ExportWorkflowResponse) GetBody ¶
func (r ExportWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportWorkflowResponse) GetJSON200 ¶
func (r ExportWorkflowResponse) GetJSON200() *ExportWorkflowOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExportWorkflowResponse) Status ¶
func (r ExportWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (ExportWorkflowResponse) StatusCode ¶
func (r ExportWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForkWorkflowInputBody ¶
type ForkWorkflowInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/ForkWorkflowInputBody.json
Schema *string `json:"$schema,omitempty"`
AppVersion *string `json:"appVersion,omitempty"`
NewWorkflowId *string `json:"newWorkflowId,omitempty"`
QueueName *string `json:"queueName,omitempty"`
QueuePartitionKey *string `json:"queuePartitionKey,omitempty"`
StartStep *int32 `json:"startStep,omitempty"`
}
ForkWorkflowInputBody defines model for ForkWorkflowInputBody.
type ForkWorkflowJSONRequestBody ¶
type ForkWorkflowJSONRequestBody = ForkWorkflowInputBody
ForkWorkflowJSONRequestBody defines body for ForkWorkflow for application/json ContentType.
type ForkWorkflowOutputBody ¶
type ForkWorkflowOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/ForkWorkflowOutputBody.json
Schema *string `json:"$schema,omitempty"`
WorkflowId string `json:"workflowId"`
}
ForkWorkflowOutputBody defines model for ForkWorkflowOutputBody.
type ForkWorkflowResponse ¶
type ForkWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ForkWorkflowOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *ForkWorkflowResponse201Headers
}
func ParseForkWorkflowResponse ¶
func ParseForkWorkflowResponse(rsp *http.Response) (*ForkWorkflowResponse, error)
ParseForkWorkflowResponse parses an HTTP response from a ForkWorkflowWithResponse call
func (ForkWorkflowResponse) ContentType ¶
func (r ForkWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForkWorkflowResponse) GetApplicationproblemJSONDefault ¶
func (r ForkWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ForkWorkflowResponse) GetBody ¶
func (r ForkWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForkWorkflowResponse) GetJSON201 ¶
func (r ForkWorkflowResponse) GetJSON201() *ForkWorkflowOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ForkWorkflowResponse) Status ¶
func (r ForkWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (ForkWorkflowResponse) StatusCode ¶
func (r ForkWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForkWorkflowResponse201Headers ¶
type ForkWorkflowResponse201Headers struct {
Location *string
}
ForkWorkflowResponse201Headers the declared response headers of an HTTP 201 response for ForkWorkflow
type GenerateSecretOutputBody ¶
type GenerateSecretOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/GenerateSecretOutputBody.json
Schema *string `json:"$schema,omitempty"`
Secret string `json:"secret"`
}
GenerateSecretOutputBody defines model for GenerateSecretOutputBody.
type GenerateSecretResponse ¶
type GenerateSecretResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *GenerateSecretOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGenerateSecretResponse ¶
func ParseGenerateSecretResponse(rsp *http.Response) (*GenerateSecretResponse, error)
ParseGenerateSecretResponse parses an HTTP response from a GenerateSecretWithResponse call
func (GenerateSecretResponse) ContentType ¶
func (r GenerateSecretResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GenerateSecretResponse) GetApplicationproblemJSONDefault ¶
func (r GenerateSecretResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GenerateSecretResponse) GetBody ¶
func (r GenerateSecretResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GenerateSecretResponse) GetJSON201 ¶
func (r GenerateSecretResponse) GetJSON201() *GenerateSecretOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (GenerateSecretResponse) Status ¶
func (r GenerateSecretResponse) Status() string
Status returns HTTPResponse.Status
func (GenerateSecretResponse) StatusCode ¶
func (r GenerateSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppResponse ¶
type GetAppResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Application
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetAppResponse ¶
func ParseGetAppResponse(rsp *http.Response) (*GetAppResponse, error)
ParseGetAppResponse parses an HTTP response from a GetAppWithResponse call
func (GetAppResponse) ContentType ¶
func (r GetAppResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAppResponse) GetApplicationproblemJSONDefault ¶
func (r GetAppResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetAppResponse) GetBody ¶
func (r GetAppResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAppResponse) GetJSON200 ¶
func (r GetAppResponse) GetJSON200() *Application
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAppResponse) Status ¶
func (r GetAppResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppResponse) StatusCode ¶
func (r GetAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAutoscaleResponse ¶
type GetAutoscaleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]QueueAutoscale
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetAutoscaleResponse ¶
func ParseGetAutoscaleResponse(rsp *http.Response) (*GetAutoscaleResponse, error)
ParseGetAutoscaleResponse parses an HTTP response from a GetAutoscaleWithResponse call
func (GetAutoscaleResponse) ContentType ¶
func (r GetAutoscaleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAutoscaleResponse) GetApplicationproblemJSONDefault ¶
func (r GetAutoscaleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetAutoscaleResponse) GetBody ¶
func (r GetAutoscaleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAutoscaleResponse) GetJSON200 ¶
func (r GetAutoscaleResponse) GetJSON200() *[]QueueAutoscale
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAutoscaleResponse) Status ¶
func (r GetAutoscaleResponse) Status() string
Status returns HTTPResponse.Status
func (GetAutoscaleResponse) StatusCode ¶
func (r GetAutoscaleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAutoscalingPolicyResponse ¶
type GetAutoscalingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PolicyOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetAutoscalingPolicyResponse ¶
func ParseGetAutoscalingPolicyResponse(rsp *http.Response) (*GetAutoscalingPolicyResponse, error)
ParseGetAutoscalingPolicyResponse parses an HTTP response from a GetAutoscalingPolicyWithResponse call
func (GetAutoscalingPolicyResponse) ContentType ¶
func (r GetAutoscalingPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault ¶
func (r GetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetAutoscalingPolicyResponse) GetBody ¶
func (r GetAutoscalingPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAutoscalingPolicyResponse) GetJSON200 ¶
func (r GetAutoscalingPolicyResponse) GetJSON200() *PolicyOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAutoscalingPolicyResponse) Status ¶
func (r GetAutoscalingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetAutoscalingPolicyResponse) StatusCode ¶
func (r GetAutoscalingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentUserResponse ¶
type GetCurrentUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserProfile
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetCurrentUserResponse ¶
func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)
ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call
func (GetCurrentUserResponse) ContentType ¶
func (r GetCurrentUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCurrentUserResponse) GetApplicationproblemJSONDefault ¶
func (r GetCurrentUserResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCurrentUserResponse) GetBody ¶
func (r GetCurrentUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCurrentUserResponse) GetJSON200 ¶
func (r GetCurrentUserResponse) GetJSON200() *UserProfile
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCurrentUserResponse) Status ¶
func (r GetCurrentUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentUserResponse) StatusCode ¶
func (r GetCurrentUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrgResponse ¶
type GetOrgResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Organization
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetOrgResponse ¶
func ParseGetOrgResponse(rsp *http.Response) (*GetOrgResponse, error)
ParseGetOrgResponse parses an HTTP response from a GetOrgWithResponse call
func (GetOrgResponse) ContentType ¶
func (r GetOrgResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrgResponse) GetApplicationproblemJSONDefault ¶
func (r GetOrgResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetOrgResponse) GetBody ¶
func (r GetOrgResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrgResponse) GetJSON200 ¶
func (r GetOrgResponse) GetJSON200() *Organization
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrgResponse) Status ¶
func (r GetOrgResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrgResponse) StatusCode ¶
func (r GetOrgResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetQueueResponse ¶
type GetQueueResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Queue
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetQueueResponse ¶
func ParseGetQueueResponse(rsp *http.Response) (*GetQueueResponse, error)
ParseGetQueueResponse parses an HTTP response from a GetQueueWithResponse call
func (GetQueueResponse) ContentType ¶
func (r GetQueueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetQueueResponse) GetApplicationproblemJSONDefault ¶
func (r GetQueueResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetQueueResponse) GetBody ¶
func (r GetQueueResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetQueueResponse) GetJSON200 ¶
func (r GetQueueResponse) GetJSON200() *Queue
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetQueueResponse) Status ¶
func (r GetQueueResponse) Status() string
Status returns HTTPResponse.Status
func (GetQueueResponse) StatusCode ¶
func (r GetQueueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScheduleResponse ¶
type GetScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Schedule
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetScheduleResponse ¶
func ParseGetScheduleResponse(rsp *http.Response) (*GetScheduleResponse, error)
ParseGetScheduleResponse parses an HTTP response from a GetScheduleWithResponse call
func (GetScheduleResponse) ContentType ¶
func (r GetScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetScheduleResponse) GetApplicationproblemJSONDefault ¶
func (r GetScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetScheduleResponse) GetBody ¶
func (r GetScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetScheduleResponse) GetJSON200 ¶
func (r GetScheduleResponse) GetJSON200() *Schedule
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetScheduleResponse) Status ¶
func (r GetScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (GetScheduleResponse) StatusCode ¶
func (r GetScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStepAggregatesJSONRequestBody ¶
type GetStepAggregatesJSONRequestBody = StepAggregatesBody
GetStepAggregatesJSONRequestBody defines body for GetStepAggregates for application/json ContentType.
type GetStepAggregatesResponse ¶
type GetStepAggregatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]StepAggregate
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetStepAggregatesResponse ¶
func ParseGetStepAggregatesResponse(rsp *http.Response) (*GetStepAggregatesResponse, error)
ParseGetStepAggregatesResponse parses an HTTP response from a GetStepAggregatesWithResponse call
func (GetStepAggregatesResponse) ContentType ¶
func (r GetStepAggregatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStepAggregatesResponse) GetApplicationproblemJSONDefault ¶
func (r GetStepAggregatesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetStepAggregatesResponse) GetBody ¶
func (r GetStepAggregatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStepAggregatesResponse) GetJSON200 ¶
func (r GetStepAggregatesResponse) GetJSON200() *[]StepAggregate
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetStepAggregatesResponse) Status ¶
func (r GetStepAggregatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetStepAggregatesResponse) StatusCode ¶
func (r GetStepAggregatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowAggregatesJSONRequestBody ¶
type GetWorkflowAggregatesJSONRequestBody = WorkflowAggregatesBody
GetWorkflowAggregatesJSONRequestBody defines body for GetWorkflowAggregates for application/json ContentType.
type GetWorkflowAggregatesResponse ¶
type GetWorkflowAggregatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]WorkflowAggregate
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetWorkflowAggregatesResponse ¶
func ParseGetWorkflowAggregatesResponse(rsp *http.Response) (*GetWorkflowAggregatesResponse, error)
ParseGetWorkflowAggregatesResponse parses an HTTP response from a GetWorkflowAggregatesWithResponse call
func (GetWorkflowAggregatesResponse) ContentType ¶
func (r GetWorkflowAggregatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowAggregatesResponse) GetApplicationproblemJSONDefault ¶
func (r GetWorkflowAggregatesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetWorkflowAggregatesResponse) GetBody ¶
func (r GetWorkflowAggregatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowAggregatesResponse) GetJSON200 ¶
func (r GetWorkflowAggregatesResponse) GetJSON200() *[]WorkflowAggregate
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowAggregatesResponse) Status ¶
func (r GetWorkflowAggregatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowAggregatesResponse) StatusCode ¶
func (r GetWorkflowAggregatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowResponse ¶
type GetWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Workflow
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGetWorkflowResponse ¶
func ParseGetWorkflowResponse(rsp *http.Response) (*GetWorkflowResponse, error)
ParseGetWorkflowResponse parses an HTTP response from a GetWorkflowWithResponse call
func (GetWorkflowResponse) ContentType ¶
func (r GetWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowResponse) GetApplicationproblemJSONDefault ¶
func (r GetWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetWorkflowResponse) GetBody ¶
func (r GetWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowResponse) GetJSON200 ¶
func (r GetWorkflowResponse) GetJSON200() *Workflow
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowResponse) Status ¶
func (r GetWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowResponse) StatusCode ¶
func (r GetWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrantRoleResponse ¶
type GrantRoleResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGrantRoleResponse ¶
func ParseGrantRoleResponse(rsp *http.Response) (*GrantRoleResponse, error)
ParseGrantRoleResponse parses an HTTP response from a GrantRoleWithResponse call
func (GrantRoleResponse) ContentType ¶
func (r GrantRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GrantRoleResponse) GetApplicationproblemJSONDefault ¶
func (r GrantRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GrantRoleResponse) GetBody ¶
func (r GrantRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GrantRoleResponse) Status ¶
func (r GrantRoleResponse) Status() string
Status returns HTTPResponse.Status
func (GrantRoleResponse) StatusCode ¶
func (r GrantRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImportWorkflowInputBody ¶
type ImportWorkflowInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/ImportWorkflowInputBody.json
Schema *string `json:"$schema,omitempty"`
SerializedWorkflow string `json:"serializedWorkflow"`
}
ImportWorkflowInputBody defines model for ImportWorkflowInputBody.
type ImportWorkflowJSONRequestBody ¶
type ImportWorkflowJSONRequestBody = ImportWorkflowInputBody
ImportWorkflowJSONRequestBody defines body for ImportWorkflow for application/json ContentType.
type ImportWorkflowResponse ¶
type ImportWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseImportWorkflowResponse ¶
func ParseImportWorkflowResponse(rsp *http.Response) (*ImportWorkflowResponse, error)
ParseImportWorkflowResponse parses an HTTP response from a ImportWorkflowWithResponse call
func (ImportWorkflowResponse) ContentType ¶
func (r ImportWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImportWorkflowResponse) GetApplicationproblemJSONDefault ¶
func (r ImportWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ImportWorkflowResponse) GetBody ¶
func (r ImportWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImportWorkflowResponse) Status ¶
func (r ImportWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (ImportWorkflowResponse) StatusCode ¶
func (r ImportWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JoinOrgInputBody ¶
type JoinOrgInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/JoinOrgInputBody.json
Schema *string `json:"$schema,omitempty"`
Secret string `json:"secret"`
}
JoinOrgInputBody defines model for JoinOrgInputBody.
type JoinOrgJSONRequestBody ¶
type JoinOrgJSONRequestBody = JoinOrgInputBody
JoinOrgJSONRequestBody defines body for JoinOrg for application/json ContentType.
type JoinOrgResponse ¶
type JoinOrgResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseJoinOrgResponse ¶
func ParseJoinOrgResponse(rsp *http.Response) (*JoinOrgResponse, error)
ParseJoinOrgResponse parses an HTTP response from a JoinOrgWithResponse call
func (JoinOrgResponse) ContentType ¶
func (r JoinOrgResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JoinOrgResponse) GetApplicationproblemJSONDefault ¶
func (r JoinOrgResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (JoinOrgResponse) GetBody ¶
func (r JoinOrgResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JoinOrgResponse) Status ¶
func (r JoinOrgResponse) Status() string
Status returns HTTPResponse.Status
func (JoinOrgResponse) StatusCode ¶
func (r JoinOrgResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAlertingRulesResponse ¶
type ListAlertingRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]AlertingRule
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListAlertingRulesResponse ¶
func ParseListAlertingRulesResponse(rsp *http.Response) (*ListAlertingRulesResponse, error)
ParseListAlertingRulesResponse parses an HTTP response from a ListAlertingRulesWithResponse call
func (ListAlertingRulesResponse) ContentType ¶
func (r ListAlertingRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAlertingRulesResponse) GetApplicationproblemJSONDefault ¶
func (r ListAlertingRulesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListAlertingRulesResponse) GetBody ¶
func (r ListAlertingRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAlertingRulesResponse) GetJSON200 ¶
func (r ListAlertingRulesResponse) GetJSON200() *[]AlertingRule
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAlertingRulesResponse) Status ¶
func (r ListAlertingRulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAlertingRulesResponse) StatusCode ¶
func (r ListAlertingRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppVersionsResponse ¶
type ListAppVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ApplicationVersion
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListAppVersionsResponse ¶
func ParseListAppVersionsResponse(rsp *http.Response) (*ListAppVersionsResponse, error)
ParseListAppVersionsResponse parses an HTTP response from a ListAppVersionsWithResponse call
func (ListAppVersionsResponse) ContentType ¶
func (r ListAppVersionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAppVersionsResponse) GetApplicationproblemJSONDefault ¶
func (r ListAppVersionsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListAppVersionsResponse) GetBody ¶
func (r ListAppVersionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAppVersionsResponse) GetJSON200 ¶
func (r ListAppVersionsResponse) GetJSON200() *[]ApplicationVersion
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAppVersionsResponse) Status ¶
func (r ListAppVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppVersionsResponse) StatusCode ¶
func (r ListAppVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppsResponse ¶
type ListAppsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Application
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListAppsResponse ¶
func ParseListAppsResponse(rsp *http.Response) (*ListAppsResponse, error)
ParseListAppsResponse parses an HTTP response from a ListAppsWithResponse call
func (ListAppsResponse) ContentType ¶
func (r ListAppsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAppsResponse) GetApplicationproblemJSONDefault ¶
func (r ListAppsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListAppsResponse) GetBody ¶
func (r ListAppsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAppsResponse) GetJSON200 ¶
func (r ListAppsResponse) GetJSON200() *[]Application
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAppsResponse) Status ¶
func (r ListAppsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppsResponse) StatusCode ¶
func (r ListAppsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAuditLogsParams ¶
type ListAuditLogsParams struct {
StartTime *time.Time `form:"startTime,omitempty" json:"startTime,omitempty"`
EndTime *time.Time `form:"endTime,omitempty" json:"endTime,omitempty"`
Operation *string `form:"operation,omitempty" json:"operation,omitempty"`
Subject *string `form:"subject,omitempty" json:"subject,omitempty"`
Target *string `form:"target,omitempty" json:"target,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`
}
ListAuditLogsParams defines parameters for ListAuditLogs.
type ListAuditLogsResponse ¶
type ListAuditLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]AuditLogEntry
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListAuditLogsResponse ¶
func ParseListAuditLogsResponse(rsp *http.Response) (*ListAuditLogsResponse, error)
ParseListAuditLogsResponse parses an HTTP response from a ListAuditLogsWithResponse call
func (ListAuditLogsResponse) ContentType ¶
func (r ListAuditLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAuditLogsResponse) GetApplicationproblemJSONDefault ¶
func (r ListAuditLogsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListAuditLogsResponse) GetBody ¶
func (r ListAuditLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAuditLogsResponse) GetJSON200 ¶
func (r ListAuditLogsResponse) GetJSON200() *[]AuditLogEntry
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAuditLogsResponse) Status ¶
func (r ListAuditLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAuditLogsResponse) StatusCode ¶
func (r ListAuditLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDomainClaimsOutputBody ¶
type ListDomainClaimsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/ListDomainClaimsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Claims []DomainClaim `json:"claims"`
}
ListDomainClaimsOutputBody defines model for ListDomainClaimsOutputBody.
type ListDomainClaimsResponse ¶
type ListDomainClaimsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListDomainClaimsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListDomainClaimsResponse ¶
func ParseListDomainClaimsResponse(rsp *http.Response) (*ListDomainClaimsResponse, error)
ParseListDomainClaimsResponse parses an HTTP response from a ListDomainClaimsWithResponse call
func (ListDomainClaimsResponse) ContentType ¶
func (r ListDomainClaimsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDomainClaimsResponse) GetApplicationproblemJSONDefault ¶
func (r ListDomainClaimsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListDomainClaimsResponse) GetBody ¶
func (r ListDomainClaimsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDomainClaimsResponse) GetJSON200 ¶
func (r ListDomainClaimsResponse) GetJSON200() *ListDomainClaimsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDomainClaimsResponse) Status ¶
func (r ListDomainClaimsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDomainClaimsResponse) StatusCode ¶
func (r ListDomainClaimsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListExecutorsResponse ¶
type ListExecutorsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Executor
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListExecutorsResponse ¶
func ParseListExecutorsResponse(rsp *http.Response) (*ListExecutorsResponse, error)
ParseListExecutorsResponse parses an HTTP response from a ListExecutorsWithResponse call
func (ListExecutorsResponse) ContentType ¶
func (r ListExecutorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListExecutorsResponse) GetApplicationproblemJSONDefault ¶
func (r ListExecutorsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListExecutorsResponse) GetBody ¶
func (r ListExecutorsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListExecutorsResponse) GetJSON200 ¶
func (r ListExecutorsResponse) GetJSON200() *[]Executor
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListExecutorsResponse) Status ¶
func (r ListExecutorsResponse) Status() string
Status returns HTTPResponse.Status
func (ListExecutorsResponse) StatusCode ¶
func (r ListExecutorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMembersResponse ¶
type ListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgMembers
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListMembersResponse ¶
func ParseListMembersResponse(rsp *http.Response) (*ListMembersResponse, error)
ParseListMembersResponse parses an HTTP response from a ListMembersWithResponse call
func (ListMembersResponse) ContentType ¶
func (r ListMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMembersResponse) GetApplicationproblemJSONDefault ¶
func (r ListMembersResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListMembersResponse) GetBody ¶
func (r ListMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMembersResponse) GetJSON200 ¶
func (r ListMembersResponse) GetJSON200() *OrgMembers
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMembersResponse) Status ¶
func (r ListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ListMembersResponse) StatusCode ¶
func (r ListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMetricsParams ¶
type ListMetricsParams struct {
StartTime time.Time `form:"startTime" json:"startTime"`
EndTime time.Time `form:"endTime" json:"endTime"`
}
ListMetricsParams defines parameters for ListMetrics.
type ListMetricsResponse ¶
type ListMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Metric
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListMetricsResponse ¶
func ParseListMetricsResponse(rsp *http.Response) (*ListMetricsResponse, error)
ParseListMetricsResponse parses an HTTP response from a ListMetricsWithResponse call
func (ListMetricsResponse) ContentType ¶
func (r ListMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMetricsResponse) GetApplicationproblemJSONDefault ¶
func (r ListMetricsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListMetricsResponse) GetBody ¶
func (r ListMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMetricsResponse) GetJSON200 ¶
func (r ListMetricsResponse) GetJSON200() *[]Metric
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMetricsResponse) Status ¶
func (r ListMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (ListMetricsResponse) StatusCode ¶
func (r ListMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPermissionsResponse ¶
type ListPermissionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]string
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListPermissionsResponse ¶
func ParseListPermissionsResponse(rsp *http.Response) (*ListPermissionsResponse, error)
ParseListPermissionsResponse parses an HTTP response from a ListPermissionsWithResponse call
func (ListPermissionsResponse) ContentType ¶
func (r ListPermissionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPermissionsResponse) GetApplicationproblemJSONDefault ¶
func (r ListPermissionsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListPermissionsResponse) GetBody ¶
func (r ListPermissionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPermissionsResponse) GetJSON200 ¶
func (r ListPermissionsResponse) GetJSON200() *[]string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPermissionsResponse) Status ¶
func (r ListPermissionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPermissionsResponse) StatusCode ¶
func (r ListPermissionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListQueuesResponse ¶
type ListQueuesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Queue
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListQueuesResponse ¶
func ParseListQueuesResponse(rsp *http.Response) (*ListQueuesResponse, error)
ParseListQueuesResponse parses an HTTP response from a ListQueuesWithResponse call
func (ListQueuesResponse) ContentType ¶
func (r ListQueuesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListQueuesResponse) GetApplicationproblemJSONDefault ¶
func (r ListQueuesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListQueuesResponse) GetBody ¶
func (r ListQueuesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListQueuesResponse) GetJSON200 ¶
func (r ListQueuesResponse) GetJSON200() *[]Queue
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListQueuesResponse) Status ¶
func (r ListQueuesResponse) Status() string
Status returns HTTPResponse.Status
func (ListQueuesResponse) StatusCode ¶
func (r ListQueuesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRolesResponse ¶
type ListRolesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]RoleOutput
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListRolesResponse ¶
func ParseListRolesResponse(rsp *http.Response) (*ListRolesResponse, error)
ParseListRolesResponse parses an HTTP response from a ListRolesWithResponse call
func (ListRolesResponse) ContentType ¶
func (r ListRolesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRolesResponse) GetApplicationproblemJSONDefault ¶
func (r ListRolesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListRolesResponse) GetBody ¶
func (r ListRolesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRolesResponse) GetJSON200 ¶
func (r ListRolesResponse) GetJSON200() *[]RoleOutput
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRolesResponse) Status ¶
func (r ListRolesResponse) Status() string
Status returns HTTPResponse.Status
func (ListRolesResponse) StatusCode ¶
func (r ListRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSchedulesParams ¶
type ListSchedulesParams struct {
// Status Filter by schedule status as defined by DBOS Transact. Known values: ACTIVE, PAUSED. Not an enforced enum; unrecognized values simply match nothing.
Status *string `form:"status,omitempty" json:"status,omitempty"`
WorkflowName *string `form:"workflowName,omitempty" json:"workflowName,omitempty"`
ScheduleNamePrefix *string `form:"scheduleNamePrefix,omitempty" json:"scheduleNamePrefix,omitempty"`
LoadContext *bool `form:"loadContext,omitempty" json:"loadContext,omitempty"`
}
ListSchedulesParams defines parameters for ListSchedules.
type ListSchedulesResponse ¶
type ListSchedulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Schedule
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListSchedulesResponse ¶
func ParseListSchedulesResponse(rsp *http.Response) (*ListSchedulesResponse, error)
ParseListSchedulesResponse parses an HTTP response from a ListSchedulesWithResponse call
func (ListSchedulesResponse) ContentType ¶
func (r ListSchedulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSchedulesResponse) GetApplicationproblemJSONDefault ¶
func (r ListSchedulesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListSchedulesResponse) GetBody ¶
func (r ListSchedulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSchedulesResponse) GetJSON200 ¶
func (r ListSchedulesResponse) GetJSON200() *[]Schedule
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSchedulesResponse) Status ¶
func (r ListSchedulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSchedulesResponse) StatusCode ¶
func (r ListSchedulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTokensResponse ¶
type ListTokensResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Token
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListTokensResponse ¶
func ParseListTokensResponse(rsp *http.Response) (*ListTokensResponse, error)
ParseListTokensResponse parses an HTTP response from a ListTokensWithResponse call
func (ListTokensResponse) ContentType ¶
func (r ListTokensResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTokensResponse) GetApplicationproblemJSONDefault ¶
func (r ListTokensResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListTokensResponse) GetBody ¶
func (r ListTokensResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTokensResponse) GetJSON200 ¶
func (r ListTokensResponse) GetJSON200() *[]Token
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTokensResponse) Status ¶
func (r ListTokensResponse) Status() string
Status returns HTTPResponse.Status
func (ListTokensResponse) StatusCode ¶
func (r ListTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowEventsResponse ¶
type ListWorkflowEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Event
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListWorkflowEventsResponse ¶
func ParseListWorkflowEventsResponse(rsp *http.Response) (*ListWorkflowEventsResponse, error)
ParseListWorkflowEventsResponse parses an HTTP response from a ListWorkflowEventsWithResponse call
func (ListWorkflowEventsResponse) ContentType ¶
func (r ListWorkflowEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWorkflowEventsResponse) GetApplicationproblemJSONDefault ¶
func (r ListWorkflowEventsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListWorkflowEventsResponse) GetBody ¶
func (r ListWorkflowEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWorkflowEventsResponse) GetJSON200 ¶
func (r ListWorkflowEventsResponse) GetJSON200() *[]Event
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWorkflowEventsResponse) Status ¶
func (r ListWorkflowEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowEventsResponse) StatusCode ¶
func (r ListWorkflowEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowNotificationsResponse ¶
type ListWorkflowNotificationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Notification
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListWorkflowNotificationsResponse ¶
func ParseListWorkflowNotificationsResponse(rsp *http.Response) (*ListWorkflowNotificationsResponse, error)
ParseListWorkflowNotificationsResponse parses an HTTP response from a ListWorkflowNotificationsWithResponse call
func (ListWorkflowNotificationsResponse) ContentType ¶
func (r ListWorkflowNotificationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWorkflowNotificationsResponse) GetApplicationproblemJSONDefault ¶
func (r ListWorkflowNotificationsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListWorkflowNotificationsResponse) GetBody ¶
func (r ListWorkflowNotificationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWorkflowNotificationsResponse) GetJSON200 ¶
func (r ListWorkflowNotificationsResponse) GetJSON200() *[]Notification
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWorkflowNotificationsResponse) Status ¶
func (r ListWorkflowNotificationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowNotificationsResponse) StatusCode ¶
func (r ListWorkflowNotificationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowStepsParams ¶
type ListWorkflowStepsParams struct {
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`
}
ListWorkflowStepsParams defines parameters for ListWorkflowSteps.
type ListWorkflowStepsResponse ¶
type ListWorkflowStepsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Step
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListWorkflowStepsResponse ¶
func ParseListWorkflowStepsResponse(rsp *http.Response) (*ListWorkflowStepsResponse, error)
ParseListWorkflowStepsResponse parses an HTTP response from a ListWorkflowStepsWithResponse call
func (ListWorkflowStepsResponse) ContentType ¶
func (r ListWorkflowStepsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWorkflowStepsResponse) GetApplicationproblemJSONDefault ¶
func (r ListWorkflowStepsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListWorkflowStepsResponse) GetBody ¶
func (r ListWorkflowStepsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWorkflowStepsResponse) GetJSON200 ¶
func (r ListWorkflowStepsResponse) GetJSON200() *[]Step
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWorkflowStepsResponse) Status ¶
func (r ListWorkflowStepsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowStepsResponse) StatusCode ¶
func (r ListWorkflowStepsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowStreamsResponse ¶
type ListWorkflowStreamsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]StreamEntry
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListWorkflowStreamsResponse ¶
func ParseListWorkflowStreamsResponse(rsp *http.Response) (*ListWorkflowStreamsResponse, error)
ParseListWorkflowStreamsResponse parses an HTTP response from a ListWorkflowStreamsWithResponse call
func (ListWorkflowStreamsResponse) ContentType ¶
func (r ListWorkflowStreamsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWorkflowStreamsResponse) GetApplicationproblemJSONDefault ¶
func (r ListWorkflowStreamsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListWorkflowStreamsResponse) GetBody ¶
func (r ListWorkflowStreamsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWorkflowStreamsResponse) GetJSON200 ¶
func (r ListWorkflowStreamsResponse) GetJSON200() *[]StreamEntry
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWorkflowStreamsResponse) Status ¶
func (r ListWorkflowStreamsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowStreamsResponse) StatusCode ¶
func (r ListWorkflowStreamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowsParams ¶
type ListWorkflowsParams struct {
Status *string `form:"status,omitempty" json:"status,omitempty"`
WorkflowName *string `form:"workflowName,omitempty" json:"workflowName,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`
SortDesc *bool `form:"sortDesc,omitempty" json:"sortDesc,omitempty"`
LoadInput *bool `form:"loadInput,omitempty" json:"loadInput,omitempty"`
LoadOutput *bool `form:"loadOutput,omitempty" json:"loadOutput,omitempty"`
}
ListWorkflowsParams defines parameters for ListWorkflows.
type ListWorkflowsResponse ¶
type ListWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Workflow
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseListWorkflowsResponse ¶
func ParseListWorkflowsResponse(rsp *http.Response) (*ListWorkflowsResponse, error)
ParseListWorkflowsResponse parses an HTTP response from a ListWorkflowsWithResponse call
func (ListWorkflowsResponse) ContentType ¶
func (r ListWorkflowsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWorkflowsResponse) GetApplicationproblemJSONDefault ¶
func (r ListWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListWorkflowsResponse) GetBody ¶
func (r ListWorkflowsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWorkflowsResponse) GetJSON200 ¶
func (r ListWorkflowsResponse) GetJSON200() *[]Workflow
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWorkflowsResponse) Status ¶
func (r ListWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowsResponse) StatusCode ¶
func (r ListWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Member ¶
type Member struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/Member.json
Schema *string `json:"$schema,omitempty"`
Company string `json:"company"`
Email string `json:"email"`
FamilyName string `json:"familyName"`
GivenName string `json:"givenName"`
Id string `json:"id"`
Name string `json:"name"`
OrgId string `json:"orgId"`
}
Member defines model for Member.
type Metric ¶
type Metric struct {
AppId string `json:"appId"`
Granularity int32 `json:"granularity"`
MetricName string `json:"metricName"`
// MetricType Metric type. Known values: workflow_count, step_count (reported by executor SDKs), recovery_count (reported by Conductor). Not an enforced enum; newer SDK versions may report additional values.
MetricType string `json:"metricType"`
TimeBucket time.Time `json:"timeBucket"`
Value int64 `json:"value"`
}
Metric defines model for Metric.
type Notification ¶
type Notification struct {
Consumed bool `json:"consumed"`
CreatedAt time.Time `json:"createdAt"`
Message string `json:"message"`
Topic *string `json:"topic"`
}
Notification defines model for Notification.
type OrgMembers ¶
type OrgMembers struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/OrgMembers.json
Schema *string `json:"$schema,omitempty"`
OrgName string `json:"orgName"`
Users map[string]RoleOutput `json:"users"`
}
OrgMembers defines model for OrgMembers.
type Organization ¶
type Organization struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/Organization.json
Schema *string `json:"$schema,omitempty"`
AuditLogRetentionDays int32 `json:"auditLogRetentionDays"`
CreatedAt time.Time `json:"createdAt"`
DefaultRdsInstanceClassType string `json:"defaultRdsInstanceClassType"`
Id string `json:"id"`
MaxApps int32 `json:"maxApps"`
MaxConductorApps int32 `json:"maxConductorApps"`
MaxDatabaseInstances int32 `json:"maxDatabaseInstances"`
MaxTeamMembers int32 `json:"maxTeamMembers"`
MaxVms int32 `json:"maxVms"`
Name string `json:"name"`
SubscriptionPlan OrganizationSubscriptionPlan `json:"subscriptionPlan"`
}
Organization defines model for Organization.
type OrganizationSubscriptionPlan ¶
type OrganizationSubscriptionPlan string
OrganizationSubscriptionPlan defines model for Organization.SubscriptionPlan.
const ( OrganizationSubscriptionPlanFree OrganizationSubscriptionPlan = "free" OrganizationSubscriptionPlanPastLimit OrganizationSubscriptionPlan = "past_limit" OrganizationSubscriptionPlanPro OrganizationSubscriptionPlan = "pro" OrganizationSubscriptionPlanTeam OrganizationSubscriptionPlan = "team" )
Defines values for OrganizationSubscriptionPlan.
func (OrganizationSubscriptionPlan) Valid ¶
func (e OrganizationSubscriptionPlan) Valid() bool
Valid indicates whether the value is a known member of the OrganizationSubscriptionPlan enum.
type PatchAppInputBody ¶
type PatchAppInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/PatchAppInputBody.json
Schema *string `json:"$schema,omitempty"`
ExecutorTimeoutSecs *int64 `json:"executorTimeoutSecs,omitempty"`
GcRowsThreshold *int64 `json:"gcRowsThreshold,omitempty"`
GcTimeThresholdMs *int64 `json:"gcTimeThresholdMs,omitempty"`
GlobalTimeoutMs *int64 `json:"globalTimeoutMs,omitempty"`
PrivateMode *bool `json:"privateMode,omitempty"`
}
PatchAppInputBody defines model for PatchAppInputBody.
type PatchLatestVersionInputBody ¶
type PatchLatestVersionInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/PatchLatestVersionInputBody.json
Schema *string `json:"$schema,omitempty"`
VersionName string `json:"versionName"`
}
PatchLatestVersionInputBody defines model for PatchLatestVersionInputBody.
type PauseScheduleResponse ¶
type PauseScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePauseScheduleResponse ¶
func ParsePauseScheduleResponse(rsp *http.Response) (*PauseScheduleResponse, error)
ParsePauseScheduleResponse parses an HTTP response from a PauseScheduleWithResponse call
func (PauseScheduleResponse) ContentType ¶
func (r PauseScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PauseScheduleResponse) GetApplicationproblemJSONDefault ¶
func (r PauseScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PauseScheduleResponse) GetBody ¶
func (r PauseScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PauseScheduleResponse) Status ¶
func (r PauseScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (PauseScheduleResponse) StatusCode ¶
func (r PauseScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PolicyOutputBody ¶
type PolicyOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/PolicyOutputBody.json
Schema *string `json:"$schema,omitempty"`
Policy AutoscalePolicy `json:"policy"`
}
PolicyOutputBody defines model for PolicyOutputBody.
type PutAppInputBody ¶
type PutAppInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/PutAppInputBody.json
Schema *string `json:"$schema,omitempty"`
PrivateMode *bool `json:"privateMode,omitempty"`
}
PutAppInputBody defines model for PutAppInputBody.
type Queue ¶
type Queue struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/Queue.json
Schema *string `json:"$schema,omitempty"`
// ApplicationName The application that owns this queue, when several applications share a system database. Null for in-memory queues and for queues recorded before DBOS Transact tracked application names.
ApplicationName *string `json:"applicationName"`
Concurrency *int32 `json:"concurrency"`
Name string `json:"name"`
PartitionQueue bool `json:"partitionQueue"`
PollingIntervalSecs float64 `json:"pollingIntervalSecs"`
PriorityEnabled bool `json:"priorityEnabled"`
RateLimitMax *int32 `json:"rateLimitMax"`
RateLimitPeriodSecs *float64 `json:"rateLimitPeriodSecs"`
WorkerConcurrency *int32 `json:"workerConcurrency"`
}
Queue defines model for Queue.
type QueueAutoscale ¶
type QueueAutoscale struct {
// ApplicationVersion The application version this recommendation covers.
ApplicationVersion string `json:"applicationVersion"`
// DesiredExecutors Executors of this version needed to satisfy the queue load. At least 1, unless the rollout policy caps old versions lower.
DesiredExecutors int64 `json:"desiredExecutors"`
// IsLatest True for the application's latest registered version.
IsLatest bool `json:"isLatest"`
// ObservedAt Epoch ms when the underlying workflow aggregate was computed.
ObservedAt int64 `json:"observedAt"`
// QueueDepth ENQUEUED+PENDING backlog counted for this version on the policy queue.
QueueDepth int64 `json:"queueDepth"`
// QueueName The policy queue; absent when it is no longer usable.
QueueName *string `json:"queueName,omitempty"`
}
QueueAutoscale defines model for QueueAutoscale.
type RegisterAppJSONRequestBody ¶
type RegisterAppJSONRequestBody = PutAppInputBody
RegisterAppJSONRequestBody defines body for RegisterApp for application/json ContentType.
type RegisterAppResponse ¶
type RegisterAppResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseRegisterAppResponse ¶
func ParseRegisterAppResponse(rsp *http.Response) (*RegisterAppResponse, error)
ParseRegisterAppResponse parses an HTTP response from a RegisterAppWithResponse call
func (RegisterAppResponse) ContentType ¶
func (r RegisterAppResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RegisterAppResponse) GetApplicationproblemJSONDefault ¶
func (r RegisterAppResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RegisterAppResponse) GetBody ¶
func (r RegisterAppResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RegisterAppResponse) Status ¶
func (r RegisterAppResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterAppResponse) StatusCode ¶
func (r RegisterAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegisterUserInputBody ¶
type RegisterUserInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/RegisterUserInputBody.json
Schema *string `json:"$schema,omitempty"`
Company *string `json:"company,omitempty"`
FamilyName *string `json:"familyName,omitempty"`
GivenName *string `json:"givenName,omitempty"`
Name string `json:"name"`
Secret *string `json:"secret,omitempty"`
}
RegisterUserInputBody defines model for RegisterUserInputBody.
type RegisterUserJSONRequestBody ¶
type RegisterUserJSONRequestBody = RegisterUserInputBody
RegisterUserJSONRequestBody defines body for RegisterUser for application/json ContentType.
type RegisterUserOutputBody ¶
type RegisterUserOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/RegisterUserOutputBody.json
Schema *string `json:"$schema,omitempty"`
Id string `json:"id"`
}
RegisterUserOutputBody defines model for RegisterUserOutputBody.
type RegisterUserResponse ¶
type RegisterUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *RegisterUserOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseRegisterUserResponse ¶
func ParseRegisterUserResponse(rsp *http.Response) (*RegisterUserResponse, error)
ParseRegisterUserResponse parses an HTTP response from a RegisterUserWithResponse call
func (RegisterUserResponse) ContentType ¶
func (r RegisterUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RegisterUserResponse) GetApplicationproblemJSONDefault ¶
func (r RegisterUserResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RegisterUserResponse) GetBody ¶
func (r RegisterUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RegisterUserResponse) GetJSON201 ¶
func (r RegisterUserResponse) GetJSON201() *RegisterUserOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (RegisterUserResponse) Status ¶
func (r RegisterUserResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterUserResponse) StatusCode ¶
func (r RegisterUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReleaseDomainClaimResponse ¶
type ReleaseDomainClaimResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseReleaseDomainClaimResponse ¶
func ParseReleaseDomainClaimResponse(rsp *http.Response) (*ReleaseDomainClaimResponse, error)
ParseReleaseDomainClaimResponse parses an HTTP response from a ReleaseDomainClaimWithResponse call
func (ReleaseDomainClaimResponse) ContentType ¶
func (r ReleaseDomainClaimResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReleaseDomainClaimResponse) GetApplicationproblemJSONDefault ¶
func (r ReleaseDomainClaimResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ReleaseDomainClaimResponse) GetBody ¶
func (r ReleaseDomainClaimResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReleaseDomainClaimResponse) Status ¶
func (r ReleaseDomainClaimResponse) Status() string
Status returns HTTPResponse.Status
func (ReleaseDomainClaimResponse) StatusCode ¶
func (r ReleaseDomainClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveMemberResponse ¶
type RemoveMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Member
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseRemoveMemberResponse ¶
func ParseRemoveMemberResponse(rsp *http.Response) (*RemoveMemberResponse, error)
ParseRemoveMemberResponse parses an HTTP response from a RemoveMemberWithResponse call
func (RemoveMemberResponse) ContentType ¶
func (r RemoveMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveMemberResponse) GetApplicationproblemJSONDefault ¶
func (r RemoveMemberResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RemoveMemberResponse) GetBody ¶
func (r RemoveMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveMemberResponse) GetJSON200 ¶
func (r RemoveMemberResponse) GetJSON200() *Member
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RemoveMemberResponse) Status ¶
func (r RemoveMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveMemberResponse) StatusCode ¶
func (r RemoveMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestDomainClaimInputBody ¶
type RequestDomainClaimInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/RequestDomainClaimInputBody.json
Schema *string `json:"$schema,omitempty"`
// Domain The email domain to claim, e.g. "example.com". On DBOS-managed Conductor the claim has no effect until a DBOS administrator approves it. On self-hosted Conductor it takes effect immediately, with no review. Subdomains are not matched; claim them separately.
//
// Examples: example.com
Domain string `json:"domain"`
}
RequestDomainClaimInputBody defines model for RequestDomainClaimInputBody.
type RequestDomainClaimJSONRequestBody ¶
type RequestDomainClaimJSONRequestBody = RequestDomainClaimInputBody
RequestDomainClaimJSONRequestBody defines body for RequestDomainClaim for application/json ContentType.
type RequestDomainClaimResponse ¶
type RequestDomainClaimResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DomainClaim
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseRequestDomainClaimResponse ¶
func ParseRequestDomainClaimResponse(rsp *http.Response) (*RequestDomainClaimResponse, error)
ParseRequestDomainClaimResponse parses an HTTP response from a RequestDomainClaimWithResponse call
func (RequestDomainClaimResponse) ContentType ¶
func (r RequestDomainClaimResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RequestDomainClaimResponse) GetApplicationproblemJSONDefault ¶
func (r RequestDomainClaimResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RequestDomainClaimResponse) GetBody ¶
func (r RequestDomainClaimResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RequestDomainClaimResponse) GetJSON201 ¶
func (r RequestDomainClaimResponse) GetJSON201() *DomainClaim
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (RequestDomainClaimResponse) Status ¶
func (r RequestDomainClaimResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDomainClaimResponse) StatusCode ¶
func (r RequestDomainClaimResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResumeScheduleResponse ¶
type ResumeScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseResumeScheduleResponse ¶
func ParseResumeScheduleResponse(rsp *http.Response) (*ResumeScheduleResponse, error)
ParseResumeScheduleResponse parses an HTTP response from a ResumeScheduleWithResponse call
func (ResumeScheduleResponse) ContentType ¶
func (r ResumeScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResumeScheduleResponse) GetApplicationproblemJSONDefault ¶
func (r ResumeScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ResumeScheduleResponse) GetBody ¶
func (r ResumeScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResumeScheduleResponse) Status ¶
func (r ResumeScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeScheduleResponse) StatusCode ¶
func (r ResumeScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeWorkflowInputBody ¶
type ResumeWorkflowInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/ResumeWorkflowInputBody.json
Schema *string `json:"$schema,omitempty"`
QueueName *string `json:"queueName,omitempty"`
}
ResumeWorkflowInputBody defines model for ResumeWorkflowInputBody.
type ResumeWorkflowJSONRequestBody ¶
type ResumeWorkflowJSONRequestBody = ResumeWorkflowInputBody
ResumeWorkflowJSONRequestBody defines body for ResumeWorkflow for application/json ContentType.
type ResumeWorkflowResponse ¶
type ResumeWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseResumeWorkflowResponse ¶
func ParseResumeWorkflowResponse(rsp *http.Response) (*ResumeWorkflowResponse, error)
ParseResumeWorkflowResponse parses an HTTP response from a ResumeWorkflowWithResponse call
func (ResumeWorkflowResponse) ContentType ¶
func (r ResumeWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResumeWorkflowResponse) GetApplicationproblemJSONDefault ¶
func (r ResumeWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ResumeWorkflowResponse) GetBody ¶
func (r ResumeWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResumeWorkflowResponse) Status ¶
func (r ResumeWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeWorkflowResponse) StatusCode ¶
func (r ResumeWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RoleOutput ¶
type RoleOutput struct {
IsGlobal bool `json:"isGlobal"`
Name string `json:"name"`
Permissions []string `json:"permissions"`
}
RoleOutput defines model for RoleOutput.
type RolloutPolicy ¶
type RolloutPolicy struct {
// MaxExecutorsForOldApplicationVersions Cap every old version's recommendation at this many executors. Omit to size old versions from their own queue utilization, uncapped.
MaxExecutorsForOldApplicationVersions *int64 `json:"maxExecutorsForOldApplicationVersions,omitempty"`
// MaxOldApplicationVersions How many old application versions the autoscale response may include, newest registered first. Defaults to 0: only the latest version is reported.
MaxOldApplicationVersions *int64 `json:"maxOldApplicationVersions,omitempty"`
}
RolloutPolicy defines model for RolloutPolicy.
type Schedule ¶
type Schedule struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/Schedule.json
Schema *string `json:"$schema,omitempty"`
// ApplicationName The application that owns this schedule, when several applications share a system database. Null for schedules recorded before DBOS Transact tracked application names.
ApplicationName *string `json:"applicationName"`
AutomaticBackfill bool `json:"automaticBackfill"`
Context *string `json:"context"`
CronExpression string `json:"cronExpression"`
CronTimezone *string `json:"cronTimezone"`
LastFiredAt *time.Time `json:"lastFiredAt"`
ScheduleId string `json:"scheduleId"`
ScheduleName string `json:"scheduleName"`
// Status Schedule status as reported by DBOS Transact. Known values: ACTIVE, PAUSED. Not an enforced enum; newer SDK versions may report additional values.
Status string `json:"status"`
WorkflowClass *string `json:"workflowClass"`
WorkflowName string `json:"workflowName"`
}
Schedule defines model for Schedule.
type SearchWorkflowsJSONRequestBody ¶
type SearchWorkflowsJSONRequestBody = WorkflowSearchBody
SearchWorkflowsJSONRequestBody defines body for SearchWorkflows for application/json ContentType.
type SearchWorkflowsResponse ¶
type SearchWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Workflow
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseSearchWorkflowsResponse ¶
func ParseSearchWorkflowsResponse(rsp *http.Response) (*SearchWorkflowsResponse, error)
ParseSearchWorkflowsResponse parses an HTTP response from a SearchWorkflowsWithResponse call
func (SearchWorkflowsResponse) ContentType ¶
func (r SearchWorkflowsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SearchWorkflowsResponse) GetApplicationproblemJSONDefault ¶
func (r SearchWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SearchWorkflowsResponse) GetBody ¶
func (r SearchWorkflowsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SearchWorkflowsResponse) GetJSON200 ¶
func (r SearchWorkflowsResponse) GetJSON200() *[]Workflow
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SearchWorkflowsResponse) Status ¶
func (r SearchWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (SearchWorkflowsResponse) StatusCode ¶
func (r SearchWorkflowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetAutoscalingPolicyJSONRequestBody ¶
type SetAutoscalingPolicyJSONRequestBody = AutoscalePolicy
SetAutoscalingPolicyJSONRequestBody defines body for SetAutoscalingPolicy for application/json ContentType.
type SetAutoscalingPolicyResponse ¶
type SetAutoscalingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PolicyOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseSetAutoscalingPolicyResponse ¶
func ParseSetAutoscalingPolicyResponse(rsp *http.Response) (*SetAutoscalingPolicyResponse, error)
ParseSetAutoscalingPolicyResponse parses an HTTP response from a SetAutoscalingPolicyWithResponse call
func (SetAutoscalingPolicyResponse) ContentType ¶
func (r SetAutoscalingPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault ¶
func (r SetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SetAutoscalingPolicyResponse) GetBody ¶
func (r SetAutoscalingPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetAutoscalingPolicyResponse) GetJSON200 ¶
func (r SetAutoscalingPolicyResponse) GetJSON200() *PolicyOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetAutoscalingPolicyResponse) Status ¶
func (r SetAutoscalingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (SetAutoscalingPolicyResponse) StatusCode ¶
func (r SetAutoscalingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetLatestAppVersionJSONRequestBody ¶
type SetLatestAppVersionJSONRequestBody = PatchLatestVersionInputBody
SetLatestAppVersionJSONRequestBody defines body for SetLatestAppVersion for application/json ContentType.
type SetLatestAppVersionResponse ¶
type SetLatestAppVersionResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseSetLatestAppVersionResponse ¶
func ParseSetLatestAppVersionResponse(rsp *http.Response) (*SetLatestAppVersionResponse, error)
ParseSetLatestAppVersionResponse parses an HTTP response from a SetLatestAppVersionWithResponse call
func (SetLatestAppVersionResponse) ContentType ¶
func (r SetLatestAppVersionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetLatestAppVersionResponse) GetApplicationproblemJSONDefault ¶
func (r SetLatestAppVersionResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SetLatestAppVersionResponse) GetBody ¶
func (r SetLatestAppVersionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetLatestAppVersionResponse) Status ¶
func (r SetLatestAppVersionResponse) Status() string
Status returns HTTPResponse.Status
func (SetLatestAppVersionResponse) StatusCode ¶
func (r SetLatestAppVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Step ¶
type Step struct {
ChildWorkflowId *string `json:"childWorkflowId"`
CompletedAt *time.Time `json:"completedAt"`
Error *string `json:"error"`
Output *string `json:"output"`
StartedAt *time.Time `json:"startedAt"`
StepId int32 `json:"stepId"`
StepName string `json:"stepName"`
}
Step defines model for Step.
type StepAggregate ¶
type StepAggregate struct {
Count *int64 `json:"count,omitempty"`
Group map[string]*string `json:"group"`
MaxDurationMs *int64 `json:"maxDurationMs,omitempty"`
}
StepAggregate defines model for StepAggregate.
type StepAggregatesBody ¶
type StepAggregatesBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/StepAggregatesBody.json
Schema *string `json:"$schema,omitempty"`
CompletedAfter *time.Time `json:"completedAfter,omitempty"`
CompletedBefore *time.Time `json:"completedBefore,omitempty"`
GroupByFunctionName *bool `json:"groupByFunctionName,omitempty"`
GroupByStatus *bool `json:"groupByStatus,omitempty"`
SelectCount *bool `json:"selectCount,omitempty"`
SelectMaxDurationMs *bool `json:"selectMaxDurationMs,omitempty"`
// Status Filter by step status as defined by DBOS Transact. Known values: SUCCESS, ERROR. Not an enforced enum; unrecognized values simply match nothing.
Status *[]string `json:"status,omitempty"`
StepName *[]string `json:"stepName,omitempty"`
TimeBucketSizeMs *int64 `json:"timeBucketSizeMs,omitempty"`
WorkflowIdPrefix *[]string `json:"workflowIdPrefix,omitempty"`
}
StepAggregatesBody defines model for StepAggregatesBody.
type StreamEntry ¶
StreamEntry defines model for StreamEntry.
type Token ¶
type Token struct {
AppIds []string `json:"appIds"`
CreatedAt time.Time `json:"createdAt"`
Permissions []string `json:"permissions"`
TokenName string `json:"tokenName"`
}
Token defines model for Token.
type TokenCreated ¶
type TokenCreated struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/TokenCreated.json
Schema *string `json:"$schema,omitempty"`
Token string `json:"token"`
TokenName string `json:"tokenName"`
}
TokenCreated defines model for TokenCreated.
type TriggerOutputBody ¶
type TriggerOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/TriggerOutputBody.json
Schema *string `json:"$schema,omitempty"`
WorkflowId string `json:"workflowId"`
}
TriggerOutputBody defines model for TriggerOutputBody.
type TriggerScheduleResponse ¶
type TriggerScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TriggerOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *TriggerScheduleResponse201Headers
}
func ParseTriggerScheduleResponse ¶
func ParseTriggerScheduleResponse(rsp *http.Response) (*TriggerScheduleResponse, error)
ParseTriggerScheduleResponse parses an HTTP response from a TriggerScheduleWithResponse call
func (TriggerScheduleResponse) ContentType ¶
func (r TriggerScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TriggerScheduleResponse) GetApplicationproblemJSONDefault ¶
func (r TriggerScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TriggerScheduleResponse) GetBody ¶
func (r TriggerScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TriggerScheduleResponse) GetJSON201 ¶
func (r TriggerScheduleResponse) GetJSON201() *TriggerOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (TriggerScheduleResponse) Status ¶
func (r TriggerScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (TriggerScheduleResponse) StatusCode ¶
func (r TriggerScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TriggerScheduleResponse201Headers ¶
type TriggerScheduleResponse201Headers struct {
Location *string
}
TriggerScheduleResponse201Headers the declared response headers of an HTTP 201 response for TriggerSchedule
type UpdateAppJSONRequestBody ¶
type UpdateAppJSONRequestBody = PatchAppInputBody
UpdateAppJSONRequestBody defines body for UpdateApp for application/json ContentType.
type UpdateAppResponse ¶
type UpdateAppResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseUpdateAppResponse ¶
func ParseUpdateAppResponse(rsp *http.Response) (*UpdateAppResponse, error)
ParseUpdateAppResponse parses an HTTP response from a UpdateAppWithResponse call
func (UpdateAppResponse) ContentType ¶
func (r UpdateAppResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateAppResponse) GetApplicationproblemJSONDefault ¶
func (r UpdateAppResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (UpdateAppResponse) GetBody ¶
func (r UpdateAppResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateAppResponse) Status ¶
func (r UpdateAppResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAppResponse) StatusCode ¶
func (r UpdateAppResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrgInputBody ¶
type UpdateOrgInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/UpdateOrgInputBody.json
Schema *string `json:"$schema,omitempty"`
AuditLogRetentionDays *int32 `json:"auditLogRetentionDays,omitempty"`
NewName *string `json:"newName,omitempty"`
}
UpdateOrgInputBody defines model for UpdateOrgInputBody.
type UpdateOrgJSONRequestBody ¶
type UpdateOrgJSONRequestBody = UpdateOrgInputBody
UpdateOrgJSONRequestBody defines body for UpdateOrg for application/json ContentType.
type UpdateOrgResponse ¶
type UpdateOrgResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseUpdateOrgResponse ¶
func ParseUpdateOrgResponse(rsp *http.Response) (*UpdateOrgResponse, error)
ParseUpdateOrgResponse parses an HTTP response from a UpdateOrgWithResponse call
func (UpdateOrgResponse) ContentType ¶
func (r UpdateOrgResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrgResponse) GetApplicationproblemJSONDefault ¶
func (r UpdateOrgResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (UpdateOrgResponse) GetBody ¶
func (r UpdateOrgResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrgResponse) Status ¶
func (r UpdateOrgResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrgResponse) StatusCode ¶
func (r UpdateOrgResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserProfile ¶
type UserProfile struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/UserProfile.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Email string `json:"email"`
// IsDbosAdmin Present and true only for DBOS administrators; omitted otherwise.
IsDbosAdmin *bool `json:"isDbosAdmin,omitempty"`
Name string `json:"name"`
OrgId string `json:"orgId"`
OrgName string `json:"orgName"`
Role *RoleOutput `json:"role,omitempty"`
SubscriptionPlan UserProfileSubscriptionPlan `json:"subscriptionPlan"`
}
UserProfile defines model for UserProfile.
type UserProfileSubscriptionPlan ¶
type UserProfileSubscriptionPlan string
UserProfileSubscriptionPlan defines model for UserProfile.SubscriptionPlan.
const ( UserProfileSubscriptionPlanFree UserProfileSubscriptionPlan = "free" UserProfileSubscriptionPlanPastLimit UserProfileSubscriptionPlan = "past_limit" UserProfileSubscriptionPlanPro UserProfileSubscriptionPlan = "pro" UserProfileSubscriptionPlanTeam UserProfileSubscriptionPlan = "team" )
Defines values for UserProfileSubscriptionPlan.
func (UserProfileSubscriptionPlan) Valid ¶
func (e UserProfileSubscriptionPlan) Valid() bool
Valid indicates whether the value is a known member of the UserProfileSubscriptionPlan enum.
type Workflow ¶
type Workflow struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/Workflow.json
Schema *string `json:"$schema,omitempty"`
AppVersion *string `json:"appVersion"`
// ApplicationName The application that owns this workflow, when several applications share a system database. Null for workflows recorded before DBOS Transact tracked application names.
ApplicationName *string `json:"applicationName"`
AssumedRole *string `json:"assumedRole"`
Attributes *string `json:"attributes"`
CompletedAt *time.Time `json:"completedAt"`
CreatedAt time.Time `json:"createdAt"`
Deadline *time.Time `json:"deadline"`
DeduplicationId *string `json:"deduplicationId"`
DelayUntil *time.Time `json:"delayUntil"`
DequeuedAt *time.Time `json:"dequeuedAt"`
Error *string `json:"error"`
ExecutorId *string `json:"executorId"`
ForkedFrom *string `json:"forkedFrom"`
Input *string `json:"input"`
Output *string `json:"output"`
ParentWorkflowId *string `json:"parentWorkflowId"`
Priority int32 `json:"priority"`
QueueName *string `json:"queueName"`
QueuePartitionKey *string `json:"queuePartitionKey"`
Roles *string `json:"roles"`
ScheduleName *string `json:"scheduleName"`
// Status Workflow status as reported by DBOS Transact. Known values: ENQUEUED, DELAYED, PENDING, SUCCESS, ERROR, MAX_RECOVERY_ATTEMPTS_EXCEEDED, CANCELLED. Not an enforced enum; newer SDK versions may report additional values.
Status string `json:"status"`
TimeoutMs *int64 `json:"timeoutMs"`
UpdatedAt time.Time `json:"updatedAt"`
User *string `json:"user"`
WasForkedFrom bool `json:"wasForkedFrom"`
WorkflowClass *string `json:"workflowClass"`
WorkflowConfig *string `json:"workflowConfig"`
WorkflowId string `json:"workflowId"`
WorkflowName *string `json:"workflowName"`
}
Workflow defines model for Workflow.
type WorkflowAggregate ¶
type WorkflowAggregate struct {
Count *int64 `json:"count,omitempty"`
Group map[string]*string `json:"group"`
MaxQueueWaitMs *int64 `json:"maxQueueWaitMs,omitempty"`
MaxTotalLatencyMs *int64 `json:"maxTotalLatencyMs,omitempty"`
MinCreatedAt *time.Time `json:"minCreatedAt,omitempty"`
}
WorkflowAggregate defines model for WorkflowAggregate.
type WorkflowAggregatesBody ¶
type WorkflowAggregatesBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/WorkflowAggregatesBody.json
Schema *string `json:"$schema,omitempty"`
AppVersion *[]string `json:"appVersion,omitempty"`
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CompletedAfter *time.Time `json:"completedAfter,omitempty"`
CompletedBefore *time.Time `json:"completedBefore,omitempty"`
DequeuedAfter *time.Time `json:"dequeuedAfter,omitempty"`
DequeuedBefore *time.Time `json:"dequeuedBefore,omitempty"`
EndTime *time.Time `json:"endTime,omitempty"`
ExecutorId *[]string `json:"executorId,omitempty"`
ForkedFrom *[]string `json:"forkedFrom,omitempty"`
GroupByAppVersion *bool `json:"groupByAppVersion,omitempty"`
GroupByApplicationName *bool `json:"groupByApplicationName,omitempty"`
GroupByExecutorId *bool `json:"groupByExecutorId,omitempty"`
GroupByQueueName *bool `json:"groupByQueueName,omitempty"`
GroupByStatus *bool `json:"groupByStatus,omitempty"`
GroupByWorkflowName *bool `json:"groupByWorkflowName,omitempty"`
HasParent *bool `json:"hasParent,omitempty"`
ParentWorkflowId *[]string `json:"parentWorkflowId,omitempty"`
QueueName *[]string `json:"queueName,omitempty"`
ScheduleName *[]string `json:"scheduleName,omitempty"`
SelectCount *bool `json:"selectCount,omitempty"`
SelectMaxQueueWaitMs *bool `json:"selectMaxQueueWaitMs,omitempty"`
SelectMaxTotalLatencyMs *bool `json:"selectMaxTotalLatencyMs,omitempty"`
SelectMinCreatedAt *bool `json:"selectMinCreatedAt,omitempty"`
StartTime *time.Time `json:"startTime,omitempty"`
Status *[]string `json:"status,omitempty"`
TimeBucketSizeMs *int64 `json:"timeBucketSizeMs,omitempty"`
User *[]string `json:"user,omitempty"`
WasForkedFrom *bool `json:"wasForkedFrom,omitempty"`
WorkflowIdPrefix *[]string `json:"workflowIdPrefix,omitempty"`
WorkflowIds *[]string `json:"workflowIds,omitempty"`
WorkflowName *[]string `json:"workflowName,omitempty"`
}
WorkflowAggregatesBody defines model for WorkflowAggregatesBody.
type WorkflowSearchBody ¶
type WorkflowSearchBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: //schemas/WorkflowSearchBody.json
Schema *string `json:"$schema,omitempty"`
AppVersion *[]string `json:"appVersion,omitempty"`
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CompletedAfter *time.Time `json:"completedAfter,omitempty"`
CompletedBefore *time.Time `json:"completedBefore,omitempty"`
DequeuedAfter *time.Time `json:"dequeuedAfter,omitempty"`
DequeuedBefore *time.Time `json:"dequeuedBefore,omitempty"`
EndTime *time.Time `json:"endTime,omitempty"`
ExecutorId *[]string `json:"executorId,omitempty"`
ForkedFrom *[]string `json:"forkedFrom,omitempty"`
HasParent *bool `json:"hasParent,omitempty"`
Limit *int64 `json:"limit,omitempty"`
LoadInput *bool `json:"loadInput,omitempty"`
LoadOutput *bool `json:"loadOutput,omitempty"`
Offset *int64 `json:"offset,omitempty"`
ParentWorkflowId *[]string `json:"parentWorkflowId,omitempty"`
QueueName *[]string `json:"queueName,omitempty"`
QueuesOnly *bool `json:"queuesOnly,omitempty"`
ScheduleName *[]string `json:"scheduleName,omitempty"`
SortDesc *bool `json:"sortDesc,omitempty"`
StartTime *time.Time `json:"startTime,omitempty"`
Status *[]string `json:"status,omitempty"`
User *[]string `json:"user,omitempty"`
WasForkedFrom *bool `json:"wasForkedFrom,omitempty"`
WorkflowIdPrefix *[]string `json:"workflowIdPrefix,omitempty"`
WorkflowIds *[]string `json:"workflowIds,omitempty"`
WorkflowName *[]string `json:"workflowName,omitempty"`
}
WorkflowSearchBody defines model for WorkflowSearchBody.