Documentation
¶
Overview ¶
Package authbasicapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- type APIErrorResponse
- type ChangePassword204Response
- type ChangePassword401JSONResponse
- type ChangePassword403JSONResponse
- type ChangePassword500JSONResponse
- type ChangePasswordJSONBody
- type ChangePasswordJSONRequestBody
- type ChangePasswordRequestObject
- type ChangePasswordResponseObject
- type CreateGroup201JSONResponse
- type CreateGroup400JSONResponse
- type CreateGroup401JSONResponse
- type CreateGroup403JSONResponse
- type CreateGroup409JSONResponse
- type CreateGroup500JSONResponse
- type CreateGroupJSONRequestBody
- type CreateGroupRequest
- type CreateGroupRequestObject
- type CreateGroupResponseObject
- type CreateOrganisation201JSONResponse
- type CreateOrganisation400JSONResponse
- type CreateOrganisation401JSONResponse
- type CreateOrganisation403JSONResponse
- type CreateOrganisation409JSONResponse
- type CreateOrganisation500JSONResponse
- type CreateOrganisationJSONRequestBody
- type CreateOrganisationRequest
- type CreateOrganisationRequestObject
- type CreateOrganisationResponseObject
- type CreateUser201JSONResponse
- type CreateUser400JSONResponse
- type CreateUser401JSONResponse
- type CreateUser403JSONResponse
- type CreateUser409JSONResponse
- type CreateUser500JSONResponse
- type CreateUserJSONRequestBody
- type CreateUserRequest
- type CreateUserRequestObject
- type CreateUserResponseObject
- type DeleteGroup204Response
- type DeleteGroup401JSONResponse
- type DeleteGroup403JSONResponse
- type DeleteGroup500JSONResponse
- type DeleteGroupRequestObject
- type DeleteGroupResponseObject
- type DeleteOrganisation204Response
- type DeleteOrganisation401JSONResponse
- type DeleteOrganisation403JSONResponse
- type DeleteOrganisation500JSONResponse
- type DeleteOrganisationRequestObject
- type DeleteOrganisationResponseObject
- type DeleteUser204Response
- type DeleteUser401JSONResponse
- type DeleteUser403JSONResponse
- type DeleteUser500JSONResponse
- type DeleteUserRequestObject
- type DeleteUserResponseObject
- type GetGroup200JSONResponse
- type GetGroup401JSONResponse
- type GetGroup403JSONResponse
- type GetGroup404Response
- type GetGroup500JSONResponse
- type GetGroupRequestObject
- type GetGroupResponseObject
- type GetOrganisation200JSONResponse
- type GetOrganisation401JSONResponse
- type GetOrganisation403JSONResponse
- type GetOrganisation404Response
- type GetOrganisation500JSONResponse
- type GetOrganisationRequestObject
- type GetOrganisationResponseObject
- type GetUser200JSONResponse
- type GetUser401JSONResponse
- type GetUser403JSONResponse
- type GetUser404Response
- type GetUser500JSONResponse
- type GetUserGroups200JSONResponse
- type GetUserGroups401JSONResponse
- type GetUserGroups403JSONResponse
- type GetUserGroups500JSONResponse
- type GetUserGroupsRequestObject
- type GetUserGroupsResponseObject
- type GetUserRequestObject
- type GetUserResponseObject
- type Group
- type Groupid
- type InvalidParamFormatError
- type ListGroups200JSONResponse
- type ListGroups401JSONResponse
- type ListGroups403JSONResponse
- type ListGroups500JSONResponse
- type ListGroupsRequestObject
- type ListGroupsResponseObject
- type ListOrganisations200JSONResponse
- type ListOrganisations401JSONResponse
- type ListOrganisations403JSONResponse
- type ListOrganisations500JSONResponse
- type ListOrganisationsRequestObject
- type ListOrganisationsResponseObject
- type ListUsers200JSONResponse
- type ListUsers401JSONResponse
- type ListUsers403JSONResponse
- type ListUsers500JSONResponse
- type ListUsersRequestObject
- type ListUsersResponseObject
- type Login204Response
- type Login204ResponseHeaders
- type Login400JSONResponse
- type Login401JSONResponse
- type Login500JSONResponse
- type LoginJSONBody
- type LoginJSONRequestBody
- type LoginRequestObject
- type LoginResponseObject
- type Logout204Response
- type Logout401JSONResponse
- type Logout500JSONResponse
- type LogoutRequestObject
- type LogoutResponseObject
- type MiddlewareFunc
- type Organisation
- type Orgid
- type RequiredHeaderError
- type RequiredParamError
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOrganisation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteOrganisation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOrganisation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUserGroups(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOrganisations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Login(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOrganisation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateUserGroups(w http.ResponseWriter, r *http.Request)
- type StdHTTPServerOptions
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UpdateGroup200JSONResponse
- type UpdateGroup400JSONResponse
- type UpdateGroup401JSONResponse
- type UpdateGroup403JSONResponse
- type UpdateGroup404Response
- type UpdateGroup409JSONResponse
- type UpdateGroup500JSONResponse
- type UpdateGroupJSONRequestBody
- type UpdateGroupRequestObject
- type UpdateGroupResponseObject
- type UpdateOrganisation200JSONResponse
- type UpdateOrganisation400JSONResponse
- type UpdateOrganisation401JSONResponse
- type UpdateOrganisation403JSONResponse
- type UpdateOrganisation404Response
- type UpdateOrganisation409JSONResponse
- type UpdateOrganisation500JSONResponse
- type UpdateOrganisationJSONRequestBody
- type UpdateOrganisationRequestObject
- type UpdateOrganisationResponseObject
- type UpdateUser200JSONResponse
- type UpdateUser400JSONResponse
- type UpdateUser401JSONResponse
- type UpdateUser403JSONResponse
- type UpdateUser404Response
- type UpdateUser409JSONResponse
- type UpdateUser500JSONResponse
- type UpdateUserGroups200JSONResponse
- type UpdateUserGroups400JSONResponse
- type UpdateUserGroups401JSONResponse
- type UpdateUserGroups403JSONResponse
- type UpdateUserGroups500JSONResponse
- type UpdateUserGroupsJSONRequestBody
- type UpdateUserGroupsRequestObject
- type UpdateUserGroupsResponseObject
- type UpdateUserJSONRequestBody
- type UpdateUserRequestObject
- type UpdateUserResponseObject
- type User
- type UserGroups
- type Userid
Constants ¶
const (
SessionidScopes = "sessionid.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type APIErrorResponse ¶
type APIErrorResponse struct {
Errors []string `json:"errors"`
}
APIErrorResponse defines model for APIErrorResponse.
type ChangePassword204Response ¶
type ChangePassword204Response struct {
}
func (ChangePassword204Response) VisitChangePasswordResponse ¶
func (response ChangePassword204Response) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword401JSONResponse ¶
type ChangePassword401JSONResponse APIErrorResponse
func (ChangePassword401JSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword401JSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword403JSONResponse ¶
type ChangePassword403JSONResponse APIErrorResponse
func (ChangePassword403JSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword403JSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePassword500JSONResponse ¶
type ChangePassword500JSONResponse APIErrorResponse
func (ChangePassword500JSONResponse) VisitChangePasswordResponse ¶
func (response ChangePassword500JSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error
type ChangePasswordJSONBody ¶
type ChangePasswordJSONBody struct {
OldPassword string `json:"oldPassword"`
Password string `json:"password"`
}
ChangePasswordJSONBody defines parameters for ChangePassword.
type ChangePasswordJSONRequestBody ¶
type ChangePasswordJSONRequestBody ChangePasswordJSONBody
ChangePasswordJSONRequestBody defines body for ChangePassword for application/json ContentType.
type ChangePasswordRequestObject ¶
type ChangePasswordRequestObject struct {
OrgID Orgid `json:"orgID"`
UserID Userid `json:"userID"`
Body *ChangePasswordJSONRequestBody
}
type ChangePasswordResponseObject ¶
type ChangePasswordResponseObject interface {
VisitChangePasswordResponse(w http.ResponseWriter) error
}
type CreateGroup201JSONResponse ¶
type CreateGroup201JSONResponse Group
func (CreateGroup201JSONResponse) VisitCreateGroupResponse ¶
func (response CreateGroup201JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error
type CreateGroup400JSONResponse ¶
type CreateGroup400JSONResponse APIErrorResponse
func (CreateGroup400JSONResponse) VisitCreateGroupResponse ¶
func (response CreateGroup400JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error
type CreateGroup401JSONResponse ¶
type CreateGroup401JSONResponse APIErrorResponse
func (CreateGroup401JSONResponse) VisitCreateGroupResponse ¶
func (response CreateGroup401JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error
type CreateGroup403JSONResponse ¶
type CreateGroup403JSONResponse APIErrorResponse
func (CreateGroup403JSONResponse) VisitCreateGroupResponse ¶
func (response CreateGroup403JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error
type CreateGroup409JSONResponse ¶
type CreateGroup409JSONResponse APIErrorResponse
func (CreateGroup409JSONResponse) VisitCreateGroupResponse ¶
func (response CreateGroup409JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error
type CreateGroup500JSONResponse ¶
type CreateGroup500JSONResponse APIErrorResponse
func (CreateGroup500JSONResponse) VisitCreateGroupResponse ¶
func (response CreateGroup500JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error
type CreateGroupJSONRequestBody ¶
type CreateGroupJSONRequestBody = CreateGroupRequest
CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.
type CreateGroupRequest ¶
type CreateGroupRequest struct {
Name string `json:"name"`
}
CreateGroupRequest defines model for CreateGroupRequest.
type CreateGroupRequestObject ¶
type CreateGroupRequestObject struct {
OrgID Orgid `json:"orgID"`
Body *CreateGroupJSONRequestBody
}
type CreateGroupResponseObject ¶
type CreateGroupResponseObject interface {
VisitCreateGroupResponse(w http.ResponseWriter) error
}
type CreateOrganisation201JSONResponse ¶
type CreateOrganisation201JSONResponse struct {
AdminPassword string `json:"adminPassword"`
AdminUserId int64 `json:"adminUserId"`
AdminUsername string `json:"adminUsername"`
Id int64 `json:"id"`
Name string `json:"name"`
}
func (CreateOrganisation201JSONResponse) VisitCreateOrganisationResponse ¶
func (response CreateOrganisation201JSONResponse) VisitCreateOrganisationResponse(w http.ResponseWriter) error
type CreateOrganisation400JSONResponse ¶
type CreateOrganisation400JSONResponse APIErrorResponse
func (CreateOrganisation400JSONResponse) VisitCreateOrganisationResponse ¶
func (response CreateOrganisation400JSONResponse) VisitCreateOrganisationResponse(w http.ResponseWriter) error
type CreateOrganisation401JSONResponse ¶
type CreateOrganisation401JSONResponse APIErrorResponse
func (CreateOrganisation401JSONResponse) VisitCreateOrganisationResponse ¶
func (response CreateOrganisation401JSONResponse) VisitCreateOrganisationResponse(w http.ResponseWriter) error
type CreateOrganisation403JSONResponse ¶
type CreateOrganisation403JSONResponse APIErrorResponse
func (CreateOrganisation403JSONResponse) VisitCreateOrganisationResponse ¶
func (response CreateOrganisation403JSONResponse) VisitCreateOrganisationResponse(w http.ResponseWriter) error
type CreateOrganisation409JSONResponse ¶
type CreateOrganisation409JSONResponse APIErrorResponse
func (CreateOrganisation409JSONResponse) VisitCreateOrganisationResponse ¶
func (response CreateOrganisation409JSONResponse) VisitCreateOrganisationResponse(w http.ResponseWriter) error
type CreateOrganisation500JSONResponse ¶
type CreateOrganisation500JSONResponse APIErrorResponse
func (CreateOrganisation500JSONResponse) VisitCreateOrganisationResponse ¶
func (response CreateOrganisation500JSONResponse) VisitCreateOrganisationResponse(w http.ResponseWriter) error
type CreateOrganisationJSONRequestBody ¶
type CreateOrganisationJSONRequestBody = CreateOrganisationRequest
CreateOrganisationJSONRequestBody defines body for CreateOrganisation for application/json ContentType.
type CreateOrganisationRequest ¶
type CreateOrganisationRequest struct {
Name string `json:"name"`
}
CreateOrganisationRequest defines model for CreateOrganisationRequest.
type CreateOrganisationRequestObject ¶
type CreateOrganisationRequestObject struct {
Body *CreateOrganisationJSONRequestBody
}
type CreateOrganisationResponseObject ¶
type CreateOrganisationResponseObject interface {
VisitCreateOrganisationResponse(w http.ResponseWriter) error
}
type CreateUser201JSONResponse ¶
type CreateUser201JSONResponse User
func (CreateUser201JSONResponse) VisitCreateUserResponse ¶
func (response CreateUser201JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser400JSONResponse ¶
type CreateUser400JSONResponse APIErrorResponse
func (CreateUser400JSONResponse) VisitCreateUserResponse ¶
func (response CreateUser400JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser401JSONResponse ¶
type CreateUser401JSONResponse APIErrorResponse
func (CreateUser401JSONResponse) VisitCreateUserResponse ¶
func (response CreateUser401JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser403JSONResponse ¶
type CreateUser403JSONResponse APIErrorResponse
func (CreateUser403JSONResponse) VisitCreateUserResponse ¶
func (response CreateUser403JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser409JSONResponse ¶
type CreateUser409JSONResponse APIErrorResponse
func (CreateUser409JSONResponse) VisitCreateUserResponse ¶
func (response CreateUser409JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUser500JSONResponse ¶
type CreateUser500JSONResponse APIErrorResponse
func (CreateUser500JSONResponse) VisitCreateUserResponse ¶
func (response CreateUser500JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error
type CreateUserJSONRequestBody ¶
type CreateUserJSONRequestBody = CreateUserRequest
CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.
type CreateUserRequest ¶
CreateUserRequest defines model for CreateUserRequest.
type CreateUserRequestObject ¶
type CreateUserRequestObject struct {
OrgID Orgid `json:"orgID"`
Body *CreateUserJSONRequestBody
}
type CreateUserResponseObject ¶
type CreateUserResponseObject interface {
VisitCreateUserResponse(w http.ResponseWriter) error
}
type DeleteGroup204Response ¶
type DeleteGroup204Response struct {
}
func (DeleteGroup204Response) VisitDeleteGroupResponse ¶
func (response DeleteGroup204Response) VisitDeleteGroupResponse(w http.ResponseWriter) error
type DeleteGroup401JSONResponse ¶
type DeleteGroup401JSONResponse APIErrorResponse
func (DeleteGroup401JSONResponse) VisitDeleteGroupResponse ¶
func (response DeleteGroup401JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error
type DeleteGroup403JSONResponse ¶
type DeleteGroup403JSONResponse APIErrorResponse
func (DeleteGroup403JSONResponse) VisitDeleteGroupResponse ¶
func (response DeleteGroup403JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error
type DeleteGroup500JSONResponse ¶
type DeleteGroup500JSONResponse APIErrorResponse
func (DeleteGroup500JSONResponse) VisitDeleteGroupResponse ¶
func (response DeleteGroup500JSONResponse) VisitDeleteGroupResponse(w http.ResponseWriter) error
type DeleteGroupResponseObject ¶
type DeleteGroupResponseObject interface {
VisitDeleteGroupResponse(w http.ResponseWriter) error
}
type DeleteOrganisation204Response ¶
type DeleteOrganisation204Response struct {
}
func (DeleteOrganisation204Response) VisitDeleteOrganisationResponse ¶
func (response DeleteOrganisation204Response) VisitDeleteOrganisationResponse(w http.ResponseWriter) error
type DeleteOrganisation401JSONResponse ¶
type DeleteOrganisation401JSONResponse APIErrorResponse
func (DeleteOrganisation401JSONResponse) VisitDeleteOrganisationResponse ¶
func (response DeleteOrganisation401JSONResponse) VisitDeleteOrganisationResponse(w http.ResponseWriter) error
type DeleteOrganisation403JSONResponse ¶
type DeleteOrganisation403JSONResponse APIErrorResponse
func (DeleteOrganisation403JSONResponse) VisitDeleteOrganisationResponse ¶
func (response DeleteOrganisation403JSONResponse) VisitDeleteOrganisationResponse(w http.ResponseWriter) error
type DeleteOrganisation500JSONResponse ¶
type DeleteOrganisation500JSONResponse APIErrorResponse
func (DeleteOrganisation500JSONResponse) VisitDeleteOrganisationResponse ¶
func (response DeleteOrganisation500JSONResponse) VisitDeleteOrganisationResponse(w http.ResponseWriter) error
type DeleteOrganisationRequestObject ¶
type DeleteOrganisationRequestObject struct {
OrgID Orgid `json:"orgID"`
}
type DeleteOrganisationResponseObject ¶
type DeleteOrganisationResponseObject interface {
VisitDeleteOrganisationResponse(w http.ResponseWriter) error
}
type DeleteUser204Response ¶
type DeleteUser204Response struct {
}
func (DeleteUser204Response) VisitDeleteUserResponse ¶
func (response DeleteUser204Response) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser401JSONResponse ¶
type DeleteUser401JSONResponse APIErrorResponse
func (DeleteUser401JSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser401JSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser403JSONResponse ¶
type DeleteUser403JSONResponse APIErrorResponse
func (DeleteUser403JSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser403JSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUser500JSONResponse ¶
type DeleteUser500JSONResponse APIErrorResponse
func (DeleteUser500JSONResponse) VisitDeleteUserResponse ¶
func (response DeleteUser500JSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error
type DeleteUserRequestObject ¶
type DeleteUserResponseObject ¶
type DeleteUserResponseObject interface {
VisitDeleteUserResponse(w http.ResponseWriter) error
}
type GetGroup200JSONResponse ¶
type GetGroup200JSONResponse Group
func (GetGroup200JSONResponse) VisitGetGroupResponse ¶
func (response GetGroup200JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error
type GetGroup401JSONResponse ¶
type GetGroup401JSONResponse APIErrorResponse
func (GetGroup401JSONResponse) VisitGetGroupResponse ¶
func (response GetGroup401JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error
type GetGroup403JSONResponse ¶
type GetGroup403JSONResponse APIErrorResponse
func (GetGroup403JSONResponse) VisitGetGroupResponse ¶
func (response GetGroup403JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error
type GetGroup404Response ¶
type GetGroup404Response struct {
}
func (GetGroup404Response) VisitGetGroupResponse ¶
func (response GetGroup404Response) VisitGetGroupResponse(w http.ResponseWriter) error
type GetGroup500JSONResponse ¶
type GetGroup500JSONResponse APIErrorResponse
func (GetGroup500JSONResponse) VisitGetGroupResponse ¶
func (response GetGroup500JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error
type GetGroupRequestObject ¶
type GetGroupResponseObject ¶
type GetGroupResponseObject interface {
VisitGetGroupResponse(w http.ResponseWriter) error
}
type GetOrganisation200JSONResponse ¶
type GetOrganisation200JSONResponse Organisation
func (GetOrganisation200JSONResponse) VisitGetOrganisationResponse ¶
func (response GetOrganisation200JSONResponse) VisitGetOrganisationResponse(w http.ResponseWriter) error
type GetOrganisation401JSONResponse ¶
type GetOrganisation401JSONResponse APIErrorResponse
func (GetOrganisation401JSONResponse) VisitGetOrganisationResponse ¶
func (response GetOrganisation401JSONResponse) VisitGetOrganisationResponse(w http.ResponseWriter) error
type GetOrganisation403JSONResponse ¶
type GetOrganisation403JSONResponse APIErrorResponse
func (GetOrganisation403JSONResponse) VisitGetOrganisationResponse ¶
func (response GetOrganisation403JSONResponse) VisitGetOrganisationResponse(w http.ResponseWriter) error
type GetOrganisation404Response ¶
type GetOrganisation404Response struct {
}
func (GetOrganisation404Response) VisitGetOrganisationResponse ¶
func (response GetOrganisation404Response) VisitGetOrganisationResponse(w http.ResponseWriter) error
type GetOrganisation500JSONResponse ¶
type GetOrganisation500JSONResponse APIErrorResponse
func (GetOrganisation500JSONResponse) VisitGetOrganisationResponse ¶
func (response GetOrganisation500JSONResponse) VisitGetOrganisationResponse(w http.ResponseWriter) error
type GetOrganisationRequestObject ¶
type GetOrganisationRequestObject struct {
OrgID Orgid `json:"orgID"`
}
type GetOrganisationResponseObject ¶
type GetOrganisationResponseObject interface {
VisitGetOrganisationResponse(w http.ResponseWriter) error
}
type GetUser200JSONResponse ¶
type GetUser200JSONResponse User
func (GetUser200JSONResponse) VisitGetUserResponse ¶
func (response GetUser200JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser401JSONResponse ¶
type GetUser401JSONResponse APIErrorResponse
func (GetUser401JSONResponse) VisitGetUserResponse ¶
func (response GetUser401JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser403JSONResponse ¶
type GetUser403JSONResponse APIErrorResponse
func (GetUser403JSONResponse) VisitGetUserResponse ¶
func (response GetUser403JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser404Response ¶
type GetUser404Response struct {
}
func (GetUser404Response) VisitGetUserResponse ¶
func (response GetUser404Response) VisitGetUserResponse(w http.ResponseWriter) error
type GetUser500JSONResponse ¶
type GetUser500JSONResponse APIErrorResponse
func (GetUser500JSONResponse) VisitGetUserResponse ¶
func (response GetUser500JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error
type GetUserGroups200JSONResponse ¶
type GetUserGroups200JSONResponse UserGroups
func (GetUserGroups200JSONResponse) VisitGetUserGroupsResponse ¶
func (response GetUserGroups200JSONResponse) VisitGetUserGroupsResponse(w http.ResponseWriter) error
type GetUserGroups401JSONResponse ¶
type GetUserGroups401JSONResponse APIErrorResponse
func (GetUserGroups401JSONResponse) VisitGetUserGroupsResponse ¶
func (response GetUserGroups401JSONResponse) VisitGetUserGroupsResponse(w http.ResponseWriter) error
type GetUserGroups403JSONResponse ¶
type GetUserGroups403JSONResponse APIErrorResponse
func (GetUserGroups403JSONResponse) VisitGetUserGroupsResponse ¶
func (response GetUserGroups403JSONResponse) VisitGetUserGroupsResponse(w http.ResponseWriter) error
type GetUserGroups500JSONResponse ¶
type GetUserGroups500JSONResponse APIErrorResponse
func (GetUserGroups500JSONResponse) VisitGetUserGroupsResponse ¶
func (response GetUserGroups500JSONResponse) VisitGetUserGroupsResponse(w http.ResponseWriter) error
type GetUserGroupsResponseObject ¶
type GetUserGroupsResponseObject interface {
VisitGetUserGroupsResponse(w http.ResponseWriter) error
}
type GetUserRequestObject ¶
type GetUserResponseObject ¶
type GetUserResponseObject interface {
VisitGetUserResponse(w http.ResponseWriter) error
}
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type ListGroups200JSONResponse ¶
type ListGroups200JSONResponse []Group
func (ListGroups200JSONResponse) VisitListGroupsResponse ¶
func (response ListGroups200JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error
type ListGroups401JSONResponse ¶
type ListGroups401JSONResponse APIErrorResponse
func (ListGroups401JSONResponse) VisitListGroupsResponse ¶
func (response ListGroups401JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error
type ListGroups403JSONResponse ¶
type ListGroups403JSONResponse APIErrorResponse
func (ListGroups403JSONResponse) VisitListGroupsResponse ¶
func (response ListGroups403JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error
type ListGroups500JSONResponse ¶
type ListGroups500JSONResponse APIErrorResponse
func (ListGroups500JSONResponse) VisitListGroupsResponse ¶
func (response ListGroups500JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error
type ListGroupsRequestObject ¶
type ListGroupsRequestObject struct {
OrgID Orgid `json:"orgID"`
}
type ListGroupsResponseObject ¶
type ListGroupsResponseObject interface {
VisitListGroupsResponse(w http.ResponseWriter) error
}
type ListOrganisations200JSONResponse ¶
type ListOrganisations200JSONResponse []Organisation
func (ListOrganisations200JSONResponse) VisitListOrganisationsResponse ¶
func (response ListOrganisations200JSONResponse) VisitListOrganisationsResponse(w http.ResponseWriter) error
type ListOrganisations401JSONResponse ¶
type ListOrganisations401JSONResponse APIErrorResponse
func (ListOrganisations401JSONResponse) VisitListOrganisationsResponse ¶
func (response ListOrganisations401JSONResponse) VisitListOrganisationsResponse(w http.ResponseWriter) error
type ListOrganisations403JSONResponse ¶
type ListOrganisations403JSONResponse APIErrorResponse
func (ListOrganisations403JSONResponse) VisitListOrganisationsResponse ¶
func (response ListOrganisations403JSONResponse) VisitListOrganisationsResponse(w http.ResponseWriter) error
type ListOrganisations500JSONResponse ¶
type ListOrganisations500JSONResponse APIErrorResponse
func (ListOrganisations500JSONResponse) VisitListOrganisationsResponse ¶
func (response ListOrganisations500JSONResponse) VisitListOrganisationsResponse(w http.ResponseWriter) error
type ListOrganisationsRequestObject ¶
type ListOrganisationsRequestObject struct {
}
type ListOrganisationsResponseObject ¶
type ListOrganisationsResponseObject interface {
VisitListOrganisationsResponse(w http.ResponseWriter) error
}
type ListUsers200JSONResponse ¶
type ListUsers200JSONResponse []User
func (ListUsers200JSONResponse) VisitListUsersResponse ¶
func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsers401JSONResponse ¶
type ListUsers401JSONResponse APIErrorResponse
func (ListUsers401JSONResponse) VisitListUsersResponse ¶
func (response ListUsers401JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsers403JSONResponse ¶
type ListUsers403JSONResponse APIErrorResponse
func (ListUsers403JSONResponse) VisitListUsersResponse ¶
func (response ListUsers403JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsers500JSONResponse ¶
type ListUsers500JSONResponse APIErrorResponse
func (ListUsers500JSONResponse) VisitListUsersResponse ¶
func (response ListUsers500JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error
type ListUsersRequestObject ¶
type ListUsersRequestObject struct {
OrgID Orgid `json:"orgID"`
}
type ListUsersResponseObject ¶
type ListUsersResponseObject interface {
VisitListUsersResponse(w http.ResponseWriter) error
}
type Login204Response ¶
type Login204Response struct {
Headers Login204ResponseHeaders
}
func (Login204Response) VisitLoginResponse ¶
func (response Login204Response) VisitLoginResponse(w http.ResponseWriter) error
type Login204ResponseHeaders ¶
type Login204ResponseHeaders struct {
XKrbSession string
}
type Login400JSONResponse ¶
type Login400JSONResponse APIErrorResponse
func (Login400JSONResponse) VisitLoginResponse ¶
func (response Login400JSONResponse) VisitLoginResponse(w http.ResponseWriter) error
type Login401JSONResponse ¶
type Login401JSONResponse APIErrorResponse
func (Login401JSONResponse) VisitLoginResponse ¶
func (response Login401JSONResponse) VisitLoginResponse(w http.ResponseWriter) error
type Login500JSONResponse ¶
type Login500JSONResponse APIErrorResponse
func (Login500JSONResponse) VisitLoginResponse ¶
func (response Login500JSONResponse) VisitLoginResponse(w http.ResponseWriter) error
type LoginJSONBody ¶
LoginJSONBody defines parameters for Login.
type LoginJSONRequestBody ¶
type LoginJSONRequestBody LoginJSONBody
LoginJSONRequestBody defines body for Login for application/json ContentType.
type LoginRequestObject ¶
type LoginRequestObject struct {
OrgID Orgid `json:"orgID"`
Body *LoginJSONRequestBody
}
type LoginResponseObject ¶
type LoginResponseObject interface {
VisitLoginResponse(w http.ResponseWriter) error
}
type Logout204Response ¶
type Logout204Response struct {
}
func (Logout204Response) VisitLogoutResponse ¶
func (response Logout204Response) VisitLogoutResponse(w http.ResponseWriter) error
type Logout401JSONResponse ¶
type Logout401JSONResponse APIErrorResponse
func (Logout401JSONResponse) VisitLogoutResponse ¶
func (response Logout401JSONResponse) VisitLogoutResponse(w http.ResponseWriter) error
type Logout500JSONResponse ¶
type Logout500JSONResponse APIErrorResponse
func (Logout500JSONResponse) VisitLogoutResponse ¶
func (response Logout500JSONResponse) VisitLogoutResponse(w http.ResponseWriter) error
type LogoutRequestObject ¶
type LogoutRequestObject struct {
OrgID Orgid `json:"orgID"`
}
type LogoutResponseObject ¶
type LogoutResponseObject interface {
VisitLogoutResponse(w http.ResponseWriter) error
}
type Organisation ¶
Organisation defines model for Organisation.
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 ServeMux ¶
type ServeMux interface {
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
ServeHTTP(w http.ResponseWriter, r *http.Request)
}
ServeMux is an abstraction of http.ServeMux.
type ServerInterface ¶
type ServerInterface interface {
// (GET /api/auth/basic/organisations)
ListOrganisations(w http.ResponseWriter, r *http.Request)
// (POST /api/auth/basic/organisations)
CreateOrganisation(w http.ResponseWriter, r *http.Request)
// (DELETE /api/auth/basic/organisations/{orgID})
DeleteOrganisation(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (GET /api/auth/basic/organisations/{orgID})
GetOrganisation(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (PUT /api/auth/basic/organisations/{orgID})
UpdateOrganisation(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (GET /api/auth/basic/organisations/{orgID}/groups)
ListGroups(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (POST /api/auth/basic/organisations/{orgID}/groups)
CreateGroup(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (DELETE /api/auth/basic/organisations/{orgID}/groups/{groupID})
DeleteGroup(w http.ResponseWriter, r *http.Request, orgID Orgid, groupID Groupid)
// (GET /api/auth/basic/organisations/{orgID}/groups/{groupID})
GetGroup(w http.ResponseWriter, r *http.Request, orgID Orgid, groupID Groupid)
// (PUT /api/auth/basic/organisations/{orgID}/groups/{groupID})
UpdateGroup(w http.ResponseWriter, r *http.Request, orgID Orgid, groupID Groupid)
// (POST /api/auth/basic/organisations/{orgID}/login)
Login(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (POST /api/auth/basic/organisations/{orgID}/logout)
Logout(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (GET /api/auth/basic/organisations/{orgID}/users)
ListUsers(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (POST /api/auth/basic/organisations/{orgID}/users)
CreateUser(w http.ResponseWriter, r *http.Request, orgID Orgid)
// (DELETE /api/auth/basic/organisations/{orgID}/users/{userID})
DeleteUser(w http.ResponseWriter, r *http.Request, orgID Orgid, userID Userid)
// (GET /api/auth/basic/organisations/{orgID}/users/{userID})
GetUser(w http.ResponseWriter, r *http.Request, orgID Orgid, userID Userid)
// (PUT /api/auth/basic/organisations/{orgID}/users/{userID})
UpdateUser(w http.ResponseWriter, r *http.Request, orgID Orgid, userID Userid)
// (GET /api/auth/basic/organisations/{orgID}/users/{userID}/groups)
GetUserGroups(w http.ResponseWriter, r *http.Request, orgID Orgid, userID Userid)
// (PUT /api/auth/basic/organisations/{orgID}/users/{userID}/groups)
UpdateUserGroups(w http.ResponseWriter, r *http.Request, orgID Orgid, userID Userid)
// (PUT /api/auth/basic/organisations/{orgID}/users/{userID}/password)
ChangePassword(w http.ResponseWriter, r *http.Request, orgID Orgid, userID Userid)
}
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) ChangePassword ¶
func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)
ChangePassword operation middleware
func (*ServerInterfaceWrapper) CreateGroup ¶
func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)
CreateGroup operation middleware
func (*ServerInterfaceWrapper) CreateOrganisation ¶
func (siw *ServerInterfaceWrapper) CreateOrganisation(w http.ResponseWriter, r *http.Request)
CreateOrganisation operation middleware
func (*ServerInterfaceWrapper) CreateUser ¶
func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)
CreateUser operation middleware
func (*ServerInterfaceWrapper) DeleteGroup ¶
func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)
DeleteGroup operation middleware
func (*ServerInterfaceWrapper) DeleteOrganisation ¶
func (siw *ServerInterfaceWrapper) DeleteOrganisation(w http.ResponseWriter, r *http.Request)
DeleteOrganisation operation middleware
func (*ServerInterfaceWrapper) DeleteUser ¶
func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)
DeleteUser operation middleware
func (*ServerInterfaceWrapper) GetGroup ¶
func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)
GetGroup operation middleware
func (*ServerInterfaceWrapper) GetOrganisation ¶
func (siw *ServerInterfaceWrapper) GetOrganisation(w http.ResponseWriter, r *http.Request)
GetOrganisation operation middleware
func (*ServerInterfaceWrapper) GetUser ¶
func (siw *ServerInterfaceWrapper) GetUser(w http.ResponseWriter, r *http.Request)
GetUser operation middleware
func (*ServerInterfaceWrapper) GetUserGroups ¶
func (siw *ServerInterfaceWrapper) GetUserGroups(w http.ResponseWriter, r *http.Request)
GetUserGroups operation middleware
func (*ServerInterfaceWrapper) ListGroups ¶
func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)
ListGroups operation middleware
func (*ServerInterfaceWrapper) ListOrganisations ¶
func (siw *ServerInterfaceWrapper) ListOrganisations(w http.ResponseWriter, r *http.Request)
ListOrganisations operation middleware
func (*ServerInterfaceWrapper) ListUsers ¶
func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)
ListUsers operation middleware
func (*ServerInterfaceWrapper) Login ¶
func (siw *ServerInterfaceWrapper) Login(w http.ResponseWriter, r *http.Request)
Login operation middleware
func (*ServerInterfaceWrapper) Logout ¶
func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
Logout operation middleware
func (*ServerInterfaceWrapper) UpdateGroup ¶
func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)
UpdateGroup operation middleware
func (*ServerInterfaceWrapper) UpdateOrganisation ¶
func (siw *ServerInterfaceWrapper) UpdateOrganisation(w http.ResponseWriter, r *http.Request)
UpdateOrganisation operation middleware
func (*ServerInterfaceWrapper) UpdateUser ¶
func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)
UpdateUser operation middleware
func (*ServerInterfaceWrapper) UpdateUserGroups ¶
func (siw *ServerInterfaceWrapper) UpdateUserGroups(w http.ResponseWriter, r *http.Request)
UpdateUserGroups operation middleware
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
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 /api/auth/basic/organisations)
ListOrganisations(ctx context.Context, request ListOrganisationsRequestObject) (ListOrganisationsResponseObject, error)
// (POST /api/auth/basic/organisations)
CreateOrganisation(ctx context.Context, request CreateOrganisationRequestObject) (CreateOrganisationResponseObject, error)
// (DELETE /api/auth/basic/organisations/{orgID})
DeleteOrganisation(ctx context.Context, request DeleteOrganisationRequestObject) (DeleteOrganisationResponseObject, error)
// (GET /api/auth/basic/organisations/{orgID})
GetOrganisation(ctx context.Context, request GetOrganisationRequestObject) (GetOrganisationResponseObject, error)
// (PUT /api/auth/basic/organisations/{orgID})
UpdateOrganisation(ctx context.Context, request UpdateOrganisationRequestObject) (UpdateOrganisationResponseObject, error)
// (GET /api/auth/basic/organisations/{orgID}/groups)
ListGroups(ctx context.Context, request ListGroupsRequestObject) (ListGroupsResponseObject, error)
// (POST /api/auth/basic/organisations/{orgID}/groups)
CreateGroup(ctx context.Context, request CreateGroupRequestObject) (CreateGroupResponseObject, error)
// (DELETE /api/auth/basic/organisations/{orgID}/groups/{groupID})
DeleteGroup(ctx context.Context, request DeleteGroupRequestObject) (DeleteGroupResponseObject, error)
// (GET /api/auth/basic/organisations/{orgID}/groups/{groupID})
GetGroup(ctx context.Context, request GetGroupRequestObject) (GetGroupResponseObject, error)
// (PUT /api/auth/basic/organisations/{orgID}/groups/{groupID})
UpdateGroup(ctx context.Context, request UpdateGroupRequestObject) (UpdateGroupResponseObject, error)
// (POST /api/auth/basic/organisations/{orgID}/login)
Login(ctx context.Context, request LoginRequestObject) (LoginResponseObject, error)
// (POST /api/auth/basic/organisations/{orgID}/logout)
Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)
// (GET /api/auth/basic/organisations/{orgID}/users)
ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
// (POST /api/auth/basic/organisations/{orgID}/users)
CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)
// (DELETE /api/auth/basic/organisations/{orgID}/users/{userID})
DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)
// (GET /api/auth/basic/organisations/{orgID}/users/{userID})
GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)
// (PUT /api/auth/basic/organisations/{orgID}/users/{userID})
UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)
// (GET /api/auth/basic/organisations/{orgID}/users/{userID}/groups)
GetUserGroups(ctx context.Context, request GetUserGroupsRequestObject) (GetUserGroupsResponseObject, error)
// (PUT /api/auth/basic/organisations/{orgID}/users/{userID}/groups)
UpdateUserGroups(ctx context.Context, request UpdateUserGroupsRequestObject) (UpdateUserGroupsResponseObject, error)
// (PUT /api/auth/basic/organisations/{orgID}/users/{userID}/password)
ChangePassword(ctx context.Context, request ChangePasswordRequestObject) (ChangePasswordResponseObject, error)
}
StrictServerInterface represents all server handlers.
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 UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateGroup200JSONResponse ¶
type UpdateGroup200JSONResponse Group
func (UpdateGroup200JSONResponse) VisitUpdateGroupResponse ¶
func (response UpdateGroup200JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error
type UpdateGroup400JSONResponse ¶
type UpdateGroup400JSONResponse APIErrorResponse
func (UpdateGroup400JSONResponse) VisitUpdateGroupResponse ¶
func (response UpdateGroup400JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error
type UpdateGroup401JSONResponse ¶
type UpdateGroup401JSONResponse APIErrorResponse
func (UpdateGroup401JSONResponse) VisitUpdateGroupResponse ¶
func (response UpdateGroup401JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error
type UpdateGroup403JSONResponse ¶
type UpdateGroup403JSONResponse APIErrorResponse
func (UpdateGroup403JSONResponse) VisitUpdateGroupResponse ¶
func (response UpdateGroup403JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error
type UpdateGroup404Response ¶
type UpdateGroup404Response struct {
}
func (UpdateGroup404Response) VisitUpdateGroupResponse ¶
func (response UpdateGroup404Response) VisitUpdateGroupResponse(w http.ResponseWriter) error
type UpdateGroup409JSONResponse ¶
type UpdateGroup409JSONResponse APIErrorResponse
func (UpdateGroup409JSONResponse) VisitUpdateGroupResponse ¶
func (response UpdateGroup409JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error
type UpdateGroup500JSONResponse ¶
type UpdateGroup500JSONResponse APIErrorResponse
func (UpdateGroup500JSONResponse) VisitUpdateGroupResponse ¶
func (response UpdateGroup500JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error
type UpdateGroupJSONRequestBody ¶
type UpdateGroupJSONRequestBody = Group
UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.
type UpdateGroupRequestObject ¶
type UpdateGroupRequestObject struct {
OrgID Orgid `json:"orgID"`
GroupID Groupid `json:"groupID"`
Body *UpdateGroupJSONRequestBody
}
type UpdateGroupResponseObject ¶
type UpdateGroupResponseObject interface {
VisitUpdateGroupResponse(w http.ResponseWriter) error
}
type UpdateOrganisation200JSONResponse ¶
type UpdateOrganisation200JSONResponse Organisation
func (UpdateOrganisation200JSONResponse) VisitUpdateOrganisationResponse ¶
func (response UpdateOrganisation200JSONResponse) VisitUpdateOrganisationResponse(w http.ResponseWriter) error
type UpdateOrganisation400JSONResponse ¶
type UpdateOrganisation400JSONResponse APIErrorResponse
func (UpdateOrganisation400JSONResponse) VisitUpdateOrganisationResponse ¶
func (response UpdateOrganisation400JSONResponse) VisitUpdateOrganisationResponse(w http.ResponseWriter) error
type UpdateOrganisation401JSONResponse ¶
type UpdateOrganisation401JSONResponse APIErrorResponse
func (UpdateOrganisation401JSONResponse) VisitUpdateOrganisationResponse ¶
func (response UpdateOrganisation401JSONResponse) VisitUpdateOrganisationResponse(w http.ResponseWriter) error
type UpdateOrganisation403JSONResponse ¶
type UpdateOrganisation403JSONResponse APIErrorResponse
func (UpdateOrganisation403JSONResponse) VisitUpdateOrganisationResponse ¶
func (response UpdateOrganisation403JSONResponse) VisitUpdateOrganisationResponse(w http.ResponseWriter) error
type UpdateOrganisation404Response ¶
type UpdateOrganisation404Response struct {
}
func (UpdateOrganisation404Response) VisitUpdateOrganisationResponse ¶
func (response UpdateOrganisation404Response) VisitUpdateOrganisationResponse(w http.ResponseWriter) error
type UpdateOrganisation409JSONResponse ¶
type UpdateOrganisation409JSONResponse APIErrorResponse
func (UpdateOrganisation409JSONResponse) VisitUpdateOrganisationResponse ¶
func (response UpdateOrganisation409JSONResponse) VisitUpdateOrganisationResponse(w http.ResponseWriter) error
type UpdateOrganisation500JSONResponse ¶
type UpdateOrganisation500JSONResponse APIErrorResponse
func (UpdateOrganisation500JSONResponse) VisitUpdateOrganisationResponse ¶
func (response UpdateOrganisation500JSONResponse) VisitUpdateOrganisationResponse(w http.ResponseWriter) error
type UpdateOrganisationJSONRequestBody ¶
type UpdateOrganisationJSONRequestBody = Organisation
UpdateOrganisationJSONRequestBody defines body for UpdateOrganisation for application/json ContentType.
type UpdateOrganisationRequestObject ¶
type UpdateOrganisationRequestObject struct {
OrgID Orgid `json:"orgID"`
Body *UpdateOrganisationJSONRequestBody
}
type UpdateOrganisationResponseObject ¶
type UpdateOrganisationResponseObject interface {
VisitUpdateOrganisationResponse(w http.ResponseWriter) error
}
type UpdateUser200JSONResponse ¶
type UpdateUser200JSONResponse User
func (UpdateUser200JSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser200JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser400JSONResponse ¶
type UpdateUser400JSONResponse APIErrorResponse
func (UpdateUser400JSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser400JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser401JSONResponse ¶
type UpdateUser401JSONResponse APIErrorResponse
func (UpdateUser401JSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser401JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser403JSONResponse ¶
type UpdateUser403JSONResponse APIErrorResponse
func (UpdateUser403JSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser403JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser404Response ¶
type UpdateUser404Response struct {
}
func (UpdateUser404Response) VisitUpdateUserResponse ¶
func (response UpdateUser404Response) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser409JSONResponse ¶
type UpdateUser409JSONResponse APIErrorResponse
func (UpdateUser409JSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser409JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUser500JSONResponse ¶
type UpdateUser500JSONResponse APIErrorResponse
func (UpdateUser500JSONResponse) VisitUpdateUserResponse ¶
func (response UpdateUser500JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error
type UpdateUserGroups200JSONResponse ¶
type UpdateUserGroups200JSONResponse UserGroups
func (UpdateUserGroups200JSONResponse) VisitUpdateUserGroupsResponse ¶
func (response UpdateUserGroups200JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error
type UpdateUserGroups400JSONResponse ¶
type UpdateUserGroups400JSONResponse APIErrorResponse
func (UpdateUserGroups400JSONResponse) VisitUpdateUserGroupsResponse ¶
func (response UpdateUserGroups400JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error
type UpdateUserGroups401JSONResponse ¶
type UpdateUserGroups401JSONResponse APIErrorResponse
func (UpdateUserGroups401JSONResponse) VisitUpdateUserGroupsResponse ¶
func (response UpdateUserGroups401JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error
type UpdateUserGroups403JSONResponse ¶
type UpdateUserGroups403JSONResponse APIErrorResponse
func (UpdateUserGroups403JSONResponse) VisitUpdateUserGroupsResponse ¶
func (response UpdateUserGroups403JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error
type UpdateUserGroups500JSONResponse ¶
type UpdateUserGroups500JSONResponse APIErrorResponse
func (UpdateUserGroups500JSONResponse) VisitUpdateUserGroupsResponse ¶
func (response UpdateUserGroups500JSONResponse) VisitUpdateUserGroupsResponse(w http.ResponseWriter) error
type UpdateUserGroupsJSONRequestBody ¶
type UpdateUserGroupsJSONRequestBody = UserGroups
UpdateUserGroupsJSONRequestBody defines body for UpdateUserGroups for application/json ContentType.
type UpdateUserGroupsRequestObject ¶
type UpdateUserGroupsRequestObject struct {
OrgID Orgid `json:"orgID"`
UserID Userid `json:"userID"`
Body *UpdateUserGroupsJSONRequestBody
}
type UpdateUserGroupsResponseObject ¶
type UpdateUserGroupsResponseObject interface {
VisitUpdateUserGroupsResponse(w http.ResponseWriter) error
}
type UpdateUserJSONRequestBody ¶
type UpdateUserJSONRequestBody = User
UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.
type UpdateUserRequestObject ¶
type UpdateUserRequestObject struct {
OrgID Orgid `json:"orgID"`
UserID Userid `json:"userID"`
Body *UpdateUserJSONRequestBody
}
type UpdateUserResponseObject ¶
type UpdateUserResponseObject interface {
VisitUpdateUserResponse(w http.ResponseWriter) error
}