Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.
Index ¶
- 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 NewCreateSamenvoegingRequest(server string, vreemdelingLeidendId PathVreemdelingLeidendId, ...) (*http.Request, error)
- func NewCreateVreemdelingRequest(server string, params *CreateVreemdelingParams, ...) (*http.Request, error)
- func NewCreateVreemdelingRequestWithBody(server string, params *CreateVreemdelingParams, contentType string, ...) (*http.Request, error)
- func NewDeleteVreemdelingByIdRequest(server string, vreemdelingId PathVreemdelingId, ...) (*http.Request, error)
- func NewFindVreemdelingRequest(server string, params *FindVreemdelingParams) (*http.Request, error)
- func NewGetSamenvoegingenRequest(server string, vreemdelingId PathVreemdelingId, ...) (*http.Request, error)
- func NewReadVreemdelingByIdRequest(server string, vreemdelingId PathVreemdelingId, ...) (*http.Request, error)
- func NewUpdateVreemdelingByIdRequest(server string, vreemdelingId PathVreemdelingId, ...) (*http.Request, error)
- func NewUpdateVreemdelingByIdRequestWithBody(server string, vreemdelingId PathVreemdelingId, ...) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type BadRequestErrorResponse
- type BadRequestErrorResponseJSONResponse
- type ChiServerOptions
- type Client
- func (c *Client) CreateSamenvoeging(ctx context.Context, vreemdelingLeidendId PathVreemdelingLeidendId, ...) (*http.Response, error)
- func (c *Client) CreateVreemdeling(ctx context.Context, params *CreateVreemdelingParams, ...) (*http.Response, error)
- func (c *Client) CreateVreemdelingWithBody(ctx context.Context, params *CreateVreemdelingParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*http.Response, error)
- func (c *Client) FindVreemdeling(ctx context.Context, params *FindVreemdelingParams, ...) (*http.Response, error)
- func (c *Client) GetSamenvoegingen(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*http.Response, error)
- func (c *Client) ReadVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*http.Response, error)
- func (c *Client) UpdateVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*http.Response, error)
- func (c *Client) UpdateVreemdelingByIdWithBody(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateSamenvoegingWithResponse(ctx context.Context, vreemdelingLeidendId PathVreemdelingLeidendId, ...) (*CreateSamenvoegingResponse, error)
- func (c *ClientWithResponses) CreateVreemdelingWithBodyWithResponse(ctx context.Context, params *CreateVreemdelingParams, contentType string, ...) (*CreateVreemdelingResponse, error)
- func (c *ClientWithResponses) CreateVreemdelingWithResponse(ctx context.Context, params *CreateVreemdelingParams, ...) (*CreateVreemdelingResponse, error)
- func (c *ClientWithResponses) DeleteVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*DeleteVreemdelingByIdResponse, error)
- func (c *ClientWithResponses) FindVreemdelingWithResponse(ctx context.Context, params *FindVreemdelingParams, ...) (*FindVreemdelingResponse, error)
- func (c *ClientWithResponses) GetSamenvoegingenWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*GetSamenvoegingenResponse, error)
- func (c *ClientWithResponses) ReadVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*ReadVreemdelingByIdResponse, error)
- func (c *ClientWithResponses) UpdateVreemdelingByIdWithBodyWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*UpdateVreemdelingByIdResponse, error)
- func (c *ClientWithResponses) UpdateVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, ...) (*UpdateVreemdelingByIdResponse, error)
- type ClientWithResponsesInterface
- type CreateSamenvoeging204JSONResponse
- type CreateSamenvoeging400JSONResponse
- type CreateSamenvoeging410JSONResponse
- type CreateSamenvoegingRequestObject
- type CreateSamenvoegingResponse
- type CreateSamenvoegingResponseObject
- type CreateVreemdeling201JSONResponse
- type CreateVreemdeling400JSONResponse
- type CreateVreemdelingJSONBody
- type CreateVreemdelingJSONRequestBody
- type CreateVreemdelingParams
- type CreateVreemdelingRequestObject
- type CreateVreemdelingResponse
- type CreateVreemdelingResponseObject
- type DeleteVreemdelingById200JSONResponse
- type DeleteVreemdelingById400JSONResponse
- type DeleteVreemdelingById410JSONResponse
- type DeleteVreemdelingByIdParams
- type DeleteVreemdelingByIdRequestObject
- type DeleteVreemdelingByIdResponse
- type DeleteVreemdelingByIdResponseObject
- type EmptyResponse
- type EmptyResponseJSONResponse
- type Error
- type FindVreemdeling200JSONResponse
- type FindVreemdeling400JSONResponse
- type FindVreemdelingParams
- type FindVreemdelingRequestObject
- type FindVreemdelingResponse
- type FindVreemdelingResponseObject
- type GetSamenvoegingen200JSONResponse
- type GetSamenvoegingen400JSONResponse
- type GetSamenvoegingen410JSONResponse
- type GetSamenvoegingenParams
- type GetSamenvoegingenRequestObject
- type GetSamenvoegingenResponse
- type GetSamenvoegingenResponseObject
- type GoneErrorResponse
- type GoneErrorResponseJSONResponse
- type HttpRequestDoer
- type InvalidParamFormatError
- type MiddlewareFunc
- type PathVreemdelingId
- type PathVreemdelingLeidendId
- type PathVreemdelingVervallenId
- type QueryGeboortedatum
- type QueryNaam
- type ReadVreemdelingById200JSONResponse
- type ReadVreemdelingById400JSONResponse
- type ReadVreemdelingById410JSONResponse
- type ReadVreemdelingByIdParams
- type ReadVreemdelingByIdRequestObject
- type ReadVreemdelingByIdResponse
- type ReadVreemdelingByIdResponseObject
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) CreateSamenvoeging(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateVreemdeling(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteVreemdelingById(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FindVreemdeling(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSamenvoegingen(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadVreemdelingById(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateVreemdelingById(w http.ResponseWriter, r *http.Request)
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) CreateSamenvoeging(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) CreateVreemdeling(w http.ResponseWriter, r *http.Request, params CreateVreemdelingParams)
- func (_ Unimplemented) DeleteVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, ...)
- func (_ Unimplemented) FindVreemdeling(w http.ResponseWriter, r *http.Request, params FindVreemdelingParams)
- func (_ Unimplemented) GetSamenvoegingen(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, ...)
- func (_ Unimplemented) ReadVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, ...)
- func (_ Unimplemented) UpdateVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, ...)
- type UnmarshalingParamError
- type UpdateVreemdelingById200JSONResponse
- type UpdateVreemdelingById400JSONResponse
- type UpdateVreemdelingById410JSONResponse
- type UpdateVreemdelingByIdJSONBody
- type UpdateVreemdelingByIdJSONRequestBody
- type UpdateVreemdelingByIdParams
- type UpdateVreemdelingByIdRequestObject
- type UpdateVreemdelingByIdResponse
- type UpdateVreemdelingByIdResponseObject
- type Vreemdeling
- type VreemdelingId
- type VreemdelingIdsResponse
- type VreemdelingIdsResponseJSONResponse
- type VreemdelingIdsResponseResponseHeaders
- type VreemdelingRequest
- type VreemdelingResponse
- type VreemdelingResponseJSONResponse
- type VreemdelingResponseResponseHeaders
- type VreemdelingWithoutId
- type VreemdelingWithoutIdRequest
- type VreemdelingenResponse
- type VreemdelingenResponseJSONResponse
- type VreemdelingenResponseResponseHeaders
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
func NewCreateSamenvoegingRequest ¶
func NewCreateSamenvoegingRequest(server string, vreemdelingLeidendId PathVreemdelingLeidendId, vreemdelingVervallenId PathVreemdelingVervallenId) (*http.Request, error)
NewCreateSamenvoegingRequest generates requests for CreateSamenvoeging
func NewCreateVreemdelingRequest ¶
func NewCreateVreemdelingRequest(server string, params *CreateVreemdelingParams, body CreateVreemdelingJSONRequestBody) (*http.Request, error)
NewCreateVreemdelingRequest calls the generic CreateVreemdeling builder with application/json body
func NewCreateVreemdelingRequestWithBody ¶
func NewCreateVreemdelingRequestWithBody(server string, params *CreateVreemdelingParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVreemdelingRequestWithBody generates requests for CreateVreemdeling with any type of body
func NewDeleteVreemdelingByIdRequest ¶
func NewDeleteVreemdelingByIdRequest(server string, vreemdelingId PathVreemdelingId, params *DeleteVreemdelingByIdParams) (*http.Request, error)
NewDeleteVreemdelingByIdRequest generates requests for DeleteVreemdelingById
func NewFindVreemdelingRequest ¶
func NewFindVreemdelingRequest(server string, params *FindVreemdelingParams) (*http.Request, error)
NewFindVreemdelingRequest generates requests for FindVreemdeling
func NewGetSamenvoegingenRequest ¶
func NewGetSamenvoegingenRequest(server string, vreemdelingId PathVreemdelingId, params *GetSamenvoegingenParams) (*http.Request, error)
NewGetSamenvoegingenRequest generates requests for GetSamenvoegingen
func NewReadVreemdelingByIdRequest ¶
func NewReadVreemdelingByIdRequest(server string, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams) (*http.Request, error)
NewReadVreemdelingByIdRequest generates requests for ReadVreemdelingById
func NewUpdateVreemdelingByIdRequest ¶
func NewUpdateVreemdelingByIdRequest(server string, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, body UpdateVreemdelingByIdJSONRequestBody) (*http.Request, error)
NewUpdateVreemdelingByIdRequest calls the generic UpdateVreemdelingById builder with application/json body
func NewUpdateVreemdelingByIdRequestWithBody ¶
func NewUpdateVreemdelingByIdRequestWithBody(server string, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVreemdelingByIdRequestWithBody generates requests for UpdateVreemdelingById with any type of body
Types ¶
type BadRequestErrorResponse ¶
type BadRequestErrorResponse struct {
Errors []Error `json:"errors"`
}
BadRequestErrorResponse defines model for BadRequestErrorResponse.
type BadRequestErrorResponseJSONResponse ¶
type BadRequestErrorResponseJSONResponse struct {
Errors []Error `json:"errors"`
}
type ChiServerOptions ¶
type ChiServerOptions struct { BaseURL string BaseRouter chi.Router Middlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CreateSamenvoeging ¶
func (c *Client) CreateSamenvoeging(ctx context.Context, vreemdelingLeidendId PathVreemdelingLeidendId, vreemdelingVervallenId PathVreemdelingVervallenId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateVreemdeling ¶
func (c *Client) CreateVreemdeling(ctx context.Context, params *CreateVreemdelingParams, body CreateVreemdelingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateVreemdelingWithBody ¶
func (*Client) DeleteVreemdelingById ¶
func (c *Client) DeleteVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, params *DeleteVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FindVreemdeling ¶
func (c *Client) FindVreemdeling(ctx context.Context, params *FindVreemdelingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSamenvoegingen ¶
func (c *Client) GetSamenvoegingen(ctx context.Context, vreemdelingId PathVreemdelingId, params *GetSamenvoegingenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadVreemdelingById ¶
func (c *Client) ReadVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVreemdelingById ¶
func (c *Client) UpdateVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, body UpdateVreemdelingByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVreemdelingByIdWithBody ¶
func (c *Client) UpdateVreemdelingByIdWithBody(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetSamenvoegingen request GetSamenvoegingen(ctx context.Context, vreemdelingId PathVreemdelingId, params *GetSamenvoegingenParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateSamenvoeging request CreateSamenvoeging(ctx context.Context, vreemdelingLeidendId PathVreemdelingLeidendId, vreemdelingVervallenId PathVreemdelingVervallenId, reqEditors ...RequestEditorFn) (*http.Response, error) // FindVreemdeling request FindVreemdeling(ctx context.Context, params *FindVreemdelingParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateVreemdelingWithBody request with any body CreateVreemdelingWithBody(ctx context.Context, params *CreateVreemdelingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateVreemdeling(ctx context.Context, params *CreateVreemdelingParams, body CreateVreemdelingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteVreemdelingById request DeleteVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, params *DeleteVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReadVreemdelingById request ReadVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateVreemdelingByIdWithBody request with any body UpdateVreemdelingByIdWithBody(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateVreemdelingById(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, body UpdateVreemdelingByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateSamenvoegingWithResponse ¶
func (c *ClientWithResponses) CreateSamenvoegingWithResponse(ctx context.Context, vreemdelingLeidendId PathVreemdelingLeidendId, vreemdelingVervallenId PathVreemdelingVervallenId, reqEditors ...RequestEditorFn) (*CreateSamenvoegingResponse, error)
CreateSamenvoegingWithResponse request returning *CreateSamenvoegingResponse
func (*ClientWithResponses) CreateVreemdelingWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVreemdelingWithBodyWithResponse(ctx context.Context, params *CreateVreemdelingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVreemdelingResponse, error)
CreateVreemdelingWithBodyWithResponse request with arbitrary body returning *CreateVreemdelingResponse
func (*ClientWithResponses) CreateVreemdelingWithResponse ¶
func (c *ClientWithResponses) CreateVreemdelingWithResponse(ctx context.Context, params *CreateVreemdelingParams, body CreateVreemdelingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVreemdelingResponse, error)
func (*ClientWithResponses) DeleteVreemdelingByIdWithResponse ¶
func (c *ClientWithResponses) DeleteVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *DeleteVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*DeleteVreemdelingByIdResponse, error)
DeleteVreemdelingByIdWithResponse request returning *DeleteVreemdelingByIdResponse
func (*ClientWithResponses) FindVreemdelingWithResponse ¶
func (c *ClientWithResponses) FindVreemdelingWithResponse(ctx context.Context, params *FindVreemdelingParams, reqEditors ...RequestEditorFn) (*FindVreemdelingResponse, error)
FindVreemdelingWithResponse request returning *FindVreemdelingResponse
func (*ClientWithResponses) GetSamenvoegingenWithResponse ¶
func (c *ClientWithResponses) GetSamenvoegingenWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *GetSamenvoegingenParams, reqEditors ...RequestEditorFn) (*GetSamenvoegingenResponse, error)
GetSamenvoegingenWithResponse request returning *GetSamenvoegingenResponse
func (*ClientWithResponses) ReadVreemdelingByIdWithResponse ¶
func (c *ClientWithResponses) ReadVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*ReadVreemdelingByIdResponse, error)
ReadVreemdelingByIdWithResponse request returning *ReadVreemdelingByIdResponse
func (*ClientWithResponses) UpdateVreemdelingByIdWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVreemdelingByIdWithBodyWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVreemdelingByIdResponse, error)
UpdateVreemdelingByIdWithBodyWithResponse request with arbitrary body returning *UpdateVreemdelingByIdResponse
func (*ClientWithResponses) UpdateVreemdelingByIdWithResponse ¶
func (c *ClientWithResponses) UpdateVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, body UpdateVreemdelingByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVreemdelingByIdResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetSamenvoegingenWithResponse request GetSamenvoegingenWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *GetSamenvoegingenParams, reqEditors ...RequestEditorFn) (*GetSamenvoegingenResponse, error) // CreateSamenvoegingWithResponse request CreateSamenvoegingWithResponse(ctx context.Context, vreemdelingLeidendId PathVreemdelingLeidendId, vreemdelingVervallenId PathVreemdelingVervallenId, reqEditors ...RequestEditorFn) (*CreateSamenvoegingResponse, error) // FindVreemdelingWithResponse request FindVreemdelingWithResponse(ctx context.Context, params *FindVreemdelingParams, reqEditors ...RequestEditorFn) (*FindVreemdelingResponse, error) // CreateVreemdelingWithBodyWithResponse request with any body CreateVreemdelingWithBodyWithResponse(ctx context.Context, params *CreateVreemdelingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVreemdelingResponse, error) CreateVreemdelingWithResponse(ctx context.Context, params *CreateVreemdelingParams, body CreateVreemdelingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVreemdelingResponse, error) // DeleteVreemdelingByIdWithResponse request DeleteVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *DeleteVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*DeleteVreemdelingByIdResponse, error) // ReadVreemdelingByIdWithResponse request ReadVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *ReadVreemdelingByIdParams, reqEditors ...RequestEditorFn) (*ReadVreemdelingByIdResponse, error) // UpdateVreemdelingByIdWithBodyWithResponse request with any body UpdateVreemdelingByIdWithBodyWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVreemdelingByIdResponse, error) UpdateVreemdelingByIdWithResponse(ctx context.Context, vreemdelingId PathVreemdelingId, params *UpdateVreemdelingByIdParams, body UpdateVreemdelingByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVreemdelingByIdResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateSamenvoeging204JSONResponse ¶
type CreateSamenvoeging204JSONResponse struct{ EmptyResponseJSONResponse }
func (CreateSamenvoeging204JSONResponse) VisitCreateSamenvoegingResponse ¶
func (response CreateSamenvoeging204JSONResponse) VisitCreateSamenvoegingResponse(w http.ResponseWriter) error
type CreateSamenvoeging400JSONResponse ¶
type CreateSamenvoeging400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (CreateSamenvoeging400JSONResponse) VisitCreateSamenvoegingResponse ¶
func (response CreateSamenvoeging400JSONResponse) VisitCreateSamenvoegingResponse(w http.ResponseWriter) error
type CreateSamenvoeging410JSONResponse ¶
type CreateSamenvoeging410JSONResponse struct{ GoneErrorResponseJSONResponse }
func (CreateSamenvoeging410JSONResponse) VisitCreateSamenvoegingResponse ¶
func (response CreateSamenvoeging410JSONResponse) VisitCreateSamenvoegingResponse(w http.ResponseWriter) error
type CreateSamenvoegingRequestObject ¶
type CreateSamenvoegingRequestObject struct { VreemdelingLeidendId PathVreemdelingLeidendId `json:"vreemdelingLeidendId"` VreemdelingVervallenId PathVreemdelingVervallenId `json:"vreemdelingVervallenId"` }
type CreateSamenvoegingResponse ¶
type CreateSamenvoegingResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptyResponse JSON400 *BadRequestErrorResponse JSON410 *GoneErrorResponse }
func ParseCreateSamenvoegingResponse ¶
func ParseCreateSamenvoegingResponse(rsp *http.Response) (*CreateSamenvoegingResponse, error)
ParseCreateSamenvoegingResponse parses an HTTP response from a CreateSamenvoegingWithResponse call
func (CreateSamenvoegingResponse) Status ¶
func (r CreateSamenvoegingResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSamenvoegingResponse) StatusCode ¶
func (r CreateSamenvoegingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSamenvoegingResponseObject ¶
type CreateSamenvoegingResponseObject interface {
VisitCreateSamenvoegingResponse(w http.ResponseWriter) error
}
type CreateVreemdeling201JSONResponse ¶
type CreateVreemdeling201JSONResponse struct {
VreemdelingResponseJSONResponse
}
func (CreateVreemdeling201JSONResponse) VisitCreateVreemdelingResponse ¶
func (response CreateVreemdeling201JSONResponse) VisitCreateVreemdelingResponse(w http.ResponseWriter) error
type CreateVreemdeling400JSONResponse ¶
type CreateVreemdeling400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (CreateVreemdeling400JSONResponse) VisitCreateVreemdelingResponse ¶
func (response CreateVreemdeling400JSONResponse) VisitCreateVreemdelingResponse(w http.ResponseWriter) error
type CreateVreemdelingJSONBody ¶
type CreateVreemdelingJSONBody struct { // Data A new vreemdeling, that hasn't been assigned a V-number yet. Data VreemdelingWithoutId `json:"data"` }
CreateVreemdelingJSONBody defines parameters for CreateVreemdeling.
type CreateVreemdelingJSONRequestBody ¶
type CreateVreemdelingJSONRequestBody CreateVreemdelingJSONBody
CreateVreemdelingJSONRequestBody defines body for CreateVreemdeling for application/json ContentType.
type CreateVreemdelingParams ¶
type CreateVreemdelingParams struct { // FSCVWLVerwerkingsActiviteit id of the verwerking type FSCVWLVerwerkingsActiviteit *externalRef0.FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"` // FSCVWLVerwerkingsSpan transaction uuid of the incoming request FSCVWLVerwerkingsSpan *externalRef0.FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"` // FSCVWLSysteem identifier for the system processing the verwerking FSCVWLSysteem *externalRef0.FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"` // FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking FSCVWLVerwerker *externalRef0.FSCVWLVerwerker `json:"FSC-VWL-Verwerker,omitempty"` // FSCVWLVerantwoordelijke the party responsible for the verwerking, this does not have to be the party doing the verwerking itself FSCVWLVerantwoordelijke *externalRef0.FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"` }
CreateVreemdelingParams defines parameters for CreateVreemdeling.
type CreateVreemdelingRequestObject ¶
type CreateVreemdelingRequestObject struct { Params CreateVreemdelingParams Body *CreateVreemdelingJSONRequestBody }
type CreateVreemdelingResponse ¶
type CreateVreemdelingResponse struct { Body []byte HTTPResponse *http.Response JSON201 *VreemdelingResponse JSON400 *BadRequestErrorResponse }
func ParseCreateVreemdelingResponse ¶
func ParseCreateVreemdelingResponse(rsp *http.Response) (*CreateVreemdelingResponse, error)
ParseCreateVreemdelingResponse parses an HTTP response from a CreateVreemdelingWithResponse call
func (CreateVreemdelingResponse) Status ¶
func (r CreateVreemdelingResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVreemdelingResponse) StatusCode ¶
func (r CreateVreemdelingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVreemdelingResponseObject ¶
type CreateVreemdelingResponseObject interface {
VisitCreateVreemdelingResponse(w http.ResponseWriter) error
}
type DeleteVreemdelingById200JSONResponse ¶
type DeleteVreemdelingById200JSONResponse struct{ EmptyResponseJSONResponse }
func (DeleteVreemdelingById200JSONResponse) VisitDeleteVreemdelingByIdResponse ¶
func (response DeleteVreemdelingById200JSONResponse) VisitDeleteVreemdelingByIdResponse(w http.ResponseWriter) error
type DeleteVreemdelingById400JSONResponse ¶
type DeleteVreemdelingById400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (DeleteVreemdelingById400JSONResponse) VisitDeleteVreemdelingByIdResponse ¶
func (response DeleteVreemdelingById400JSONResponse) VisitDeleteVreemdelingByIdResponse(w http.ResponseWriter) error
type DeleteVreemdelingById410JSONResponse ¶
type DeleteVreemdelingById410JSONResponse struct{ GoneErrorResponseJSONResponse }
func (DeleteVreemdelingById410JSONResponse) VisitDeleteVreemdelingByIdResponse ¶
func (response DeleteVreemdelingById410JSONResponse) VisitDeleteVreemdelingByIdResponse(w http.ResponseWriter) error
type DeleteVreemdelingByIdParams ¶
type DeleteVreemdelingByIdParams struct { // FSCVWLVerwerkingsActiviteit id of the verwerking type FSCVWLVerwerkingsActiviteit *externalRef0.FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"` // FSCVWLVerwerkingsSpan transaction uuid of the incoming request FSCVWLVerwerkingsSpan *externalRef0.FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"` // FSCVWLSysteem identifier for the system processing the verwerking FSCVWLSysteem *externalRef0.FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"` // FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking FSCVWLVerwerker *externalRef0.FSCVWLVerwerker `json:"FSC-VWL-Verwerker,omitempty"` // FSCVWLVerantwoordelijke the party responsible for the verwerking, this does not have to be the party doing the verwerking itself FSCVWLVerantwoordelijke *externalRef0.FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"` }
DeleteVreemdelingByIdParams defines parameters for DeleteVreemdelingById.
type DeleteVreemdelingByIdRequestObject ¶
type DeleteVreemdelingByIdRequestObject struct { VreemdelingId PathVreemdelingId `json:"vreemdelingId"` Params DeleteVreemdelingByIdParams }
type DeleteVreemdelingByIdResponse ¶
type DeleteVreemdelingByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptyResponse JSON400 *BadRequestErrorResponse JSON410 *GoneErrorResponse }
func ParseDeleteVreemdelingByIdResponse ¶
func ParseDeleteVreemdelingByIdResponse(rsp *http.Response) (*DeleteVreemdelingByIdResponse, error)
ParseDeleteVreemdelingByIdResponse parses an HTTP response from a DeleteVreemdelingByIdWithResponse call
func (DeleteVreemdelingByIdResponse) Status ¶
func (r DeleteVreemdelingByIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVreemdelingByIdResponse) StatusCode ¶
func (r DeleteVreemdelingByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVreemdelingByIdResponseObject ¶
type DeleteVreemdelingByIdResponseObject interface {
VisitDeleteVreemdelingByIdResponse(w http.ResponseWriter) error
}
type EmptyResponse ¶
type EmptyResponse = map[string]interface{}
EmptyResponse defines model for EmptyResponse.
type EmptyResponseJSONResponse ¶
type EmptyResponseJSONResponse map[string]interface{}
type Error ¶
type Error struct {
Message *string `json:"message,omitempty"`
}
Error The error that occured while processing this request.
type FindVreemdeling200JSONResponse ¶
type FindVreemdeling200JSONResponse struct {
VreemdelingenResponseJSONResponse
}
func (FindVreemdeling200JSONResponse) VisitFindVreemdelingResponse ¶
func (response FindVreemdeling200JSONResponse) VisitFindVreemdelingResponse(w http.ResponseWriter) error
type FindVreemdeling400JSONResponse ¶
type FindVreemdeling400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (FindVreemdeling400JSONResponse) VisitFindVreemdelingResponse ¶
func (response FindVreemdeling400JSONResponse) VisitFindVreemdelingResponse(w http.ResponseWriter) error
type FindVreemdelingParams ¶
type FindVreemdelingParams struct { // Naam (part of) the name of a vreemdeling. Naam *QueryNaam `form:"naam,omitempty" json:"naam,omitempty"` // Geboortedatum the birthdate of a vreemdeling. Geboortedatum *QueryGeboortedatum `form:"geboortedatum,omitempty" json:"geboortedatum,omitempty"` // FSCVWLVerwerkingsActiviteit id of the verwerking type FSCVWLVerwerkingsActiviteit *externalRef0.FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"` // FSCVWLVerwerkingsSpan transaction uuid of the incoming request FSCVWLVerwerkingsSpan *externalRef0.FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"` // FSCVWLSysteem identifier for the system processing the verwerking FSCVWLSysteem *externalRef0.FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"` // FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking FSCVWLVerwerker *externalRef0.FSCVWLVerwerker `json:"FSC-VWL-Verwerker,omitempty"` // FSCVWLVerantwoordelijke the party responsible for the verwerking, this does not have to be the party doing the verwerking itself FSCVWLVerantwoordelijke *externalRef0.FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"` }
FindVreemdelingParams defines parameters for FindVreemdeling.
type FindVreemdelingRequestObject ¶
type FindVreemdelingRequestObject struct {
Params FindVreemdelingParams
}
type FindVreemdelingResponse ¶
type FindVreemdelingResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VreemdelingenResponse JSON400 *BadRequestErrorResponse }
func ParseFindVreemdelingResponse ¶
func ParseFindVreemdelingResponse(rsp *http.Response) (*FindVreemdelingResponse, error)
ParseFindVreemdelingResponse parses an HTTP response from a FindVreemdelingWithResponse call
func (FindVreemdelingResponse) Status ¶
func (r FindVreemdelingResponse) Status() string
Status returns HTTPResponse.Status
func (FindVreemdelingResponse) StatusCode ¶
func (r FindVreemdelingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindVreemdelingResponseObject ¶
type FindVreemdelingResponseObject interface {
VisitFindVreemdelingResponse(w http.ResponseWriter) error
}
type GetSamenvoegingen200JSONResponse ¶
type GetSamenvoegingen200JSONResponse struct {
VreemdelingIdsResponseJSONResponse
}
func (GetSamenvoegingen200JSONResponse) VisitGetSamenvoegingenResponse ¶
func (response GetSamenvoegingen200JSONResponse) VisitGetSamenvoegingenResponse(w http.ResponseWriter) error
type GetSamenvoegingen400JSONResponse ¶
type GetSamenvoegingen400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (GetSamenvoegingen400JSONResponse) VisitGetSamenvoegingenResponse ¶
func (response GetSamenvoegingen400JSONResponse) VisitGetSamenvoegingenResponse(w http.ResponseWriter) error
type GetSamenvoegingen410JSONResponse ¶
type GetSamenvoegingen410JSONResponse struct{ GoneErrorResponseJSONResponse }
func (GetSamenvoegingen410JSONResponse) VisitGetSamenvoegingenResponse ¶
func (response GetSamenvoegingen410JSONResponse) VisitGetSamenvoegingenResponse(w http.ResponseWriter) error
type GetSamenvoegingenParams ¶
type GetSamenvoegingenParams struct { // FSCVWLVerwerkingsActiviteit id of the verwerking type FSCVWLVerwerkingsActiviteit *externalRef0.FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"` // FSCVWLVerwerkingsSpan transaction uuid of the incoming request FSCVWLVerwerkingsSpan *externalRef0.FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"` // FSCVWLSysteem identifier for the system processing the verwerking FSCVWLSysteem *externalRef0.FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"` // FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking FSCVWLVerwerker *externalRef0.FSCVWLVerwerker `json:"FSC-VWL-Verwerker,omitempty"` // FSCVWLVerantwoordelijke the party responsible for the verwerking, this does not have to be the party doing the verwerking itself FSCVWLVerantwoordelijke *externalRef0.FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"` }
GetSamenvoegingenParams defines parameters for GetSamenvoegingen.
type GetSamenvoegingenRequestObject ¶
type GetSamenvoegingenRequestObject struct { VreemdelingId PathVreemdelingId `json:"vreemdelingId"` Params GetSamenvoegingenParams }
type GetSamenvoegingenResponse ¶
type GetSamenvoegingenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VreemdelingIdsResponse JSON400 *BadRequestErrorResponse JSON410 *GoneErrorResponse }
func ParseGetSamenvoegingenResponse ¶
func ParseGetSamenvoegingenResponse(rsp *http.Response) (*GetSamenvoegingenResponse, error)
ParseGetSamenvoegingenResponse parses an HTTP response from a GetSamenvoegingenWithResponse call
func (GetSamenvoegingenResponse) Status ¶
func (r GetSamenvoegingenResponse) Status() string
Status returns HTTPResponse.Status
func (GetSamenvoegingenResponse) StatusCode ¶
func (r GetSamenvoegingenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSamenvoegingenResponseObject ¶
type GetSamenvoegingenResponseObject interface {
VisitGetSamenvoegingenResponse(w http.ResponseWriter) error
}
type GoneErrorResponse ¶
type GoneErrorResponse struct {
Errors []Error `json:"errors"`
}
GoneErrorResponse defines model for GoneErrorResponse.
type GoneErrorResponseJSONResponse ¶
type GoneErrorResponseJSONResponse struct {
Errors []Error `json:"errors"`
}
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type PathVreemdelingId ¶
type PathVreemdelingId = VreemdelingId
PathVreemdelingId V-number of vreemdeling.
type PathVreemdelingLeidendId ¶
type PathVreemdelingLeidendId = VreemdelingId
PathVreemdelingLeidendId V-number of vreemdeling.
type PathVreemdelingVervallenId ¶
type PathVreemdelingVervallenId = VreemdelingId
PathVreemdelingVervallenId V-number of vreemdeling.
type QueryGeboortedatum ¶
type QueryGeboortedatum = openapi_types.Date
QueryGeboortedatum defines model for queryGeboortedatum.
type ReadVreemdelingById200JSONResponse ¶
type ReadVreemdelingById200JSONResponse struct {
VreemdelingResponseJSONResponse
}
func (ReadVreemdelingById200JSONResponse) VisitReadVreemdelingByIdResponse ¶
func (response ReadVreemdelingById200JSONResponse) VisitReadVreemdelingByIdResponse(w http.ResponseWriter) error
type ReadVreemdelingById400JSONResponse ¶
type ReadVreemdelingById400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (ReadVreemdelingById400JSONResponse) VisitReadVreemdelingByIdResponse ¶
func (response ReadVreemdelingById400JSONResponse) VisitReadVreemdelingByIdResponse(w http.ResponseWriter) error
type ReadVreemdelingById410JSONResponse ¶
type ReadVreemdelingById410JSONResponse struct{ GoneErrorResponseJSONResponse }
func (ReadVreemdelingById410JSONResponse) VisitReadVreemdelingByIdResponse ¶
func (response ReadVreemdelingById410JSONResponse) VisitReadVreemdelingByIdResponse(w http.ResponseWriter) error
type ReadVreemdelingByIdParams ¶
type ReadVreemdelingByIdParams struct { // FSCVWLVerwerkingsActiviteit id of the verwerking type FSCVWLVerwerkingsActiviteit *externalRef0.FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"` // FSCVWLVerwerkingsSpan transaction uuid of the incoming request FSCVWLVerwerkingsSpan *externalRef0.FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"` // FSCVWLSysteem identifier for the system processing the verwerking FSCVWLSysteem *externalRef0.FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"` // FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking FSCVWLVerwerker *externalRef0.FSCVWLVerwerker `json:"FSC-VWL-Verwerker,omitempty"` // FSCVWLVerantwoordelijke the party responsible for the verwerking, this does not have to be the party doing the verwerking itself FSCVWLVerantwoordelijke *externalRef0.FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"` }
ReadVreemdelingByIdParams defines parameters for ReadVreemdelingById.
type ReadVreemdelingByIdRequestObject ¶
type ReadVreemdelingByIdRequestObject struct { VreemdelingId PathVreemdelingId `json:"vreemdelingId"` Params ReadVreemdelingByIdParams }
type ReadVreemdelingByIdResponse ¶
type ReadVreemdelingByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VreemdelingResponse JSON400 *BadRequestErrorResponse JSON410 *GoneErrorResponse }
func ParseReadVreemdelingByIdResponse ¶
func ParseReadVreemdelingByIdResponse(rsp *http.Response) (*ReadVreemdelingByIdResponse, error)
ParseReadVreemdelingByIdResponse parses an HTTP response from a ReadVreemdelingByIdWithResponse call
func (ReadVreemdelingByIdResponse) Status ¶
func (r ReadVreemdelingByIdResponse) Status() string
Status returns HTTPResponse.Status
func (ReadVreemdelingByIdResponse) StatusCode ¶
func (r ReadVreemdelingByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadVreemdelingByIdResponseObject ¶
type ReadVreemdelingByIdResponseObject interface {
VisitReadVreemdelingByIdResponse(w http.ResponseWriter) error
}
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
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 ServerInterface ¶
type ServerInterface interface { // Samenvoegingen van vreemdeling // (GET /samenvoegen/{vreemdelingId}) GetSamenvoegingen(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params GetSamenvoegingenParams) // Samenvoegen van twee vreemdelingen // (POST /samenvoegen/{vreemdelingLeidendId}/{vreemdelingVervallenId}) CreateSamenvoeging(w http.ResponseWriter, r *http.Request, vreemdelingLeidendId PathVreemdelingLeidendId, vreemdelingVervallenId PathVreemdelingVervallenId) // Find vreemdelingen by attributes // (GET /vreemdelingen) FindVreemdeling(w http.ResponseWriter, r *http.Request, params FindVreemdelingParams) // Add a new vreemdeling // (POST /vreemdelingen) CreateVreemdeling(w http.ResponseWriter, r *http.Request, params CreateVreemdelingParams) // Removes a vreemdeling // (DELETE /vreemdelingen/{vreemdelingId}) DeleteVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params DeleteVreemdelingByIdParams) // Find vreemdeling by ID // (GET /vreemdelingen/{vreemdelingId}) ReadVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params ReadVreemdelingByIdParams) // Updates a subset of attributes of a vreemdeling // (PATCH /vreemdelingen/{vreemdelingId}) UpdateVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params UpdateVreemdelingByIdParams) }
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) CreateSamenvoeging ¶
func (siw *ServerInterfaceWrapper) CreateSamenvoeging(w http.ResponseWriter, r *http.Request)
CreateSamenvoeging operation middleware
func (*ServerInterfaceWrapper) CreateVreemdeling ¶
func (siw *ServerInterfaceWrapper) CreateVreemdeling(w http.ResponseWriter, r *http.Request)
CreateVreemdeling operation middleware
func (*ServerInterfaceWrapper) DeleteVreemdelingById ¶
func (siw *ServerInterfaceWrapper) DeleteVreemdelingById(w http.ResponseWriter, r *http.Request)
DeleteVreemdelingById operation middleware
func (*ServerInterfaceWrapper) FindVreemdeling ¶
func (siw *ServerInterfaceWrapper) FindVreemdeling(w http.ResponseWriter, r *http.Request)
FindVreemdeling operation middleware
func (*ServerInterfaceWrapper) GetSamenvoegingen ¶
func (siw *ServerInterfaceWrapper) GetSamenvoegingen(w http.ResponseWriter, r *http.Request)
GetSamenvoegingen operation middleware
func (*ServerInterfaceWrapper) ReadVreemdelingById ¶
func (siw *ServerInterfaceWrapper) ReadVreemdelingById(w http.ResponseWriter, r *http.Request)
ReadVreemdelingById operation middleware
func (*ServerInterfaceWrapper) UpdateVreemdelingById ¶
func (siw *ServerInterfaceWrapper) UpdateVreemdelingById(w http.ResponseWriter, r *http.Request)
UpdateVreemdelingById 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 { // Samenvoegingen van vreemdeling // (GET /samenvoegen/{vreemdelingId}) GetSamenvoegingen(ctx context.Context, request GetSamenvoegingenRequestObject) (GetSamenvoegingenResponseObject, error) // Samenvoegen van twee vreemdelingen // (POST /samenvoegen/{vreemdelingLeidendId}/{vreemdelingVervallenId}) CreateSamenvoeging(ctx context.Context, request CreateSamenvoegingRequestObject) (CreateSamenvoegingResponseObject, error) // Find vreemdelingen by attributes // (GET /vreemdelingen) FindVreemdeling(ctx context.Context, request FindVreemdelingRequestObject) (FindVreemdelingResponseObject, error) // Add a new vreemdeling // (POST /vreemdelingen) CreateVreemdeling(ctx context.Context, request CreateVreemdelingRequestObject) (CreateVreemdelingResponseObject, error) // Removes a vreemdeling // (DELETE /vreemdelingen/{vreemdelingId}) DeleteVreemdelingById(ctx context.Context, request DeleteVreemdelingByIdRequestObject) (DeleteVreemdelingByIdResponseObject, error) // Find vreemdeling by ID // (GET /vreemdelingen/{vreemdelingId}) ReadVreemdelingById(ctx context.Context, request ReadVreemdelingByIdRequestObject) (ReadVreemdelingByIdResponseObject, error) // Updates a subset of attributes of a vreemdeling // (PATCH /vreemdelingen/{vreemdelingId}) UpdateVreemdelingById(ctx context.Context, request UpdateVreemdelingByIdRequestObject) (UpdateVreemdelingByIdResponseObject, 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 Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) CreateSamenvoeging ¶
func (_ Unimplemented) CreateSamenvoeging(w http.ResponseWriter, r *http.Request, vreemdelingLeidendId PathVreemdelingLeidendId, vreemdelingVervallenId PathVreemdelingVervallenId)
Samenvoegen van twee vreemdelingen (POST /samenvoegen/{vreemdelingLeidendId}/{vreemdelingVervallenId})
func (Unimplemented) CreateVreemdeling ¶
func (_ Unimplemented) CreateVreemdeling(w http.ResponseWriter, r *http.Request, params CreateVreemdelingParams)
Add a new vreemdeling (POST /vreemdelingen)
func (Unimplemented) DeleteVreemdelingById ¶
func (_ Unimplemented) DeleteVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params DeleteVreemdelingByIdParams)
Removes a vreemdeling (DELETE /vreemdelingen/{vreemdelingId})
func (Unimplemented) FindVreemdeling ¶
func (_ Unimplemented) FindVreemdeling(w http.ResponseWriter, r *http.Request, params FindVreemdelingParams)
Find vreemdelingen by attributes (GET /vreemdelingen)
func (Unimplemented) GetSamenvoegingen ¶
func (_ Unimplemented) GetSamenvoegingen(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params GetSamenvoegingenParams)
Samenvoegingen van vreemdeling (GET /samenvoegen/{vreemdelingId})
func (Unimplemented) ReadVreemdelingById ¶
func (_ Unimplemented) ReadVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params ReadVreemdelingByIdParams)
Find vreemdeling by ID (GET /vreemdelingen/{vreemdelingId})
func (Unimplemented) UpdateVreemdelingById ¶
func (_ Unimplemented) UpdateVreemdelingById(w http.ResponseWriter, r *http.Request, vreemdelingId PathVreemdelingId, params UpdateVreemdelingByIdParams)
Updates a subset of attributes of a vreemdeling (PATCH /vreemdelingen/{vreemdelingId})
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateVreemdelingById200JSONResponse ¶
type UpdateVreemdelingById200JSONResponse struct {
VreemdelingResponseJSONResponse
}
func (UpdateVreemdelingById200JSONResponse) VisitUpdateVreemdelingByIdResponse ¶
func (response UpdateVreemdelingById200JSONResponse) VisitUpdateVreemdelingByIdResponse(w http.ResponseWriter) error
type UpdateVreemdelingById400JSONResponse ¶
type UpdateVreemdelingById400JSONResponse struct {
BadRequestErrorResponseJSONResponse
}
func (UpdateVreemdelingById400JSONResponse) VisitUpdateVreemdelingByIdResponse ¶
func (response UpdateVreemdelingById400JSONResponse) VisitUpdateVreemdelingByIdResponse(w http.ResponseWriter) error
type UpdateVreemdelingById410JSONResponse ¶
type UpdateVreemdelingById410JSONResponse struct{ GoneErrorResponseJSONResponse }
func (UpdateVreemdelingById410JSONResponse) VisitUpdateVreemdelingByIdResponse ¶
func (response UpdateVreemdelingById410JSONResponse) VisitUpdateVreemdelingByIdResponse(w http.ResponseWriter) error
type UpdateVreemdelingByIdJSONBody ¶
type UpdateVreemdelingByIdJSONBody struct { // Data A known vreemdeling. Data Vreemdeling `json:"data"` }
UpdateVreemdelingByIdJSONBody defines parameters for UpdateVreemdelingById.
type UpdateVreemdelingByIdJSONRequestBody ¶
type UpdateVreemdelingByIdJSONRequestBody UpdateVreemdelingByIdJSONBody
UpdateVreemdelingByIdJSONRequestBody defines body for UpdateVreemdelingById for application/json ContentType.
type UpdateVreemdelingByIdParams ¶
type UpdateVreemdelingByIdParams struct { // FSCVWLVerwerkingsActiviteit id of the verwerking type FSCVWLVerwerkingsActiviteit *externalRef0.FSCVWLVerwerkingsActiviteit `json:"FSC-VWL-Verwerkings-Activiteit,omitempty"` // FSCVWLVerwerkingsSpan transaction uuid of the incoming request FSCVWLVerwerkingsSpan *externalRef0.FSCVWLVerwerkingsSpan `json:"FSC-VWL-Verwerkings-Span,omitempty"` // FSCVWLSysteem identifier for the system processing the verwerking FSCVWLSysteem *externalRef0.FSCVWLSysteem `json:"FSC-VWL-Systeem,omitempty"` // FSCVWLVerwerker the party doing the verwerking, this does not have to be the party responsible for the verwerking FSCVWLVerwerker *externalRef0.FSCVWLVerwerker `json:"FSC-VWL-Verwerker,omitempty"` // FSCVWLVerantwoordelijke the party responsible for the verwerking, this does not have to be the party doing the verwerking itself FSCVWLVerantwoordelijke *externalRef0.FSCVWLVerantwoordelijke `json:"FSC-VWL-Verantwoordelijke,omitempty"` }
UpdateVreemdelingByIdParams defines parameters for UpdateVreemdelingById.
type UpdateVreemdelingByIdRequestObject ¶
type UpdateVreemdelingByIdRequestObject struct { VreemdelingId PathVreemdelingId `json:"vreemdelingId"` Params UpdateVreemdelingByIdParams Body *UpdateVreemdelingByIdJSONRequestBody }
type UpdateVreemdelingByIdResponse ¶
type UpdateVreemdelingByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VreemdelingResponse JSON400 *BadRequestErrorResponse JSON410 *GoneErrorResponse }
func ParseUpdateVreemdelingByIdResponse ¶
func ParseUpdateVreemdelingByIdResponse(rsp *http.Response) (*UpdateVreemdelingByIdResponse, error)
ParseUpdateVreemdelingByIdResponse parses an HTTP response from a UpdateVreemdelingByIdWithResponse call
func (UpdateVreemdelingByIdResponse) Status ¶
func (r UpdateVreemdelingByIdResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVreemdelingByIdResponse) StatusCode ¶
func (r UpdateVreemdelingByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVreemdelingByIdResponseObject ¶
type UpdateVreemdelingByIdResponseObject interface {
VisitUpdateVreemdelingByIdResponse(w http.ResponseWriter) error
}
type Vreemdeling ¶
type Vreemdeling struct { Geboortedatum *openapi_types.Date `json:"geboortedatum,omitempty"` // Id V-number of vreemdeling. Id VreemdelingId `json:"id"` Naam string `json:"naam"` }
Vreemdeling defines model for Vreemdeling.
type VreemdelingIdsResponse ¶
type VreemdelingIdsResponse struct {
Data []VreemdelingId `json:"data"`
}
VreemdelingIdsResponse defines model for VreemdelingIdsResponse.
type VreemdelingIdsResponseJSONResponse ¶
type VreemdelingIdsResponseJSONResponse struct { Body struct { Data []VreemdelingId `json:"data"` } Headers VreemdelingIdsResponseResponseHeaders }
type VreemdelingRequest ¶
type VreemdelingRequest struct { // Data A known vreemdeling. Data Vreemdeling `json:"data"` }
VreemdelingRequest defines model for VreemdelingRequest.
type VreemdelingResponse ¶
type VreemdelingResponse struct { // Data A known vreemdeling. Data Vreemdeling `json:"data"` }
VreemdelingResponse defines model for VreemdelingResponse.
type VreemdelingResponseJSONResponse ¶
type VreemdelingResponseJSONResponse struct { Body struct { // Data A known vreemdeling. Data Vreemdeling `json:"data"` } Headers VreemdelingResponseResponseHeaders }
type VreemdelingWithoutId ¶
type VreemdelingWithoutId struct { Geboortedatum *openapi_types.Date `json:"geboortedatum,omitempty"` Naam string `json:"naam"` }
VreemdelingWithoutId A new vreemdeling, that hasn't been assigned a V-number yet.
type VreemdelingWithoutIdRequest ¶
type VreemdelingWithoutIdRequest struct { // Data A new vreemdeling, that hasn't been assigned a V-number yet. Data VreemdelingWithoutId `json:"data"` }
VreemdelingWithoutIdRequest defines model for VreemdelingWithoutIdRequest.
type VreemdelingenResponse ¶
type VreemdelingenResponse struct {
Data []Vreemdeling `json:"data"`
}
VreemdelingenResponse defines model for VreemdelingenResponse.
type VreemdelingenResponseJSONResponse ¶
type VreemdelingenResponseJSONResponse struct { Body struct { Data []Vreemdeling `json:"data"` } Headers VreemdelingenResponseResponseHeaders }