Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.1 DO NOT EDIT.
Index ¶
- func NewChangeSuperuserPasswordRequest(server string, body ChangeSuperuserPasswordJSONRequestBody) (*http.Request, error)
- func NewChangeSuperuserPasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewChangeUserPasswordRequest(server string, userID int, body ChangeUserPasswordJSONRequestBody) (*http.Request, error)
- func NewChangeUserPasswordRequestWithBody(server string, userID int, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)
- func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateUserRequest(server string, body CreateUserJSONRequestBody) (*http.Request, error)
- func NewCreateUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteDebugSessionRequest(server string, backend string, sessionId int) (*http.Request, error)
- func NewDeleteGroupRequest(server string, groupID int) (*http.Request, error)
- func NewDeleteUserRequest(server string, userID int) (*http.Request, error)
- func NewExtendDebugSessionRequest(server string, backend string, sessionId int, ...) (*http.Request, error)
- func NewExtendDebugSessionRequestWithBody(server string, backend string, sessionId int, contentType string, ...) (*http.Request, error)
- func NewGetBackendOASRequest(server string, backend string) (*http.Request, error)
- func NewGetDebugSessionCallRequest(server string, backend string, sessionId int, callId int) (*http.Request, error)
- func NewGetDebugSessionRequest(server string, backend string, sessionId int) (*http.Request, error)
- func NewGetFlowRequest(server string) (*http.Request, error)
- func NewGetGroupRequest(server string, groupID int) (*http.Request, error)
- func NewGetGroupsRequest(server string) (*http.Request, error)
- func NewGetMeRequest(server string) (*http.Request, error)
- func NewGetPermissionsRequest(server string) (*http.Request, error)
- func NewGetUserRequest(server string, userID int) (*http.Request, error)
- func NewGetUsersRequest(server string) (*http.Request, error)
- func NewListDebugSessionCallsRequest(server string, backend string, sessionId int, ...) (*http.Request, error)
- func NewListDebugSessionsRequest(server string, backend string) (*http.Request, error)
- func NewLoginRequest(server string, body LoginJSONRequestBody) (*http.Request, error)
- func NewLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoginSuperuserRequest(server string, body LoginSuperuserJSONRequestBody) (*http.Request, error)
- func NewLoginSuperuserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLogoutRequest(server string) (*http.Request, error)
- func NewLogoutSuperuserRequest(server string) (*http.Request, error)
- func NewRefreshSuperuserSessionRequest(server string) (*http.Request, error)
- func NewRefreshUserSessionRequest(server string) (*http.Request, error)
- func NewResetUserPasswordRequest(server string, userID int, body ResetUserPasswordJSONRequestBody) (*http.Request, error)
- func NewResetUserPasswordRequestWithBody(server string, userID int, contentType string, body io.Reader) (*http.Request, error)
- func NewStartDebugSessionRequest(server string, backend string, body StartDebugSessionJSONRequestBody) (*http.Request, error)
- func NewStartDebugSessionRequestWithBody(server string, backend string, contentType string, body io.Reader) (*http.Request, error)
- func NewStopDebugSessionRequest(server string, backend string, sessionId int) (*http.Request, error)
- func NewUpdateGroupRequest(server string, groupID int, body UpdateGroupJSONRequestBody) (*http.Request, error)
- func NewUpdateGroupRequestWithBody(server string, groupID int, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateUserGroupsRequest(server string, userID int, body UpdateUserGroupsJSONRequestBody) (*http.Request, error)
- func NewUpdateUserGroupsRequestWithBody(server string, userID int, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateUserRequest(server string, userID int, body UpdateUserJSONRequestBody) (*http.Request, error)
- func NewUpdateUserRequestWithBody(server string, userID int, contentType string, body io.Reader) (*http.Request, error)
- type APIErrorResponse
- type ChangePasswordRequest
- type ChangeSuperuserPasswordJSONBody
- type ChangeSuperuserPasswordJSONRequestBody
- type ChangeSuperuserPasswordResponse
- func (r ChangeSuperuserPasswordResponse) ContentType() string
- func (r ChangeSuperuserPasswordResponse) GetBody() []byte
- func (r ChangeSuperuserPasswordResponse) GetJSON400() *APIErrorResponse
- func (r ChangeSuperuserPasswordResponse) GetJSON401() *APIErrorResponse
- func (r ChangeSuperuserPasswordResponse) GetJSON403() *APIErrorResponse
- func (r ChangeSuperuserPasswordResponse) GetJSON500() *APIErrorResponse
- func (r ChangeSuperuserPasswordResponse) Status() string
- func (r ChangeSuperuserPasswordResponse) StatusCode() int
- type ChangeUserPasswordJSONBody
- type ChangeUserPasswordJSONRequestBody
- type ChangeUserPasswordResponse
- func (r ChangeUserPasswordResponse) ContentType() string
- func (r ChangeUserPasswordResponse) GetBody() []byte
- func (r ChangeUserPasswordResponse) GetJSON400() *APIErrorResponse
- func (r ChangeUserPasswordResponse) GetJSON401() *APIErrorResponse
- func (r ChangeUserPasswordResponse) GetJSON403() *APIErrorResponse
- func (r ChangeUserPasswordResponse) GetJSON404() *APIErrorResponse
- func (r ChangeUserPasswordResponse) GetJSON500() *APIErrorResponse
- func (r ChangeUserPasswordResponse) Status() string
- func (r ChangeUserPasswordResponse) StatusCode() int
- type Client
- func (c *Client) ChangeSuperuserPassword(ctx context.Context, body ChangeSuperuserPasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ChangeSuperuserPasswordWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ChangeUserPassword(ctx context.Context, userID int, body ChangeUserPasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ChangeUserPasswordWithBody(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateUser(ctx context.Context, body CreateUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteDebugSession(ctx context.Context, backend string, sessionId int, ...) (*http.Response, error)
- func (c *Client) DeleteGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteUser(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ExtendDebugSession(ctx context.Context, backend string, sessionId int, ...) (*http.Response, error)
- func (c *Client) ExtendDebugSessionWithBody(ctx context.Context, backend string, sessionId int, contentType string, ...) (*http.Response, error)
- func (c *Client) GetBackendOAS(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDebugSession(ctx context.Context, backend string, sessionId int, ...) (*http.Response, error)
- func (c *Client) GetDebugSessionCall(ctx context.Context, backend string, sessionId int, callId int, ...) (*http.Response, error)
- func (c *Client) GetFlow(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUser(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDebugSessionCalls(ctx context.Context, backend string, sessionId int, ...) (*http.Response, error)
- func (c *Client) ListDebugSessions(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoginSuperuser(ctx context.Context, body LoginSuperuserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) LoginSuperuserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Logout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LogoutSuperuser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RefreshSuperuserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RefreshUserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResetUserPassword(ctx context.Context, userID int, body ResetUserPasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResetUserPasswordWithBody(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StartDebugSession(ctx context.Context, backend string, body StartDebugSessionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartDebugSessionWithBody(ctx context.Context, backend string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StopDebugSession(ctx context.Context, backend string, sessionId int, ...) (*http.Response, error)
- func (c *Client) UpdateGroup(ctx context.Context, groupID int, body UpdateGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateGroupWithBody(ctx context.Context, groupID int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateUser(ctx context.Context, userID int, body UpdateUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateUserGroups(ctx context.Context, userID int, body UpdateUserGroupsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateUserGroupsWithBody(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateUserWithBody(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ChangeSuperuserPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ChangeSuperuserPasswordResponse, error)
- func (c *ClientWithResponses) ChangeSuperuserPasswordWithResponse(ctx context.Context, body ChangeSuperuserPasswordJSONRequestBody, ...) (*ChangeSuperuserPasswordResponse, error)
- func (c *ClientWithResponses) ChangeUserPasswordWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*ChangeUserPasswordResponse, error)
- func (c *ClientWithResponses) ChangeUserPasswordWithResponse(ctx context.Context, userID int, body ChangeUserPasswordJSONRequestBody, ...) (*ChangeUserPasswordResponse, error)
- func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateGroupResponse, error)
- func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*CreateGroupResponse, error)
- func (c *ClientWithResponses) CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateUserResponse, error)
- func (c *ClientWithResponses) CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, ...) (*CreateUserResponse, error)
- func (c *ClientWithResponses) DeleteDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, ...) (*DeleteDebugSessionResponse, error)
- func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)
- func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
- func (c *ClientWithResponses) ExtendDebugSessionWithBodyWithResponse(ctx context.Context, backend string, sessionId int, contentType string, ...) (*ExtendDebugSessionResponse, error)
- func (c *ClientWithResponses) ExtendDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, ...) (*ExtendDebugSessionResponse, error)
- func (c *ClientWithResponses) GetBackendOASWithResponse(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*GetBackendOASResponse, error)
- func (c *ClientWithResponses) GetDebugSessionCallWithResponse(ctx context.Context, backend string, sessionId int, callId int, ...) (*GetDebugSessionCallResponse, error)
- func (c *ClientWithResponses) GetDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, ...) (*GetDebugSessionResponse, error)
- func (c *ClientWithResponses) GetFlowWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFlowResponse, error)
- func (c *ClientWithResponses) GetGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)
- func (c *ClientWithResponses) GetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGroupsResponse, error)
- func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
- func (c *ClientWithResponses) GetPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPermissionsResponse, error)
- func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
- func (c *ClientWithResponses) GetUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)
- func (c *ClientWithResponses) ListDebugSessionCallsWithResponse(ctx context.Context, backend string, sessionId int, ...) (*ListDebugSessionCallsResponse, error)
- func (c *ClientWithResponses) ListDebugSessionsWithResponse(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*ListDebugSessionsResponse, error)
- func (c *ClientWithResponses) LoginSuperuserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LoginSuperuserResponse, error)
- func (c *ClientWithResponses) LoginSuperuserWithResponse(ctx context.Context, body LoginSuperuserJSONRequestBody, ...) (*LoginSuperuserResponse, error)
- func (c *ClientWithResponses) LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LoginResponse, error)
- func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)
- func (c *ClientWithResponses) LogoutSuperuserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutSuperuserResponse, error)
- func (c *ClientWithResponses) LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)
- func (c *ClientWithResponses) RefreshSuperuserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshSuperuserSessionResponse, error)
- func (c *ClientWithResponses) RefreshUserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshUserSessionResponse, error)
- func (c *ClientWithResponses) ResetUserPasswordWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*ResetUserPasswordResponse, error)
- func (c *ClientWithResponses) ResetUserPasswordWithResponse(ctx context.Context, userID int, body ResetUserPasswordJSONRequestBody, ...) (*ResetUserPasswordResponse, error)
- func (c *ClientWithResponses) StartDebugSessionWithBodyWithResponse(ctx context.Context, backend string, contentType string, body io.Reader, ...) (*StartDebugSessionResponse, error)
- func (c *ClientWithResponses) StartDebugSessionWithResponse(ctx context.Context, backend string, body StartDebugSessionJSONRequestBody, ...) (*StartDebugSessionResponse, error)
- func (c *ClientWithResponses) StopDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, ...) (*StopDebugSessionResponse, error)
- func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, groupID int, contentType string, body io.Reader, ...) (*UpdateGroupResponse, error)
- func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, groupID int, body UpdateGroupJSONRequestBody, ...) (*UpdateGroupResponse, error)
- func (c *ClientWithResponses) UpdateUserGroupsWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*UpdateUserGroupsResponse, error)
- func (c *ClientWithResponses) UpdateUserGroupsWithResponse(ctx context.Context, userID int, body UpdateUserGroupsJSONRequestBody, ...) (*UpdateUserGroupsResponse, error)
- func (c *ClientWithResponses) UpdateUserWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, ...) (*UpdateUserResponse, error)
- func (c *ClientWithResponses) UpdateUserWithResponse(ctx context.Context, userID int, body UpdateUserJSONRequestBody, ...) (*UpdateUserResponse, error)
- type ClientWithResponsesInterface
- type CreateGroupJSONBody
- type CreateGroupJSONRequestBody
- type CreateGroupRequest
- type CreateGroupResponse
- func (r CreateGroupResponse) ContentType() string
- func (r CreateGroupResponse) GetBody() []byte
- func (r CreateGroupResponse) GetJSON201() *Group
- func (r CreateGroupResponse) GetJSON400() *APIErrorResponse
- func (r CreateGroupResponse) GetJSON401() *APIErrorResponse
- func (r CreateGroupResponse) GetJSON403() *APIErrorResponse
- func (r CreateGroupResponse) GetJSON409() *APIErrorResponse
- func (r CreateGroupResponse) GetJSON500() *APIErrorResponse
- func (r CreateGroupResponse) Status() string
- func (r CreateGroupResponse) StatusCode() int
- type CreateUserJSONBody
- type CreateUserJSONRequestBody
- type CreateUserRequest
- type CreateUserResponse
- func (r CreateUserResponse) ContentType() string
- func (r CreateUserResponse) GetBody() []byte
- func (r CreateUserResponse) GetJSON201() *User
- func (r CreateUserResponse) GetJSON400() *APIErrorResponse
- func (r CreateUserResponse) GetJSON401() *APIErrorResponse
- func (r CreateUserResponse) GetJSON403() *APIErrorResponse
- func (r CreateUserResponse) GetJSON409() *APIErrorResponse
- func (r CreateUserResponse) GetJSON500() *APIErrorResponse
- func (r CreateUserResponse) Status() string
- func (r CreateUserResponse) StatusCode() int
- type DebugSession
- type DebugSessionCall
- type DeleteDebugSessionResponse
- func (r DeleteDebugSessionResponse) ContentType() string
- func (r DeleteDebugSessionResponse) GetBody() []byte
- func (r DeleteDebugSessionResponse) GetJSON400() *APIErrorResponse
- func (r DeleteDebugSessionResponse) GetJSON401() *APIErrorResponse
- func (r DeleteDebugSessionResponse) GetJSON403() *APIErrorResponse
- func (r DeleteDebugSessionResponse) GetJSON404() *APIErrorResponse
- func (r DeleteDebugSessionResponse) GetJSON500() *APIErrorResponse
- func (r DeleteDebugSessionResponse) Status() string
- func (r DeleteDebugSessionResponse) StatusCode() int
- type DeleteGroupResponse
- func (r DeleteGroupResponse) ContentType() string
- func (r DeleteGroupResponse) GetBody() []byte
- func (r DeleteGroupResponse) GetJSON400() *APIErrorResponse
- func (r DeleteGroupResponse) GetJSON401() *APIErrorResponse
- func (r DeleteGroupResponse) GetJSON403() *APIErrorResponse
- func (r DeleteGroupResponse) GetJSON404() *APIErrorResponse
- func (r DeleteGroupResponse) GetJSON500() *APIErrorResponse
- func (r DeleteGroupResponse) Status() string
- func (r DeleteGroupResponse) StatusCode() int
- type DeleteUserResponse
- func (r DeleteUserResponse) ContentType() string
- func (r DeleteUserResponse) GetBody() []byte
- func (r DeleteUserResponse) GetJSON400() *APIErrorResponse
- func (r DeleteUserResponse) GetJSON401() *APIErrorResponse
- func (r DeleteUserResponse) GetJSON403() *APIErrorResponse
- func (r DeleteUserResponse) GetJSON404() *APIErrorResponse
- func (r DeleteUserResponse) GetJSON500() *APIErrorResponse
- func (r DeleteUserResponse) Status() string
- func (r DeleteUserResponse) StatusCode() int
- type ExtendDebugSessionJSONBody
- type ExtendDebugSessionJSONRequestBody
- type ExtendDebugSessionResponse
- func (r ExtendDebugSessionResponse) ContentType() string
- func (r ExtendDebugSessionResponse) GetBody() []byte
- func (r ExtendDebugSessionResponse) GetJSON200() *DebugSession
- func (r ExtendDebugSessionResponse) GetJSON400() *APIErrorResponse
- func (r ExtendDebugSessionResponse) GetJSON401() *APIErrorResponse
- func (r ExtendDebugSessionResponse) GetJSON403() *APIErrorResponse
- func (r ExtendDebugSessionResponse) GetJSON404() *APIErrorResponse
- func (r ExtendDebugSessionResponse) GetJSON409() *APIErrorResponse
- func (r ExtendDebugSessionResponse) GetJSON500() *APIErrorResponse
- func (r ExtendDebugSessionResponse) Status() string
- func (r ExtendDebugSessionResponse) StatusCode() int
- type FlowMeta
- type FlowMetaDataAuth
- type FlowMetaDataAuthMethodBasic
- type FlowMetaDataAuthMethods
- type FlowMetaDataAuthScheme
- type FlowMetaDataAuthSchemeMapping
- type FlowMetaDataAuthSchemeMappingAuthorization
- type FlowMetaDataOAS
- type FlowMetaDataObservability
- type FlowMetaDataRouter
- type FlowMetaDataRouterBackend
- type FlowMeta_Data
- func (t FlowMeta_Data) AsFlowMetaDataAuth() (FlowMetaDataAuth, error)
- func (t FlowMeta_Data) AsFlowMetaDataOAS() (FlowMetaDataOAS, error)
- func (t FlowMeta_Data) AsFlowMetaDataObservability() (FlowMetaDataObservability, error)
- func (t FlowMeta_Data) AsFlowMetaDataRouter() (FlowMetaDataRouter, error)
- func (t FlowMeta_Data) AsNoFlowMetaData() (NoFlowMetaData, error)
- func (t *FlowMeta_Data) FromFlowMetaDataAuth(v FlowMetaDataAuth) error
- func (t *FlowMeta_Data) FromFlowMetaDataOAS(v FlowMetaDataOAS) error
- func (t *FlowMeta_Data) FromFlowMetaDataObservability(v FlowMetaDataObservability) error
- func (t *FlowMeta_Data) FromFlowMetaDataRouter(v FlowMetaDataRouter) error
- func (t *FlowMeta_Data) FromNoFlowMetaData(v NoFlowMetaData) error
- func (t FlowMeta_Data) MarshalJSON() ([]byte, error)
- func (t *FlowMeta_Data) MergeFlowMetaDataAuth(v FlowMetaDataAuth) error
- func (t *FlowMeta_Data) MergeFlowMetaDataOAS(v FlowMetaDataOAS) error
- func (t *FlowMeta_Data) MergeFlowMetaDataObservability(v FlowMetaDataObservability) error
- func (t *FlowMeta_Data) MergeFlowMetaDataRouter(v FlowMetaDataRouter) error
- func (t *FlowMeta_Data) MergeNoFlowMetaData(v NoFlowMetaData) error
- func (t *FlowMeta_Data) UnmarshalJSON(b []byte) error
- type FlowTransition
- type FlowTransitionDirection
- type FlowTransitionResult
- type FlowTransitionResultOutcome
- type GetBackendOASResponse
- func (r GetBackendOASResponse) ContentType() string
- func (r GetBackendOASResponse) GetBody() []byte
- func (r GetBackendOASResponse) GetJSON401() *APIErrorResponse
- func (r GetBackendOASResponse) GetJSON403() *APIErrorResponse
- func (r GetBackendOASResponse) GetJSON404() *APIErrorResponse
- func (r GetBackendOASResponse) GetJSON500() *APIErrorResponse
- func (r GetBackendOASResponse) GetYAML200() *map[string]interface{}
- func (r GetBackendOASResponse) Status() string
- func (r GetBackendOASResponse) StatusCode() int
- type GetDebugSessionCallResponse
- func (r GetDebugSessionCallResponse) ContentType() string
- func (r GetDebugSessionCallResponse) GetBody() []byte
- func (r GetDebugSessionCallResponse) GetJSON200() *DebugSessionCall
- func (r GetDebugSessionCallResponse) GetJSON400() *APIErrorResponse
- func (r GetDebugSessionCallResponse) GetJSON401() *APIErrorResponse
- func (r GetDebugSessionCallResponse) GetJSON403() *APIErrorResponse
- func (r GetDebugSessionCallResponse) GetJSON404() *APIErrorResponse
- func (r GetDebugSessionCallResponse) GetJSON500() *APIErrorResponse
- func (r GetDebugSessionCallResponse) Status() string
- func (r GetDebugSessionCallResponse) StatusCode() int
- type GetDebugSessionResponse
- func (r GetDebugSessionResponse) ContentType() string
- func (r GetDebugSessionResponse) GetBody() []byte
- func (r GetDebugSessionResponse) GetJSON200() *DebugSession
- func (r GetDebugSessionResponse) GetJSON400() *APIErrorResponse
- func (r GetDebugSessionResponse) GetJSON401() *APIErrorResponse
- func (r GetDebugSessionResponse) GetJSON403() *APIErrorResponse
- func (r GetDebugSessionResponse) GetJSON404() *APIErrorResponse
- func (r GetDebugSessionResponse) GetJSON500() *APIErrorResponse
- func (r GetDebugSessionResponse) Status() string
- func (r GetDebugSessionResponse) StatusCode() int
- type GetFlowResponse
- func (r GetFlowResponse) ContentType() string
- func (r GetFlowResponse) GetBody() []byte
- func (r GetFlowResponse) GetJSON200() *[]FlowMeta
- func (r GetFlowResponse) GetJSON401() *APIErrorResponse
- func (r GetFlowResponse) GetJSON403() *APIErrorResponse
- func (r GetFlowResponse) GetJSON500() *APIErrorResponse
- func (r GetFlowResponse) Status() string
- func (r GetFlowResponse) StatusCode() int
- type GetGroupResponse
- func (r GetGroupResponse) ContentType() string
- func (r GetGroupResponse) GetBody() []byte
- func (r GetGroupResponse) GetJSON200() *Group
- func (r GetGroupResponse) GetJSON401() *APIErrorResponse
- func (r GetGroupResponse) GetJSON403() *APIErrorResponse
- func (r GetGroupResponse) GetJSON404() *APIErrorResponse
- func (r GetGroupResponse) GetJSON500() *APIErrorResponse
- func (r GetGroupResponse) Status() string
- func (r GetGroupResponse) StatusCode() int
- type GetGroupsResponse
- func (r GetGroupsResponse) ContentType() string
- func (r GetGroupsResponse) GetBody() []byte
- func (r GetGroupsResponse) GetJSON200() *[]Group
- func (r GetGroupsResponse) GetJSON401() *APIErrorResponse
- func (r GetGroupsResponse) GetJSON403() *APIErrorResponse
- func (r GetGroupsResponse) GetJSON500() *APIErrorResponse
- func (r GetGroupsResponse) Status() string
- func (r GetGroupsResponse) StatusCode() int
- type GetMeResponse
- func (r GetMeResponse) ContentType() string
- func (r GetMeResponse) GetBody() []byte
- func (r GetMeResponse) GetJSON200() *MeResponse
- func (r GetMeResponse) GetJSON401() *APIErrorResponse
- func (r GetMeResponse) GetJSON500() *APIErrorResponse
- func (r GetMeResponse) Status() string
- func (r GetMeResponse) StatusCode() int
- type GetPermissionsResponse
- func (r GetPermissionsResponse) ContentType() string
- func (r GetPermissionsResponse) GetBody() []byte
- func (r GetPermissionsResponse) GetJSON200() *[]Permission
- func (r GetPermissionsResponse) GetJSON401() *APIErrorResponse
- func (r GetPermissionsResponse) GetJSON500() *APIErrorResponse
- func (r GetPermissionsResponse) Status() string
- func (r GetPermissionsResponse) StatusCode() int
- type GetUserResponse
- func (r GetUserResponse) ContentType() string
- func (r GetUserResponse) GetBody() []byte
- func (r GetUserResponse) GetJSON200() *User
- func (r GetUserResponse) GetJSON400() *APIErrorResponse
- func (r GetUserResponse) GetJSON401() *APIErrorResponse
- func (r GetUserResponse) GetJSON403() *APIErrorResponse
- func (r GetUserResponse) GetJSON404() *APIErrorResponse
- func (r GetUserResponse) GetJSON500() *APIErrorResponse
- func (r GetUserResponse) Status() string
- func (r GetUserResponse) StatusCode() int
- type GetUsersResponse
- func (r GetUsersResponse) ContentType() string
- func (r GetUsersResponse) GetBody() []byte
- func (r GetUsersResponse) GetJSON200() *[]User
- func (r GetUsersResponse) GetJSON401() *APIErrorResponse
- func (r GetUsersResponse) GetJSON403() *APIErrorResponse
- func (r GetUsersResponse) GetJSON500() *APIErrorResponse
- func (r GetUsersResponse) Status() string
- func (r GetUsersResponse) StatusCode() int
- type Group
- type HttpRequestDoer
- type ListDebugSessionCallsParams
- type ListDebugSessionCallsResponse
- func (r ListDebugSessionCallsResponse) ContentType() string
- func (r ListDebugSessionCallsResponse) GetBody() []byte
- func (r ListDebugSessionCallsResponse) GetJSON200() *[]DebugSessionCall
- func (r ListDebugSessionCallsResponse) GetJSON400() *APIErrorResponse
- func (r ListDebugSessionCallsResponse) GetJSON401() *APIErrorResponse
- func (r ListDebugSessionCallsResponse) GetJSON403() *APIErrorResponse
- func (r ListDebugSessionCallsResponse) GetJSON404() *APIErrorResponse
- func (r ListDebugSessionCallsResponse) GetJSON500() *APIErrorResponse
- func (r ListDebugSessionCallsResponse) Status() string
- func (r ListDebugSessionCallsResponse) StatusCode() int
- type ListDebugSessionsResponse
- func (r ListDebugSessionsResponse) ContentType() string
- func (r ListDebugSessionsResponse) GetBody() []byte
- func (r ListDebugSessionsResponse) GetJSON200() *[]DebugSession
- func (r ListDebugSessionsResponse) GetJSON401() *APIErrorResponse
- func (r ListDebugSessionsResponse) GetJSON403() *APIErrorResponse
- func (r ListDebugSessionsResponse) GetJSON404() *APIErrorResponse
- func (r ListDebugSessionsResponse) GetJSON500() *APIErrorResponse
- func (r ListDebugSessionsResponse) Status() string
- func (r ListDebugSessionsResponse) StatusCode() int
- type LoginJSONBody
- type LoginJSONRequestBody
- type LoginResponse
- func (r LoginResponse) ContentType() string
- func (r LoginResponse) GetBody() []byte
- func (r LoginResponse) GetJSON400() *APIErrorResponse
- func (r LoginResponse) GetJSON401() *APIErrorResponse
- func (r LoginResponse) GetJSON500() *APIErrorResponse
- func (r LoginResponse) Status() string
- func (r LoginResponse) StatusCode() int
- type LoginResponse204Headers
- type LoginSuperuserJSONBody
- type LoginSuperuserJSONRequestBody
- type LoginSuperuserResponse
- func (r LoginSuperuserResponse) ContentType() string
- func (r LoginSuperuserResponse) GetBody() []byte
- func (r LoginSuperuserResponse) GetJSON400() *APIErrorResponse
- func (r LoginSuperuserResponse) GetJSON401() *APIErrorResponse
- func (r LoginSuperuserResponse) GetJSON500() *APIErrorResponse
- func (r LoginSuperuserResponse) Status() string
- func (r LoginSuperuserResponse) StatusCode() int
- type LoginSuperuserResponse204Headers
- type LoginUserRequest
- type LogoutResponse
- type LogoutResponse204Headers
- type LogoutSuperuserResponse
- func (r LogoutSuperuserResponse) ContentType() string
- func (r LogoutSuperuserResponse) GetBody() []byte
- func (r LogoutSuperuserResponse) GetJSON401() *APIErrorResponse
- func (r LogoutSuperuserResponse) GetJSON403() *APIErrorResponse
- func (r LogoutSuperuserResponse) GetJSON500() *APIErrorResponse
- func (r LogoutSuperuserResponse) Status() string
- func (r LogoutSuperuserResponse) StatusCode() int
- type LogoutSuperuserResponse204Headers
- type MeResponse
- type NoFlowMetaData
- type Permission
- type RefreshSuperuserSessionResponse
- func (r RefreshSuperuserSessionResponse) ContentType() string
- func (r RefreshSuperuserSessionResponse) GetBody() []byte
- func (r RefreshSuperuserSessionResponse) GetJSON401() *APIErrorResponse
- func (r RefreshSuperuserSessionResponse) GetJSON403() *APIErrorResponse
- func (r RefreshSuperuserSessionResponse) GetJSON500() *APIErrorResponse
- func (r RefreshSuperuserSessionResponse) Status() string
- func (r RefreshSuperuserSessionResponse) StatusCode() int
- type RefreshSuperuserSessionResponse204Headers
- type RefreshUserSessionResponse
- func (r RefreshUserSessionResponse) ContentType() string
- func (r RefreshUserSessionResponse) GetBody() []byte
- func (r RefreshUserSessionResponse) GetJSON401() *APIErrorResponse
- func (r RefreshUserSessionResponse) GetJSON500() *APIErrorResponse
- func (r RefreshUserSessionResponse) Status() string
- func (r RefreshUserSessionResponse) StatusCode() int
- type RefreshUserSessionResponse204Headers
- type RequestEditorFn
- type ResetPasswordRequest
- type ResetUserPasswordJSONBody
- type ResetUserPasswordJSONRequestBody
- type ResetUserPasswordResponse
- func (r ResetUserPasswordResponse) ContentType() string
- func (r ResetUserPasswordResponse) GetBody() []byte
- func (r ResetUserPasswordResponse) GetJSON400() *APIErrorResponse
- func (r ResetUserPasswordResponse) GetJSON401() *APIErrorResponse
- func (r ResetUserPasswordResponse) GetJSON403() *APIErrorResponse
- func (r ResetUserPasswordResponse) GetJSON404() *APIErrorResponse
- func (r ResetUserPasswordResponse) GetJSON500() *APIErrorResponse
- func (r ResetUserPasswordResponse) Status() string
- func (r ResetUserPasswordResponse) StatusCode() int
- type StartDebugSessionJSONBody
- type StartDebugSessionJSONRequestBody
- type StartDebugSessionRequest
- type StartDebugSessionResponse
- func (r StartDebugSessionResponse) ContentType() string
- func (r StartDebugSessionResponse) GetBody() []byte
- func (r StartDebugSessionResponse) GetJSON200() *DebugSession
- func (r StartDebugSessionResponse) GetJSON400() *APIErrorResponse
- func (r StartDebugSessionResponse) GetJSON401() *APIErrorResponse
- func (r StartDebugSessionResponse) GetJSON403() *APIErrorResponse
- func (r StartDebugSessionResponse) GetJSON404() *APIErrorResponse
- func (r StartDebugSessionResponse) GetJSON409() *APIErrorResponse
- func (r StartDebugSessionResponse) GetJSON500() *APIErrorResponse
- func (r StartDebugSessionResponse) Status() string
- func (r StartDebugSessionResponse) StatusCode() int
- type StopDebugSessionResponse
- func (r StopDebugSessionResponse) ContentType() string
- func (r StopDebugSessionResponse) GetBody() []byte
- func (r StopDebugSessionResponse) GetJSON400() *APIErrorResponse
- func (r StopDebugSessionResponse) GetJSON401() *APIErrorResponse
- func (r StopDebugSessionResponse) GetJSON403() *APIErrorResponse
- func (r StopDebugSessionResponse) GetJSON404() *APIErrorResponse
- func (r StopDebugSessionResponse) GetJSON500() *APIErrorResponse
- func (r StopDebugSessionResponse) Status() string
- func (r StopDebugSessionResponse) StatusCode() int
- type UpdateGroupJSONBody
- type UpdateGroupJSONRequestBody
- type UpdateGroupRequest
- type UpdateGroupResponse
- func (r UpdateGroupResponse) ContentType() string
- func (r UpdateGroupResponse) GetBody() []byte
- func (r UpdateGroupResponse) GetJSON400() *APIErrorResponse
- func (r UpdateGroupResponse) GetJSON401() *APIErrorResponse
- func (r UpdateGroupResponse) GetJSON403() *APIErrorResponse
- func (r UpdateGroupResponse) GetJSON404() *APIErrorResponse
- func (r UpdateGroupResponse) GetJSON409() *APIErrorResponse
- func (r UpdateGroupResponse) GetJSON500() *APIErrorResponse
- func (r UpdateGroupResponse) Status() string
- func (r UpdateGroupResponse) StatusCode() int
- type UpdateUserGroupsJSONBody
- type UpdateUserGroupsJSONRequestBody
- type UpdateUserGroupsRequest
- type UpdateUserGroupsResponse
- func (r UpdateUserGroupsResponse) ContentType() string
- func (r UpdateUserGroupsResponse) GetBody() []byte
- func (r UpdateUserGroupsResponse) GetJSON400() *APIErrorResponse
- func (r UpdateUserGroupsResponse) GetJSON401() *APIErrorResponse
- func (r UpdateUserGroupsResponse) GetJSON403() *APIErrorResponse
- func (r UpdateUserGroupsResponse) GetJSON404() *APIErrorResponse
- func (r UpdateUserGroupsResponse) GetJSON500() *APIErrorResponse
- func (r UpdateUserGroupsResponse) Status() string
- func (r UpdateUserGroupsResponse) StatusCode() int
- type UpdateUserJSONBody
- type UpdateUserJSONRequestBody
- type UpdateUserRequest
- type UpdateUserResponse
- func (r UpdateUserResponse) ContentType() string
- func (r UpdateUserResponse) GetBody() []byte
- func (r UpdateUserResponse) GetJSON400() *APIErrorResponse
- func (r UpdateUserResponse) GetJSON401() *APIErrorResponse
- func (r UpdateUserResponse) GetJSON403() *APIErrorResponse
- func (r UpdateUserResponse) GetJSON404() *APIErrorResponse
- func (r UpdateUserResponse) GetJSON409() *APIErrorResponse
- func (r UpdateUserResponse) GetJSON500() *APIErrorResponse
- func (r UpdateUserResponse) Status() string
- func (r UpdateUserResponse) StatusCode() int
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChangeSuperuserPasswordRequest ¶
func NewChangeSuperuserPasswordRequest(server string, body ChangeSuperuserPasswordJSONRequestBody) (*http.Request, error)
NewChangeSuperuserPasswordRequest calls the generic ChangeSuperuserPassword builder with application/json body
func NewChangeSuperuserPasswordRequestWithBody ¶
func NewChangeSuperuserPasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewChangeSuperuserPasswordRequestWithBody constructs an http.Request for the ChangeSuperuserPassword method, with any body, and a specified content type
func NewChangeUserPasswordRequest ¶
func NewChangeUserPasswordRequest(server string, userID int, body ChangeUserPasswordJSONRequestBody) (*http.Request, error)
NewChangeUserPasswordRequest calls the generic ChangeUserPassword builder with application/json body
func NewChangeUserPasswordRequestWithBody ¶
func NewChangeUserPasswordRequestWithBody(server string, userID int, contentType string, body io.Reader) (*http.Request, error)
NewChangeUserPasswordRequestWithBody constructs an http.Request for the ChangeUserPassword method, with any body, and a specified content type
func NewCreateGroupRequest ¶
func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)
NewCreateGroupRequest calls the generic CreateGroup builder with application/json body
func NewCreateGroupRequestWithBody ¶
func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateGroupRequestWithBody constructs an http.Request for the CreateGroup method, with any body, and a specified content type
func NewCreateUserRequest ¶
func NewCreateUserRequest(server string, body CreateUserJSONRequestBody) (*http.Request, error)
NewCreateUserRequest calls the generic CreateUser builder with application/json body
func NewCreateUserRequestWithBody ¶
func NewCreateUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateUserRequestWithBody constructs an http.Request for the CreateUser method, with any body, and a specified content type
func NewDeleteDebugSessionRequest ¶
func NewDeleteDebugSessionRequest(server string, backend string, sessionId int) (*http.Request, error)
NewDeleteDebugSessionRequest constructs an http.Request for the DeleteDebugSession method
func NewDeleteGroupRequest ¶
NewDeleteGroupRequest constructs an http.Request for the DeleteGroup method
func NewDeleteUserRequest ¶
NewDeleteUserRequest constructs an http.Request for the DeleteUser method
func NewExtendDebugSessionRequest ¶
func NewExtendDebugSessionRequest(server string, backend string, sessionId int, body ExtendDebugSessionJSONRequestBody) (*http.Request, error)
NewExtendDebugSessionRequest calls the generic ExtendDebugSession builder with application/json body
func NewExtendDebugSessionRequestWithBody ¶
func NewExtendDebugSessionRequestWithBody(server string, backend string, sessionId int, contentType string, body io.Reader) (*http.Request, error)
NewExtendDebugSessionRequestWithBody constructs an http.Request for the ExtendDebugSession method, with any body, and a specified content type
func NewGetBackendOASRequest ¶
NewGetBackendOASRequest constructs an http.Request for the GetBackendOAS method
func NewGetDebugSessionCallRequest ¶
func NewGetDebugSessionCallRequest(server string, backend string, sessionId int, callId int) (*http.Request, error)
NewGetDebugSessionCallRequest constructs an http.Request for the GetDebugSessionCall method
func NewGetDebugSessionRequest ¶
NewGetDebugSessionRequest constructs an http.Request for the GetDebugSession method
func NewGetFlowRequest ¶
NewGetFlowRequest constructs an http.Request for the GetFlow method
func NewGetGroupRequest ¶
NewGetGroupRequest constructs an http.Request for the GetGroup method
func NewGetGroupsRequest ¶
NewGetGroupsRequest constructs an http.Request for the GetGroups method
func NewGetMeRequest ¶
NewGetMeRequest constructs an http.Request for the GetMe method
func NewGetPermissionsRequest ¶
NewGetPermissionsRequest constructs an http.Request for the GetPermissions method
func NewGetUserRequest ¶
NewGetUserRequest constructs an http.Request for the GetUser method
func NewGetUsersRequest ¶
NewGetUsersRequest constructs an http.Request for the GetUsers method
func NewListDebugSessionCallsRequest ¶
func NewListDebugSessionCallsRequest(server string, backend string, sessionId int, params *ListDebugSessionCallsParams) (*http.Request, error)
NewListDebugSessionCallsRequest constructs an http.Request for the ListDebugSessionCalls method
func NewListDebugSessionsRequest ¶
NewListDebugSessionsRequest constructs an http.Request for the ListDebugSessions method
func NewLoginRequest ¶
func NewLoginRequest(server string, body LoginJSONRequestBody) (*http.Request, error)
NewLoginRequest calls the generic Login builder with application/json body
func NewLoginRequestWithBody ¶
func NewLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLoginRequestWithBody constructs an http.Request for the Login method, with any body, and a specified content type
func NewLoginSuperuserRequest ¶
func NewLoginSuperuserRequest(server string, body LoginSuperuserJSONRequestBody) (*http.Request, error)
NewLoginSuperuserRequest calls the generic LoginSuperuser builder with application/json body
func NewLoginSuperuserRequestWithBody ¶
func NewLoginSuperuserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLoginSuperuserRequestWithBody constructs an http.Request for the LoginSuperuser method, with any body, and a specified content type
func NewLogoutRequest ¶
NewLogoutRequest constructs an http.Request for the Logout method
func NewLogoutSuperuserRequest ¶
NewLogoutSuperuserRequest constructs an http.Request for the LogoutSuperuser method
func NewRefreshSuperuserSessionRequest ¶
NewRefreshSuperuserSessionRequest constructs an http.Request for the RefreshSuperuserSession method
func NewRefreshUserSessionRequest ¶
NewRefreshUserSessionRequest constructs an http.Request for the RefreshUserSession method
func NewResetUserPasswordRequest ¶ added in v1.9.0
func NewResetUserPasswordRequest(server string, userID int, body ResetUserPasswordJSONRequestBody) (*http.Request, error)
NewResetUserPasswordRequest calls the generic ResetUserPassword builder with application/json body
func NewResetUserPasswordRequestWithBody ¶ added in v1.9.0
func NewResetUserPasswordRequestWithBody(server string, userID int, contentType string, body io.Reader) (*http.Request, error)
NewResetUserPasswordRequestWithBody constructs an http.Request for the ResetUserPassword method, with any body, and a specified content type
func NewStartDebugSessionRequest ¶
func NewStartDebugSessionRequest(server string, backend string, body StartDebugSessionJSONRequestBody) (*http.Request, error)
NewStartDebugSessionRequest calls the generic StartDebugSession builder with application/json body
func NewStartDebugSessionRequestWithBody ¶
func NewStartDebugSessionRequestWithBody(server string, backend string, contentType string, body io.Reader) (*http.Request, error)
NewStartDebugSessionRequestWithBody constructs an http.Request for the StartDebugSession method, with any body, and a specified content type
func NewStopDebugSessionRequest ¶
func NewStopDebugSessionRequest(server string, backend string, sessionId int) (*http.Request, error)
NewStopDebugSessionRequest constructs an http.Request for the StopDebugSession method
func NewUpdateGroupRequest ¶
func NewUpdateGroupRequest(server string, groupID int, body UpdateGroupJSONRequestBody) (*http.Request, error)
NewUpdateGroupRequest calls the generic UpdateGroup builder with application/json body
func NewUpdateGroupRequestWithBody ¶
func NewUpdateGroupRequestWithBody(server string, groupID int, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGroupRequestWithBody constructs an http.Request for the UpdateGroup method, with any body, and a specified content type
func NewUpdateUserGroupsRequest ¶
func NewUpdateUserGroupsRequest(server string, userID int, body UpdateUserGroupsJSONRequestBody) (*http.Request, error)
NewUpdateUserGroupsRequest calls the generic UpdateUserGroups builder with application/json body
func NewUpdateUserGroupsRequestWithBody ¶
func NewUpdateUserGroupsRequestWithBody(server string, userID int, contentType string, body io.Reader) (*http.Request, error)
NewUpdateUserGroupsRequestWithBody constructs an http.Request for the UpdateUserGroups method, with any body, and a specified content type
func NewUpdateUserRequest ¶
func NewUpdateUserRequest(server string, userID int, body UpdateUserJSONRequestBody) (*http.Request, error)
NewUpdateUserRequest calls the generic UpdateUser builder with application/json body
Types ¶
type APIErrorResponse ¶
type APIErrorResponse struct {
Errors []string `json:"errors"`
}
APIErrorResponse defines model for APIErrorResponse.
type ChangePasswordRequest ¶
type ChangePasswordRequest struct {
NewPassword string `json:"newPassword"`
OldPassword string `json:"oldPassword"`
}
ChangePasswordRequest defines model for ChangePasswordRequest.
type ChangeSuperuserPasswordJSONBody ¶
type ChangeSuperuserPasswordJSONBody struct {
NewPassword string `json:"newPassword"`
OldPassword string `json:"oldPassword"`
}
ChangeSuperuserPasswordJSONBody defines parameters for ChangeSuperuserPassword.
type ChangeSuperuserPasswordJSONRequestBody ¶
type ChangeSuperuserPasswordJSONRequestBody ChangeSuperuserPasswordJSONBody
ChangeSuperuserPasswordJSONRequestBody defines body for ChangeSuperuserPassword for application/json ContentType.
type ChangeSuperuserPasswordResponse ¶
type ChangeSuperuserPasswordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseChangeSuperuserPasswordResponse ¶
func ParseChangeSuperuserPasswordResponse(rsp *http.Response) (*ChangeSuperuserPasswordResponse, error)
ParseChangeSuperuserPasswordResponse parses an HTTP response from a ChangeSuperuserPasswordWithResponse call
func (ChangeSuperuserPasswordResponse) ContentType ¶
func (r ChangeSuperuserPasswordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ChangeSuperuserPasswordResponse) GetBody ¶
func (r ChangeSuperuserPasswordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ChangeSuperuserPasswordResponse) GetJSON400 ¶
func (r ChangeSuperuserPasswordResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ChangeSuperuserPasswordResponse) GetJSON401 ¶
func (r ChangeSuperuserPasswordResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ChangeSuperuserPasswordResponse) GetJSON403 ¶
func (r ChangeSuperuserPasswordResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ChangeSuperuserPasswordResponse) GetJSON500 ¶
func (r ChangeSuperuserPasswordResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ChangeSuperuserPasswordResponse) Status ¶
func (r ChangeSuperuserPasswordResponse) Status() string
Status returns HTTPResponse.Status
func (ChangeSuperuserPasswordResponse) StatusCode ¶
func (r ChangeSuperuserPasswordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChangeUserPasswordJSONBody ¶
type ChangeUserPasswordJSONBody struct {
NewPassword string `json:"newPassword"`
OldPassword string `json:"oldPassword"`
}
ChangeUserPasswordJSONBody defines parameters for ChangeUserPassword.
type ChangeUserPasswordJSONRequestBody ¶
type ChangeUserPasswordJSONRequestBody ChangeUserPasswordJSONBody
ChangeUserPasswordJSONRequestBody defines body for ChangeUserPassword for application/json ContentType.
type ChangeUserPasswordResponse ¶
type ChangeUserPasswordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseChangeUserPasswordResponse ¶
func ParseChangeUserPasswordResponse(rsp *http.Response) (*ChangeUserPasswordResponse, error)
ParseChangeUserPasswordResponse parses an HTTP response from a ChangeUserPasswordWithResponse call
func (ChangeUserPasswordResponse) ContentType ¶
func (r ChangeUserPasswordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ChangeUserPasswordResponse) GetBody ¶
func (r ChangeUserPasswordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ChangeUserPasswordResponse) GetJSON400 ¶
func (r ChangeUserPasswordResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ChangeUserPasswordResponse) GetJSON401 ¶
func (r ChangeUserPasswordResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ChangeUserPasswordResponse) GetJSON403 ¶
func (r ChangeUserPasswordResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ChangeUserPasswordResponse) GetJSON404 ¶
func (r ChangeUserPasswordResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ChangeUserPasswordResponse) GetJSON500 ¶
func (r ChangeUserPasswordResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ChangeUserPasswordResponse) Status ¶
func (r ChangeUserPasswordResponse) Status() string
Status returns HTTPResponse.Status
func (ChangeUserPasswordResponse) StatusCode ¶
func (r ChangeUserPasswordResponse) 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) ChangeSuperuserPassword ¶
func (c *Client) ChangeSuperuserPassword(ctx context.Context, body ChangeSuperuserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangeSuperuserPassword performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request. Takes a body of the `application/json` content type.
func (*Client) ChangeSuperuserPasswordWithBody ¶
func (c *Client) ChangeSuperuserPasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangeSuperuserPasswordWithBody performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request, with any type of body and a specified content type.
func (*Client) ChangeUserPassword ¶
func (c *Client) ChangeUserPassword(ctx context.Context, userID int, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangeUserPassword performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request. Takes a body of the `application/json` content type.
func (*Client) ChangeUserPasswordWithBody ¶
func (c *Client) ChangeUserPasswordWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangeUserPasswordWithBody performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request, with any type of body and a specified content type.
func (*Client) CreateGroup ¶
func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGroup performs a POST /api/admin/groups (the `CreateGroup` operationId) request. Takes a body of the `application/json` content type.
func (*Client) CreateGroupWithBody ¶
func (c *Client) CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGroupWithBody performs a POST /api/admin/groups (the `CreateGroup` operationId) request, with any type of body and a specified content type.
func (*Client) CreateUser ¶
func (c *Client) CreateUser(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUser performs a POST /api/admin/users (the `CreateUser` operationId) request. Takes a body of the `application/json` content type.
func (*Client) CreateUserWithBody ¶
func (c *Client) CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUserWithBody performs a POST /api/admin/users (the `CreateUser` operationId) request, with any type of body and a specified content type.
func (*Client) DeleteDebugSession ¶
func (c *Client) DeleteDebugSession(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDebugSession performs a DELETE /api/admin/debug/{backend}/sessions/{sessionId} (the `DeleteDebugSession` operationId) request.
func (*Client) DeleteGroup ¶
func (c *Client) DeleteGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteGroup performs a DELETE /api/admin/groups/{groupID} (the `DeleteGroup` operationId) request.
func (*Client) DeleteUser ¶
func (c *Client) DeleteUser(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteUser performs a DELETE /api/admin/users/{userID} (the `DeleteUser` operationId) request.
func (*Client) ExtendDebugSession ¶
func (c *Client) ExtendDebugSession(ctx context.Context, backend string, sessionId int, body ExtendDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExtendDebugSession performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request. Takes a body of the `application/json` content type.
func (*Client) ExtendDebugSessionWithBody ¶
func (c *Client) ExtendDebugSessionWithBody(ctx context.Context, backend string, sessionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExtendDebugSessionWithBody performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request, with any type of body and a specified content type.
func (*Client) GetBackendOAS ¶
func (c *Client) GetBackendOAS(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBackendOAS performs a GET /api/admin/oas/{backend} (the `GetBackendOAS` operationId) request.
func (*Client) GetDebugSession ¶
func (c *Client) GetDebugSession(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDebugSession performs a GET /api/admin/debug/{backend}/sessions/{sessionId} (the `GetDebugSession` operationId) request.
func (*Client) GetDebugSessionCall ¶
func (c *Client) GetDebugSessionCall(ctx context.Context, backend string, sessionId int, callId int, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDebugSessionCall performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls/{callId} (the `GetDebugSessionCall` operationId) request.
func (*Client) GetFlow ¶
func (c *Client) GetFlow(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFlow performs a GET /api/admin/flow (the `GetFlow` operationId) request.
func (*Client) GetGroup ¶
func (c *Client) GetGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGroup performs a GET /api/admin/groups/{groupID} (the `GetGroup` operationId) request.
func (*Client) GetGroups ¶
func (c *Client) GetGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGroups performs a GET /api/admin/groups (the `GetGroups` operationId) request.
func (*Client) GetPermissions ¶
func (c *Client) GetPermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPermissions performs a GET /api/admin/permissions (the `GetPermissions` operationId) request.
func (*Client) GetUser ¶
func (c *Client) GetUser(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUser performs a GET /api/admin/users/{userID} (the `GetUser` operationId) request.
func (*Client) GetUsers ¶
func (c *Client) GetUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUsers performs a GET /api/admin/users (the `GetUsers` operationId) request.
func (*Client) ListDebugSessionCalls ¶
func (c *Client) ListDebugSessionCalls(ctx context.Context, backend string, sessionId int, params *ListDebugSessionCallsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDebugSessionCalls performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls (the `ListDebugSessionCalls` operationId) request.
func (*Client) ListDebugSessions ¶
func (c *Client) ListDebugSessions(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDebugSessions performs a GET /api/admin/debug/{backend}/sessions (the `ListDebugSessions` operationId) request.
func (*Client) Login ¶
func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
Login performs a POST /api/admin/login (the `Login` operationId) request. Takes a body of the `application/json` content type.
func (*Client) LoginSuperuser ¶
func (c *Client) LoginSuperuser(ctx context.Context, body LoginSuperuserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LoginSuperuser performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request. Takes a body of the `application/json` content type.
func (*Client) LoginSuperuserWithBody ¶
func (c *Client) LoginSuperuserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoginSuperuserWithBody performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request, with any type of body and a specified content type.
func (*Client) LoginWithBody ¶
func (c *Client) LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoginWithBody performs a POST /api/admin/login (the `Login` operationId) request, with any type of body and a specified content type.
func (*Client) Logout ¶
Logout performs a POST /api/admin/logout (the `Logout` operationId) request.
func (*Client) LogoutSuperuser ¶
func (c *Client) LogoutSuperuser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LogoutSuperuser performs a POST /api/admin/superuser/logout (the `LogoutSuperuser` operationId) request.
func (*Client) RefreshSuperuserSession ¶
func (c *Client) RefreshSuperuserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
RefreshSuperuserSession performs a POST /api/admin/superuser/refresh (the `RefreshSuperuserSession` operationId) request.
func (*Client) RefreshUserSession ¶
func (c *Client) RefreshUserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
RefreshUserSession performs a POST /api/admin/refresh (the `RefreshUserSession` operationId) request.
func (*Client) ResetUserPassword ¶ added in v1.9.0
func (c *Client) ResetUserPassword(ctx context.Context, userID int, body ResetUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetUserPassword performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request. Takes a body of the `application/json` content type.
Sets a new password for an admin user without the old one, and ends all of the user's sessions. Requires the admin-user-mgmt-admin permission.
func (*Client) ResetUserPasswordWithBody ¶ added in v1.9.0
func (c *Client) ResetUserPasswordWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetUserPasswordWithBody performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request, with any type of body and a specified content type.
Sets a new password for an admin user without the old one, and ends all of the user's sessions. Requires the admin-user-mgmt-admin permission.
func (*Client) StartDebugSession ¶
func (c *Client) StartDebugSession(ctx context.Context, backend string, body StartDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartDebugSession performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request. Takes a body of the `application/json` content type.
func (*Client) StartDebugSessionWithBody ¶
func (c *Client) StartDebugSessionWithBody(ctx context.Context, backend string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartDebugSessionWithBody performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request, with any type of body and a specified content type.
func (*Client) StopDebugSession ¶
func (c *Client) StopDebugSession(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*http.Response, error)
StopDebugSession performs a POST /api/admin/debug/{backend}/sessions/{sessionId} (the `StopDebugSession` operationId) request.
func (*Client) UpdateGroup ¶
func (c *Client) UpdateGroup(ctx context.Context, groupID int, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGroup performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request. Takes a body of the `application/json` content type.
func (*Client) UpdateGroupWithBody ¶
func (c *Client) UpdateGroupWithBody(ctx context.Context, groupID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGroupWithBody performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request, with any type of body and a specified content type.
func (*Client) UpdateUser ¶
func (c *Client) UpdateUser(ctx context.Context, userID int, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUser performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request. Takes a body of the `application/json` content type.
func (*Client) UpdateUserGroups ¶
func (c *Client) UpdateUserGroups(ctx context.Context, userID int, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUserGroups performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request. Takes a body of the `application/json` content type.
func (*Client) UpdateUserGroupsWithBody ¶
func (c *Client) UpdateUserGroupsWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUserGroupsWithBody performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request, with any type of body and a specified content type.
func (*Client) UpdateUserWithBody ¶
func (c *Client) UpdateUserWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUserWithBody performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request, with any type of body and a specified content type.
type ClientInterface ¶
type ClientInterface interface {
// ListDebugSessions performs a GET /api/admin/debug/{backend}/sessions (the `ListDebugSessions` operationId) request.
ListDebugSessions(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartDebugSessionWithBody performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request,
// with any type of body and a specified content type.
StartDebugSessionWithBody(ctx context.Context, backend string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartDebugSession performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request.
// Takes a body of the `application/json` content type.
StartDebugSession(ctx context.Context, backend string, body StartDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDebugSession performs a DELETE /api/admin/debug/{backend}/sessions/{sessionId} (the `DeleteDebugSession` operationId) request.
DeleteDebugSession(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDebugSession performs a GET /api/admin/debug/{backend}/sessions/{sessionId} (the `GetDebugSession` operationId) request.
GetDebugSession(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopDebugSession performs a POST /api/admin/debug/{backend}/sessions/{sessionId} (the `StopDebugSession` operationId) request.
StopDebugSession(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExtendDebugSessionWithBody performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request,
// with any type of body and a specified content type.
ExtendDebugSessionWithBody(ctx context.Context, backend string, sessionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExtendDebugSession performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request.
// Takes a body of the `application/json` content type.
ExtendDebugSession(ctx context.Context, backend string, sessionId int, body ExtendDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDebugSessionCalls performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls (the `ListDebugSessionCalls` operationId) request.
ListDebugSessionCalls(ctx context.Context, backend string, sessionId int, params *ListDebugSessionCallsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDebugSessionCall performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls/{callId} (the `GetDebugSessionCall` operationId) request.
GetDebugSessionCall(ctx context.Context, backend string, sessionId int, callId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFlow performs a GET /api/admin/flow (the `GetFlow` operationId) request.
GetFlow(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGroups performs a GET /api/admin/groups (the `GetGroups` operationId) request.
GetGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGroupWithBody performs a POST /api/admin/groups (the `CreateGroup` operationId) request,
// with any type of body and a specified content type.
CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGroup performs a POST /api/admin/groups (the `CreateGroup` operationId) request.
// Takes a body of the `application/json` content type.
CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGroup performs a DELETE /api/admin/groups/{groupID} (the `DeleteGroup` operationId) request.
DeleteGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGroup performs a GET /api/admin/groups/{groupID} (the `GetGroup` operationId) request.
GetGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGroupWithBody performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request,
// with any type of body and a specified content type.
UpdateGroupWithBody(ctx context.Context, groupID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGroup performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request.
// Takes a body of the `application/json` content type.
UpdateGroup(ctx context.Context, groupID int, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoginWithBody performs a POST /api/admin/login (the `Login` operationId) request,
// with any type of body and a specified content type.
LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// Login performs a POST /api/admin/login (the `Login` operationId) request.
// Takes a body of the `application/json` content type.
Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Logout performs a POST /api/admin/logout (the `Logout` operationId) request.
Logout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMe performs a GET /api/admin/me (the `GetMe` operationId) request.
GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackendOAS performs a GET /api/admin/oas/{backend} (the `GetBackendOAS` operationId) request.
GetBackendOAS(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPermissions performs a GET /api/admin/permissions (the `GetPermissions` operationId) request.
GetPermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshUserSession performs a POST /api/admin/refresh (the `RefreshUserSession` operationId) request.
RefreshUserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoginSuperuserWithBody performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request,
// with any type of body and a specified content type.
LoginSuperuserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoginSuperuser performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request.
// Takes a body of the `application/json` content type.
LoginSuperuser(ctx context.Context, body LoginSuperuserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogoutSuperuser performs a POST /api/admin/superuser/logout (the `LogoutSuperuser` operationId) request.
LogoutSuperuser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeSuperuserPasswordWithBody performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request,
// with any type of body and a specified content type.
ChangeSuperuserPasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeSuperuserPassword performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request.
// Takes a body of the `application/json` content type.
ChangeSuperuserPassword(ctx context.Context, body ChangeSuperuserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshSuperuserSession performs a POST /api/admin/superuser/refresh (the `RefreshSuperuserSession` operationId) request.
RefreshSuperuserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsers performs a GET /api/admin/users (the `GetUsers` operationId) request.
GetUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUserWithBody performs a POST /api/admin/users (the `CreateUser` operationId) request,
// with any type of body and a specified content type.
CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUser performs a POST /api/admin/users (the `CreateUser` operationId) request.
// Takes a body of the `application/json` content type.
CreateUser(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUser performs a DELETE /api/admin/users/{userID} (the `DeleteUser` operationId) request.
DeleteUser(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUser performs a GET /api/admin/users/{userID} (the `GetUser` operationId) request.
GetUser(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUserWithBody performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request,
// with any type of body and a specified content type.
UpdateUserWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUser performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request.
// Takes a body of the `application/json` content type.
UpdateUser(ctx context.Context, userID int, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUserGroupsWithBody performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request,
// with any type of body and a specified content type.
UpdateUserGroupsWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUserGroups performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request.
// Takes a body of the `application/json` content type.
UpdateUserGroups(ctx context.Context, userID int, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeUserPasswordWithBody performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request,
// with any type of body and a specified content type.
ChangeUserPasswordWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeUserPassword performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request.
// Takes a body of the `application/json` content type.
ChangeUserPassword(ctx context.Context, userID int, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetUserPasswordWithBody performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request,
// with any type of body and a specified content type.
//
// Sets a new password for an admin user without the old one, and ends all of the user's
// sessions. Requires the admin-user-mgmt-admin permission.
ResetUserPasswordWithBody(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetUserPassword performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request.
// Takes a body of the `application/json` content type.
//
// Sets a new password for an admin user without the old one, and ends all of the user's
// sessions. Requires the admin-user-mgmt-admin permission.
ResetUserPassword(ctx context.Context, userID int, body ResetUserPasswordJSONRequestBody, 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) ChangeSuperuserPasswordWithBodyWithResponse ¶
func (c *ClientWithResponses) ChangeSuperuserPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeSuperuserPasswordResponse, error)
ChangeSuperuserPasswordWithBodyWithResponse performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ChangeSuperuserPasswordWithResponse ¶
func (c *ClientWithResponses) ChangeSuperuserPasswordWithResponse(ctx context.Context, body ChangeSuperuserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeSuperuserPasswordResponse, error)
ChangeSuperuserPasswordWithResponse performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ChangeUserPasswordWithBodyWithResponse ¶
func (c *ClientWithResponses) ChangeUserPasswordWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)
ChangeUserPasswordWithBodyWithResponse performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ChangeUserPasswordWithResponse ¶
func (c *ClientWithResponses) ChangeUserPasswordWithResponse(ctx context.Context, userID int, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)
ChangeUserPasswordWithResponse performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
CreateGroupWithBodyWithResponse performs a POST /api/admin/groups (the `CreateGroup` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateGroupWithResponse ¶
func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
CreateGroupWithResponse performs a POST /api/admin/groups (the `CreateGroup` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
CreateUserWithBodyWithResponse performs a POST /api/admin/users (the `CreateUser` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateUserWithResponse ¶
func (c *ClientWithResponses) CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
CreateUserWithResponse performs a POST /api/admin/users (the `CreateUser` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteDebugSessionWithResponse ¶
func (c *ClientWithResponses) DeleteDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*DeleteDebugSessionResponse, error)
DeleteDebugSessionWithResponse performs a DELETE /api/admin/debug/{backend}/sessions/{sessionId} (the `DeleteDebugSession` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteGroupWithResponse ¶
func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)
DeleteGroupWithResponse performs a DELETE /api/admin/groups/{groupID} (the `DeleteGroup` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteUserWithResponse ¶
func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
DeleteUserWithResponse performs a DELETE /api/admin/users/{userID} (the `DeleteUser` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ExtendDebugSessionWithBodyWithResponse ¶
func (c *ClientWithResponses) ExtendDebugSessionWithBodyWithResponse(ctx context.Context, backend string, sessionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtendDebugSessionResponse, error)
ExtendDebugSessionWithBodyWithResponse performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ExtendDebugSessionWithResponse ¶
func (c *ClientWithResponses) ExtendDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, body ExtendDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtendDebugSessionResponse, error)
ExtendDebugSessionWithResponse performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBackendOASWithResponse ¶
func (c *ClientWithResponses) GetBackendOASWithResponse(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*GetBackendOASResponse, error)
GetBackendOASWithResponse performs a GET /api/admin/oas/{backend} (the `GetBackendOAS` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetDebugSessionCallWithResponse ¶
func (c *ClientWithResponses) GetDebugSessionCallWithResponse(ctx context.Context, backend string, sessionId int, callId int, reqEditors ...RequestEditorFn) (*GetDebugSessionCallResponse, error)
GetDebugSessionCallWithResponse performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls/{callId} (the `GetDebugSessionCall` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetDebugSessionWithResponse ¶
func (c *ClientWithResponses) GetDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*GetDebugSessionResponse, error)
GetDebugSessionWithResponse performs a GET /api/admin/debug/{backend}/sessions/{sessionId} (the `GetDebugSession` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetFlowWithResponse ¶
func (c *ClientWithResponses) GetFlowWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFlowResponse, error)
GetFlowWithResponse performs a GET /api/admin/flow (the `GetFlow` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetGroupWithResponse ¶
func (c *ClientWithResponses) GetGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)
GetGroupWithResponse performs a GET /api/admin/groups/{groupID} (the `GetGroup` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetGroupsWithResponse ¶
func (c *ClientWithResponses) GetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGroupsResponse, error)
GetGroupsWithResponse performs a GET /api/admin/groups (the `GetGroups` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMeWithResponse ¶
func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
GetMeWithResponse performs a GET /api/admin/me (the `GetMe` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetPermissionsWithResponse ¶
func (c *ClientWithResponses) GetPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPermissionsResponse, error)
GetPermissionsWithResponse performs a GET /api/admin/permissions (the `GetPermissions` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetUserWithResponse ¶
func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
GetUserWithResponse performs a GET /api/admin/users/{userID} (the `GetUser` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetUsersWithResponse ¶
func (c *ClientWithResponses) GetUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)
GetUsersWithResponse performs a GET /api/admin/users (the `GetUsers` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListDebugSessionCallsWithResponse ¶
func (c *ClientWithResponses) ListDebugSessionCallsWithResponse(ctx context.Context, backend string, sessionId int, params *ListDebugSessionCallsParams, reqEditors ...RequestEditorFn) (*ListDebugSessionCallsResponse, error)
ListDebugSessionCallsWithResponse performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls (the `ListDebugSessionCalls` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListDebugSessionsWithResponse ¶
func (c *ClientWithResponses) ListDebugSessionsWithResponse(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*ListDebugSessionsResponse, error)
ListDebugSessionsWithResponse performs a GET /api/admin/debug/{backend}/sessions (the `ListDebugSessions` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) LoginSuperuserWithBodyWithResponse ¶
func (c *ClientWithResponses) LoginSuperuserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginSuperuserResponse, error)
LoginSuperuserWithBodyWithResponse performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) LoginSuperuserWithResponse ¶
func (c *ClientWithResponses) LoginSuperuserWithResponse(ctx context.Context, body LoginSuperuserJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginSuperuserResponse, error)
LoginSuperuserWithResponse performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) LoginWithBodyWithResponse ¶
func (c *ClientWithResponses) LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResponse, error)
LoginWithBodyWithResponse performs a POST /api/admin/login (the `Login` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) LoginWithResponse ¶
func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)
LoginWithResponse performs a POST /api/admin/login (the `Login` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) LogoutSuperuserWithResponse ¶
func (c *ClientWithResponses) LogoutSuperuserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutSuperuserResponse, error)
LogoutSuperuserWithResponse performs a POST /api/admin/superuser/logout (the `LogoutSuperuser` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) LogoutWithResponse ¶
func (c *ClientWithResponses) LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)
LogoutWithResponse performs a POST /api/admin/logout (the `Logout` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RefreshSuperuserSessionWithResponse ¶
func (c *ClientWithResponses) RefreshSuperuserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshSuperuserSessionResponse, error)
RefreshSuperuserSessionWithResponse performs a POST /api/admin/superuser/refresh (the `RefreshSuperuserSession` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RefreshUserSessionWithResponse ¶
func (c *ClientWithResponses) RefreshUserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshUserSessionResponse, error)
RefreshUserSessionWithResponse performs a POST /api/admin/refresh (the `RefreshUserSession` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ResetUserPasswordWithBodyWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) ResetUserPasswordWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetUserPasswordResponse, error)
ResetUserPasswordWithBodyWithResponse performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request, with any type of body and a specified content type.
Sets a new password for an admin user without the old one, and ends all of the user's sessions. Requires the admin-user-mgmt-admin permission.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ResetUserPasswordWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) ResetUserPasswordWithResponse(ctx context.Context, userID int, body ResetUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetUserPasswordResponse, error)
ResetUserPasswordWithResponse performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Sets a new password for an admin user without the old one, and ends all of the user's sessions. Requires the admin-user-mgmt-admin permission.
func (*ClientWithResponses) StartDebugSessionWithBodyWithResponse ¶
func (c *ClientWithResponses) StartDebugSessionWithBodyWithResponse(ctx context.Context, backend string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDebugSessionResponse, error)
StartDebugSessionWithBodyWithResponse performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) StartDebugSessionWithResponse ¶
func (c *ClientWithResponses) StartDebugSessionWithResponse(ctx context.Context, backend string, body StartDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDebugSessionResponse, error)
StartDebugSessionWithResponse performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) StopDebugSessionWithResponse ¶
func (c *ClientWithResponses) StopDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*StopDebugSessionResponse, error)
StopDebugSessionWithResponse performs a POST /api/admin/debug/{backend}/sessions/{sessionId} (the `StopDebugSession` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, groupID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
UpdateGroupWithBodyWithResponse performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateGroupWithResponse ¶
func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, groupID int, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
UpdateGroupWithResponse performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateUserGroupsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateUserGroupsWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)
UpdateUserGroupsWithBodyWithResponse performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateUserGroupsWithResponse ¶
func (c *ClientWithResponses) UpdateUserGroupsWithResponse(ctx context.Context, userID int, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)
UpdateUserGroupsWithResponse performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateUserWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
UpdateUserWithBodyWithResponse performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request, with any type of body and a specified content type.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateUserWithResponse ¶
func (c *ClientWithResponses) UpdateUserWithResponse(ctx context.Context, userID int, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
UpdateUserWithResponse performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListDebugSessionsWithResponse performs a GET /api/admin/debug/{backend}/sessions (the `ListDebugSessions` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ListDebugSessionsWithResponse(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*ListDebugSessionsResponse, error)
// StartDebugSessionWithBodyWithResponse performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
StartDebugSessionWithBodyWithResponse(ctx context.Context, backend string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDebugSessionResponse, error)
// StartDebugSessionWithResponse performs a POST /api/admin/debug/{backend}/sessions (the `StartDebugSession` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
StartDebugSessionWithResponse(ctx context.Context, backend string, body StartDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDebugSessionResponse, error)
// DeleteDebugSessionWithResponse performs a DELETE /api/admin/debug/{backend}/sessions/{sessionId} (the `DeleteDebugSession` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
DeleteDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*DeleteDebugSessionResponse, error)
// GetDebugSessionWithResponse performs a GET /api/admin/debug/{backend}/sessions/{sessionId} (the `GetDebugSession` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*GetDebugSessionResponse, error)
// StopDebugSessionWithResponse performs a POST /api/admin/debug/{backend}/sessions/{sessionId} (the `StopDebugSession` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
StopDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, reqEditors ...RequestEditorFn) (*StopDebugSessionResponse, error)
// ExtendDebugSessionWithBodyWithResponse performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
ExtendDebugSessionWithBodyWithResponse(ctx context.Context, backend string, sessionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtendDebugSessionResponse, error)
// ExtendDebugSessionWithResponse performs a PUT /api/admin/debug/{backend}/sessions/{sessionId} (the `ExtendDebugSession` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
ExtendDebugSessionWithResponse(ctx context.Context, backend string, sessionId int, body ExtendDebugSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtendDebugSessionResponse, error)
// ListDebugSessionCallsWithResponse performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls (the `ListDebugSessionCalls` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ListDebugSessionCallsWithResponse(ctx context.Context, backend string, sessionId int, params *ListDebugSessionCallsParams, reqEditors ...RequestEditorFn) (*ListDebugSessionCallsResponse, error)
// GetDebugSessionCallWithResponse performs a GET /api/admin/debug/{backend}/sessions/{sessionId}/calls/{callId} (the `GetDebugSessionCall` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetDebugSessionCallWithResponse(ctx context.Context, backend string, sessionId int, callId int, reqEditors ...RequestEditorFn) (*GetDebugSessionCallResponse, error)
// GetFlowWithResponse performs a GET /api/admin/flow (the `GetFlow` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetFlowWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFlowResponse, error)
// GetGroupsWithResponse performs a GET /api/admin/groups (the `GetGroups` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGroupsResponse, error)
// CreateGroupWithBodyWithResponse performs a POST /api/admin/groups (the `CreateGroup` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
// CreateGroupWithResponse performs a POST /api/admin/groups (the `CreateGroup` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
// DeleteGroupWithResponse performs a DELETE /api/admin/groups/{groupID} (the `DeleteGroup` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
DeleteGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)
// GetGroupWithResponse performs a GET /api/admin/groups/{groupID} (the `GetGroup` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)
// UpdateGroupWithBodyWithResponse performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
UpdateGroupWithBodyWithResponse(ctx context.Context, groupID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
// UpdateGroupWithResponse performs a PUT /api/admin/groups/{groupID} (the `UpdateGroup` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
UpdateGroupWithResponse(ctx context.Context, groupID int, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
// LoginWithBodyWithResponse performs a POST /api/admin/login (the `Login` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResponse, error)
// LoginWithResponse performs a POST /api/admin/login (the `Login` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)
// LogoutWithResponse performs a POST /api/admin/logout (the `Logout` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
LogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutResponse, error)
// GetMeWithResponse performs a GET /api/admin/me (the `GetMe` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
// GetBackendOASWithResponse performs a GET /api/admin/oas/{backend} (the `GetBackendOAS` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetBackendOASWithResponse(ctx context.Context, backend string, reqEditors ...RequestEditorFn) (*GetBackendOASResponse, error)
// GetPermissionsWithResponse performs a GET /api/admin/permissions (the `GetPermissions` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPermissionsResponse, error)
// RefreshUserSessionWithResponse performs a POST /api/admin/refresh (the `RefreshUserSession` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
RefreshUserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshUserSessionResponse, error)
// LoginSuperuserWithBodyWithResponse performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
LoginSuperuserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginSuperuserResponse, error)
// LoginSuperuserWithResponse performs a POST /api/admin/superuser/login (the `LoginSuperuser` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
LoginSuperuserWithResponse(ctx context.Context, body LoginSuperuserJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginSuperuserResponse, error)
// LogoutSuperuserWithResponse performs a POST /api/admin/superuser/logout (the `LogoutSuperuser` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
LogoutSuperuserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LogoutSuperuserResponse, error)
// ChangeSuperuserPasswordWithBodyWithResponse performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
ChangeSuperuserPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeSuperuserPasswordResponse, error)
// ChangeSuperuserPasswordWithResponse performs a PUT /api/admin/superuser/password (the `ChangeSuperuserPassword` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
ChangeSuperuserPasswordWithResponse(ctx context.Context, body ChangeSuperuserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeSuperuserPasswordResponse, error)
// RefreshSuperuserSessionWithResponse performs a POST /api/admin/superuser/refresh (the `RefreshSuperuserSession` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
RefreshSuperuserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshSuperuserSessionResponse, error)
// GetUsersWithResponse performs a GET /api/admin/users (the `GetUsers` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsersResponse, error)
// CreateUserWithBodyWithResponse performs a POST /api/admin/users (the `CreateUser` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
// CreateUserWithResponse performs a POST /api/admin/users (the `CreateUser` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
// DeleteUserWithResponse performs a DELETE /api/admin/users/{userID} (the `DeleteUser` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
DeleteUserWithResponse(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
// GetUserWithResponse performs a GET /api/admin/users/{userID} (the `GetUser` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetUserWithResponse(ctx context.Context, userID int, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
// UpdateUserWithBodyWithResponse performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
UpdateUserWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
// UpdateUserWithResponse performs a PUT /api/admin/users/{userID} (the `UpdateUser` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
UpdateUserWithResponse(ctx context.Context, userID int, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
// UpdateUserGroupsWithBodyWithResponse performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
UpdateUserGroupsWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)
// UpdateUserGroupsWithResponse performs a PUT /api/admin/users/{userID}/groups (the `UpdateUserGroups` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
UpdateUserGroupsWithResponse(ctx context.Context, userID int, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)
// ChangeUserPasswordWithBodyWithResponse performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request,
// with any type of body and a specified content type.
//
// Returns a wrapper object for the known response body format(s).
ChangeUserPasswordWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)
// ChangeUserPasswordWithResponse performs a PUT /api/admin/users/{userID}/password (the `ChangeUserPassword` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
ChangeUserPasswordWithResponse(ctx context.Context, userID int, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)
// ResetUserPasswordWithBodyWithResponse performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request,
// with any type of body and a specified content type.
//
// Sets a new password for an admin user without the old one, and ends all of the user's
// sessions. Requires the admin-user-mgmt-admin permission.
//
// Returns a wrapper object for the known response body format(s).
ResetUserPasswordWithBodyWithResponse(ctx context.Context, userID int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetUserPasswordResponse, error)
// ResetUserPasswordWithResponse performs a PUT /api/admin/users/{userID}/password/reset (the `ResetUserPassword` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Sets a new password for an admin user without the old one, and ends all of the user's
// sessions. Requires the admin-user-mgmt-admin permission.
ResetUserPasswordWithResponse(ctx context.Context, userID int, body ResetUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetUserPasswordResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateGroupJSONBody ¶
type CreateGroupJSONBody struct {
Name string `json:"name"`
PermissionIDs []int `json:"permissionIDs"`
}
CreateGroupJSONBody defines parameters for CreateGroup.
type CreateGroupJSONRequestBody ¶
type CreateGroupJSONRequestBody CreateGroupJSONBody
CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.
type CreateGroupRequest ¶
type CreateGroupRequest struct {
Name string `json:"name"`
PermissionIDs []int `json:"permissionIDs"`
}
CreateGroupRequest defines model for CreateGroupRequest.
type CreateGroupResponse ¶
type CreateGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Group
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseCreateGroupResponse ¶
func ParseCreateGroupResponse(rsp *http.Response) (*CreateGroupResponse, error)
ParseCreateGroupResponse parses an HTTP response from a CreateGroupWithResponse call
func (CreateGroupResponse) ContentType ¶
func (r CreateGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateGroupResponse) GetBody ¶
func (r CreateGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateGroupResponse) GetJSON201 ¶
func (r CreateGroupResponse) GetJSON201() *Group
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateGroupResponse) GetJSON400 ¶
func (r CreateGroupResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateGroupResponse) GetJSON401 ¶
func (r CreateGroupResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateGroupResponse) GetJSON403 ¶
func (r CreateGroupResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateGroupResponse) GetJSON409 ¶
func (r CreateGroupResponse) GetJSON409() *APIErrorResponse
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateGroupResponse) GetJSON500 ¶
func (r CreateGroupResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateGroupResponse) Status ¶
func (r CreateGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGroupResponse) StatusCode ¶
func (r CreateGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateUserJSONBody ¶
type CreateUserJSONBody struct {
Password string `json:"password"`
Username string `json:"username"`
}
CreateUserJSONBody defines parameters for CreateUser.
type CreateUserJSONRequestBody ¶
type CreateUserJSONRequestBody CreateUserJSONBody
CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.
type CreateUserRequest ¶
type CreateUserRequest struct {
Password string `json:"password"`
Username string `json:"username"`
}
CreateUserRequest defines model for CreateUserRequest.
type CreateUserResponse ¶
type CreateUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *User
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseCreateUserResponse ¶
func ParseCreateUserResponse(rsp *http.Response) (*CreateUserResponse, error)
ParseCreateUserResponse parses an HTTP response from a CreateUserWithResponse call
func (CreateUserResponse) ContentType ¶
func (r CreateUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateUserResponse) GetBody ¶
func (r CreateUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateUserResponse) GetJSON201 ¶
func (r CreateUserResponse) GetJSON201() *User
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateUserResponse) GetJSON400 ¶
func (r CreateUserResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateUserResponse) GetJSON401 ¶
func (r CreateUserResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateUserResponse) GetJSON403 ¶
func (r CreateUserResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateUserResponse) GetJSON409 ¶
func (r CreateUserResponse) GetJSON409() *APIErrorResponse
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateUserResponse) GetJSON500 ¶
func (r CreateUserResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateUserResponse) Status ¶
func (r CreateUserResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUserResponse) StatusCode ¶
func (r CreateUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DebugSession ¶
type DebugSession struct {
// Backend The backend that the call was made to.
Backend string `json:"backend"`
// ExpiresAt The time when the debug session expires.
ExpiresAt time.Time `json:"expiresAt"`
// Id The ID for the debug session.
Id int `json:"id"`
// StartedAt The time when the debug session started.
StartedAt time.Time `json:"startedAt"`
// StoppedAt The time when the debug session was stopped. Null if the session is still active.
StoppedAt *time.Time `json:"stoppedAt,omitempty"`
}
DebugSession defines model for DebugSession.
type DebugSessionCall ¶
type DebugSessionCall struct {
// FlowTransitions The flow transitions that occurred during this operation, in chronological order.
FlowTransitions []FlowTransition `json:"flowTransitions"`
// Id The ID for the call.
Id int `json:"id"`
// Method The HTTP method of the operation.
Method string `json:"method"`
// StartedAt The time when the call was received.
StartedAt time.Time `json:"startedAt"`
// StatusCode The HTTP status code of the response.
StatusCode int `json:"statusCode"`
// StoppedAt The time when the call was finished being handled. Null if the call is still being handled.
StoppedAt time.Time `json:"stoppedAt"`
// Url The full URL of the request.
Url string `json:"url"`
}
DebugSessionCall defines model for DebugSessionCall.
type DeleteDebugSessionResponse ¶
type DeleteDebugSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseDeleteDebugSessionResponse ¶
func ParseDeleteDebugSessionResponse(rsp *http.Response) (*DeleteDebugSessionResponse, error)
ParseDeleteDebugSessionResponse parses an HTTP response from a DeleteDebugSessionWithResponse call
func (DeleteDebugSessionResponse) ContentType ¶
func (r DeleteDebugSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDebugSessionResponse) GetBody ¶
func (r DeleteDebugSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDebugSessionResponse) GetJSON400 ¶
func (r DeleteDebugSessionResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteDebugSessionResponse) GetJSON401 ¶
func (r DeleteDebugSessionResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteDebugSessionResponse) GetJSON403 ¶
func (r DeleteDebugSessionResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteDebugSessionResponse) GetJSON404 ¶
func (r DeleteDebugSessionResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteDebugSessionResponse) GetJSON500 ¶
func (r DeleteDebugSessionResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteDebugSessionResponse) Status ¶
func (r DeleteDebugSessionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDebugSessionResponse) StatusCode ¶
func (r DeleteDebugSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGroupResponse ¶
type DeleteGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseDeleteGroupResponse ¶
func ParseDeleteGroupResponse(rsp *http.Response) (*DeleteGroupResponse, error)
ParseDeleteGroupResponse parses an HTTP response from a DeleteGroupWithResponse call
func (DeleteGroupResponse) ContentType ¶
func (r DeleteGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteGroupResponse) GetBody ¶
func (r DeleteGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteGroupResponse) GetJSON400 ¶
func (r DeleteGroupResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteGroupResponse) GetJSON401 ¶
func (r DeleteGroupResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteGroupResponse) GetJSON403 ¶
func (r DeleteGroupResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteGroupResponse) GetJSON404 ¶
func (r DeleteGroupResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteGroupResponse) GetJSON500 ¶
func (r DeleteGroupResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteGroupResponse) Status ¶
func (r DeleteGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteGroupResponse) StatusCode ¶
func (r DeleteGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUserResponse ¶
type DeleteUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseDeleteUserResponse ¶
func ParseDeleteUserResponse(rsp *http.Response) (*DeleteUserResponse, error)
ParseDeleteUserResponse parses an HTTP response from a DeleteUserWithResponse call
func (DeleteUserResponse) ContentType ¶
func (r DeleteUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUserResponse) GetBody ¶
func (r DeleteUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteUserResponse) GetJSON400 ¶
func (r DeleteUserResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteUserResponse) GetJSON401 ¶
func (r DeleteUserResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteUserResponse) GetJSON403 ¶
func (r DeleteUserResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteUserResponse) GetJSON404 ¶
func (r DeleteUserResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteUserResponse) GetJSON500 ¶
func (r DeleteUserResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteUserResponse) Status ¶
func (r DeleteUserResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUserResponse) StatusCode ¶
func (r DeleteUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExtendDebugSessionJSONBody ¶
type ExtendDebugSessionJSONBody struct {
// AdditionalDurationSeconds Additional duration in seconds to keep the backend in debug mode. Total duration cannot exceed 1 hour.
AdditionalDurationSeconds int `json:"additionalDurationSeconds"`
}
ExtendDebugSessionJSONBody defines parameters for ExtendDebugSession.
type ExtendDebugSessionJSONRequestBody ¶
type ExtendDebugSessionJSONRequestBody ExtendDebugSessionJSONBody
ExtendDebugSessionJSONRequestBody defines body for ExtendDebugSession for application/json ContentType.
type ExtendDebugSessionResponse ¶
type ExtendDebugSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DebugSession
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseExtendDebugSessionResponse ¶
func ParseExtendDebugSessionResponse(rsp *http.Response) (*ExtendDebugSessionResponse, error)
ParseExtendDebugSessionResponse parses an HTTP response from a ExtendDebugSessionWithResponse call
func (ExtendDebugSessionResponse) ContentType ¶
func (r ExtendDebugSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExtendDebugSessionResponse) GetBody ¶
func (r ExtendDebugSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExtendDebugSessionResponse) GetJSON200 ¶
func (r ExtendDebugSessionResponse) GetJSON200() *DebugSession
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExtendDebugSessionResponse) GetJSON400 ¶
func (r ExtendDebugSessionResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ExtendDebugSessionResponse) GetJSON401 ¶
func (r ExtendDebugSessionResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ExtendDebugSessionResponse) GetJSON403 ¶
func (r ExtendDebugSessionResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ExtendDebugSessionResponse) GetJSON404 ¶
func (r ExtendDebugSessionResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ExtendDebugSessionResponse) GetJSON409 ¶
func (r ExtendDebugSessionResponse) GetJSON409() *APIErrorResponse
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ExtendDebugSessionResponse) GetJSON500 ¶
func (r ExtendDebugSessionResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ExtendDebugSessionResponse) Status ¶
func (r ExtendDebugSessionResponse) Status() string
Status returns HTTPResponse.Status
func (ExtendDebugSessionResponse) StatusCode ¶
func (r ExtendDebugSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FlowMeta ¶
type FlowMeta struct {
// Data The metadata for the flow component. The structure of the metadata depends on the flow component.
Data FlowMeta_Data `json:"data"`
// Name The name of the flow component, e.g. "obs", "router".
Name string `json:"name"`
}
FlowMeta defines model for FlowMeta.
type FlowMetaDataAuth ¶
type FlowMetaDataAuth struct {
Methods *FlowMetaDataAuthMethods `json:"methods,omitempty"`
Scheme *FlowMetaDataAuthScheme `json:"scheme,omitempty"`
}
FlowMetaDataAuth defines model for FlowMetaDataAuth.
type FlowMetaDataAuthMethodBasic ¶
type FlowMetaDataAuthMethodBasic = map[string]interface{}
FlowMetaDataAuthMethodBasic defines model for FlowMetaDataAuthMethodBasic.
type FlowMetaDataAuthMethods ¶
type FlowMetaDataAuthMethods struct {
Basic *FlowMetaDataAuthMethodBasic `json:"basic,omitempty"`
}
FlowMetaDataAuthMethods defines model for FlowMetaDataAuthMethods.
type FlowMetaDataAuthScheme ¶
type FlowMetaDataAuthScheme struct {
Mappings *[]FlowMetaDataAuthSchemeMapping `json:"mappings,omitempty"`
}
FlowMetaDataAuthScheme defines model for FlowMetaDataAuthScheme.
type FlowMetaDataAuthSchemeMapping ¶
type FlowMetaDataAuthSchemeMapping struct {
Authorization *FlowMetaDataAuthSchemeMappingAuthorization `json:"authorization,omitempty"`
Backend string `json:"backend"`
Exempt *[]string `json:"exempt,omitempty"`
Method string `json:"method"`
}
FlowMetaDataAuthSchemeMapping defines model for FlowMetaDataAuthSchemeMapping.
type FlowMetaDataAuthSchemeMappingAuthorization ¶
type FlowMetaDataAuthSchemeMappingAuthorization struct {
Groups *[]string `json:"groups,omitempty"`
Paths *map[string][]string `json:"paths,omitempty"`
}
FlowMetaDataAuthSchemeMappingAuthorization defines model for FlowMetaDataAuthSchemeMappingAuthorization.
type FlowMetaDataOAS ¶
type FlowMetaDataOAS struct {
Backends *[]string `json:"backends,omitempty"`
}
FlowMetaDataOAS defines model for FlowMetaDataOAS.
type FlowMetaDataObservability ¶
type FlowMetaDataObservability struct {
Enabled bool `json:"enabled"`
}
FlowMetaDataObservability defines model for FlowMetaDataObservability.
type FlowMetaDataRouter ¶
type FlowMetaDataRouter struct {
Backends *[]FlowMetaDataRouterBackend `json:"backends,omitempty"`
}
FlowMetaDataRouter defines model for FlowMetaDataRouter.
type FlowMetaDataRouterBackend ¶
type FlowMetaDataRouterBackend struct {
Host string `json:"host"`
Name string `json:"name"`
Port int `json:"port"`
}
FlowMetaDataRouterBackend defines model for FlowMetaDataRouterBackend.
type FlowMeta_Data ¶
type FlowMeta_Data struct {
// contains filtered or unexported fields
}
FlowMeta_Data The metadata for the flow component. The structure of the metadata depends on the flow component.
func (FlowMeta_Data) AsFlowMetaDataAuth ¶
func (t FlowMeta_Data) AsFlowMetaDataAuth() (FlowMetaDataAuth, error)
AsFlowMetaDataAuth returns the union data inside the FlowMeta_Data as a FlowMetaDataAuth
func (FlowMeta_Data) AsFlowMetaDataOAS ¶
func (t FlowMeta_Data) AsFlowMetaDataOAS() (FlowMetaDataOAS, error)
AsFlowMetaDataOAS returns the union data inside the FlowMeta_Data as a FlowMetaDataOAS
func (FlowMeta_Data) AsFlowMetaDataObservability ¶
func (t FlowMeta_Data) AsFlowMetaDataObservability() (FlowMetaDataObservability, error)
AsFlowMetaDataObservability returns the union data inside the FlowMeta_Data as a FlowMetaDataObservability
func (FlowMeta_Data) AsFlowMetaDataRouter ¶
func (t FlowMeta_Data) AsFlowMetaDataRouter() (FlowMetaDataRouter, error)
AsFlowMetaDataRouter returns the union data inside the FlowMeta_Data as a FlowMetaDataRouter
func (FlowMeta_Data) AsNoFlowMetaData ¶
func (t FlowMeta_Data) AsNoFlowMetaData() (NoFlowMetaData, error)
AsNoFlowMetaData returns the union data inside the FlowMeta_Data as a NoFlowMetaData
func (*FlowMeta_Data) FromFlowMetaDataAuth ¶
func (t *FlowMeta_Data) FromFlowMetaDataAuth(v FlowMetaDataAuth) error
FromFlowMetaDataAuth overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataAuth
func (*FlowMeta_Data) FromFlowMetaDataOAS ¶
func (t *FlowMeta_Data) FromFlowMetaDataOAS(v FlowMetaDataOAS) error
FromFlowMetaDataOAS overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataOAS
func (*FlowMeta_Data) FromFlowMetaDataObservability ¶
func (t *FlowMeta_Data) FromFlowMetaDataObservability(v FlowMetaDataObservability) error
FromFlowMetaDataObservability overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataObservability
func (*FlowMeta_Data) FromFlowMetaDataRouter ¶
func (t *FlowMeta_Data) FromFlowMetaDataRouter(v FlowMetaDataRouter) error
FromFlowMetaDataRouter overwrites any union data inside the FlowMeta_Data as the provided FlowMetaDataRouter
func (*FlowMeta_Data) FromNoFlowMetaData ¶
func (t *FlowMeta_Data) FromNoFlowMetaData(v NoFlowMetaData) error
FromNoFlowMetaData overwrites any union data inside the FlowMeta_Data as the provided NoFlowMetaData
func (FlowMeta_Data) MarshalJSON ¶
func (t FlowMeta_Data) MarshalJSON() ([]byte, error)
func (*FlowMeta_Data) MergeFlowMetaDataAuth ¶
func (t *FlowMeta_Data) MergeFlowMetaDataAuth(v FlowMetaDataAuth) error
MergeFlowMetaDataAuth performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataAuth
func (*FlowMeta_Data) MergeFlowMetaDataOAS ¶
func (t *FlowMeta_Data) MergeFlowMetaDataOAS(v FlowMetaDataOAS) error
MergeFlowMetaDataOAS performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataOAS
func (*FlowMeta_Data) MergeFlowMetaDataObservability ¶
func (t *FlowMeta_Data) MergeFlowMetaDataObservability(v FlowMetaDataObservability) error
MergeFlowMetaDataObservability performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataObservability
func (*FlowMeta_Data) MergeFlowMetaDataRouter ¶
func (t *FlowMeta_Data) MergeFlowMetaDataRouter(v FlowMetaDataRouter) error
MergeFlowMetaDataRouter performs a merge with any union data inside the FlowMeta_Data, using the provided FlowMetaDataRouter
func (*FlowMeta_Data) MergeNoFlowMetaData ¶
func (t *FlowMeta_Data) MergeNoFlowMetaData(v NoFlowMetaData) error
MergeNoFlowMetaData performs a merge with any union data inside the FlowMeta_Data, using the provided NoFlowMetaData
func (*FlowMeta_Data) UnmarshalJSON ¶
func (t *FlowMeta_Data) UnmarshalJSON(b []byte) error
type FlowTransition ¶
type FlowTransition struct {
// Component The flow component that the transition corresponds to.
Component string `json:"component"`
// Direction The direction of the flow transition. Some components handle requests
// both coming into the system (inbound) and going out of the system (outbound).
Direction FlowTransitionDirection `json:"direction"`
// Result The result of a flow transition. A flow transition can either succeed or fail.
Result FlowTransitionResult `json:"result"`
// StartedAt The time when the flow transition started.
StartedAt time.Time `json:"startedAt"`
// StoppedAt The time when the flow transition stopped. Null if the transition is still active.
StoppedAt time.Time `json:"stoppedAt"`
}
FlowTransition A flow transition that occurred during a debug session call. A flow transition represents a flow component's handling of a request, in both directions.
type FlowTransitionDirection ¶
type FlowTransitionDirection string
FlowTransitionDirection The direction of the flow transition. Some components handle requests both coming into the system (inbound) and going out of the system (outbound).
const ( Inbound FlowTransitionDirection = "inbound" Outbound FlowTransitionDirection = "outbound" )
Defines values for FlowTransitionDirection.
func (FlowTransitionDirection) Valid ¶
func (e FlowTransitionDirection) Valid() bool
Valid indicates whether the value is a known member of the FlowTransitionDirection enum.
type FlowTransitionResult ¶
type FlowTransitionResult struct {
// Cause The cause of the flow transition result, if outcome is 'failure'.
Cause *string `json:"cause,omitempty"`
Outcome FlowTransitionResultOutcome `json:"outcome"`
}
FlowTransitionResult The result of a flow transition. A flow transition can either succeed or fail.
type FlowTransitionResultOutcome ¶
type FlowTransitionResultOutcome string
FlowTransitionResultOutcome defines model for FlowTransitionResult.Outcome.
const ( Failure FlowTransitionResultOutcome = "failure" Success FlowTransitionResultOutcome = "success" )
Defines values for FlowTransitionResultOutcome.
func (FlowTransitionResultOutcome) Valid ¶
func (e FlowTransitionResultOutcome) Valid() bool
Valid indicates whether the value is a known member of the FlowTransitionResultOutcome enum.
type GetBackendOASResponse ¶
type GetBackendOASResponse struct {
Body []byte
HTTPResponse *http.Response
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *map[string]interface{}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetBackendOASResponse ¶
func ParseGetBackendOASResponse(rsp *http.Response) (*GetBackendOASResponse, error)
ParseGetBackendOASResponse parses an HTTP response from a GetBackendOASWithResponse call
func (GetBackendOASResponse) ContentType ¶
func (r GetBackendOASResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackendOASResponse) GetBody ¶
func (r GetBackendOASResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBackendOASResponse) GetJSON401 ¶
func (r GetBackendOASResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetBackendOASResponse) GetJSON403 ¶
func (r GetBackendOASResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetBackendOASResponse) GetJSON404 ¶
func (r GetBackendOASResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBackendOASResponse) GetJSON500 ¶
func (r GetBackendOASResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBackendOASResponse) GetYAML200 ¶
func (r GetBackendOASResponse) GetYAML200() *map[string]interface{}
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetBackendOASResponse) Status ¶
func (r GetBackendOASResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackendOASResponse) StatusCode ¶
func (r GetBackendOASResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDebugSessionCallResponse ¶
type GetDebugSessionCallResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DebugSessionCall
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetDebugSessionCallResponse ¶
func ParseGetDebugSessionCallResponse(rsp *http.Response) (*GetDebugSessionCallResponse, error)
ParseGetDebugSessionCallResponse parses an HTTP response from a GetDebugSessionCallWithResponse call
func (GetDebugSessionCallResponse) ContentType ¶
func (r GetDebugSessionCallResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDebugSessionCallResponse) GetBody ¶
func (r GetDebugSessionCallResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDebugSessionCallResponse) GetJSON200 ¶
func (r GetDebugSessionCallResponse) GetJSON200() *DebugSessionCall
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDebugSessionCallResponse) GetJSON400 ¶
func (r GetDebugSessionCallResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDebugSessionCallResponse) GetJSON401 ¶
func (r GetDebugSessionCallResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDebugSessionCallResponse) GetJSON403 ¶
func (r GetDebugSessionCallResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetDebugSessionCallResponse) GetJSON404 ¶
func (r GetDebugSessionCallResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDebugSessionCallResponse) GetJSON500 ¶
func (r GetDebugSessionCallResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetDebugSessionCallResponse) Status ¶
func (r GetDebugSessionCallResponse) Status() string
Status returns HTTPResponse.Status
func (GetDebugSessionCallResponse) StatusCode ¶
func (r GetDebugSessionCallResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDebugSessionResponse ¶
type GetDebugSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DebugSession
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetDebugSessionResponse ¶
func ParseGetDebugSessionResponse(rsp *http.Response) (*GetDebugSessionResponse, error)
ParseGetDebugSessionResponse parses an HTTP response from a GetDebugSessionWithResponse call
func (GetDebugSessionResponse) ContentType ¶
func (r GetDebugSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDebugSessionResponse) GetBody ¶
func (r GetDebugSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDebugSessionResponse) GetJSON200 ¶
func (r GetDebugSessionResponse) GetJSON200() *DebugSession
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDebugSessionResponse) GetJSON400 ¶
func (r GetDebugSessionResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDebugSessionResponse) GetJSON401 ¶
func (r GetDebugSessionResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDebugSessionResponse) GetJSON403 ¶
func (r GetDebugSessionResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetDebugSessionResponse) GetJSON404 ¶
func (r GetDebugSessionResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDebugSessionResponse) GetJSON500 ¶
func (r GetDebugSessionResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetDebugSessionResponse) Status ¶
func (r GetDebugSessionResponse) Status() string
Status returns HTTPResponse.Status
func (GetDebugSessionResponse) StatusCode ¶
func (r GetDebugSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFlowResponse ¶
type GetFlowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]FlowMeta
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetFlowResponse ¶
func ParseGetFlowResponse(rsp *http.Response) (*GetFlowResponse, error)
ParseGetFlowResponse parses an HTTP response from a GetFlowWithResponse call
func (GetFlowResponse) ContentType ¶
func (r GetFlowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFlowResponse) GetBody ¶
func (r GetFlowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFlowResponse) GetJSON200 ¶
func (r GetFlowResponse) GetJSON200() *[]FlowMeta
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFlowResponse) GetJSON401 ¶
func (r GetFlowResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFlowResponse) GetJSON403 ¶
func (r GetFlowResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetFlowResponse) GetJSON500 ¶
func (r GetFlowResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFlowResponse) Status ¶
func (r GetFlowResponse) Status() string
Status returns HTTPResponse.Status
func (GetFlowResponse) StatusCode ¶
func (r GetFlowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGroupResponse ¶
type GetGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Group
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetGroupResponse ¶
func ParseGetGroupResponse(rsp *http.Response) (*GetGroupResponse, error)
ParseGetGroupResponse parses an HTTP response from a GetGroupWithResponse call
func (GetGroupResponse) ContentType ¶
func (r GetGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGroupResponse) GetBody ¶
func (r GetGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGroupResponse) GetJSON200 ¶
func (r GetGroupResponse) GetJSON200() *Group
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetGroupResponse) GetJSON401 ¶
func (r GetGroupResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetGroupResponse) GetJSON403 ¶
func (r GetGroupResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetGroupResponse) GetJSON404 ¶
func (r GetGroupResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetGroupResponse) GetJSON500 ¶
func (r GetGroupResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetGroupResponse) Status ¶
func (r GetGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetGroupResponse) StatusCode ¶
func (r GetGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGroupsResponse ¶
type GetGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Group
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetGroupsResponse ¶
func ParseGetGroupsResponse(rsp *http.Response) (*GetGroupsResponse, error)
ParseGetGroupsResponse parses an HTTP response from a GetGroupsWithResponse call
func (GetGroupsResponse) ContentType ¶
func (r GetGroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGroupsResponse) GetBody ¶
func (r GetGroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGroupsResponse) GetJSON200 ¶
func (r GetGroupsResponse) GetJSON200() *[]Group
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetGroupsResponse) GetJSON401 ¶
func (r GetGroupsResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetGroupsResponse) GetJSON403 ¶
func (r GetGroupsResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetGroupsResponse) GetJSON500 ¶
func (r GetGroupsResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetGroupsResponse) Status ¶
func (r GetGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGroupsResponse) StatusCode ¶
func (r GetGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMeResponse ¶
type GetMeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MeResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetMeResponse ¶
func ParseGetMeResponse(rsp *http.Response) (*GetMeResponse, error)
ParseGetMeResponse parses an HTTP response from a GetMeWithResponse call
func (GetMeResponse) ContentType ¶
func (r GetMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMeResponse) GetBody ¶
func (r GetMeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMeResponse) GetJSON200 ¶
func (r GetMeResponse) GetJSON200() *MeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMeResponse) GetJSON401 ¶
func (r GetMeResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMeResponse) GetJSON500 ¶
func (r GetMeResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMeResponse) Status ¶
func (r GetMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetMeResponse) StatusCode ¶
func (r GetMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPermissionsResponse ¶
type GetPermissionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Permission
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetPermissionsResponse ¶
func ParseGetPermissionsResponse(rsp *http.Response) (*GetPermissionsResponse, error)
ParseGetPermissionsResponse parses an HTTP response from a GetPermissionsWithResponse call
func (GetPermissionsResponse) ContentType ¶
func (r GetPermissionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPermissionsResponse) GetBody ¶
func (r GetPermissionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPermissionsResponse) GetJSON200 ¶
func (r GetPermissionsResponse) GetJSON200() *[]Permission
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPermissionsResponse) GetJSON401 ¶
func (r GetPermissionsResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPermissionsResponse) GetJSON500 ¶
func (r GetPermissionsResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPermissionsResponse) Status ¶
func (r GetPermissionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPermissionsResponse) StatusCode ¶
func (r GetPermissionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserResponse ¶
type GetUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *User
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetUserResponse ¶
func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call
func (GetUserResponse) ContentType ¶
func (r GetUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUserResponse) GetBody ¶
func (r GetUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUserResponse) GetJSON200 ¶
func (r GetUserResponse) GetJSON200() *User
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUserResponse) GetJSON400 ¶
func (r GetUserResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetUserResponse) GetJSON401 ¶
func (r GetUserResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetUserResponse) GetJSON403 ¶
func (r GetUserResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetUserResponse) GetJSON404 ¶
func (r GetUserResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetUserResponse) GetJSON500 ¶
func (r GetUserResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetUserResponse) Status ¶
func (r GetUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserResponse) StatusCode ¶
func (r GetUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsersResponse ¶
type GetUsersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]User
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseGetUsersResponse ¶
func ParseGetUsersResponse(rsp *http.Response) (*GetUsersResponse, error)
ParseGetUsersResponse parses an HTTP response from a GetUsersWithResponse call
func (GetUsersResponse) ContentType ¶
func (r GetUsersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUsersResponse) GetBody ¶
func (r GetUsersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUsersResponse) GetJSON200 ¶
func (r GetUsersResponse) GetJSON200() *[]User
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUsersResponse) GetJSON401 ¶
func (r GetUsersResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetUsersResponse) GetJSON403 ¶
func (r GetUsersResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetUsersResponse) GetJSON500 ¶
func (r GetUsersResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetUsersResponse) Status ¶
func (r GetUsersResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsersResponse) StatusCode ¶
func (r GetUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Group ¶
type Group struct {
Id int `json:"id"`
Name string `json:"name"`
// Permissions The permissions that the group has. This may or may not be set depending on the endpoint.
Permissions *[]Permission `json:"permissions,omitempty"`
}
Group defines model for Group.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListDebugSessionCallsParams ¶
type ListDebugSessionCallsParams struct {
IncludeTransitions bool `form:"includeTransitions" json:"includeTransitions"`
}
ListDebugSessionCallsParams defines parameters for ListDebugSessionCalls.
type ListDebugSessionCallsResponse ¶
type ListDebugSessionCallsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]DebugSessionCall
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseListDebugSessionCallsResponse ¶
func ParseListDebugSessionCallsResponse(rsp *http.Response) (*ListDebugSessionCallsResponse, error)
ParseListDebugSessionCallsResponse parses an HTTP response from a ListDebugSessionCallsWithResponse call
func (ListDebugSessionCallsResponse) ContentType ¶
func (r ListDebugSessionCallsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDebugSessionCallsResponse) GetBody ¶
func (r ListDebugSessionCallsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDebugSessionCallsResponse) GetJSON200 ¶
func (r ListDebugSessionCallsResponse) GetJSON200() *[]DebugSessionCall
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDebugSessionCallsResponse) GetJSON400 ¶
func (r ListDebugSessionCallsResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListDebugSessionCallsResponse) GetJSON401 ¶
func (r ListDebugSessionCallsResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListDebugSessionCallsResponse) GetJSON403 ¶
func (r ListDebugSessionCallsResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListDebugSessionCallsResponse) GetJSON404 ¶
func (r ListDebugSessionCallsResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListDebugSessionCallsResponse) GetJSON500 ¶
func (r ListDebugSessionCallsResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListDebugSessionCallsResponse) Status ¶
func (r ListDebugSessionCallsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDebugSessionCallsResponse) StatusCode ¶
func (r ListDebugSessionCallsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDebugSessionsResponse ¶
type ListDebugSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]DebugSession
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseListDebugSessionsResponse ¶
func ParseListDebugSessionsResponse(rsp *http.Response) (*ListDebugSessionsResponse, error)
ParseListDebugSessionsResponse parses an HTTP response from a ListDebugSessionsWithResponse call
func (ListDebugSessionsResponse) ContentType ¶
func (r ListDebugSessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDebugSessionsResponse) GetBody ¶
func (r ListDebugSessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDebugSessionsResponse) GetJSON200 ¶
func (r ListDebugSessionsResponse) GetJSON200() *[]DebugSession
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDebugSessionsResponse) GetJSON401 ¶
func (r ListDebugSessionsResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListDebugSessionsResponse) GetJSON403 ¶
func (r ListDebugSessionsResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListDebugSessionsResponse) GetJSON404 ¶
func (r ListDebugSessionsResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListDebugSessionsResponse) GetJSON500 ¶
func (r ListDebugSessionsResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListDebugSessionsResponse) Status ¶
func (r ListDebugSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDebugSessionsResponse) StatusCode ¶
func (r ListDebugSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginJSONBody ¶
LoginJSONBody defines parameters for Login.
type LoginJSONRequestBody ¶
type LoginJSONRequestBody LoginJSONBody
LoginJSONRequestBody defines body for Login for application/json ContentType.
type LoginResponse ¶
type LoginResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *LoginResponse204Headers
}
func ParseLoginResponse ¶
func ParseLoginResponse(rsp *http.Response) (*LoginResponse, error)
ParseLoginResponse parses an HTTP response from a LoginWithResponse call
func (LoginResponse) ContentType ¶
func (r LoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoginResponse) GetBody ¶
func (r LoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoginResponse) GetJSON400 ¶
func (r LoginResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (LoginResponse) GetJSON401 ¶
func (r LoginResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LoginResponse) GetJSON500 ¶
func (r LoginResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (LoginResponse) Status ¶
func (r LoginResponse) Status() string
Status returns HTTPResponse.Status
func (LoginResponse) StatusCode ¶
func (r LoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginResponse204Headers ¶
type LoginResponse204Headers struct {
SetCookie *string
}
LoginResponse204Headers the declared response headers of an HTTP 204 response for Login
type LoginSuperuserJSONBody ¶
type LoginSuperuserJSONBody struct {
ClientId string `json:"clientId"`
ClientSecret string `json:"clientSecret"`
}
LoginSuperuserJSONBody defines parameters for LoginSuperuser.
type LoginSuperuserJSONRequestBody ¶
type LoginSuperuserJSONRequestBody LoginSuperuserJSONBody
LoginSuperuserJSONRequestBody defines body for LoginSuperuser for application/json ContentType.
type LoginSuperuserResponse ¶
type LoginSuperuserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *LoginSuperuserResponse204Headers
}
func ParseLoginSuperuserResponse ¶
func ParseLoginSuperuserResponse(rsp *http.Response) (*LoginSuperuserResponse, error)
ParseLoginSuperuserResponse parses an HTTP response from a LoginSuperuserWithResponse call
func (LoginSuperuserResponse) ContentType ¶
func (r LoginSuperuserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoginSuperuserResponse) GetBody ¶
func (r LoginSuperuserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoginSuperuserResponse) GetJSON400 ¶
func (r LoginSuperuserResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (LoginSuperuserResponse) GetJSON401 ¶
func (r LoginSuperuserResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LoginSuperuserResponse) GetJSON500 ¶
func (r LoginSuperuserResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (LoginSuperuserResponse) Status ¶
func (r LoginSuperuserResponse) Status() string
Status returns HTTPResponse.Status
func (LoginSuperuserResponse) StatusCode ¶
func (r LoginSuperuserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginSuperuserResponse204Headers ¶
type LoginSuperuserResponse204Headers struct {
SetCookie *string
}
LoginSuperuserResponse204Headers the declared response headers of an HTTP 204 response for LoginSuperuser
type LoginUserRequest ¶
type LoginUserRequest struct {
Password string `json:"password"`
Username string `json:"username"`
}
LoginUserRequest defines model for LoginUserRequest.
type LogoutResponse ¶
type LogoutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *LogoutResponse204Headers
}
func ParseLogoutResponse ¶
func ParseLogoutResponse(rsp *http.Response) (*LogoutResponse, error)
ParseLogoutResponse parses an HTTP response from a LogoutWithResponse call
func (LogoutResponse) ContentType ¶
func (r LogoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogoutResponse) GetBody ¶
func (r LogoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LogoutResponse) GetJSON401 ¶
func (r LogoutResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LogoutResponse) GetJSON500 ¶
func (r LogoutResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (LogoutResponse) Status ¶
func (r LogoutResponse) Status() string
Status returns HTTPResponse.Status
func (LogoutResponse) StatusCode ¶
func (r LogoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogoutResponse204Headers ¶
type LogoutResponse204Headers struct {
SetCookie *string
}
LogoutResponse204Headers the declared response headers of an HTTP 204 response for Logout
type LogoutSuperuserResponse ¶
type LogoutSuperuserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *LogoutSuperuserResponse204Headers
}
func ParseLogoutSuperuserResponse ¶
func ParseLogoutSuperuserResponse(rsp *http.Response) (*LogoutSuperuserResponse, error)
ParseLogoutSuperuserResponse parses an HTTP response from a LogoutSuperuserWithResponse call
func (LogoutSuperuserResponse) ContentType ¶
func (r LogoutSuperuserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogoutSuperuserResponse) GetBody ¶
func (r LogoutSuperuserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LogoutSuperuserResponse) GetJSON401 ¶
func (r LogoutSuperuserResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LogoutSuperuserResponse) GetJSON403 ¶
func (r LogoutSuperuserResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (LogoutSuperuserResponse) GetJSON500 ¶
func (r LogoutSuperuserResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (LogoutSuperuserResponse) Status ¶
func (r LogoutSuperuserResponse) Status() string
Status returns HTTPResponse.Status
func (LogoutSuperuserResponse) StatusCode ¶
func (r LogoutSuperuserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogoutSuperuserResponse204Headers ¶
type LogoutSuperuserResponse204Headers struct {
SetCookie *string
}
LogoutSuperuserResponse204Headers the declared response headers of an HTTP 204 response for LogoutSuperuser
type MeResponse ¶
MeResponse defines model for MeResponse.
type NoFlowMetaData ¶
type NoFlowMetaData = map[string]interface{}
NoFlowMetaData No metadata for the flow component.
type Permission ¶
Permission defines model for Permission.
type RefreshSuperuserSessionResponse ¶
type RefreshSuperuserSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *RefreshSuperuserSessionResponse204Headers
}
func ParseRefreshSuperuserSessionResponse ¶
func ParseRefreshSuperuserSessionResponse(rsp *http.Response) (*RefreshSuperuserSessionResponse, error)
ParseRefreshSuperuserSessionResponse parses an HTTP response from a RefreshSuperuserSessionWithResponse call
func (RefreshSuperuserSessionResponse) ContentType ¶
func (r RefreshSuperuserSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RefreshSuperuserSessionResponse) GetBody ¶
func (r RefreshSuperuserSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RefreshSuperuserSessionResponse) GetJSON401 ¶
func (r RefreshSuperuserSessionResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RefreshSuperuserSessionResponse) GetJSON403 ¶
func (r RefreshSuperuserSessionResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (RefreshSuperuserSessionResponse) GetJSON500 ¶
func (r RefreshSuperuserSessionResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (RefreshSuperuserSessionResponse) Status ¶
func (r RefreshSuperuserSessionResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshSuperuserSessionResponse) StatusCode ¶
func (r RefreshSuperuserSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshSuperuserSessionResponse204Headers ¶
type RefreshSuperuserSessionResponse204Headers struct {
SetCookie *string
}
RefreshSuperuserSessionResponse204Headers the declared response headers of an HTTP 204 response for RefreshSuperuserSession
type RefreshUserSessionResponse ¶
type RefreshUserSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *RefreshUserSessionResponse204Headers
}
func ParseRefreshUserSessionResponse ¶
func ParseRefreshUserSessionResponse(rsp *http.Response) (*RefreshUserSessionResponse, error)
ParseRefreshUserSessionResponse parses an HTTP response from a RefreshUserSessionWithResponse call
func (RefreshUserSessionResponse) ContentType ¶
func (r RefreshUserSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RefreshUserSessionResponse) GetBody ¶
func (r RefreshUserSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RefreshUserSessionResponse) GetJSON401 ¶
func (r RefreshUserSessionResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RefreshUserSessionResponse) GetJSON500 ¶
func (r RefreshUserSessionResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (RefreshUserSessionResponse) Status ¶
func (r RefreshUserSessionResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshUserSessionResponse) StatusCode ¶
func (r RefreshUserSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshUserSessionResponse204Headers ¶
type RefreshUserSessionResponse204Headers struct {
SetCookie *string
}
RefreshUserSessionResponse204Headers the declared response headers of an HTTP 204 response for RefreshUserSession
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResetPasswordRequest ¶ added in v1.9.0
type ResetPasswordRequest struct {
NewPassword string `json:"newPassword"`
}
ResetPasswordRequest defines model for ResetPasswordRequest.
type ResetUserPasswordJSONBody ¶ added in v1.9.0
type ResetUserPasswordJSONBody struct {
NewPassword string `json:"newPassword"`
}
ResetUserPasswordJSONBody defines parameters for ResetUserPassword.
type ResetUserPasswordJSONRequestBody ¶ added in v1.9.0
type ResetUserPasswordJSONRequestBody ResetUserPasswordJSONBody
ResetUserPasswordJSONRequestBody defines body for ResetUserPassword for application/json ContentType.
type ResetUserPasswordResponse ¶ added in v1.9.0
type ResetUserPasswordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseResetUserPasswordResponse ¶ added in v1.9.0
func ParseResetUserPasswordResponse(rsp *http.Response) (*ResetUserPasswordResponse, error)
ParseResetUserPasswordResponse parses an HTTP response from a ResetUserPasswordWithResponse call
func (ResetUserPasswordResponse) ContentType ¶ added in v1.9.0
func (r ResetUserPasswordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResetUserPasswordResponse) GetBody ¶ added in v1.9.0
func (r ResetUserPasswordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResetUserPasswordResponse) GetJSON400 ¶ added in v1.9.0
func (r ResetUserPasswordResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ResetUserPasswordResponse) GetJSON401 ¶ added in v1.9.0
func (r ResetUserPasswordResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ResetUserPasswordResponse) GetJSON403 ¶ added in v1.9.0
func (r ResetUserPasswordResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ResetUserPasswordResponse) GetJSON404 ¶ added in v1.9.0
func (r ResetUserPasswordResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ResetUserPasswordResponse) GetJSON500 ¶ added in v1.9.0
func (r ResetUserPasswordResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ResetUserPasswordResponse) Status ¶ added in v1.9.0
func (r ResetUserPasswordResponse) Status() string
Status returns HTTPResponse.Status
func (ResetUserPasswordResponse) StatusCode ¶ added in v1.9.0
func (r ResetUserPasswordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartDebugSessionJSONBody ¶
type StartDebugSessionJSONBody struct {
// DurationSeconds Duration in seconds to keep the backend in debug mode. If not provided, the backend will be kept in debug mode until debug is disabled, or for a maximum of 1 hour. Minimum is 1 minute, defaults to 5 minutes.
DurationSeconds *int `json:"durationSeconds,omitempty"`
}
StartDebugSessionJSONBody defines parameters for StartDebugSession.
type StartDebugSessionJSONRequestBody ¶
type StartDebugSessionJSONRequestBody StartDebugSessionJSONBody
StartDebugSessionJSONRequestBody defines body for StartDebugSession for application/json ContentType.
type StartDebugSessionRequest ¶
type StartDebugSessionRequest struct {
// DurationSeconds Duration in seconds to keep the backend in debug mode. If not provided, the backend will be kept in debug mode until debug is disabled, or for a maximum of 1 hour. Minimum is 1 minute, defaults to 5 minutes.
DurationSeconds *int `json:"durationSeconds,omitempty"`
}
StartDebugSessionRequest defines model for StartDebugSessionRequest.
type StartDebugSessionResponse ¶
type StartDebugSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DebugSession
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseStartDebugSessionResponse ¶
func ParseStartDebugSessionResponse(rsp *http.Response) (*StartDebugSessionResponse, error)
ParseStartDebugSessionResponse parses an HTTP response from a StartDebugSessionWithResponse call
func (StartDebugSessionResponse) ContentType ¶
func (r StartDebugSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartDebugSessionResponse) GetBody ¶
func (r StartDebugSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartDebugSessionResponse) GetJSON200 ¶
func (r StartDebugSessionResponse) GetJSON200() *DebugSession
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StartDebugSessionResponse) GetJSON400 ¶
func (r StartDebugSessionResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (StartDebugSessionResponse) GetJSON401 ¶
func (r StartDebugSessionResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (StartDebugSessionResponse) GetJSON403 ¶
func (r StartDebugSessionResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (StartDebugSessionResponse) GetJSON404 ¶
func (r StartDebugSessionResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (StartDebugSessionResponse) GetJSON409 ¶
func (r StartDebugSessionResponse) GetJSON409() *APIErrorResponse
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (StartDebugSessionResponse) GetJSON500 ¶
func (r StartDebugSessionResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (StartDebugSessionResponse) Status ¶
func (r StartDebugSessionResponse) Status() string
Status returns HTTPResponse.Status
func (StartDebugSessionResponse) StatusCode ¶
func (r StartDebugSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopDebugSessionResponse ¶
type StopDebugSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseStopDebugSessionResponse ¶
func ParseStopDebugSessionResponse(rsp *http.Response) (*StopDebugSessionResponse, error)
ParseStopDebugSessionResponse parses an HTTP response from a StopDebugSessionWithResponse call
func (StopDebugSessionResponse) ContentType ¶
func (r StopDebugSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StopDebugSessionResponse) GetBody ¶
func (r StopDebugSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StopDebugSessionResponse) GetJSON400 ¶
func (r StopDebugSessionResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (StopDebugSessionResponse) GetJSON401 ¶
func (r StopDebugSessionResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (StopDebugSessionResponse) GetJSON403 ¶
func (r StopDebugSessionResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (StopDebugSessionResponse) GetJSON404 ¶
func (r StopDebugSessionResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (StopDebugSessionResponse) GetJSON500 ¶
func (r StopDebugSessionResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (StopDebugSessionResponse) Status ¶
func (r StopDebugSessionResponse) Status() string
Status returns HTTPResponse.Status
func (StopDebugSessionResponse) StatusCode ¶
func (r StopDebugSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGroupJSONBody ¶
type UpdateGroupJSONBody struct {
Name string `json:"name"`
PermissionIDs []int `json:"permissionIDs"`
}
UpdateGroupJSONBody defines parameters for UpdateGroup.
type UpdateGroupJSONRequestBody ¶
type UpdateGroupJSONRequestBody UpdateGroupJSONBody
UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.
type UpdateGroupRequest ¶
type UpdateGroupRequest struct {
Name string `json:"name"`
PermissionIDs []int `json:"permissionIDs"`
}
UpdateGroupRequest defines model for UpdateGroupRequest.
type UpdateGroupResponse ¶
type UpdateGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseUpdateGroupResponse ¶
func ParseUpdateGroupResponse(rsp *http.Response) (*UpdateGroupResponse, error)
ParseUpdateGroupResponse parses an HTTP response from a UpdateGroupWithResponse call
func (UpdateGroupResponse) ContentType ¶
func (r UpdateGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateGroupResponse) GetBody ¶
func (r UpdateGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateGroupResponse) GetJSON400 ¶
func (r UpdateGroupResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateGroupResponse) GetJSON401 ¶
func (r UpdateGroupResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateGroupResponse) GetJSON403 ¶
func (r UpdateGroupResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateGroupResponse) GetJSON404 ¶
func (r UpdateGroupResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateGroupResponse) GetJSON409 ¶
func (r UpdateGroupResponse) GetJSON409() *APIErrorResponse
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateGroupResponse) GetJSON500 ¶
func (r UpdateGroupResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateGroupResponse) Status ¶
func (r UpdateGroupResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGroupResponse) StatusCode ¶
func (r UpdateGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUserGroupsJSONBody ¶
type UpdateUserGroupsJSONBody struct {
GroupIDs []int `json:"groupIDs"`
}
UpdateUserGroupsJSONBody defines parameters for UpdateUserGroups.
type UpdateUserGroupsJSONRequestBody ¶
type UpdateUserGroupsJSONRequestBody UpdateUserGroupsJSONBody
UpdateUserGroupsJSONRequestBody defines body for UpdateUserGroups for application/json ContentType.
type UpdateUserGroupsRequest ¶
type UpdateUserGroupsRequest struct {
GroupIDs []int `json:"groupIDs"`
}
UpdateUserGroupsRequest defines model for UpdateUserGroupsRequest.
type UpdateUserGroupsResponse ¶
type UpdateUserGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseUpdateUserGroupsResponse ¶
func ParseUpdateUserGroupsResponse(rsp *http.Response) (*UpdateUserGroupsResponse, error)
ParseUpdateUserGroupsResponse parses an HTTP response from a UpdateUserGroupsWithResponse call
func (UpdateUserGroupsResponse) ContentType ¶
func (r UpdateUserGroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateUserGroupsResponse) GetBody ¶
func (r UpdateUserGroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateUserGroupsResponse) GetJSON400 ¶
func (r UpdateUserGroupsResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateUserGroupsResponse) GetJSON401 ¶
func (r UpdateUserGroupsResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateUserGroupsResponse) GetJSON403 ¶
func (r UpdateUserGroupsResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateUserGroupsResponse) GetJSON404 ¶
func (r UpdateUserGroupsResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateUserGroupsResponse) GetJSON500 ¶
func (r UpdateUserGroupsResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateUserGroupsResponse) Status ¶
func (r UpdateUserGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateUserGroupsResponse) StatusCode ¶
func (r UpdateUserGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUserJSONBody ¶
type UpdateUserJSONBody struct {
Username string `json:"username"`
}
UpdateUserJSONBody defines parameters for UpdateUser.
type UpdateUserJSONRequestBody ¶
type UpdateUserJSONRequestBody UpdateUserJSONBody
UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.
type UpdateUserRequest ¶
type UpdateUserRequest struct {
Username string `json:"username"`
}
UpdateUserRequest defines model for UpdateUserRequest.
type UpdateUserResponse ¶
type UpdateUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *APIErrorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *APIErrorResponse
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *APIErrorResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *APIErrorResponse
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *APIErrorResponse
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *APIErrorResponse
}
func ParseUpdateUserResponse ¶
func ParseUpdateUserResponse(rsp *http.Response) (*UpdateUserResponse, error)
ParseUpdateUserResponse parses an HTTP response from a UpdateUserWithResponse call
func (UpdateUserResponse) ContentType ¶
func (r UpdateUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateUserResponse) GetBody ¶
func (r UpdateUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateUserResponse) GetJSON400 ¶
func (r UpdateUserResponse) GetJSON400() *APIErrorResponse
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateUserResponse) GetJSON401 ¶
func (r UpdateUserResponse) GetJSON401() *APIErrorResponse
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateUserResponse) GetJSON403 ¶
func (r UpdateUserResponse) GetJSON403() *APIErrorResponse
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateUserResponse) GetJSON404 ¶
func (r UpdateUserResponse) GetJSON404() *APIErrorResponse
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateUserResponse) GetJSON409 ¶
func (r UpdateUserResponse) GetJSON409() *APIErrorResponse
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateUserResponse) GetJSON500 ¶
func (r UpdateUserResponse) GetJSON500() *APIErrorResponse
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateUserResponse) Status ¶
func (r UpdateUserResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateUserResponse) StatusCode ¶
func (r UpdateUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode