api

package module
v0.0.0-...-f4a484a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: EUPL-1.2 Imports: 17 Imported by: 5

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

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

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

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 (c *Client) CreateVreemdelingWithBody(ctx context.Context, params *CreateVreemdelingParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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 (*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

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

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

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

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 QueryNaam

type QueryNaam = string

QueryNaam defines model for queryNaam.

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

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

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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 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

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

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

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

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

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 VreemdelingId

type VreemdelingId = string

VreemdelingId V-number of 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 VreemdelingIdsResponseResponseHeaders

type VreemdelingIdsResponseResponseHeaders struct {
	FSCVWLSysteem               string
	FSCVWLVerantwoordelijke     string
	FSCVWLVerwerker             string
	FSCVWLVerwerkingsActiviteit string
	FSCVWLVerwerkingsSpan       openapi_types.UUID
}

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 VreemdelingResponseResponseHeaders

type VreemdelingResponseResponseHeaders struct {
	FSCVWLSysteem               string
	FSCVWLVerantwoordelijke     string
	FSCVWLVerwerker             string
	FSCVWLVerwerkingsActiviteit string
	FSCVWLVerwerkingsSpan       openapi_types.UUID
}

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
}

type VreemdelingenResponseResponseHeaders

type VreemdelingenResponseResponseHeaders struct {
	FSCVWLSysteem               string
	FSCVWLVerantwoordelijke     string
	FSCVWLVerwerker             string
	FSCVWLVerwerkingsActiviteit string
	FSCVWLVerwerkingsSpan       openapi_types.UUID
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL