Documentation ¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.
Index ¶
- Constants
- func ConvertRequestToMap(input any) (map[string]any, error)
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type ChiServerOptions
- type Force
- type HTTPError
- type Id
- type InvalidParamFormatError
- type Language
- type Limit
- type MiddlewareFunc
- type N201
- type N201JSONResponse
- type N400
- type N400JSONResponse
- type N401
- type N401JSONResponse
- type N403
- type N403JSONResponse
- type N404
- type N404JSONResponse
- type N500
- type N500JSONResponse
- type Notification
- type NotificationPatch
- type Offset
- type Optional
- type Organization
- type OrganizationCreate
- type OrganizationPatch
- type OrganizationStatus
- type Permission
- type PermissionCreate
- type PermissionKind
- type PermissionPatch
- type RequiredHeaderError
- type RequiredParamError
- type ResourceId
- type ResourceType
- type Role
- type RoleCreate
- type RolePatch
- type Roles
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) V1NotificationDelete(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1NotificationGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1NotificationUpdate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1NotificationsGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationDelete(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationMemberRemove(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationMembersAdd(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationMembersGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRoleDelete(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRoleGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRoleMemberRemove(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRoleMembersAdd(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRoleMembersGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRoleUpdate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRolesCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationRolesGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationUpdate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationsCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1OrganizationsGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1PermissionDelete(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1PermissionGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1PermissionHasRelations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1PermissionHasSystemRole(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1PermissionResourceGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1PermissionUpdate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1PermissionsCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1SystemHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1SystemHeartbeat(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1SystemLicense(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1SystemVersion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1TodoDelete(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1TodoGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1TodoUpdate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1TodosCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1TodosGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1UserDelete(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1UserGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1UserUpdate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1UsersCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) V1UsersGet(w http.ResponseWriter, r *http.Request)
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SystemHealth
- type SystemHealthCacheDatabase
- type SystemHealthGraphDatabase
- type SystemHealthLicense
- type SystemHealthMessageQueue
- type SystemHealthRelationalDatabase
- type SystemLicense
- type SystemLicenseFeatures
- type SystemVersion
- type Todo
- type TodoCreate
- type TodoPatch
- type TodoPriority
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) V1NotificationDelete(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1NotificationGet(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1NotificationUpdate(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1NotificationsGet(w http.ResponseWriter, r *http.Request, params V1NotificationsGetParams)
- func (_ Unimplemented) V1OrganizationDelete(w http.ResponseWriter, r *http.Request, id Id, ...)
- func (_ Unimplemented) V1OrganizationGet(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1OrganizationMemberRemove(w http.ResponseWriter, r *http.Request, id Id, userId string)
- func (_ Unimplemented) V1OrganizationMembersAdd(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1OrganizationMembersGet(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1OrganizationRoleDelete(w http.ResponseWriter, r *http.Request, id Id, roleId string)
- func (_ Unimplemented) V1OrganizationRoleGet(w http.ResponseWriter, r *http.Request, id Id, roleId string)
- func (_ Unimplemented) V1OrganizationRoleMemberRemove(w http.ResponseWriter, r *http.Request, id Id, roleId string, userId string)
- func (_ Unimplemented) V1OrganizationRoleMembersAdd(w http.ResponseWriter, r *http.Request, id Id, roleId string)
- func (_ Unimplemented) V1OrganizationRoleMembersGet(w http.ResponseWriter, r *http.Request, id Id, roleId string)
- func (_ Unimplemented) V1OrganizationRoleUpdate(w http.ResponseWriter, r *http.Request, id Id, roleId string)
- func (_ Unimplemented) V1OrganizationRolesCreate(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1OrganizationRolesGet(w http.ResponseWriter, r *http.Request, id Id, ...)
- func (_ Unimplemented) V1OrganizationUpdate(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1OrganizationsCreate(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1OrganizationsGet(w http.ResponseWriter, r *http.Request, params V1OrganizationsGetParams)
- func (_ Unimplemented) V1PermissionDelete(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1PermissionGet(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1PermissionHasRelations(w http.ResponseWriter, r *http.Request, resourceId ResourceId)
- func (_ Unimplemented) V1PermissionHasSystemRole(w http.ResponseWriter, r *http.Request, params V1PermissionHasSystemRoleParams)
- func (_ Unimplemented) V1PermissionResourceGet(w http.ResponseWriter, r *http.Request, resourceId ResourceId)
- func (_ Unimplemented) V1PermissionUpdate(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1PermissionsCreate(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1SystemHealth(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1SystemHeartbeat(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1SystemLicense(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1SystemVersion(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1TodoDelete(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1TodoGet(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1TodoUpdate(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1TodosCreate(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1TodosGet(w http.ResponseWriter, r *http.Request, params V1TodosGetParams)
- func (_ Unimplemented) V1UserDelete(w http.ResponseWriter, r *http.Request, id Id, params V1UserDeleteParams)
- func (_ Unimplemented) V1UserGet(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1UserUpdate(w http.ResponseWriter, r *http.Request, id Id)
- func (_ Unimplemented) V1UsersCreate(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) V1UsersGet(w http.ResponseWriter, r *http.Request, params V1UsersGetParams)
- type UnmarshalingParamError
- type User
- type UserCreate
- type UserPatch
- type UserStatus
- type V1NotificationDelete204Response
- type V1NotificationDelete400JSONResponse
- type V1NotificationDelete401JSONResponse
- type V1NotificationDelete403JSONResponse
- type V1NotificationDelete404JSONResponse
- type V1NotificationDelete500JSONResponse
- type V1NotificationDeleteRequestObject
- type V1NotificationDeleteResponseObject
- type V1NotificationGet200JSONResponse
- type V1NotificationGet400JSONResponse
- type V1NotificationGet401JSONResponse
- type V1NotificationGet403JSONResponse
- type V1NotificationGet404JSONResponse
- type V1NotificationGet500JSONResponse
- type V1NotificationGetRequestObject
- type V1NotificationGetResponseObject
- type V1NotificationUpdate200JSONResponse
- type V1NotificationUpdate400JSONResponse
- type V1NotificationUpdate401JSONResponse
- type V1NotificationUpdate403JSONResponse
- type V1NotificationUpdate404JSONResponse
- type V1NotificationUpdate500JSONResponse
- type V1NotificationUpdateJSONBody
- type V1NotificationUpdateJSONRequestBody
- type V1NotificationUpdateRequestObject
- type V1NotificationUpdateResponseObject
- type V1NotificationsGet200JSONResponse
- type V1NotificationsGet400JSONResponse
- type V1NotificationsGet401JSONResponse
- type V1NotificationsGet403JSONResponse
- type V1NotificationsGet500JSONResponse
- type V1NotificationsGetParams
- type V1NotificationsGetRequestObject
- type V1NotificationsGetResponseObject
- type V1OrganizationDelete204Response
- type V1OrganizationDelete400JSONResponse
- type V1OrganizationDelete401JSONResponse
- type V1OrganizationDelete403JSONResponse
- type V1OrganizationDelete404JSONResponse
- type V1OrganizationDelete500JSONResponse
- type V1OrganizationDeleteParams
- type V1OrganizationDeleteRequestObject
- type V1OrganizationDeleteResponseObject
- type V1OrganizationGet200JSONResponse
- type V1OrganizationGet400JSONResponse
- type V1OrganizationGet401JSONResponse
- type V1OrganizationGet403JSONResponse
- type V1OrganizationGet404JSONResponse
- type V1OrganizationGet500JSONResponse
- type V1OrganizationGetRequestObject
- type V1OrganizationGetResponseObject
- type V1OrganizationMemberRemove204Response
- type V1OrganizationMemberRemove400JSONResponse
- type V1OrganizationMemberRemove401JSONResponse
- type V1OrganizationMemberRemove403JSONResponse
- type V1OrganizationMemberRemove404JSONResponse
- type V1OrganizationMemberRemove500JSONResponse
- type V1OrganizationMemberRemoveRequestObject
- type V1OrganizationMemberRemoveResponseObject
- type V1OrganizationMembersAdd201JSONResponse
- type V1OrganizationMembersAdd400JSONResponse
- type V1OrganizationMembersAdd401JSONResponse
- type V1OrganizationMembersAdd403JSONResponse
- type V1OrganizationMembersAdd404JSONResponse
- type V1OrganizationMembersAdd500JSONResponse
- type V1OrganizationMembersAddJSONBody
- type V1OrganizationMembersAddJSONRequestBody
- type V1OrganizationMembersAddRequestObject
- type V1OrganizationMembersAddResponseObject
- type V1OrganizationMembersGet200JSONResponse
- type V1OrganizationMembersGet400JSONResponse
- type V1OrganizationMembersGet401JSONResponse
- type V1OrganizationMembersGet403JSONResponse
- type V1OrganizationMembersGet404JSONResponse
- type V1OrganizationMembersGet500JSONResponse
- type V1OrganizationMembersGetRequestObject
- type V1OrganizationMembersGetResponseObject
- type V1OrganizationRoleDelete204Response
- type V1OrganizationRoleDelete400JSONResponse
- type V1OrganizationRoleDelete401JSONResponse
- type V1OrganizationRoleDelete403JSONResponse
- type V1OrganizationRoleDelete404JSONResponse
- type V1OrganizationRoleDelete500JSONResponse
- type V1OrganizationRoleDeleteRequestObject
- type V1OrganizationRoleDeleteResponseObject
- type V1OrganizationRoleGet200JSONResponse
- type V1OrganizationRoleGet400JSONResponse
- type V1OrganizationRoleGet401JSONResponse
- type V1OrganizationRoleGet403JSONResponse
- type V1OrganizationRoleGet404JSONResponse
- type V1OrganizationRoleGet500JSONResponse
- type V1OrganizationRoleGetRequestObject
- type V1OrganizationRoleGetResponseObject
- type V1OrganizationRoleMemberRemove204Response
- type V1OrganizationRoleMemberRemove400JSONResponse
- type V1OrganizationRoleMemberRemove401JSONResponse
- type V1OrganizationRoleMemberRemove403JSONResponse
- type V1OrganizationRoleMemberRemove404JSONResponse
- type V1OrganizationRoleMemberRemove500JSONResponse
- type V1OrganizationRoleMemberRemoveRequestObject
- type V1OrganizationRoleMemberRemoveResponseObject
- type V1OrganizationRoleMembersAdd201JSONResponse
- type V1OrganizationRoleMembersAdd400JSONResponse
- type V1OrganizationRoleMembersAdd401JSONResponse
- type V1OrganizationRoleMembersAdd403JSONResponse
- type V1OrganizationRoleMembersAdd404JSONResponse
- type V1OrganizationRoleMembersAdd500JSONResponse
- type V1OrganizationRoleMembersAddJSONBody
- type V1OrganizationRoleMembersAddJSONRequestBody
- type V1OrganizationRoleMembersAddRequestObject
- type V1OrganizationRoleMembersAddResponseObject
- type V1OrganizationRoleMembersGet200JSONResponse
- type V1OrganizationRoleMembersGet400JSONResponse
- type V1OrganizationRoleMembersGet401JSONResponse
- type V1OrganizationRoleMembersGet403JSONResponse
- type V1OrganizationRoleMembersGet404JSONResponse
- type V1OrganizationRoleMembersGet500JSONResponse
- type V1OrganizationRoleMembersGetRequestObject
- type V1OrganizationRoleMembersGetResponseObject
- type V1OrganizationRoleUpdate200JSONResponse
- type V1OrganizationRoleUpdate400JSONResponse
- type V1OrganizationRoleUpdate401JSONResponse
- type V1OrganizationRoleUpdate403JSONResponse
- type V1OrganizationRoleUpdate404JSONResponse
- type V1OrganizationRoleUpdate500JSONResponse
- type V1OrganizationRoleUpdateJSONBody
- type V1OrganizationRoleUpdateJSONRequestBody
- type V1OrganizationRoleUpdateRequestObject
- type V1OrganizationRoleUpdateResponseObject
- type V1OrganizationRolesCreate201JSONResponse
- type V1OrganizationRolesCreate400JSONResponse
- type V1OrganizationRolesCreate401JSONResponse
- type V1OrganizationRolesCreate403JSONResponse
- type V1OrganizationRolesCreate404JSONResponse
- type V1OrganizationRolesCreate500JSONResponse
- type V1OrganizationRolesCreateJSONBody
- type V1OrganizationRolesCreateJSONRequestBody
- type V1OrganizationRolesCreateRequestObject
- type V1OrganizationRolesCreateResponseObject
- type V1OrganizationRolesGet200JSONResponse
- type V1OrganizationRolesGet400JSONResponse
- type V1OrganizationRolesGet401JSONResponse
- type V1OrganizationRolesGet403JSONResponse
- type V1OrganizationRolesGet404JSONResponse
- type V1OrganizationRolesGet500JSONResponse
- type V1OrganizationRolesGetParams
- type V1OrganizationRolesGetRequestObject
- type V1OrganizationRolesGetResponseObject
- type V1OrganizationUpdate200JSONResponse
- type V1OrganizationUpdate400JSONResponse
- type V1OrganizationUpdate401JSONResponse
- type V1OrganizationUpdate403JSONResponse
- type V1OrganizationUpdate404JSONResponse
- type V1OrganizationUpdate500JSONResponse
- type V1OrganizationUpdateJSONBody
- type V1OrganizationUpdateJSONRequestBody
- type V1OrganizationUpdateRequestObject
- type V1OrganizationUpdateResponseObject
- type V1OrganizationsCreate201JSONResponse
- type V1OrganizationsCreate400JSONResponse
- type V1OrganizationsCreate401JSONResponse
- type V1OrganizationsCreate403JSONResponse
- type V1OrganizationsCreate500JSONResponse
- type V1OrganizationsCreateJSONBody
- type V1OrganizationsCreateJSONRequestBody
- type V1OrganizationsCreateRequestObject
- type V1OrganizationsCreateResponseObject
- type V1OrganizationsGet200JSONResponse
- type V1OrganizationsGet401JSONResponse
- type V1OrganizationsGet403JSONResponse
- type V1OrganizationsGet500JSONResponse
- type V1OrganizationsGetParams
- type V1OrganizationsGetRequestObject
- type V1OrganizationsGetResponseObject
- type V1PermissionDelete204Response
- type V1PermissionDelete400JSONResponse
- type V1PermissionDelete401JSONResponse
- type V1PermissionDelete403JSONResponse
- type V1PermissionDelete404JSONResponse
- type V1PermissionDelete500JSONResponse
- type V1PermissionDeleteRequestObject
- type V1PermissionDeleteResponseObject
- type V1PermissionGet200JSONResponse
- type V1PermissionGet400JSONResponse
- type V1PermissionGet401JSONResponse
- type V1PermissionGet404JSONResponse
- type V1PermissionGet500JSONResponse
- type V1PermissionGetRequestObject
- type V1PermissionGetResponseObject
- type V1PermissionHasRelations200JSONResponse
- type V1PermissionHasRelations400JSONResponse
- type V1PermissionHasRelations401JSONResponse
- type V1PermissionHasRelations404JSONResponse
- type V1PermissionHasRelations500JSONResponse
- type V1PermissionHasRelationsRequestObject
- type V1PermissionHasRelationsResponseObject
- type V1PermissionHasSystemRole200JSONResponse
- type V1PermissionHasSystemRole400JSONResponse
- type V1PermissionHasSystemRole401JSONResponse
- type V1PermissionHasSystemRole500JSONResponse
- type V1PermissionHasSystemRoleParams
- type V1PermissionHasSystemRoleParamsRoles
- type V1PermissionHasSystemRoleRequestObject
- type V1PermissionHasSystemRoleResponseObject
- type V1PermissionResourceGet200JSONResponse
- type V1PermissionResourceGet400JSONResponse
- type V1PermissionResourceGet401JSONResponse
- type V1PermissionResourceGet403JSONResponse
- type V1PermissionResourceGet404JSONResponse
- type V1PermissionResourceGet500JSONResponse
- type V1PermissionResourceGetRequestObject
- type V1PermissionResourceGetResponseObject
- type V1PermissionUpdate200JSONResponse
- type V1PermissionUpdate400JSONResponse
- type V1PermissionUpdate401JSONResponse
- type V1PermissionUpdate403JSONResponse
- type V1PermissionUpdate404JSONResponse
- type V1PermissionUpdate500JSONResponse
- type V1PermissionUpdateJSONBody
- type V1PermissionUpdateJSONRequestBody
- type V1PermissionUpdateRequestObject
- type V1PermissionUpdateResponseObject
- type V1PermissionsCreate201JSONResponse
- type V1PermissionsCreate400JSONResponse
- type V1PermissionsCreate401JSONResponse
- type V1PermissionsCreate403JSONResponse
- type V1PermissionsCreate500JSONResponse
- type V1PermissionsCreateJSONBody
- type V1PermissionsCreateJSONRequestBody
- type V1PermissionsCreateRequestObject
- type V1PermissionsCreateResponseObject
- type V1SystemHealth200JSONResponse
- type V1SystemHealth500JSONResponse
- type V1SystemHealthRequestObject
- type V1SystemHealthResponseObject
- type V1SystemHeartbeat200TextResponse
- type V1SystemHeartbeat500JSONResponse
- type V1SystemHeartbeatRequestObject
- type V1SystemHeartbeatResponseObject
- type V1SystemLicense200JSONResponse
- type V1SystemLicense403JSONResponse
- type V1SystemLicense500JSONResponse
- type V1SystemLicenseRequestObject
- type V1SystemLicenseResponseObject
- type V1SystemVersion200JSONResponse
- type V1SystemVersion500JSONResponse
- type V1SystemVersionRequestObject
- type V1SystemVersionResponseObject
- type V1TodoDelete204Response
- type V1TodoDelete400JSONResponse
- type V1TodoDelete401JSONResponse
- type V1TodoDelete403JSONResponse
- type V1TodoDelete404JSONResponse
- type V1TodoDelete500JSONResponse
- type V1TodoDeleteRequestObject
- type V1TodoDeleteResponseObject
- type V1TodoGet200JSONResponse
- type V1TodoGet400JSONResponse
- type V1TodoGet401JSONResponse
- type V1TodoGet403JSONResponse
- type V1TodoGet404JSONResponse
- type V1TodoGet500JSONResponse
- type V1TodoGetRequestObject
- type V1TodoGetResponseObject
- type V1TodoUpdate200JSONResponse
- type V1TodoUpdate400JSONResponse
- type V1TodoUpdate401JSONResponse
- type V1TodoUpdate403JSONResponse
- type V1TodoUpdate404JSONResponse
- type V1TodoUpdate500JSONResponse
- type V1TodoUpdateJSONBody
- type V1TodoUpdateJSONRequestBody
- type V1TodoUpdateRequestObject
- type V1TodoUpdateResponseObject
- type V1TodosCreate201JSONResponse
- type V1TodosCreate400JSONResponse
- type V1TodosCreate401JSONResponse
- type V1TodosCreate403JSONResponse
- type V1TodosCreate500JSONResponse
- type V1TodosCreateJSONBody
- type V1TodosCreateJSONRequestBody
- type V1TodosCreateRequestObject
- type V1TodosCreateResponseObject
- type V1TodosGet200JSONResponse
- type V1TodosGet401JSONResponse
- type V1TodosGet403JSONResponse
- type V1TodosGet404JSONResponse
- type V1TodosGet500JSONResponse
- type V1TodosGetParams
- type V1TodosGetRequestObject
- type V1TodosGetResponseObject
- type V1UserDelete204Response
- type V1UserDelete400JSONResponse
- type V1UserDelete401JSONResponse
- type V1UserDelete403JSONResponse
- type V1UserDelete404JSONResponse
- type V1UserDelete500JSONResponse
- type V1UserDeleteParams
- type V1UserDeleteRequestObject
- type V1UserDeleteResponseObject
- type V1UserGet200JSONResponse
- type V1UserGet400JSONResponse
- type V1UserGet401JSONResponse
- type V1UserGet403JSONResponse
- type V1UserGet404JSONResponse
- type V1UserGet500JSONResponse
- type V1UserGetRequestObject
- type V1UserGetResponseObject
- type V1UserUpdate200JSONResponse
- type V1UserUpdate400JSONResponse
- type V1UserUpdate401JSONResponse
- type V1UserUpdate403JSONResponse
- type V1UserUpdate404JSONResponse
- type V1UserUpdate500JSONResponse
- type V1UserUpdateJSONBody
- type V1UserUpdateJSONRequestBody
- type V1UserUpdateRequestObject
- type V1UserUpdateResponseObject
- type V1UsersCreate201JSONResponse
- type V1UsersCreate400JSONResponse
- type V1UsersCreate401JSONResponse
- type V1UsersCreate403JSONResponse
- type V1UsersCreate500JSONResponse
- type V1UsersCreateJSONBody
- type V1UsersCreateJSONRequestBody
- type V1UsersCreateRequestObject
- type V1UsersCreateResponseObject
- type V1UsersGet200JSONResponse
- type V1UsersGet401JSONResponse
- type V1UsersGet403JSONResponse
- type V1UsersGet500JSONResponse
- type V1UsersGetParams
- type V1UsersGetRequestObject
- type V1UsersGetResponseObject
Constants ¶
const (
Oauth2Scopes = "oauth2.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func ConvertRequestToMap ¶
ConvertRequestToMap converts a request to a map[string]any and removes all nil values. This is useful for the JSON API, where the client can send optional fields as null. Use this function to convert the request to a map only if the optional fields are Optional[T] types.
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type ChiServerOptions ¶
type ChiServerOptions struct { BaseURL string BaseRouter chi.Router Middlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
type HTTPError ¶
type HTTPError struct { // Message Description of the error. Message string `json:"message"` }
HTTPError HTTP error description.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type Language ¶
type Language string
Language Two-letter ISO language code.
const ( LanguageAa Language = "aa" LanguageAb Language = "ab" LanguageAe Language = "ae" LanguageAf Language = "af" LanguageAk Language = "ak" LanguageAm Language = "am" LanguageAn Language = "an" LanguageAr Language = "ar" LanguageAs Language = "as" LanguageAv Language = "av" LanguageAy Language = "ay" LanguageAz Language = "az" LanguageBa Language = "ba" LanguageBe Language = "be" LanguageBg Language = "bg" LanguageBh Language = "bh" LanguageBi Language = "bi" LanguageBm Language = "bm" LanguageBn Language = "bn" LanguageBo Language = "bo" LanguageBr Language = "br" LanguageBs Language = "bs" LanguageCa Language = "ca" LanguageCe Language = "ce" LanguageCh Language = "ch" LanguageCo Language = "co" LanguageCr Language = "cr" LanguageCs Language = "cs" LanguageCu Language = "cu" LanguageCv Language = "cv" LanguageCy Language = "cy" LanguageDa Language = "da" LanguageDe Language = "de" LanguageDv Language = "dv" LanguageDz Language = "dz" LanguageEe Language = "ee" LanguageEl Language = "el" LanguageEn Language = "en" LanguageEo Language = "eo" LanguageEs Language = "es" LanguageEt Language = "et" LanguageEu Language = "eu" LanguageFa Language = "fa" LanguageFf Language = "ff" LanguageFi Language = "fi" LanguageFj Language = "fj" LanguageFo Language = "fo" LanguageFr Language = "fr" LanguageFy Language = "fy" LanguageGa Language = "ga" LanguageGd Language = "gd" LanguageGl Language = "gl" LanguageGn Language = "gn" LanguageGu Language = "gu" LanguageGv Language = "gv" LanguageHa Language = "ha" LanguageHe Language = "he" LanguageHi Language = "hi" LanguageHo Language = "ho" LanguageHr Language = "hr" LanguageHt Language = "ht" LanguageHu Language = "hu" LanguageHy Language = "hy" LanguageHz Language = "hz" LanguageIa Language = "ia" LanguageId Language = "id" LanguageIe Language = "ie" LanguageIg Language = "ig" LanguageIi Language = "ii" LanguageIk Language = "ik" LanguageIo Language = "io" LanguageIs Language = "is" LanguageIt Language = "it" LanguageIu Language = "iu" LanguageJa Language = "ja" LanguageJv Language = "jv" LanguageKa Language = "ka" LanguageKg Language = "kg" LanguageKi Language = "ki" LanguageKj Language = "kj" LanguageKk Language = "kk" LanguageKl Language = "kl" LanguageKm Language = "km" LanguageKn Language = "kn" LanguageKo Language = "ko" LanguageKr Language = "kr" LanguageKs Language = "ks" LanguageKu Language = "ku" LanguageKv Language = "kv" LanguageKw Language = "kw" LanguageKy Language = "ky" LanguageLa Language = "la" LanguageLb Language = "lb" LanguageLg Language = "lg" LanguageLi Language = "li" LanguageLn Language = "ln" LanguageLo Language = "lo" LanguageLt Language = "lt" LanguageLu Language = "lu" LanguageLv Language = "lv" LanguageMg Language = "mg" LanguageMh Language = "mh" LanguageMi Language = "mi" LanguageMk Language = "mk" LanguageMl Language = "ml" LanguageMn Language = "mn" LanguageMr Language = "mr" LanguageMs Language = "ms" LanguageMt Language = "mt" LanguageMy Language = "my" LanguageNa Language = "na" LanguageNb Language = "nb" LanguageNd Language = "nd" LanguageNe Language = "ne" LanguageNg Language = "ng" LanguageNl Language = "nl" LanguageNn Language = "nn" LanguageNo Language = "no" LanguageNr Language = "nr" LanguageNv Language = "nv" LanguageNy Language = "ny" LanguageOc Language = "oc" LanguageOj Language = "oj" LanguageOm Language = "om" LanguageOr Language = "or" LanguageOs Language = "os" LanguagePa Language = "pa" LanguagePi Language = "pi" LanguagePl Language = "pl" LanguagePs Language = "ps" LanguagePt Language = "pt" LanguageQu Language = "qu" LanguageRm Language = "rm" LanguageRn Language = "rn" LanguageRo Language = "ro" LanguageRu Language = "ru" LanguageRw Language = "rw" LanguageSa Language = "sa" LanguageSc Language = "sc" LanguageSd Language = "sd" LanguageSe Language = "se" LanguageSg Language = "sg" LanguageSi Language = "si" LanguageSk Language = "sk" LanguageSl Language = "sl" LanguageSm Language = "sm" LanguageSn Language = "sn" LanguageSo Language = "so" LanguageSq Language = "sq" LanguageSr Language = "sr" LanguageSs Language = "ss" LanguageSt Language = "st" LanguageSu Language = "su" LanguageSv Language = "sv" LanguageSw Language = "sw" LanguageTa Language = "ta" LanguageTe Language = "te" LanguageTg Language = "tg" LanguageTh Language = "th" LanguageTi Language = "ti" LanguageTk Language = "tk" LanguageTl Language = "tl" LanguageTn Language = "tn" LanguageTo Language = "to" LanguageTr Language = "tr" LanguageTs Language = "ts" LanguageTt Language = "tt" LanguageTw Language = "tw" LanguageTy Language = "ty" LanguageUg Language = "ug" LanguageUk Language = "uk" LanguageUr Language = "ur" LanguageUz Language = "uz" LanguageVe Language = "ve" LanguageVi Language = "vi" LanguageVo Language = "vo" LanguageWa Language = "wa" LanguageWo Language = "wo" LanguageXh Language = "xh" LanguageYi Language = "yi" LanguageYo Language = "yo" LanguageZa Language = "za" LanguageZh Language = "zh" LanguageZu Language = "zu" )
Defines values for Language.
type N201 ¶
type N201 struct { // Id ID of the newly created resource. Id string `json:"id"` }
N201 defines model for 201.
type N201JSONResponse ¶
type N201JSONResponse struct { // Id ID of the newly created resource. Id string `json:"id"` }
type N400JSONResponse ¶
type N400JSONResponse HTTPError
type N401JSONResponse ¶
type N401JSONResponse HTTPError
type N403JSONResponse ¶
type N403JSONResponse HTTPError
type N404JSONResponse ¶
type N404JSONResponse HTTPError
type N500JSONResponse ¶
type N500JSONResponse HTTPError
type Notification ¶
type Notification struct { // CreatedAt Date when the todo item was created. CreatedAt time.Time `json:"created_at"` // Description Description of the in-app notification. Description string `json:"description"` // Id Unique identifier of the in-app notification. Id string `json:"id"` // Read Whether the notification was read by the user. Read bool `json:"read"` // Recipient ID of the user who got notified. Recipient string `json:"recipient"` // Title Title of the in-app notification. Title string `json:"title"` // UpdatedAt Date when the in-app notification was updated. UpdatedAt *time.Time `json:"updated_at"` }
Notification An in-app notification sent to the user.
type NotificationPatch ¶
type NotificationPatch struct { // Read Whether the notification was read by the user. Read bool `json:"read"` }
NotificationPatch defines model for NotificationPatch.
type Optional ¶
Optional is a wrapper type for optional fields in the JSON API.
func (Optional[T]) MarshalJSON ¶
MarshalJSON is implemented by deferring to the wrapped type (T).
func (*Optional[T]) UnmarshalJSON ¶
UnmarshalJSON is implemented by deferring to the wrapped type (T). It will be called only if the value is defined in the JSON payload.
type Organization ¶
type Organization struct { // CreatedAt Date when the organization was created. CreatedAt time.Time `json:"created_at"` // Email Email address of the organization. Email openapi_types.Email `json:"email"` // Id Unique identifier of the organization. Id string `json:"id"` // Logo Logo of the organization. Logo *string `json:"logo"` // Members IDs of the users in the organization. Members []string `json:"members"` // Name Name of the organization. Name string `json:"name"` // Namespaces IDs of the namespaces in the organization. Namespaces []string `json:"namespaces"` // Status Status of the organization. Status OrganizationStatus `json:"status"` // Teams IDs of the teams in the organization. Teams []string `json:"teams"` // UpdatedAt Date when the organization was updated. UpdatedAt *time.Time `json:"updated_at"` // Website Work title of the user. Website *string `json:"website"` }
Organization An organization in the system.
type OrganizationCreate ¶
type OrganizationCreate struct { // Email Email address of the organization. Email openapi_types.Email `json:"email"` // Logo Logo of the organization. Logo *string `json:"logo,omitempty"` // Name Name of the organization. Name string `json:"name"` // Website Work title of the user. Website *string `json:"website,omitempty"` }
OrganizationCreate defines model for OrganizationCreate.
type OrganizationPatch ¶
type OrganizationPatch struct { // Email Email address of the organization. Email *openapi_types.Email `json:"email,omitempty"` // Logo Logo of the organization. Logo *string `json:"logo,omitempty"` // Name Name of the organization. Name *string `json:"name,omitempty"` // Status Status of the organization. Status *OrganizationStatus `json:"status,omitempty"` // Website Work title of the user. Website *string `json:"website,omitempty"` }
OrganizationPatch defines model for OrganizationPatch.
type OrganizationStatus ¶
type OrganizationStatus string
OrganizationStatus Status of the organization.
const ( OrganizationStatusActive OrganizationStatus = "active" OrganizationStatusDeleted OrganizationStatus = "deleted" )
Defines values for OrganizationStatus.
type Permission ¶
type Permission struct { // CreatedAt Date when the user was created. CreatedAt time.Time `json:"created_at"` // Id Unique identifier of the user. Id string `json:"id"` // Kind Kind of a permission. Kind PermissionKind `json:"kind"` Subject string `json:"subject"` Target string `json:"target"` // UpdatedAt Date when the user was updated. UpdatedAt *time.Time `json:"updated_at"` }
Permission A permission in the system.
type PermissionCreate ¶
type PermissionCreate struct { // Kind Kind of a permission. Kind PermissionKind `json:"kind"` Subject struct { Id string `json:"id"` ResourceType ResourceType `json:"resourceType"` } `json:"subject"` Target struct { Id string `json:"id"` ResourceType ResourceType `json:"resourceType"` } `json:"target"` }
PermissionCreate defines model for PermissionCreate.
type PermissionKind ¶
type PermissionKind string
PermissionKind Kind of a permission.
const ( PermissionKindAsterisk PermissionKind = "*" PermissionKindCreate PermissionKind = "create" PermissionKindDelete PermissionKind = "delete" PermissionKindRead PermissionKind = "read" PermissionKindWrite PermissionKind = "write" )
Defines values for PermissionKind.
type PermissionPatch ¶
type PermissionPatch struct { // Kind Kind of a permission. Kind PermissionKind `json:"kind"` }
PermissionPatch defines model for PermissionPatch.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ResourceType ¶
type ResourceType string
ResourceType defines model for ResourceType.
const ( ResourceTypeAssignment ResourceType = "Assignment" ResourceTypeAttachment ResourceType = "Attachment" ResourceTypeComment ResourceType = "Comment" ResourceTypeDocument ResourceType = "Document" ResourceTypeIssue ResourceType = "Issue" ResourceTypeIssueRelation ResourceType = "IssueRelation" ResourceTypeLabel ResourceType = "Label" ResourceTypeNamespace ResourceType = "Namespace" ResourceTypeOrganization ResourceType = "Organization" ResourceTypePermission ResourceType = "Permission" ResourceTypeProject ResourceType = "Project" ResourceTypeResourceType ResourceType = "ResourceType" ResourceTypeRole ResourceType = "Role" ResourceTypeTodo ResourceType = "Todo" ResourceTypeUser ResourceType = "User" )
Defines values for ResourceType.
type Role ¶
type Role struct { // CreatedAt Date when the organization was created. CreatedAt time.Time `json:"created_at"` // Description Description of the role. Description *string `json:"description"` // Id Unique identifier of the role. Id string `json:"id"` // Members IDs of the users assigned to the role. Members []string `json:"members"` // Name Name of the role. Name string `json:"name"` // Permissions IDs of the permissions assigned to the role. Permissions []string `json:"permissions"` // UpdatedAt Date when the organization was updated. UpdatedAt *time.Time `json:"updated_at"` }
Role A role in the system.
type RoleCreate ¶
type RoleCreate struct { // Description Description of the role. Description *string `json:"description,omitempty"` // Name Name of the role. Name string `json:"name"` }
RoleCreate defines model for RoleCreate.
type RolePatch ¶
type RolePatch struct { // Description Description of the role. Description *string `json:"description,omitempty"` // Name Name of the role. Name *string `json:"name,omitempty"` }
RolePatch defines model for RolePatch.
type ServerInterface ¶
type ServerInterface interface { // Get all in-app notification of the requesting user. // (GET /v1/notifications) V1NotificationsGet(w http.ResponseWriter, r *http.Request, params V1NotificationsGetParams) // Delete the notification with the given ID. // (DELETE /v1/notifications/{id}) V1NotificationDelete(w http.ResponseWriter, r *http.Request, id Id) // Get an in-app notification // (GET /v1/notifications/{id}) V1NotificationGet(w http.ResponseWriter, r *http.Request, id Id) // Update an in-app notification // (PATCH /v1/notifications/{id}) V1NotificationUpdate(w http.ResponseWriter, r *http.Request, id Id) // Get organizations // (GET /v1/organizations) V1OrganizationsGet(w http.ResponseWriter, r *http.Request, params V1OrganizationsGetParams) // Create organization // (POST /v1/organizations) V1OrganizationsCreate(w http.ResponseWriter, r *http.Request) // Get organization roles // (GET /v1/organizations/${id}/roles) V1OrganizationRolesGet(w http.ResponseWriter, r *http.Request, id Id, params V1OrganizationRolesGetParams) // Create a new role in the organization // (POST /v1/organizations/${id}/roles) V1OrganizationRolesCreate(w http.ResponseWriter, r *http.Request, id Id) // Delete organization role // (DELETE /v1/organizations/${id}/roles/{role_id}) V1OrganizationRoleDelete(w http.ResponseWriter, r *http.Request, id Id, roleId string) // Get organization role // (GET /v1/organizations/${id}/roles/{role_id}) V1OrganizationRoleGet(w http.ResponseWriter, r *http.Request, id Id, roleId string) // Update organization role // (PATCH /v1/organizations/${id}/roles/{role_id}) V1OrganizationRoleUpdate(w http.ResponseWriter, r *http.Request, id Id, roleId string) // Delete organization // (DELETE /v1/organizations/{id}) V1OrganizationDelete(w http.ResponseWriter, r *http.Request, id Id, params V1OrganizationDeleteParams) // Get organization // (GET /v1/organizations/{id}) V1OrganizationGet(w http.ResponseWriter, r *http.Request, id Id) // Update organization // (PATCH /v1/organizations/{id}) V1OrganizationUpdate(w http.ResponseWriter, r *http.Request, id Id) // Get organization members // (GET /v1/organizations/{id}/members) V1OrganizationMembersGet(w http.ResponseWriter, r *http.Request, id Id) // Add organization member // (POST /v1/organizations/{id}/members) V1OrganizationMembersAdd(w http.ResponseWriter, r *http.Request, id Id) // Remove organization member // (DELETE /v1/organizations/{id}/members/{user_id}) V1OrganizationMemberRemove(w http.ResponseWriter, r *http.Request, id Id, userId string) // Get organization role members // (GET /v1/organizations/{id}/roles/{role_id}/members) V1OrganizationRoleMembersGet(w http.ResponseWriter, r *http.Request, id Id, roleId string) // Add organization role member // (POST /v1/organizations/{id}/roles/{role_id}/members) V1OrganizationRoleMembersAdd(w http.ResponseWriter, r *http.Request, id Id, roleId string) // Remove organization role member // (DELETE /v1/organizations/{id}/roles/{role_id}/members/{user_id}) V1OrganizationRoleMemberRemove(w http.ResponseWriter, r *http.Request, id Id, roleId string, userId string) // Create permission // (POST /v1/permissions) V1PermissionsCreate(w http.ResponseWriter, r *http.Request) // Check relations to resource // (GET /v1/permissions/has-relations/{resourceId}) V1PermissionHasRelations(w http.ResponseWriter, r *http.Request, resourceId ResourceId) // Check system role assignment // (GET /v1/permissions/has-system-role) V1PermissionHasSystemRole(w http.ResponseWriter, r *http.Request, params V1PermissionHasSystemRoleParams) // Get permissions for a resource // (GET /v1/permissions/resources/{resourceId}) V1PermissionResourceGet(w http.ResponseWriter, r *http.Request, resourceId ResourceId) // Delete permission // (DELETE /v1/permissions/{id}) V1PermissionDelete(w http.ResponseWriter, r *http.Request, id Id) // Get permission // (GET /v1/permissions/{id}) V1PermissionGet(w http.ResponseWriter, r *http.Request, id Id) // Update permission // (PATCH /v1/permissions/{id}) V1PermissionUpdate(w http.ResponseWriter, r *http.Request, id Id) // Get system health // (GET /v1/system/health) V1SystemHealth(w http.ResponseWriter, r *http.Request) // Get heartbeat // (GET /v1/system/heartbeat) V1SystemHeartbeat(w http.ResponseWriter, r *http.Request) // Get license info // (GET /v1/system/license) V1SystemLicense(w http.ResponseWriter, r *http.Request) // Get system version // (GET /v1/system/version) V1SystemVersion(w http.ResponseWriter, r *http.Request) // Get todo item // (GET /v1/todos) V1TodosGet(w http.ResponseWriter, r *http.Request, params V1TodosGetParams) // Create todo item // (POST /v1/todos) V1TodosCreate(w http.ResponseWriter, r *http.Request) // Delete todo item // (DELETE /v1/todos/{id}) V1TodoDelete(w http.ResponseWriter, r *http.Request, id Id) // Get todo item // (GET /v1/todos/{id}) V1TodoGet(w http.ResponseWriter, r *http.Request, id Id) // Update todo // (PATCH /v1/todos/{id}) V1TodoUpdate(w http.ResponseWriter, r *http.Request, id Id) // Get all users // (GET /v1/users) V1UsersGet(w http.ResponseWriter, r *http.Request, params V1UsersGetParams) // Create new user // (POST /v1/users) V1UsersCreate(w http.ResponseWriter, r *http.Request) // Delete the user with the given ID. // (DELETE /v1/users/{id}) V1UserDelete(w http.ResponseWriter, r *http.Request, id Id, params V1UserDeleteParams) // Get user // (GET /v1/users/{id}) V1UserGet(w http.ResponseWriter, r *http.Request, id Id) // Update user // (PATCH /v1/users/{id}) V1UserUpdate(w http.ResponseWriter, r *http.Request, id Id) }
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct { Handler ServerInterface HandlerMiddlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) V1NotificationDelete ¶
func (siw *ServerInterfaceWrapper) V1NotificationDelete(w http.ResponseWriter, r *http.Request)
V1NotificationDelete operation middleware
func (*ServerInterfaceWrapper) V1NotificationGet ¶
func (siw *ServerInterfaceWrapper) V1NotificationGet(w http.ResponseWriter, r *http.Request)
V1NotificationGet operation middleware
func (*ServerInterfaceWrapper) V1NotificationUpdate ¶
func (siw *ServerInterfaceWrapper) V1NotificationUpdate(w http.ResponseWriter, r *http.Request)
V1NotificationUpdate operation middleware
func (*ServerInterfaceWrapper) V1NotificationsGet ¶
func (siw *ServerInterfaceWrapper) V1NotificationsGet(w http.ResponseWriter, r *http.Request)
V1NotificationsGet operation middleware
func (*ServerInterfaceWrapper) V1OrganizationDelete ¶
func (siw *ServerInterfaceWrapper) V1OrganizationDelete(w http.ResponseWriter, r *http.Request)
V1OrganizationDelete operation middleware
func (*ServerInterfaceWrapper) V1OrganizationGet ¶
func (siw *ServerInterfaceWrapper) V1OrganizationGet(w http.ResponseWriter, r *http.Request)
V1OrganizationGet operation middleware
func (*ServerInterfaceWrapper) V1OrganizationMemberRemove ¶
func (siw *ServerInterfaceWrapper) V1OrganizationMemberRemove(w http.ResponseWriter, r *http.Request)
V1OrganizationMemberRemove operation middleware
func (*ServerInterfaceWrapper) V1OrganizationMembersAdd ¶
func (siw *ServerInterfaceWrapper) V1OrganizationMembersAdd(w http.ResponseWriter, r *http.Request)
V1OrganizationMembersAdd operation middleware
func (*ServerInterfaceWrapper) V1OrganizationMembersGet ¶
func (siw *ServerInterfaceWrapper) V1OrganizationMembersGet(w http.ResponseWriter, r *http.Request)
V1OrganizationMembersGet operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRoleDelete ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRoleDelete(w http.ResponseWriter, r *http.Request)
V1OrganizationRoleDelete operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRoleGet ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRoleGet(w http.ResponseWriter, r *http.Request)
V1OrganizationRoleGet operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRoleMemberRemove ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRoleMemberRemove(w http.ResponseWriter, r *http.Request)
V1OrganizationRoleMemberRemove operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRoleMembersAdd ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRoleMembersAdd(w http.ResponseWriter, r *http.Request)
V1OrganizationRoleMembersAdd operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRoleMembersGet ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRoleMembersGet(w http.ResponseWriter, r *http.Request)
V1OrganizationRoleMembersGet operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRoleUpdate ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRoleUpdate(w http.ResponseWriter, r *http.Request)
V1OrganizationRoleUpdate operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRolesCreate ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRolesCreate(w http.ResponseWriter, r *http.Request)
V1OrganizationRolesCreate operation middleware
func (*ServerInterfaceWrapper) V1OrganizationRolesGet ¶
func (siw *ServerInterfaceWrapper) V1OrganizationRolesGet(w http.ResponseWriter, r *http.Request)
V1OrganizationRolesGet operation middleware
func (*ServerInterfaceWrapper) V1OrganizationUpdate ¶
func (siw *ServerInterfaceWrapper) V1OrganizationUpdate(w http.ResponseWriter, r *http.Request)
V1OrganizationUpdate operation middleware
func (*ServerInterfaceWrapper) V1OrganizationsCreate ¶
func (siw *ServerInterfaceWrapper) V1OrganizationsCreate(w http.ResponseWriter, r *http.Request)
V1OrganizationsCreate operation middleware
func (*ServerInterfaceWrapper) V1OrganizationsGet ¶
func (siw *ServerInterfaceWrapper) V1OrganizationsGet(w http.ResponseWriter, r *http.Request)
V1OrganizationsGet operation middleware
func (*ServerInterfaceWrapper) V1PermissionDelete ¶
func (siw *ServerInterfaceWrapper) V1PermissionDelete(w http.ResponseWriter, r *http.Request)
V1PermissionDelete operation middleware
func (*ServerInterfaceWrapper) V1PermissionGet ¶
func (siw *ServerInterfaceWrapper) V1PermissionGet(w http.ResponseWriter, r *http.Request)
V1PermissionGet operation middleware
func (*ServerInterfaceWrapper) V1PermissionHasRelations ¶
func (siw *ServerInterfaceWrapper) V1PermissionHasRelations(w http.ResponseWriter, r *http.Request)
V1PermissionHasRelations operation middleware
func (*ServerInterfaceWrapper) V1PermissionHasSystemRole ¶
func (siw *ServerInterfaceWrapper) V1PermissionHasSystemRole(w http.ResponseWriter, r *http.Request)
V1PermissionHasSystemRole operation middleware
func (*ServerInterfaceWrapper) V1PermissionResourceGet ¶
func (siw *ServerInterfaceWrapper) V1PermissionResourceGet(w http.ResponseWriter, r *http.Request)
V1PermissionResourceGet operation middleware
func (*ServerInterfaceWrapper) V1PermissionUpdate ¶
func (siw *ServerInterfaceWrapper) V1PermissionUpdate(w http.ResponseWriter, r *http.Request)
V1PermissionUpdate operation middleware
func (*ServerInterfaceWrapper) V1PermissionsCreate ¶
func (siw *ServerInterfaceWrapper) V1PermissionsCreate(w http.ResponseWriter, r *http.Request)
V1PermissionsCreate operation middleware
func (*ServerInterfaceWrapper) V1SystemHealth ¶
func (siw *ServerInterfaceWrapper) V1SystemHealth(w http.ResponseWriter, r *http.Request)
V1SystemHealth operation middleware
func (*ServerInterfaceWrapper) V1SystemHeartbeat ¶
func (siw *ServerInterfaceWrapper) V1SystemHeartbeat(w http.ResponseWriter, r *http.Request)
V1SystemHeartbeat operation middleware
func (*ServerInterfaceWrapper) V1SystemLicense ¶
func (siw *ServerInterfaceWrapper) V1SystemLicense(w http.ResponseWriter, r *http.Request)
V1SystemLicense operation middleware
func (*ServerInterfaceWrapper) V1SystemVersion ¶
func (siw *ServerInterfaceWrapper) V1SystemVersion(w http.ResponseWriter, r *http.Request)
V1SystemVersion operation middleware
func (*ServerInterfaceWrapper) V1TodoDelete ¶
func (siw *ServerInterfaceWrapper) V1TodoDelete(w http.ResponseWriter, r *http.Request)
V1TodoDelete operation middleware
func (*ServerInterfaceWrapper) V1TodoGet ¶
func (siw *ServerInterfaceWrapper) V1TodoGet(w http.ResponseWriter, r *http.Request)
V1TodoGet operation middleware
func (*ServerInterfaceWrapper) V1TodoUpdate ¶
func (siw *ServerInterfaceWrapper) V1TodoUpdate(w http.ResponseWriter, r *http.Request)
V1TodoUpdate operation middleware
func (*ServerInterfaceWrapper) V1TodosCreate ¶
func (siw *ServerInterfaceWrapper) V1TodosCreate(w http.ResponseWriter, r *http.Request)
V1TodosCreate operation middleware
func (*ServerInterfaceWrapper) V1TodosGet ¶
func (siw *ServerInterfaceWrapper) V1TodosGet(w http.ResponseWriter, r *http.Request)
V1TodosGet operation middleware
func (*ServerInterfaceWrapper) V1UserDelete ¶
func (siw *ServerInterfaceWrapper) V1UserDelete(w http.ResponseWriter, r *http.Request)
V1UserDelete operation middleware
func (*ServerInterfaceWrapper) V1UserGet ¶
func (siw *ServerInterfaceWrapper) V1UserGet(w http.ResponseWriter, r *http.Request)
V1UserGet operation middleware
func (*ServerInterfaceWrapper) V1UserUpdate ¶
func (siw *ServerInterfaceWrapper) V1UserUpdate(w http.ResponseWriter, r *http.Request)
V1UserUpdate operation middleware
func (*ServerInterfaceWrapper) V1UsersCreate ¶
func (siw *ServerInterfaceWrapper) V1UsersCreate(w http.ResponseWriter, r *http.Request)
V1UsersCreate operation middleware
func (*ServerInterfaceWrapper) V1UsersGet ¶
func (siw *ServerInterfaceWrapper) V1UsersGet(w http.ResponseWriter, r *http.Request)
V1UsersGet operation middleware
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct { RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHttpHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHttpMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface { // Get all in-app notification of the requesting user. // (GET /v1/notifications) V1NotificationsGet(ctx context.Context, request V1NotificationsGetRequestObject) (V1NotificationsGetResponseObject, error) // Delete the notification with the given ID. // (DELETE /v1/notifications/{id}) V1NotificationDelete(ctx context.Context, request V1NotificationDeleteRequestObject) (V1NotificationDeleteResponseObject, error) // Get an in-app notification // (GET /v1/notifications/{id}) V1NotificationGet(ctx context.Context, request V1NotificationGetRequestObject) (V1NotificationGetResponseObject, error) // Update an in-app notification // (PATCH /v1/notifications/{id}) V1NotificationUpdate(ctx context.Context, request V1NotificationUpdateRequestObject) (V1NotificationUpdateResponseObject, error) // Get organizations // (GET /v1/organizations) V1OrganizationsGet(ctx context.Context, request V1OrganizationsGetRequestObject) (V1OrganizationsGetResponseObject, error) // Create organization // (POST /v1/organizations) V1OrganizationsCreate(ctx context.Context, request V1OrganizationsCreateRequestObject) (V1OrganizationsCreateResponseObject, error) // Get organization roles // (GET /v1/organizations/${id}/roles) V1OrganizationRolesGet(ctx context.Context, request V1OrganizationRolesGetRequestObject) (V1OrganizationRolesGetResponseObject, error) // Create a new role in the organization // (POST /v1/organizations/${id}/roles) V1OrganizationRolesCreate(ctx context.Context, request V1OrganizationRolesCreateRequestObject) (V1OrganizationRolesCreateResponseObject, error) // Delete organization role // (DELETE /v1/organizations/${id}/roles/{role_id}) V1OrganizationRoleDelete(ctx context.Context, request V1OrganizationRoleDeleteRequestObject) (V1OrganizationRoleDeleteResponseObject, error) // Get organization role // (GET /v1/organizations/${id}/roles/{role_id}) V1OrganizationRoleGet(ctx context.Context, request V1OrganizationRoleGetRequestObject) (V1OrganizationRoleGetResponseObject, error) // Update organization role // (PATCH /v1/organizations/${id}/roles/{role_id}) V1OrganizationRoleUpdate(ctx context.Context, request V1OrganizationRoleUpdateRequestObject) (V1OrganizationRoleUpdateResponseObject, error) // Delete organization // (DELETE /v1/organizations/{id}) V1OrganizationDelete(ctx context.Context, request V1OrganizationDeleteRequestObject) (V1OrganizationDeleteResponseObject, error) // Get organization // (GET /v1/organizations/{id}) V1OrganizationGet(ctx context.Context, request V1OrganizationGetRequestObject) (V1OrganizationGetResponseObject, error) // Update organization // (PATCH /v1/organizations/{id}) V1OrganizationUpdate(ctx context.Context, request V1OrganizationUpdateRequestObject) (V1OrganizationUpdateResponseObject, error) // Get organization members // (GET /v1/organizations/{id}/members) V1OrganizationMembersGet(ctx context.Context, request V1OrganizationMembersGetRequestObject) (V1OrganizationMembersGetResponseObject, error) // Add organization member // (POST /v1/organizations/{id}/members) V1OrganizationMembersAdd(ctx context.Context, request V1OrganizationMembersAddRequestObject) (V1OrganizationMembersAddResponseObject, error) // Remove organization member // (DELETE /v1/organizations/{id}/members/{user_id}) V1OrganizationMemberRemove(ctx context.Context, request V1OrganizationMemberRemoveRequestObject) (V1OrganizationMemberRemoveResponseObject, error) // Get organization role members // (GET /v1/organizations/{id}/roles/{role_id}/members) V1OrganizationRoleMembersGet(ctx context.Context, request V1OrganizationRoleMembersGetRequestObject) (V1OrganizationRoleMembersGetResponseObject, error) // Add organization role member // (POST /v1/organizations/{id}/roles/{role_id}/members) V1OrganizationRoleMembersAdd(ctx context.Context, request V1OrganizationRoleMembersAddRequestObject) (V1OrganizationRoleMembersAddResponseObject, error) // Remove organization role member // (DELETE /v1/organizations/{id}/roles/{role_id}/members/{user_id}) V1OrganizationRoleMemberRemove(ctx context.Context, request V1OrganizationRoleMemberRemoveRequestObject) (V1OrganizationRoleMemberRemoveResponseObject, error) // Create permission // (POST /v1/permissions) V1PermissionsCreate(ctx context.Context, request V1PermissionsCreateRequestObject) (V1PermissionsCreateResponseObject, error) // Check relations to resource // (GET /v1/permissions/has-relations/{resourceId}) V1PermissionHasRelations(ctx context.Context, request V1PermissionHasRelationsRequestObject) (V1PermissionHasRelationsResponseObject, error) // Check system role assignment // (GET /v1/permissions/has-system-role) V1PermissionHasSystemRole(ctx context.Context, request V1PermissionHasSystemRoleRequestObject) (V1PermissionHasSystemRoleResponseObject, error) // Get permissions for a resource // (GET /v1/permissions/resources/{resourceId}) V1PermissionResourceGet(ctx context.Context, request V1PermissionResourceGetRequestObject) (V1PermissionResourceGetResponseObject, error) // Delete permission // (DELETE /v1/permissions/{id}) V1PermissionDelete(ctx context.Context, request V1PermissionDeleteRequestObject) (V1PermissionDeleteResponseObject, error) // Get permission // (GET /v1/permissions/{id}) V1PermissionGet(ctx context.Context, request V1PermissionGetRequestObject) (V1PermissionGetResponseObject, error) // Update permission // (PATCH /v1/permissions/{id}) V1PermissionUpdate(ctx context.Context, request V1PermissionUpdateRequestObject) (V1PermissionUpdateResponseObject, error) // Get system health // (GET /v1/system/health) V1SystemHealth(ctx context.Context, request V1SystemHealthRequestObject) (V1SystemHealthResponseObject, error) // Get heartbeat // (GET /v1/system/heartbeat) V1SystemHeartbeat(ctx context.Context, request V1SystemHeartbeatRequestObject) (V1SystemHeartbeatResponseObject, error) // Get license info // (GET /v1/system/license) V1SystemLicense(ctx context.Context, request V1SystemLicenseRequestObject) (V1SystemLicenseResponseObject, error) // Get system version // (GET /v1/system/version) V1SystemVersion(ctx context.Context, request V1SystemVersionRequestObject) (V1SystemVersionResponseObject, error) // Get todo item // (GET /v1/todos) V1TodosGet(ctx context.Context, request V1TodosGetRequestObject) (V1TodosGetResponseObject, error) // Create todo item // (POST /v1/todos) V1TodosCreate(ctx context.Context, request V1TodosCreateRequestObject) (V1TodosCreateResponseObject, error) // Delete todo item // (DELETE /v1/todos/{id}) V1TodoDelete(ctx context.Context, request V1TodoDeleteRequestObject) (V1TodoDeleteResponseObject, error) // Get todo item // (GET /v1/todos/{id}) V1TodoGet(ctx context.Context, request V1TodoGetRequestObject) (V1TodoGetResponseObject, error) // Update todo // (PATCH /v1/todos/{id}) V1TodoUpdate(ctx context.Context, request V1TodoUpdateRequestObject) (V1TodoUpdateResponseObject, error) // Get all users // (GET /v1/users) V1UsersGet(ctx context.Context, request V1UsersGetRequestObject) (V1UsersGetResponseObject, error) // Create new user // (POST /v1/users) V1UsersCreate(ctx context.Context, request V1UsersCreateRequestObject) (V1UsersCreateResponseObject, error) // Delete the user with the given ID. // (DELETE /v1/users/{id}) V1UserDelete(ctx context.Context, request V1UserDeleteRequestObject) (V1UserDeleteResponseObject, error) // Get user // (GET /v1/users/{id}) V1UserGet(ctx context.Context, request V1UserGetRequestObject) (V1UserGetResponseObject, error) // Update user // (PATCH /v1/users/{id}) V1UserUpdate(ctx context.Context, request V1UserUpdateRequestObject) (V1UserUpdateResponseObject, error) }
StrictServerInterface represents all server handlers.
type SystemHealth ¶
type SystemHealth struct { // CacheDatabase Health of the cache database. CacheDatabase SystemHealthCacheDatabase `json:"cache_database"` // GraphDatabase Health of the graph database. GraphDatabase SystemHealthGraphDatabase `json:"graph_database"` // License Health of the license. License SystemHealthLicense `json:"license"` // MessageQueue Health of the message queue. MessageQueue SystemHealthMessageQueue `json:"message_queue"` // RelationalDatabase Health of the relational database. RelationalDatabase SystemHealthRelationalDatabase `json:"relational_database"` }
SystemHealth defines model for SystemHealth.
type SystemHealthCacheDatabase ¶
type SystemHealthCacheDatabase string
SystemHealthCacheDatabase Health of the cache database.
const ( SystemHealthCacheDatabaseHealthy SystemHealthCacheDatabase = "healthy" SystemHealthCacheDatabaseUnhealthy SystemHealthCacheDatabase = "unhealthy" SystemHealthCacheDatabaseUnknown SystemHealthCacheDatabase = "unknown" )
Defines values for SystemHealthCacheDatabase.
type SystemHealthGraphDatabase ¶
type SystemHealthGraphDatabase string
SystemHealthGraphDatabase Health of the graph database.
const ( SystemHealthGraphDatabaseHealthy SystemHealthGraphDatabase = "healthy" SystemHealthGraphDatabaseUnhealthy SystemHealthGraphDatabase = "unhealthy" SystemHealthGraphDatabaseUnknown SystemHealthGraphDatabase = "unknown" )
Defines values for SystemHealthGraphDatabase.
type SystemHealthLicense ¶
type SystemHealthLicense string
SystemHealthLicense Health of the license.
const ( SystemHealthLicenseHealthy SystemHealthLicense = "healthy" SystemHealthLicenseUnhealthy SystemHealthLicense = "unhealthy" SystemHealthLicenseUnknown SystemHealthLicense = "unknown" )
Defines values for SystemHealthLicense.
type SystemHealthMessageQueue ¶
type SystemHealthMessageQueue string
SystemHealthMessageQueue Health of the message queue.
const ( SystemHealthMessageQueueHealthy SystemHealthMessageQueue = "healthy" SystemHealthMessageQueueUnhealthy SystemHealthMessageQueue = "unhealthy" SystemHealthMessageQueueUnknown SystemHealthMessageQueue = "unknown" )
Defines values for SystemHealthMessageQueue.
type SystemHealthRelationalDatabase ¶
type SystemHealthRelationalDatabase string
SystemHealthRelationalDatabase Health of the relational database.
const ( SystemHealthRelationalDatabaseHealthy SystemHealthRelationalDatabase = "healthy" SystemHealthRelationalDatabaseUnhealthy SystemHealthRelationalDatabase = "unhealthy" SystemHealthRelationalDatabaseUnknown SystemHealthRelationalDatabase = "unknown" )
Defines values for SystemHealthRelationalDatabase.
type SystemLicense ¶
type SystemLicense struct { // Email Email address of the licensee. Email openapi_types.Email `json:"email"` // ExpiresAt Date and time when the license expires. ExpiresAt time.Time `json:"expires_at"` // Features Features enabled by the license. Features []SystemLicenseFeatures `json:"features"` // Id Unique ID identifying the license. Id string `json:"id"` // Organization Name of the organization the license belongs to. Organization string `json:"organization"` // Quotas Quotas available for the license. Quotas struct { // Documents Number of documents can exist in the system. Documents int `json:"documents"` // Namespaces Number of namespaces can exist in the system. Namespaces int `json:"namespaces"` // Organizations Number of organizations active can exist in the system. Organizations int `json:"organizations"` // Projects Number of projects can exist in the system. Projects int `json:"projects"` // Roles Number of roles can exist in the system. Roles int `json:"roles"` // Users Number of active or pending users can exist in the system. Users int `json:"users"` } `json:"quotas"` }
SystemLicense defines model for SystemLicense.
type SystemLicenseFeatures ¶
type SystemLicenseFeatures string
SystemLicenseFeatures defines model for SystemLicense.Features.
const ( SystemLicenseFeaturesComponents SystemLicenseFeatures = "components" SystemLicenseFeaturesCustomFields SystemLicenseFeatures = "custom_fields" SystemLicenseFeaturesCustomStatuses SystemLicenseFeatures = "custom_statuses" SystemLicenseFeaturesMultipleAssignees SystemLicenseFeatures = "multiple_assignees" SystemLicenseFeaturesReleases SystemLicenseFeatures = "releases" )
Defines values for SystemLicenseFeatures.
type SystemVersion ¶
type SystemVersion struct { // Commit Commit hash of the build. Commit string `json:"commit"` // Date Build date and time of the application. Date time.Time `json:"date"` // GoVersion Go version used to build the application. GoVersion string `json:"go_version"` // Version Version of the application. Version string `json:"version"` }
SystemVersion defines model for SystemVersion.
type Todo ¶
type Todo struct { // Completed Status of the todo item. Completed bool `json:"completed"` // CreatedAt Date when the todo item was created. CreatedAt time.Time `json:"created_at"` // CreatedBy ID of the user who created the todo item. CreatedBy string `json:"created_by"` // Description Description of the todo item. Description string `json:"description"` // DueDate Completion due date of the todo item. DueDate *time.Time `json:"due_date"` // Id Unique identifier of the todo. Id string `json:"id"` // OwnedBy ID of the user who owns the todo item. OwnedBy string `json:"owned_by"` // Priority Priority of the todo item. Priority TodoPriority `json:"priority"` // Title Title of the todo item. Title string `json:"title"` // UpdatedAt Date when the todo item was updated. UpdatedAt *time.Time `json:"updated_at"` }
Todo A todo item belonging to a user.
type TodoCreate ¶
type TodoCreate struct { // Description Description of the todo item. Description Optional[string] `json:"description"` // DueDate Completion due date of the todo item. DueDate Optional[*time.Time] `json:"due_date"` // OwnedBy ID of the user who owns the todo item. OwnedBy string `json:"owned_by"` // Priority Priority of the todo item. Priority TodoPriority `json:"priority"` // Title Title of the todo item. Title string `json:"title"` }
TodoCreate defines model for TodoCreate.
type TodoPatch ¶
type TodoPatch struct { // Completed Completion status of the todo item. Completed *bool `json:"completed,omitempty"` // Description Description of the todo item. Description Optional[string] `json:"description"` // DueDate Completion due date of the todo item. DueDate Optional[*time.Time] `json:"due_date"` // OwnedBy ID of the user who owns the todo item. OwnedBy *string `json:"owned_by,omitempty"` // Priority Priority of the todo item. Priority *TodoPriority `json:"priority,omitempty"` // Title Title of the todo item. Title *string `json:"title,omitempty"` }
TodoPatch defines model for TodoPatch.
type TodoPriority ¶
type TodoPriority string
TodoPriority Priority of the todo item.
const ( TodoPriorityCritical TodoPriority = "critical" TodoPriorityImportant TodoPriority = "important" TodoPriorityNormal TodoPriority = "normal" TodoPriorityUrgent TodoPriority = "urgent" )
Defines values for TodoPriority.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) V1NotificationDelete ¶
func (_ Unimplemented) V1NotificationDelete(w http.ResponseWriter, r *http.Request, id Id)
Delete the notification with the given ID. (DELETE /v1/notifications/{id})
func (Unimplemented) V1NotificationGet ¶
func (_ Unimplemented) V1NotificationGet(w http.ResponseWriter, r *http.Request, id Id)
Get an in-app notification (GET /v1/notifications/{id})
func (Unimplemented) V1NotificationUpdate ¶
func (_ Unimplemented) V1NotificationUpdate(w http.ResponseWriter, r *http.Request, id Id)
Update an in-app notification (PATCH /v1/notifications/{id})
func (Unimplemented) V1NotificationsGet ¶
func (_ Unimplemented) V1NotificationsGet(w http.ResponseWriter, r *http.Request, params V1NotificationsGetParams)
Get all in-app notification of the requesting user. (GET /v1/notifications)
func (Unimplemented) V1OrganizationDelete ¶
func (_ Unimplemented) V1OrganizationDelete(w http.ResponseWriter, r *http.Request, id Id, params V1OrganizationDeleteParams)
Delete organization (DELETE /v1/organizations/{id})
func (Unimplemented) V1OrganizationGet ¶
func (_ Unimplemented) V1OrganizationGet(w http.ResponseWriter, r *http.Request, id Id)
Get organization (GET /v1/organizations/{id})
func (Unimplemented) V1OrganizationMemberRemove ¶
func (_ Unimplemented) V1OrganizationMemberRemove(w http.ResponseWriter, r *http.Request, id Id, userId string)
Remove organization member (DELETE /v1/organizations/{id}/members/{user_id})
func (Unimplemented) V1OrganizationMembersAdd ¶
func (_ Unimplemented) V1OrganizationMembersAdd(w http.ResponseWriter, r *http.Request, id Id)
Add organization member (POST /v1/organizations/{id}/members)
func (Unimplemented) V1OrganizationMembersGet ¶
func (_ Unimplemented) V1OrganizationMembersGet(w http.ResponseWriter, r *http.Request, id Id)
Get organization members (GET /v1/organizations/{id}/members)
func (Unimplemented) V1OrganizationRoleDelete ¶
func (_ Unimplemented) V1OrganizationRoleDelete(w http.ResponseWriter, r *http.Request, id Id, roleId string)
Delete organization role (DELETE /v1/organizations/${id}/roles/{role_id})
func (Unimplemented) V1OrganizationRoleGet ¶
func (_ Unimplemented) V1OrganizationRoleGet(w http.ResponseWriter, r *http.Request, id Id, roleId string)
Get organization role (GET /v1/organizations/${id}/roles/{role_id})
func (Unimplemented) V1OrganizationRoleMemberRemove ¶
func (_ Unimplemented) V1OrganizationRoleMemberRemove(w http.ResponseWriter, r *http.Request, id Id, roleId string, userId string)
Remove organization role member (DELETE /v1/organizations/{id}/roles/{role_id}/members/{user_id})
func (Unimplemented) V1OrganizationRoleMembersAdd ¶
func (_ Unimplemented) V1OrganizationRoleMembersAdd(w http.ResponseWriter, r *http.Request, id Id, roleId string)
Add organization role member (POST /v1/organizations/{id}/roles/{role_id}/members)
func (Unimplemented) V1OrganizationRoleMembersGet ¶
func (_ Unimplemented) V1OrganizationRoleMembersGet(w http.ResponseWriter, r *http.Request, id Id, roleId string)
Get organization role members (GET /v1/organizations/{id}/roles/{role_id}/members)
func (Unimplemented) V1OrganizationRoleUpdate ¶
func (_ Unimplemented) V1OrganizationRoleUpdate(w http.ResponseWriter, r *http.Request, id Id, roleId string)
Update organization role (PATCH /v1/organizations/${id}/roles/{role_id})
func (Unimplemented) V1OrganizationRolesCreate ¶
func (_ Unimplemented) V1OrganizationRolesCreate(w http.ResponseWriter, r *http.Request, id Id)
Create a new role in the organization (POST /v1/organizations/${id}/roles)
func (Unimplemented) V1OrganizationRolesGet ¶
func (_ Unimplemented) V1OrganizationRolesGet(w http.ResponseWriter, r *http.Request, id Id, params V1OrganizationRolesGetParams)
Get organization roles (GET /v1/organizations/${id}/roles)
func (Unimplemented) V1OrganizationUpdate ¶
func (_ Unimplemented) V1OrganizationUpdate(w http.ResponseWriter, r *http.Request, id Id)
Update organization (PATCH /v1/organizations/{id})
func (Unimplemented) V1OrganizationsCreate ¶
func (_ Unimplemented) V1OrganizationsCreate(w http.ResponseWriter, r *http.Request)
Create organization (POST /v1/organizations)
func (Unimplemented) V1OrganizationsGet ¶
func (_ Unimplemented) V1OrganizationsGet(w http.ResponseWriter, r *http.Request, params V1OrganizationsGetParams)
Get organizations (GET /v1/organizations)
func (Unimplemented) V1PermissionDelete ¶
func (_ Unimplemented) V1PermissionDelete(w http.ResponseWriter, r *http.Request, id Id)
Delete permission (DELETE /v1/permissions/{id})
func (Unimplemented) V1PermissionGet ¶
func (_ Unimplemented) V1PermissionGet(w http.ResponseWriter, r *http.Request, id Id)
Get permission (GET /v1/permissions/{id})
func (Unimplemented) V1PermissionHasRelations ¶
func (_ Unimplemented) V1PermissionHasRelations(w http.ResponseWriter, r *http.Request, resourceId ResourceId)
Check relations to resource (GET /v1/permissions/has-relations/{resourceId})
func (Unimplemented) V1PermissionHasSystemRole ¶
func (_ Unimplemented) V1PermissionHasSystemRole(w http.ResponseWriter, r *http.Request, params V1PermissionHasSystemRoleParams)
Check system role assignment (GET /v1/permissions/has-system-role)
func (Unimplemented) V1PermissionResourceGet ¶
func (_ Unimplemented) V1PermissionResourceGet(w http.ResponseWriter, r *http.Request, resourceId ResourceId)
Get permissions for a resource (GET /v1/permissions/resources/{resourceId})
func (Unimplemented) V1PermissionUpdate ¶
func (_ Unimplemented) V1PermissionUpdate(w http.ResponseWriter, r *http.Request, id Id)
Update permission (PATCH /v1/permissions/{id})
func (Unimplemented) V1PermissionsCreate ¶
func (_ Unimplemented) V1PermissionsCreate(w http.ResponseWriter, r *http.Request)
Create permission (POST /v1/permissions)
func (Unimplemented) V1SystemHealth ¶
func (_ Unimplemented) V1SystemHealth(w http.ResponseWriter, r *http.Request)
Get system health (GET /v1/system/health)
func (Unimplemented) V1SystemHeartbeat ¶
func (_ Unimplemented) V1SystemHeartbeat(w http.ResponseWriter, r *http.Request)
Get heartbeat (GET /v1/system/heartbeat)
func (Unimplemented) V1SystemLicense ¶
func (_ Unimplemented) V1SystemLicense(w http.ResponseWriter, r *http.Request)
Get license info (GET /v1/system/license)
func (Unimplemented) V1SystemVersion ¶
func (_ Unimplemented) V1SystemVersion(w http.ResponseWriter, r *http.Request)
Get system version (GET /v1/system/version)
func (Unimplemented) V1TodoDelete ¶
func (_ Unimplemented) V1TodoDelete(w http.ResponseWriter, r *http.Request, id Id)
Delete todo item (DELETE /v1/todos/{id})
func (Unimplemented) V1TodoGet ¶
func (_ Unimplemented) V1TodoGet(w http.ResponseWriter, r *http.Request, id Id)
Get todo item (GET /v1/todos/{id})
func (Unimplemented) V1TodoUpdate ¶
func (_ Unimplemented) V1TodoUpdate(w http.ResponseWriter, r *http.Request, id Id)
Update todo (PATCH /v1/todos/{id})
func (Unimplemented) V1TodosCreate ¶
func (_ Unimplemented) V1TodosCreate(w http.ResponseWriter, r *http.Request)
Create todo item (POST /v1/todos)
func (Unimplemented) V1TodosGet ¶
func (_ Unimplemented) V1TodosGet(w http.ResponseWriter, r *http.Request, params V1TodosGetParams)
Get todo item (GET /v1/todos)
func (Unimplemented) V1UserDelete ¶
func (_ Unimplemented) V1UserDelete(w http.ResponseWriter, r *http.Request, id Id, params V1UserDeleteParams)
Delete the user with the given ID. (DELETE /v1/users/{id})
func (Unimplemented) V1UserGet ¶
func (_ Unimplemented) V1UserGet(w http.ResponseWriter, r *http.Request, id Id)
Get user (GET /v1/users/{id})
func (Unimplemented) V1UserUpdate ¶
func (_ Unimplemented) V1UserUpdate(w http.ResponseWriter, r *http.Request, id Id)
Update user (PATCH /v1/users/{id})
func (Unimplemented) V1UsersCreate ¶
func (_ Unimplemented) V1UsersCreate(w http.ResponseWriter, r *http.Request)
Create new user (POST /v1/users)
func (Unimplemented) V1UsersGet ¶
func (_ Unimplemented) V1UsersGet(w http.ResponseWriter, r *http.Request, params V1UsersGetParams)
Get all users (GET /v1/users)
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type User ¶
type User struct { // Address Working address of the user. Address *string `json:"address"` // Bio Self description of the user. Bio *string `json:"bio"` // CreatedAt Date when the user was created. CreatedAt time.Time `json:"created_at"` // Email Email address of the user. Email openapi_types.Email `json:"email"` // FirstName First name of the user. FirstName *string `json:"first_name"` // Id Unique identifier of the user. Id string `json:"id"` // Languages Languages of the user. Languages []Language `json:"languages"` // LastName Last name of the user. LastName *string `json:"last_name"` // Links Links to show on profile page. Links *[]string `json:"links"` // Phone Phone number of the user. Phone *string `json:"phone"` // Picture Profile picture of the user. Picture *string `json:"picture"` // Status Status of the user. Status UserStatus `json:"status"` // Title Work title of the user. Title *string `json:"title"` // UpdatedAt Date when the user was updated. UpdatedAt *time.Time `json:"updated_at"` // Username The unique username of the user. Username string `json:"username"` }
User A user in the system.
type UserCreate ¶
type UserCreate struct { // Address Working address of the user. Address *string `json:"address"` // Bio Self description of the user. Bio *string `json:"bio"` // Email Email address of the user. Email openapi_types.Email `json:"email"` // FirstName First name of the user. FirstName *string `json:"first_name"` // Languages Languages of the user. Languages *[]Language `json:"languages"` // LastName Last name of the user. LastName *string `json:"last_name"` // Links Links to show on profile page. Links *[]string `json:"links"` // Password Password of the user. Password string `json:"password"` // Phone Phone number of the user. Phone *string `json:"phone"` // Picture Profile picture of the user. Picture *string `json:"picture"` // Title Work title of the user. Title *string `json:"title"` // Username The unique username of the user. Username string `json:"username"` }
UserCreate defines model for UserCreate.
type UserPatch ¶
type UserPatch struct { // Address Working address of the user. Address Optional[string] `json:"address"` // Bio Self description of the user. Bio Optional[string] `json:"bio"` // Email Email address of the user. Email *openapi_types.Email `json:"email,omitempty"` // FirstName First name of the user. FirstName Optional[string] `json:"first_name"` // Languages Languages of the user. Languages *[]Language `json:"languages,omitempty"` // LastName Last name of the user. LastName Optional[string] `json:"last_name"` // Links Links to show on profile page. Links *[]string `json:"links,omitempty"` // NewPassword New password of the user. NewPassword *string `json:"new_password,omitempty"` // Password Password of the user. Required together with the new_password field. Password *string `json:"password,omitempty"` // Phone Phone number of the user. Phone Optional[string] `json:"phone"` // Picture Profile picture of the user. Picture Optional[string] `json:"picture"` // Status Status of the user. Status *UserStatus `json:"status,omitempty"` // Title Work title of the user. Title Optional[string] `json:"title"` // Username The unique username of the user. Username *string `json:"username,omitempty"` }
UserPatch defines model for UserPatch.
type UserStatus ¶
type UserStatus string
UserStatus Status of the user.
const ( UserStatusActive UserStatus = "active" UserStatusDeleted UserStatus = "deleted" UserStatusInactive UserStatus = "inactive" UserStatusPending UserStatus = "pending" )
Defines values for UserStatus.
type V1NotificationDelete204Response ¶
type V1NotificationDelete204Response struct { }
func (V1NotificationDelete204Response) VisitV1NotificationDeleteResponse ¶
func (response V1NotificationDelete204Response) VisitV1NotificationDeleteResponse(w http.ResponseWriter) error
type V1NotificationDelete400JSONResponse ¶
type V1NotificationDelete400JSONResponse struct{ N400JSONResponse }
func (V1NotificationDelete400JSONResponse) VisitV1NotificationDeleteResponse ¶
func (response V1NotificationDelete400JSONResponse) VisitV1NotificationDeleteResponse(w http.ResponseWriter) error
type V1NotificationDelete401JSONResponse ¶
type V1NotificationDelete401JSONResponse struct{ N401JSONResponse }
func (V1NotificationDelete401JSONResponse) VisitV1NotificationDeleteResponse ¶
func (response V1NotificationDelete401JSONResponse) VisitV1NotificationDeleteResponse(w http.ResponseWriter) error
type V1NotificationDelete403JSONResponse ¶
type V1NotificationDelete403JSONResponse struct{ N403JSONResponse }
func (V1NotificationDelete403JSONResponse) VisitV1NotificationDeleteResponse ¶
func (response V1NotificationDelete403JSONResponse) VisitV1NotificationDeleteResponse(w http.ResponseWriter) error
type V1NotificationDelete404JSONResponse ¶
type V1NotificationDelete404JSONResponse struct{ N404JSONResponse }
func (V1NotificationDelete404JSONResponse) VisitV1NotificationDeleteResponse ¶
func (response V1NotificationDelete404JSONResponse) VisitV1NotificationDeleteResponse(w http.ResponseWriter) error
type V1NotificationDelete500JSONResponse ¶
type V1NotificationDelete500JSONResponse struct{ N500JSONResponse }
func (V1NotificationDelete500JSONResponse) VisitV1NotificationDeleteResponse ¶
func (response V1NotificationDelete500JSONResponse) VisitV1NotificationDeleteResponse(w http.ResponseWriter) error
type V1NotificationDeleteRequestObject ¶
type V1NotificationDeleteRequestObject struct {
Id Id `json:"id"`
}
type V1NotificationDeleteResponseObject ¶
type V1NotificationDeleteResponseObject interface {
VisitV1NotificationDeleteResponse(w http.ResponseWriter) error
}
type V1NotificationGet200JSONResponse ¶
type V1NotificationGet200JSONResponse Notification
func (V1NotificationGet200JSONResponse) VisitV1NotificationGetResponse ¶
func (response V1NotificationGet200JSONResponse) VisitV1NotificationGetResponse(w http.ResponseWriter) error
type V1NotificationGet400JSONResponse ¶
type V1NotificationGet400JSONResponse struct{ N400JSONResponse }
func (V1NotificationGet400JSONResponse) VisitV1NotificationGetResponse ¶
func (response V1NotificationGet400JSONResponse) VisitV1NotificationGetResponse(w http.ResponseWriter) error
type V1NotificationGet401JSONResponse ¶
type V1NotificationGet401JSONResponse struct{ N401JSONResponse }
func (V1NotificationGet401JSONResponse) VisitV1NotificationGetResponse ¶
func (response V1NotificationGet401JSONResponse) VisitV1NotificationGetResponse(w http.ResponseWriter) error
type V1NotificationGet403JSONResponse ¶
type V1NotificationGet403JSONResponse struct{ N403JSONResponse }
func (V1NotificationGet403JSONResponse) VisitV1NotificationGetResponse ¶
func (response V1NotificationGet403JSONResponse) VisitV1NotificationGetResponse(w http.ResponseWriter) error
type V1NotificationGet404JSONResponse ¶
type V1NotificationGet404JSONResponse struct{ N404JSONResponse }
func (V1NotificationGet404JSONResponse) VisitV1NotificationGetResponse ¶
func (response V1NotificationGet404JSONResponse) VisitV1NotificationGetResponse(w http.ResponseWriter) error
type V1NotificationGet500JSONResponse ¶
type V1NotificationGet500JSONResponse struct{ N500JSONResponse }
func (V1NotificationGet500JSONResponse) VisitV1NotificationGetResponse ¶
func (response V1NotificationGet500JSONResponse) VisitV1NotificationGetResponse(w http.ResponseWriter) error
type V1NotificationGetRequestObject ¶
type V1NotificationGetRequestObject struct {
Id Id `json:"id"`
}
type V1NotificationGetResponseObject ¶
type V1NotificationGetResponseObject interface {
VisitV1NotificationGetResponse(w http.ResponseWriter) error
}
type V1NotificationUpdate200JSONResponse ¶
type V1NotificationUpdate200JSONResponse Notification
func (V1NotificationUpdate200JSONResponse) VisitV1NotificationUpdateResponse ¶
func (response V1NotificationUpdate200JSONResponse) VisitV1NotificationUpdateResponse(w http.ResponseWriter) error
type V1NotificationUpdate400JSONResponse ¶
type V1NotificationUpdate400JSONResponse struct{ N400JSONResponse }
func (V1NotificationUpdate400JSONResponse) VisitV1NotificationUpdateResponse ¶
func (response V1NotificationUpdate400JSONResponse) VisitV1NotificationUpdateResponse(w http.ResponseWriter) error
type V1NotificationUpdate401JSONResponse ¶
type V1NotificationUpdate401JSONResponse struct{ N401JSONResponse }
func (V1NotificationUpdate401JSONResponse) VisitV1NotificationUpdateResponse ¶
func (response V1NotificationUpdate401JSONResponse) VisitV1NotificationUpdateResponse(w http.ResponseWriter) error
type V1NotificationUpdate403JSONResponse ¶
type V1NotificationUpdate403JSONResponse struct{ N403JSONResponse }
func (V1NotificationUpdate403JSONResponse) VisitV1NotificationUpdateResponse ¶
func (response V1NotificationUpdate403JSONResponse) VisitV1NotificationUpdateResponse(w http.ResponseWriter) error
type V1NotificationUpdate404JSONResponse ¶
type V1NotificationUpdate404JSONResponse struct{ N404JSONResponse }
func (V1NotificationUpdate404JSONResponse) VisitV1NotificationUpdateResponse ¶
func (response V1NotificationUpdate404JSONResponse) VisitV1NotificationUpdateResponse(w http.ResponseWriter) error
type V1NotificationUpdate500JSONResponse ¶
type V1NotificationUpdate500JSONResponse struct{ N500JSONResponse }
func (V1NotificationUpdate500JSONResponse) VisitV1NotificationUpdateResponse ¶
func (response V1NotificationUpdate500JSONResponse) VisitV1NotificationUpdateResponse(w http.ResponseWriter) error
type V1NotificationUpdateJSONBody ¶
type V1NotificationUpdateJSONBody struct { // Read Whether the notification was read by the user. Read bool `json:"read"` }
V1NotificationUpdateJSONBody defines parameters for V1NotificationUpdate.
type V1NotificationUpdateJSONRequestBody ¶
type V1NotificationUpdateJSONRequestBody V1NotificationUpdateJSONBody
V1NotificationUpdateJSONRequestBody defines body for V1NotificationUpdate for application/json ContentType.
type V1NotificationUpdateRequestObject ¶
type V1NotificationUpdateRequestObject struct { Id Id `json:"id"` Body *V1NotificationUpdateJSONRequestBody }
type V1NotificationUpdateResponseObject ¶
type V1NotificationUpdateResponseObject interface {
VisitV1NotificationUpdateResponse(w http.ResponseWriter) error
}
type V1NotificationsGet200JSONResponse ¶
type V1NotificationsGet200JSONResponse []Notification
func (V1NotificationsGet200JSONResponse) VisitV1NotificationsGetResponse ¶
func (response V1NotificationsGet200JSONResponse) VisitV1NotificationsGetResponse(w http.ResponseWriter) error
type V1NotificationsGet400JSONResponse ¶
type V1NotificationsGet400JSONResponse struct{ N400JSONResponse }
func (V1NotificationsGet400JSONResponse) VisitV1NotificationsGetResponse ¶
func (response V1NotificationsGet400JSONResponse) VisitV1NotificationsGetResponse(w http.ResponseWriter) error
type V1NotificationsGet401JSONResponse ¶
type V1NotificationsGet401JSONResponse struct{ N401JSONResponse }
func (V1NotificationsGet401JSONResponse) VisitV1NotificationsGetResponse ¶
func (response V1NotificationsGet401JSONResponse) VisitV1NotificationsGetResponse(w http.ResponseWriter) error
type V1NotificationsGet403JSONResponse ¶
type V1NotificationsGet403JSONResponse struct{ N403JSONResponse }
func (V1NotificationsGet403JSONResponse) VisitV1NotificationsGetResponse ¶
func (response V1NotificationsGet403JSONResponse) VisitV1NotificationsGetResponse(w http.ResponseWriter) error
type V1NotificationsGet500JSONResponse ¶
type V1NotificationsGet500JSONResponse struct{ N500JSONResponse }
func (V1NotificationsGet500JSONResponse) VisitV1NotificationsGetResponse ¶
func (response V1NotificationsGet500JSONResponse) VisitV1NotificationsGetResponse(w http.ResponseWriter) error
type V1NotificationsGetParams ¶
type V1NotificationsGetParams struct { // Offset Number of resources to skip. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // Limit Number of resources to return. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` }
V1NotificationsGetParams defines parameters for V1NotificationsGet.
type V1NotificationsGetRequestObject ¶
type V1NotificationsGetRequestObject struct {
Params V1NotificationsGetParams
}
type V1NotificationsGetResponseObject ¶
type V1NotificationsGetResponseObject interface {
VisitV1NotificationsGetResponse(w http.ResponseWriter) error
}
type V1OrganizationDelete204Response ¶
type V1OrganizationDelete204Response struct { }
func (V1OrganizationDelete204Response) VisitV1OrganizationDeleteResponse ¶
func (response V1OrganizationDelete204Response) VisitV1OrganizationDeleteResponse(w http.ResponseWriter) error
type V1OrganizationDelete400JSONResponse ¶
type V1OrganizationDelete400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationDelete400JSONResponse) VisitV1OrganizationDeleteResponse ¶
func (response V1OrganizationDelete400JSONResponse) VisitV1OrganizationDeleteResponse(w http.ResponseWriter) error
type V1OrganizationDelete401JSONResponse ¶
type V1OrganizationDelete401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationDelete401JSONResponse) VisitV1OrganizationDeleteResponse ¶
func (response V1OrganizationDelete401JSONResponse) VisitV1OrganizationDeleteResponse(w http.ResponseWriter) error
type V1OrganizationDelete403JSONResponse ¶
type V1OrganizationDelete403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationDelete403JSONResponse) VisitV1OrganizationDeleteResponse ¶
func (response V1OrganizationDelete403JSONResponse) VisitV1OrganizationDeleteResponse(w http.ResponseWriter) error
type V1OrganizationDelete404JSONResponse ¶
type V1OrganizationDelete404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationDelete404JSONResponse) VisitV1OrganizationDeleteResponse ¶
func (response V1OrganizationDelete404JSONResponse) VisitV1OrganizationDeleteResponse(w http.ResponseWriter) error
type V1OrganizationDelete500JSONResponse ¶
type V1OrganizationDelete500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationDelete500JSONResponse) VisitV1OrganizationDeleteResponse ¶
func (response V1OrganizationDelete500JSONResponse) VisitV1OrganizationDeleteResponse(w http.ResponseWriter) error
type V1OrganizationDeleteParams ¶
type V1OrganizationDeleteParams struct { // Force Irreversibly delete the user. Force *Force `form:"force,omitempty" json:"force,omitempty"` }
V1OrganizationDeleteParams defines parameters for V1OrganizationDelete.
type V1OrganizationDeleteRequestObject ¶
type V1OrganizationDeleteRequestObject struct { Id Id `json:"id"` Params V1OrganizationDeleteParams }
type V1OrganizationDeleteResponseObject ¶
type V1OrganizationDeleteResponseObject interface {
VisitV1OrganizationDeleteResponse(w http.ResponseWriter) error
}
type V1OrganizationGet200JSONResponse ¶
type V1OrganizationGet200JSONResponse Organization
func (V1OrganizationGet200JSONResponse) VisitV1OrganizationGetResponse ¶
func (response V1OrganizationGet200JSONResponse) VisitV1OrganizationGetResponse(w http.ResponseWriter) error
type V1OrganizationGet400JSONResponse ¶
type V1OrganizationGet400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationGet400JSONResponse) VisitV1OrganizationGetResponse ¶
func (response V1OrganizationGet400JSONResponse) VisitV1OrganizationGetResponse(w http.ResponseWriter) error
type V1OrganizationGet401JSONResponse ¶
type V1OrganizationGet401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationGet401JSONResponse) VisitV1OrganizationGetResponse ¶
func (response V1OrganizationGet401JSONResponse) VisitV1OrganizationGetResponse(w http.ResponseWriter) error
type V1OrganizationGet403JSONResponse ¶
type V1OrganizationGet403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationGet403JSONResponse) VisitV1OrganizationGetResponse ¶
func (response V1OrganizationGet403JSONResponse) VisitV1OrganizationGetResponse(w http.ResponseWriter) error
type V1OrganizationGet404JSONResponse ¶
type V1OrganizationGet404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationGet404JSONResponse) VisitV1OrganizationGetResponse ¶
func (response V1OrganizationGet404JSONResponse) VisitV1OrganizationGetResponse(w http.ResponseWriter) error
type V1OrganizationGet500JSONResponse ¶
type V1OrganizationGet500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationGet500JSONResponse) VisitV1OrganizationGetResponse ¶
func (response V1OrganizationGet500JSONResponse) VisitV1OrganizationGetResponse(w http.ResponseWriter) error
type V1OrganizationGetRequestObject ¶
type V1OrganizationGetRequestObject struct {
Id Id `json:"id"`
}
type V1OrganizationGetResponseObject ¶
type V1OrganizationGetResponseObject interface {
VisitV1OrganizationGetResponse(w http.ResponseWriter) error
}
type V1OrganizationMemberRemove204Response ¶
type V1OrganizationMemberRemove204Response struct { }
func (V1OrganizationMemberRemove204Response) VisitV1OrganizationMemberRemoveResponse ¶
func (response V1OrganizationMemberRemove204Response) VisitV1OrganizationMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationMemberRemove400JSONResponse ¶
type V1OrganizationMemberRemove400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationMemberRemove400JSONResponse) VisitV1OrganizationMemberRemoveResponse ¶
func (response V1OrganizationMemberRemove400JSONResponse) VisitV1OrganizationMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationMemberRemove401JSONResponse ¶
type V1OrganizationMemberRemove401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationMemberRemove401JSONResponse) VisitV1OrganizationMemberRemoveResponse ¶
func (response V1OrganizationMemberRemove401JSONResponse) VisitV1OrganizationMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationMemberRemove403JSONResponse ¶
type V1OrganizationMemberRemove403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationMemberRemove403JSONResponse) VisitV1OrganizationMemberRemoveResponse ¶
func (response V1OrganizationMemberRemove403JSONResponse) VisitV1OrganizationMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationMemberRemove404JSONResponse ¶
type V1OrganizationMemberRemove404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationMemberRemove404JSONResponse) VisitV1OrganizationMemberRemoveResponse ¶
func (response V1OrganizationMemberRemove404JSONResponse) VisitV1OrganizationMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationMemberRemove500JSONResponse ¶
type V1OrganizationMemberRemove500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationMemberRemove500JSONResponse) VisitV1OrganizationMemberRemoveResponse ¶
func (response V1OrganizationMemberRemove500JSONResponse) VisitV1OrganizationMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationMemberRemoveResponseObject ¶
type V1OrganizationMemberRemoveResponseObject interface {
VisitV1OrganizationMemberRemoveResponse(w http.ResponseWriter) error
}
type V1OrganizationMembersAdd201JSONResponse ¶
type V1OrganizationMembersAdd201JSONResponse struct{ N201JSONResponse }
func (V1OrganizationMembersAdd201JSONResponse) VisitV1OrganizationMembersAddResponse ¶
func (response V1OrganizationMembersAdd201JSONResponse) VisitV1OrganizationMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationMembersAdd400JSONResponse ¶
type V1OrganizationMembersAdd400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationMembersAdd400JSONResponse) VisitV1OrganizationMembersAddResponse ¶
func (response V1OrganizationMembersAdd400JSONResponse) VisitV1OrganizationMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationMembersAdd401JSONResponse ¶
type V1OrganizationMembersAdd401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationMembersAdd401JSONResponse) VisitV1OrganizationMembersAddResponse ¶
func (response V1OrganizationMembersAdd401JSONResponse) VisitV1OrganizationMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationMembersAdd403JSONResponse ¶
type V1OrganizationMembersAdd403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationMembersAdd403JSONResponse) VisitV1OrganizationMembersAddResponse ¶
func (response V1OrganizationMembersAdd403JSONResponse) VisitV1OrganizationMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationMembersAdd404JSONResponse ¶
type V1OrganizationMembersAdd404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationMembersAdd404JSONResponse) VisitV1OrganizationMembersAddResponse ¶
func (response V1OrganizationMembersAdd404JSONResponse) VisitV1OrganizationMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationMembersAdd500JSONResponse ¶
type V1OrganizationMembersAdd500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationMembersAdd500JSONResponse) VisitV1OrganizationMembersAddResponse ¶
func (response V1OrganizationMembersAdd500JSONResponse) VisitV1OrganizationMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationMembersAddJSONBody ¶
type V1OrganizationMembersAddJSONBody struct { // UserId ID of the user to add. UserId string `json:"user_id"` }
V1OrganizationMembersAddJSONBody defines parameters for V1OrganizationMembersAdd.
type V1OrganizationMembersAddJSONRequestBody ¶
type V1OrganizationMembersAddJSONRequestBody V1OrganizationMembersAddJSONBody
V1OrganizationMembersAddJSONRequestBody defines body for V1OrganizationMembersAdd for application/json ContentType.
type V1OrganizationMembersAddRequestObject ¶
type V1OrganizationMembersAddRequestObject struct { Id Id `json:"id"` Body *V1OrganizationMembersAddJSONRequestBody }
type V1OrganizationMembersAddResponseObject ¶
type V1OrganizationMembersAddResponseObject interface {
VisitV1OrganizationMembersAddResponse(w http.ResponseWriter) error
}
type V1OrganizationMembersGet200JSONResponse ¶
type V1OrganizationMembersGet200JSONResponse []User
func (V1OrganizationMembersGet200JSONResponse) VisitV1OrganizationMembersGetResponse ¶
func (response V1OrganizationMembersGet200JSONResponse) VisitV1OrganizationMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationMembersGet400JSONResponse ¶
type V1OrganizationMembersGet400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationMembersGet400JSONResponse) VisitV1OrganizationMembersGetResponse ¶
func (response V1OrganizationMembersGet400JSONResponse) VisitV1OrganizationMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationMembersGet401JSONResponse ¶
type V1OrganizationMembersGet401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationMembersGet401JSONResponse) VisitV1OrganizationMembersGetResponse ¶
func (response V1OrganizationMembersGet401JSONResponse) VisitV1OrganizationMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationMembersGet403JSONResponse ¶
type V1OrganizationMembersGet403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationMembersGet403JSONResponse) VisitV1OrganizationMembersGetResponse ¶
func (response V1OrganizationMembersGet403JSONResponse) VisitV1OrganizationMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationMembersGet404JSONResponse ¶
type V1OrganizationMembersGet404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationMembersGet404JSONResponse) VisitV1OrganizationMembersGetResponse ¶
func (response V1OrganizationMembersGet404JSONResponse) VisitV1OrganizationMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationMembersGet500JSONResponse ¶
type V1OrganizationMembersGet500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationMembersGet500JSONResponse) VisitV1OrganizationMembersGetResponse ¶
func (response V1OrganizationMembersGet500JSONResponse) VisitV1OrganizationMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationMembersGetRequestObject ¶
type V1OrganizationMembersGetRequestObject struct {
Id Id `json:"id"`
}
type V1OrganizationMembersGetResponseObject ¶
type V1OrganizationMembersGetResponseObject interface {
VisitV1OrganizationMembersGetResponse(w http.ResponseWriter) error
}
type V1OrganizationRoleDelete204Response ¶
type V1OrganizationRoleDelete204Response struct { }
func (V1OrganizationRoleDelete204Response) VisitV1OrganizationRoleDeleteResponse ¶
func (response V1OrganizationRoleDelete204Response) VisitV1OrganizationRoleDeleteResponse(w http.ResponseWriter) error
type V1OrganizationRoleDelete400JSONResponse ¶
type V1OrganizationRoleDelete400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRoleDelete400JSONResponse) VisitV1OrganizationRoleDeleteResponse ¶
func (response V1OrganizationRoleDelete400JSONResponse) VisitV1OrganizationRoleDeleteResponse(w http.ResponseWriter) error
type V1OrganizationRoleDelete401JSONResponse ¶
type V1OrganizationRoleDelete401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRoleDelete401JSONResponse) VisitV1OrganizationRoleDeleteResponse ¶
func (response V1OrganizationRoleDelete401JSONResponse) VisitV1OrganizationRoleDeleteResponse(w http.ResponseWriter) error
type V1OrganizationRoleDelete403JSONResponse ¶
type V1OrganizationRoleDelete403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRoleDelete403JSONResponse) VisitV1OrganizationRoleDeleteResponse ¶
func (response V1OrganizationRoleDelete403JSONResponse) VisitV1OrganizationRoleDeleteResponse(w http.ResponseWriter) error
type V1OrganizationRoleDelete404JSONResponse ¶
type V1OrganizationRoleDelete404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRoleDelete404JSONResponse) VisitV1OrganizationRoleDeleteResponse ¶
func (response V1OrganizationRoleDelete404JSONResponse) VisitV1OrganizationRoleDeleteResponse(w http.ResponseWriter) error
type V1OrganizationRoleDelete500JSONResponse ¶
type V1OrganizationRoleDelete500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRoleDelete500JSONResponse) VisitV1OrganizationRoleDeleteResponse ¶
func (response V1OrganizationRoleDelete500JSONResponse) VisitV1OrganizationRoleDeleteResponse(w http.ResponseWriter) error
type V1OrganizationRoleDeleteResponseObject ¶
type V1OrganizationRoleDeleteResponseObject interface {
VisitV1OrganizationRoleDeleteResponse(w http.ResponseWriter) error
}
type V1OrganizationRoleGet200JSONResponse ¶
type V1OrganizationRoleGet200JSONResponse Role
func (V1OrganizationRoleGet200JSONResponse) VisitV1OrganizationRoleGetResponse ¶
func (response V1OrganizationRoleGet200JSONResponse) VisitV1OrganizationRoleGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleGet400JSONResponse ¶
type V1OrganizationRoleGet400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRoleGet400JSONResponse) VisitV1OrganizationRoleGetResponse ¶
func (response V1OrganizationRoleGet400JSONResponse) VisitV1OrganizationRoleGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleGet401JSONResponse ¶
type V1OrganizationRoleGet401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRoleGet401JSONResponse) VisitV1OrganizationRoleGetResponse ¶
func (response V1OrganizationRoleGet401JSONResponse) VisitV1OrganizationRoleGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleGet403JSONResponse ¶
type V1OrganizationRoleGet403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRoleGet403JSONResponse) VisitV1OrganizationRoleGetResponse ¶
func (response V1OrganizationRoleGet403JSONResponse) VisitV1OrganizationRoleGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleGet404JSONResponse ¶
type V1OrganizationRoleGet404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRoleGet404JSONResponse) VisitV1OrganizationRoleGetResponse ¶
func (response V1OrganizationRoleGet404JSONResponse) VisitV1OrganizationRoleGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleGet500JSONResponse ¶
type V1OrganizationRoleGet500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRoleGet500JSONResponse) VisitV1OrganizationRoleGetResponse ¶
func (response V1OrganizationRoleGet500JSONResponse) VisitV1OrganizationRoleGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleGetResponseObject ¶
type V1OrganizationRoleGetResponseObject interface {
VisitV1OrganizationRoleGetResponse(w http.ResponseWriter) error
}
type V1OrganizationRoleMemberRemove204Response ¶
type V1OrganizationRoleMemberRemove204Response struct { }
func (V1OrganizationRoleMemberRemove204Response) VisitV1OrganizationRoleMemberRemoveResponse ¶
func (response V1OrganizationRoleMemberRemove204Response) VisitV1OrganizationRoleMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationRoleMemberRemove400JSONResponse ¶
type V1OrganizationRoleMemberRemove400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRoleMemberRemove400JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse ¶
func (response V1OrganizationRoleMemberRemove400JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationRoleMemberRemove401JSONResponse ¶
type V1OrganizationRoleMemberRemove401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRoleMemberRemove401JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse ¶
func (response V1OrganizationRoleMemberRemove401JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationRoleMemberRemove403JSONResponse ¶
type V1OrganizationRoleMemberRemove403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRoleMemberRemove403JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse ¶
func (response V1OrganizationRoleMemberRemove403JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationRoleMemberRemove404JSONResponse ¶
type V1OrganizationRoleMemberRemove404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRoleMemberRemove404JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse ¶
func (response V1OrganizationRoleMemberRemove404JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationRoleMemberRemove500JSONResponse ¶
type V1OrganizationRoleMemberRemove500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRoleMemberRemove500JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse ¶
func (response V1OrganizationRoleMemberRemove500JSONResponse) VisitV1OrganizationRoleMemberRemoveResponse(w http.ResponseWriter) error
type V1OrganizationRoleMemberRemoveResponseObject ¶
type V1OrganizationRoleMemberRemoveResponseObject interface {
VisitV1OrganizationRoleMemberRemoveResponse(w http.ResponseWriter) error
}
type V1OrganizationRoleMembersAdd201JSONResponse ¶
type V1OrganizationRoleMembersAdd201JSONResponse struct{ N201JSONResponse }
func (V1OrganizationRoleMembersAdd201JSONResponse) VisitV1OrganizationRoleMembersAddResponse ¶
func (response V1OrganizationRoleMembersAdd201JSONResponse) VisitV1OrganizationRoleMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersAdd400JSONResponse ¶
type V1OrganizationRoleMembersAdd400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRoleMembersAdd400JSONResponse) VisitV1OrganizationRoleMembersAddResponse ¶
func (response V1OrganizationRoleMembersAdd400JSONResponse) VisitV1OrganizationRoleMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersAdd401JSONResponse ¶
type V1OrganizationRoleMembersAdd401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRoleMembersAdd401JSONResponse) VisitV1OrganizationRoleMembersAddResponse ¶
func (response V1OrganizationRoleMembersAdd401JSONResponse) VisitV1OrganizationRoleMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersAdd403JSONResponse ¶
type V1OrganizationRoleMembersAdd403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRoleMembersAdd403JSONResponse) VisitV1OrganizationRoleMembersAddResponse ¶
func (response V1OrganizationRoleMembersAdd403JSONResponse) VisitV1OrganizationRoleMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersAdd404JSONResponse ¶
type V1OrganizationRoleMembersAdd404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRoleMembersAdd404JSONResponse) VisitV1OrganizationRoleMembersAddResponse ¶
func (response V1OrganizationRoleMembersAdd404JSONResponse) VisitV1OrganizationRoleMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersAdd500JSONResponse ¶
type V1OrganizationRoleMembersAdd500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRoleMembersAdd500JSONResponse) VisitV1OrganizationRoleMembersAddResponse ¶
func (response V1OrganizationRoleMembersAdd500JSONResponse) VisitV1OrganizationRoleMembersAddResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersAddJSONBody ¶
type V1OrganizationRoleMembersAddJSONBody struct { // UserId ID of the user to add. UserId string `json:"user_id"` }
V1OrganizationRoleMembersAddJSONBody defines parameters for V1OrganizationRoleMembersAdd.
type V1OrganizationRoleMembersAddJSONRequestBody ¶
type V1OrganizationRoleMembersAddJSONRequestBody V1OrganizationRoleMembersAddJSONBody
V1OrganizationRoleMembersAddJSONRequestBody defines body for V1OrganizationRoleMembersAdd for application/json ContentType.
type V1OrganizationRoleMembersAddRequestObject ¶
type V1OrganizationRoleMembersAddRequestObject struct { Id Id `json:"id"` RoleId string `json:"role_id"` Body *V1OrganizationRoleMembersAddJSONRequestBody }
type V1OrganizationRoleMembersAddResponseObject ¶
type V1OrganizationRoleMembersAddResponseObject interface {
VisitV1OrganizationRoleMembersAddResponse(w http.ResponseWriter) error
}
type V1OrganizationRoleMembersGet200JSONResponse ¶
type V1OrganizationRoleMembersGet200JSONResponse []User
func (V1OrganizationRoleMembersGet200JSONResponse) VisitV1OrganizationRoleMembersGetResponse ¶
func (response V1OrganizationRoleMembersGet200JSONResponse) VisitV1OrganizationRoleMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersGet400JSONResponse ¶
type V1OrganizationRoleMembersGet400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRoleMembersGet400JSONResponse) VisitV1OrganizationRoleMembersGetResponse ¶
func (response V1OrganizationRoleMembersGet400JSONResponse) VisitV1OrganizationRoleMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersGet401JSONResponse ¶
type V1OrganizationRoleMembersGet401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRoleMembersGet401JSONResponse) VisitV1OrganizationRoleMembersGetResponse ¶
func (response V1OrganizationRoleMembersGet401JSONResponse) VisitV1OrganizationRoleMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersGet403JSONResponse ¶
type V1OrganizationRoleMembersGet403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRoleMembersGet403JSONResponse) VisitV1OrganizationRoleMembersGetResponse ¶
func (response V1OrganizationRoleMembersGet403JSONResponse) VisitV1OrganizationRoleMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersGet404JSONResponse ¶
type V1OrganizationRoleMembersGet404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRoleMembersGet404JSONResponse) VisitV1OrganizationRoleMembersGetResponse ¶
func (response V1OrganizationRoleMembersGet404JSONResponse) VisitV1OrganizationRoleMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersGet500JSONResponse ¶
type V1OrganizationRoleMembersGet500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRoleMembersGet500JSONResponse) VisitV1OrganizationRoleMembersGetResponse ¶
func (response V1OrganizationRoleMembersGet500JSONResponse) VisitV1OrganizationRoleMembersGetResponse(w http.ResponseWriter) error
type V1OrganizationRoleMembersGetResponseObject ¶
type V1OrganizationRoleMembersGetResponseObject interface {
VisitV1OrganizationRoleMembersGetResponse(w http.ResponseWriter) error
}
type V1OrganizationRoleUpdate200JSONResponse ¶
type V1OrganizationRoleUpdate200JSONResponse Role
func (V1OrganizationRoleUpdate200JSONResponse) VisitV1OrganizationRoleUpdateResponse ¶
func (response V1OrganizationRoleUpdate200JSONResponse) VisitV1OrganizationRoleUpdateResponse(w http.ResponseWriter) error
type V1OrganizationRoleUpdate400JSONResponse ¶
type V1OrganizationRoleUpdate400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRoleUpdate400JSONResponse) VisitV1OrganizationRoleUpdateResponse ¶
func (response V1OrganizationRoleUpdate400JSONResponse) VisitV1OrganizationRoleUpdateResponse(w http.ResponseWriter) error
type V1OrganizationRoleUpdate401JSONResponse ¶
type V1OrganizationRoleUpdate401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRoleUpdate401JSONResponse) VisitV1OrganizationRoleUpdateResponse ¶
func (response V1OrganizationRoleUpdate401JSONResponse) VisitV1OrganizationRoleUpdateResponse(w http.ResponseWriter) error
type V1OrganizationRoleUpdate403JSONResponse ¶
type V1OrganizationRoleUpdate403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRoleUpdate403JSONResponse) VisitV1OrganizationRoleUpdateResponse ¶
func (response V1OrganizationRoleUpdate403JSONResponse) VisitV1OrganizationRoleUpdateResponse(w http.ResponseWriter) error
type V1OrganizationRoleUpdate404JSONResponse ¶
type V1OrganizationRoleUpdate404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRoleUpdate404JSONResponse) VisitV1OrganizationRoleUpdateResponse ¶
func (response V1OrganizationRoleUpdate404JSONResponse) VisitV1OrganizationRoleUpdateResponse(w http.ResponseWriter) error
type V1OrganizationRoleUpdate500JSONResponse ¶
type V1OrganizationRoleUpdate500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRoleUpdate500JSONResponse) VisitV1OrganizationRoleUpdateResponse ¶
func (response V1OrganizationRoleUpdate500JSONResponse) VisitV1OrganizationRoleUpdateResponse(w http.ResponseWriter) error
type V1OrganizationRoleUpdateJSONBody ¶
type V1OrganizationRoleUpdateJSONBody struct { // Description Description of the role. Description *string `json:"description,omitempty"` // Name Name of the role. Name *string `json:"name,omitempty"` }
V1OrganizationRoleUpdateJSONBody defines parameters for V1OrganizationRoleUpdate.
type V1OrganizationRoleUpdateJSONRequestBody ¶
type V1OrganizationRoleUpdateJSONRequestBody V1OrganizationRoleUpdateJSONBody
V1OrganizationRoleUpdateJSONRequestBody defines body for V1OrganizationRoleUpdate for application/json ContentType.
type V1OrganizationRoleUpdateRequestObject ¶
type V1OrganizationRoleUpdateRequestObject struct { Id Id `json:"id"` RoleId string `json:"role_id"` Body *V1OrganizationRoleUpdateJSONRequestBody }
type V1OrganizationRoleUpdateResponseObject ¶
type V1OrganizationRoleUpdateResponseObject interface {
VisitV1OrganizationRoleUpdateResponse(w http.ResponseWriter) error
}
type V1OrganizationRolesCreate201JSONResponse ¶
type V1OrganizationRolesCreate201JSONResponse struct{ N201JSONResponse }
func (V1OrganizationRolesCreate201JSONResponse) VisitV1OrganizationRolesCreateResponse ¶
func (response V1OrganizationRolesCreate201JSONResponse) VisitV1OrganizationRolesCreateResponse(w http.ResponseWriter) error
type V1OrganizationRolesCreate400JSONResponse ¶
type V1OrganizationRolesCreate400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRolesCreate400JSONResponse) VisitV1OrganizationRolesCreateResponse ¶
func (response V1OrganizationRolesCreate400JSONResponse) VisitV1OrganizationRolesCreateResponse(w http.ResponseWriter) error
type V1OrganizationRolesCreate401JSONResponse ¶
type V1OrganizationRolesCreate401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRolesCreate401JSONResponse) VisitV1OrganizationRolesCreateResponse ¶
func (response V1OrganizationRolesCreate401JSONResponse) VisitV1OrganizationRolesCreateResponse(w http.ResponseWriter) error
type V1OrganizationRolesCreate403JSONResponse ¶
type V1OrganizationRolesCreate403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRolesCreate403JSONResponse) VisitV1OrganizationRolesCreateResponse ¶
func (response V1OrganizationRolesCreate403JSONResponse) VisitV1OrganizationRolesCreateResponse(w http.ResponseWriter) error
type V1OrganizationRolesCreate404JSONResponse ¶
type V1OrganizationRolesCreate404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRolesCreate404JSONResponse) VisitV1OrganizationRolesCreateResponse ¶
func (response V1OrganizationRolesCreate404JSONResponse) VisitV1OrganizationRolesCreateResponse(w http.ResponseWriter) error
type V1OrganizationRolesCreate500JSONResponse ¶
type V1OrganizationRolesCreate500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRolesCreate500JSONResponse) VisitV1OrganizationRolesCreateResponse ¶
func (response V1OrganizationRolesCreate500JSONResponse) VisitV1OrganizationRolesCreateResponse(w http.ResponseWriter) error
type V1OrganizationRolesCreateJSONBody ¶
type V1OrganizationRolesCreateJSONBody struct { // Description Description of the role. Description *string `json:"description,omitempty"` // Name Name of the role. Name string `json:"name"` }
V1OrganizationRolesCreateJSONBody defines parameters for V1OrganizationRolesCreate.
type V1OrganizationRolesCreateJSONRequestBody ¶
type V1OrganizationRolesCreateJSONRequestBody V1OrganizationRolesCreateJSONBody
V1OrganizationRolesCreateJSONRequestBody defines body for V1OrganizationRolesCreate for application/json ContentType.
type V1OrganizationRolesCreateRequestObject ¶
type V1OrganizationRolesCreateRequestObject struct { Id Id `json:"id"` Body *V1OrganizationRolesCreateJSONRequestBody }
type V1OrganizationRolesCreateResponseObject ¶
type V1OrganizationRolesCreateResponseObject interface {
VisitV1OrganizationRolesCreateResponse(w http.ResponseWriter) error
}
type V1OrganizationRolesGet200JSONResponse ¶
type V1OrganizationRolesGet200JSONResponse []Role
func (V1OrganizationRolesGet200JSONResponse) VisitV1OrganizationRolesGetResponse ¶
func (response V1OrganizationRolesGet200JSONResponse) VisitV1OrganizationRolesGetResponse(w http.ResponseWriter) error
type V1OrganizationRolesGet400JSONResponse ¶
type V1OrganizationRolesGet400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationRolesGet400JSONResponse) VisitV1OrganizationRolesGetResponse ¶
func (response V1OrganizationRolesGet400JSONResponse) VisitV1OrganizationRolesGetResponse(w http.ResponseWriter) error
type V1OrganizationRolesGet401JSONResponse ¶
type V1OrganizationRolesGet401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationRolesGet401JSONResponse) VisitV1OrganizationRolesGetResponse ¶
func (response V1OrganizationRolesGet401JSONResponse) VisitV1OrganizationRolesGetResponse(w http.ResponseWriter) error
type V1OrganizationRolesGet403JSONResponse ¶
type V1OrganizationRolesGet403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationRolesGet403JSONResponse) VisitV1OrganizationRolesGetResponse ¶
func (response V1OrganizationRolesGet403JSONResponse) VisitV1OrganizationRolesGetResponse(w http.ResponseWriter) error
type V1OrganizationRolesGet404JSONResponse ¶
type V1OrganizationRolesGet404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationRolesGet404JSONResponse) VisitV1OrganizationRolesGetResponse ¶
func (response V1OrganizationRolesGet404JSONResponse) VisitV1OrganizationRolesGetResponse(w http.ResponseWriter) error
type V1OrganizationRolesGet500JSONResponse ¶
type V1OrganizationRolesGet500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationRolesGet500JSONResponse) VisitV1OrganizationRolesGetResponse ¶
func (response V1OrganizationRolesGet500JSONResponse) VisitV1OrganizationRolesGetResponse(w http.ResponseWriter) error
type V1OrganizationRolesGetParams ¶
type V1OrganizationRolesGetParams struct { // Offset Number of resources to skip. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // Limit Number of resources to return. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` }
V1OrganizationRolesGetParams defines parameters for V1OrganizationRolesGet.
type V1OrganizationRolesGetRequestObject ¶
type V1OrganizationRolesGetRequestObject struct { Id Id `json:"id"` Params V1OrganizationRolesGetParams }
type V1OrganizationRolesGetResponseObject ¶
type V1OrganizationRolesGetResponseObject interface {
VisitV1OrganizationRolesGetResponse(w http.ResponseWriter) error
}
type V1OrganizationUpdate200JSONResponse ¶
type V1OrganizationUpdate200JSONResponse Organization
func (V1OrganizationUpdate200JSONResponse) VisitV1OrganizationUpdateResponse ¶
func (response V1OrganizationUpdate200JSONResponse) VisitV1OrganizationUpdateResponse(w http.ResponseWriter) error
type V1OrganizationUpdate400JSONResponse ¶
type V1OrganizationUpdate400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationUpdate400JSONResponse) VisitV1OrganizationUpdateResponse ¶
func (response V1OrganizationUpdate400JSONResponse) VisitV1OrganizationUpdateResponse(w http.ResponseWriter) error
type V1OrganizationUpdate401JSONResponse ¶
type V1OrganizationUpdate401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationUpdate401JSONResponse) VisitV1OrganizationUpdateResponse ¶
func (response V1OrganizationUpdate401JSONResponse) VisitV1OrganizationUpdateResponse(w http.ResponseWriter) error
type V1OrganizationUpdate403JSONResponse ¶
type V1OrganizationUpdate403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationUpdate403JSONResponse) VisitV1OrganizationUpdateResponse ¶
func (response V1OrganizationUpdate403JSONResponse) VisitV1OrganizationUpdateResponse(w http.ResponseWriter) error
type V1OrganizationUpdate404JSONResponse ¶
type V1OrganizationUpdate404JSONResponse struct{ N404JSONResponse }
func (V1OrganizationUpdate404JSONResponse) VisitV1OrganizationUpdateResponse ¶
func (response V1OrganizationUpdate404JSONResponse) VisitV1OrganizationUpdateResponse(w http.ResponseWriter) error
type V1OrganizationUpdate500JSONResponse ¶
type V1OrganizationUpdate500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationUpdate500JSONResponse) VisitV1OrganizationUpdateResponse ¶
func (response V1OrganizationUpdate500JSONResponse) VisitV1OrganizationUpdateResponse(w http.ResponseWriter) error
type V1OrganizationUpdateJSONBody ¶
type V1OrganizationUpdateJSONBody struct { // Email Email address of the organization. Email *openapi_types.Email `json:"email,omitempty"` // Logo Logo of the organization. Logo *string `json:"logo,omitempty"` // Name Name of the organization. Name *string `json:"name,omitempty"` // Status Status of the organization. Status *OrganizationStatus `json:"status,omitempty"` // Website Work title of the user. Website *string `json:"website,omitempty"` }
V1OrganizationUpdateJSONBody defines parameters for V1OrganizationUpdate.
type V1OrganizationUpdateJSONRequestBody ¶
type V1OrganizationUpdateJSONRequestBody V1OrganizationUpdateJSONBody
V1OrganizationUpdateJSONRequestBody defines body for V1OrganizationUpdate for application/json ContentType.
type V1OrganizationUpdateRequestObject ¶
type V1OrganizationUpdateRequestObject struct { Id Id `json:"id"` Body *V1OrganizationUpdateJSONRequestBody }
type V1OrganizationUpdateResponseObject ¶
type V1OrganizationUpdateResponseObject interface {
VisitV1OrganizationUpdateResponse(w http.ResponseWriter) error
}
type V1OrganizationsCreate201JSONResponse ¶
type V1OrganizationsCreate201JSONResponse struct{ N201JSONResponse }
func (V1OrganizationsCreate201JSONResponse) VisitV1OrganizationsCreateResponse ¶
func (response V1OrganizationsCreate201JSONResponse) VisitV1OrganizationsCreateResponse(w http.ResponseWriter) error
type V1OrganizationsCreate400JSONResponse ¶
type V1OrganizationsCreate400JSONResponse struct{ N400JSONResponse }
func (V1OrganizationsCreate400JSONResponse) VisitV1OrganizationsCreateResponse ¶
func (response V1OrganizationsCreate400JSONResponse) VisitV1OrganizationsCreateResponse(w http.ResponseWriter) error
type V1OrganizationsCreate401JSONResponse ¶
type V1OrganizationsCreate401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationsCreate401JSONResponse) VisitV1OrganizationsCreateResponse ¶
func (response V1OrganizationsCreate401JSONResponse) VisitV1OrganizationsCreateResponse(w http.ResponseWriter) error
type V1OrganizationsCreate403JSONResponse ¶
type V1OrganizationsCreate403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationsCreate403JSONResponse) VisitV1OrganizationsCreateResponse ¶
func (response V1OrganizationsCreate403JSONResponse) VisitV1OrganizationsCreateResponse(w http.ResponseWriter) error
type V1OrganizationsCreate500JSONResponse ¶
type V1OrganizationsCreate500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationsCreate500JSONResponse) VisitV1OrganizationsCreateResponse ¶
func (response V1OrganizationsCreate500JSONResponse) VisitV1OrganizationsCreateResponse(w http.ResponseWriter) error
type V1OrganizationsCreateJSONBody ¶
type V1OrganizationsCreateJSONBody struct { // Email Email address of the organization. Email openapi_types.Email `json:"email"` // Logo Logo of the organization. Logo *string `json:"logo,omitempty"` // Name Name of the organization. Name string `json:"name"` // Website Work title of the user. Website *string `json:"website,omitempty"` }
V1OrganizationsCreateJSONBody defines parameters for V1OrganizationsCreate.
type V1OrganizationsCreateJSONRequestBody ¶
type V1OrganizationsCreateJSONRequestBody V1OrganizationsCreateJSONBody
V1OrganizationsCreateJSONRequestBody defines body for V1OrganizationsCreate for application/json ContentType.
type V1OrganizationsCreateRequestObject ¶
type V1OrganizationsCreateRequestObject struct {
Body *V1OrganizationsCreateJSONRequestBody
}
type V1OrganizationsCreateResponseObject ¶
type V1OrganizationsCreateResponseObject interface {
VisitV1OrganizationsCreateResponse(w http.ResponseWriter) error
}
type V1OrganizationsGet200JSONResponse ¶
type V1OrganizationsGet200JSONResponse []Organization
func (V1OrganizationsGet200JSONResponse) VisitV1OrganizationsGetResponse ¶
func (response V1OrganizationsGet200JSONResponse) VisitV1OrganizationsGetResponse(w http.ResponseWriter) error
type V1OrganizationsGet401JSONResponse ¶
type V1OrganizationsGet401JSONResponse struct{ N401JSONResponse }
func (V1OrganizationsGet401JSONResponse) VisitV1OrganizationsGetResponse ¶
func (response V1OrganizationsGet401JSONResponse) VisitV1OrganizationsGetResponse(w http.ResponseWriter) error
type V1OrganizationsGet403JSONResponse ¶
type V1OrganizationsGet403JSONResponse struct{ N403JSONResponse }
func (V1OrganizationsGet403JSONResponse) VisitV1OrganizationsGetResponse ¶
func (response V1OrganizationsGet403JSONResponse) VisitV1OrganizationsGetResponse(w http.ResponseWriter) error
type V1OrganizationsGet500JSONResponse ¶
type V1OrganizationsGet500JSONResponse struct{ N500JSONResponse }
func (V1OrganizationsGet500JSONResponse) VisitV1OrganizationsGetResponse ¶
func (response V1OrganizationsGet500JSONResponse) VisitV1OrganizationsGetResponse(w http.ResponseWriter) error
type V1OrganizationsGetParams ¶
type V1OrganizationsGetParams struct { // Offset Number of resources to skip. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // Limit Number of resources to return. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` }
V1OrganizationsGetParams defines parameters for V1OrganizationsGet.
type V1OrganizationsGetRequestObject ¶
type V1OrganizationsGetRequestObject struct {
Params V1OrganizationsGetParams
}
type V1OrganizationsGetResponseObject ¶
type V1OrganizationsGetResponseObject interface {
VisitV1OrganizationsGetResponse(w http.ResponseWriter) error
}
type V1PermissionDelete204Response ¶
type V1PermissionDelete204Response struct { }
func (V1PermissionDelete204Response) VisitV1PermissionDeleteResponse ¶
func (response V1PermissionDelete204Response) VisitV1PermissionDeleteResponse(w http.ResponseWriter) error
type V1PermissionDelete400JSONResponse ¶
type V1PermissionDelete400JSONResponse struct{ N400JSONResponse }
func (V1PermissionDelete400JSONResponse) VisitV1PermissionDeleteResponse ¶
func (response V1PermissionDelete400JSONResponse) VisitV1PermissionDeleteResponse(w http.ResponseWriter) error
type V1PermissionDelete401JSONResponse ¶
type V1PermissionDelete401JSONResponse struct{ N401JSONResponse }
func (V1PermissionDelete401JSONResponse) VisitV1PermissionDeleteResponse ¶
func (response V1PermissionDelete401JSONResponse) VisitV1PermissionDeleteResponse(w http.ResponseWriter) error
type V1PermissionDelete403JSONResponse ¶
type V1PermissionDelete403JSONResponse struct{ N403JSONResponse }
func (V1PermissionDelete403JSONResponse) VisitV1PermissionDeleteResponse ¶
func (response V1PermissionDelete403JSONResponse) VisitV1PermissionDeleteResponse(w http.ResponseWriter) error
type V1PermissionDelete404JSONResponse ¶
type V1PermissionDelete404JSONResponse struct{ N404JSONResponse }
func (V1PermissionDelete404JSONResponse) VisitV1PermissionDeleteResponse ¶
func (response V1PermissionDelete404JSONResponse) VisitV1PermissionDeleteResponse(w http.ResponseWriter) error
type V1PermissionDelete500JSONResponse ¶
type V1PermissionDelete500JSONResponse struct{ N500JSONResponse }
func (V1PermissionDelete500JSONResponse) VisitV1PermissionDeleteResponse ¶
func (response V1PermissionDelete500JSONResponse) VisitV1PermissionDeleteResponse(w http.ResponseWriter) error
type V1PermissionDeleteRequestObject ¶
type V1PermissionDeleteRequestObject struct {
Id Id `json:"id"`
}
type V1PermissionDeleteResponseObject ¶
type V1PermissionDeleteResponseObject interface {
VisitV1PermissionDeleteResponse(w http.ResponseWriter) error
}
type V1PermissionGet200JSONResponse ¶
type V1PermissionGet200JSONResponse Permission
func (V1PermissionGet200JSONResponse) VisitV1PermissionGetResponse ¶
func (response V1PermissionGet200JSONResponse) VisitV1PermissionGetResponse(w http.ResponseWriter) error
type V1PermissionGet400JSONResponse ¶
type V1PermissionGet400JSONResponse struct{ N400JSONResponse }
func (V1PermissionGet400JSONResponse) VisitV1PermissionGetResponse ¶
func (response V1PermissionGet400JSONResponse) VisitV1PermissionGetResponse(w http.ResponseWriter) error
type V1PermissionGet401JSONResponse ¶
type V1PermissionGet401JSONResponse struct{ N401JSONResponse }
func (V1PermissionGet401JSONResponse) VisitV1PermissionGetResponse ¶
func (response V1PermissionGet401JSONResponse) VisitV1PermissionGetResponse(w http.ResponseWriter) error
type V1PermissionGet404JSONResponse ¶
type V1PermissionGet404JSONResponse struct{ N404JSONResponse }
func (V1PermissionGet404JSONResponse) VisitV1PermissionGetResponse ¶
func (response V1PermissionGet404JSONResponse) VisitV1PermissionGetResponse(w http.ResponseWriter) error
type V1PermissionGet500JSONResponse ¶
type V1PermissionGet500JSONResponse struct{ N500JSONResponse }
func (V1PermissionGet500JSONResponse) VisitV1PermissionGetResponse ¶
func (response V1PermissionGet500JSONResponse) VisitV1PermissionGetResponse(w http.ResponseWriter) error
type V1PermissionGetRequestObject ¶
type V1PermissionGetRequestObject struct {
Id Id `json:"id"`
}
type V1PermissionGetResponseObject ¶
type V1PermissionGetResponseObject interface {
VisitV1PermissionGetResponse(w http.ResponseWriter) error
}
type V1PermissionHasRelations200JSONResponse ¶
type V1PermissionHasRelations200JSONResponse bool
func (V1PermissionHasRelations200JSONResponse) VisitV1PermissionHasRelationsResponse ¶
func (response V1PermissionHasRelations200JSONResponse) VisitV1PermissionHasRelationsResponse(w http.ResponseWriter) error
type V1PermissionHasRelations400JSONResponse ¶
type V1PermissionHasRelations400JSONResponse struct{ N400JSONResponse }
func (V1PermissionHasRelations400JSONResponse) VisitV1PermissionHasRelationsResponse ¶
func (response V1PermissionHasRelations400JSONResponse) VisitV1PermissionHasRelationsResponse(w http.ResponseWriter) error
type V1PermissionHasRelations401JSONResponse ¶
type V1PermissionHasRelations401JSONResponse struct{ N401JSONResponse }
func (V1PermissionHasRelations401JSONResponse) VisitV1PermissionHasRelationsResponse ¶
func (response V1PermissionHasRelations401JSONResponse) VisitV1PermissionHasRelationsResponse(w http.ResponseWriter) error
type V1PermissionHasRelations404JSONResponse ¶
type V1PermissionHasRelations404JSONResponse struct{ N404JSONResponse }
func (V1PermissionHasRelations404JSONResponse) VisitV1PermissionHasRelationsResponse ¶
func (response V1PermissionHasRelations404JSONResponse) VisitV1PermissionHasRelationsResponse(w http.ResponseWriter) error
type V1PermissionHasRelations500JSONResponse ¶
type V1PermissionHasRelations500JSONResponse struct{ N500JSONResponse }
func (V1PermissionHasRelations500JSONResponse) VisitV1PermissionHasRelationsResponse ¶
func (response V1PermissionHasRelations500JSONResponse) VisitV1PermissionHasRelationsResponse(w http.ResponseWriter) error
type V1PermissionHasRelationsRequestObject ¶
type V1PermissionHasRelationsRequestObject struct {
ResourceId ResourceId `json:"resourceId"`
}
type V1PermissionHasRelationsResponseObject ¶
type V1PermissionHasRelationsResponseObject interface {
VisitV1PermissionHasRelationsResponse(w http.ResponseWriter) error
}
type V1PermissionHasSystemRole200JSONResponse ¶
type V1PermissionHasSystemRole200JSONResponse bool
func (V1PermissionHasSystemRole200JSONResponse) VisitV1PermissionHasSystemRoleResponse ¶
func (response V1PermissionHasSystemRole200JSONResponse) VisitV1PermissionHasSystemRoleResponse(w http.ResponseWriter) error
type V1PermissionHasSystemRole400JSONResponse ¶
type V1PermissionHasSystemRole400JSONResponse struct{ N400JSONResponse }
func (V1PermissionHasSystemRole400JSONResponse) VisitV1PermissionHasSystemRoleResponse ¶
func (response V1PermissionHasSystemRole400JSONResponse) VisitV1PermissionHasSystemRoleResponse(w http.ResponseWriter) error
type V1PermissionHasSystemRole401JSONResponse ¶
type V1PermissionHasSystemRole401JSONResponse struct{ N401JSONResponse }
func (V1PermissionHasSystemRole401JSONResponse) VisitV1PermissionHasSystemRoleResponse ¶
func (response V1PermissionHasSystemRole401JSONResponse) VisitV1PermissionHasSystemRoleResponse(w http.ResponseWriter) error
type V1PermissionHasSystemRole500JSONResponse ¶
type V1PermissionHasSystemRole500JSONResponse struct{ N500JSONResponse }
func (V1PermissionHasSystemRole500JSONResponse) VisitV1PermissionHasSystemRoleResponse ¶
func (response V1PermissionHasSystemRole500JSONResponse) VisitV1PermissionHasSystemRoleResponse(w http.ResponseWriter) error
type V1PermissionHasSystemRoleParams ¶
type V1PermissionHasSystemRoleParams struct { // Roles ID of a role. Roles Roles `form:"roles" json:"roles"` }
V1PermissionHasSystemRoleParams defines parameters for V1PermissionHasSystemRole.
type V1PermissionHasSystemRoleParamsRoles ¶
type V1PermissionHasSystemRoleParamsRoles string
V1PermissionHasSystemRoleParamsRoles defines parameters for V1PermissionHasSystemRole.
const ( V1PermissionHasSystemRoleParamsRolesAdmin V1PermissionHasSystemRoleParamsRoles = "Admin" V1PermissionHasSystemRoleParamsRolesOwner V1PermissionHasSystemRoleParamsRoles = "Owner" V1PermissionHasSystemRoleParamsRolesSupport V1PermissionHasSystemRoleParamsRoles = "Support" )
Defines values for V1PermissionHasSystemRoleParamsRoles.
type V1PermissionHasSystemRoleRequestObject ¶
type V1PermissionHasSystemRoleRequestObject struct {
Params V1PermissionHasSystemRoleParams
}
type V1PermissionHasSystemRoleResponseObject ¶
type V1PermissionHasSystemRoleResponseObject interface {
VisitV1PermissionHasSystemRoleResponse(w http.ResponseWriter) error
}
type V1PermissionResourceGet200JSONResponse ¶
type V1PermissionResourceGet200JSONResponse []Permission
func (V1PermissionResourceGet200JSONResponse) VisitV1PermissionResourceGetResponse ¶
func (response V1PermissionResourceGet200JSONResponse) VisitV1PermissionResourceGetResponse(w http.ResponseWriter) error
type V1PermissionResourceGet400JSONResponse ¶
type V1PermissionResourceGet400JSONResponse struct{ N400JSONResponse }
func (V1PermissionResourceGet400JSONResponse) VisitV1PermissionResourceGetResponse ¶
func (response V1PermissionResourceGet400JSONResponse) VisitV1PermissionResourceGetResponse(w http.ResponseWriter) error
type V1PermissionResourceGet401JSONResponse ¶
type V1PermissionResourceGet401JSONResponse struct{ N401JSONResponse }
func (V1PermissionResourceGet401JSONResponse) VisitV1PermissionResourceGetResponse ¶
func (response V1PermissionResourceGet401JSONResponse) VisitV1PermissionResourceGetResponse(w http.ResponseWriter) error
type V1PermissionResourceGet403JSONResponse ¶
type V1PermissionResourceGet403JSONResponse struct{ N403JSONResponse }
func (V1PermissionResourceGet403JSONResponse) VisitV1PermissionResourceGetResponse ¶
func (response V1PermissionResourceGet403JSONResponse) VisitV1PermissionResourceGetResponse(w http.ResponseWriter) error
type V1PermissionResourceGet404JSONResponse ¶
type V1PermissionResourceGet404JSONResponse struct{ N404JSONResponse }
func (V1PermissionResourceGet404JSONResponse) VisitV1PermissionResourceGetResponse ¶
func (response V1PermissionResourceGet404JSONResponse) VisitV1PermissionResourceGetResponse(w http.ResponseWriter) error
type V1PermissionResourceGet500JSONResponse ¶
type V1PermissionResourceGet500JSONResponse struct{ N500JSONResponse }
func (V1PermissionResourceGet500JSONResponse) VisitV1PermissionResourceGetResponse ¶
func (response V1PermissionResourceGet500JSONResponse) VisitV1PermissionResourceGetResponse(w http.ResponseWriter) error
type V1PermissionResourceGetRequestObject ¶
type V1PermissionResourceGetRequestObject struct {
ResourceId ResourceId `json:"resourceId"`
}
type V1PermissionResourceGetResponseObject ¶
type V1PermissionResourceGetResponseObject interface {
VisitV1PermissionResourceGetResponse(w http.ResponseWriter) error
}
type V1PermissionUpdate200JSONResponse ¶
type V1PermissionUpdate200JSONResponse Permission
func (V1PermissionUpdate200JSONResponse) VisitV1PermissionUpdateResponse ¶
func (response V1PermissionUpdate200JSONResponse) VisitV1PermissionUpdateResponse(w http.ResponseWriter) error
type V1PermissionUpdate400JSONResponse ¶
type V1PermissionUpdate400JSONResponse struct{ N400JSONResponse }
func (V1PermissionUpdate400JSONResponse) VisitV1PermissionUpdateResponse ¶
func (response V1PermissionUpdate400JSONResponse) VisitV1PermissionUpdateResponse(w http.ResponseWriter) error
type V1PermissionUpdate401JSONResponse ¶
type V1PermissionUpdate401JSONResponse struct{ N401JSONResponse }
func (V1PermissionUpdate401JSONResponse) VisitV1PermissionUpdateResponse ¶
func (response V1PermissionUpdate401JSONResponse) VisitV1PermissionUpdateResponse(w http.ResponseWriter) error
type V1PermissionUpdate403JSONResponse ¶
type V1PermissionUpdate403JSONResponse struct{ N403JSONResponse }
func (V1PermissionUpdate403JSONResponse) VisitV1PermissionUpdateResponse ¶
func (response V1PermissionUpdate403JSONResponse) VisitV1PermissionUpdateResponse(w http.ResponseWriter) error
type V1PermissionUpdate404JSONResponse ¶
type V1PermissionUpdate404JSONResponse struct{ N404JSONResponse }
func (V1PermissionUpdate404JSONResponse) VisitV1PermissionUpdateResponse ¶
func (response V1PermissionUpdate404JSONResponse) VisitV1PermissionUpdateResponse(w http.ResponseWriter) error
type V1PermissionUpdate500JSONResponse ¶
type V1PermissionUpdate500JSONResponse struct{ N500JSONResponse }
func (V1PermissionUpdate500JSONResponse) VisitV1PermissionUpdateResponse ¶
func (response V1PermissionUpdate500JSONResponse) VisitV1PermissionUpdateResponse(w http.ResponseWriter) error
type V1PermissionUpdateJSONBody ¶
type V1PermissionUpdateJSONBody struct { // Kind Kind of a permission. Kind PermissionKind `json:"kind"` }
V1PermissionUpdateJSONBody defines parameters for V1PermissionUpdate.
type V1PermissionUpdateJSONRequestBody ¶
type V1PermissionUpdateJSONRequestBody V1PermissionUpdateJSONBody
V1PermissionUpdateJSONRequestBody defines body for V1PermissionUpdate for application/json ContentType.
type V1PermissionUpdateRequestObject ¶
type V1PermissionUpdateRequestObject struct { Id Id `json:"id"` Body *V1PermissionUpdateJSONRequestBody }
type V1PermissionUpdateResponseObject ¶
type V1PermissionUpdateResponseObject interface {
VisitV1PermissionUpdateResponse(w http.ResponseWriter) error
}
type V1PermissionsCreate201JSONResponse ¶
type V1PermissionsCreate201JSONResponse struct{ N201JSONResponse }
func (V1PermissionsCreate201JSONResponse) VisitV1PermissionsCreateResponse ¶
func (response V1PermissionsCreate201JSONResponse) VisitV1PermissionsCreateResponse(w http.ResponseWriter) error
type V1PermissionsCreate400JSONResponse ¶
type V1PermissionsCreate400JSONResponse struct{ N400JSONResponse }
func (V1PermissionsCreate400JSONResponse) VisitV1PermissionsCreateResponse ¶
func (response V1PermissionsCreate400JSONResponse) VisitV1PermissionsCreateResponse(w http.ResponseWriter) error
type V1PermissionsCreate401JSONResponse ¶
type V1PermissionsCreate401JSONResponse struct{ N401JSONResponse }
func (V1PermissionsCreate401JSONResponse) VisitV1PermissionsCreateResponse ¶
func (response V1PermissionsCreate401JSONResponse) VisitV1PermissionsCreateResponse(w http.ResponseWriter) error
type V1PermissionsCreate403JSONResponse ¶
type V1PermissionsCreate403JSONResponse struct{ N403JSONResponse }
func (V1PermissionsCreate403JSONResponse) VisitV1PermissionsCreateResponse ¶
func (response V1PermissionsCreate403JSONResponse) VisitV1PermissionsCreateResponse(w http.ResponseWriter) error
type V1PermissionsCreate500JSONResponse ¶
type V1PermissionsCreate500JSONResponse struct{ N500JSONResponse }
func (V1PermissionsCreate500JSONResponse) VisitV1PermissionsCreateResponse ¶
func (response V1PermissionsCreate500JSONResponse) VisitV1PermissionsCreateResponse(w http.ResponseWriter) error
type V1PermissionsCreateJSONBody ¶
type V1PermissionsCreateJSONBody struct { // Kind Kind of a permission. Kind PermissionKind `json:"kind"` Subject struct { Id string `json:"id"` ResourceType ResourceType `json:"resourceType"` } `json:"subject"` Target struct { Id string `json:"id"` ResourceType ResourceType `json:"resourceType"` } `json:"target"` }
V1PermissionsCreateJSONBody defines parameters for V1PermissionsCreate.
type V1PermissionsCreateJSONRequestBody ¶
type V1PermissionsCreateJSONRequestBody V1PermissionsCreateJSONBody
V1PermissionsCreateJSONRequestBody defines body for V1PermissionsCreate for application/json ContentType.
type V1PermissionsCreateRequestObject ¶
type V1PermissionsCreateRequestObject struct {
Body *V1PermissionsCreateJSONRequestBody
}
type V1PermissionsCreateResponseObject ¶
type V1PermissionsCreateResponseObject interface {
VisitV1PermissionsCreateResponse(w http.ResponseWriter) error
}
type V1SystemHealth200JSONResponse ¶
type V1SystemHealth200JSONResponse SystemHealth
func (V1SystemHealth200JSONResponse) VisitV1SystemHealthResponse ¶
func (response V1SystemHealth200JSONResponse) VisitV1SystemHealthResponse(w http.ResponseWriter) error
type V1SystemHealth500JSONResponse ¶
type V1SystemHealth500JSONResponse struct{ N500JSONResponse }
func (V1SystemHealth500JSONResponse) VisitV1SystemHealthResponse ¶
func (response V1SystemHealth500JSONResponse) VisitV1SystemHealthResponse(w http.ResponseWriter) error
type V1SystemHealthRequestObject ¶
type V1SystemHealthRequestObject struct { }
type V1SystemHealthResponseObject ¶
type V1SystemHealthResponseObject interface {
VisitV1SystemHealthResponse(w http.ResponseWriter) error
}
type V1SystemHeartbeat200TextResponse ¶
type V1SystemHeartbeat200TextResponse string
func (V1SystemHeartbeat200TextResponse) VisitV1SystemHeartbeatResponse ¶
func (response V1SystemHeartbeat200TextResponse) VisitV1SystemHeartbeatResponse(w http.ResponseWriter) error
type V1SystemHeartbeat500JSONResponse ¶
type V1SystemHeartbeat500JSONResponse struct{ N500JSONResponse }
func (V1SystemHeartbeat500JSONResponse) VisitV1SystemHeartbeatResponse ¶
func (response V1SystemHeartbeat500JSONResponse) VisitV1SystemHeartbeatResponse(w http.ResponseWriter) error
type V1SystemHeartbeatRequestObject ¶
type V1SystemHeartbeatRequestObject struct { }
type V1SystemHeartbeatResponseObject ¶
type V1SystemHeartbeatResponseObject interface {
VisitV1SystemHeartbeatResponse(w http.ResponseWriter) error
}
type V1SystemLicense200JSONResponse ¶
type V1SystemLicense200JSONResponse SystemLicense
func (V1SystemLicense200JSONResponse) VisitV1SystemLicenseResponse ¶
func (response V1SystemLicense200JSONResponse) VisitV1SystemLicenseResponse(w http.ResponseWriter) error
type V1SystemLicense403JSONResponse ¶
type V1SystemLicense403JSONResponse struct{ N403JSONResponse }
func (V1SystemLicense403JSONResponse) VisitV1SystemLicenseResponse ¶
func (response V1SystemLicense403JSONResponse) VisitV1SystemLicenseResponse(w http.ResponseWriter) error
type V1SystemLicense500JSONResponse ¶
type V1SystemLicense500JSONResponse struct{ N500JSONResponse }
func (V1SystemLicense500JSONResponse) VisitV1SystemLicenseResponse ¶
func (response V1SystemLicense500JSONResponse) VisitV1SystemLicenseResponse(w http.ResponseWriter) error
type V1SystemLicenseRequestObject ¶
type V1SystemLicenseRequestObject struct { }
type V1SystemLicenseResponseObject ¶
type V1SystemLicenseResponseObject interface {
VisitV1SystemLicenseResponse(w http.ResponseWriter) error
}
type V1SystemVersion200JSONResponse ¶
type V1SystemVersion200JSONResponse SystemVersion
func (V1SystemVersion200JSONResponse) VisitV1SystemVersionResponse ¶
func (response V1SystemVersion200JSONResponse) VisitV1SystemVersionResponse(w http.ResponseWriter) error
type V1SystemVersion500JSONResponse ¶
type V1SystemVersion500JSONResponse struct{ N500JSONResponse }
func (V1SystemVersion500JSONResponse) VisitV1SystemVersionResponse ¶
func (response V1SystemVersion500JSONResponse) VisitV1SystemVersionResponse(w http.ResponseWriter) error
type V1SystemVersionRequestObject ¶
type V1SystemVersionRequestObject struct { }
type V1SystemVersionResponseObject ¶
type V1SystemVersionResponseObject interface {
VisitV1SystemVersionResponse(w http.ResponseWriter) error
}
type V1TodoDelete204Response ¶
type V1TodoDelete204Response struct { }
func (V1TodoDelete204Response) VisitV1TodoDeleteResponse ¶
func (response V1TodoDelete204Response) VisitV1TodoDeleteResponse(w http.ResponseWriter) error
type V1TodoDelete400JSONResponse ¶
type V1TodoDelete400JSONResponse struct{ N400JSONResponse }
func (V1TodoDelete400JSONResponse) VisitV1TodoDeleteResponse ¶
func (response V1TodoDelete400JSONResponse) VisitV1TodoDeleteResponse(w http.ResponseWriter) error
type V1TodoDelete401JSONResponse ¶
type V1TodoDelete401JSONResponse struct{ N401JSONResponse }
func (V1TodoDelete401JSONResponse) VisitV1TodoDeleteResponse ¶
func (response V1TodoDelete401JSONResponse) VisitV1TodoDeleteResponse(w http.ResponseWriter) error
type V1TodoDelete403JSONResponse ¶
type V1TodoDelete403JSONResponse struct{ N403JSONResponse }
func (V1TodoDelete403JSONResponse) VisitV1TodoDeleteResponse ¶
func (response V1TodoDelete403JSONResponse) VisitV1TodoDeleteResponse(w http.ResponseWriter) error
type V1TodoDelete404JSONResponse ¶
type V1TodoDelete404JSONResponse struct{ N404JSONResponse }
func (V1TodoDelete404JSONResponse) VisitV1TodoDeleteResponse ¶
func (response V1TodoDelete404JSONResponse) VisitV1TodoDeleteResponse(w http.ResponseWriter) error
type V1TodoDelete500JSONResponse ¶
type V1TodoDelete500JSONResponse struct{ N500JSONResponse }
func (V1TodoDelete500JSONResponse) VisitV1TodoDeleteResponse ¶
func (response V1TodoDelete500JSONResponse) VisitV1TodoDeleteResponse(w http.ResponseWriter) error
type V1TodoDeleteRequestObject ¶
type V1TodoDeleteRequestObject struct {
Id Id `json:"id"`
}
type V1TodoDeleteResponseObject ¶
type V1TodoDeleteResponseObject interface {
VisitV1TodoDeleteResponse(w http.ResponseWriter) error
}
type V1TodoGet200JSONResponse ¶
type V1TodoGet200JSONResponse Todo
func (V1TodoGet200JSONResponse) VisitV1TodoGetResponse ¶
func (response V1TodoGet200JSONResponse) VisitV1TodoGetResponse(w http.ResponseWriter) error
type V1TodoGet400JSONResponse ¶
type V1TodoGet400JSONResponse struct{ N400JSONResponse }
func (V1TodoGet400JSONResponse) VisitV1TodoGetResponse ¶
func (response V1TodoGet400JSONResponse) VisitV1TodoGetResponse(w http.ResponseWriter) error
type V1TodoGet401JSONResponse ¶
type V1TodoGet401JSONResponse struct{ N401JSONResponse }
func (V1TodoGet401JSONResponse) VisitV1TodoGetResponse ¶
func (response V1TodoGet401JSONResponse) VisitV1TodoGetResponse(w http.ResponseWriter) error
type V1TodoGet403JSONResponse ¶
type V1TodoGet403JSONResponse struct{ N403JSONResponse }
func (V1TodoGet403JSONResponse) VisitV1TodoGetResponse ¶
func (response V1TodoGet403JSONResponse) VisitV1TodoGetResponse(w http.ResponseWriter) error
type V1TodoGet404JSONResponse ¶
type V1TodoGet404JSONResponse struct{ N404JSONResponse }
func (V1TodoGet404JSONResponse) VisitV1TodoGetResponse ¶
func (response V1TodoGet404JSONResponse) VisitV1TodoGetResponse(w http.ResponseWriter) error
type V1TodoGet500JSONResponse ¶
type V1TodoGet500JSONResponse struct{ N500JSONResponse }
func (V1TodoGet500JSONResponse) VisitV1TodoGetResponse ¶
func (response V1TodoGet500JSONResponse) VisitV1TodoGetResponse(w http.ResponseWriter) error
type V1TodoGetRequestObject ¶
type V1TodoGetRequestObject struct {
Id Id `json:"id"`
}
type V1TodoGetResponseObject ¶
type V1TodoGetResponseObject interface {
VisitV1TodoGetResponse(w http.ResponseWriter) error
}
type V1TodoUpdate200JSONResponse ¶
type V1TodoUpdate200JSONResponse Todo
func (V1TodoUpdate200JSONResponse) VisitV1TodoUpdateResponse ¶
func (response V1TodoUpdate200JSONResponse) VisitV1TodoUpdateResponse(w http.ResponseWriter) error
type V1TodoUpdate400JSONResponse ¶
type V1TodoUpdate400JSONResponse struct{ N400JSONResponse }
func (V1TodoUpdate400JSONResponse) VisitV1TodoUpdateResponse ¶
func (response V1TodoUpdate400JSONResponse) VisitV1TodoUpdateResponse(w http.ResponseWriter) error
type V1TodoUpdate401JSONResponse ¶
type V1TodoUpdate401JSONResponse struct{ N401JSONResponse }
func (V1TodoUpdate401JSONResponse) VisitV1TodoUpdateResponse ¶
func (response V1TodoUpdate401JSONResponse) VisitV1TodoUpdateResponse(w http.ResponseWriter) error
type V1TodoUpdate403JSONResponse ¶
type V1TodoUpdate403JSONResponse struct{ N403JSONResponse }
func (V1TodoUpdate403JSONResponse) VisitV1TodoUpdateResponse ¶
func (response V1TodoUpdate403JSONResponse) VisitV1TodoUpdateResponse(w http.ResponseWriter) error
type V1TodoUpdate404JSONResponse ¶
type V1TodoUpdate404JSONResponse struct{ N404JSONResponse }
func (V1TodoUpdate404JSONResponse) VisitV1TodoUpdateResponse ¶
func (response V1TodoUpdate404JSONResponse) VisitV1TodoUpdateResponse(w http.ResponseWriter) error
type V1TodoUpdate500JSONResponse ¶
type V1TodoUpdate500JSONResponse struct{ N500JSONResponse }
func (V1TodoUpdate500JSONResponse) VisitV1TodoUpdateResponse ¶
func (response V1TodoUpdate500JSONResponse) VisitV1TodoUpdateResponse(w http.ResponseWriter) error
type V1TodoUpdateJSONBody ¶
type V1TodoUpdateJSONBody struct { // Completed Completion status of the todo item. Completed *bool `json:"completed,omitempty"` // Description Description of the todo item. Description Optional[string] `json:"description"` // DueDate Completion due date of the todo item. DueDate Optional[*time.Time] `json:"due_date"` // OwnedBy ID of the user who owns the todo item. OwnedBy *string `json:"owned_by,omitempty"` // Priority Priority of the todo item. Priority *TodoPriority `json:"priority,omitempty"` // Title Title of the todo item. Title *string `json:"title,omitempty"` }
V1TodoUpdateJSONBody defines parameters for V1TodoUpdate.
type V1TodoUpdateJSONRequestBody ¶
type V1TodoUpdateJSONRequestBody V1TodoUpdateJSONBody
V1TodoUpdateJSONRequestBody defines body for V1TodoUpdate for application/json ContentType.
type V1TodoUpdateRequestObject ¶
type V1TodoUpdateRequestObject struct { Id Id `json:"id"` Body *V1TodoUpdateJSONRequestBody }
type V1TodoUpdateResponseObject ¶
type V1TodoUpdateResponseObject interface {
VisitV1TodoUpdateResponse(w http.ResponseWriter) error
}
type V1TodosCreate201JSONResponse ¶
type V1TodosCreate201JSONResponse struct{ N201JSONResponse }
func (V1TodosCreate201JSONResponse) VisitV1TodosCreateResponse ¶
func (response V1TodosCreate201JSONResponse) VisitV1TodosCreateResponse(w http.ResponseWriter) error
type V1TodosCreate400JSONResponse ¶
type V1TodosCreate400JSONResponse struct{ N400JSONResponse }
func (V1TodosCreate400JSONResponse) VisitV1TodosCreateResponse ¶
func (response V1TodosCreate400JSONResponse) VisitV1TodosCreateResponse(w http.ResponseWriter) error
type V1TodosCreate401JSONResponse ¶
type V1TodosCreate401JSONResponse struct{ N401JSONResponse }
func (V1TodosCreate401JSONResponse) VisitV1TodosCreateResponse ¶
func (response V1TodosCreate401JSONResponse) VisitV1TodosCreateResponse(w http.ResponseWriter) error
type V1TodosCreate403JSONResponse ¶
type V1TodosCreate403JSONResponse struct{ N403JSONResponse }
func (V1TodosCreate403JSONResponse) VisitV1TodosCreateResponse ¶
func (response V1TodosCreate403JSONResponse) VisitV1TodosCreateResponse(w http.ResponseWriter) error
type V1TodosCreate500JSONResponse ¶
type V1TodosCreate500JSONResponse struct{ N500JSONResponse }
func (V1TodosCreate500JSONResponse) VisitV1TodosCreateResponse ¶
func (response V1TodosCreate500JSONResponse) VisitV1TodosCreateResponse(w http.ResponseWriter) error
type V1TodosCreateJSONBody ¶
type V1TodosCreateJSONBody struct { // Description Description of the todo item. Description Optional[string] `json:"description"` // DueDate Completion due date of the todo item. DueDate Optional[*time.Time] `json:"due_date"` // OwnedBy ID of the user who owns the todo item. OwnedBy string `json:"owned_by"` // Priority Priority of the todo item. Priority TodoPriority `json:"priority"` // Title Title of the todo item. Title string `json:"title"` }
V1TodosCreateJSONBody defines parameters for V1TodosCreate.
type V1TodosCreateJSONRequestBody ¶
type V1TodosCreateJSONRequestBody V1TodosCreateJSONBody
V1TodosCreateJSONRequestBody defines body for V1TodosCreate for application/json ContentType.
type V1TodosCreateRequestObject ¶
type V1TodosCreateRequestObject struct {
Body *V1TodosCreateJSONRequestBody
}
type V1TodosCreateResponseObject ¶
type V1TodosCreateResponseObject interface {
VisitV1TodosCreateResponse(w http.ResponseWriter) error
}
type V1TodosGet200JSONResponse ¶
type V1TodosGet200JSONResponse []Todo
func (V1TodosGet200JSONResponse) VisitV1TodosGetResponse ¶
func (response V1TodosGet200JSONResponse) VisitV1TodosGetResponse(w http.ResponseWriter) error
type V1TodosGet401JSONResponse ¶
type V1TodosGet401JSONResponse struct{ N401JSONResponse }
func (V1TodosGet401JSONResponse) VisitV1TodosGetResponse ¶
func (response V1TodosGet401JSONResponse) VisitV1TodosGetResponse(w http.ResponseWriter) error
type V1TodosGet403JSONResponse ¶
type V1TodosGet403JSONResponse struct{ N403JSONResponse }
func (V1TodosGet403JSONResponse) VisitV1TodosGetResponse ¶
func (response V1TodosGet403JSONResponse) VisitV1TodosGetResponse(w http.ResponseWriter) error
type V1TodosGet404JSONResponse ¶
type V1TodosGet404JSONResponse struct{ N404JSONResponse }
func (V1TodosGet404JSONResponse) VisitV1TodosGetResponse ¶
func (response V1TodosGet404JSONResponse) VisitV1TodosGetResponse(w http.ResponseWriter) error
type V1TodosGet500JSONResponse ¶
type V1TodosGet500JSONResponse struct{ N500JSONResponse }
func (V1TodosGet500JSONResponse) VisitV1TodosGetResponse ¶
func (response V1TodosGet500JSONResponse) VisitV1TodosGetResponse(w http.ResponseWriter) error
type V1TodosGetParams ¶
type V1TodosGetParams struct { // Offset Number of resources to skip. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // Limit Number of resources to return. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` // Completed Completion status of the items. Completed *bool `form:"completed,omitempty" json:"completed,omitempty"` }
V1TodosGetParams defines parameters for V1TodosGet.
type V1TodosGetRequestObject ¶
type V1TodosGetRequestObject struct {
Params V1TodosGetParams
}
type V1TodosGetResponseObject ¶
type V1TodosGetResponseObject interface {
VisitV1TodosGetResponse(w http.ResponseWriter) error
}
type V1UserDelete204Response ¶
type V1UserDelete204Response struct { }
func (V1UserDelete204Response) VisitV1UserDeleteResponse ¶
func (response V1UserDelete204Response) VisitV1UserDeleteResponse(w http.ResponseWriter) error
type V1UserDelete400JSONResponse ¶
type V1UserDelete400JSONResponse struct{ N400JSONResponse }
func (V1UserDelete400JSONResponse) VisitV1UserDeleteResponse ¶
func (response V1UserDelete400JSONResponse) VisitV1UserDeleteResponse(w http.ResponseWriter) error
type V1UserDelete401JSONResponse ¶
type V1UserDelete401JSONResponse struct{ N401JSONResponse }
func (V1UserDelete401JSONResponse) VisitV1UserDeleteResponse ¶
func (response V1UserDelete401JSONResponse) VisitV1UserDeleteResponse(w http.ResponseWriter) error
type V1UserDelete403JSONResponse ¶
type V1UserDelete403JSONResponse struct{ N403JSONResponse }
func (V1UserDelete403JSONResponse) VisitV1UserDeleteResponse ¶
func (response V1UserDelete403JSONResponse) VisitV1UserDeleteResponse(w http.ResponseWriter) error
type V1UserDelete404JSONResponse ¶
type V1UserDelete404JSONResponse struct{ N404JSONResponse }
func (V1UserDelete404JSONResponse) VisitV1UserDeleteResponse ¶
func (response V1UserDelete404JSONResponse) VisitV1UserDeleteResponse(w http.ResponseWriter) error
type V1UserDelete500JSONResponse ¶
type V1UserDelete500JSONResponse struct{ N500JSONResponse }
func (V1UserDelete500JSONResponse) VisitV1UserDeleteResponse ¶
func (response V1UserDelete500JSONResponse) VisitV1UserDeleteResponse(w http.ResponseWriter) error
type V1UserDeleteParams ¶
type V1UserDeleteParams struct { // Force Irreversibly delete the user. Force *Force `form:"force,omitempty" json:"force,omitempty"` }
V1UserDeleteParams defines parameters for V1UserDelete.
type V1UserDeleteRequestObject ¶
type V1UserDeleteRequestObject struct { Id Id `json:"id"` Params V1UserDeleteParams }
type V1UserDeleteResponseObject ¶
type V1UserDeleteResponseObject interface {
VisitV1UserDeleteResponse(w http.ResponseWriter) error
}
type V1UserGet200JSONResponse ¶
type V1UserGet200JSONResponse User
func (V1UserGet200JSONResponse) VisitV1UserGetResponse ¶
func (response V1UserGet200JSONResponse) VisitV1UserGetResponse(w http.ResponseWriter) error
type V1UserGet400JSONResponse ¶
type V1UserGet400JSONResponse struct{ N400JSONResponse }
func (V1UserGet400JSONResponse) VisitV1UserGetResponse ¶
func (response V1UserGet400JSONResponse) VisitV1UserGetResponse(w http.ResponseWriter) error
type V1UserGet401JSONResponse ¶
type V1UserGet401JSONResponse struct{ N401JSONResponse }
func (V1UserGet401JSONResponse) VisitV1UserGetResponse ¶
func (response V1UserGet401JSONResponse) VisitV1UserGetResponse(w http.ResponseWriter) error
type V1UserGet403JSONResponse ¶
type V1UserGet403JSONResponse struct{ N403JSONResponse }
func (V1UserGet403JSONResponse) VisitV1UserGetResponse ¶
func (response V1UserGet403JSONResponse) VisitV1UserGetResponse(w http.ResponseWriter) error
type V1UserGet404JSONResponse ¶
type V1UserGet404JSONResponse struct{ N404JSONResponse }
func (V1UserGet404JSONResponse) VisitV1UserGetResponse ¶
func (response V1UserGet404JSONResponse) VisitV1UserGetResponse(w http.ResponseWriter) error
type V1UserGet500JSONResponse ¶
type V1UserGet500JSONResponse struct{ N500JSONResponse }
func (V1UserGet500JSONResponse) VisitV1UserGetResponse ¶
func (response V1UserGet500JSONResponse) VisitV1UserGetResponse(w http.ResponseWriter) error
type V1UserGetRequestObject ¶
type V1UserGetRequestObject struct {
Id Id `json:"id"`
}
type V1UserGetResponseObject ¶
type V1UserGetResponseObject interface {
VisitV1UserGetResponse(w http.ResponseWriter) error
}
type V1UserUpdate200JSONResponse ¶
type V1UserUpdate200JSONResponse User
func (V1UserUpdate200JSONResponse) VisitV1UserUpdateResponse ¶
func (response V1UserUpdate200JSONResponse) VisitV1UserUpdateResponse(w http.ResponseWriter) error
type V1UserUpdate400JSONResponse ¶
type V1UserUpdate400JSONResponse struct{ N400JSONResponse }
func (V1UserUpdate400JSONResponse) VisitV1UserUpdateResponse ¶
func (response V1UserUpdate400JSONResponse) VisitV1UserUpdateResponse(w http.ResponseWriter) error
type V1UserUpdate401JSONResponse ¶
type V1UserUpdate401JSONResponse struct{ N401JSONResponse }
func (V1UserUpdate401JSONResponse) VisitV1UserUpdateResponse ¶
func (response V1UserUpdate401JSONResponse) VisitV1UserUpdateResponse(w http.ResponseWriter) error
type V1UserUpdate403JSONResponse ¶
type V1UserUpdate403JSONResponse struct{ N403JSONResponse }
func (V1UserUpdate403JSONResponse) VisitV1UserUpdateResponse ¶
func (response V1UserUpdate403JSONResponse) VisitV1UserUpdateResponse(w http.ResponseWriter) error
type V1UserUpdate404JSONResponse ¶
type V1UserUpdate404JSONResponse struct{ N404JSONResponse }
func (V1UserUpdate404JSONResponse) VisitV1UserUpdateResponse ¶
func (response V1UserUpdate404JSONResponse) VisitV1UserUpdateResponse(w http.ResponseWriter) error
type V1UserUpdate500JSONResponse ¶
type V1UserUpdate500JSONResponse struct{ N500JSONResponse }
func (V1UserUpdate500JSONResponse) VisitV1UserUpdateResponse ¶
func (response V1UserUpdate500JSONResponse) VisitV1UserUpdateResponse(w http.ResponseWriter) error
type V1UserUpdateJSONBody ¶
type V1UserUpdateJSONBody struct { // Address Working address of the user. Address Optional[string] `json:"address"` // Bio Self description of the user. Bio Optional[string] `json:"bio"` // Email Email address of the user. Email *openapi_types.Email `json:"email,omitempty"` // FirstName First name of the user. FirstName Optional[string] `json:"first_name"` // Languages Languages of the user. Languages *[]Language `json:"languages,omitempty"` // LastName Last name of the user. LastName Optional[string] `json:"last_name"` // Links Links to show on profile page. Links *[]string `json:"links,omitempty"` // NewPassword New password of the user. NewPassword *string `json:"new_password,omitempty"` // Password Password of the user. Required together with the new_password field. Password *string `json:"password,omitempty"` // Phone Phone number of the user. Phone Optional[string] `json:"phone"` // Picture Profile picture of the user. Picture Optional[string] `json:"picture"` // Status Status of the user. Status *UserStatus `json:"status,omitempty"` // Title Work title of the user. Title Optional[string] `json:"title"` // Username The unique username of the user. Username *string `json:"username,omitempty"` }
V1UserUpdateJSONBody defines parameters for V1UserUpdate.
type V1UserUpdateJSONRequestBody ¶
type V1UserUpdateJSONRequestBody V1UserUpdateJSONBody
V1UserUpdateJSONRequestBody defines body for V1UserUpdate for application/json ContentType.
type V1UserUpdateRequestObject ¶
type V1UserUpdateRequestObject struct { Id Id `json:"id"` Body *V1UserUpdateJSONRequestBody }
type V1UserUpdateResponseObject ¶
type V1UserUpdateResponseObject interface {
VisitV1UserUpdateResponse(w http.ResponseWriter) error
}
type V1UsersCreate201JSONResponse ¶
type V1UsersCreate201JSONResponse struct{ N201JSONResponse }
func (V1UsersCreate201JSONResponse) VisitV1UsersCreateResponse ¶
func (response V1UsersCreate201JSONResponse) VisitV1UsersCreateResponse(w http.ResponseWriter) error
type V1UsersCreate400JSONResponse ¶
type V1UsersCreate400JSONResponse struct{ N400JSONResponse }
func (V1UsersCreate400JSONResponse) VisitV1UsersCreateResponse ¶
func (response V1UsersCreate400JSONResponse) VisitV1UsersCreateResponse(w http.ResponseWriter) error
type V1UsersCreate401JSONResponse ¶
type V1UsersCreate401JSONResponse struct{ N401JSONResponse }
func (V1UsersCreate401JSONResponse) VisitV1UsersCreateResponse ¶
func (response V1UsersCreate401JSONResponse) VisitV1UsersCreateResponse(w http.ResponseWriter) error
type V1UsersCreate403JSONResponse ¶
type V1UsersCreate403JSONResponse struct{ N403JSONResponse }
func (V1UsersCreate403JSONResponse) VisitV1UsersCreateResponse ¶
func (response V1UsersCreate403JSONResponse) VisitV1UsersCreateResponse(w http.ResponseWriter) error
type V1UsersCreate500JSONResponse ¶
type V1UsersCreate500JSONResponse struct{ N500JSONResponse }
func (V1UsersCreate500JSONResponse) VisitV1UsersCreateResponse ¶
func (response V1UsersCreate500JSONResponse) VisitV1UsersCreateResponse(w http.ResponseWriter) error
type V1UsersCreateJSONBody ¶
type V1UsersCreateJSONBody struct { // Address Working address of the user. Address *string `json:"address"` // Bio Self description of the user. Bio *string `json:"bio"` // Email Email address of the user. Email openapi_types.Email `json:"email"` // FirstName First name of the user. FirstName *string `json:"first_name"` // Languages Languages of the user. Languages *[]Language `json:"languages"` // LastName Last name of the user. LastName *string `json:"last_name"` // Links Links to show on profile page. Links *[]string `json:"links"` // Password Password of the user. Password string `json:"password"` // Phone Phone number of the user. Phone *string `json:"phone"` // Picture Profile picture of the user. Picture *string `json:"picture"` // Title Work title of the user. Title *string `json:"title"` // Username The unique username of the user. Username string `json:"username"` }
V1UsersCreateJSONBody defines parameters for V1UsersCreate.
type V1UsersCreateJSONRequestBody ¶
type V1UsersCreateJSONRequestBody V1UsersCreateJSONBody
V1UsersCreateJSONRequestBody defines body for V1UsersCreate for application/json ContentType.
type V1UsersCreateRequestObject ¶
type V1UsersCreateRequestObject struct {
Body *V1UsersCreateJSONRequestBody
}
type V1UsersCreateResponseObject ¶
type V1UsersCreateResponseObject interface {
VisitV1UsersCreateResponse(w http.ResponseWriter) error
}
type V1UsersGet200JSONResponse ¶
type V1UsersGet200JSONResponse []User
func (V1UsersGet200JSONResponse) VisitV1UsersGetResponse ¶
func (response V1UsersGet200JSONResponse) VisitV1UsersGetResponse(w http.ResponseWriter) error
type V1UsersGet401JSONResponse ¶
type V1UsersGet401JSONResponse struct{ N401JSONResponse }
func (V1UsersGet401JSONResponse) VisitV1UsersGetResponse ¶
func (response V1UsersGet401JSONResponse) VisitV1UsersGetResponse(w http.ResponseWriter) error
type V1UsersGet403JSONResponse ¶
type V1UsersGet403JSONResponse struct{ N403JSONResponse }
func (V1UsersGet403JSONResponse) VisitV1UsersGetResponse ¶
func (response V1UsersGet403JSONResponse) VisitV1UsersGetResponse(w http.ResponseWriter) error
type V1UsersGet500JSONResponse ¶
type V1UsersGet500JSONResponse struct{ N500JSONResponse }
func (V1UsersGet500JSONResponse) VisitV1UsersGetResponse ¶
func (response V1UsersGet500JSONResponse) VisitV1UsersGetResponse(w http.ResponseWriter) error
type V1UsersGetParams ¶
type V1UsersGetParams struct { // Offset Number of resources to skip. Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"` // Limit Number of resources to return. Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"` }
V1UsersGetParams defines parameters for V1UsersGet.
type V1UsersGetRequestObject ¶
type V1UsersGetRequestObject struct {
Params V1UsersGetParams
}
type V1UsersGetResponseObject ¶
type V1UsersGetResponseObject interface {
VisitV1UsersGetResponse(w http.ResponseWriter) error
}