Documentation
¶
Overview ¶
Package app contains auto-generated types from the app OpenAPI spec. Do not edit manually — run `make generate` to regenerate.
Package app provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func NewAcceptInvitationRequest(server string, params *AcceptInvitationParams) (*http.Request, error)
- func NewBeginOidcLoginRequest(server string, provider OidcProvider, params *BeginOidcLoginParams) (*http.Request, error)
- func NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody(server string, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewBulkRegisterContextsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewCreateApiKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewCreateContextTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewCreateEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInvitationsRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewCreateInvitationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateServiceRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateServiceApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewCreateServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAccountRequest(server string) (*http.Request, error)
- func NewDeleteApiKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteContextRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteContextTypeRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteEnvironmentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteServiceRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetAccountRequest(server string) (*http.Request, error)
- func NewGetApiKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetContextRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetContextTypeRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetCurrentUserRequest(server string) (*http.Request, error)
- func NewGetEnvironmentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetServiceRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetUserRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewHandleOidcCallbackRequest(server string, provider OidcProvider, params *HandleOidcCallbackParams) (*http.Request, error)
- func NewListApiKeysRequest(server string, params *ListApiKeysParams) (*http.Request, error)
- func NewListContextTypesRequest(server string) (*http.Request, error)
- func NewListContextsRequest(server string, params *ListContextsParams) (*http.Request, error)
- func NewListEnvironmentsRequest(server string, params *ListEnvironmentsParams) (*http.Request, error)
- func NewListInvitationsRequest(server string, params *ListInvitationsParams) (*http.Request, error)
- func NewListPlansRequest(server string) (*http.Request, error)
- func NewListProductsRequest(server string) (*http.Request, error)
- func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
- func NewListUsersRequest(server string, params *ListUsersParams) (*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 NewRegisterRequest(server string, body RegisterJSONRequestBody) (*http.Request, error)
- func NewRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveUserRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewResendInvitationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewRevokeApiKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewRevokeInvitationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewUpdateAccountRequestWithApplicationVndAPIPlusJSONBody(server string, body UpdateAccountApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewUpdateAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateApiKeyRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateContextTypeRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCurrentUserRequestWithApplicationVndAPIPlusJSONBody(server string, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
- func NewUpdateCurrentUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEnvironmentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateServiceRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateServiceRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateUserRoleRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateUserRoleRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- type AcceptInvitationParams
- type AcceptInvitationResponse
- type Account
- type AccountResource
- type AccountResourceType
- type AccountResponse
- type ApiKey
- type ApiKeyListResponse
- type ApiKeyResource
- type ApiKeyResourceType
- type ApiKeyResponse
- type AuthTokenResponse
- type BeginOidcLoginParams
- type BeginOidcLoginResponse
- type BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody
- type BulkRegisterContextsResponse
- type Client
- func (c *Client) AcceptInvitation(ctx context.Context, params *AcceptInvitationParams, ...) (*http.Response, error)
- func (c *Client) BeginOidcLogin(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, ...) (*http.Response, error)
- func (c *Client) BulkRegisterContextsWithApplicationVndAPIPlusJSONBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) BulkRegisterContextsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateContextTypeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInvitationsWithApplicationVndAPIPlusJSONBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateInvitationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateServiceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteContext(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteContextType(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetContext(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetContextType(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HandleOidcCallback(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, ...) (*http.Response, error)
- func (c *Client) ListApiKeys(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListContextTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListContexts(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEnvironments(ctx context.Context, params *ListEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsParams, ...) (*http.Response, error)
- func (c *Client) ListPlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListProducts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Register(ctx context.Context, body RegisterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RegisterWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResendInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevokeApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevokeInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateAccountWithApplicationVndAPIPlusJSONBody(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAccountWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateApiKeyWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateContextTypeWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCurrentUserWithApplicationVndAPIPlusJSONBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateServiceWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateUserRoleWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateUserRoleWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, params *AcceptInvitationParams, ...) (*AcceptInvitationResponse, error)
- func (c *ClientWithResponses) BeginOidcLoginWithResponse(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, ...) (*BeginOidcLoginResponse, error)
- func (c *ClientWithResponses) BulkRegisterContextsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, ...) (*BulkRegisterContextsResponse, error)
- func (c *ClientWithResponses) BulkRegisterContextsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkRegisterContextsResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, ...) (*CreateApiKeyResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateApiKeyResponse, error)
- func (c *ClientWithResponses) CreateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, ...) (*CreateContextTypeResponse, error)
- func (c *ClientWithResponses) CreateContextTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateContextTypeResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, ...) (*CreateEnvironmentResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEnvironmentResponse, error)
- func (c *ClientWithResponses) CreateInvitationsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, ...) (*CreateInvitationsResponse, error)
- func (c *ClientWithResponses) CreateInvitationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInvitationsResponse, error)
- func (c *ClientWithResponses) CreateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, ...) (*CreateServiceResponse, error)
- func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateServiceResponse, error)
- func (c *ClientWithResponses) DeleteAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
- func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)
- func (c *ClientWithResponses) DeleteContextTypeWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteContextTypeResponse, error)
- func (c *ClientWithResponses) DeleteContextWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteContextResponse, error)
- func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
- func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
- func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
- func (c *ClientWithResponses) GetApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetApiKeyResponse, error)
- func (c *ClientWithResponses) GetContextTypeWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetContextTypeResponse, error)
- func (c *ClientWithResponses) GetContextWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetContextResponse, error)
- func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
- func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
- func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
- func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
- func (c *ClientWithResponses) HandleOidcCallbackWithResponse(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, ...) (*HandleOidcCallbackResponse, error)
- func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
- func (c *ClientWithResponses) ListContextTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContextTypesResponse, error)
- func (c *ClientWithResponses) ListContextsWithResponse(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*ListContextsResponse, error)
- func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, params *ListEnvironmentsParams, ...) (*ListEnvironmentsResponse, error)
- func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, ...) (*ListInvitationsResponse, error)
- func (c *ClientWithResponses) ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)
- func (c *ClientWithResponses) ListProductsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProductsResponse, error)
- func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
- func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, 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) RegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RegisterResponse, error)
- func (c *ClientWithResponses) RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, ...) (*RegisterResponse, error)
- func (c *ClientWithResponses) RemoveUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveUserResponse, error)
- func (c *ClientWithResponses) ResendInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResendInvitationResponse, error)
- func (c *ClientWithResponses) RevokeApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeApiKeyResponse, error)
- func (c *ClientWithResponses) RevokeInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)
- func (c *ClientWithResponses) UpdateAccountWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, ...) (*UpdateAccountResponse, error)
- func (c *ClientWithResponses) UpdateAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateAccountResponse, error)
- func (c *ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateApiKeyResponse, error)
- func (c *ClientWithResponses) UpdateApiKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateApiKeyResponse, error)
- func (c *ClientWithResponses) UpdateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateContextTypeResponse, error)
- func (c *ClientWithResponses) UpdateContextTypeWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateContextTypeResponse, error)
- func (c *ClientWithResponses) UpdateCurrentUserWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, ...) (*UpdateCurrentUserResponse, error)
- func (c *ClientWithResponses) UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateCurrentUserResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateEnvironmentResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateEnvironmentResponse, error)
- func (c *ClientWithResponses) UpdateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateServiceResponse, error)
- func (c *ClientWithResponses) UpdateServiceWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateServiceResponse, error)
- func (c *ClientWithResponses) UpdateUserRoleWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateUserRoleResponse, error)
- func (c *ClientWithResponses) UpdateUserRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateUserRoleResponse, error)
- type ClientWithResponsesInterface
- type Context
- type ContextBatchResponse
- type ContextBulkItem
- type ContextBulkRegister
- type ContextListResponse
- type ContextResource
- type ContextResourceType
- type ContextResponse
- type ContextType
- type ContextTypeListResponse
- type ContextTypeResource
- type ContextTypeResourceType
- type ContextTypeResponse
- type CreateApiKeyApplicationVndAPIPlusJSONRequestBody
- type CreateApiKeyResponse
- type CreateContextTypeApplicationVndAPIPlusJSONRequestBody
- type CreateContextTypeResponse
- type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody
- type CreateEnvironmentResponse
- type CreateInvitationsApplicationVndAPIPlusJSONRequestBody
- type CreateInvitationsResponse
- type CreateServiceApplicationVndAPIPlusJSONRequestBody
- type CreateServiceResponse
- type DeleteAccountResponse
- type DeleteApiKeyResponse
- type DeleteContextResponse
- type DeleteContextTypeResponse
- type DeleteEnvironmentResponse
- type DeleteServiceResponse
- type Environment
- type EnvironmentListResponse
- type EnvironmentResource
- type EnvironmentResourceType
- type EnvironmentResponse
- type Error
- type ErrorResponse
- type GetAccountResponse
- type GetApiKeyResponse
- type GetContextResponse
- type GetContextTypeResponse
- type GetCurrentUserResponse
- type GetEnvironmentResponse
- type GetServiceResponse
- type GetUserResponse
- type HandleOidcCallbackParams
- type HandleOidcCallbackResponse
- type HttpRequestDoer
- type Invitation
- type InvitationBulkCreateRequest
- type InvitationCreateItem
- type InvitationListResponse
- type InvitationResource
- type InvitationResourceType
- type InvitationResponse
- type LimitDefinition
- type ListApiKeysParams
- type ListApiKeysResponse
- type ListContextTypesResponse
- type ListContextsParams
- type ListContextsResponse
- type ListEnvironmentsParams
- type ListEnvironmentsResponse
- type ListInvitationsParams
- type ListInvitationsResponse
- type ListPlansResponse
- type ListProductsResponse
- type ListServicesParams
- type ListServicesResponse
- type ListUsersParams
- type ListUsersResponse
- type LoginJSONRequestBody
- type LoginRequest
- type LoginResponse
- type OidcProvider
- type Plan
- type PlanDefinition
- type PlanListResponse
- type PlanResource
- type PlanResourceType
- type Product
- type ProductListResponse
- type ProductResource
- type ProductResourceType
- type RegisterJSONRequestBody
- type RegisterRequest
- type RegisterResponse
- type RemoveUserResponse
- type RequestEditorFn
- type ResendInvitationResponse
- type RevokeApiKeyResponse
- type RevokeInvitationResponse
- type Service
- type ServiceListResponse
- type ServiceResource
- type ServiceResourceType
- type ServiceResponse
- type UpdateAccountApplicationVndAPIPlusJSONRequestBody
- type UpdateAccountResponse
- type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody
- type UpdateApiKeyResponse
- type UpdateContextTypeApplicationVndAPIPlusJSONRequestBody
- type UpdateContextTypeResponse
- type UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody
- type UpdateCurrentUserResponse
- type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody
- type UpdateEnvironmentResponse
- type UpdateServiceApplicationVndAPIPlusJSONRequestBody
- type UpdateServiceResponse
- type UpdateUserRoleApplicationVndAPIPlusJSONRequestBody
- type UpdateUserRoleResponse
- type User
- type UserListResponse
- type UserResource
- type UserResourceType
- type UserResponse
Constants ¶
const (
HTTPBearerScopes = "HTTPBearer.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAcceptInvitationRequest ¶
func NewAcceptInvitationRequest(server string, params *AcceptInvitationParams) (*http.Request, error)
NewAcceptInvitationRequest generates requests for AcceptInvitation
func NewBeginOidcLoginRequest ¶
func NewBeginOidcLoginRequest(server string, provider OidcProvider, params *BeginOidcLoginParams) (*http.Request, error)
NewBeginOidcLoginRequest generates requests for BeginOidcLogin
func NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody ¶ added in v1.2.3
func NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody(server string, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewBulkRegisterContextsRequestWithApplicationVndAPIPlusJSONBody calls the generic BulkRegisterContexts builder with application/vnd.api+json body
func NewBulkRegisterContextsRequestWithBody ¶ added in v1.2.3
func NewBulkRegisterContextsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkRegisterContextsRequestWithBody generates requests for BulkRegisterContexts with any type of body
func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody ¶
func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateApiKey builder with application/vnd.api+json body
func NewCreateApiKeyRequestWithBody ¶
func NewCreateApiKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateApiKeyRequestWithBody generates requests for CreateApiKey with any type of body
func NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody ¶ added in v1.2.3
func NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewCreateContextTypeRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateContextType builder with application/vnd.api+json body
func NewCreateContextTypeRequestWithBody ¶ added in v1.2.3
func NewCreateContextTypeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateContextTypeRequestWithBody generates requests for CreateContextType with any type of body
func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody ¶
func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateEnvironment builder with application/vnd.api+json body
func NewCreateEnvironmentRequestWithBody ¶
func NewCreateEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEnvironmentRequestWithBody generates requests for CreateEnvironment with any type of body
func NewCreateInvitationsRequestWithApplicationVndAPIPlusJSONBody ¶
func NewCreateInvitationsRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewCreateInvitationsRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateInvitations builder with application/vnd.api+json body
func NewCreateInvitationsRequestWithBody ¶
func NewCreateInvitationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInvitationsRequestWithBody generates requests for CreateInvitations with any type of body
func NewCreateServiceRequestWithApplicationVndAPIPlusJSONBody ¶
func NewCreateServiceRequestWithApplicationVndAPIPlusJSONBody(server string, body CreateServiceApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewCreateServiceRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateService builder with application/vnd.api+json body
func NewCreateServiceRequestWithBody ¶
func NewCreateServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceRequestWithBody generates requests for CreateService with any type of body
func NewDeleteAccountRequest ¶
NewDeleteAccountRequest generates requests for DeleteAccount
func NewDeleteApiKeyRequest ¶
NewDeleteApiKeyRequest generates requests for DeleteApiKey
func NewDeleteContextRequest ¶ added in v1.2.3
NewDeleteContextRequest generates requests for DeleteContext
func NewDeleteContextTypeRequest ¶ added in v1.2.3
NewDeleteContextTypeRequest generates requests for DeleteContextType
func NewDeleteEnvironmentRequest ¶
NewDeleteEnvironmentRequest generates requests for DeleteEnvironment
func NewDeleteServiceRequest ¶
NewDeleteServiceRequest generates requests for DeleteService
func NewGetAccountRequest ¶
NewGetAccountRequest generates requests for GetAccount
func NewGetApiKeyRequest ¶
NewGetApiKeyRequest generates requests for GetApiKey
func NewGetContextRequest ¶ added in v1.2.3
NewGetContextRequest generates requests for GetContext
func NewGetContextTypeRequest ¶ added in v1.2.3
NewGetContextTypeRequest generates requests for GetContextType
func NewGetCurrentUserRequest ¶
NewGetCurrentUserRequest generates requests for GetCurrentUser
func NewGetEnvironmentRequest ¶
NewGetEnvironmentRequest generates requests for GetEnvironment
func NewGetServiceRequest ¶
NewGetServiceRequest generates requests for GetService
func NewGetUserRequest ¶
NewGetUserRequest generates requests for GetUser
func NewHandleOidcCallbackRequest ¶
func NewHandleOidcCallbackRequest(server string, provider OidcProvider, params *HandleOidcCallbackParams) (*http.Request, error)
NewHandleOidcCallbackRequest generates requests for HandleOidcCallback
func NewListApiKeysRequest ¶
func NewListApiKeysRequest(server string, params *ListApiKeysParams) (*http.Request, error)
NewListApiKeysRequest generates requests for ListApiKeys
func NewListContextTypesRequest ¶ added in v1.2.3
NewListContextTypesRequest generates requests for ListContextTypes
func NewListContextsRequest ¶ added in v1.2.3
func NewListContextsRequest(server string, params *ListContextsParams) (*http.Request, error)
NewListContextsRequest generates requests for ListContexts
func NewListEnvironmentsRequest ¶
func NewListEnvironmentsRequest(server string, params *ListEnvironmentsParams) (*http.Request, error)
NewListEnvironmentsRequest generates requests for ListEnvironments
func NewListInvitationsRequest ¶
func NewListInvitationsRequest(server string, params *ListInvitationsParams) (*http.Request, error)
NewListInvitationsRequest generates requests for ListInvitations
func NewListPlansRequest ¶
NewListPlansRequest generates requests for ListPlans
func NewListProductsRequest ¶ added in v1.2.3
NewListProductsRequest generates requests for ListProducts
func NewListServicesRequest ¶
func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
NewListServicesRequest generates requests for ListServices
func NewListUsersRequest ¶
func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)
NewListUsersRequest generates requests for ListUsers
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 generates requests for Login with any type of body
func NewRegisterRequest ¶
func NewRegisterRequest(server string, body RegisterJSONRequestBody) (*http.Request, error)
NewRegisterRequest calls the generic Register builder with application/json body
func NewRegisterRequestWithBody ¶
func NewRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterRequestWithBody generates requests for Register with any type of body
func NewRemoveUserRequest ¶
NewRemoveUserRequest generates requests for RemoveUser
func NewResendInvitationRequest ¶
NewResendInvitationRequest generates requests for ResendInvitation
func NewRevokeApiKeyRequest ¶
NewRevokeApiKeyRequest generates requests for RevokeApiKey
func NewRevokeInvitationRequest ¶
NewRevokeInvitationRequest generates requests for RevokeInvitation
func NewUpdateAccountRequestWithApplicationVndAPIPlusJSONBody ¶
func NewUpdateAccountRequestWithApplicationVndAPIPlusJSONBody(server string, body UpdateAccountApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewUpdateAccountRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateAccount builder with application/vnd.api+json body
func NewUpdateAccountRequestWithBody ¶
func NewUpdateAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAccountRequestWithBody generates requests for UpdateAccount with any type of body
func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody ¶
func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateApiKey builder with application/vnd.api+json body
func NewUpdateApiKeyRequestWithBody ¶
func NewUpdateApiKeyRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateApiKeyRequestWithBody generates requests for UpdateApiKey with any type of body
func NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody ¶ added in v1.2.3
func NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewUpdateContextTypeRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateContextType builder with application/vnd.api+json body
func NewUpdateContextTypeRequestWithBody ¶ added in v1.2.3
func NewUpdateContextTypeRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateContextTypeRequestWithBody generates requests for UpdateContextType with any type of body
func NewUpdateCurrentUserRequestWithApplicationVndAPIPlusJSONBody ¶
func NewUpdateCurrentUserRequestWithApplicationVndAPIPlusJSONBody(server string, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewUpdateCurrentUserRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateCurrentUser builder with application/vnd.api+json body
func NewUpdateCurrentUserRequestWithBody ¶
func NewUpdateCurrentUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCurrentUserRequestWithBody generates requests for UpdateCurrentUser with any type of body
func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody ¶
func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateEnvironment builder with application/vnd.api+json body
func NewUpdateEnvironmentRequestWithBody ¶
func NewUpdateEnvironmentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEnvironmentRequestWithBody generates requests for UpdateEnvironment with any type of body
func NewUpdateServiceRequestWithApplicationVndAPIPlusJSONBody ¶
func NewUpdateServiceRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdateServiceApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewUpdateServiceRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateService builder with application/vnd.api+json body
func NewUpdateServiceRequestWithBody ¶
func NewUpdateServiceRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateServiceRequestWithBody generates requests for UpdateService with any type of body
func NewUpdateUserRoleRequestWithApplicationVndAPIPlusJSONBody ¶
func NewUpdateUserRoleRequestWithApplicationVndAPIPlusJSONBody(server string, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)
NewUpdateUserRoleRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateUserRole builder with application/vnd.api+json body
Types ¶
type AcceptInvitationParams ¶
type AcceptInvitationParams struct {
Token string `form:"token" json:"token"`
}
AcceptInvitationParams defines parameters for AcceptInvitation.
type AcceptInvitationResponse ¶
type AcceptInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *interface{}
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseAcceptInvitationResponse ¶
func ParseAcceptInvitationResponse(rsp *http.Response) (*AcceptInvitationResponse, error)
ParseAcceptInvitationResponse parses an HTTP response from a AcceptInvitationWithResponse call
func (AcceptInvitationResponse) Status ¶
func (r AcceptInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptInvitationResponse) StatusCode ¶
func (r AcceptInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Account ¶
type Account struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
HasStripeCustomer *bool `json:"has_stripe_customer,omitempty"`
Key string `json:"key"`
Name string `json:"name"`
}
Account defines model for Account.
type AccountResource ¶
type AccountResource struct {
Attributes Account `json:"attributes"`
Id *string `json:"id,omitempty"`
Type AccountResourceType `json:"type"`
}
AccountResource defines model for AccountResource.
type AccountResourceType ¶ added in v1.2.6
type AccountResourceType string
AccountResourceType defines model for AccountResource.Type.
const (
AccountResourceTypeAccount AccountResourceType = "account"
)
Defines values for AccountResourceType.
func (AccountResourceType) Valid ¶ added in v1.2.6
func (e AccountResourceType) Valid() bool
Valid indicates whether the value is a known member of the AccountResourceType enum.
type AccountResponse ¶
type AccountResponse struct {
Data AccountResource `json:"data"`
}
AccountResponse defines model for AccountResponse.
type ApiKey ¶
type ApiKey struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
CreatedBy *string `json:"created_by,omitempty"`
Data *map[string]interface{} `json:"data,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
Key *string `json:"key,omitempty"`
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
Name string `json:"name"`
Scopes *map[string]interface{} `json:"scopes,omitempty"`
Status *string `json:"status,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
ApiKey defines model for ApiKey.
type ApiKeyListResponse ¶
type ApiKeyListResponse struct {
Data []ApiKeyResource `json:"data"`
}
ApiKeyListResponse defines model for ApiKeyListResponse.
type ApiKeyResource ¶
type ApiKeyResource struct {
Attributes ApiKey `json:"attributes"`
Id *string `json:"id,omitempty"`
Type ApiKeyResourceType `json:"type"`
}
ApiKeyResource defines model for ApiKeyResource.
type ApiKeyResourceType ¶ added in v1.2.6
type ApiKeyResourceType string
ApiKeyResourceType defines model for ApiKeyResource.Type.
const (
ApiKeyResourceTypeApiKey ApiKeyResourceType = "api_key"
)
Defines values for ApiKeyResourceType.
func (ApiKeyResourceType) Valid ¶ added in v1.2.6
func (e ApiKeyResourceType) Valid() bool
Valid indicates whether the value is a known member of the ApiKeyResourceType enum.
type ApiKeyResponse ¶
type ApiKeyResponse struct {
Data ApiKeyResource `json:"data"`
}
ApiKeyResponse defines model for ApiKeyResponse.
type AuthTokenResponse ¶
AuthTokenResponse defines model for AuthTokenResponse.
type BeginOidcLoginParams ¶
type BeginOidcLoginParams struct {
Mode *string `form:"mode,omitempty" json:"mode,omitempty"`
Source *string `form:"source,omitempty" json:"source,omitempty"`
}
BeginOidcLoginParams defines parameters for BeginOidcLogin.
type BeginOidcLoginResponse ¶
type BeginOidcLoginResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON429 *ErrorResponse
}
func ParseBeginOidcLoginResponse ¶
func ParseBeginOidcLoginResponse(rsp *http.Response) (*BeginOidcLoginResponse, error)
ParseBeginOidcLoginResponse parses an HTTP response from a BeginOidcLoginWithResponse call
func (BeginOidcLoginResponse) Status ¶
func (r BeginOidcLoginResponse) Status() string
Status returns HTTPResponse.Status
func (BeginOidcLoginResponse) StatusCode ¶
func (r BeginOidcLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody ¶ added in v1.2.3
type BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody = ContextBulkRegister
BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody defines body for BulkRegisterContexts for application/vnd.api+json ContentType.
type BulkRegisterContextsResponse ¶ added in v1.2.3
type BulkRegisterContextsResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ContextBatchResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseBulkRegisterContextsResponse ¶ added in v1.2.3
func ParseBulkRegisterContextsResponse(rsp *http.Response) (*BulkRegisterContextsResponse, error)
ParseBulkRegisterContextsResponse parses an HTTP response from a BulkRegisterContextsWithResponse call
func (BulkRegisterContextsResponse) Status ¶ added in v1.2.3
func (r BulkRegisterContextsResponse) Status() string
Status returns HTTPResponse.Status
func (BulkRegisterContextsResponse) StatusCode ¶ added in v1.2.3
func (r BulkRegisterContextsResponse) 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) AcceptInvitation ¶
func (c *Client) AcceptInvitation(ctx context.Context, params *AcceptInvitationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BeginOidcLogin ¶
func (c *Client) BeginOidcLogin(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkRegisterContextsWithApplicationVndAPIPlusJSONBody ¶ added in v1.2.3
func (c *Client) BulkRegisterContextsWithApplicationVndAPIPlusJSONBody(ctx context.Context, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkRegisterContextsWithBody ¶ added in v1.2.3
func (*Client) CreateApiKeyWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateApiKeyWithBody ¶
func (*Client) CreateContextTypeWithApplicationVndAPIPlusJSONBody ¶ added in v1.2.3
func (c *Client) CreateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateContextTypeWithBody ¶ added in v1.2.3
func (*Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEnvironmentWithBody ¶
func (*Client) CreateInvitationsWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) CreateInvitationsWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateInvitationsWithBody ¶
func (*Client) CreateServiceWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) CreateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateServiceWithBody ¶
func (*Client) DeleteAccount ¶
func (*Client) DeleteApiKey ¶
func (c *Client) DeleteApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteContext ¶ added in v1.2.3
func (c *Client) DeleteContext(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteContextType ¶ added in v1.2.3
func (c *Client) DeleteContextType(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEnvironment ¶
func (c *Client) DeleteEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteService ¶
func (c *Client) DeleteService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAccount ¶
func (*Client) GetApiKey ¶
func (c *Client) GetApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContext ¶ added in v1.2.3
func (c *Client) GetContext(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContextType ¶ added in v1.2.3
func (c *Client) GetContextType(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCurrentUser ¶
func (*Client) GetEnvironment ¶
func (c *Client) GetEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetService ¶
func (c *Client) GetService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUser ¶
func (c *Client) GetUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HandleOidcCallback ¶
func (c *Client) HandleOidcCallback(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListApiKeys ¶
func (c *Client) ListApiKeys(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListContextTypes ¶ added in v1.2.3
func (*Client) ListContexts ¶ added in v1.2.3
func (c *Client) ListContexts(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListEnvironments ¶
func (c *Client) ListEnvironments(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListInvitations ¶
func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProducts ¶ added in v1.2.3
func (*Client) ListServices ¶
func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListUsers ¶
func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Login ¶
func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LoginWithBody ¶
func (*Client) Register ¶
func (c *Client) Register(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RegisterWithBody ¶
func (*Client) RemoveUser ¶
func (c *Client) RemoveUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResendInvitation ¶
func (c *Client) ResendInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RevokeApiKey ¶
func (c *Client) RevokeApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RevokeInvitation ¶
func (c *Client) RevokeInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAccountWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateAccountWithApplicationVndAPIPlusJSONBody(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAccountWithBody ¶
func (*Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateApiKeyWithBody ¶
func (*Client) UpdateContextTypeWithApplicationVndAPIPlusJSONBody ¶ added in v1.2.3
func (c *Client) UpdateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateContextTypeWithBody ¶ added in v1.2.3
func (*Client) UpdateCurrentUserWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateCurrentUserWithApplicationVndAPIPlusJSONBody(ctx context.Context, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCurrentUserWithBody ¶
func (*Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEnvironmentWithBody ¶
func (*Client) UpdateServiceWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateServiceWithBody ¶
func (*Client) UpdateUserRoleWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateUserRoleWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateUserRoleWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// DeleteAccount request
DeleteAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccount request
GetAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAccountWithBody request with any body
UpdateAccountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAccountWithApplicationVndAPIPlusJSONBody(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApiKeys request
ListApiKeys(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateApiKeyWithBody request with any body
CreateApiKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiKey request
DeleteApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiKey request
GetApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateApiKeyWithBody request with any body
UpdateApiKeyWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeApiKey request
RevokeApiKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// HandleOidcCallback request
HandleOidcCallback(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoginWithBody request with any body
LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BeginOidcLogin request
BeginOidcLogin(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterWithBody request with any body
RegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Register(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListContextTypes request
ListContextTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateContextTypeWithBody request with any body
CreateContextTypeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteContextType request
DeleteContextType(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetContextType request
GetContextType(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateContextTypeWithBody request with any body
UpdateContextTypeWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateContextTypeWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListContexts request
ListContexts(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkRegisterContextsWithBody request with any body
BulkRegisterContextsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkRegisterContextsWithApplicationVndAPIPlusJSONBody(ctx context.Context, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteContext request
DeleteContext(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetContext request
GetContext(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEnvironments request
ListEnvironments(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEnvironmentWithBody request with any body
CreateEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvironment request
DeleteEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironment request
GetEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironmentWithBody request with any body
UpdateEnvironmentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInvitations request
ListInvitations(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInvitationsWithBody request with any body
CreateInvitationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInvitationsWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptInvitation request
AcceptInvitation(ctx context.Context, params *AcceptInvitationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendInvitation request
ResendInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeInvitation request
RevokeInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPlans request
ListPlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProducts request
ListProducts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServices request
ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceWithBody request with any body
CreateServiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteService request
DeleteService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetService request
GetService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateServiceWithBody request with any body
UpdateServiceWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateServiceWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsers request
ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentUser request
GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCurrentUserWithBody request with any body
UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCurrentUserWithApplicationVndAPIPlusJSONBody(ctx context.Context, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveUser request
RemoveUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUser request
GetUser(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUserRoleWithBody request with any body
UpdateUserRoleWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUserRoleWithApplicationVndAPIPlusJSONBody(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, 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) AcceptInvitationWithResponse ¶
func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, params *AcceptInvitationParams, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
AcceptInvitationWithResponse request returning *AcceptInvitationResponse
func (*ClientWithResponses) BeginOidcLoginWithResponse ¶
func (c *ClientWithResponses) BeginOidcLoginWithResponse(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*BeginOidcLoginResponse, error)
BeginOidcLoginWithResponse request returning *BeginOidcLoginResponse
func (*ClientWithResponses) BulkRegisterContextsWithApplicationVndAPIPlusJSONBodyWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) BulkRegisterContextsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRegisterContextsResponse, error)
func (*ClientWithResponses) BulkRegisterContextsWithBodyWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) BulkRegisterContextsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRegisterContextsResponse, error)
BulkRegisterContextsWithBodyWithResponse request with arbitrary body returning *BulkRegisterContextsResponse
func (*ClientWithResponses) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
CreateApiKeyWithBodyWithResponse request with arbitrary body returning *CreateApiKeyResponse
func (*ClientWithResponses) CreateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) CreateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContextTypeResponse, error)
func (*ClientWithResponses) CreateContextTypeWithBodyWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) CreateContextTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContextTypeResponse, error)
CreateContextTypeWithBodyWithResponse request with arbitrary body returning *CreateContextTypeResponse
func (*ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResponse
func (*ClientWithResponses) CreateInvitationsWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateInvitationsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)
func (*ClientWithResponses) CreateInvitationsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInvitationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)
CreateInvitationsWithBodyWithResponse request with arbitrary body returning *CreateInvitationsResponse
func (*ClientWithResponses) CreateServiceWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
func (*ClientWithResponses) CreateServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
CreateServiceWithBodyWithResponse request with arbitrary body returning *CreateServiceResponse
func (*ClientWithResponses) DeleteAccountWithResponse ¶
func (c *ClientWithResponses) DeleteAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
DeleteAccountWithResponse request returning *DeleteAccountResponse
func (*ClientWithResponses) DeleteApiKeyWithResponse ¶
func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)
DeleteApiKeyWithResponse request returning *DeleteApiKeyResponse
func (*ClientWithResponses) DeleteContextTypeWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) DeleteContextTypeWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteContextTypeResponse, error)
DeleteContextTypeWithResponse request returning *DeleteContextTypeResponse
func (*ClientWithResponses) DeleteContextWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) DeleteContextWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteContextResponse, error)
DeleteContextWithResponse request returning *DeleteContextResponse
func (*ClientWithResponses) DeleteEnvironmentWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
DeleteEnvironmentWithResponse request returning *DeleteEnvironmentResponse
func (*ClientWithResponses) DeleteServiceWithResponse ¶
func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
DeleteServiceWithResponse request returning *DeleteServiceResponse
func (*ClientWithResponses) GetAccountWithResponse ¶
func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
GetAccountWithResponse request returning *GetAccountResponse
func (*ClientWithResponses) GetApiKeyWithResponse ¶
func (c *ClientWithResponses) GetApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetApiKeyResponse, error)
GetApiKeyWithResponse request returning *GetApiKeyResponse
func (*ClientWithResponses) GetContextTypeWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) GetContextTypeWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetContextTypeResponse, error)
GetContextTypeWithResponse request returning *GetContextTypeResponse
func (*ClientWithResponses) GetContextWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) GetContextWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetContextResponse, error)
GetContextWithResponse request returning *GetContextResponse
func (*ClientWithResponses) GetCurrentUserWithResponse ¶
func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
GetCurrentUserWithResponse request returning *GetCurrentUserResponse
func (*ClientWithResponses) GetEnvironmentWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
GetEnvironmentWithResponse request returning *GetEnvironmentResponse
func (*ClientWithResponses) GetServiceWithResponse ¶
func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
GetServiceWithResponse request returning *GetServiceResponse
func (*ClientWithResponses) GetUserWithResponse ¶
func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
GetUserWithResponse request returning *GetUserResponse
func (*ClientWithResponses) HandleOidcCallbackWithResponse ¶
func (c *ClientWithResponses) HandleOidcCallbackWithResponse(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*HandleOidcCallbackResponse, error)
HandleOidcCallbackWithResponse request returning *HandleOidcCallbackResponse
func (*ClientWithResponses) ListApiKeysWithResponse ¶
func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
ListApiKeysWithResponse request returning *ListApiKeysResponse
func (*ClientWithResponses) ListContextTypesWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) ListContextTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContextTypesResponse, error)
ListContextTypesWithResponse request returning *ListContextTypesResponse
func (*ClientWithResponses) ListContextsWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) ListContextsWithResponse(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*ListContextsResponse, error)
ListContextsWithResponse request returning *ListContextsResponse
func (*ClientWithResponses) ListEnvironmentsWithResponse ¶
func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
ListEnvironmentsWithResponse request returning *ListEnvironmentsResponse
func (*ClientWithResponses) ListInvitationsWithResponse ¶
func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)
ListInvitationsWithResponse request returning *ListInvitationsResponse
func (*ClientWithResponses) ListPlansWithResponse ¶
func (c *ClientWithResponses) ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)
ListPlansWithResponse request returning *ListPlansResponse
func (*ClientWithResponses) ListProductsWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) ListProductsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProductsResponse, error)
ListProductsWithResponse request returning *ListProductsResponse
func (*ClientWithResponses) ListServicesWithResponse ¶
func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
ListServicesWithResponse request returning *ListServicesResponse
func (*ClientWithResponses) ListUsersWithResponse ¶
func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
ListUsersWithResponse request returning *ListUsersResponse
func (*ClientWithResponses) LoginWithBodyWithResponse ¶
func (c *ClientWithResponses) LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResponse, error)
LoginWithBodyWithResponse request with arbitrary body returning *LoginResponse
func (*ClientWithResponses) LoginWithResponse ¶
func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)
func (*ClientWithResponses) RegisterWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterResponse, error)
RegisterWithBodyWithResponse request with arbitrary body returning *RegisterResponse
func (*ClientWithResponses) RegisterWithResponse ¶
func (c *ClientWithResponses) RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterResponse, error)
func (*ClientWithResponses) RemoveUserWithResponse ¶
func (c *ClientWithResponses) RemoveUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveUserResponse, error)
RemoveUserWithResponse request returning *RemoveUserResponse
func (*ClientWithResponses) ResendInvitationWithResponse ¶
func (c *ClientWithResponses) ResendInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResendInvitationResponse, error)
ResendInvitationWithResponse request returning *ResendInvitationResponse
func (*ClientWithResponses) RevokeApiKeyWithResponse ¶
func (c *ClientWithResponses) RevokeApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeApiKeyResponse, error)
RevokeApiKeyWithResponse request returning *RevokeApiKeyResponse
func (*ClientWithResponses) RevokeInvitationWithResponse ¶
func (c *ClientWithResponses) RevokeInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)
RevokeInvitationWithResponse request returning *RevokeInvitationResponse
func (*ClientWithResponses) UpdateAccountWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAccountWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
func (*ClientWithResponses) UpdateAccountWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
UpdateAccountWithBodyWithResponse request with arbitrary body returning *UpdateAccountResponse
func (*ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)
func (*ClientWithResponses) UpdateApiKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateApiKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)
UpdateApiKeyWithBodyWithResponse request with arbitrary body returning *UpdateApiKeyResponse
func (*ClientWithResponses) UpdateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) UpdateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContextTypeResponse, error)
func (*ClientWithResponses) UpdateContextTypeWithBodyWithResponse ¶ added in v1.2.3
func (c *ClientWithResponses) UpdateContextTypeWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContextTypeResponse, error)
UpdateContextTypeWithBodyWithResponse request with arbitrary body returning *UpdateContextTypeResponse
func (*ClientWithResponses) UpdateCurrentUserWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCurrentUserWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)
func (*ClientWithResponses) UpdateCurrentUserWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)
UpdateCurrentUserWithBodyWithResponse request with arbitrary body returning *UpdateCurrentUserResponse
func (*ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
func (*ClientWithResponses) UpdateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
UpdateEnvironmentWithBodyWithResponse request with arbitrary body returning *UpdateEnvironmentResponse
func (*ClientWithResponses) UpdateServiceWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
func (*ClientWithResponses) UpdateServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateServiceWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
UpdateServiceWithBodyWithResponse request with arbitrary body returning *UpdateServiceResponse
func (*ClientWithResponses) UpdateUserRoleWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateUserRoleWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)
func (*ClientWithResponses) UpdateUserRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateUserRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)
UpdateUserRoleWithBodyWithResponse request with arbitrary body returning *UpdateUserRoleResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// DeleteAccountWithResponse request
DeleteAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
// GetAccountWithResponse request
GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
// UpdateAccountWithBodyWithResponse request with any body
UpdateAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
UpdateAccountWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateAccountApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
// ListApiKeysWithResponse request
ListApiKeysWithResponse(ctx context.Context, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
// CreateApiKeyWithBodyWithResponse request with any body
CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
// DeleteApiKeyWithResponse request
DeleteApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)
// GetApiKeyWithResponse request
GetApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetApiKeyResponse, error)
// UpdateApiKeyWithBodyWithResponse request with any body
UpdateApiKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)
UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResponse, error)
// RevokeApiKeyWithResponse request
RevokeApiKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeApiKeyResponse, error)
// HandleOidcCallbackWithResponse request
HandleOidcCallbackWithResponse(ctx context.Context, provider OidcProvider, params *HandleOidcCallbackParams, reqEditors ...RequestEditorFn) (*HandleOidcCallbackResponse, error)
// LoginWithBodyWithResponse request with any body
LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResponse, error)
LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResponse, error)
// BeginOidcLoginWithResponse request
BeginOidcLoginWithResponse(ctx context.Context, provider OidcProvider, params *BeginOidcLoginParams, reqEditors ...RequestEditorFn) (*BeginOidcLoginResponse, error)
// RegisterWithBodyWithResponse request with any body
RegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterResponse, error)
RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterResponse, error)
// ListContextTypesWithResponse request
ListContextTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListContextTypesResponse, error)
// CreateContextTypeWithBodyWithResponse request with any body
CreateContextTypeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContextTypeResponse, error)
CreateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContextTypeResponse, error)
// DeleteContextTypeWithResponse request
DeleteContextTypeWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteContextTypeResponse, error)
// GetContextTypeWithResponse request
GetContextTypeWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetContextTypeResponse, error)
// UpdateContextTypeWithBodyWithResponse request with any body
UpdateContextTypeWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContextTypeResponse, error)
UpdateContextTypeWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateContextTypeApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContextTypeResponse, error)
// ListContextsWithResponse request
ListContextsWithResponse(ctx context.Context, params *ListContextsParams, reqEditors ...RequestEditorFn) (*ListContextsResponse, error)
// BulkRegisterContextsWithBodyWithResponse request with any body
BulkRegisterContextsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRegisterContextsResponse, error)
BulkRegisterContextsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body BulkRegisterContextsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRegisterContextsResponse, error)
// DeleteContextWithResponse request
DeleteContextWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteContextResponse, error)
// GetContextWithResponse request
GetContextWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetContextResponse, error)
// ListEnvironmentsWithResponse request
ListEnvironmentsWithResponse(ctx context.Context, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
// CreateEnvironmentWithBodyWithResponse request with any body
CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
// DeleteEnvironmentWithResponse request
DeleteEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
// GetEnvironmentWithResponse request
GetEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
// UpdateEnvironmentWithBodyWithResponse request with any body
UpdateEnvironmentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
// ListInvitationsWithResponse request
ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)
// CreateInvitationsWithBodyWithResponse request with any body
CreateInvitationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)
CreateInvitationsWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateInvitationsApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)
// AcceptInvitationWithResponse request
AcceptInvitationWithResponse(ctx context.Context, params *AcceptInvitationParams, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
// ResendInvitationWithResponse request
ResendInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResendInvitationResponse, error)
// RevokeInvitationWithResponse request
RevokeInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeInvitationResponse, error)
// ListPlansWithResponse request
ListPlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPlansResponse, error)
// ListProductsWithResponse request
ListProductsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListProductsResponse, error)
// ListServicesWithResponse request
ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
// CreateServiceWithBodyWithResponse request with any body
CreateServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
CreateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body CreateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
// DeleteServiceWithResponse request
DeleteServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
// GetServiceWithResponse request
GetServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
// UpdateServiceWithBodyWithResponse request with any body
UpdateServiceWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
UpdateServiceWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateServiceApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateServiceResponse, error)
// ListUsersWithResponse request
ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
// GetCurrentUserWithResponse request
GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
// UpdateCurrentUserWithBodyWithResponse request with any body
UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)
UpdateCurrentUserWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, body UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)
// RemoveUserWithResponse request
RemoveUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveUserResponse, error)
// GetUserWithResponse request
GetUserWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
// UpdateUserRoleWithBodyWithResponse request with any body
UpdateUserRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)
UpdateUserRoleWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateUserRoleApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Context ¶ added in v1.2.3
type Context struct {
// Attributes Observed attributes
Attributes *map[string]interface{} `json:"attributes,omitempty"`
// ContextType Context type key (e.g., 'user', 'account')
ContextType string `json:"context_type"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// Key Entity identifier: user-123, acme-corp
Key string `json:"key"`
// Name Human-readable display name
Name *string `json:"name,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Context defines model for Context.
type ContextBatchResponse ¶ added in v1.2.3
type ContextBatchResponse struct {
Registered int `json:"registered"`
}
ContextBatchResponse defines model for ContextBatchResponse.
type ContextBulkItem ¶ added in v1.2.3
type ContextBulkItem struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
// Key Entity identifier: 'user-123', 'acme-corp'
Key string `json:"key"`
// Type Context type key: 'user', 'account', 'device'
Type string `json:"type"`
}
ContextBulkItem defines model for ContextBulkItem.
type ContextBulkRegister ¶ added in v1.2.3
type ContextBulkRegister struct {
Contexts []ContextBulkItem `json:"contexts"`
}
ContextBulkRegister defines model for ContextBulkRegister.
type ContextListResponse ¶ added in v1.2.3
type ContextListResponse struct {
Data []ContextResource `json:"data"`
}
ContextListResponse defines model for ContextListResponse.
type ContextResource ¶ added in v1.2.3
type ContextResource struct {
Attributes Context `json:"attributes"`
Id *string `json:"id,omitempty"`
Type ContextResourceType `json:"type"`
}
ContextResource defines model for ContextResource.
type ContextResourceType ¶ added in v1.2.6
type ContextResourceType string
ContextResourceType defines model for ContextResource.Type.
const (
ContextResourceTypeContext ContextResourceType = "context"
)
Defines values for ContextResourceType.
func (ContextResourceType) Valid ¶ added in v1.2.6
func (e ContextResourceType) Valid() bool
Valid indicates whether the value is a known member of the ContextResourceType enum.
type ContextResponse ¶ added in v1.2.3
type ContextResponse struct {
Data ContextResource `json:"data"`
}
ContextResponse defines model for ContextResponse.
type ContextType ¶ added in v1.2.3
type ContextType struct {
// Attributes Known attribute keys with metadata objects
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// Key Programmatic identifier: user, account, device
Key string `json:"key"`
// Name Display label: User, Account, Device
Name string `json:"name"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
ContextType defines model for ContextType.
type ContextTypeListResponse ¶ added in v1.2.3
type ContextTypeListResponse struct {
Data []ContextTypeResource `json:"data"`
}
ContextTypeListResponse defines model for ContextTypeListResponse.
type ContextTypeResource ¶ added in v1.2.3
type ContextTypeResource struct {
Attributes ContextType `json:"attributes"`
Id *string `json:"id,omitempty"`
Type ContextTypeResourceType `json:"type"`
}
ContextTypeResource defines model for ContextTypeResource.
type ContextTypeResourceType ¶ added in v1.2.6
type ContextTypeResourceType string
ContextTypeResourceType defines model for ContextTypeResource.Type.
const (
ContextTypeResourceTypeContextType ContextTypeResourceType = "context_type"
)
Defines values for ContextTypeResourceType.
func (ContextTypeResourceType) Valid ¶ added in v1.2.6
func (e ContextTypeResourceType) Valid() bool
Valid indicates whether the value is a known member of the ContextTypeResourceType enum.
type ContextTypeResponse ¶ added in v1.2.3
type ContextTypeResponse struct {
Data ContextTypeResource `json:"data"`
}
ContextTypeResponse defines model for ContextTypeResponse.
type CreateApiKeyApplicationVndAPIPlusJSONRequestBody ¶
type CreateApiKeyApplicationVndAPIPlusJSONRequestBody = ApiKeyResponse
CreateApiKeyApplicationVndAPIPlusJSONRequestBody defines body for CreateApiKey for application/vnd.api+json ContentType.
type CreateApiKeyResponse ¶
type CreateApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *ApiKeyResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseCreateApiKeyResponse ¶
func ParseCreateApiKeyResponse(rsp *http.Response) (*CreateApiKeyResponse, error)
ParseCreateApiKeyResponse parses an HTTP response from a CreateApiKeyWithResponse call
func (CreateApiKeyResponse) Status ¶
func (r CreateApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateApiKeyResponse) StatusCode ¶
func (r CreateApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateContextTypeApplicationVndAPIPlusJSONRequestBody ¶ added in v1.2.3
type CreateContextTypeApplicationVndAPIPlusJSONRequestBody = ContextTypeResponse
CreateContextTypeApplicationVndAPIPlusJSONRequestBody defines body for CreateContextType for application/vnd.api+json ContentType.
type CreateContextTypeResponse ¶ added in v1.2.3
type CreateContextTypeResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *ContextTypeResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseCreateContextTypeResponse ¶ added in v1.2.3
func ParseCreateContextTypeResponse(rsp *http.Response) (*CreateContextTypeResponse, error)
ParseCreateContextTypeResponse parses an HTTP response from a CreateContextTypeWithResponse call
func (CreateContextTypeResponse) Status ¶ added in v1.2.3
func (r CreateContextTypeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateContextTypeResponse) StatusCode ¶ added in v1.2.3
func (r CreateContextTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody ¶
type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody = EnvironmentResponse
CreateEnvironmentApplicationVndAPIPlusJSONRequestBody defines body for CreateEnvironment for application/vnd.api+json ContentType.
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *EnvironmentResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseCreateEnvironmentResponse ¶
func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error)
ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call
func (CreateEnvironmentResponse) Status ¶
func (r CreateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEnvironmentResponse) StatusCode ¶
func (r CreateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInvitationsApplicationVndAPIPlusJSONRequestBody ¶
type CreateInvitationsApplicationVndAPIPlusJSONRequestBody = InvitationBulkCreateRequest
CreateInvitationsApplicationVndAPIPlusJSONRequestBody defines body for CreateInvitations for application/vnd.api+json ContentType.
type CreateInvitationsResponse ¶
type CreateInvitationsResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *InvitationListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseCreateInvitationsResponse ¶
func ParseCreateInvitationsResponse(rsp *http.Response) (*CreateInvitationsResponse, error)
ParseCreateInvitationsResponse parses an HTTP response from a CreateInvitationsWithResponse call
func (CreateInvitationsResponse) Status ¶
func (r CreateInvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInvitationsResponse) StatusCode ¶
func (r CreateInvitationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceApplicationVndAPIPlusJSONRequestBody ¶
type CreateServiceApplicationVndAPIPlusJSONRequestBody = ServiceResponse
CreateServiceApplicationVndAPIPlusJSONRequestBody defines body for CreateService for application/vnd.api+json ContentType.
type CreateServiceResponse ¶
type CreateServiceResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *ServiceResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseCreateServiceResponse ¶
func ParseCreateServiceResponse(rsp *http.Response) (*CreateServiceResponse, error)
ParseCreateServiceResponse parses an HTTP response from a CreateServiceWithResponse call
func (CreateServiceResponse) Status ¶
func (r CreateServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceResponse) StatusCode ¶
func (r CreateServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAccountResponse ¶
type DeleteAccountResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteAccountResponse ¶
func ParseDeleteAccountResponse(rsp *http.Response) (*DeleteAccountResponse, error)
ParseDeleteAccountResponse parses an HTTP response from a DeleteAccountWithResponse call
func (DeleteAccountResponse) Status ¶
func (r DeleteAccountResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccountResponse) StatusCode ¶
func (r DeleteAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiKeyResponse ¶
type DeleteApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteApiKeyResponse ¶
func ParseDeleteApiKeyResponse(rsp *http.Response) (*DeleteApiKeyResponse, error)
ParseDeleteApiKeyResponse parses an HTTP response from a DeleteApiKeyWithResponse call
func (DeleteApiKeyResponse) Status ¶
func (r DeleteApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiKeyResponse) StatusCode ¶
func (r DeleteApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteContextResponse ¶ added in v1.2.3
type DeleteContextResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteContextResponse ¶ added in v1.2.3
func ParseDeleteContextResponse(rsp *http.Response) (*DeleteContextResponse, error)
ParseDeleteContextResponse parses an HTTP response from a DeleteContextWithResponse call
func (DeleteContextResponse) Status ¶ added in v1.2.3
func (r DeleteContextResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteContextResponse) StatusCode ¶ added in v1.2.3
func (r DeleteContextResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteContextTypeResponse ¶ added in v1.2.3
type DeleteContextTypeResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteContextTypeResponse ¶ added in v1.2.3
func ParseDeleteContextTypeResponse(rsp *http.Response) (*DeleteContextTypeResponse, error)
ParseDeleteContextTypeResponse parses an HTTP response from a DeleteContextTypeWithResponse call
func (DeleteContextTypeResponse) Status ¶ added in v1.2.3
func (r DeleteContextTypeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteContextTypeResponse) StatusCode ¶ added in v1.2.3
func (r DeleteContextTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvironmentResponse ¶
type DeleteEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteEnvironmentResponse ¶
func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error)
ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call
func (DeleteEnvironmentResponse) Status ¶
func (r DeleteEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvironmentResponse) StatusCode ¶
func (r DeleteEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteServiceResponse ¶
type DeleteServiceResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseDeleteServiceResponse ¶
func ParseDeleteServiceResponse(rsp *http.Response) (*DeleteServiceResponse, error)
ParseDeleteServiceResponse parses an HTTP response from a DeleteServiceWithResponse call
func (DeleteServiceResponse) Status ¶
func (r DeleteServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteServiceResponse) StatusCode ¶
func (r DeleteServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Environment ¶
type Environment struct {
Color *string `json:"color,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Key *string `json:"key,omitempty"`
Name string `json:"name"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Environment defines model for Environment.
type EnvironmentListResponse ¶
type EnvironmentListResponse struct {
Data []EnvironmentResource `json:"data"`
}
EnvironmentListResponse defines model for EnvironmentListResponse.
type EnvironmentResource ¶
type EnvironmentResource struct {
Attributes Environment `json:"attributes"`
Id *string `json:"id,omitempty"`
Type EnvironmentResourceType `json:"type"`
}
EnvironmentResource defines model for EnvironmentResource.
type EnvironmentResourceType ¶ added in v1.2.6
type EnvironmentResourceType string
EnvironmentResourceType defines model for EnvironmentResource.Type.
const (
EnvironmentResourceTypeEnvironment EnvironmentResourceType = "environment"
)
Defines values for EnvironmentResourceType.
func (EnvironmentResourceType) Valid ¶ added in v1.2.6
func (e EnvironmentResourceType) Valid() bool
Valid indicates whether the value is a known member of the EnvironmentResourceType enum.
type EnvironmentResponse ¶
type EnvironmentResponse struct {
Data EnvironmentResource `json:"data"`
}
EnvironmentResponse defines model for EnvironmentResponse.
type Error ¶
type Error struct {
Detail *string `json:"detail,omitempty"`
Source *map[string]interface{} `json:"source,omitempty"`
Status string `json:"status"`
Title string `json:"title"`
}
Error Single JSON:API error object.
type ErrorResponse ¶
type ErrorResponse struct {
Errors []Error `json:"errors"`
}
ErrorResponse JSON:API error response envelope.
type GetAccountResponse ¶
type GetAccountResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *AccountResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetAccountResponse ¶
func ParseGetAccountResponse(rsp *http.Response) (*GetAccountResponse, error)
ParseGetAccountResponse parses an HTTP response from a GetAccountWithResponse call
func (GetAccountResponse) Status ¶
func (r GetAccountResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountResponse) StatusCode ¶
func (r GetAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiKeyResponse ¶
type GetApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ApiKeyResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetApiKeyResponse ¶
func ParseGetApiKeyResponse(rsp *http.Response) (*GetApiKeyResponse, error)
ParseGetApiKeyResponse parses an HTTP response from a GetApiKeyWithResponse call
func (GetApiKeyResponse) Status ¶
func (r GetApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiKeyResponse) StatusCode ¶
func (r GetApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContextResponse ¶ added in v1.2.3
type GetContextResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ContextResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetContextResponse ¶ added in v1.2.3
func ParseGetContextResponse(rsp *http.Response) (*GetContextResponse, error)
ParseGetContextResponse parses an HTTP response from a GetContextWithResponse call
func (GetContextResponse) Status ¶ added in v1.2.3
func (r GetContextResponse) Status() string
Status returns HTTPResponse.Status
func (GetContextResponse) StatusCode ¶ added in v1.2.3
func (r GetContextResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContextTypeResponse ¶ added in v1.2.3
type GetContextTypeResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ContextTypeResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetContextTypeResponse ¶ added in v1.2.3
func ParseGetContextTypeResponse(rsp *http.Response) (*GetContextTypeResponse, error)
ParseGetContextTypeResponse parses an HTTP response from a GetContextTypeWithResponse call
func (GetContextTypeResponse) Status ¶ added in v1.2.3
func (r GetContextTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetContextTypeResponse) StatusCode ¶ added in v1.2.3
func (r GetContextTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentUserResponse ¶
type GetCurrentUserResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *UserResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetCurrentUserResponse ¶
func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)
ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call
func (GetCurrentUserResponse) Status ¶
func (r GetCurrentUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentUserResponse) StatusCode ¶
func (r GetCurrentUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentResponse ¶
type GetEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *EnvironmentResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetEnvironmentResponse ¶
func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)
ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call
func (GetEnvironmentResponse) Status ¶
func (r GetEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentResponse) StatusCode ¶
func (r GetEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceResponse ¶
type GetServiceResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ServiceResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetServiceResponse ¶
func ParseGetServiceResponse(rsp *http.Response) (*GetServiceResponse, error)
ParseGetServiceResponse parses an HTTP response from a GetServiceWithResponse call
func (GetServiceResponse) Status ¶
func (r GetServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceResponse) StatusCode ¶
func (r GetServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserResponse ¶
type GetUserResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *UserResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseGetUserResponse ¶
func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call
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 HandleOidcCallbackParams ¶
type HandleOidcCallbackParams struct {
Code *string `form:"code,omitempty" json:"code,omitempty"`
State *string `form:"state,omitempty" json:"state,omitempty"`
Error *string `form:"error,omitempty" json:"error,omitempty"`
ErrorDescription *string `form:"error_description,omitempty" json:"error_description,omitempty"`
}
HandleOidcCallbackParams defines parameters for HandleOidcCallback.
type HandleOidcCallbackResponse ¶
type HandleOidcCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON429 *ErrorResponse
}
func ParseHandleOidcCallbackResponse ¶
func ParseHandleOidcCallbackResponse(rsp *http.Response) (*HandleOidcCallbackResponse, error)
ParseHandleOidcCallbackResponse parses an HTTP response from a HandleOidcCallbackWithResponse call
func (HandleOidcCallbackResponse) Status ¶
func (r HandleOidcCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (HandleOidcCallbackResponse) StatusCode ¶
func (r HandleOidcCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Invitation ¶
type Invitation struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Email *string `json:"email,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
InvitedBy *string `json:"invited_by,omitempty"`
Role *string `json:"role,omitempty"`
Status *string `json:"status,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Invitation defines model for Invitation.
type InvitationBulkCreateRequest ¶
type InvitationBulkCreateRequest struct {
Invitations []InvitationCreateItem `json:"invitations"`
}
InvitationBulkCreateRequest defines model for InvitationBulkCreateRequest.
type InvitationCreateItem ¶
type InvitationCreateItem struct {
Email openapi_types.Email `json:"email"`
Role *string `json:"role,omitempty"`
}
InvitationCreateItem defines model for InvitationCreateItem.
type InvitationListResponse ¶
type InvitationListResponse struct {
Data []InvitationResource `json:"data"`
}
InvitationListResponse defines model for InvitationListResponse.
type InvitationResource ¶
type InvitationResource struct {
Attributes Invitation `json:"attributes"`
Id *string `json:"id,omitempty"`
Type InvitationResourceType `json:"type"`
}
InvitationResource defines model for InvitationResource.
type InvitationResourceType ¶ added in v1.2.6
type InvitationResourceType string
InvitationResourceType defines model for InvitationResource.Type.
const (
InvitationResourceTypeInvitation InvitationResourceType = "invitation"
)
Defines values for InvitationResourceType.
func (InvitationResourceType) Valid ¶ added in v1.2.6
func (e InvitationResourceType) Valid() bool
Valid indicates whether the value is a known member of the InvitationResourceType enum.
type InvitationResponse ¶
type InvitationResponse struct {
Data InvitationResource `json:"data"`
}
InvitationResponse defines model for InvitationResponse.
type LimitDefinition ¶ added in v1.2.3
type LimitDefinition struct {
Description string `json:"description"`
DisplayFormat *string `json:"display_format,omitempty"`
DisplayName string `json:"display_name"`
Unit string `json:"unit"`
}
LimitDefinition defines model for LimitDefinition.
type ListApiKeysParams ¶
type ListApiKeysParams struct {
FilterStatus *string `form:"filter[status],omitempty" json:"filter[status],omitempty"`
}
ListApiKeysParams defines parameters for ListApiKeys.
type ListApiKeysResponse ¶
type ListApiKeysResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ApiKeyListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListApiKeysResponse ¶
func ParseListApiKeysResponse(rsp *http.Response) (*ListApiKeysResponse, error)
ParseListApiKeysResponse parses an HTTP response from a ListApiKeysWithResponse call
func (ListApiKeysResponse) Status ¶
func (r ListApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListApiKeysResponse) StatusCode ¶
func (r ListApiKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListContextTypesResponse ¶ added in v1.2.3
type ListContextTypesResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ContextTypeListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListContextTypesResponse ¶ added in v1.2.3
func ParseListContextTypesResponse(rsp *http.Response) (*ListContextTypesResponse, error)
ParseListContextTypesResponse parses an HTTP response from a ListContextTypesWithResponse call
func (ListContextTypesResponse) Status ¶ added in v1.2.3
func (r ListContextTypesResponse) Status() string
Status returns HTTPResponse.Status
func (ListContextTypesResponse) StatusCode ¶ added in v1.2.3
func (r ListContextTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListContextsParams ¶ added in v1.2.3
type ListContextsParams struct {
FilterContextTypeId *string `form:"filter[context_type_id],omitempty" json:"filter[context_type_id],omitempty"`
}
ListContextsParams defines parameters for ListContexts.
type ListContextsResponse ¶ added in v1.2.3
type ListContextsResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ContextListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListContextsResponse ¶ added in v1.2.3
func ParseListContextsResponse(rsp *http.Response) (*ListContextsResponse, error)
ParseListContextsResponse parses an HTTP response from a ListContextsWithResponse call
func (ListContextsResponse) Status ¶ added in v1.2.3
func (r ListContextsResponse) Status() string
Status returns HTTPResponse.Status
func (ListContextsResponse) StatusCode ¶ added in v1.2.3
func (r ListContextsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEnvironmentsParams ¶
type ListEnvironmentsParams struct {
FilterKey *string `form:"filter[key],omitempty" json:"filter[key],omitempty"`
}
ListEnvironmentsParams defines parameters for ListEnvironments.
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *EnvironmentListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListEnvironmentsResponse ¶
func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error)
ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call
func (ListEnvironmentsResponse) Status ¶
func (r ListEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEnvironmentsResponse) StatusCode ¶
func (r ListEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInvitationsParams ¶
type ListInvitationsParams struct {
FilterStatus *string `form:"filter[status],omitempty" json:"filter[status],omitempty"`
}
ListInvitationsParams defines parameters for ListInvitations.
type ListInvitationsResponse ¶
type ListInvitationsResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *InvitationListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListInvitationsResponse ¶
func ParseListInvitationsResponse(rsp *http.Response) (*ListInvitationsResponse, error)
ParseListInvitationsResponse parses an HTTP response from a ListInvitationsWithResponse call
func (ListInvitationsResponse) Status ¶
func (r ListInvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInvitationsResponse) StatusCode ¶
func (r ListInvitationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPlansResponse ¶
type ListPlansResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *PlanListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListPlansResponse ¶
func ParseListPlansResponse(rsp *http.Response) (*ListPlansResponse, error)
ParseListPlansResponse parses an HTTP response from a ListPlansWithResponse call
func (ListPlansResponse) Status ¶
func (r ListPlansResponse) Status() string
Status returns HTTPResponse.Status
func (ListPlansResponse) StatusCode ¶
func (r ListPlansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProductsResponse ¶ added in v1.2.3
type ListProductsResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ProductListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListProductsResponse ¶ added in v1.2.3
func ParseListProductsResponse(rsp *http.Response) (*ListProductsResponse, error)
ParseListProductsResponse parses an HTTP response from a ListProductsWithResponse call
func (ListProductsResponse) Status ¶ added in v1.2.3
func (r ListProductsResponse) Status() string
Status returns HTTPResponse.Status
func (ListProductsResponse) StatusCode ¶ added in v1.2.3
func (r ListProductsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServicesParams ¶
type ListServicesParams struct {
FilterKey *string `form:"filter[key],omitempty" json:"filter[key],omitempty"`
}
ListServicesParams defines parameters for ListServices.
type ListServicesResponse ¶
type ListServicesResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ServiceListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListServicesResponse ¶
func ParseListServicesResponse(rsp *http.Response) (*ListServicesResponse, error)
ParseListServicesResponse parses an HTTP response from a ListServicesWithResponse call
func (ListServicesResponse) Status ¶
func (r ListServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListServicesResponse) StatusCode ¶
func (r ListServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsersParams ¶
type ListUsersParams struct {
FilterAccount *string `form:"filter[account],omitempty" json:"filter[account],omitempty"`
}
ListUsersParams defines parameters for ListUsers.
type ListUsersResponse ¶
type ListUsersResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *UserListResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseListUsersResponse ¶
func ParseListUsersResponse(rsp *http.Response) (*ListUsersResponse, error)
ParseListUsersResponse parses an HTTP response from a ListUsersWithResponse call
func (ListUsersResponse) Status ¶
func (r ListUsersResponse) Status() string
Status returns HTTPResponse.Status
func (ListUsersResponse) StatusCode ¶
func (r ListUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginJSONRequestBody ¶
type LoginJSONRequestBody = LoginRequest
LoginJSONRequestBody defines body for Login for application/json ContentType.
type LoginRequest ¶
type LoginRequest struct {
Email openapi_types.Email `json:"email"`
Password string `json:"password"`
}
LoginRequest defines model for LoginRequest.
type LoginResponse ¶
type LoginResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AuthTokenResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON429 *ErrorResponse
}
func ParseLoginResponse ¶
func ParseLoginResponse(rsp *http.Response) (*LoginResponse, error)
ParseLoginResponse parses an HTTP response from a LoginWithResponse call
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 OidcProvider ¶
type OidcProvider string
OidcProvider defines model for OidcProvider.
const ( Google OidcProvider = "google" Microsoft OidcProvider = "microsoft" )
Defines values for OidcProvider.
func (OidcProvider) Valid ¶
func (e OidcProvider) Valid() bool
Valid indicates whether the value is a known member of the OidcProvider enum.
type Plan ¶
type Plan struct {
Description string `json:"description"`
DisplayName string `json:"display_name"`
SortOrder int `json:"sort_order"`
}
Plan defines model for Plan.
type PlanDefinition ¶ added in v1.2.3
type PlanDefinition struct {
Limits map[string]int `json:"limits"`
PriceMonthlyCents int `json:"price_monthly_cents"`
}
PlanDefinition defines model for PlanDefinition.
type PlanListResponse ¶
type PlanListResponse struct {
Data []PlanResource `json:"data"`
}
PlanListResponse defines model for PlanListResponse.
type PlanResource ¶
type PlanResource struct {
Attributes Plan `json:"attributes"`
Id *string `json:"id,omitempty"`
Type PlanResourceType `json:"type"`
}
PlanResource defines model for PlanResource.
type PlanResourceType ¶ added in v1.2.6
type PlanResourceType string
PlanResourceType defines model for PlanResource.Type.
const (
PlanResourceTypePlan PlanResourceType = "plan"
)
Defines values for PlanResourceType.
func (PlanResourceType) Valid ¶ added in v1.2.6
func (e PlanResourceType) Valid() bool
Valid indicates whether the value is a known member of the PlanResourceType enum.
type Product ¶ added in v1.2.3
type Product struct {
ComingSoon *bool `json:"coming_soon,omitempty"`
Description string `json:"description"`
DisplayName string `json:"display_name"`
Limits map[string]LimitDefinition `json:"limits"`
Plans map[string]PlanDefinition `json:"plans"`
}
Product defines model for Product.
type ProductListResponse ¶ added in v1.2.3
type ProductListResponse struct {
Data []ProductResource `json:"data"`
}
ProductListResponse defines model for ProductListResponse.
type ProductResource ¶ added in v1.2.3
type ProductResource struct {
Attributes Product `json:"attributes"`
Id *string `json:"id,omitempty"`
Type ProductResourceType `json:"type"`
}
ProductResource defines model for ProductResource.
type ProductResourceType ¶ added in v1.2.6
type ProductResourceType string
ProductResourceType defines model for ProductResource.Type.
const (
ProductResourceTypeProduct ProductResourceType = "product"
)
Defines values for ProductResourceType.
func (ProductResourceType) Valid ¶ added in v1.2.6
func (e ProductResourceType) Valid() bool
Valid indicates whether the value is a known member of the ProductResourceType enum.
type RegisterJSONRequestBody ¶
type RegisterJSONRequestBody = RegisterRequest
RegisterJSONRequestBody defines body for Register for application/json ContentType.
type RegisterRequest ¶
type RegisterRequest struct {
Email openapi_types.Email `json:"email"`
Password string `json:"password"`
}
RegisterRequest defines model for RegisterRequest.
type RegisterResponse ¶
type RegisterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AuthTokenResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *ErrorResponse
JSON429 *ErrorResponse
}
func ParseRegisterResponse ¶
func ParseRegisterResponse(rsp *http.Response) (*RegisterResponse, error)
ParseRegisterResponse parses an HTTP response from a RegisterWithResponse call
func (RegisterResponse) Status ¶
func (r RegisterResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterResponse) StatusCode ¶
func (r RegisterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveUserResponse ¶
type RemoveUserResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseRemoveUserResponse ¶
func ParseRemoveUserResponse(rsp *http.Response) (*RemoveUserResponse, error)
ParseRemoveUserResponse parses an HTTP response from a RemoveUserWithResponse call
func (RemoveUserResponse) Status ¶
func (r RemoveUserResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveUserResponse) StatusCode ¶
func (r RemoveUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResendInvitationResponse ¶
type ResendInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *InvitationResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseResendInvitationResponse ¶
func ParseResendInvitationResponse(rsp *http.Response) (*ResendInvitationResponse, error)
ParseResendInvitationResponse parses an HTTP response from a ResendInvitationWithResponse call
func (ResendInvitationResponse) Status ¶
func (r ResendInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (ResendInvitationResponse) StatusCode ¶
func (r ResendInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeApiKeyResponse ¶
type RevokeApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ApiKeyResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseRevokeApiKeyResponse ¶
func ParseRevokeApiKeyResponse(rsp *http.Response) (*RevokeApiKeyResponse, error)
ParseRevokeApiKeyResponse parses an HTTP response from a RevokeApiKeyWithResponse call
func (RevokeApiKeyResponse) Status ¶
func (r RevokeApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeApiKeyResponse) StatusCode ¶
func (r RevokeApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeInvitationResponse ¶
type RevokeInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *InvitationResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseRevokeInvitationResponse ¶
func ParseRevokeInvitationResponse(rsp *http.Response) (*RevokeInvitationResponse, error)
ParseRevokeInvitationResponse parses an HTTP response from a RevokeInvitationWithResponse call
func (RevokeInvitationResponse) Status ¶
func (r RevokeInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeInvitationResponse) StatusCode ¶
func (r RevokeInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Service ¶
type Service struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Key *string `json:"key,omitempty"`
Name string `json:"name"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Service defines model for Service.
type ServiceListResponse ¶
type ServiceListResponse struct {
Data []ServiceResource `json:"data"`
}
ServiceListResponse defines model for ServiceListResponse.
type ServiceResource ¶
type ServiceResource struct {
Attributes Service `json:"attributes"`
Id *string `json:"id,omitempty"`
Type ServiceResourceType `json:"type"`
}
ServiceResource defines model for ServiceResource.
type ServiceResourceType ¶ added in v1.2.6
type ServiceResourceType string
ServiceResourceType defines model for ServiceResource.Type.
const (
ServiceResourceTypeService ServiceResourceType = "service"
)
Defines values for ServiceResourceType.
func (ServiceResourceType) Valid ¶ added in v1.2.6
func (e ServiceResourceType) Valid() bool
Valid indicates whether the value is a known member of the ServiceResourceType enum.
type ServiceResponse ¶
type ServiceResponse struct {
Data ServiceResource `json:"data"`
}
ServiceResponse defines model for ServiceResponse.
type UpdateAccountApplicationVndAPIPlusJSONRequestBody ¶
type UpdateAccountApplicationVndAPIPlusJSONRequestBody = AccountResponse
UpdateAccountApplicationVndAPIPlusJSONRequestBody defines body for UpdateAccount for application/vnd.api+json ContentType.
type UpdateAccountResponse ¶
type UpdateAccountResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *AccountResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateAccountResponse ¶
func ParseUpdateAccountResponse(rsp *http.Response) (*UpdateAccountResponse, error)
ParseUpdateAccountResponse parses an HTTP response from a UpdateAccountWithResponse call
func (UpdateAccountResponse) Status ¶
func (r UpdateAccountResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAccountResponse) StatusCode ¶
func (r UpdateAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody ¶
type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody = ApiKeyResponse
UpdateApiKeyApplicationVndAPIPlusJSONRequestBody defines body for UpdateApiKey for application/vnd.api+json ContentType.
type UpdateApiKeyResponse ¶
type UpdateApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ApiKeyResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateApiKeyResponse ¶
func ParseUpdateApiKeyResponse(rsp *http.Response) (*UpdateApiKeyResponse, error)
ParseUpdateApiKeyResponse parses an HTTP response from a UpdateApiKeyWithResponse call
func (UpdateApiKeyResponse) Status ¶
func (r UpdateApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateApiKeyResponse) StatusCode ¶
func (r UpdateApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateContextTypeApplicationVndAPIPlusJSONRequestBody ¶ added in v1.2.3
type UpdateContextTypeApplicationVndAPIPlusJSONRequestBody = ContextTypeResponse
UpdateContextTypeApplicationVndAPIPlusJSONRequestBody defines body for UpdateContextType for application/vnd.api+json ContentType.
type UpdateContextTypeResponse ¶ added in v1.2.3
type UpdateContextTypeResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ContextTypeResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateContextTypeResponse ¶ added in v1.2.3
func ParseUpdateContextTypeResponse(rsp *http.Response) (*UpdateContextTypeResponse, error)
ParseUpdateContextTypeResponse parses an HTTP response from a UpdateContextTypeWithResponse call
func (UpdateContextTypeResponse) Status ¶ added in v1.2.3
func (r UpdateContextTypeResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateContextTypeResponse) StatusCode ¶ added in v1.2.3
func (r UpdateContextTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody ¶
type UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody = UserResponse
UpdateCurrentUserApplicationVndAPIPlusJSONRequestBody defines body for UpdateCurrentUser for application/vnd.api+json ContentType.
type UpdateCurrentUserResponse ¶
type UpdateCurrentUserResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *UserResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateCurrentUserResponse ¶
func ParseUpdateCurrentUserResponse(rsp *http.Response) (*UpdateCurrentUserResponse, error)
ParseUpdateCurrentUserResponse parses an HTTP response from a UpdateCurrentUserWithResponse call
func (UpdateCurrentUserResponse) Status ¶
func (r UpdateCurrentUserResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCurrentUserResponse) StatusCode ¶
func (r UpdateCurrentUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody ¶
type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody = EnvironmentResponse
UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody defines body for UpdateEnvironment for application/vnd.api+json ContentType.
type UpdateEnvironmentResponse ¶
type UpdateEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *EnvironmentResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateEnvironmentResponse ¶
func ParseUpdateEnvironmentResponse(rsp *http.Response) (*UpdateEnvironmentResponse, error)
ParseUpdateEnvironmentResponse parses an HTTP response from a UpdateEnvironmentWithResponse call
func (UpdateEnvironmentResponse) Status ¶
func (r UpdateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEnvironmentResponse) StatusCode ¶
func (r UpdateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateServiceApplicationVndAPIPlusJSONRequestBody ¶
type UpdateServiceApplicationVndAPIPlusJSONRequestBody = ServiceResponse
UpdateServiceApplicationVndAPIPlusJSONRequestBody defines body for UpdateService for application/vnd.api+json ContentType.
type UpdateServiceResponse ¶
type UpdateServiceResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ServiceResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateServiceResponse ¶
func ParseUpdateServiceResponse(rsp *http.Response) (*UpdateServiceResponse, error)
ParseUpdateServiceResponse parses an HTTP response from a UpdateServiceWithResponse call
func (UpdateServiceResponse) Status ¶
func (r UpdateServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateServiceResponse) StatusCode ¶
func (r UpdateServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUserRoleApplicationVndAPIPlusJSONRequestBody ¶
type UpdateUserRoleApplicationVndAPIPlusJSONRequestBody = UserResponse
UpdateUserRoleApplicationVndAPIPlusJSONRequestBody defines body for UpdateUserRole for application/vnd.api+json ContentType.
type UpdateUserRoleResponse ¶
type UpdateUserRoleResponse struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *UserResponse
ApplicationvndApiJSON400 *ErrorResponse
ApplicationvndApiJSON401 *ErrorResponse
ApplicationvndApiJSON404 *ErrorResponse
ApplicationvndApiJSON429 *ErrorResponse
}
func ParseUpdateUserRoleResponse ¶
func ParseUpdateUserRoleResponse(rsp *http.Response) (*UpdateUserRoleResponse, error)
ParseUpdateUserRoleResponse parses an HTTP response from a UpdateUserRoleWithResponse call
func (UpdateUserRoleResponse) Status ¶
func (r UpdateUserRoleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateUserRoleResponse) StatusCode ¶
func (r UpdateUserRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type User ¶
type User struct {
// Account Account UUID
Account *string `json:"account,omitempty"`
AuthProvider *string `json:"auth_provider,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DisplayName string `json:"display_name"`
// Email User's email address
Email openapi_types.Email `json:"email"`
EmailVerified *bool `json:"email_verified,omitempty"`
ProfilePic *string `json:"profile_pic,omitempty"`
// Role Role in current account context
Role *string `json:"role,omitempty"`
}
User defines model for User.
type UserListResponse ¶
type UserListResponse struct {
Data []UserResource `json:"data"`
}
UserListResponse defines model for UserListResponse.
type UserResource ¶
type UserResource struct {
Attributes User `json:"attributes"`
Id *string `json:"id,omitempty"`
Type UserResourceType `json:"type"`
}
UserResource defines model for UserResource.
type UserResourceType ¶ added in v1.2.6
type UserResourceType string
UserResourceType defines model for UserResource.Type.
const (
UserResourceTypeUser UserResourceType = "user"
)
Defines values for UserResourceType.
func (UserResourceType) Valid ¶ added in v1.2.6
func (e UserResourceType) Valid() bool
Valid indicates whether the value is a known member of the UserResourceType enum.
type UserResponse ¶
type UserResponse struct {
Data UserResource `json:"data"`
}
UserResponse defines model for UserResponse.